Complete Email Sortierer implementation with Appwrite and Stripe integration

This commit is contained in:
2026-01-14 20:02:16 +01:00
commit 95349af50b
3355 changed files with 644802 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.AccountLinks = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.AccountLinks = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/account_links' }),
});

View File

@@ -0,0 +1,9 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.AccountSessions = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.AccountSessions = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/account_sessions' }),
});

101
server/node_modules/stripe/cjs/resources/Accounts.js generated vendored Normal file
View File

@@ -0,0 +1,101 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Accounts = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
// Since path can either be `account` or `accounts`, support both through stripeMethod path
exports.Accounts = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/accounts' }),
retrieve(id, ...args) {
// No longer allow an api key to be passed as the first string to this function due to ambiguity between
// old account ids and api keys. To request the account for an api key, send null as the id
if (typeof id === 'string') {
return stripeMethod({
method: 'GET',
fullPath: '/v1/accounts/{id}',
}).apply(this, [id, ...args]);
}
else {
if (id === null || id === undefined) {
// Remove id as stripeMethod would complain of unexpected argument
[].shift.apply([id, ...args]);
}
return stripeMethod({
method: 'GET',
fullPath: '/v1/account',
}).apply(this, [id, ...args]);
}
},
update: stripeMethod({ method: 'POST', fullPath: '/v1/accounts/{account}' }),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/accounts',
methodType: 'list',
}),
del: stripeMethod({ method: 'DELETE', fullPath: '/v1/accounts/{account}' }),
createExternalAccount: stripeMethod({
method: 'POST',
fullPath: '/v1/accounts/{account}/external_accounts',
}),
createLoginLink: stripeMethod({
method: 'POST',
fullPath: '/v1/accounts/{account}/login_links',
}),
createPerson: stripeMethod({
method: 'POST',
fullPath: '/v1/accounts/{account}/persons',
}),
deleteExternalAccount: stripeMethod({
method: 'DELETE',
fullPath: '/v1/accounts/{account}/external_accounts/{id}',
}),
deletePerson: stripeMethod({
method: 'DELETE',
fullPath: '/v1/accounts/{account}/persons/{person}',
}),
listCapabilities: stripeMethod({
method: 'GET',
fullPath: '/v1/accounts/{account}/capabilities',
methodType: 'list',
}),
listExternalAccounts: stripeMethod({
method: 'GET',
fullPath: '/v1/accounts/{account}/external_accounts',
methodType: 'list',
}),
listPersons: stripeMethod({
method: 'GET',
fullPath: '/v1/accounts/{account}/persons',
methodType: 'list',
}),
reject: stripeMethod({
method: 'POST',
fullPath: '/v1/accounts/{account}/reject',
}),
retrieveCurrent: stripeMethod({ method: 'GET', fullPath: '/v1/account' }),
retrieveCapability: stripeMethod({
method: 'GET',
fullPath: '/v1/accounts/{account}/capabilities/{capability}',
}),
retrieveExternalAccount: stripeMethod({
method: 'GET',
fullPath: '/v1/accounts/{account}/external_accounts/{id}',
}),
retrievePerson: stripeMethod({
method: 'GET',
fullPath: '/v1/accounts/{account}/persons/{person}',
}),
updateCapability: stripeMethod({
method: 'POST',
fullPath: '/v1/accounts/{account}/capabilities/{capability}',
}),
updateExternalAccount: stripeMethod({
method: 'POST',
fullPath: '/v1/accounts/{account}/external_accounts/{id}',
}),
updatePerson: stripeMethod({
method: 'POST',
fullPath: '/v1/accounts/{account}/persons/{person}',
}),
});

View File

@@ -0,0 +1,22 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.ApplePayDomains = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.ApplePayDomains = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/apple_pay/domains' }),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/apple_pay/domains/{domain}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/apple_pay/domains',
methodType: 'list',
}),
del: stripeMethod({
method: 'DELETE',
fullPath: '/v1/apple_pay/domains/{domain}',
}),
});

View File

@@ -0,0 +1,34 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.ApplicationFees = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.ApplicationFees = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/application_fees/{id}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/application_fees',
methodType: 'list',
}),
createRefund: stripeMethod({
method: 'POST',
fullPath: '/v1/application_fees/{id}/refunds',
}),
listRefunds: stripeMethod({
method: 'GET',
fullPath: '/v1/application_fees/{id}/refunds',
methodType: 'list',
}),
retrieveRefund: stripeMethod({
method: 'GET',
fullPath: '/v1/application_fees/{fee}/refunds/{id}',
}),
updateRefund: stripeMethod({
method: 'POST',
fullPath: '/v1/application_fees/{fee}/refunds/{id}',
}),
});

View File

@@ -0,0 +1,19 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Secrets = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Secrets = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/apps/secrets' }),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/apps/secrets',
methodType: 'list',
}),
deleteWhere: stripeMethod({
method: 'POST',
fullPath: '/v1/apps/secrets/delete',
}),
find: stripeMethod({ method: 'GET', fullPath: '/v1/apps/secrets/find' }),
});

9
server/node_modules/stripe/cjs/resources/Balance.js generated vendored Normal file
View File

@@ -0,0 +1,9 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Balance = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Balance = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/balance' }),
});

View File

@@ -0,0 +1,17 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.BalanceTransactions = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.BalanceTransactions = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/balance_transactions/{id}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/balance_transactions',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,12 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.MeterEventAdjustments = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.MeterEventAdjustments = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({
method: 'POST',
fullPath: '/v1/billing/meter_event_adjustments',
}),
});

View File

@@ -0,0 +1,9 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.MeterEvents = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.MeterEvents = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/billing/meter_events' }),
});

