@distilled.cloud/stripe 0.19.2 → 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
@@ -69,8 +69,8 @@ export type PostTestHelpersTreasuryOutboundTransfersOutboundTransferReturnOutput
69
69
  * <p>Transitions a test mode created OutboundTransfer to the <code>returned</code> status. The OutboundTransfer must already be in the <code>processing</code> state.</p>
70
70
  */
71
71
  export declare const PostTestHelpersTreasuryOutboundTransfersOutboundTransferReturn: import("@distilled.cloud/core/client").OperationMethod<{
72
- readonly expand?: readonly string[] | undefined;
73
72
  readonly outbound_transfer: string;
73
+ readonly expand?: readonly string[] | undefined;
74
74
  readonly returned_details?: {
75
75
  readonly code?: "account_closed" | "account_frozen" | "bank_account_restricted" | "bank_ownership_changed" | "declined" | "incorrect_account_holder_name" | "invalid_account_number" | "invalid_currency" | "no_account" | "other" | undefined;
76
76
  } | undefined;
@@ -31,10 +31,10 @@ export type PostTopupsTopupOutput = typeof PostTopupsTopupOutput.Type;
31
31
  * <p>Updates the metadata of a top-up. Other top-up details are not editable by design.</p>
32
32
  */
33
33
  export declare const PostTopupsTopup: import("@distilled.cloud/core/client").OperationMethod<{
34
+ readonly topup: string;
34
35
  readonly description?: string | undefined;
35
36
  readonly expand?: readonly string[] | undefined;
36
37
  readonly metadata?: unknown;
37
- readonly topup: string;
38
38
  }, {
39
39
  readonly amount: number;
40
40
  readonly balance_transaction: unknown;
@@ -29,8 +29,8 @@ export type PostTopupsTopupCancelOutput = typeof PostTopupsTopupCancelOutput.Typ
29
29
  * <p>Cancels a top-up. Only pending top-ups can be canceled.</p>
30
30
  */
31
31
  export declare const PostTopupsTopupCancel: import("@distilled.cloud/core/client").OperationMethod<{
32
- readonly expand?: readonly string[] | undefined;
33
32
  readonly topup: string;
33
+ readonly expand?: readonly string[] | undefined;
34
34
  }, {
35
35
  readonly amount: number;
36
36
  readonly balance_transaction: unknown;
@@ -29,10 +29,10 @@ export type PostTransfersIdReversalsOutput = typeof PostTransfersIdReversalsOutp
29
29
  * <p>Once entirely reversed, a transfer can’t be reversed again. This method will return an error when called on an already-reversed transfer, or when trying to reverse more money than is left on a transfer.</p>
30
30
  */
31
31
  export declare const PostTransfersIdReversals: import("@distilled.cloud/core/client").OperationMethod<{
32
+ readonly id: string;
32
33
  readonly amount?: number | undefined;
33
34
  readonly description?: string | undefined;
34
35
  readonly expand?: readonly string[] | undefined;
35
- readonly id: string;
36
36
  readonly metadata?: unknown;
37
37
  readonly refund_application_fee?: boolean | undefined;
38
38
  }, {
@@ -49,10 +49,10 @@ export type PostTransfersTransferOutput = typeof PostTransfersTransferOutput.Typ
49
49
  * <p>This request accepts only metadata as an argument.</p>
50
50
  */
51
51
  export declare const PostTransfersTransfer: import("@distilled.cloud/core/client").OperationMethod<{
52
+ readonly transfer: string;
52
53
  readonly description?: string | undefined;
53
54
  readonly expand?: readonly string[] | undefined;
54
55
  readonly metadata?: unknown;
55
- readonly transfer: string;
56
56
  }, {
57
57
  readonly amount: number;
58
58
  readonly amount_reversed: number;
@@ -26,10 +26,10 @@ export type PostTransfersTransferReversalsIdOutput = typeof PostTransfersTransfe
26
26
  * <p>This request only accepts metadata and description as arguments.</p>
27
27
  */
28
28
  export declare const PostTransfersTransferReversalsId: import("@distilled.cloud/core/client").OperationMethod<{
29
- readonly expand?: readonly string[] | undefined;
30
29
  readonly id: string;
31
- readonly metadata?: unknown;
32
30
  readonly transfer: string;
31
+ readonly expand?: readonly string[] | undefined;
32
+ readonly metadata?: unknown;
33
33
  }, {
34
34
  readonly amount: number;
35
35
  readonly balance_transaction: unknown;
@@ -186,6 +186,7 @@ export type PostTreasuryFinancialAccountsFinancialAccountOutput = typeof PostTre
186
186
  * <p>Updates the details of a FinancialAccount.</p>
187
187
  */
188
188
  export declare const PostTreasuryFinancialAccountsFinancialAccount: import("@distilled.cloud/core/client").OperationMethod<{
189
+ readonly financial_account: string;
189
190
  readonly expand?: readonly string[] | undefined;
190
191
  readonly features?: {
191
192
  readonly card_issuing?: {
@@ -224,7 +225,6 @@ export declare const PostTreasuryFinancialAccountsFinancialAccount: import("@dis
224
225
  } | undefined;
225
226
  } | undefined;
226
227
  } | undefined;
227
- readonly financial_account: string;
228
228
  readonly forwarding_settings?: {
229
229
  readonly financial_account?: string | undefined;
230
230
  readonly payment_method?: string | undefined;
@@ -143,8 +143,8 @@ export type PostTreasuryFinancialAccountsFinancialAccountCloseOutput = typeof Po
143
143
  * <p>Closes a FinancialAccount. A FinancialAccount can only be closed if it has a zero balance, has no pending InboundTransfers, and has canceled all attached Issuing cards.</p>
144
144
  */
145
145
  export declare const PostTreasuryFinancialAccountsFinancialAccountClose: import("@distilled.cloud/core/client").OperationMethod<{
146
- readonly expand?: readonly string[] | undefined;
147
146
  readonly financial_account: string;
147
+ readonly expand?: readonly string[] | undefined;
148
148
  readonly forwarding_settings?: {
149
149
  readonly financial_account?: string | undefined;
150
150
  readonly payment_method?: string | undefined;
@@ -138,6 +138,7 @@ export type PostTreasuryFinancialAccountsFinancialAccountFeaturesOutput = typeof
138
138
  * <p>Updates the Features associated with a FinancialAccount.</p>
139
139
  */
140
140
  export declare const PostTreasuryFinancialAccountsFinancialAccountFeatures: import("@distilled.cloud/core/client").OperationMethod<{
141
+ readonly financial_account: string;
141
142
  readonly card_issuing?: {
142
143
  readonly requested: boolean;
143
144
  } | undefined;
@@ -145,7 +146,6 @@ export declare const PostTreasuryFinancialAccountsFinancialAccountFeatures: impo
145
146
  readonly requested: boolean;
146
147
  } | undefined;
147
148
  readonly expand?: readonly string[] | undefined;
148
- readonly financial_account: string;
149
149
  readonly financial_addresses?: {
150
150
  readonly aba?: {
151
151
  readonly requested: boolean;
@@ -39,8 +39,8 @@ export type PostTreasuryInboundTransfersInboundTransferCancelOutput = typeof Pos
39
39
  * <p>Cancels an InboundTransfer.</p>
40
40
  */
41
41
  export declare const PostTreasuryInboundTransfersInboundTransferCancel: import("@distilled.cloud/core/client").OperationMethod<{
42
- readonly expand?: readonly string[] | undefined;
43
42
  readonly inbound_transfer: string;
43
+ readonly expand?: readonly string[] | undefined;
44
44
  }, {
45
45
  readonly amount: number;
46
46
  readonly cancelable: boolean;
@@ -40,8 +40,8 @@ export type PostTreasuryOutboundPaymentsIdCancelOutput = typeof PostTreasuryOutb
40
40
  * <p>Cancel an OutboundPayment.</p>
41
41
  */
42
42
  export declare const PostTreasuryOutboundPaymentsIdCancel: import("@distilled.cloud/core/client").OperationMethod<{
43
- readonly expand?: readonly string[] | undefined;
44
43
  readonly id: string;
44
+ readonly expand?: readonly string[] | undefined;
45
45
  }, {
46
46
  readonly amount: number;
47
47
  readonly cancelable: boolean;
@@ -66,8 +66,8 @@ export type PostTreasuryOutboundTransfersOutboundTransferCancelOutput = typeof P
66
66
  * <p>An OutboundTransfer can be canceled if the funds have not yet been paid out.</p>
67
67
  */
68
68
  export declare const PostTreasuryOutboundTransfersOutboundTransferCancel: import("@distilled.cloud/core/client").OperationMethod<{
69
- readonly expand?: readonly string[] | undefined;
70
69
  readonly outbound_transfer: string;
70
+ readonly expand?: readonly string[] | undefined;
71
71
  }, {
72
72
  readonly amount: number;
73
73
  readonly cancelable: boolean;
@@ -257,6 +257,7 @@ export type PostV2CoreAccountsAccountIdPersonsIdOutput = typeof PostV2CoreAccoun
257
257
  */
258
258
  export declare const PostV2CoreAccountsAccountIdPersonsId: import("@distilled.cloud/core/client").OperationMethod<{
259
259
  readonly account_id: string;
260
+ readonly id: string;
260
261
  readonly additional_addresses?: readonly {
261
262
  readonly city?: string | undefined;
262
263
  readonly country?: string | undefined;
@@ -324,7 +325,6 @@ export declare const PostV2CoreAccountsAccountIdPersonsId: import("@distilled.cl
324
325
  } | undefined;
325
326
  readonly email?: string | undefined;
326
327
  readonly given_name?: string | undefined;
327
- readonly id: string;
328
328
  readonly id_numbers?: readonly {
329
329
  readonly type: "ae_eid" | "ao_nif" | "ar_cuil" | "ar_dni" | "at_stn" | "az_tin" | "bd_brc" | "bd_etin" | "bd_nid" | "be_nrn" | "bg_ucn" | "bn_nric" | "br_cpf" | "ca_sin" | "ch_oasi" | "cl_rut" | "cn_pp" | "co_nuip" | "cr_ci" | "cr_cpf" | "cr_dimex" | "cr_nite" | "cy_tic" | "cz_rc" | "de_stn" | "dk_cpr" | "do_cie" | "do_rcn" | "ec_ci" | "ee_ik" | "es_nif" | "fi_hetu" | "fr_nir" | "gb_nino" | "gr_afm" | "gt_nit" | "hk_id" | "hr_oib" | "hu_ad" | "id_nik" | "ie_ppsn" | "is_kt" | "it_cf" | "jp_inc" | "ke_pin" | "kz_iin" | "li_peid" | "lt_ak" | "lu_nif" | "lv_pk" | "mx_rfc" | "my_nric" | "mz_nuit" | "ng_nin" | "nl_bsn" | "no_nin" | "nz_ird" | "pe_dni" | "pk_cnic" | "pk_snic" | "pl_pesel" | "pt_nif" | "ro_cnp" | "sa_tin" | "se_pin" | "sg_fin" | "sg_nric" | "sk_dic" | "th_lc" | "th_pin" | "tr_tin" | "us_itin" | "us_itin_last_4" | "us_ssn" | "us_ssn_last_4" | "uy_dni" | "za_id";
330
330
  readonly value: string;
@@ -1361,6 +1361,7 @@ export type PostV2CoreAccountsIdOutput = typeof PostV2CoreAccountsIdOutput.Type;
1361
1361
  * @param id - The ID of the Account to update.
1362
1362
  */
1363
1363
  export declare const PostV2CoreAccountsId: import("@distilled.cloud/core/client").OperationMethod<{
1364
+ readonly id: string;
1364
1365
  readonly account_token?: string | undefined;
1365
1366
  readonly configuration?: {
1366
1367
  readonly customer?: {
@@ -1624,7 +1625,6 @@ export declare const PostV2CoreAccountsId: import("@distilled.cloud/core/client"
1624
1625
  } | undefined;
1625
1626
  } | undefined;
1626
1627
  readonly display_name?: string | undefined;
1627
- readonly id: string;
1628
1628
  readonly identity?: {
1629
1629
  readonly attestations?: {
1630
1630
  readonly directorship_declaration?: {
@@ -833,8 +833,8 @@ export type PostV2CoreAccountsIdCloseOutput = typeof PostV2CoreAccountsIdCloseOu
833
833
  * @param id - The ID of the Account to close.
834
834
  */
835
835
  export declare const PostV2CoreAccountsIdClose: import("@distilled.cloud/core/client").OperationMethod<{
836
- readonly applied_configurations?: readonly ("customer" | "merchant" | "recipient")[] | undefined;
837
836
  readonly id: string;
837
+ readonly applied_configurations?: readonly ("customer" | "merchant" | "recipient")[] | undefined;
838
838
  }, {
839
839
  readonly applied_configurations: readonly ("customer" | "merchant" | "recipient")[];
840
840
  readonly closed?: boolean | undefined;
@@ -50,9 +50,9 @@ export type PostV2CoreEventDestinationsIdOutput = typeof PostV2CoreEventDestinat
50
50
  * @param id - Identifier for the event destination to update.
51
51
  */
52
52
  export declare const PostV2CoreEventDestinationsId: import("@distilled.cloud/core/client").OperationMethod<{
53
+ readonly id: string;
53
54
  readonly description?: string | undefined;
54
55
  readonly enabled_events?: readonly string[] | undefined;
55
- readonly id: string;
56
56
  readonly include?: readonly "webhook_endpoint.url"[] | undefined;
57
57
  readonly metadata?: {
58
58
  readonly [x: string]: string | null;
@@ -30,13 +30,13 @@ export type PostWebhookEndpointsWebhookEndpointOutput = typeof PostWebhookEndpoi
30
30
  * <p>Updates the webhook endpoint. You may edit the <code>url</code>, the list of <code>enabled_events</code>, and the status of your endpoint.</p>
31
31
  */
32
32
  export declare const PostWebhookEndpointsWebhookEndpoint: import("@distilled.cloud/core/client").OperationMethod<{
33
+ readonly webhook_endpoint: string;
33
34
  readonly description?: unknown;
34
35
  readonly disabled?: boolean | undefined;
35
36
  readonly enabled_events?: readonly ("*" | "account.application.authorized" | "account.application.deauthorized" | "account.external_account.created" | "account.external_account.deleted" | "account.external_account.updated" | "account.updated" | "application_fee.created" | "application_fee.refund.updated" | "application_fee.refunded" | "balance.available" | "balance_settings.updated" | "billing.alert.triggered" | "billing.credit_grant.created" | "billing_portal.configuration.created" | "billing_portal.configuration.updated" | "billing_portal.session.created" | "capability.updated" | "cash_balance.funds_available" | "charge.captured" | "charge.dispute.closed" | "charge.dispute.created" | "charge.dispute.funds_reinstated" | "charge.dispute.funds_withdrawn" | "charge.dispute.updated" | "charge.expired" | "charge.failed" | "charge.pending" | "charge.refund.updated" | "charge.refunded" | "charge.succeeded" | "charge.updated" | "checkout.session.async_payment_failed" | "checkout.session.async_payment_succeeded" | "checkout.session.completed" | "checkout.session.expired" | "climate.order.canceled" | "climate.order.created" | "climate.order.delayed" | "climate.order.delivered" | "climate.order.product_substituted" | "climate.product.created" | "climate.product.pricing_updated" | "coupon.created" | "coupon.deleted" | "coupon.updated" | "credit_note.created" | "credit_note.updated" | "credit_note.voided" | "customer.created" | "customer.deleted" | "customer.discount.created" | "customer.discount.deleted" | "customer.discount.updated" | "customer.source.created" | "customer.source.deleted" | "customer.source.expiring" | "customer.source.updated" | "customer.subscription.created" | "customer.subscription.deleted" | "customer.subscription.paused" | "customer.subscription.pending_update_applied" | "customer.subscription.pending_update_expired" | "customer.subscription.resumed" | "customer.subscription.trial_will_end" | "customer.subscription.updated" | "customer.tax_id.created" | "customer.tax_id.deleted" | "customer.tax_id.updated" | "customer.updated" | "customer_cash_balance_transaction.created" | "entitlements.active_entitlement_summary.updated" | "file.created" | "financial_connections.account.account_numbers_updated" | "financial_connections.account.created" | "financial_connections.account.deactivated" | "financial_connections.account.disconnected" | "financial_connections.account.reactivated" | "financial_connections.account.refreshed_balance" | "financial_connections.account.refreshed_ownership" | "financial_connections.account.refreshed_transactions" | "financial_connections.account.upcoming_account_number_expiry" | "identity.verification_session.canceled" | "identity.verification_session.created" | "identity.verification_session.processing" | "identity.verification_session.redacted" | "identity.verification_session.requires_input" | "identity.verification_session.verified" | "invoice.created" | "invoice.deleted" | "invoice.finalization_failed" | "invoice.finalized" | "invoice.marked_uncollectible" | "invoice.overdue" | "invoice.overpaid" | "invoice.paid" | "invoice.payment_action_required" | "invoice.payment_attempt_required" | "invoice.payment_failed" | "invoice.payment_succeeded" | "invoice.sent" | "invoice.upcoming" | "invoice.updated" | "invoice.voided" | "invoice.will_be_due" | "invoice_payment.paid" | "invoiceitem.created" | "invoiceitem.deleted" | "issuing_authorization.created" | "issuing_authorization.request" | "issuing_authorization.updated" | "issuing_card.created" | "issuing_card.updated" | "issuing_cardholder.created" | "issuing_cardholder.updated" | "issuing_dispute.closed" | "issuing_dispute.created" | "issuing_dispute.funds_reinstated" | "issuing_dispute.funds_rescinded" | "issuing_dispute.submitted" | "issuing_dispute.updated" | "issuing_personalization_design.activated" | "issuing_personalization_design.deactivated" | "issuing_personalization_design.rejected" | "issuing_personalization_design.updated" | "issuing_token.created" | "issuing_token.updated" | "issuing_transaction.created" | "issuing_transaction.purchase_details_receipt_updated" | "issuing_transaction.updated" | "mandate.updated" | "payment_intent.amount_capturable_updated" | "payment_intent.canceled" | "payment_intent.created" | "payment_intent.partially_funded" | "payment_intent.payment_failed" | "payment_intent.processing" | "payment_intent.requires_action" | "payment_intent.succeeded" | "payment_link.created" | "payment_link.updated" | "payment_method.attached" | "payment_method.automatically_updated" | "payment_method.detached" | "payment_method.updated" | "payout.canceled" | "payout.created" | "payout.failed" | "payout.paid" | "payout.reconciliation_completed" | "payout.updated" | "person.created" | "person.deleted" | "person.updated" | "plan.created" | "plan.deleted" | "plan.updated" | "price.created" | "price.deleted" | "price.updated" | "product.created" | "product.deleted" | "product.updated" | "promotion_code.created" | "promotion_code.updated" | "quote.accepted" | "quote.canceled" | "quote.created" | "quote.finalized" | "radar.early_fraud_warning.created" | "radar.early_fraud_warning.updated" | "refund.created" | "refund.failed" | "refund.updated" | "reporting.report_run.failed" | "reporting.report_run.succeeded" | "reporting.report_type.updated" | "reserve.hold.created" | "reserve.hold.updated" | "reserve.plan.created" | "reserve.plan.disabled" | "reserve.plan.expired" | "reserve.plan.updated" | "reserve.release.created" | "review.closed" | "review.opened" | "setup_intent.canceled" | "setup_intent.created" | "setup_intent.requires_action" | "setup_intent.setup_failed" | "setup_intent.succeeded" | "sigma.scheduled_query_run.created" | "source.canceled" | "source.chargeable" | "source.failed" | "source.mandate_notification" | "source.refund_attributes_required" | "source.transaction.created" | "source.transaction.updated" | "subscription_schedule.aborted" | "subscription_schedule.canceled" | "subscription_schedule.completed" | "subscription_schedule.created" | "subscription_schedule.expiring" | "subscription_schedule.released" | "subscription_schedule.updated" | "tax.settings.updated" | "tax_rate.created" | "tax_rate.updated" | "terminal.reader.action_failed" | "terminal.reader.action_succeeded" | "terminal.reader.action_updated" | "test_helpers.test_clock.advancing" | "test_helpers.test_clock.created" | "test_helpers.test_clock.deleted" | "test_helpers.test_clock.internal_failure" | "test_helpers.test_clock.ready" | "topup.canceled" | "topup.created" | "topup.failed" | "topup.reversed" | "topup.succeeded" | "transfer.created" | "transfer.reversed" | "transfer.updated" | "treasury.credit_reversal.created" | "treasury.credit_reversal.posted" | "treasury.debit_reversal.completed" | "treasury.debit_reversal.created" | "treasury.debit_reversal.initial_credit_granted" | "treasury.financial_account.closed" | "treasury.financial_account.created" | "treasury.financial_account.features_status_updated" | "treasury.inbound_transfer.canceled" | "treasury.inbound_transfer.created" | "treasury.inbound_transfer.failed" | "treasury.inbound_transfer.succeeded" | "treasury.outbound_payment.canceled" | "treasury.outbound_payment.created" | "treasury.outbound_payment.expected_arrival_date_updated" | "treasury.outbound_payment.failed" | "treasury.outbound_payment.posted" | "treasury.outbound_payment.returned" | "treasury.outbound_payment.tracking_details_updated" | "treasury.outbound_transfer.canceled" | "treasury.outbound_transfer.created" | "treasury.outbound_transfer.expected_arrival_date_updated" | "treasury.outbound_transfer.failed" | "treasury.outbound_transfer.posted" | "treasury.outbound_transfer.returned" | "treasury.outbound_transfer.tracking_details_updated" | "treasury.received_credit.created" | "treasury.received_credit.failed" | "treasury.received_credit.succeeded" | "treasury.received_debit.created")[] | undefined;
36
37
  readonly expand?: readonly string[] | undefined;
37
38
  readonly metadata?: unknown;
38
39
  readonly url?: string | undefined;
39
- readonly webhook_endpoint: string;
40
40
  }, {
41
41
  readonly api_version: string | null;
42
42
  readonly application: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@distilled.cloud/stripe",
3
- "version": "0.19.2",
3
+ "version": "0.20.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/alchemy-run/distilled",
@@ -74,7 +74,7 @@
74
74
  "specs:update": "git -C specs/stripe-openapi fetch && git -C specs/stripe-openapi checkout master && git -C specs/stripe-openapi pull"
75
75
  },
76
76
  "dependencies": {
77
- "@distilled.cloud/core": "0.19.2"
77
+ "@distilled.cloud/core": "0.20.0"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@types/bun": "^1.3.0",
@@ -83,6 +83,6 @@
83
83
  "vitest": "^3.2.3"
84
84
  },
85
85
  "peerDependencies": {
86
- "effect": ">=4.0.0-beta.60 || >=4.0.0"
86
+ "effect": ">=4.0.0-beta.66 || >=4.0.0"
87
87
  }
88
88
  }
@@ -1,9 +1,9 @@
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
 
8
8
  export const DEFAULT_API_BASE_URL = "https://api.stripe.com";
9
9
 
@@ -22,7 +22,7 @@ const envConfig = EffectConfig.all({
22
22
 
23
23
  export const CredentialsFromEnv = Layer.effect(
24
24
  Credentials,
25
- envConfig.asEffect().pipe(
25
+ envConfig.pipe(
26
26
  Effect.mapError(
27
27
  () =>
28
28
  new ConfigError({