@distilled.cloud/stripe 0.19.1 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (265) hide show
  1. package/lib/credentials.d.ts +1 -1
  2. package/lib/credentials.d.ts.map +1 -1
  3. package/lib/credentials.js +2 -2
  4. package/lib/credentials.js.map +1 -1
  5. package/lib/operations/DeleteCustomersCustomerSourcesId.d.ts +1 -1
  6. package/lib/operations/DeleteEphemeralKeysKey.d.ts +1 -1
  7. package/lib/operations/DeleteSubscriptionItemsItem.d.ts +1 -1
  8. package/lib/operations/DeleteSubscriptionsSubscriptionExposedId.d.ts +1 -1
  9. package/lib/operations/GetAccountsAccountExternalAccountsId.d.ts +1 -1
  10. package/lib/operations/GetAccountsAccountPersonsPerson.d.ts +1 -1
  11. package/lib/operations/GetApplicationFeesFeeRefundsId.d.ts +1 -1
  12. package/lib/operations/GetApplicationFeesId.d.ts +1 -1
  13. package/lib/operations/GetApplicationFeesIdRefunds.d.ts +1 -1
  14. package/lib/operations/GetBalanceTransactionsId.d.ts +1 -1
  15. package/lib/operations/GetBillingAlertsId.d.ts +1 -1
  16. package/lib/operations/GetBillingCreditBalanceTransactionsId.d.ts +1 -1
  17. package/lib/operations/GetBillingCreditGrantsId.d.ts +1 -1
  18. package/lib/operations/GetBillingMetersId.d.ts +1 -1
  19. package/lib/operations/GetBillingMetersIdEventSummaries.d.ts +1 -1
  20. package/lib/operations/GetChargesChargeRefundsRefund.d.ts +1 -1
  21. package/lib/operations/GetCheckoutSessionsSession.d.ts +1 -1
  22. package/lib/operations/GetCheckoutSessionsSessionLineItems.d.ts +1 -1
  23. package/lib/operations/GetClimateOrdersOrder.d.ts +1 -1
  24. package/lib/operations/GetClimateProductsProduct.d.ts +1 -1
  25. package/lib/operations/GetClimateSuppliersSupplier.d.ts +1 -1
  26. package/lib/operations/GetCreditNotesId.d.ts +1 -1
  27. package/lib/operations/GetCustomersCustomerBalanceTransactions.d.ts +1 -1
  28. package/lib/operations/GetCustomersCustomerBalanceTransactionsTransaction.d.ts +1 -1
  29. package/lib/operations/GetCustomersCustomerCashBalanceTransactionsTransaction.d.ts +1 -1
  30. package/lib/operations/GetCustomersCustomerPaymentMethods.d.ts +1 -1
  31. package/lib/operations/GetCustomersCustomerPaymentMethodsPaymentMethod.d.ts +1 -1
  32. package/lib/operations/GetCustomersCustomerSourcesId.d.ts +1 -1
  33. package/lib/operations/GetCustomersCustomerTaxIdsId.d.ts +1 -1
  34. package/lib/operations/GetEntitlementsActiveEntitlementsId.d.ts +1 -1
  35. package/lib/operations/GetEntitlementsFeaturesId.d.ts +1 -1
  36. package/lib/operations/GetEventsId.d.ts +1 -1
  37. package/lib/operations/GetExchangeRatesRateId.d.ts +1 -1
  38. package/lib/operations/GetFileLinksLink.d.ts +1 -1
  39. package/lib/operations/GetFilesFile.d.ts +1 -1
  40. package/lib/operations/GetFinancialConnectionsSessionsSession.d.ts +1 -1
  41. package/lib/operations/GetFinancialConnectionsTransactionsTransaction.d.ts +1 -1
  42. package/lib/operations/GetForwardingRequestsId.d.ts +1 -1
  43. package/lib/operations/GetIdentityVerificationReportsReport.d.ts +1 -1
  44. package/lib/operations/GetIdentityVerificationSessionsSession.d.ts +1 -1
  45. package/lib/operations/GetInvoicePaymentsInvoicePayment.d.ts +1 -1
  46. package/lib/operations/GetInvoiceRenderingTemplatesTemplate.d.ts +1 -1
  47. package/lib/operations/GetInvoiceitemsInvoiceitem.d.ts +1 -1
  48. package/lib/operations/GetInvoicesInvoice.d.ts +1 -1
  49. package/lib/operations/GetInvoicesInvoiceLines.d.ts +1 -1
  50. package/lib/operations/GetIssuingPersonalizationDesignsPersonalizationDesign.d.ts +1 -1
  51. package/lib/operations/GetIssuingPhysicalBundlesPhysicalBundle.d.ts +1 -1
  52. package/lib/operations/GetIssuingTokensToken.d.ts +1 -1
  53. package/lib/operations/GetIssuingTransactionsTransaction.d.ts +1 -1
  54. package/lib/operations/GetMandatesMandate.d.ts +1 -1
  55. package/lib/operations/GetPaymentAttemptRecordsId.d.ts +1 -1
  56. package/lib/operations/GetPaymentIntentsIntent.d.ts +1 -1
  57. package/lib/operations/GetPaymentIntentsIntentAmountDetailsLineItems.d.ts +1 -1
  58. package/lib/operations/GetPaymentLinksPaymentLink.d.ts +1 -1
  59. package/lib/operations/GetPaymentLinksPaymentLinkLineItems.d.ts +1 -1
  60. package/lib/operations/GetPaymentMethodDomainsPaymentMethodDomain.d.ts +1 -1
  61. package/lib/operations/GetPaymentMethodsPaymentMethod.d.ts +1 -1
  62. package/lib/operations/GetPaymentRecordsId.d.ts +1 -1
  63. package/lib/operations/GetPayoutsPayout.d.ts +1 -1
  64. package/lib/operations/GetPlansPlan.d.ts +1 -1
  65. package/lib/operations/GetPricesPrice.d.ts +1 -1
  66. package/lib/operations/GetProductsId.d.ts +1 -1
  67. package/lib/operations/GetProductsProductFeatures.d.ts +1 -1
  68. package/lib/operations/GetProductsProductFeaturesId.d.ts +1 -1
  69. package/lib/operations/GetPromotionCodesPromotionCode.d.ts +1 -1
  70. package/lib/operations/GetQuotesQuote.d.ts +1 -1
  71. package/lib/operations/GetQuotesQuoteComputedUpfrontLineItems.d.ts +1 -1
  72. package/lib/operations/GetQuotesQuoteLineItems.d.ts +1 -1
  73. package/lib/operations/GetQuotesQuotePdf.d.ts +1 -1
  74. package/lib/operations/GetRadarValueListItemsItem.d.ts +1 -1
  75. package/lib/operations/GetRadarValueListsValueList.d.ts +1 -1
  76. package/lib/operations/GetRefundsRefund.d.ts +1 -1
  77. package/lib/operations/GetReportingReportRunsReportRun.d.ts +1 -1
  78. package/lib/operations/GetReportingReportTypesReportType.d.ts +1 -1
  79. package/lib/operations/GetReviewsReview.d.ts +1 -1
  80. package/lib/operations/GetSetupIntentsIntent.d.ts +1 -1
  81. package/lib/operations/GetShippingRatesShippingRateToken.d.ts +1 -1
  82. package/lib/operations/GetSigmaScheduledQueryRunsScheduledQueryRun.d.ts +1 -1
  83. package/lib/operations/GetSourcesSource.d.ts +1 -1
  84. package/lib/operations/GetSourcesSourceSourceTransactions.d.ts +1 -1
  85. package/lib/operations/GetSubscriptionItemsItem.d.ts +1 -1
  86. package/lib/operations/GetSubscriptionSchedulesSchedule.d.ts +1 -1
  87. package/lib/operations/GetSubscriptionsSubscriptionExposedId.d.ts +1 -1
  88. package/lib/operations/GetTaxCodesId.d.ts +1 -1
  89. package/lib/operations/GetTaxIdsId.d.ts +1 -1
  90. package/lib/operations/GetTaxRatesTaxRate.d.ts +1 -1
  91. package/lib/operations/GetTaxRegistrationsId.d.ts +1 -1
  92. package/lib/operations/GetTaxTransactionsTransaction.d.ts +1 -1
  93. package/lib/operations/GetTaxTransactionsTransactionLineItems.d.ts +1 -1
  94. package/lib/operations/GetTerminalLocationsLocation.d.ts +1 -1
  95. package/lib/operations/GetTerminalReadersReader.d.ts +1 -1
  96. package/lib/operations/GetTestHelpersTestClocksTestClock.d.ts +1 -1
  97. package/lib/operations/GetTokensToken.d.ts +1 -1
  98. package/lib/operations/GetTopupsTopup.d.ts +1 -1
  99. package/lib/operations/GetTransfersIdReversals.d.ts +1 -1
  100. package/lib/operations/GetTransfersTransfer.d.ts +1 -1
  101. package/lib/operations/GetTransfersTransferReversalsId.d.ts +1 -1
  102. package/lib/operations/GetTreasuryFinancialAccountsFinancialAccount.d.ts +1 -1
  103. package/lib/operations/GetTreasuryFinancialAccountsFinancialAccountFeatures.d.ts +1 -1
  104. package/lib/operations/GetTreasuryInboundTransfersId.d.ts +1 -1
  105. package/lib/operations/GetTreasuryOutboundPaymentsId.d.ts +1 -1
  106. package/lib/operations/GetTreasuryOutboundTransfersOutboundTransfer.d.ts +1 -1
  107. package/lib/operations/GetTreasuryReceivedCreditsId.d.ts +1 -1
  108. package/lib/operations/GetTreasuryReceivedDebitsId.d.ts +1 -1
  109. package/lib/operations/GetTreasuryTransactionEntriesId.d.ts +1 -1
  110. package/lib/operations/GetTreasuryTransactionsId.d.ts +1 -1
  111. package/lib/operations/GetWebhookEndpointsWebhookEndpoint.d.ts +1 -1
  112. package/lib/operations/PostAccountsAccountExternalAccountsId.d.ts +1 -1
  113. package/lib/operations/PostAccountsAccountPersonsPerson.d.ts +1 -1
  114. package/lib/operations/PostApplicationFeesFeeRefundsId.d.ts +1 -1
  115. package/lib/operations/PostApplicationFeesIdRefunds.d.ts +1 -1
  116. package/lib/operations/PostBillingAlertsIdActivate.d.ts +1 -1
  117. package/lib/operations/PostBillingAlertsIdArchive.d.ts +1 -1
  118. package/lib/operations/PostBillingAlertsIdDeactivate.d.ts +1 -1
  119. package/lib/operations/PostBillingCreditGrantsId.d.ts +1 -1
  120. package/lib/operations/PostBillingCreditGrantsIdExpire.d.ts +1 -1
  121. package/lib/operations/PostBillingCreditGrantsIdVoid.d.ts +1 -1
  122. package/lib/operations/PostBillingMetersId.d.ts +1 -1
  123. package/lib/operations/PostBillingMetersIdDeactivate.d.ts +1 -1
  124. package/lib/operations/PostBillingMetersIdReactivate.d.ts +1 -1
  125. package/lib/operations/PostBillingPortalConfigurationsConfiguration.d.ts +1 -1
  126. package/lib/operations/PostChargesChargeCapture.d.ts +1 -1
  127. package/lib/operations/PostCheckoutSessionsSession.d.ts +1 -1
  128. package/lib/operations/PostCheckoutSessionsSessionExpire.d.ts +1 -1
  129. package/lib/operations/PostClimateOrdersOrder.d.ts +1 -1
  130. package/lib/operations/PostClimateOrdersOrderCancel.d.ts +1 -1
  131. package/lib/operations/PostCreditNotesId.d.ts +1 -1
  132. package/lib/operations/PostCreditNotesIdVoid.d.ts +1 -1
  133. package/lib/operations/PostCustomersCustomer.d.ts +1 -1
  134. package/lib/operations/PostCustomersCustomerBalanceTransactions.d.ts +1 -1
  135. package/lib/operations/PostCustomersCustomerBalanceTransactionsTransaction.d.ts +1 -1
  136. package/lib/operations/PostCustomersCustomerFundingInstructions.d.ts +1 -1
  137. package/lib/operations/PostCustomersCustomerSourcesId.d.ts +2 -2
  138. package/lib/operations/PostCustomersCustomerSourcesIdVerify.d.ts +2 -2
  139. package/lib/operations/PostEntitlementsFeaturesId.d.ts +1 -1
  140. package/lib/operations/PostFileLinksLink.d.ts +1 -1
  141. package/lib/operations/PostIdentityVerificationSessionsSession.d.ts +1 -1
  142. package/lib/operations/PostIdentityVerificationSessionsSessionCancel.d.ts +1 -1
  143. package/lib/operations/PostIdentityVerificationSessionsSessionRedact.d.ts +1 -1
  144. package/lib/operations/PostInvoiceRenderingTemplatesTemplateArchive.d.ts +1 -1
  145. package/lib/operations/PostInvoiceRenderingTemplatesTemplateUnarchive.d.ts +1 -1
  146. package/lib/operations/PostInvoiceitemsInvoiceitem.d.ts +1 -1
  147. package/lib/operations/PostInvoicesInvoice.d.ts +1 -1
  148. package/lib/operations/PostInvoicesInvoiceAddLines.d.ts +1 -1
  149. package/lib/operations/PostInvoicesInvoiceAttachPayment.d.ts +1 -1
  150. package/lib/operations/PostInvoicesInvoiceFinalize.d.ts +1 -1
  151. package/lib/operations/PostInvoicesInvoiceLinesLineItemId.d.ts +2 -2
  152. package/lib/operations/PostInvoicesInvoiceMarkUncollectible.d.ts +1 -1
  153. package/lib/operations/PostInvoicesInvoicePay.d.ts +1 -1
  154. package/lib/operations/PostInvoicesInvoiceRemoveLines.d.ts +1 -1
  155. package/lib/operations/PostInvoicesInvoiceSend.d.ts +1 -1
  156. package/lib/operations/PostInvoicesInvoiceUpdateLines.d.ts +1 -1
  157. package/lib/operations/PostInvoicesInvoiceVoid.d.ts +1 -1
  158. package/lib/operations/PostIssuingCardholdersCardholder.d.ts +1 -1
  159. package/lib/operations/PostIssuingCardsCard.d.ts +1 -1
  160. package/lib/operations/PostIssuingDisputesDispute.d.ts +1 -1
  161. package/lib/operations/PostIssuingPersonalizationDesignsPersonalizationDesign.d.ts +1 -1
  162. package/lib/operations/PostIssuingTokensToken.d.ts +1 -1
  163. package/lib/operations/PostIssuingTransactionsTransaction.d.ts +1 -1
  164. package/lib/operations/PostPaymentIntentsIntent.d.ts +1 -1
  165. package/lib/operations/PostPaymentIntentsIntentApplyCustomerBalance.d.ts +1 -1
  166. package/lib/operations/PostPaymentIntentsIntentCancel.d.ts +1 -1
  167. package/lib/operations/PostPaymentIntentsIntentCapture.d.ts +1 -1
  168. package/lib/operations/PostPaymentIntentsIntentConfirm.d.ts +1 -1
  169. package/lib/operations/PostPaymentIntentsIntentIncrementAuthorization.d.ts +1 -1
  170. package/lib/operations/PostPaymentIntentsIntentVerifyMicrodeposits.d.ts +1 -1
  171. package/lib/operations/PostPaymentLinksPaymentLink.d.ts +1 -1
  172. package/lib/operations/PostPaymentMethodConfigurationsConfiguration.d.ts +1 -1
  173. package/lib/operations/PostPaymentMethodDomainsPaymentMethodDomain.d.ts +1 -1
  174. package/lib/operations/PostPaymentMethodDomainsPaymentMethodDomainValidate.d.ts +1 -1
  175. package/lib/operations/PostPaymentMethodsPaymentMethod.d.ts +1 -1
  176. package/lib/operations/PostPaymentMethodsPaymentMethodAttach.d.ts +1 -1
  177. package/lib/operations/PostPaymentMethodsPaymentMethodDetach.d.ts +1 -1
  178. package/lib/operations/PostPaymentRecordsIdReportPaymentAttempt.d.ts +1 -1
  179. package/lib/operations/PostPaymentRecordsIdReportPaymentAttemptCanceled.d.ts +1 -1
  180. package/lib/operations/PostPaymentRecordsIdReportPaymentAttemptFailed.d.ts +1 -1
  181. package/lib/operations/PostPaymentRecordsIdReportPaymentAttemptGuaranteed.d.ts +1 -1
  182. package/lib/operations/PostPaymentRecordsIdReportPaymentAttemptInformational.d.ts +1 -1
  183. package/lib/operations/PostPaymentRecordsIdReportRefund.d.ts +1 -1
  184. package/lib/operations/PostPayoutsPayout.d.ts +1 -1
  185. package/lib/operations/PostPayoutsPayoutCancel.d.ts +1 -1
  186. package/lib/operations/PostPayoutsPayoutReverse.d.ts +1 -1
  187. package/lib/operations/PostPlansPlan.d.ts +1 -1
  188. package/lib/operations/PostPricesPrice.d.ts +1 -1
  189. package/lib/operations/PostProductsId.d.ts +1 -1
  190. package/lib/operations/PostProductsProductFeatures.d.ts +1 -1
  191. package/lib/operations/PostPromotionCodesPromotionCode.d.ts +1 -1
  192. package/lib/operations/PostQuotesQuote.d.ts +1 -1
  193. package/lib/operations/PostQuotesQuoteAccept.d.ts +1 -1
  194. package/lib/operations/PostQuotesQuoteCancel.d.ts +1 -1
  195. package/lib/operations/PostQuotesQuoteFinalize.d.ts +1 -1
  196. package/lib/operations/PostRadarValueListsValueList.d.ts +1 -1
  197. package/lib/operations/PostRefundsRefund.d.ts +1 -1
  198. package/lib/operations/PostRefundsRefundCancel.d.ts +1 -1
  199. package/lib/operations/PostReviewsReviewApprove.d.ts +1 -1
  200. package/lib/operations/PostSetupIntentsIntent.d.ts +1 -1
  201. package/lib/operations/PostSetupIntentsIntentCancel.d.ts +1 -1
  202. package/lib/operations/PostSetupIntentsIntentConfirm.d.ts +1 -1
  203. package/lib/operations/PostSetupIntentsIntentVerifyMicrodeposits.d.ts +1 -1
  204. package/lib/operations/PostShippingRatesShippingRateToken.d.ts +1 -1
  205. package/lib/operations/PostSourcesSource.d.ts +1 -1
  206. package/lib/operations/PostSourcesSourceVerify.d.ts +1 -1
  207. package/lib/operations/PostSubscriptionItemsItem.d.ts +1 -1
  208. package/lib/operations/PostSubscriptionSchedulesSchedule.d.ts +1 -1
  209. package/lib/operations/PostSubscriptionSchedulesScheduleCancel.d.ts +1 -1
  210. package/lib/operations/PostSubscriptionSchedulesScheduleRelease.d.ts +1 -1
  211. package/lib/operations/PostSubscriptionsSubscriptionExposedId.d.ts +1 -1
  212. package/lib/operations/PostSubscriptionsSubscriptionMigrate.d.ts +1 -1
  213. package/lib/operations/PostSubscriptionsSubscriptionResume.d.ts +1 -1
  214. package/lib/operations/PostTaxRatesTaxRate.d.ts +1 -1
  215. package/lib/operations/PostTaxRegistrationsId.d.ts +1 -1
  216. package/lib/operations/PostTerminalConfigurationsConfiguration.d.ts +1 -1
  217. package/lib/operations/PostTerminalLocationsLocation.d.ts +1 -1
  218. package/lib/operations/PostTerminalReadersReader.d.ts +1 -1
  219. package/lib/operations/PostTerminalReadersReaderCancelAction.d.ts +1 -1
  220. package/lib/operations/PostTerminalReadersReaderCollectInputs.d.ts +1 -1
  221. package/lib/operations/PostTerminalReadersReaderCollectPaymentMethod.d.ts +1 -1
  222. package/lib/operations/PostTerminalReadersReaderConfirmPaymentIntent.d.ts +1 -1
  223. package/lib/operations/PostTerminalReadersReaderProcessPaymentIntent.d.ts +1 -1
  224. package/lib/operations/PostTerminalReadersReaderProcessSetupIntent.d.ts +1 -1
  225. package/lib/operations/PostTerminalReadersReaderRefundPayment.d.ts +1 -1
  226. package/lib/operations/PostTerminalReadersReaderSetReaderDisplay.d.ts +1 -1
  227. package/lib/operations/PostTestHelpersCustomersCustomerFundCashBalance.d.ts +1 -1
  228. package/lib/operations/PostTestHelpersIssuingPersonalizationDesignsPersonalizationDesignActivate.d.ts +1 -1
  229. package/lib/operations/PostTestHelpersIssuingPersonalizationDesignsPersonalizationDesignDeactivate.d.ts +1 -1
  230. package/lib/operations/PostTestHelpersIssuingPersonalizationDesignsPersonalizationDesignReject.d.ts +1 -1
  231. package/lib/operations/PostTestHelpersIssuingTransactionsTransactionRefund.d.ts +1 -1
  232. package/lib/operations/PostTestHelpersRefundsRefundExpire.d.ts +1 -1
  233. package/lib/operations/PostTestHelpersTerminalReadersReaderPresentPaymentMethod.d.ts +1 -1
  234. package/lib/operations/PostTestHelpersTerminalReadersReaderSucceedInputCollection.d.ts +1 -1
  235. package/lib/operations/PostTestHelpersTerminalReadersReaderTimeoutInputCollection.d.ts +1 -1
  236. package/lib/operations/PostTestHelpersTestClocksTestClockAdvance.d.ts +1 -1
  237. package/lib/operations/PostTestHelpersTreasuryInboundTransfersIdFail.d.ts +1 -1
  238. package/lib/operations/PostTestHelpersTreasuryInboundTransfersIdReturn.d.ts +1 -1
  239. package/lib/operations/PostTestHelpersTreasuryInboundTransfersIdSucceed.d.ts +1 -1
  240. package/lib/operations/PostTestHelpersTreasuryOutboundPaymentsId.d.ts +1 -1
  241. package/lib/operations/PostTestHelpersTreasuryOutboundPaymentsIdFail.d.ts +1 -1
  242. package/lib/operations/PostTestHelpersTreasuryOutboundPaymentsIdPost.d.ts +1 -1
  243. package/lib/operations/PostTestHelpersTreasuryOutboundPaymentsIdReturn.d.ts +1 -1
  244. package/lib/operations/PostTestHelpersTreasuryOutboundTransfersOutboundTransfer.d.ts +1 -1
  245. package/lib/operations/PostTestHelpersTreasuryOutboundTransfersOutboundTransferFail.d.ts +1 -1
  246. package/lib/operations/PostTestHelpersTreasuryOutboundTransfersOutboundTransferPost.d.ts +1 -1
  247. package/lib/operations/PostTestHelpersTreasuryOutboundTransfersOutboundTransferReturn.d.ts +1 -1
  248. package/lib/operations/PostTopupsTopup.d.ts +1 -1
  249. package/lib/operations/PostTopupsTopupCancel.d.ts +1 -1
  250. package/lib/operations/PostTransfersIdReversals.d.ts +1 -1
  251. package/lib/operations/PostTransfersTransfer.d.ts +1 -1
  252. package/lib/operations/PostTransfersTransferReversalsId.d.ts +2 -2
  253. package/lib/operations/PostTreasuryFinancialAccountsFinancialAccount.d.ts +1 -1
  254. package/lib/operations/PostTreasuryFinancialAccountsFinancialAccountClose.d.ts +1 -1
  255. package/lib/operations/PostTreasuryFinancialAccountsFinancialAccountFeatures.d.ts +1 -1
  256. package/lib/operations/PostTreasuryInboundTransfersInboundTransferCancel.d.ts +1 -1
  257. package/lib/operations/PostTreasuryOutboundPaymentsIdCancel.d.ts +1 -1
  258. package/lib/operations/PostTreasuryOutboundTransfersOutboundTransferCancel.d.ts +1 -1
  259. package/lib/operations/PostV2CoreAccountsAccountIdPersonsId.d.ts +1 -1
  260. package/lib/operations/PostV2CoreAccountsId.d.ts +1 -1
  261. package/lib/operations/PostV2CoreAccountsIdClose.d.ts +1 -1
  262. package/lib/operations/PostV2CoreEventDestinationsId.d.ts +1 -1
  263. package/lib/operations/PostWebhookEndpointsWebhookEndpoint.d.ts +1 -1
  264. package/package.json +3 -3
  265. package/src/credentials.ts +2 -2