View File

@@ -0,0 +1,29 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Meters = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Meters = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/billing/meters' }),
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/billing/meters/{id}' }),
update: stripeMethod({ method: 'POST', fullPath: '/v1/billing/meters/{id}' }),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/billing/meters',
methodType: 'list',
}),
deactivate: stripeMethod({
method: 'POST',
fullPath: '/v1/billing/meters/{id}/deactivate',
}),
listEventSummaries: stripeMethod({
method: 'GET',
fullPath: '/v1/billing/meters/{id}/event_summaries',
methodType: 'list',
}),
reactivate: stripeMethod({
method: 'POST',
fullPath: '/v1/billing/meters/{id}/reactivate',
}),
});

View File

@@ -0,0 +1,25 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Configurations = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Configurations = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({
method: 'POST',
fullPath: '/v1/billing_portal/configurations',
}),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/billing_portal/configurations/{configuration}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/billing_portal/configurations/{configuration}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/billing_portal/configurations',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,12 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Sessions = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Sessions = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({
method: 'POST',
fullPath: '/v1/billing_portal/sessions',
}),
});

25
server/node_modules/stripe/cjs/resources/Charges.js generated vendored Normal file
View File

@@ -0,0 +1,25 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Charges = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Charges = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/charges' }),
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/charges/{charge}' }),
update: stripeMethod({ method: 'POST', fullPath: '/v1/charges/{charge}' }),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/charges',
methodType: 'list',
}),
capture: stripeMethod({
method: 'POST',
fullPath: '/v1/charges/{charge}/capture',
}),
search: stripeMethod({
method: 'GET',
fullPath: '/v1/charges/search',
methodType: 'search',
}),
});

View File

@@ -0,0 +1,27 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Sessions = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Sessions = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/checkout/sessions' }),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/checkout/sessions/{session}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/checkout/sessions',
methodType: 'list',
}),
expire: stripeMethod({
method: 'POST',
fullPath: '/v1/checkout/sessions/{session}/expire',
}),
listLineItems: stripeMethod({
method: 'GET',
fullPath: '/v1/checkout/sessions/{session}/line_items',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,26 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Orders = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Orders = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/climate/orders' }),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/climate/orders/{order}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/climate/orders/{order}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/climate/orders',
methodType: 'list',
}),
cancel: stripeMethod({
method: 'POST',
fullPath: '/v1/climate/orders/{order}/cancel',
}),
});

View File

@@ -0,0 +1,17 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Products = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Products = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/climate/products/{product}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/climate/products',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,17 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Suppliers = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Suppliers = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/climate/suppliers/{supplier}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/climate/suppliers',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,12 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.ConfirmationTokens = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.ConfirmationTokens = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/confirmation_tokens/{confirmation_token}',
}),
});

View File

@@ -0,0 +1,17 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.CountrySpecs = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.CountrySpecs = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/country_specs/{country}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/country_specs',
methodType: 'list',
}),
});

17
server/node_modules/stripe/cjs/resources/Coupons.js generated vendored Normal file
View File

@@ -0,0 +1,17 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Coupons = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Coupons = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/coupons' }),
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/coupons/{coupon}' }),
update: stripeMethod({ method: 'POST', fullPath: '/v1/coupons/{coupon}' }),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/coupons',
methodType: 'list',
}),
del: stripeMethod({ method: 'DELETE', fullPath: '/v1/coupons/{coupon}' }),
});

View File

@@ -0,0 +1,31 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.CreditNotes = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.CreditNotes = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/credit_notes' }),
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/credit_notes/{id}' }),
update: stripeMethod({ method: 'POST', fullPath: '/v1/credit_notes/{id}' }),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/credit_notes',
methodType: 'list',
}),
listLineItems: stripeMethod({
method: 'GET',
fullPath: '/v1/credit_notes/{credit_note}/lines',
methodType: 'list',
}),
listPreviewLineItems: stripeMethod({
method: 'GET',
fullPath: '/v1/credit_notes/preview/lines',
methodType: 'list',
}),
preview: stripeMethod({ method: 'GET', fullPath: '/v1/credit_notes/preview' }),
voidCreditNote: stripeMethod({
method: 'POST',
fullPath: '/v1/credit_notes/{id}/void',
}),
});

View File

@@ -0,0 +1,9 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.CustomerSessions = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.CustomerSessions = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/customer_sessions' }),
});

115
server/node_modules/stripe/cjs/resources/Customers.js generated vendored Normal file
View File

