UNPKG

3.66 kBJavaScriptView Raw
1'use strict';
2
3const resourceNamespace = require('./ResourceNamespace');
4
5module.exports = {
6 Accounts: require('./resources/Accounts'),
7 // Support Accounts for consistency, Account for backwards compatibility
8 Account: require('./resources/Accounts'),
9 AccountLinks: require('./resources/AccountLinks'),
10 ApplePayDomains: require('./resources/ApplePayDomains'),
11 ApplicationFees: require('./resources/ApplicationFees'),
12 Balance: require('./resources/Balance'),
13 BalanceTransactions: require('./resources/BalanceTransactions'),
14 Charges: require('./resources/Charges'),
15 CountrySpecs: require('./resources/CountrySpecs'),
16 Coupons: require('./resources/Coupons'),
17 CreditNotes: require('./resources/CreditNotes'),
18 Customers: require('./resources/Customers'),
19 Disputes: require('./resources/Disputes'),
20 EphemeralKeys: require('./resources/EphemeralKeys'),
21 Events: require('./resources/Events'),
22 ExchangeRates: require('./resources/ExchangeRates'),
23 Files: require('./resources/Files'),
24 FileLinks: require('./resources/FileLinks'),
25 Invoices: require('./resources/Invoices'),
26 InvoiceItems: require('./resources/InvoiceItems'),
27 IssuerFraudRecords: require('./resources/IssuerFraudRecords'),
28 Mandates: require('./resources/Mandates'),
29 OAuth: require('./resources/OAuth'),
30 Orders: require('./resources/Orders'),
31 OrderReturns: require('./resources/OrderReturns'),
32 PaymentIntents: require('./resources/PaymentIntents'),
33 PaymentMethods: require('./resources/PaymentMethods'),
34 Payouts: require('./resources/Payouts'),
35 Plans: require('./resources/Plans'),
36 Prices: require('./resources/Prices'),
37 Products: require('./resources/Products'),
38 Refunds: require('./resources/Refunds'),
39 Reviews: require('./resources/Reviews'),
40 SetupIntents: require('./resources/SetupIntents'),
41 Skus: require('./resources/SKUs'),
42 Sources: require('./resources/Sources'),
43 Subscriptions: require('./resources/Subscriptions'),
44 SubscriptionItems: require('./resources/SubscriptionItems'),
45 SubscriptionSchedules: require('./resources/SubscriptionSchedules'),
46 TaxRates: require('./resources/TaxRates'),
47 Tokens: require('./resources/Tokens'),
48 Topups: require('./resources/Topups'),
49 Transfers: require('./resources/Transfers'),
50 WebhookEndpoints: require('./resources/WebhookEndpoints'),
51 BillingPortal: resourceNamespace('billingPortal', {
52 Sessions: require('./resources/BillingPortal/Sessions'),
53 }),
54 Checkout: resourceNamespace('checkout', {
55 Sessions: require('./resources/Checkout/Sessions'),
56 }),
57 Issuing: resourceNamespace('issuing', {
58 Authorizations: require('./resources/Issuing/Authorizations'),
59 Cards: require('./resources/Issuing/Cards'),
60 Cardholders: require('./resources/Issuing/Cardholders'),
61 Disputes: require('./resources/Issuing/Disputes'),
62 Transactions: require('./resources/Issuing/Transactions'),
63 }),
64 Radar: resourceNamespace('radar', {
65 EarlyFraudWarnings: require('./resources/Radar/EarlyFraudWarnings'),
66 ValueLists: require('./resources/Radar/ValueLists'),
67 ValueListItems: require('./resources/Radar/ValueListItems'),
68 }),
69 Reporting: resourceNamespace('reporting', {
70 ReportRuns: require('./resources/Reporting/ReportRuns'),
71 ReportTypes: require('./resources/Reporting/ReportTypes'),
72 }),
73 Sigma: resourceNamespace('sigma', {
74 ScheduledQueryRuns: require('./resources/Sigma/ScheduledQueryRuns'),
75 }),
76 Terminal: resourceNamespace('terminal', {
77 ConnectionTokens: require('./resources/Terminal/ConnectionTokens'),
78 Locations: require('./resources/Terminal/Locations'),
79 Readers: require('./resources/Terminal/Readers'),
80 }),
81};