diff --git a/lib/resources/LoginLinks.js b/lib/resources/LoginLinks.js deleted file mode 100644 index 842a447ddb..0000000000 --- a/lib/resources/LoginLinks.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'accounts/{accountId}/login_links', - - includeBasic: ['create'], -}); diff --git a/lib/resources/Persons.js b/lib/resources/Persons.js deleted file mode 100644 index 921561ea64..0000000000 --- a/lib/resources/Persons.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'accounts/{accountId}/persons', - - includeBasic: ['create', 'del', 'list', 'retrieve', 'update'], -}); diff --git a/lib/resources/SubscriptionScheduleRevisions.js b/lib/resources/SubscriptionScheduleRevisions.js deleted file mode 100644 index 7748b9a721..0000000000 --- a/lib/resources/SubscriptionScheduleRevisions.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'subscription_schedules/{scheduleId}/revisions', - - includeBasic: ['list', 'retrieve'], -}); diff --git a/lib/resources/TaxIds.js b/lib/resources/TaxIds.js deleted file mode 100644 index 7cc865bd87..0000000000 --- a/lib/resources/TaxIds.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'customers/{customerId}/tax_ids', - - includeBasic: ['create', 'del', 'list', 'retrieve'], -}); diff --git a/lib/resources/TransferReversals.js b/lib/resources/TransferReversals.js deleted file mode 100644 index 207b653491..0000000000 --- a/lib/resources/TransferReversals.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'transfers/{transferId}/reversals', - - includeBasic: ['create', 'list', 'retrieve', 'update'], -}); diff --git a/lib/stripe.js b/lib/stripe.js index 4250054163..99777370ef 100644 --- a/lib/stripe.js +++ b/lib/stripe.js @@ -55,7 +55,6 @@ const resources = { InvoiceItems: require('./resources/InvoiceItems'), Invoices: require('./resources/Invoices'), IssuerFraudRecords: require('./resources/IssuerFraudRecords'), - LoginLinks: require('./resources/LoginLinks'), OAuth: require('./resources/OAuth'), OrderReturns: require('./resources/OrderReturns'), Orders: require('./resources/Orders'), @@ -81,13 +80,6 @@ const resources = { UsageRecordSummaries: require('./resources/UsageRecordSummaries'), WebhookEndpoints: require('./resources/WebhookEndpoints'), - // The following rely on pre-filled IDs: - ApplicationFeeRefunds: require('./resources/ApplicationFeeRefunds'), - Persons: require('./resources/Persons'), - SubscriptionScheduleRevisions: require('./resources/SubscriptionScheduleRevisions'), - TaxIds: require('./resources/TaxIds'), - TransferReversals: require('./resources/TransferReversals'), - // Namespaced resources Checkout: resourceNamespace('checkout', { Sessions: require('./resources/Checkout/Sessions'),