@@ -0,0 +1,115 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Customers = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Customers = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/customers' }),
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/customers/{customer}' }),
update: stripeMethod({ method: 'POST', fullPath: '/v1/customers/{customer}' }),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/customers',
methodType: 'list',
}),
del: stripeMethod({ method: 'DELETE', fullPath: '/v1/customers/{customer}' }),
createBalanceTransaction: stripeMethod({
method: 'POST',
fullPath: '/v1/customers/{customer}/balance_transactions',
}),
createFundingInstructions: stripeMethod({
method: 'POST',
fullPath: '/v1/customers/{customer}/funding_instructions',
}),
createSource: stripeMethod({
method: 'POST',
fullPath: '/v1/customers/{customer}/sources',
}),
createTaxId: stripeMethod({
method: 'POST',
fullPath: '/v1/customers/{customer}/tax_ids',
}),
deleteDiscount: stripeMethod({
method: 'DELETE',
fullPath: '/v1/customers/{customer}/discount',
}),
deleteSource: stripeMethod({
method: 'DELETE',
fullPath: '/v1/customers/{customer}/sources/{id}',
}),
deleteTaxId: stripeMethod({
method: 'DELETE',
fullPath: '/v1/customers/{customer}/tax_ids/{id}',
}),
listBalanceTransactions: stripeMethod({
method: 'GET',
fullPath: '/v1/customers/{customer}/balance_transactions',
methodType: 'list',
}),
listCashBalanceTransactions: stripeMethod({
method: 'GET',
fullPath: '/v1/customers/{customer}/cash_balance_transactions',
methodType: 'list',
}),
listPaymentMethods: stripeMethod({
method: 'GET',
fullPath: '/v1/customers/{customer}/payment_methods',
methodType: 'list',
}),
listSources: stripeMethod({
method: 'GET',
fullPath: '/v1/customers/{customer}/sources',
methodType: 'list',
}),
listTaxIds: stripeMethod({
method: 'GET',
fullPath: '/v1/customers/{customer}/tax_ids',
methodType: 'list',
}),
retrieveBalanceTransaction: stripeMethod({
method: 'GET',
fullPath: '/v1/customers/{customer}/balance_transactions/{transaction}',
}),
retrieveCashBalance: stripeMethod({
method: 'GET',
fullPath: '/v1/customers/{customer}/cash_balance',
}),
retrieveCashBalanceTransaction: stripeMethod({
method: 'GET',
fullPath: '/v1/customers/{customer}/cash_balance_transactions/{transaction}',
}),
retrievePaymentMethod: stripeMethod({
method: 'GET',
fullPath: '/v1/customers/{customer}/payment_methods/{payment_method}',
}),
retrieveSource: stripeMethod({
method: 'GET',
fullPath: '/v1/customers/{customer}/sources/{id}',
}),
retrieveTaxId: stripeMethod({
method: 'GET',
fullPath: '/v1/customers/{customer}/tax_ids/{id}',
}),
search: stripeMethod({
method: 'GET',
fullPath: '/v1/customers/search',
methodType: 'search',
}),
updateBalanceTransaction: stripeMethod({
method: 'POST',
fullPath: '/v1/customers/{customer}/balance_transactions/{transaction}',
}),
updateCashBalance: stripeMethod({
method: 'POST',
fullPath: '/v1/customers/{customer}/cash_balance',
}),
updateSource: stripeMethod({
method: 'POST',
fullPath: '/v1/customers/{customer}/sources/{id}',
}),
verifySource: stripeMethod({
method: 'POST',
fullPath: '/v1/customers/{customer}/sources/{id}/verify',
}),
});

19
server/node_modules/stripe/cjs/resources/Disputes.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Disputes = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Disputes = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/disputes/{dispute}' }),
update: stripeMethod({ method: 'POST', fullPath: '/v1/disputes/{dispute}' }),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/disputes',
methodType: 'list',
}),
close: stripeMethod({
method: 'POST',
fullPath: '/v1/disputes/{dispute}/close',
}),
});

View File

@@ -0,0 +1,17 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.ActiveEntitlements = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.ActiveEntitlements = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/entitlements/active_entitlements/{id}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/entitlements/active_entitlements',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,22 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Features = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Features = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/entitlements/features' }),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/entitlements/features/{id}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/entitlements/features/{id}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/entitlements/features',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,18 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.EphemeralKeys = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.EphemeralKeys = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({
method: 'POST',
fullPath: '/v1/ephemeral_keys',
validator: (data, options) => {
if (!options.headers || !options.headers['Stripe-Version']) {
throw new Error('Passing apiVersion in a separate options hash is required to create an ephemeral key. See https://stripe.com/docs/api/versioning?lang=node');
}
},
}),
del: stripeMethod({ method: 'DELETE', fullPath: '/v1/ephemeral_keys/{key}' }),
});

14
server/node_modules/stripe/cjs/resources/Events.js generated vendored Normal file
View File

@@ -0,0 +1,14 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Events = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Events = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/events/{id}' }),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/events',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,17 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.ExchangeRates = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.ExchangeRates = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/exchange_rates/{rate_id}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/exchange_rates',
methodType: 'list',
}),
});

16
server/node_modules/stripe/cjs/resources/FileLinks.js generated vendored Normal file
View File

@@ -0,0 +1,16 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.FileLinks = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.FileLinks = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/file_links' }),
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/file_links/{link}' }),
update: stripeMethod({ method: 'POST', fullPath: '/v1/file_links/{link}' }),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/file_links',
methodType: 'list',
}),
});

24
server/node_modules/stripe/cjs/resources/Files.js generated vendored Normal file
View File

@@ -0,0 +1,24 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Files = void 0;
const multipart_js_1 = require("../multipart.js");
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Files = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({
method: 'POST',
fullPath: '/v1/files',
headers: {
'Content-Type': 'multipart/form-data',
},
host: 'files.stripe.com',
}),
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/files/{file}' }),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/files',
methodType: 'list',
}),
requestDataProcessor: multipart_js_1.multipartRequestDataProcessor,
});

View File

@@ -0,0 +1,38 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Accounts = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Accounts = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/financial_connections/accounts/{account}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/financial_connections/accounts',
methodType: 'list',
}),
disconnect: stripeMethod({
method: 'POST',
fullPath: '/v1/financial_connections/accounts/{account}/disconnect',
}),
listOwners: stripeMethod({
method: 'GET',
fullPath: '/v1/financial_connections/accounts/{account}/owners',
methodType: 'list',
}),
refresh: stripeMethod({
method: 'POST',
fullPath: '/v1/financial_connections/accounts/{account}/refresh',
}),
subscribe: stripeMethod({
method: 'POST',
fullPath: '/v1/financial_connections/accounts/{account}/subscribe',
}),
unsubscribe: stripeMethod({
method: 'POST',
fullPath: '/v1/financial_connections/accounts/{account}/unsubscribe',
}),
});