@@ -1,7 +1,7 @@
1
+ import { ConfigError } from "@distilled.cloud/core/errors";
1
2
  import * as Context from "effect/Context";
2
3
  import * as Layer from "effect/Layer";
3
4
  import * as Redacted from "effect/Redacted";
4
- import { ConfigError } from "@distilled.cloud/core/errors";
5
5
  export declare const DEFAULT_API_BASE_URL = "https://api.stripe.com";
6
6
  export interface Config {
7
7
  readonly apiKey: Redacted.Redacted<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAE1C,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAE7D,MAAM,WAAW,MAAM;IACrB,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC3C,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;;AAED,qBAAa,WAAY,SAAQ,gBAEhC;CAAG;AAMJ,eAAO,MAAM,kBAAkB,8CAc9B,CAAC"}
1
+ {"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAE1C,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAE5C,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAE7D,MAAM,WAAW,MAAM;IACrB,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC3C,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;;AAED,qBAAa,WAAY,SAAQ,gBAEhC;CAAG;AAMJ,eAAO,MAAM,kBAAkB,8CAc9B,CAAC"}
@@ -1,16 +1,16 @@
1
+ import { ConfigError } from "@distilled.cloud/core/errors";
1
2
  import * as EffectConfig from "effect/Config";
2
3
  import * as Context from "effect/Context";
3
4
  import * as Effect from "effect/Effect";
4
5
  import * as Layer from "effect/Layer";
5
6
  import * as Redacted from "effect/Redacted";
6
- import { ConfigError } from "@distilled.cloud/core/errors";
7
7
  export const DEFAULT_API_BASE_URL = "https://api.stripe.com";
8
8
  export class Credentials extends Context.Service()("StripeCredentials") {
9
9
  }
10
10
  const envConfig = EffectConfig.all({
11
11
  apiKey: EffectConfig.string("STRIPE_API_KEY"),
12
12
  });
13
- export const CredentialsFromEnv = Layer.effect(Credentials, envConfig.asEffect().pipe(Effect.mapError(() => new ConfigError({
13
+ export const CredentialsFromEnv = Layer.effect(Credentials, envConfig.pipe(Effect.mapError(() => new ConfigError({
14
14
  message: "STRIPE_API_KEY environment variable is required",
15
15
  })), Effect.map(({ apiKey }) => ({
16
16
  apiKey: Redacted.make(apiKey),
@@ -1 +1 @@
1
- {"version":3,"file":"credentials.js","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,MAAM,CAAC,MAAM,oBAAoB,GAAG,wBAAwB,CAAC;AAO7D,MAAM,OAAO,WAAY,SAAQ,OAAO,CAAC,OAAO,EAAuB,CACrE,mBAAmB,CACpB;CAAG;AAEJ,MAAM,SAAS,GAAG,YAAY,CAAC,GAAG,CAAC;IACjC,MAAM,EAAE,YAAY,CAAC,MAAM,CAAC,gBAAgB,CAAC;CAC9C,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG,KAAK,CAAC,MAAM,CAC5C,WAAW,EACX,SAAS,CAAC,QAAQ,EAAE,CAAC,IAAI,CACvB,MAAM,CAAC,QAAQ,CACb,GAAG,EAAE,CACH,IAAI,WAAW,CAAC;IACd,OAAO,EAAE,iDAAiD;CAC3D,CAAC,CACL,EACD,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1B,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC;IAC7B,UAAU,EAAE,oBAAoB;CACjC,CAAC,CAAC,CACJ,CACF,CAAC"}
1
+ {"version":3,"file":"credentials.js","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,KAAK,YAAY,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAE5C,MAAM,CAAC,MAAM,oBAAoB,GAAG,wBAAwB,CAAC;AAO7D,MAAM,OAAO,WAAY,SAAQ,OAAO,CAAC,OAAO,EAAuB,CACrE,mBAAmB,CACpB;CAAG;AAEJ,MAAM,SAAS,GAAG,YAAY,CAAC,GAAG,CAAC;IACjC,MAAM,EAAE,YAAY,CAAC,MAAM,CAAC,gBAAgB,CAAC;CAC9C,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG,KAAK,CAAC,MAAM,CAC5C,WAAW,EACX,SAAS,CAAC,IAAI,CACZ,MAAM,CAAC,QAAQ,CACb,GAAG,EAAE,CACH,IAAI,WAAW,CAAC;IACd,OAAO,EAAE,iDAAiD;CAC3D,CAAC,CACL,EACD,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1B,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC;IAC7B,UAAU,EAAE,oBAAoB;CACjC,CAAC,CAAC,CACJ,CACF,CAAC"}
@@ -14,7 +14,7 @@ export type DeleteCustomersCustomerSourcesIdOutput = typeof DeleteCustomersCusto
14
14
  */
15
15
  export declare const DeleteCustomersCustomerSourcesId: import("@distilled.cloud/core/client").OperationMethod<{
16
16
  readonly customer: string;
17
- readonly expand?: readonly string[] | undefined;
18
17
  readonly id: string;
18
+ readonly expand?: readonly string[] | undefined;
19
19
  }, unknown, never, import("../credentials.ts").Credentials>;
20
20
  //# sourceMappingURL=DeleteCustomersCustomerSourcesId.d.ts.map
@@ -19,8 +19,8 @@ export type DeleteEphemeralKeysKeyOutput = typeof DeleteEphemeralKeysKeyOutput.T
19
19
  * <p>Invalidates a short-lived API key for a given resource.</p>
20
20
  */
21
21
  export declare const DeleteEphemeralKeysKey: import("@distilled.cloud/core/client").OperationMethod<{
22
- readonly expand?: readonly string[] | undefined;
23
22
  readonly key: string;
23
+ readonly expand?: readonly string[] | undefined;
24
24
  }, {
25
25
  readonly created: number;
26
26
  readonly expires: number;
@@ -19,8 +19,8 @@ export type DeleteSubscriptionItemsItemOutput = typeof DeleteSubscriptionItemsIt
19
19
  * <p>Deletes an item from the subscription. Removing a subscription item from a subscription will not cancel the subscription.</p>
20
20
  */
21
21
  export declare const DeleteSubscriptionItemsItem: import("@distilled.cloud/core/client").OperationMethod<{
22
- readonly clear_usage?: boolean | undefined;
23
22
  readonly item: string;
23
+ readonly clear_usage?: boolean | undefined;
24
24
  readonly payment_behavior?: "allow_incomplete" | "default_incomplete" | "error_if_incomplete" | "pending_if_incomplete" | undefined;
25
25
  readonly proration_behavior?: "always_invoice" | "create_prorations" | "none" | undefined;
26
26
  readonly proration_date?: number | undefined;
@@ -207,6 +207,7 @@ export type DeleteSubscriptionsSubscriptionExposedIdOutput = typeof DeleteSubscr
207
207
  * <p>By default, upon subscription cancellation, Stripe stops automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all.</p>
208
208
  */
209
209
  export declare const DeleteSubscriptionsSubscriptionExposedId: import("@distilled.cloud/core/client").OperationMethod<{
210
+ readonly subscription_exposed_id: string;
210
211
  readonly cancellation_details?: {
211
212
  readonly comment?: unknown;
212
213
  readonly feedback?: "" | "customer_service" | "low_quality" | "missing_features" | "other" | "switched_service" | "too_complex" | "too_expensive" | "unused" | undefined;
@@ -214,7 +215,6 @@ export declare const DeleteSubscriptionsSubscriptionExposedId: import("@distille
214
215
  readonly expand?: readonly string[] | undefined;
215
216
  readonly invoice_now?: boolean | undefined;
216
217
  readonly prorate?: boolean | undefined;
217
- readonly subscription_exposed_id: string;
218
218
  }, {
219
219
  readonly application: unknown;
220
220
  readonly application_fee_percent: number | null;
@@ -17,7 +17,7 @@ export type GetAccountsAccountExternalAccountsIdOutput = typeof GetAccountsAccou
17
17
  */
18
18
  export declare const GetAccountsAccountExternalAccountsId: import("@distilled.cloud/core/client").OperationMethod<{
19
19
  readonly account: string;
20
- readonly expand?: string | undefined;
21
20
  readonly id: string;
21
+ readonly expand?: string | undefined;
22
22
  }, unknown, never, import("../credentials.ts").Credentials>;
23
23
  //# sourceMappingURL=GetAccountsAccountExternalAccountsId.d.ts.map
@@ -89,8 +89,8 @@ export type GetAccountsAccountPersonsPersonOutput = typeof GetAccountsAccountPer
89
89
  */
90
90
  export declare const GetAccountsAccountPersonsPerson: import("@distilled.cloud/core/client").OperationMethod<{
91
91
  readonly account: string;
92
- readonly expand?: string | undefined;
93
92
  readonly person: string;
93
+ readonly expand?: string | undefined;
94
94
  }, {
95
95
  readonly account?: string | undefined;
96
96
  readonly additional_tos_acceptances?: {
@@ -24,9 +24,9 @@ export type GetApplicationFeesFeeRefundsIdOutput = typeof GetApplicationFeesFeeR
24
24
  * @param expand - Specifies which fields in the response should be expanded.
25
25
  */
26
26
  export declare const GetApplicationFeesFeeRefundsId: import("@distilled.cloud/core/client").OperationMethod<{
27
- readonly expand?: string | undefined;
28
27
  readonly fee: string;
29
28
  readonly id: string;
29
+ readonly expand?: string | undefined;
30
30
  }, {
31
31
  readonly amount: number;
32
32
  readonly balance_transaction: unknown;
@@ -44,8 +44,8 @@ export type GetApplicationFeesIdOutput = typeof GetApplicationFeesIdOutput.Type;
44
44
  * @param expand - Specifies which fields in the response should be expanded.
45
45
  */
46
46
  export declare const GetApplicationFeesId: import("@distilled.cloud/core/client").OperationMethod<{
47
- readonly expand?: string | undefined;
48
47
  readonly id: string;
48
+ readonly expand?: string | undefined;
49
49
  }, {
50
50
  readonly account: unknown;
51
51
  readonly amount: number;
@@ -34,9 +34,9 @@ export type GetApplicationFeesIdRefundsOutput = typeof GetApplicationFeesIdRefun
34
34
  * @param starting_after - A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
35
35
  */
36
36
  export declare const GetApplicationFeesIdRefunds: import("@distilled.cloud/core/client").OperationMethod<{
37
+ readonly id: string;
37
38
  readonly ending_before?: string | undefined;
38
39
  readonly expand?: string | undefined;
39
- readonly id: string;
40
40
  readonly limit?: number | undefined;
41
41
  readonly starting_after?: string | undefined;
42
42
  }, {
@@ -38,8 +38,8 @@ export type GetBalanceTransactionsIdOutput = typeof GetBalanceTransactionsIdOutp
38
38
  * @param expand - Specifies which fields in the response should be expanded.
39
39
  */
40
40
  export declare const GetBalanceTransactionsId: import("@distilled.cloud/core/client").OperationMethod<{
41
- readonly expand?: string | undefined;
42
41
  readonly id: string;
42
+ readonly expand?: string | undefined;
43
43
  }, {
44
44
  readonly amount: number;
45
45
  readonly available_on: number;
@@ -22,8 +22,8 @@ export type GetBillingAlertsIdOutput = typeof GetBillingAlertsIdOutput.Type;
22
22
  * @param expand - Specifies which fields in the response should be expanded.
23
23
  */
24
24
  export declare const GetBillingAlertsId: import("@distilled.cloud/core/client").OperationMethod<{
25
- readonly expand?: string | undefined;
26
25
  readonly id: string;
26
+ readonly expand?: string | undefined;
27
27
  }, {
28
28
  readonly alert_type: "usage_threshold";
29
29
  readonly id: string;
@@ -26,8 +26,8 @@ export type GetBillingCreditBalanceTransactionsIdOutput = typeof GetBillingCredi
26
26
  * @param id - Unique identifier for the object.
27
27
  */
28
28
  export declare const GetBillingCreditBalanceTransactionsId: import("@distilled.cloud/core/client").OperationMethod<{
29
- readonly expand?: string | undefined;
30
29
  readonly id: string;
30
+ readonly expand?: string | undefined;
31
31
  }, {
32
32
  readonly created: number;
33
33
  readonly credit: unknown;
@@ -43,8 +43,8 @@ export type GetBillingCreditGrantsIdOutput = typeof GetBillingCreditGrantsIdOutp
43
43
  * @param id - Unique identifier for the object.
44
44
  */
45
45
  export declare const GetBillingCreditGrantsId: import("@distilled.cloud/core/client").OperationMethod<{
46
- readonly expand?: string | undefined;
47
46
  readonly id: string;
47
+ readonly expand?: string | undefined;
48
48
  }, {
49
49
  readonly amount: {
50
50
  readonly monetary: unknown;
@@ -37,8 +37,8 @@ export type GetBillingMetersIdOutput = typeof GetBillingMetersIdOutput.Type;
37
37
  * @param expand - Specifies which fields in the response should be expanded.
38
38
  */
39
39
  export declare const GetBillingMetersId: import("@distilled.cloud/core/client").OperationMethod<{
40
- readonly expand?: string | undefined;
41
40
  readonly id: string;
41
+ readonly expand?: string | undefined;
42
42
  }, {
43
43
  readonly created: number;
44
44
  readonly customer_mapping: {
@@ -42,11 +42,11 @@ export type GetBillingMetersIdEventSummariesOutput = typeof GetBillingMetersIdEv
42
42
  * @param value_grouping_window - Specifies what granularity to use when generating event summaries. If not specified, a single event summary would be returned for the specified time range. For hourly granularity, start and end times must align with hour boundaries (e.g., 00:00, 01:00, ..., 23:00). For daily granularity, start and end times must align with UTC day boundaries (00:00 UTC).
43
43
  */
44
44
  export declare const GetBillingMetersIdEventSummaries: import("@distilled.cloud/core/client").OperationMethod<{
45
+ readonly id: string;
45
46
  readonly customer: string;
46
47
  readonly end_time: number;
47
48
  readonly ending_before?: string | undefined;
48
49
  readonly expand?: string | undefined;
49
- readonly id: string;
50
50
  readonly limit?: number | undefined;
51
51
  readonly start_time: number;
52
52
  readonly starting_after?: string | undefined;
@@ -133,8 +133,8 @@ export type GetChargesChargeRefundsRefundOutput = typeof GetChargesChargeRefunds
133
133
  */
134
134
  export declare const GetChargesChargeRefundsRefund: import("@distilled.cloud/core/client").OperationMethod<{
135
135
  readonly charge: string;
136
- readonly expand?: string | undefined;
137
136
  readonly refund: string;
137
+ readonly expand?: string | undefined;
138
138
  }, {
139
139
  readonly amount: number;
140
140
  readonly balance_transaction: unknown;
@@ -219,8 +219,8 @@ export type GetCheckoutSessionsSessionOutput = typeof GetCheckoutSessionsSession
219
219
  * @param expand - Specifies which fields in the response should be expanded.
220
220
  */
221
221
  export declare const GetCheckoutSessionsSession: import("@distilled.cloud/core/client").OperationMethod<{
222
- readonly expand?: string | undefined;
223
222
  readonly session: string;
223
+ readonly expand?: string | undefined;
224
224
  }, {
225
225
  readonly adaptive_pricing: unknown;
226
226
  readonly after_expiration: unknown;
@@ -84,10 +84,10 @@ export type GetCheckoutSessionsSessionLineItemsOutput = typeof GetCheckoutSessio
84
84
  * @param starting_after - A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
85
85
  */
86
86
  export declare const GetCheckoutSessionsSessionLineItems: import("@distilled.cloud/core/client").OperationMethod<{
87
+ readonly session: string;
87
88
  readonly ending_before?: string | undefined;
88
89
  readonly expand?: string | undefined;
89
90
  readonly limit?: number | undefined;
90
- readonly session: string;
91
91
  readonly starting_after?: string | undefined;
92
92
  }, {
93
93
  readonly data: readonly {
@@ -60,8 +60,8 @@ export type GetClimateOrdersOrderOutput = typeof GetClimateOrdersOrderOutput.Typ
60
60
  * @param order - Unique identifier of the order.
61
61
  */
62
62
  export declare const GetClimateOrdersOrder: import("@distilled.cloud/core/client").OperationMethod<{
63
- readonly expand?: string | undefined;
64
63
  readonly order: string;
64
+ readonly expand?: string | undefined;
65
65
  }, {
66
66
  readonly amount_fees: number;
67
67
  readonly amount_subtotal: number;
@@ -42,8 +42,8 @@ export type GetClimateProductsProductOutput = typeof GetClimateProductsProductOu
42
42
  * @param expand - Specifies which fields in the response should be expanded.
43
43
  */
44
44
  export declare const GetClimateProductsProduct: import("@distilled.cloud/core/client").OperationMethod<{
45
- readonly expand?: string | undefined;
46
45
  readonly product: string;
46
+ readonly expand?: string | undefined;
47
47
  }, {
48
48
  readonly created: number;
49
49
  readonly current_prices_per_metric_ton: {
@@ -28,8 +28,8 @@ export type GetClimateSuppliersSupplierOutput = typeof GetClimateSuppliersSuppli
28
28
  * @param expand - Specifies which fields in the response should be expanded.
29
29
  */
30
30
  export declare const GetClimateSuppliersSupplier: import("@distilled.cloud/core/client").OperationMethod<{
31
- readonly expand?: string | undefined;
32
31
  readonly supplier: string;
32
+ readonly expand?: string | undefined;
33
33
  }, {
34
34
  readonly id: string;
35
35
  readonly info_url: string;
@@ -125,8 +125,8 @@ export type GetCreditNotesIdOutput = typeof GetCreditNotesIdOutput.Type;
125
125
  * @param expand - Specifies which fields in the response should be expanded.
126
126
  */
127
127
  export declare const GetCreditNotesId: import("@distilled.cloud/core/client").OperationMethod<{
128
- readonly expand?: string | undefined;
129
128
  readonly id: string;
129
+ readonly expand?: string | undefined;
130
130
  }, {
131
131
  readonly amount: number;
132
132
  readonly amount_shipping: number;
@@ -45,8 +45,8 @@ export type GetCustomersCustomerBalanceTransactionsOutput = typeof GetCustomersC
45
45
  * @param starting_after - A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
46
46
  */
47
47
  export declare const GetCustomersCustomerBalanceTransactions: import("@distilled.cloud/core/client").OperationMethod<{
48
- readonly created?: string | undefined;
49
48
  readonly customer: string;
49
+ readonly created?: string | undefined;
50
50
  readonly ending_before?: string | undefined;
51
51
  readonly expand?: string | undefined;
52
52
  readonly invoice?: string | undefined;
@@ -32,8 +32,8 @@ export type GetCustomersCustomerBalanceTransactionsTransactionOutput = typeof Ge
32
32
  */
33
33
  export declare const GetCustomersCustomerBalanceTransactionsTransaction: import("@distilled.cloud/core/client").OperationMethod<{
34
34
  readonly customer: string;
35
- readonly expand?: string | undefined;
36
35
  readonly transaction: string;
36
+ readonly expand?: string | undefined;
37
37
  }, {
38
38
  readonly amount: number;
39
39
  readonly checkout_session: unknown;
@@ -68,8 +68,8 @@ export type GetCustomersCustomerCashBalanceTransactionsTransactionOutput = typeo
68
68
  */
69
69
  export declare const GetCustomersCustomerCashBalanceTransactionsTransaction: import("@distilled.cloud/core/client").OperationMethod<{
70
70
  readonly customer: string;
71
- readonly expand?: string | undefined;
72
71
  readonly transaction: string;
72
+ readonly expand?: string | undefined;
73
73
  }, {
74
74
  readonly adjusted_for_overdraft?: {
75
75
  readonly balance_transaction: unknown;
@@ -236,8 +236,8 @@ export type GetCustomersCustomerPaymentMethodsOutput = typeof GetCustomersCustom
236
236
  * @param type - An optional filter on the list, based on the object `type` field. Without the filter, the list includes all current and future payment method types. If your integration expects only one type of payment method in the response, make sure to provide a type value in the request.
237
237
  */
238
238
  export declare const GetCustomersCustomerPaymentMethods: import("@distilled.cloud/core/client").OperationMethod<{
239
- readonly allow_redisplay?: "always" | "limited" | "unspecified" | undefined;
240
239
  readonly customer: string;
240
+ readonly allow_redisplay?: "always" | "limited" | "unspecified" | undefined;
241
241
  readonly ending_before?: string | undefined;
242
242
  readonly expand?: string | undefined;
243
243
  readonly limit?: number | undefined;
@@ -223,8 +223,8 @@ export type GetCustomersCustomerPaymentMethodsPaymentMethodOutput = typeof GetCu
223
223
  */
224
224
  export declare const GetCustomersCustomerPaymentMethodsPaymentMethod: import("@distilled.cloud/core/client").OperationMethod<{
225
225
  readonly customer: string;
226
- readonly expand?: string | undefined;
227
226
  readonly payment_method: string;
227
+ readonly expand?: string | undefined;
228
228
  }, {
229
229
  readonly acss_debit?: {
230
230
  readonly bank_name: string | null;
@@ -14,7 +14,7 @@ export type GetCustomersCustomerSourcesIdOutput = typeof GetCustomersCustomerSou
14
14
  */
15
15
  export declare const GetCustomersCustomerSourcesId: import("@distilled.cloud/core/client").OperationMethod<{
16
16
  readonly customer: string;
17
- readonly expand?: string | undefined;
18
17
  readonly id: string;
18
+ readonly expand?: string | undefined;
19
19
  }, unknown, never, import("../credentials.ts").Credentials>;
20
20
  //# sourceMappingURL=GetCustomersCustomerSourcesId.d.ts.map
@@ -28,8 +28,8 @@ export type GetCustomersCustomerTaxIdsIdOutput = typeof GetCustomersCustomerTaxI
28
28
  */
29
29
  export declare const GetCustomersCustomerTaxIdsId: import("@distilled.cloud/core/client").OperationMethod<{
30
30
  readonly customer: string;
31
- readonly expand?: string | undefined;
32
31
  readonly id: string;
32
+ readonly expand?: string | undefined;
33
33
  }, {
34
34
  readonly country: string | null;
35
35
  readonly created: number;
@@ -21,8 +21,8 @@ export type GetEntitlementsActiveEntitlementsIdOutput = typeof GetEntitlementsAc
21
21
  * @param id - The ID of the entitlement.
22
22
  */
23
23
  export declare const GetEntitlementsActiveEntitlementsId: import("@distilled.cloud/core/client").OperationMethod<{
24
- readonly expand?: string | undefined;
25
24
  readonly id: string;
25
+ readonly expand?: string | undefined;
26
26
  }, {
27
27
  readonly feature: unknown;
28
28
  readonly id: string;
@@ -23,8 +23,8 @@ export type GetEntitlementsFeaturesIdOutput = typeof GetEntitlementsFeaturesIdOu
23
23
  * @param id - The ID of the feature.
24
24
  */
25
25
  export declare const GetEntitlementsFeaturesId: import("@distilled.cloud/core/client").OperationMethod<{
26
- readonly expand?: string | undefined;
27
26
  readonly id: string;
27
+ readonly expand?: string | undefined;
28
28
  }, {
29
29
  readonly active: boolean;
30
30
  readonly id: string;
@@ -29,8 +29,8 @@ export type GetEventsIdOutput = typeof GetEventsIdOutput.Type;
29
29
  * @param expand - Specifies which fields in the response should be expanded.
30
30
  */
31
31
  export declare const GetEventsId: import("@distilled.cloud/core/client").OperationMethod<{
32
- readonly expand?: string | undefined;
33
32
  readonly id: string;
33
+ readonly expand?: string | undefined;
34
34
  }, {
35
35
  readonly account?: string | undefined;
36
36
  readonly api_version: string | null;
@@ -19,8 +19,8 @@ export type GetExchangeRatesRateIdOutput = typeof GetExchangeRatesRateIdOutput.T
19
19
  * @param expand - Specifies which fields in the response should be expanded.
20
20
  */
21
21
  export declare const GetExchangeRatesRateId: import("@distilled.cloud/core/client").OperationMethod<{
22
- readonly expand?: string | undefined;
23
22
  readonly rate_id: string;
23
+ readonly expand?: string | undefined;
24
24
  }, {
25
25
  readonly id: string;
26
26
  readonly object: "exchange_rate";
@@ -24,8 +24,8 @@ export type GetFileLinksLinkOutput = typeof GetFileLinksLinkOutput.Type;
24
24
  * @param expand - Specifies which fields in the response should be expanded.
25
25
  */
26
26
  export declare const GetFileLinksLink: import("@distilled.cloud/core/client").OperationMethod<{
27
- readonly expand?: string | undefined;
28
27
  readonly link: string;
28
+ readonly expand?: string | undefined;
29
29
  }, {
30
30
  readonly created: number;
31
31
  readonly expired: boolean;
@@ -41,8 +41,8 @@ export type GetFilesFileOutput = typeof GetFilesFileOutput.Type;
41
41
  * @param expand - Specifies which fields in the response should be expanded.
42
42
  */
43
43
  export declare const GetFilesFile: import("@distilled.cloud/core/client").OperationMethod<{
44
- readonly expand?: string | undefined;
45
44
  readonly file: string;
45
+ readonly expand?: string | undefined;
46
46
  }, {
47
47
  readonly created: number;
48
48
  readonly expires_at: number | null;
@@ -59,8 +59,8 @@ export type GetFinancialConnectionsSessionsSessionOutput = typeof GetFinancialCo
59
59
  * @param expand - Specifies which fields in the response should be expanded.
60
60
  */
61
61
  export declare const GetFinancialConnectionsSessionsSession: import("@distilled.cloud/core/client").OperationMethod<{
62
- readonly expand?: string | undefined;
63
62
  readonly session: string;
63
+ readonly expand?: string | undefined;
64
64
  }, {
65
65
  readonly account_holder: unknown;
66
66
  readonly accounts: {
@@ -30,8 +30,8 @@ export type GetFinancialConnectionsTransactionsTransactionOutput = typeof GetFin
30
30
  * @param expand - Specifies which fields in the response should be expanded.
31
31
  */
32
32
  export declare const GetFinancialConnectionsTransactionsTransaction: import("@distilled.cloud/core/client").OperationMethod<{
33
- readonly expand?: string | undefined;
34
33
  readonly transaction: string;
34
+ readonly expand?: string | undefined;
35
35
  }, {
36
36
  readonly account: string;
37
37
  readonly amount: number;
@@ -26,8 +26,8 @@ export type GetForwardingRequestsIdOutput = typeof GetForwardingRequestsIdOutput
26
26
  * @param expand - Specifies which fields in the response should be expanded.
27
27
  */
28
28
  export declare const GetForwardingRequestsId: import("@distilled.cloud/core/client").OperationMethod<{
29
- readonly expand?: string | undefined;
30
29
  readonly id: string;
30
+ readonly expand?: string | undefined;
31
31
  }, {
32
32
  readonly created: number;
33
33
  readonly id: string;
@@ -74,8 +74,8 @@ export type GetIdentityVerificationReportsReportOutput = typeof GetIdentityVerif
74
74
  * @param expand - Specifies which fields in the response should be expanded.
75
75
  */
76
76
  export declare const GetIdentityVerificationReportsReport: import("@distilled.cloud/core/client").OperationMethod<{
77
- readonly expand?: string | undefined;
78
77
  readonly report: string;
78
+ readonly expand?: string | undefined;
79
79
  }, {
80
80
  readonly client_reference_id: string | null;
81
81
  readonly created: number;
@@ -40,8 +40,8 @@ export type GetIdentityVerificationSessionsSessionOutput = typeof GetIdentityVer
40
40
  * @param expand - Specifies which fields in the response should be expanded.
41
41
  */
42
42
  export declare const GetIdentityVerificationSessionsSession: import("@distilled.cloud/core/client").OperationMethod<{
43
- readonly expand?: string | undefined;
44
43
  readonly session: string;
44
+ readonly expand?: string | undefined;
45
45
  }, {
46
46
  readonly client_reference_id: string | null;
47
47
  readonly client_secret: string | import("effect/Redacted").Redacted<string> | null;
@@ -35,8 +35,8 @@ export type GetInvoicePaymentsInvoicePaymentOutput = typeof GetInvoicePaymentsIn
35
35
  * @param expand - Specifies which fields in the response should be expanded.
36
36
  */
37
37
  export declare const GetInvoicePaymentsInvoicePayment: import("@distilled.cloud/core/client").OperationMethod<{
38
- readonly expand?: string | undefined;
39
38
  readonly invoice_payment: string;
39
+ readonly expand?: string | undefined;
40
40
  }, {
41
41
  readonly amount_paid: number | null;
42
42
  readonly amount_requested: number;
@@ -24,8 +24,8 @@ export type GetInvoiceRenderingTemplatesTemplateOutput = typeof GetInvoiceRender
24
24
  * @param expand - Specifies which fields in the response should be expanded.
25
25
  */
26
26
  export declare const GetInvoiceRenderingTemplatesTemplate: import("@distilled.cloud/core/client").OperationMethod<{
27
- readonly expand?: string | undefined;
28
27
  readonly template: string;
28
+ readonly expand?: string | undefined;
29
29
  readonly version?: number | undefined;
30
30
  }, {
31
31
  readonly created: number;
@@ -65,8 +65,8 @@ export type GetInvoiceitemsInvoiceitemOutput = typeof GetInvoiceitemsInvoiceitem
65
65
  * @param expand - Specifies which fields in the response should be expanded.
66
66
  */
67
67
  export declare const GetInvoiceitemsInvoiceitem: import("@distilled.cloud/core/client").OperationMethod<{
68
- readonly expand?: string | undefined;
69
68
  readonly invoiceitem: string;
69
+ readonly expand?: string | undefined;
70
70
  }, {
71
71
  readonly amount: number;
72
72
  readonly currency: string;
@@ -227,8 +227,8 @@ export type GetInvoicesInvoiceOutput = typeof GetInvoicesInvoiceOutput.Type;
227
227
  * @param expand - Specifies which fields in the response should be expanded.
228
228
  */
229
229
  export declare const GetInvoicesInvoice: import("@distilled.cloud/core/client").OperationMethod<{
230
- readonly expand?: string | undefined;
231
230
  readonly invoice: string;
231
+ readonly expand?: string | undefined;
232
232
  }, {
233
233
  readonly account_country: string | null;
234
234
  readonly account_name: string | null;
@@ -64,9 +64,9 @@ export type GetInvoicesInvoiceLinesOutput = typeof GetInvoicesInvoiceLinesOutput
64
64
  * @param starting_after - A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
65
65
  */
66
66
  export declare const GetInvoicesInvoiceLines: import("@distilled.cloud/core/client").OperationMethod<{
67
+ readonly invoice: string;
67
68
  readonly ending_before?: string | undefined;
68
69
  readonly expand?: string | undefined;
69
- readonly invoice: string;
70
70
  readonly limit?: number | undefined;
71
71
  readonly starting_after?: string | undefined;
72
72
  }, {
@@ -34,8 +34,8 @@ export type GetIssuingPersonalizationDesignsPersonalizationDesignOutput = typeof
34
34
  * @param expand - Specifies which fields in the response should be expanded.
35
35
  */
36
36
  export declare const GetIssuingPersonalizationDesignsPersonalizationDesign: import("@distilled.cloud/core/client").OperationMethod<{
37
- readonly expand?: string | undefined;
38
37
  readonly personalization_design: string;
38
+ readonly expand?: string | undefined;
39
39
  }, {
40
40
  readonly card_logo: unknown;
41
41
  readonly carrier_text: unknown;
@@ -26,8 +26,8 @@ export type GetIssuingPhysicalBundlesPhysicalBundleOutput = typeof GetIssuingPhy
26
26
  * @param expand - Specifies which fields in the response should be expanded.
27
27
  */
28
28
  export declare const GetIssuingPhysicalBundlesPhysicalBundle: import("@distilled.cloud/core/client").OperationMethod<{
29
- readonly expand?: string | undefined;
30
29
  readonly physical_bundle: string;
30
+ readonly expand?: string | undefined;
31
31
  }, {
32
32
  readonly features: {
33
33
  readonly card_logo: "optional" | "required" | "unsupported";
@@ -64,8 +64,8 @@ export type GetIssuingTokensTokenOutput = typeof GetIssuingTokensTokenOutput.Typ
64
64
  * @param expand - Specifies which fields in the response should be expanded.
65
65
  */
66
66
  export declare const GetIssuingTokensToken: import("@distilled.cloud/core/client").OperationMethod<{
67
- readonly expand?: string | undefined;
68
67
  readonly token: string;
68
+ readonly expand?: string | undefined;
69
69
  }, {
70
70
  readonly card: unknown;
71
71
  readonly created: number;
@@ -49,8 +49,8 @@ export type GetIssuingTransactionsTransactionOutput = typeof GetIssuingTransacti
49
49
  * @param expand - Specifies which fields in the response should be expanded.
50
50
  */
51
51
  export declare const GetIssuingTransactionsTransaction: import("@distilled.cloud/core/client").OperationMethod<{
52
- readonly expand?: string | undefined;
53
52
  readonly transaction: string;
53
+ readonly expand?: string | undefined;
54
54
  }, {
55
55
  readonly amount: number;
56
56
  readonly amount_details: unknown;
@@ -92,8 +92,8 @@ export type GetMandatesMandateOutput = typeof GetMandatesMandateOutput.Type;
92
92
  * @param expand - Specifies which fields in the response should be expanded.
93
93
  */
94
94
  export declare const GetMandatesMandate: import("@distilled.cloud/core/client").OperationMethod<{
95
- readonly expand?: string | undefined;
96
95
  readonly mandate: string;
96
+ readonly expand?: string | undefined;
97
97
  }, {
98
98
  readonly customer_acceptance: {
99
99
  readonly accepted_at: number | null;