Complete Email Sortierer implementation with Appwrite and Stripe integration
This commit is contained in:
6
server/node_modules/stripe/esm/resources/AccountLinks.js
generated
vendored
Normal file
6
server/node_modules/stripe/esm/resources/AccountLinks.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const AccountLinks = StripeResource.extend({
|
||||
create: stripeMethod({ method: 'POST', fullPath: '/v1/account_links' }),
|
||||
});
|
||||
6
server/node_modules/stripe/esm/resources/AccountSessions.js
generated
vendored
Normal file
6
server/node_modules/stripe/esm/resources/AccountSessions.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const AccountSessions = StripeResource.extend({
|
||||
create: stripeMethod({ method: 'POST', fullPath: '/v1/account_sessions' }),
|
||||
});
|
||||
98
server/node_modules/stripe/esm/resources/Accounts.js
generated
vendored
Normal file
98
server/node_modules/stripe/esm/resources/Accounts.js
generated
vendored
Normal file
@@ -0,0 +1,98 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
// Since path can either be `account` or `accounts`, support both through stripeMethod path
|
||||
export const Accounts = 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}',
|
||||
}),
|
||||
});
|
||||
19
server/node_modules/stripe/esm/resources/ApplePayDomains.js
generated
vendored
Normal file
19
server/node_modules/stripe/esm/resources/ApplePayDomains.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const ApplePayDomains = 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}',
|
||||
}),
|
||||
});
|
||||
31
server/node_modules/stripe/esm/resources/ApplicationFees.js
generated
vendored
Normal file
31
server/node_modules/stripe/esm/resources/ApplicationFees.js
generated
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const ApplicationFees = 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}',
|
||||
}),
|
||||
});
|
||||
16
server/node_modules/stripe/esm/resources/Apps/Secrets.js
generated
vendored
Normal file
16
server/node_modules/stripe/esm/resources/Apps/Secrets.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Secrets = 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' }),
|
||||
});
|
||||
6
server/node_modules/stripe/esm/resources/Balance.js
generated
vendored
Normal file
6
server/node_modules/stripe/esm/resources/Balance.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Balance = StripeResource.extend({
|
||||
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/balance' }),
|
||||
});
|
||||
14
server/node_modules/stripe/esm/resources/BalanceTransactions.js
generated
vendored
Normal file
14
server/node_modules/stripe/esm/resources/BalanceTransactions.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const BalanceTransactions = StripeResource.extend({
|
||||
retrieve: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/balance_transactions/{id}',
|
||||
}),
|
||||
list: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/balance_transactions',
|
||||
methodType: 'list',
|
||||
}),
|
||||
});
|
||||
9
server/node_modules/stripe/esm/resources/Billing/MeterEventAdjustments.js
generated
vendored
Normal file
9
server/node_modules/stripe/esm/resources/Billing/MeterEventAdjustments.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const MeterEventAdjustments = StripeResource.extend({
|
||||
create: stripeMethod({
|
||||
method: 'POST',
|
||||
fullPath: '/v1/billing/meter_event_adjustments',
|
||||
}),
|
||||
});
|
||||
6
server/node_modules/stripe/esm/resources/Billing/MeterEvents.js
generated
vendored
Normal file
6
server/node_modules/stripe/esm/resources/Billing/MeterEvents.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const MeterEvents = StripeResource.extend({
|
||||
create: stripeMethod({ method: 'POST', fullPath: '/v1/billing/meter_events' }),
|
||||
});
|
||||
26
server/node_modules/stripe/esm/resources/Billing/Meters.js
generated
vendored
Normal file
26
server/node_modules/stripe/esm/resources/Billing/Meters.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Meters = 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',
|
||||
}),
|
||||
});
|
||||
22
server/node_modules/stripe/esm/resources/BillingPortal/Configurations.js
generated
vendored
Normal file
22
server/node_modules/stripe/esm/resources/BillingPortal/Configurations.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Configurations = 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',
|
||||
}),
|
||||
});
|
||||
9
server/node_modules/stripe/esm/resources/BillingPortal/Sessions.js
generated
vendored
Normal file
9
server/node_modules/stripe/esm/resources/BillingPortal/Sessions.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Sessions = StripeResource.extend({
|
||||
create: stripeMethod({
|
||||
method: 'POST',
|
||||
fullPath: '/v1/billing_portal/sessions',
|
||||
}),
|
||||
});
|
||||
22
server/node_modules/stripe/esm/resources/Charges.js
generated
vendored
Normal file
22
server/node_modules/stripe/esm/resources/Charges.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Charges = 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',
|
||||
}),
|
||||
});
|
||||
24
server/node_modules/stripe/esm/resources/Checkout/Sessions.js
generated
vendored
Normal file
24
server/node_modules/stripe/esm/resources/Checkout/Sessions.js
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Sessions = 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',
|
||||
}),
|
||||
});
|
||||
23
server/node_modules/stripe/esm/resources/Climate/Orders.js
generated
vendored
Normal file
23
server/node_modules/stripe/esm/resources/Climate/Orders.js
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Orders = 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',
|
||||
}),
|
||||
});
|
||||
14
server/node_modules/stripe/esm/resources/Climate/Products.js
generated
vendored
Normal file
14
server/node_modules/stripe/esm/resources/Climate/Products.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Products = StripeResource.extend({
|
||||
retrieve: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/climate/products/{product}',
|
||||
}),
|
||||
list: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/climate/products',
|
||||
methodType: 'list',
|
||||
}),
|
||||
});
|
||||
14
server/node_modules/stripe/esm/resources/Climate/Suppliers.js
generated
vendored
Normal file
14
server/node_modules/stripe/esm/resources/Climate/Suppliers.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Suppliers = StripeResource.extend({
|
||||
retrieve: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/climate/suppliers/{supplier}',
|
||||
}),
|
||||
list: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/climate/suppliers',
|
||||
methodType: 'list',
|
||||
}),
|
||||
});
|
||||
9
server/node_modules/stripe/esm/resources/ConfirmationTokens.js
generated
vendored
Normal file
9
server/node_modules/stripe/esm/resources/ConfirmationTokens.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const ConfirmationTokens = StripeResource.extend({
|
||||
retrieve: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/confirmation_tokens/{confirmation_token}',
|
||||
}),
|
||||
});
|
||||
14
server/node_modules/stripe/esm/resources/CountrySpecs.js
generated
vendored
Normal file
14
server/node_modules/stripe/esm/resources/CountrySpecs.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const CountrySpecs = StripeResource.extend({
|
||||
retrieve: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/country_specs/{country}',
|
||||
}),
|
||||
list: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/country_specs',
|
||||
methodType: 'list',
|
||||
}),
|
||||
});
|
||||
14
server/node_modules/stripe/esm/resources/Coupons.js
generated
vendored
Normal file
14
server/node_modules/stripe/esm/resources/Coupons.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Coupons = 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}' }),
|
||||
});
|
||||
28
server/node_modules/stripe/esm/resources/CreditNotes.js
generated
vendored
Normal file
28
server/node_modules/stripe/esm/resources/CreditNotes.js
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const CreditNotes = 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',
|
||||
}),
|
||||
});
|
||||
6
server/node_modules/stripe/esm/resources/CustomerSessions.js
generated
vendored
Normal file
6
server/node_modules/stripe/esm/resources/CustomerSessions.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const CustomerSessions = StripeResource.extend({
|
||||
create: stripeMethod({ method: 'POST', fullPath: '/v1/customer_sessions' }),
|
||||
});
|
||||
112
server/node_modules/stripe/esm/resources/Customers.js
generated
vendored
Normal file
112
server/node_modules/stripe/esm/resources/Customers.js
generated
vendored
Normal file
@@ -0,0 +1,112 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Customers = 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',
|
||||
}),
|
||||
});
|
||||
16
server/node_modules/stripe/esm/resources/Disputes.js
generated
vendored
Normal file
16
server/node_modules/stripe/esm/resources/Disputes.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Disputes = 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',
|
||||
}),
|
||||
});
|
||||
14
server/node_modules/stripe/esm/resources/Entitlements/ActiveEntitlements.js
generated
vendored
Normal file
14
server/node_modules/stripe/esm/resources/Entitlements/ActiveEntitlements.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const ActiveEntitlements = StripeResource.extend({
|
||||
retrieve: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/entitlements/active_entitlements/{id}',
|
||||
}),
|
||||
list: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/entitlements/active_entitlements',
|
||||
methodType: 'list',
|
||||
}),
|
||||
});
|
||||
19
server/node_modules/stripe/esm/resources/Entitlements/Features.js
generated
vendored
Normal file
19
server/node_modules/stripe/esm/resources/Entitlements/Features.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Features = 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',
|
||||
}),
|
||||
});
|
||||
15
server/node_modules/stripe/esm/resources/EphemeralKeys.js
generated
vendored
Normal file
15
server/node_modules/stripe/esm/resources/EphemeralKeys.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const EphemeralKeys = 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}' }),
|
||||
});
|
||||
11
server/node_modules/stripe/esm/resources/Events.js
generated
vendored
Normal file
11
server/node_modules/stripe/esm/resources/Events.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Events = StripeResource.extend({
|
||||
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/events/{id}' }),
|
||||
list: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/events',
|
||||
methodType: 'list',
|
||||
}),
|
||||
});
|
||||
14
server/node_modules/stripe/esm/resources/ExchangeRates.js
generated
vendored
Normal file
14
server/node_modules/stripe/esm/resources/ExchangeRates.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const ExchangeRates = StripeResource.extend({
|
||||
retrieve: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/exchange_rates/{rate_id}',
|
||||
}),
|
||||
list: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/exchange_rates',
|
||||
methodType: 'list',
|
||||
}),
|
||||
});
|
||||
13
server/node_modules/stripe/esm/resources/FileLinks.js
generated
vendored
Normal file
13
server/node_modules/stripe/esm/resources/FileLinks.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const FileLinks = 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',
|
||||
}),
|
||||
});
|
||||
21
server/node_modules/stripe/esm/resources/Files.js
generated
vendored
Normal file
21
server/node_modules/stripe/esm/resources/Files.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { multipartRequestDataProcessor } from '../multipart.js';
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Files = 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: multipartRequestDataProcessor,
|
||||
});
|
||||
35
server/node_modules/stripe/esm/resources/FinancialConnections/Accounts.js
generated
vendored
Normal file
35
server/node_modules/stripe/esm/resources/FinancialConnections/Accounts.js
generated
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Accounts = 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',
|
||||
}),
|
||||
});
|
||||
13
server/node_modules/stripe/esm/resources/FinancialConnections/Sessions.js
generated
vendored
Normal file
13
server/node_modules/stripe/esm/resources/FinancialConnections/Sessions.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Sessions = StripeResource.extend({
|
||||
create: stripeMethod({
|
||||
method: 'POST',
|
||||
fullPath: '/v1/financial_connections/sessions',
|
||||
}),
|
||||
retrieve: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/financial_connections/sessions/{session}',
|
||||
}),
|
||||
});
|
||||
14
server/node_modules/stripe/esm/resources/FinancialConnections/Transactions.js
generated
vendored
Normal file
14
server/node_modules/stripe/esm/resources/FinancialConnections/Transactions.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Transactions = StripeResource.extend({
|
||||
retrieve: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/financial_connections/transactions/{transaction}',
|
||||
}),
|
||||
list: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/financial_connections/transactions',
|
||||
methodType: 'list',
|
||||
}),
|
||||
});
|
||||
15
server/node_modules/stripe/esm/resources/Forwarding/Requests.js
generated
vendored
Normal file
15
server/node_modules/stripe/esm/resources/Forwarding/Requests.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Requests = 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',
|
||||
}),
|
||||
});
|
||||
14
server/node_modules/stripe/esm/resources/Identity/VerificationReports.js
generated
vendored
Normal file
14
server/node_modules/stripe/esm/resources/Identity/VerificationReports.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const VerificationReports = StripeResource.extend({
|
||||
retrieve: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/identity/verification_reports/{report}',
|
||||
}),
|
||||
list: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/identity/verification_reports',
|
||||
methodType: 'list',
|
||||
}),
|
||||
});
|
||||
30
server/node_modules/stripe/esm/resources/Identity/VerificationSessions.js
generated
vendored
Normal file
30
server/node_modules/stripe/esm/resources/Identity/VerificationSessions.js
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const VerificationSessions = 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',
|
||||
}),
|
||||
});
|
||||
23
server/node_modules/stripe/esm/resources/InvoiceItems.js
generated
vendored
Normal file
23
server/node_modules/stripe/esm/resources/InvoiceItems.js
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const InvoiceItems = 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}',
|
||||
}),
|
||||
});
|
||||
54
server/node_modules/stripe/esm/resources/Invoices.js
generated
vendored
Normal file
54
server/node_modules/stripe/esm/resources/Invoices.js
generated
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Invoices = 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',
|
||||
}),
|
||||
});
|
||||
26
server/node_modules/stripe/esm/resources/Issuing/Authorizations.js
generated
vendored
Normal file
26
server/node_modules/stripe/esm/resources/Issuing/Authorizations.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Authorizations = 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',
|
||||
}),
|
||||
});
|
||||
19
server/node_modules/stripe/esm/resources/Issuing/Cardholders.js
generated
vendored
Normal file
19
server/node_modules/stripe/esm/resources/Issuing/Cardholders.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Cardholders = 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',
|
||||
}),
|
||||
});
|
||||
13
server/node_modules/stripe/esm/resources/Issuing/Cards.js
generated
vendored
Normal file
13
server/node_modules/stripe/esm/resources/Issuing/Cards.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Cards = 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',
|
||||
}),
|
||||
});
|
||||
23
server/node_modules/stripe/esm/resources/Issuing/Disputes.js
generated
vendored
Normal file
23
server/node_modules/stripe/esm/resources/Issuing/Disputes.js
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Disputes = 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',
|
||||
}),
|
||||
});
|
||||
22
server/node_modules/stripe/esm/resources/Issuing/PersonalizationDesigns.js
generated
vendored
Normal file
22
server/node_modules/stripe/esm/resources/Issuing/PersonalizationDesigns.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const PersonalizationDesigns = 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',
|
||||
}),
|
||||
});
|
||||
14
server/node_modules/stripe/esm/resources/Issuing/PhysicalBundles.js
generated
vendored
Normal file
14
server/node_modules/stripe/esm/resources/Issuing/PhysicalBundles.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const PhysicalBundles = StripeResource.extend({
|
||||
retrieve: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/issuing/physical_bundles/{physical_bundle}',
|
||||
}),
|
||||
list: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/issuing/physical_bundles',
|
||||
methodType: 'list',
|
||||
}),
|
||||
});
|
||||
18
server/node_modules/stripe/esm/resources/Issuing/Tokens.js
generated
vendored
Normal file
18
server/node_modules/stripe/esm/resources/Issuing/Tokens.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Tokens = 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',
|
||||
}),
|
||||
});
|
||||
18
server/node_modules/stripe/esm/resources/Issuing/Transactions.js
generated
vendored
Normal file
18
server/node_modules/stripe/esm/resources/Issuing/Transactions.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Transactions = 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',
|
||||
}),
|
||||
});
|
||||
6
server/node_modules/stripe/esm/resources/Mandates.js
generated
vendored
Normal file
6
server/node_modules/stripe/esm/resources/Mandates.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Mandates = StripeResource.extend({
|
||||
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/mandates/{mandate}' }),
|
||||
});
|
||||
42
server/node_modules/stripe/esm/resources/OAuth.js
generated
vendored
Normal file
42
server/node_modules/stripe/esm/resources/OAuth.js
generated
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
'use strict';
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
import { stringifyRequestData } from '../utils.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
const oAuthHost = 'connect.stripe.com';
|
||||
export const OAuth = 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}?${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]);
|
||||
},
|
||||
});
|
||||
48
server/node_modules/stripe/esm/resources/PaymentIntents.js
generated
vendored
Normal file
48
server/node_modules/stripe/esm/resources/PaymentIntents.js
generated
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const PaymentIntents = 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',
|
||||
}),
|
||||
});
|
||||
24
server/node_modules/stripe/esm/resources/PaymentLinks.js
generated
vendored
Normal file
24
server/node_modules/stripe/esm/resources/PaymentLinks.js
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const PaymentLinks = 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',
|
||||
}),
|
||||
});
|
||||
22
server/node_modules/stripe/esm/resources/PaymentMethodConfigurations.js
generated
vendored
Normal file
22
server/node_modules/stripe/esm/resources/PaymentMethodConfigurations.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const PaymentMethodConfigurations = 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',
|
||||
}),
|
||||
});
|
||||
26
server/node_modules/stripe/esm/resources/PaymentMethodDomains.js
generated
vendored
Normal file
26
server/node_modules/stripe/esm/resources/PaymentMethodDomains.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const PaymentMethodDomains = 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',
|
||||
}),
|
||||
});
|
||||
27
server/node_modules/stripe/esm/resources/PaymentMethods.js
generated
vendored
Normal file
27
server/node_modules/stripe/esm/resources/PaymentMethods.js
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const PaymentMethods = 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',
|
||||
}),
|
||||
});
|
||||
21
server/node_modules/stripe/esm/resources/Payouts.js
generated
vendored
Normal file
21
server/node_modules/stripe/esm/resources/Payouts.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Payouts = 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',
|
||||
}),
|
||||
});
|
||||
14
server/node_modules/stripe/esm/resources/Plans.js
generated
vendored
Normal file
14
server/node_modules/stripe/esm/resources/Plans.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Plans = 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}' }),
|
||||
});
|
||||
18
server/node_modules/stripe/esm/resources/Prices.js
generated
vendored
Normal file
18
server/node_modules/stripe/esm/resources/Prices.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Prices = 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',
|
||||
}),
|
||||
});
|
||||
36
server/node_modules/stripe/esm/resources/Products.js
generated
vendored
Normal file
36
server/node_modules/stripe/esm/resources/Products.js
generated
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Products = 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',
|
||||
}),
|
||||
});
|
||||
19
server/node_modules/stripe/esm/resources/PromotionCodes.js
generated
vendored
Normal file
19
server/node_modules/stripe/esm/resources/PromotionCodes.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const PromotionCodes = 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',
|
||||
}),
|
||||
});
|
||||
35
server/node_modules/stripe/esm/resources/Quotes.js
generated
vendored
Normal file
35
server/node_modules/stripe/esm/resources/Quotes.js
generated
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Quotes = 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,
|
||||
}),
|
||||
});
|
||||
14
server/node_modules/stripe/esm/resources/Radar/EarlyFraudWarnings.js
generated
vendored
Normal file
14
server/node_modules/stripe/esm/resources/Radar/EarlyFraudWarnings.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const EarlyFraudWarnings = 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',
|
||||
}),
|
||||
});
|
||||
22
server/node_modules/stripe/esm/resources/Radar/ValueListItems.js
generated
vendored
Normal file
22
server/node_modules/stripe/esm/resources/Radar/ValueListItems.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const ValueListItems = 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}',
|
||||
}),
|
||||
});
|
||||
23
server/node_modules/stripe/esm/resources/Radar/ValueLists.js
generated
vendored
Normal file
23
server/node_modules/stripe/esm/resources/Radar/ValueLists.js
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const ValueLists = 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}',
|
||||
}),
|
||||
});
|
||||
17
server/node_modules/stripe/esm/resources/Refunds.js
generated
vendored
Normal file
17
server/node_modules/stripe/esm/resources/Refunds.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Refunds = 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',
|
||||
}),
|
||||
});
|
||||
15
server/node_modules/stripe/esm/resources/Reporting/ReportRuns.js
generated
vendored
Normal file
15
server/node_modules/stripe/esm/resources/Reporting/ReportRuns.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const ReportRuns = 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',
|
||||
}),
|
||||
});
|
||||
14
server/node_modules/stripe/esm/resources/Reporting/ReportTypes.js
generated
vendored
Normal file
14
server/node_modules/stripe/esm/resources/Reporting/ReportTypes.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const ReportTypes = StripeResource.extend({
|
||||
retrieve: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/reporting/report_types/{report_type}',
|
||||
}),
|
||||
list: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/reporting/report_types',
|
||||
methodType: 'list',
|
||||
}),
|
||||
});
|
||||
15
server/node_modules/stripe/esm/resources/Reviews.js
generated
vendored
Normal file
15
server/node_modules/stripe/esm/resources/Reviews.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Reviews = 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',
|
||||
}),
|
||||
});
|
||||
10
server/node_modules/stripe/esm/resources/SetupAttempts.js
generated
vendored
Normal file
10
server/node_modules/stripe/esm/resources/SetupAttempts.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const SetupAttempts = StripeResource.extend({
|
||||
list: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/setup_attempts',
|
||||
methodType: 'list',
|
||||
}),
|
||||
});
|
||||
31
server/node_modules/stripe/esm/resources/SetupIntents.js
generated
vendored
Normal file
31
server/node_modules/stripe/esm/resources/SetupIntents.js
generated
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const SetupIntents = 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',
|
||||
}),
|
||||
});
|
||||
19
server/node_modules/stripe/esm/resources/ShippingRates.js
generated
vendored
Normal file
19
server/node_modules/stripe/esm/resources/ShippingRates.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const ShippingRates = 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',
|
||||
}),
|
||||
});
|
||||
14
server/node_modules/stripe/esm/resources/Sigma/ScheduledQueryRuns.js
generated
vendored
Normal file
14
server/node_modules/stripe/esm/resources/Sigma/ScheduledQueryRuns.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const ScheduledQueryRuns = 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',
|
||||
}),
|
||||
});
|
||||
17
server/node_modules/stripe/esm/resources/Sources.js
generated
vendored
Normal file
17
server/node_modules/stripe/esm/resources/Sources.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Sources = 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',
|
||||
}),
|
||||
});
|
||||
32
server/node_modules/stripe/esm/resources/SubscriptionItems.js
generated
vendored
Normal file
32
server/node_modules/stripe/esm/resources/SubscriptionItems.js
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const SubscriptionItems = 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',
|
||||
}),
|
||||
});
|
||||
30
server/node_modules/stripe/esm/resources/SubscriptionSchedules.js
generated
vendored
Normal file
30
server/node_modules/stripe/esm/resources/SubscriptionSchedules.js
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const SubscriptionSchedules = 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',
|
||||
}),
|
||||
});
|
||||
36
server/node_modules/stripe/esm/resources/Subscriptions.js
generated
vendored
Normal file
36
server/node_modules/stripe/esm/resources/Subscriptions.js
generated
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Subscriptions = 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',
|
||||
}),
|
||||
});
|
||||
11
server/node_modules/stripe/esm/resources/Tax/Calculations.js
generated
vendored
Normal file
11
server/node_modules/stripe/esm/resources/Tax/Calculations.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Calculations = StripeResource.extend({
|
||||
create: stripeMethod({ method: 'POST', fullPath: '/v1/tax/calculations' }),
|
||||
listLineItems: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/tax/calculations/{calculation}/line_items',
|
||||
methodType: 'list',
|
||||
}),
|
||||
});
|
||||
19
server/node_modules/stripe/esm/resources/Tax/Registrations.js
generated
vendored
Normal file
19
server/node_modules/stripe/esm/resources/Tax/Registrations.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Registrations = 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',
|
||||
}),
|
||||
});
|
||||
7
server/node_modules/stripe/esm/resources/Tax/Settings.js
generated
vendored
Normal file
7
server/node_modules/stripe/esm/resources/Tax/Settings.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Settings = StripeResource.extend({
|
||||
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/tax/settings' }),
|
||||
update: stripeMethod({ method: 'POST', fullPath: '/v1/tax/settings' }),
|
||||
});
|
||||
22
server/node_modules/stripe/esm/resources/Tax/Transactions.js
generated
vendored
Normal file
22
server/node_modules/stripe/esm/resources/Tax/Transactions.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Transactions = 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',
|
||||
}),
|
||||
});
|
||||
11
server/node_modules/stripe/esm/resources/TaxCodes.js
generated
vendored
Normal file
11
server/node_modules/stripe/esm/resources/TaxCodes.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const TaxCodes = StripeResource.extend({
|
||||
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/tax_codes/{id}' }),
|
||||
list: stripeMethod({
|
||||
method: 'GET',
|
||||
fullPath: '/v1/tax_codes',
|
||||
methodType: 'list',
|
||||
}),
|
||||
});
|
||||
13
server/node_modules/stripe/esm/resources/TaxIds.js
generated
vendored
Normal file
13
server/node_modules/stripe/esm/resources/TaxIds.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const TaxIds = 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}' }),
|
||||
});
|
||||
13
server/node_modules/stripe/esm/resources/TaxRates.js
generated
vendored
Normal file
13
server/node_modules/stripe/esm/resources/TaxRates.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const TaxRates = 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',
|
||||
}),
|
||||
});
|
||||
26
server/node_modules/stripe/esm/resources/Terminal/Configurations.js
generated
vendored
Normal file
26
server/node_modules/stripe/esm/resources/Terminal/Configurations.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Configurations = 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}',
|
||||
}),
|
||||
});
|
||||
9
server/node_modules/stripe/esm/resources/Terminal/ConnectionTokens.js
generated
vendored
Normal file
9
server/node_modules/stripe/esm/resources/Terminal/ConnectionTokens.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const ConnectionTokens = StripeResource.extend({
|
||||
create: stripeMethod({
|
||||
method: 'POST',
|
||||
fullPath: '/v1/terminal/connection_tokens',
|
||||
}),
|
||||
});
|
||||
23
server/node_modules/stripe/esm/resources/Terminal/Locations.js
generated
vendored
Normal file
23
server/node_modules/stripe/esm/resources/Terminal/Locations.js
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Locations = 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}',
|
||||
}),
|
||||
});
|
||||
43
server/node_modules/stripe/esm/resources/Terminal/Readers.js
generated
vendored
Normal file
43
server/node_modules/stripe/esm/resources/Terminal/Readers.js
generated
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Readers = 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',
|
||||
}),
|
||||
});
|
||||
9
server/node_modules/stripe/esm/resources/TestHelpers/ConfirmationTokens.js
generated
vendored
Normal file
9
server/node_modules/stripe/esm/resources/TestHelpers/ConfirmationTokens.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const ConfirmationTokens = StripeResource.extend({
|
||||
create: stripeMethod({
|
||||
method: 'POST',
|
||||
fullPath: '/v1/test_helpers/confirmation_tokens',
|
||||
}),
|
||||
});
|
||||
9
server/node_modules/stripe/esm/resources/TestHelpers/Customers.js
generated
vendored
Normal file
9
server/node_modules/stripe/esm/resources/TestHelpers/Customers.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Customers = StripeResource.extend({
|
||||
fundCashBalance: stripeMethod({
|
||||
method: 'POST',
|
||||
fullPath: '/v1/test_helpers/customers/{customer}/fund_cash_balance',
|
||||
}),
|
||||
});
|
||||
25
server/node_modules/stripe/esm/resources/TestHelpers/Issuing/Authorizations.js
generated
vendored
Normal file
25
server/node_modules/stripe/esm/resources/TestHelpers/Issuing/Authorizations.js
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Authorizations = 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',
|
||||
}),
|
||||
});
|
||||
21
server/node_modules/stripe/esm/resources/TestHelpers/Issuing/Cards.js
generated
vendored
Normal file
21
server/node_modules/stripe/esm/resources/TestHelpers/Issuing/Cards.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Cards = 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',
|
||||
}),
|
||||
});
|
||||
17
server/node_modules/stripe/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js
generated
vendored
Normal file
17
server/node_modules/stripe/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const PersonalizationDesigns = 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',
|
||||
}),
|
||||
});
|
||||
17
server/node_modules/stripe/esm/resources/TestHelpers/Issuing/Transactions.js
generated
vendored
Normal file
17
server/node_modules/stripe/esm/resources/TestHelpers/Issuing/Transactions.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Transactions = 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',
|
||||
}),
|
||||
});
|
||||
9
server/node_modules/stripe/esm/resources/TestHelpers/Refunds.js
generated
vendored
Normal file
9
server/node_modules/stripe/esm/resources/TestHelpers/Refunds.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Refunds = StripeResource.extend({
|
||||
expire: stripeMethod({
|
||||
method: 'POST',
|
||||
fullPath: '/v1/test_helpers/refunds/{refund}/expire',
|
||||
}),
|
||||
});
|
||||
9
server/node_modules/stripe/esm/resources/TestHelpers/Terminal/Readers.js
generated
vendored
Normal file
9
server/node_modules/stripe/esm/resources/TestHelpers/Terminal/Readers.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const Readers = StripeResource.extend({
|
||||
presentPaymentMethod: stripeMethod({
|
||||
method: 'POST',
|
||||
fullPath: '/v1/test_helpers/terminal/readers/{reader}/present_payment_method',
|
||||
}),
|
||||
});
|
||||
26
server/node_modules/stripe/esm/resources/TestHelpers/TestClocks.js
generated
vendored
Normal file
26
server/node_modules/stripe/esm/resources/TestHelpers/TestClocks.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const TestClocks = 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',
|
||||
}),
|
||||
});
|
||||
17
server/node_modules/stripe/esm/resources/TestHelpers/Treasury/InboundTransfers.js
generated
vendored
Normal file
17
server/node_modules/stripe/esm/resources/TestHelpers/Treasury/InboundTransfers.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const InboundTransfers = 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',
|
||||
}),
|
||||
});
|
||||
17
server/node_modules/stripe/esm/resources/TestHelpers/Treasury/OutboundPayments.js
generated
vendored
Normal file
17
server/node_modules/stripe/esm/resources/TestHelpers/Treasury/OutboundPayments.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const OutboundPayments = 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',
|
||||
}),
|
||||
});
|
||||
17
server/node_modules/stripe/esm/resources/TestHelpers/Treasury/OutboundTransfers.js
generated
vendored
Normal file
17
server/node_modules/stripe/esm/resources/TestHelpers/Treasury/OutboundTransfers.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const OutboundTransfers = 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',
|
||||
}),
|
||||
});
|
||||
9
server/node_modules/stripe/esm/resources/TestHelpers/Treasury/ReceivedCredits.js
generated
vendored
Normal file
9
server/node_modules/stripe/esm/resources/TestHelpers/Treasury/ReceivedCredits.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../../StripeResource.js';
|
||||
const stripeMethod = StripeResource.method;
|
||||
export const ReceivedCredits = 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
Reference in New Issue
Block a user