View File

@@ -0,0 +1,16 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Sessions = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Sessions = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({
method: 'POST',
fullPath: '/v1/financial_connections/sessions',
}),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/financial_connections/sessions/{session}',
}),
});

View File

@@ -0,0 +1,17 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Transactions = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Transactions = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/financial_connections/transactions/{transaction}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/financial_connections/transactions',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,18 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Requests = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Requests = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/forwarding/requests' }),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/forwarding/requests/{id}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/forwarding/requests',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,17 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.VerificationReports = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.VerificationReports = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/identity/verification_reports/{report}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/identity/verification_reports',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,33 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.VerificationSessions = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.VerificationSessions = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({
method: 'POST',
fullPath: '/v1/identity/verification_sessions',
}),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/identity/verification_sessions/{session}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/identity/verification_sessions/{session}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/identity/verification_sessions',
methodType: 'list',
}),
cancel: stripeMethod({
method: 'POST',
fullPath: '/v1/identity/verification_sessions/{session}/cancel',
}),
redact: stripeMethod({
method: 'POST',
fullPath: '/v1/identity/verification_sessions/{session}/redact',
}),
});

View File

@@ -0,0 +1,26 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.InvoiceItems = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.InvoiceItems = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/invoiceitems' }),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/invoiceitems/{invoiceitem}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/invoiceitems/{invoiceitem}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/invoiceitems',
methodType: 'list',
}),
del: stripeMethod({
method: 'DELETE',
fullPath: '/v1/invoiceitems/{invoiceitem}',
}),
});

57
server/node_modules/stripe/cjs/resources/Invoices.js generated vendored Normal file
View File

@@ -0,0 +1,57 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Invoices = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Invoices = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/invoices' }),
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/invoices/{invoice}' }),
update: stripeMethod({ method: 'POST', fullPath: '/v1/invoices/{invoice}' }),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/invoices',
methodType: 'list',
}),
del: stripeMethod({ method: 'DELETE', fullPath: '/v1/invoices/{invoice}' }),
finalizeInvoice: stripeMethod({
method: 'POST',
fullPath: '/v1/invoices/{invoice}/finalize',
}),
listLineItems: stripeMethod({
method: 'GET',
fullPath: '/v1/invoices/{invoice}/lines',
methodType: 'list',
}),
listUpcomingLines: stripeMethod({
method: 'GET',
fullPath: '/v1/invoices/upcoming/lines',
methodType: 'list',
}),
markUncollectible: stripeMethod({
method: 'POST',
fullPath: '/v1/invoices/{invoice}/mark_uncollectible',
}),
pay: stripeMethod({ method: 'POST', fullPath: '/v1/invoices/{invoice}/pay' }),
retrieveUpcoming: stripeMethod({
method: 'GET',
fullPath: '/v1/invoices/upcoming',
}),
search: stripeMethod({
method: 'GET',
fullPath: '/v1/invoices/search',
methodType: 'search',
}),
sendInvoice: stripeMethod({
method: 'POST',
fullPath: '/v1/invoices/{invoice}/send',
}),
updateLineItem: stripeMethod({
method: 'POST',
fullPath: '/v1/invoices/{invoice}/lines/{line_item_id}',
}),
voidInvoice: stripeMethod({
method: 'POST',
fullPath: '/v1/invoices/{invoice}/void',
}),
});

View File

@@ -0,0 +1,29 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Authorizations = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Authorizations = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/issuing/authorizations/{authorization}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/issuing/authorizations/{authorization}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/issuing/authorizations',
methodType: 'list',
}),
approve: stripeMethod({
method: 'POST',
fullPath: '/v1/issuing/authorizations/{authorization}/approve',
}),
decline: stripeMethod({
method: 'POST',
fullPath: '/v1/issuing/authorizations/{authorization}/decline',
}),
});

View File

@@ -0,0 +1,22 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Cardholders = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Cardholders = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/issuing/cardholders' }),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/issuing/cardholders/{cardholder}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/issuing/cardholders/{cardholder}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/issuing/cardholders',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,16 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Cards = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Cards = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/issuing/cards' }),
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/issuing/cards/{card}' }),
update: stripeMethod({ method: 'POST', fullPath: '/v1/issuing/cards/{card}' }),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/issuing/cards',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,26 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Disputes = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Disputes = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/issuing/disputes' }),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/issuing/disputes/{dispute}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/issuing/disputes/{dispute}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/issuing/disputes',
methodType: 'list',
}),
submit: stripeMethod({
method: 'POST',
fullPath: '/v1/issuing/disputes/{dispute}/submit',
}),
});

View File

@@ -0,0 +1,25 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.PersonalizationDesigns = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.PersonalizationDesigns = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({
method: 'POST',
fullPath: '/v1/issuing/personalization_designs',
}),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/issuing/personalization_designs/{personalization_design}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/issuing/personalization_designs/{personalization_design}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/issuing/personalization_designs',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,17 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.PhysicalBundles = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.PhysicalBundles = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/issuing/physical_bundles/{physical_bundle}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/issuing/physical_bundles',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,21 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Tokens = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Tokens = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/issuing/tokens/{token}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/issuing/tokens/{token}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/issuing/tokens',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,21 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Transactions = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Transactions = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/issuing/transactions/{transaction}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/issuing/transactions/{transaction}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/issuing/transactions',
methodType: 'list',
}),
});

9
server/node_modules/stripe/cjs/resources/Mandates.js generated vendored Normal file
View File

@@ -0,0 +1,9 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Mandates = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Mandates = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/mandates/{mandate}' }),
});

44
server/node_modules/stripe/cjs/resources/OAuth.js generated vendored Normal file
View File

@@ -0,0 +1,44 @@
'use strict';
Object.defineProperty(exports, "__esModule", { value: true });
exports.OAuth = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const utils_js_1 = require("../utils.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
const oAuthHost = 'connect.stripe.com';
exports.OAuth = StripeResource_js_1.StripeResource.extend({
basePath: '/',
authorizeUrl(params, options) {
params = params || {};
options = options || {};
let path = 'oauth/authorize';
// For Express accounts, the path changes
if (options.express) {
path = `express/${path}`;
}
if (!params.response_type) {
params.response_type = 'code';
}
if (!params.client_id) {
params.client_id = this._stripe.getClientId();
}
if (!params.scope) {
params.scope = 'read_write';
}
return `https://${oAuthHost}/${path}?${(0, utils_js_1.stringifyRequestData)(params)}`;
},
token: stripeMethod({
method: 'POST',
path: 'oauth/token',
host: oAuthHost,
}),
deauthorize(spec, ...args) {
if (!spec.client_id) {
spec.client_id = this._stripe.getClientId();
}
return stripeMethod({
method: 'POST',
path: 'oauth/deauthorize',
host: oAuthHost,
}).apply(this, [spec, ...args]);
},
});

View File

@@ -0,0 +1,51 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.PaymentIntents = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.PaymentIntents = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/payment_intents' }),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/payment_intents/{intent}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/payment_intents/{intent}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/payment_intents',
methodType: 'list',
}),
applyCustomerBalance: stripeMethod({
method: 'POST',
fullPath: '/v1/payment_intents/{intent}/apply_customer_balance',
}),
cancel: stripeMethod({
method: 'POST',
fullPath: '/v1/payment_intents/{intent}/cancel',
}),
capture: stripeMethod({
method: 'POST',
fullPath: '/v1/payment_intents/{intent}/capture',
}),
confirm: stripeMethod({
method: 'POST',
fullPath: '/v1/payment_intents/{intent}/confirm',
}),
incrementAuthorization: stripeMethod({
method: 'POST',
fullPath: '/v1/payment_intents/{intent}/increment_authorization',
}),
search: stripeMethod({
method: 'GET',
fullPath: '/v1/payment_intents/search',
methodType: 'search',
}),
verifyMicrodeposits: stripeMethod({
method: 'POST',
fullPath: '/v1/payment_intents/{intent}/verify_microdeposits',
}),
});

View File

@@ -0,0 +1,27 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.PaymentLinks = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.PaymentLinks = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/payment_links' }),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/payment_links/{payment_link}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/payment_links/{payment_link}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/payment_links',
methodType: 'list',
}),
listLineItems: stripeMethod({
method: 'GET',
fullPath: '/v1/payment_links/{payment_link}/line_items',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,25 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.PaymentMethodConfigurations = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.PaymentMethodConfigurations = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({
method: 'POST',
fullPath: '/v1/payment_method_configurations',
}),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/payment_method_configurations/{configuration}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/payment_method_configurations/{configuration}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/payment_method_configurations',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,29 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.PaymentMethodDomains = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.PaymentMethodDomains = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({
method: 'POST',
fullPath: '/v1/payment_method_domains',
}),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/payment_method_domains/{payment_method_domain}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/payment_method_domains/{payment_method_domain}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/payment_method_domains',
methodType: 'list',
}),
validate: stripeMethod({
method: 'POST',
fullPath: '/v1/payment_method_domains/{payment_method_domain}/validate',
}),
});

View File

@@ -0,0 +1,30 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.PaymentMethods = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.PaymentMethods = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/payment_methods' }),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/payment_methods/{payment_method}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/payment_methods/{payment_method}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/payment_methods',
methodType: 'list',
}),
attach: stripeMethod({
method: 'POST',
fullPath: '/v1/payment_methods/{payment_method}/attach',
}),
detach: stripeMethod({
method: 'POST',
fullPath: '/v1/payment_methods/{payment_method}/detach',
}),
});

24
server/node_modules/stripe/cjs/resources/Payouts.js generated vendored Normal file
View File

@@ -0,0 +1,24 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Payouts = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Payouts = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/payouts' }),
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/payouts/{payout}' }),
update: stripeMethod({ method: 'POST', fullPath: '/v1/payouts/{payout}' }),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/payouts',
methodType: 'list',
}),
cancel: stripeMethod({
method: 'POST',
fullPath: '/v1/payouts/{payout}/cancel',
}),
reverse: stripeMethod({
method: 'POST',
fullPath: '/v1/payouts/{payout}/reverse',
}),
});

17
server/node_modules/stripe/cjs/resources/Plans.js generated vendored Normal file
View File

@@ -0,0 +1,17 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Plans = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Plans = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/plans' }),
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/plans/{plan}' }),
update: stripeMethod({ method: 'POST', fullPath: '/v1/plans/{plan}' }),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/plans',
methodType: 'list',
}),
del: stripeMethod({ method: 'DELETE', fullPath: '/v1/plans/{plan}' }),
});

21
server/node_modules/stripe/cjs/resources/Prices.js generated vendored Normal file
View File

@@ -0,0 +1,21 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Prices = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Prices = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/prices' }),
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/prices/{price}' }),
update: stripeMethod({ method: 'POST', fullPath: '/v1/prices/{price}' }),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/prices',
methodType: 'list',
}),
search: stripeMethod({
method: 'GET',
fullPath: '/v1/prices/search',
methodType: 'search',
}),
});

39
server/node_modules/stripe/cjs/resources/Products.js generated vendored Normal file
View File

@@ -0,0 +1,39 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Products = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Products = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/products' }),
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/products/{id}' }),
update: stripeMethod({ method: 'POST', fullPath: '/v1/products/{id}' }),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/products',
methodType: 'list',
}),
del: stripeMethod({ method: 'DELETE', fullPath: '/v1/products/{id}' }),
createFeature: stripeMethod({
method: 'POST',
fullPath: '/v1/products/{product}/features',
}),
deleteFeature: stripeMethod({
method: 'DELETE',
fullPath: '/v1/products/{product}/features/{id}',
}),
listFeatures: stripeMethod({
method: 'GET',
fullPath: '/v1/products/{product}/features',
methodType: 'list',
}),
retrieveFeature: stripeMethod({
method: 'GET',
fullPath: '/v1/products/{product}/features/{id}',
}),
search: stripeMethod({
method: 'GET',
fullPath: '/v1/products/search',
methodType: 'search',
}),
});

View File

@@ -0,0 +1,22 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.PromotionCodes = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.PromotionCodes = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/promotion_codes' }),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/promotion_codes/{promotion_code}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/promotion_codes/{promotion_code}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/promotion_codes',
methodType: 'list',
}),
});

38
server/node_modules/stripe/cjs/resources/Quotes.js generated vendored Normal file
View File

@@ -0,0 +1,38 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Quotes = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Quotes = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/quotes' }),
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/quotes/{quote}' }),
update: stripeMethod({ method: 'POST', fullPath: '/v1/quotes/{quote}' }),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/quotes',
methodType: 'list',
}),
accept: stripeMethod({ method: 'POST', fullPath: '/v1/quotes/{quote}/accept' }),
cancel: stripeMethod({ method: 'POST', fullPath: '/v1/quotes/{quote}/cancel' }),
finalizeQuote: stripeMethod({
method: 'POST',
fullPath: '/v1/quotes/{quote}/finalize',
}),
listComputedUpfrontLineItems: stripeMethod({
method: 'GET',
fullPath: '/v1/quotes/{quote}/computed_upfront_line_items',
methodType: 'list',
}),
listLineItems: stripeMethod({
method: 'GET',
fullPath: '/v1/quotes/{quote}/line_items',
methodType: 'list',
}),
pdf: stripeMethod({
method: 'GET',
fullPath: '/v1/quotes/{quote}/pdf',
host: 'files.stripe.com',
streaming: true,
}),
});

View File

@@ -0,0 +1,17 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.EarlyFraudWarnings = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.EarlyFraudWarnings = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/radar/early_fraud_warnings/{early_fraud_warning}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/radar/early_fraud_warnings',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,25 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.ValueListItems = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.ValueListItems = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({
method: 'POST',
fullPath: '/v1/radar/value_list_items',
}),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/radar/value_list_items/{item}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/radar/value_list_items',
methodType: 'list',
}),
del: stripeMethod({
method: 'DELETE',
fullPath: '/v1/radar/value_list_items/{item}',
}),
});

View File

@@ -0,0 +1,26 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.ValueLists = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.ValueLists = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/radar/value_lists' }),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/radar/value_lists/{value_list}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/radar/value_lists/{value_list}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/radar/value_lists',
methodType: 'list',
}),
del: stripeMethod({
method: 'DELETE',
fullPath: '/v1/radar/value_lists/{value_list}',
}),
});

20
server/node_modules/stripe/cjs/resources/Refunds.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Refunds = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Refunds = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/refunds' }),
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/refunds/{refund}' }),
update: stripeMethod({ method: 'POST', fullPath: '/v1/refunds/{refund}' }),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/refunds',
methodType: 'list',
}),
cancel: stripeMethod({
method: 'POST',
fullPath: '/v1/refunds/{refund}/cancel',
}),
});

View File

@@ -0,0 +1,18 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.ReportRuns = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.ReportRuns = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/reporting/report_runs' }),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/reporting/report_runs/{report_run}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/reporting/report_runs',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,17 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.ReportTypes = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.ReportTypes = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/reporting/report_types/{report_type}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/reporting/report_types',
methodType: 'list',
}),
});

18
server/node_modules/stripe/cjs/resources/Reviews.js generated vendored Normal file
View File

@@ -0,0 +1,18 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Reviews = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Reviews = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/reviews/{review}' }),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/reviews',
methodType: 'list',
}),
approve: stripeMethod({
method: 'POST',
fullPath: '/v1/reviews/{review}/approve',
}),
});

View File

@@ -0,0 +1,13 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.SetupAttempts = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.SetupAttempts = StripeResource_js_1.StripeResource.extend({
list: stripeMethod({
method: 'GET',
fullPath: '/v1/setup_attempts',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,34 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.SetupIntents = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.SetupIntents = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/setup_intents' }),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/setup_intents/{intent}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/setup_intents/{intent}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/setup_intents',
methodType: 'list',
}),
cancel: stripeMethod({
method: 'POST',
fullPath: '/v1/setup_intents/{intent}/cancel',
}),
confirm: stripeMethod({
method: 'POST',
fullPath: '/v1/setup_intents/{intent}/confirm',
}),
verifyMicrodeposits: stripeMethod({
method: 'POST',
fullPath: '/v1/setup_intents/{intent}/verify_microdeposits',
}),
});

View File

@@ -0,0 +1,22 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.ShippingRates = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.ShippingRates = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/shipping_rates' }),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/shipping_rates/{shipping_rate_token}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/shipping_rates/{shipping_rate_token}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/shipping_rates',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,17 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.ScheduledQueryRuns = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.ScheduledQueryRuns = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/sigma/scheduled_query_runs/{scheduled_query_run}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/sigma/scheduled_query_runs',
methodType: 'list',
}),
});

20
server/node_modules/stripe/cjs/resources/Sources.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Sources = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Sources = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/sources' }),
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/sources/{source}' }),
update: stripeMethod({ method: 'POST', fullPath: '/v1/sources/{source}' }),
listSourceTransactions: stripeMethod({
method: 'GET',
fullPath: '/v1/sources/{source}/source_transactions',
methodType: 'list',
}),
verify: stripeMethod({
method: 'POST',
fullPath: '/v1/sources/{source}/verify',
}),
});

View File

@@ -0,0 +1,35 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.SubscriptionItems = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.SubscriptionItems = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/subscription_items' }),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/subscription_items/{item}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/subscription_items/{item}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/subscription_items',
methodType: 'list',
}),
del: stripeMethod({
method: 'DELETE',
fullPath: '/v1/subscription_items/{item}',
}),
createUsageRecord: stripeMethod({
method: 'POST',
fullPath: '/v1/subscription_items/{subscription_item}/usage_records',
}),
listUsageRecordSummaries: stripeMethod({
method: 'GET',
fullPath: '/v1/subscription_items/{subscription_item}/usage_record_summaries',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,33 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.SubscriptionSchedules = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.SubscriptionSchedules = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({
method: 'POST',
fullPath: '/v1/subscription_schedules',
}),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/subscription_schedules/{schedule}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/subscription_schedules/{schedule}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/subscription_schedules',
methodType: 'list',
}),
cancel: stripeMethod({
method: 'POST',
fullPath: '/v1/subscription_schedules/{schedule}/cancel',
}),
release: stripeMethod({
method: 'POST',
fullPath: '/v1/subscription_schedules/{schedule}/release',
}),
});

View File

@@ -0,0 +1,39 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Subscriptions = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Subscriptions = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/subscriptions' }),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/subscriptions/{subscription_exposed_id}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/subscriptions/{subscription_exposed_id}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/subscriptions',
methodType: 'list',
}),
cancel: stripeMethod({
method: 'DELETE',
fullPath: '/v1/subscriptions/{subscription_exposed_id}',
}),
deleteDiscount: stripeMethod({
method: 'DELETE',
fullPath: '/v1/subscriptions/{subscription_exposed_id}/discount',
}),
resume: stripeMethod({
method: 'POST',
fullPath: '/v1/subscriptions/{subscription}/resume',
}),
search: stripeMethod({
method: 'GET',
fullPath: '/v1/subscriptions/search',
methodType: 'search',
}),
});

View File

@@ -0,0 +1,14 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Calculations = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Calculations = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/tax/calculations' }),
listLineItems: stripeMethod({
method: 'GET',
fullPath: '/v1/tax/calculations/{calculation}/line_items',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,22 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Registrations = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Registrations = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/tax/registrations' }),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/tax/registrations/{id}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/tax/registrations/{id}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/tax/registrations',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,10 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Settings = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Settings = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/tax/settings' }),
update: stripeMethod({ method: 'POST', fullPath: '/v1/tax/settings' }),
});

View File

@@ -0,0 +1,25 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Transactions = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Transactions = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/tax/transactions/{transaction}',
}),
createFromCalculation: stripeMethod({
method: 'POST',
fullPath: '/v1/tax/transactions/create_from_calculation',
}),
createReversal: stripeMethod({
method: 'POST',
fullPath: '/v1/tax/transactions/create_reversal',
}),
listLineItems: stripeMethod({
method: 'GET',
fullPath: '/v1/tax/transactions/{transaction}/line_items',
methodType: 'list',
}),
});

14
server/node_modules/stripe/cjs/resources/TaxCodes.js generated vendored Normal file
View File

@@ -0,0 +1,14 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.TaxCodes = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.TaxCodes = StripeResource_js_1.StripeResource.extend({
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/tax_codes/{id}' }),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/tax_codes',
methodType: 'list',
}),
});

16
server/node_modules/stripe/cjs/resources/TaxIds.js generated vendored Normal file
View File

@@ -0,0 +1,16 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.TaxIds = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.TaxIds = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/tax_ids' }),
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/tax_ids/{id}' }),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/tax_ids',
methodType: 'list',
}),
del: stripeMethod({ method: 'DELETE', fullPath: '/v1/tax_ids/{id}' }),
});

16
server/node_modules/stripe/cjs/resources/TaxRates.js generated vendored Normal file
View File

@@ -0,0 +1,16 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.TaxRates = void 0;
const StripeResource_js_1 = require("../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.TaxRates = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/tax_rates' }),
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/tax_rates/{tax_rate}' }),
update: stripeMethod({ method: 'POST', fullPath: '/v1/tax_rates/{tax_rate}' }),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/tax_rates',
methodType: 'list',
}),
});

View File

@@ -0,0 +1,29 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Configurations = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Configurations = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({
method: 'POST',
fullPath: '/v1/terminal/configurations',
}),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/terminal/configurations/{configuration}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/terminal/configurations/{configuration}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/terminal/configurations',
methodType: 'list',
}),
del: stripeMethod({
method: 'DELETE',
fullPath: '/v1/terminal/configurations/{configuration}',
}),
});

View File

@@ -0,0 +1,12 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.ConnectionTokens = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.ConnectionTokens = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({
method: 'POST',
fullPath: '/v1/terminal/connection_tokens',
}),
});

View File

@@ -0,0 +1,26 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Locations = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Locations = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/terminal/locations' }),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/terminal/locations/{location}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/terminal/locations/{location}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/terminal/locations',
methodType: 'list',
}),
del: stripeMethod({
method: 'DELETE',
fullPath: '/v1/terminal/locations/{location}',
}),
});

View File

@@ -0,0 +1,46 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Readers = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Readers = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/terminal/readers' }),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/terminal/readers/{reader}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/terminal/readers/{reader}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/terminal/readers',
methodType: 'list',
}),
del: stripeMethod({
method: 'DELETE',
fullPath: '/v1/terminal/readers/{reader}',
}),
cancelAction: stripeMethod({
method: 'POST',
fullPath: '/v1/terminal/readers/{reader}/cancel_action',
}),
processPaymentIntent: stripeMethod({
method: 'POST',
fullPath: '/v1/terminal/readers/{reader}/process_payment_intent',
}),
processSetupIntent: stripeMethod({
method: 'POST',
fullPath: '/v1/terminal/readers/{reader}/process_setup_intent',
}),
refundPayment: stripeMethod({
method: 'POST',
fullPath: '/v1/terminal/readers/{reader}/refund_payment',
}),
setReaderDisplay: stripeMethod({
method: 'POST',
fullPath: '/v1/terminal/readers/{reader}/set_reader_display',
}),
});

View File

@@ -0,0 +1,12 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.ConfirmationTokens = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.ConfirmationTokens = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/confirmation_tokens',
}),
});

View File

@@ -0,0 +1,12 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Customers = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Customers = StripeResource_js_1.StripeResource.extend({
fundCashBalance: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/customers/{customer}/fund_cash_balance',
}),
});

View File

@@ -0,0 +1,28 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Authorizations = void 0;
const StripeResource_js_1 = require("../../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Authorizations = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/issuing/authorizations',
}),
capture: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/issuing/authorizations/{authorization}/capture',
}),
expire: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/issuing/authorizations/{authorization}/expire',
}),
increment: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/issuing/authorizations/{authorization}/increment',
}),
reverse: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/issuing/authorizations/{authorization}/reverse',
}),
});

View File

@@ -0,0 +1,24 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Cards = void 0;
const StripeResource_js_1 = require("../../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Cards = StripeResource_js_1.StripeResource.extend({
deliverCard: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/issuing/cards/{card}/shipping/deliver',
}),
failCard: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/issuing/cards/{card}/shipping/fail',
}),
returnCard: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/issuing/cards/{card}/shipping/return',
}),
shipCard: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/issuing/cards/{card}/shipping/ship',
}),
});

View File

@@ -0,0 +1,20 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.PersonalizationDesigns = void 0;
const StripeResource_js_1 = require("../../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.PersonalizationDesigns = StripeResource_js_1.StripeResource.extend({
activate: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/issuing/personalization_designs/{personalization_design}/activate',
}),
deactivate: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/issuing/personalization_designs/{personalization_design}/deactivate',
}),
reject: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/issuing/personalization_designs/{personalization_design}/reject',
}),
});

View File

@@ -0,0 +1,20 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Transactions = void 0;
const StripeResource_js_1 = require("../../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Transactions = StripeResource_js_1.StripeResource.extend({
createForceCapture: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/issuing/transactions/create_force_capture',
}),
createUnlinkedRefund: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/issuing/transactions/create_unlinked_refund',
}),
refund: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/issuing/transactions/{transaction}/refund',
}),
});

View File

@@ -0,0 +1,12 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Refunds = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Refunds = StripeResource_js_1.StripeResource.extend({
expire: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/refunds/{refund}/expire',
}),
});

View File

@@ -0,0 +1,12 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.Readers = void 0;
const StripeResource_js_1 = require("../../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.Readers = StripeResource_js_1.StripeResource.extend({
presentPaymentMethod: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/terminal/readers/{reader}/present_payment_method',
}),
});

View File

@@ -0,0 +1,29 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.TestClocks = void 0;
const StripeResource_js_1 = require("../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.TestClocks = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/test_clocks',
}),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/test_helpers/test_clocks/{test_clock}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/test_helpers/test_clocks',
methodType: 'list',
}),
del: stripeMethod({
method: 'DELETE',
fullPath: '/v1/test_helpers/test_clocks/{test_clock}',
}),
advance: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/test_clocks/{test_clock}/advance',
}),
});

View File

@@ -0,0 +1,20 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.InboundTransfers = void 0;
const StripeResource_js_1 = require("../../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.InboundTransfers = StripeResource_js_1.StripeResource.extend({
fail: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/treasury/inbound_transfers/{id}/fail',
}),
returnInboundTransfer: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/treasury/inbound_transfers/{id}/return',
}),
succeed: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/treasury/inbound_transfers/{id}/succeed',
}),
});

View File

@@ -0,0 +1,20 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.OutboundPayments = void 0;
const StripeResource_js_1 = require("../../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.OutboundPayments = StripeResource_js_1.StripeResource.extend({
fail: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/treasury/outbound_payments/{id}/fail',
}),
post: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/treasury/outbound_payments/{id}/post',
}),
returnOutboundPayment: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/treasury/outbound_payments/{id}/return',
}),
});

View File

@@ -0,0 +1,20 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.OutboundTransfers = void 0;
const StripeResource_js_1 = require("../../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.OutboundTransfers = StripeResource_js_1.StripeResource.extend({
fail: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/fail',
}),
post: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/post',
}),
returnOutboundTransfer: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/return',
}),
});

View File

@@ -0,0 +1,12 @@
"use strict";
// File generated from our OpenAPI spec
Object.defineProperty(exports, "__esModule", { value: true });
exports.ReceivedCredits = void 0;
const StripeResource_js_1 = require("../../../StripeResource.js");
const stripeMethod = StripeResource_js_1.StripeResource.method;
exports.ReceivedCredits = StripeResource_js_1.StripeResource.extend({
create: stripeMethod({
method: 'POST',
fullPath: '/v1/test_helpers/treasury/received_credits',
}),
});

Some files were not shown because too many files have changed in this diff Show More