nomoss 0.0.1 → 0.0.5

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 (710) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/LICENSE +1 -1
  3. package/README.md +52 -26
  4. package/ROADMAP.md +19 -0
  5. package/docs/README.md +19 -0
  6. package/docs/application/aws-resource-coverage.md +26 -0
  7. package/docs/application/aws-resource-lifecycle-management.md +47 -0
  8. package/docs/application/cli-workflow.md +111 -0
  9. package/docs/application/engine-design.md +43 -0
  10. package/docs/application/generation-architecture.md +285 -0
  11. package/docs/application/resource-command-policy-stage.md +37 -0
  12. package/docs/application/resource-graph.md +45 -0
  13. package/docs/application/resource-lifecycle-tracker.md +43 -0
  14. package/docs/application/resource-mapping.md +112 -0
  15. package/docs/application/resource-operations.md +41 -0
  16. package/docs/application/resource-outputs.md +66 -0
  17. package/docs/application/tracing.md +27 -0
  18. package/docs/development/code-documentation.md +54 -0
  19. package/docs/development/commit-message-spec.md +9 -0
  20. package/docs/development/effect-native-development.md +89 -0
  21. package/docs/development/linting.md +39 -0
  22. package/docs/development/resource-graph-testing-approach.md +9 -0
  23. package/docs/development/review-code.md +73 -0
  24. package/docs/development/review-docs.md +27 -0
  25. package/docs/development/review-remediation-spec.md +40 -0
  26. package/docs/development/spec-writing.md +35 -0
  27. package/docs/development/testing.md +125 -0
  28. package/docs/development/unslop.md +55 -0
  29. package/docs/operations/observability-sop.md +32 -0
  30. package/docs/operations/releasing.md +7 -0
  31. package/examples/README.md +11 -0
  32. package/examples/cli.ts +15 -0
  33. package/examples/commands.ts +32 -0
  34. package/examples/http-echo/index.ts +54 -0
  35. package/examples/queue/application.ts +37 -0
  36. package/examples/state-machine/application.ts +57 -0
  37. package/examples/stripe-billing/application.ts +56 -0
  38. package/media/nomoss-http-demo.gif +0 -0
  39. package/package.json +63 -24
  40. package/providers/aws/README.md +21 -0
  41. package/providers/aws/awsEnvironment.ts +114 -0
  42. package/providers/aws/generated/managementRegistry.ts +136 -0
  43. package/providers/aws/generated/resources/apigatewayv2/api.ts +528 -0
  44. package/providers/aws/generated/resources/apigatewayv2/integration.ts +559 -0
  45. package/providers/aws/generated/resources/apigatewayv2/route.ts +421 -0
  46. package/providers/aws/generated/resources/apigatewayv2/stage.ts +366 -0
  47. package/providers/aws/generated/resources/iam/accesskey.ts +184 -0
  48. package/providers/aws/generated/resources/iam/group.ts +294 -0
  49. package/providers/aws/generated/resources/iam/grouppolicy.ts +244 -0
  50. package/providers/aws/generated/resources/iam/instanceprofile.ts +249 -0
  51. package/providers/aws/generated/resources/iam/managedpolicy.ts +518 -0
  52. package/providers/aws/generated/resources/iam/oidcprovider.ts +314 -0
  53. package/providers/aws/generated/resources/iam/policy.ts +264 -0
  54. package/providers/aws/generated/resources/iam/role.ts +444 -0
  55. package/providers/aws/generated/resources/iam/rolepolicy.ts +242 -0
  56. package/providers/aws/generated/resources/iam/samlprovider.ts +463 -0
  57. package/providers/aws/generated/resources/iam/servercertificate.ts +465 -0
  58. package/providers/aws/generated/resources/iam/servicelinkedrole.ts +187 -0
  59. package/providers/aws/generated/resources/iam/user.ts +435 -0
  60. package/providers/aws/generated/resources/iam/userpolicy.ts +242 -0
  61. package/providers/aws/generated/resources/iam/usertogroupaddition.ts +212 -0
  62. package/providers/aws/generated/resources/iam/virtualmfadevice.ts +298 -0
  63. package/providers/aws/generated/resources/kms/key.ts +552 -0
  64. package/providers/aws/generated/resources/lambda/function.ts +1924 -0
  65. package/providers/aws/generated/resources/lambda/permission.ts +913 -0
  66. package/providers/aws/generated/resources/s3/bucket.ts +3325 -0
  67. package/providers/aws/generated/resources/sns/topic.ts +536 -0
  68. package/providers/aws/generated/resources/sqs/queue.ts +476 -0
  69. package/providers/aws/generated/resources/stepfunctions/statemachine.ts +720 -0
  70. package/providers/aws/management/mappings/iam/group.ts +63 -0
  71. package/providers/aws/management/mappings/iam/iamIdentity.ts +41 -0
  72. package/providers/aws/management/mappings/iam/iamLifecycleSettings.ts +8 -0
  73. package/providers/aws/management/mappings/iam/inlinePolicies.ts +159 -0
  74. package/providers/aws/management/mappings/iam/instanceProfile.ts +77 -0
  75. package/providers/aws/management/mappings/iam/oidcProvider.ts +94 -0
  76. package/providers/aws/management/mappings/iam/role.ts +74 -0
  77. package/providers/aws/management/mappings/iam/samlProvider.ts +98 -0
  78. package/providers/aws/management/mappings/iam/serverCertificate.ts +72 -0
  79. package/providers/aws/management/mappings/iam/user.ts +61 -0
  80. package/providers/aws/management/mappings/iam/userToGroupAddition.ts +75 -0
  81. package/providers/aws/management/operations/iam/accessKey.ts +206 -0
  82. package/providers/aws/management/operations/iam/managedPolicy.ts +491 -0
  83. package/providers/aws/management/operations/iam/policy.ts +476 -0
  84. package/providers/aws/management/operations/iam/serviceLinkedRole.ts +172 -0
  85. package/providers/aws/management/operations/iam/virtualMfaDevice.ts +253 -0
  86. package/providers/aws/management/resourceAssociationConfiguration.ts +112 -0
  87. package/providers/aws/management/resourceAssociationRegistration.ts +349 -0
  88. package/providers/aws/management/resourceAssociations.ts +168 -0
  89. package/providers/aws/management/resourceConfiguration.ts +119 -0
  90. package/providers/aws/management/resourceLifecycleRegistration.ts +540 -0
  91. package/providers/aws/management/resourceManagementModule.ts +31 -0
  92. package/providers/aws/management/resourceManagementRegistry.ts +62 -0
  93. package/providers/aws/management/resourceMapping.ts +84 -0
  94. package/providers/aws/management/resourceOperation.ts +134 -0
  95. package/providers/aws/management/resourceTagOperations.ts +108 -0
  96. package/providers/aws/management/resourceTiming.ts +4 -0
  97. package/providers/aws/runtime.ts +52 -0
  98. package/src/cli.ts +31 -13
  99. package/src/cliCommand.ts +207 -170
  100. package/src/cliDiagnostics.ts +104 -0
  101. package/src/core/asset.ts +350 -0
  102. package/src/core/index.ts +61 -17
  103. package/src/core/{lifecycle.ts → resource/lifecycle.ts} +33 -3
  104. package/src/core/resource/model.ts +1168 -0
  105. package/src/core/resource/resourceCommandPolicy.ts +88 -0
  106. package/src/core/resource/resourceGraphBuilder.ts +319 -0
  107. package/src/core/resource/resourceGraphStore.ts +373 -0
  108. package/src/core/resource/resourceLifecycle.ts +644 -0
  109. package/src/core/resource/resourceOutputBinding.ts +113 -0
  110. package/src/core/resource/resourceOutputResolver.ts +365 -0
  111. package/src/core/resource/resourceRequest.ts +186 -0
  112. package/src/core/resource/resourceStabilization.ts +120 -0
  113. package/src/core/resource/resourceVersions.ts +102 -0
  114. package/src/core/runtime/stackRuntimeLayer.ts +16 -0
  115. package/src/core/runtime/tracing.ts +43 -0
  116. package/src/core/stack/planner.ts +663 -0
  117. package/src/core/stack/resourceDisplay.ts +213 -0
  118. package/src/core/stack/resourceStackDefinition.ts +32 -0
  119. package/src/core/stack/resourceStackLifecycle.ts +1229 -0
  120. package/src/core/stack/resourceStackOperations.ts +642 -0
  121. package/src/core/stack/resourceStackProgress.ts +169 -0
  122. package/src/core/stack/stackWorkflowRenderer.ts +756 -0
  123. package/src/core/state/localState.ts +18 -0
  124. package/src/core/state/resourceState.ts +77 -0
  125. package/src/core/{stateSecretService.ts → state/stateSecretService.ts} +183 -193
  126. package/src/core/state/stateStore.ts +600 -0
  127. package/src/providers/file/jsonFile.ts +94 -0
  128. package/src/providers/file/model.ts +29 -0
  129. package/src/providers/file/resourcePolicy.ts +271 -0
  130. package/src/providers/index.ts +0 -2
  131. package/src/providers/providerRuntimeLayer.ts +27 -113
  132. package/src/providers/resourceCommandPolicyLayer.ts +151 -200
  133. package/src/providers/stripe/client/generated/LICENSE +21 -0
  134. package/src/providers/stripe/client/generated/accounts.ts +14360 -0
  135. package/src/providers/stripe/client/generated/applePayDomains.ts +313 -0
  136. package/src/providers/stripe/client/generated/appsInstalls.ts +495 -0
  137. package/src/providers/stripe/client/generated/billingAlerts.ts +515 -0
  138. package/src/providers/stripe/client/generated/billingCreditGrants.ts +631 -0
  139. package/src/providers/stripe/client/generated/billingFeedbackOptions.ts +396 -0
  140. package/src/providers/stripe/client/generated/billingMeters.ts +688 -0
  141. package/src/providers/stripe/client/generated/billingPortalConfigurations.ts +1279 -0
  142. package/src/providers/stripe/client/generated/catalog.ts +18881 -0
  143. package/src/providers/stripe/client/generated/charges.ts +2637 -0
  144. package/src/providers/stripe/client/generated/checkoutSessions.ts +5692 -0
  145. package/src/providers/stripe/client/generated/climateOrders.ts +472 -0
  146. package/src/providers/stripe/client/generated/commerceProductCatalogImports.ts +268 -0
  147. package/src/providers/stripe/client/generated/configuration.ts +3 -0
  148. package/src/providers/stripe/client/generated/coreAccountTokens.ts +2492 -0
  149. package/src/providers/stripe/client/generated/coreEventDestinations.ts +684 -0
  150. package/src/providers/stripe/client/generated/coreVaultGbBankAccounts.ts +380 -0
  151. package/src/providers/stripe/client/generated/coreVaultUsBankAccounts.ts +648 -0
  152. package/src/providers/stripe/client/generated/coupons.ts +562 -0
  153. package/src/providers/stripe/client/generated/creditNotes.ts +1430 -0
  154. package/src/providers/stripe/client/generated/customers.ts +10712 -0
  155. package/src/providers/stripe/client/generated/entitlementsFeatures.ts +378 -0
  156. package/src/providers/stripe/client/generated/fileLinks.ts +383 -0
  157. package/src/providers/stripe/client/generated/financialConnectionsSessions.ts +297 -0
  158. package/src/providers/stripe/client/generated/forwardingRequests.ts +366 -0
  159. package/src/providers/stripe/client/generated/identityVerificationSessions.ts +780 -0
  160. package/src/providers/stripe/client/generated/index.ts +330 -0
  161. package/src/providers/stripe/client/generated/invoiceitems.ts +924 -0
  162. package/src/providers/stripe/client/generated/invoices.ts +8412 -0
  163. package/src/providers/stripe/client/generated/issuingCardholders.ts +4650 -0
  164. package/src/providers/stripe/client/generated/issuingCards.ts +4622 -0
  165. package/src/providers/stripe/client/generated/issuingDisputes.ts +1474 -0
  166. package/src/providers/stripe/client/generated/issuingPersonalizationDesigns.ts +634 -0
  167. package/src/providers/stripe/client/generated/models/accounts.ts +2808 -0
  168. package/src/providers/stripe/client/generated/models/billing.ts +2527 -0
  169. package/src/providers/stripe/client/generated/models/catalog.ts +3411 -0
  170. package/src/providers/stripe/client/generated/models/charges.ts +3616 -0
  171. package/src/providers/stripe/client/generated/models/common.ts +25024 -0
  172. package/src/providers/stripe/client/generated/models/customers.ts +1559 -0
  173. package/src/providers/stripe/client/generated/models/invoices.ts +3881 -0
  174. package/src/providers/stripe/client/generated/models/issuing.ts +7083 -0
  175. package/src/providers/stripe/client/generated/models/issuingCardholders.ts +2495 -0
  176. package/src/providers/stripe/client/generated/models/paymentIntents.ts +4148 -0
  177. package/src/providers/stripe/client/generated/models/paymentMethodDetails.ts +8128 -0
  178. package/src/providers/stripe/client/generated/models/paymentMethodOptions.ts +1684 -0
  179. package/src/providers/stripe/client/generated/models/paymentMethods.ts +3751 -0
  180. package/src/providers/stripe/client/generated/models/paymentSources.ts +1443 -0
  181. package/src/providers/stripe/client/generated/models/payments.ts +8558 -0
  182. package/src/providers/stripe/client/generated/models/setupIntents.ts +3344 -0
  183. package/src/providers/stripe/client/generated/models/sources.ts +1898 -0
  184. package/src/providers/stripe/client/generated/models/subscriptions.ts +3836 -0
  185. package/src/providers/stripe/client/generated/models/transfers.ts +1197 -0
  186. package/src/providers/stripe/client/generated/models/treasury.ts +3852 -0
  187. package/src/providers/stripe/client/generated/models/v2Accounts.ts +13649 -0
  188. package/src/providers/stripe/client/generated/models/v2Errors.ts +13829 -0
  189. package/src/providers/stripe/client/generated/moneyManagementFinancialAddresses.ts +317 -0
  190. package/src/providers/stripe/client/generated/moneyManagementInboundTransfers.ts +380 -0
  191. package/src/providers/stripe/client/generated/moneyManagementOutboundPayments.ts +828 -0
  192. package/src/providers/stripe/client/generated/moneyManagementOutboundSetupIntents.ts +596 -0
  193. package/src/providers/stripe/client/generated/moneyManagementPayoutIntents.ts +1149 -0
  194. package/src/providers/stripe/client/generated/moneyManagementRecipientVerifications.ts +226 -0
  195. package/src/providers/stripe/client/generated/paymentIntents.ts +17752 -0
  196. package/src/providers/stripe/client/generated/paymentLinks.ts +4199 -0
  197. package/src/providers/stripe/client/generated/paymentMethodConfigurations.ts +4835 -0
  198. package/src/providers/stripe/client/generated/paymentMethodDomains.ts +429 -0
  199. package/src/providers/stripe/client/generated/paymentMethods.ts +2372 -0
  200. package/src/providers/stripe/client/generated/payouts.ts +589 -0
  201. package/src/providers/stripe/client/generated/plans.ts +712 -0
  202. package/src/providers/stripe/client/generated/prices.ts +1045 -0
  203. package/src/providers/stripe/client/generated/productCatalogTrialOffers.ts +447 -0
  204. package/src/providers/stripe/client/generated/products.ts +1370 -0
  205. package/src/providers/stripe/client/generated/promotionCodes.ts +564 -0
  206. package/src/providers/stripe/client/generated/quotes.ts +1874 -0
  207. package/src/providers/stripe/client/generated/radarValueListItems.ts +367 -0
  208. package/src/providers/stripe/client/generated/radarValueLists.ts +496 -0
  209. package/src/providers/stripe/client/generated/refunds.ts +493 -0
  210. package/src/providers/stripe/client/generated/reportingReportRuns.ts +1615 -0
  211. package/src/providers/stripe/client/generated/resourceBindings/Account.ts +200 -0
  212. package/src/providers/stripe/client/generated/resourceBindings/AccountToken.ts +175 -0
  213. package/src/providers/stripe/client/generated/resourceBindings/ApplePayDomain.ts +173 -0
  214. package/src/providers/stripe/client/generated/resourceBindings/AppsInstall.ts +201 -0
  215. package/src/providers/stripe/client/generated/resourceBindings/BankAccount.ts +228 -0
  216. package/src/providers/stripe/client/generated/resourceBindings/BillingAlert.ts +174 -0
  217. package/src/providers/stripe/client/generated/resourceBindings/BillingConfigurationExport.ts +77 -0
  218. package/src/providers/stripe/client/generated/resourceBindings/BillingCreditGrant.ts +201 -0
  219. package/src/providers/stripe/client/generated/resourceBindings/BillingFeedbackOption.ts +197 -0
  220. package/src/providers/stripe/client/generated/resourceBindings/BillingMeter.ts +201 -0
  221. package/src/providers/stripe/client/generated/resourceBindings/BillingPortalConfiguration.ts +214 -0
  222. package/src/providers/stripe/client/generated/resourceBindings/Card.ts +231 -0
  223. package/src/providers/stripe/client/generated/resourceBindings/Charge.ts +202 -0
  224. package/src/providers/stripe/client/generated/resourceBindings/CheckoutSession.ts +199 -0
  225. package/src/providers/stripe/client/generated/resourceBindings/ClimateOrder.ts +201 -0
  226. package/src/providers/stripe/client/generated/resourceBindings/Coupon.ts +202 -0
  227. package/src/providers/stripe/client/generated/resourceBindings/CreditNote.ts +200 -0
  228. package/src/providers/stripe/client/generated/resourceBindings/Customer.ts +200 -0
  229. package/src/providers/stripe/client/generated/resourceBindings/EntitlementsFeature.ts +201 -0
  230. package/src/providers/stripe/client/generated/resourceBindings/EventDestination.ts +197 -0
  231. package/src/providers/stripe/client/generated/resourceBindings/FileLink.ts +200 -0
  232. package/src/providers/stripe/client/generated/resourceBindings/FinancialAddress.ts +177 -0
  233. package/src/providers/stripe/client/generated/resourceBindings/FinancialConnectionsSession.ts +180 -0
  234. package/src/providers/stripe/client/generated/resourceBindings/ForwardingRequest.ts +173 -0
  235. package/src/providers/stripe/client/generated/resourceBindings/GBBankAccount.ts +171 -0
  236. package/src/providers/stripe/client/generated/resourceBindings/IdentityVerificationSession.ts +214 -0
  237. package/src/providers/stripe/client/generated/resourceBindings/InboundTransfer.ts +177 -0
  238. package/src/providers/stripe/client/generated/resourceBindings/Invoice.ts +200 -0
  239. package/src/providers/stripe/client/generated/resourceBindings/Invoiceitem.ts +200 -0
  240. package/src/providers/stripe/client/generated/resourceBindings/IssuingCard.ts +201 -0
  241. package/src/providers/stripe/client/generated/resourceBindings/IssuingCardholder.ts +198 -0
  242. package/src/providers/stripe/client/generated/resourceBindings/IssuingDispute.ts +199 -0
  243. package/src/providers/stripe/client/generated/resourceBindings/IssuingPersonalizationDesign.ts +214 -0
  244. package/src/providers/stripe/client/generated/resourceBindings/OutboundPayment.ts +177 -0
  245. package/src/providers/stripe/client/generated/resourceBindings/OutboundSetupIntent.ts +206 -0
  246. package/src/providers/stripe/client/generated/resourceBindings/PaymentIntent.ts +200 -0
  247. package/src/providers/stripe/client/generated/resourceBindings/PaymentLink.ts +200 -0
  248. package/src/providers/stripe/client/generated/resourceBindings/PaymentMethod.ts +195 -0
  249. package/src/providers/stripe/client/generated/resourceBindings/PaymentMethodConfiguration.ts +214 -0
  250. package/src/providers/stripe/client/generated/resourceBindings/PaymentMethodDomain.ts +208 -0
  251. package/src/providers/stripe/client/generated/resourceBindings/Payout.ts +202 -0
  252. package/src/providers/stripe/client/generated/resourceBindings/PayoutIntent.ts +206 -0
  253. package/src/providers/stripe/client/generated/resourceBindings/Plan.ts +199 -0
  254. package/src/providers/stripe/client/generated/resourceBindings/Price.ts +199 -0
  255. package/src/providers/stripe/client/generated/resourceBindings/Product.ts +196 -0
  256. package/src/providers/stripe/client/generated/resourceBindings/ProductCatalogImport.ts +177 -0
  257. package/src/providers/stripe/client/generated/resourceBindings/ProductCatalogTrialOffer.ts +201 -0
  258. package/src/providers/stripe/client/generated/resourceBindings/PromotionCode.ts +195 -0
  259. package/src/providers/stripe/client/generated/resourceBindings/Quote.ts +199 -0
  260. package/src/providers/stripe/client/generated/resourceBindings/RadarValueList.ts +195 -0
  261. package/src/providers/stripe/client/generated/resourceBindings/RadarValueListItem.ts +175 -0
  262. package/src/providers/stripe/client/generated/resourceBindings/RecipientVerification.ts +177 -0
  263. package/src/providers/stripe/client/generated/resourceBindings/Refund.ts +202 -0
  264. package/src/providers/stripe/client/generated/resourceBindings/ReportingReportRun.ts +173 -0
  265. package/src/providers/stripe/client/generated/resourceBindings/SetupIntent.ts +201 -0
  266. package/src/providers/stripe/client/generated/resourceBindings/ShippingRate.ts +205 -0
  267. package/src/providers/stripe/client/generated/resourceBindings/Source.ts +202 -0
  268. package/src/providers/stripe/client/generated/resourceBindings/Subscription.ts +207 -0
  269. package/src/providers/stripe/client/generated/resourceBindings/SubscriptionItem.ts +199 -0
  270. package/src/providers/stripe/client/generated/resourceBindings/SubscriptionSchedule.ts +203 -0
  271. package/src/providers/stripe/client/generated/resourceBindings/TaxId.ts +172 -0
  272. package/src/providers/stripe/client/generated/resourceBindings/TaxLocation.ts +174 -0
  273. package/src/providers/stripe/client/generated/resourceBindings/TaxRate.ts +200 -0
  274. package/src/providers/stripe/client/generated/resourceBindings/TaxRegistration.ts +200 -0
  275. package/src/providers/stripe/client/generated/resourceBindings/TerminalConfiguration.ts +208 -0
  276. package/src/providers/stripe/client/generated/resourceBindings/TerminalLocation.ts +195 -0
  277. package/src/providers/stripe/client/generated/resourceBindings/TerminalReader.ts +199 -0
  278. package/src/providers/stripe/client/generated/resourceBindings/TestHelpersTestClock.ts +208 -0
  279. package/src/providers/stripe/client/generated/resourceBindings/ThreeDSecureAuthentication.ts +180 -0
  280. package/src/providers/stripe/client/generated/resourceBindings/Token.ts +172 -0
  281. package/src/providers/stripe/client/generated/resourceBindings/Topup.ts +199 -0
  282. package/src/providers/stripe/client/generated/resourceBindings/Transfer.ts +200 -0
  283. package/src/providers/stripe/client/generated/resourceBindings/TreasuryCreditReversal.ts +175 -0
  284. package/src/providers/stripe/client/generated/resourceBindings/TreasuryDebitReversal.ts +176 -0
  285. package/src/providers/stripe/client/generated/resourceBindings/TreasuryFinancialAccount.ts +209 -0
  286. package/src/providers/stripe/client/generated/resourceBindings/TreasuryInboundTransfer.ts +172 -0
  287. package/src/providers/stripe/client/generated/resourceBindings/TreasuryOutboundPayment.ts +172 -0
  288. package/src/providers/stripe/client/generated/resourceBindings/TreasuryOutboundTransfer.ts +175 -0
  289. package/src/providers/stripe/client/generated/resourceBindings/USBankAccount.ts +195 -0
  290. package/src/providers/stripe/client/generated/resourceBindings/V1Account.ts +200 -0
  291. package/src/providers/stripe/client/generated/resourceBindings/WebhookEndpoint.ts +233 -0
  292. package/src/providers/stripe/client/generated/resourceCatalog.ts +10160 -0
  293. package/src/providers/stripe/client/generated/resourceCommands.ts +2132 -0
  294. package/src/providers/stripe/client/generated/resourceDeclarations.ts +3738 -0
  295. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsEntitySchema.ts +5062 -0
  296. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsSchema.ts +5072 -0
  297. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsEntitySchema.ts +2450 -0
  298. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsSchema.ts +2461 -0
  299. package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsEntitySchema.ts +30 -0
  300. package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsSchema.ts +41 -0
  301. package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsEntitySchema.ts +70 -0
  302. package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsSchema.ts +81 -0
  303. package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsEntitySchema.ts +189 -0
  304. package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsSchema.ts +177 -0
  305. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsEntitySchema.ts +80 -0
  306. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsSchema.ts +105 -0
  307. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportDocumentSchema.ts +38 -0
  308. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsEntitySchema.ts +226 -0
  309. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsSchema.ts +65 -0
  310. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsEntitySchema.ts +204 -0
  311. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsSchema.ts +194 -0
  312. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsEntitySchema.ts +38 -0
  313. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsSchema.ts +48 -0
  314. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsEntitySchema.ts +117 -0
  315. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsSchema.ts +128 -0
  316. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsEntitySchema.ts +282 -0
  317. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsSchema.ts +516 -0
  318. package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsEntitySchema.ts +189 -0
  319. package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsSchema.ts +176 -0
  320. package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsEntitySchema.ts +533 -0
  321. package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsSchema.ts +501 -0
  322. package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsEntitySchema.ts +4486 -0
  323. package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsSchema.ts +4601 -0
  324. package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsEntitySchema.ts +93 -0
  325. package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsSchema.ts +104 -0
  326. package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsEntitySchema.ts +158 -0
  327. package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsSchema.ts +168 -0
  328. package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsEntitySchema.ts +326 -0
  329. package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsSchema.ts +300 -0
  330. package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsEntitySchema.ts +833 -0
  331. package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsSchema.ts +818 -0
  332. package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsEntitySchema.ts +54 -0
  333. package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsSchema.ts +64 -0
  334. package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsEntitySchema.ts +167 -0
  335. package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsSchema.ts +178 -0
  336. package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsEntitySchema.ts +74 -0
  337. package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsSchema.ts +66 -0
  338. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsEntitySchema.ts +62 -0
  339. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsSchema.ts +73 -0
  340. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsEntitySchema.ts +192 -0
  341. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsSchema.ts +198 -0
  342. package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsEntitySchema.ts +126 -0
  343. package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsSchema.ts +137 -0
  344. package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsEntitySchema.ts +52 -0
  345. package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsSchema.ts +63 -0
  346. package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsEntitySchema.ts +203 -0
  347. package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsSchema.ts +214 -0
  348. package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsEntitySchema.ts +104 -0
  349. package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsSchema.ts +115 -0
  350. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsEntitySchema.ts +1775 -0
  351. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsSchema.ts +1632 -0
  352. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsEntitySchema.ts +343 -0
  353. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsSchema.ts +311 -0
  354. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsEntitySchema.ts +2230 -0
  355. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsSchema.ts +2204 -0
  356. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsEntitySchema.ts +2152 -0
  357. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsSchema.ts +2191 -0
  358. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsEntitySchema.ts +178 -0
  359. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsSchema.ts +580 -0
  360. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsEntitySchema.ts +179 -0
  361. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsSchema.ts +166 -0
  362. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsEntitySchema.ts +253 -0
  363. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsSchema.ts +264 -0
  364. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsEntitySchema.ts +123 -0
  365. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsSchema.ts +133 -0
  366. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsEntitySchema.ts +5519 -0
  367. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsSchema.ts +5464 -0
  368. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsEntitySchema.ts +1775 -0
  369. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsSchema.ts +1967 -0
  370. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsEntitySchema.ts +2280 -0
  371. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsSchema.ts +2291 -0
  372. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsEntitySchema.ts +45 -0
  373. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsSchema.ts +55 -0
  374. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsEntitySchema.ts +1609 -0
  375. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsSchema.ts +1600 -0
  376. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsEntitySchema.ts +272 -0
  377. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsSchema.ts +283 -0
  378. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsEntitySchema.ts +141 -0
  379. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsSchema.ts +105 -0
  380. package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsEntitySchema.ts +225 -0
  381. package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsSchema.ts +304 -0
  382. package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsEntitySchema.ts +434 -0
  383. package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsSchema.ts +427 -0
  384. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsEntitySchema.ts +41 -0
  385. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsSchema.ts +51 -0
  386. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsEntitySchema.ts +129 -0
  387. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsSchema.ts +127 -0
  388. package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsEntitySchema.ts +365 -0
  389. package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsSchema.ts +375 -0
  390. package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsEntitySchema.ts +185 -0
  391. package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsSchema.ts +171 -0
  392. package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsEntitySchema.ts +700 -0
  393. package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsSchema.ts +627 -0
  394. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsEntitySchema.ts +46 -0
  395. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsSchema.ts +57 -0
  396. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsEntitySchema.ts +83 -0
  397. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsSchema.ts +94 -0
  398. package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsEntitySchema.ts +35 -0
  399. package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsSchema.ts +45 -0
  400. package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsEntitySchema.ts +175 -0
  401. package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsSchema.ts +130 -0
  402. package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsEntitySchema.ts +1363 -0
  403. package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsSchema.ts +1374 -0
  404. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives.ts +35 -0
  405. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_1.ts +35 -0
  406. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_10.ts +44 -0
  407. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_100.ts +35 -0
  408. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_101.ts +35 -0
  409. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_102.ts +35 -0
  410. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_103.ts +35 -0
  411. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_104.ts +35 -0
  412. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_105.ts +35 -0
  413. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_106.ts +35 -0
  414. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_107.ts +35 -0
  415. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_108.ts +35 -0
  416. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_11.ts +68 -0
  417. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_12.ts +35 -0
  418. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_13.ts +35 -0
  419. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_14.ts +35 -0
  420. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_15.ts +35 -0
  421. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_16.ts +35 -0
  422. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_17.ts +44 -0
  423. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_18.ts +35 -0
  424. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_19.ts +35 -0
  425. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_2.ts +35 -0
  426. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_20.ts +35 -0
  427. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_21.ts +35 -0
  428. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_22.ts +35 -0
  429. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_23.ts +35 -0
  430. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_24.ts +35 -0
  431. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_25.ts +35 -0
  432. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_26.ts +44 -0
  433. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_27.ts +35 -0
  434. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_28.ts +35 -0
  435. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_29.ts +35 -0
  436. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_3.ts +35 -0
  437. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_30.ts +35 -0
  438. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_31.ts +35 -0
  439. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_32.ts +35 -0
  440. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_33.ts +35 -0
  441. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_34.ts +35 -0
  442. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_35.ts +59 -0
  443. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_36.ts +35 -0
  444. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_37.ts +35 -0
  445. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_38.ts +35 -0
  446. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_39.ts +35 -0
  447. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_4.ts +35 -0
  448. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_40.ts +35 -0
  449. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_41.ts +111 -0
  450. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_42.ts +35 -0
  451. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_43.ts +77 -0
  452. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_44.ts +35 -0
  453. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_45.ts +35 -0
  454. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_46.ts +35 -0
  455. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_47.ts +35 -0
  456. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_48.ts +50 -0
  457. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_49.ts +35 -0
  458. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_5.ts +35 -0
  459. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_50.ts +83 -0
  460. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_51.ts +35 -0
  461. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_52.ts +50 -0
  462. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_53.ts +35 -0
  463. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_54.ts +74 -0
  464. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_55.ts +35 -0
  465. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_56.ts +65 -0
  466. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_57.ts +35 -0
  467. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_58.ts +79 -0
  468. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_59.ts +35 -0
  469. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_6.ts +35 -0
  470. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_60.ts +35 -0
  471. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_61.ts +35 -0
  472. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_62.ts +44 -0
  473. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_63.ts +35 -0
  474. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_64.ts +35 -0
  475. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_65.ts +44 -0
  476. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_66.ts +35 -0
  477. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_67.ts +35 -0
  478. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_68.ts +35 -0
  479. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_69.ts +35 -0
  480. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_7.ts +35 -0
  481. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_70.ts +35 -0
  482. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_71.ts +35 -0
  483. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_72.ts +35 -0
  484. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_73.ts +35 -0
  485. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_74.ts +35 -0
  486. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_75.ts +35 -0
  487. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_76.ts +35 -0
  488. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_77.ts +35 -0
  489. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_78.ts +44 -0
  490. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_79.ts +35 -0
  491. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_8.ts +35 -0
  492. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_80.ts +35 -0
  493. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_81.ts +39 -0
  494. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_82.ts +35 -0
  495. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_83.ts +35 -0
  496. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_84.ts +35 -0
  497. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_85.ts +35 -0
  498. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_86.ts +35 -0
  499. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_87.ts +35 -0
  500. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_88.ts +56 -0
  501. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_89.ts +35 -0
  502. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_9.ts +35 -0
  503. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_90.ts +35 -0
  504. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_91.ts +44 -0
  505. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_92.ts +35 -0
  506. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_93.ts +56 -0
  507. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_94.ts +35 -0
  508. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_95.ts +35 -0
  509. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_96.ts +35 -0
  510. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_97.ts +35 -0
  511. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_98.ts +35 -0
  512. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_99.ts +35 -0
  513. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems.ts +38 -0
  514. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_1.ts +39 -0
  515. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_2.ts +38 -0
  516. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_3.ts +154 -0
  517. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_4.ts +51 -0
  518. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_5.ts +120 -0
  519. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties.ts +32 -0
  520. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_1.ts +37 -0
  521. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_10.ts +125 -0
  522. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_11.ts +34 -0
  523. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_12.ts +34 -0
  524. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_13.ts +34 -0
  525. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_14.ts +34 -0
  526. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_15.ts +32 -0
  527. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_16.ts +37 -0
  528. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_17.ts +34 -0
  529. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_18.ts +130 -0
  530. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_19.ts +34 -0
  531. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_2.ts +39 -0
  532. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_20.ts +89 -0
  533. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_21.ts +34 -0
  534. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_22.ts +30 -0
  535. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_23.ts +34 -0
  536. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_24.ts +34 -0
  537. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_25.ts +34 -0
  538. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_26.ts +34 -0
  539. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_27.ts +97 -0
  540. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_28.ts +34 -0
  541. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_29.ts +34 -0
  542. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_3.ts +37 -0
  543. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_30.ts +34 -0
  544. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_31.ts +97 -0
  545. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_32.ts +34 -0
  546. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_33.ts +34 -0
  547. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_4.ts +37 -0
  548. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_5.ts +53 -0
  549. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_6.ts +42 -0
  550. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_7.ts +63 -0
  551. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_8.ts +94 -0
  552. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_9.ts +34 -0
  553. package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsEntitySchema.ts +2961 -0
  554. package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsSchema.ts +2914 -0
  555. package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsEntitySchema.ts +177 -0
  556. package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsSchema.ts +188 -0
  557. package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsEntitySchema.ts +556 -0
  558. package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsSchema.ts +566 -0
  559. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsEntitySchema.ts +259 -0
  560. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsSchema.ts +262 -0
  561. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsEntitySchema.ts +2128 -0
  562. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsSchema.ts +2048 -0
  563. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsEntitySchema.ts +698 -0
  564. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsSchema.ts +1347 -0
  565. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsEntitySchema.ts +355 -0
  566. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsSchema.ts +354 -0
  567. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsEntitySchema.ts +120 -0
  568. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsSchema.ts +131 -0
  569. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsEntitySchema.ts +166 -0
  570. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsSchema.ts +176 -0
  571. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsEntitySchema.ts +3328 -0
  572. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsSchema.ts +3339 -0
  573. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsEntitySchema.ts +992 -0
  574. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsSchema.ts +916 -0
  575. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsEntitySchema.ts +299 -0
  576. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsSchema.ts +310 -0
  577. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsEntitySchema.ts +89 -0
  578. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsSchema.ts +79 -0
  579. package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsEntitySchema.ts +55 -0
  580. package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsSchema.ts +65 -0
  581. package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsEntitySchema.ts +711 -0
  582. package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsSchema.ts +702 -0
  583. package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsEntitySchema.ts +2394 -0
  584. package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsSchema.ts +2404 -0
  585. package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsEntitySchema.ts +148 -0
  586. package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsSchema.ts +138 -0
  587. package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsEntitySchema.ts +129 -0
  588. package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsSchema.ts +97 -0
  589. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsEntitySchema.ts +44 -0
  590. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsSchema.ts +54 -0
  591. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsEntitySchema.ts +44 -0
  592. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsSchema.ts +54 -0
  593. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsEntitySchema.ts +284 -0
  594. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsSchema.ts +293 -0
  595. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsEntitySchema.ts +81 -0
  596. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsSchema.ts +91 -0
  597. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsEntitySchema.ts +348 -0
  598. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsSchema.ts +358 -0
  599. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsEntitySchema.ts +145 -0
  600. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsSchema.ts +155 -0
  601. package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsEntitySchema.ts +52 -0
  602. package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsSchema.ts +63 -0
  603. package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsEntitySchema.ts +3438 -0
  604. package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsSchema.ts +3577 -0
  605. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointDeclarationPropsEntitySchema.ts +22 -0
  606. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointDeclarationPropsSchema.ts +24 -0
  607. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointLocalPropsSchema.ts +10 -0
  608. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsEntitySchema.ts +891 -0
  609. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsSchema.ts +904 -0
  610. package/src/providers/stripe/client/generated/resourceOutputs.ts +873 -0
  611. package/src/providers/stripe/client/generated/setupIntents.ts +8854 -0
  612. package/src/providers/stripe/client/generated/shippingRates.ts +558 -0
  613. package/src/providers/stripe/client/generated/sources.ts +1482 -0
  614. package/src/providers/stripe/client/generated/subscriptionItems.ts +848 -0
  615. package/src/providers/stripe/client/generated/subscriptionSchedules.ts +3145 -0
  616. package/src/providers/stripe/client/generated/subscriptions.ts +5057 -0
  617. package/src/providers/stripe/client/generated/taxIds.ts +644 -0
  618. package/src/providers/stripe/client/generated/taxLocations.ts +348 -0
  619. package/src/providers/stripe/client/generated/taxRates.ts +620 -0
  620. package/src/providers/stripe/client/generated/taxRegistrations.ts +3646 -0
  621. package/src/providers/stripe/client/generated/terminalConfigurations.ts +2181 -0
  622. package/src/providers/stripe/client/generated/terminalLocations.ts +926 -0
  623. package/src/providers/stripe/client/generated/terminalReaders.ts +1488 -0
  624. package/src/providers/stripe/client/generated/testHelpersTestClocks.ts +400 -0
  625. package/src/providers/stripe/client/generated/threeDSecureAuthentications.ts +1141 -0
  626. package/src/providers/stripe/client/generated/tokens.ts +2498 -0
  627. package/src/providers/stripe/client/generated/topups.ts +556 -0
  628. package/src/providers/stripe/client/generated/transfers.ts +786 -0
  629. package/src/providers/stripe/client/generated/treasuryCreditReversals.ts +283 -0
  630. package/src/providers/stripe/client/generated/treasuryDebitReversals.ts +286 -0
  631. package/src/providers/stripe/client/generated/treasuryFinancialAccounts.ts +1320 -0
  632. package/src/providers/stripe/client/generated/treasuryInboundTransfers.ts +381 -0
  633. package/src/providers/stripe/client/generated/treasuryOutboundPayments.ts +689 -0
  634. package/src/providers/stripe/client/generated/treasuryOutboundTransfers.ts +453 -0
  635. package/src/providers/stripe/client/generated/v1Accounts.ts +13237 -0
  636. package/src/providers/stripe/client/generated/webhookEndpoints.ts +1817 -0
  637. package/src/providers/stripe/client/stripeClient.ts +212 -0
  638. package/src/providers/stripe/client/stripeClientConfig.ts +22 -0
  639. package/src/providers/stripe/client/stripeClientModel.ts +40 -0
  640. package/src/providers/stripe/index.ts +8 -15
  641. package/src/providers/stripe/management/resourceConfiguration.ts +53 -0
  642. package/src/providers/stripe/management/resourcePolicy.ts +500 -0
  643. package/src/providers/stripe/management/resources.ts +36 -0
  644. package/src/providers/stripe/runtime.ts +74 -0
  645. package/bin/nomoss +0 -13
  646. package/docs/code-documentation.md +0 -36
  647. package/docs/effect-native-development.md +0 -55
  648. package/docs/engine-design.md +0 -93
  649. package/docs/linting.md +0 -88
  650. package/docs/releasing.md +0 -13
  651. package/docs/resource-command-policy-stage.md +0 -71
  652. package/docs/resource-graph-mvp.md +0 -31
  653. package/docs/resource-graph-testing-approach.md +0 -11
  654. package/docs/resource-lifecycle-tracker.md +0 -93
  655. package/docs/testing.md +0 -86
  656. package/examples/upload-events/README.md +0 -41
  657. package/src/cliRuntimeLayer.ts +0 -49
  658. package/src/core/model.ts +0 -229
  659. package/src/core/physicalNameStore.ts +0 -226
  660. package/src/core/planner.ts +0 -645
  661. package/src/core/resourceCommandPolicy.ts +0 -79
  662. package/src/core/resourceGraphBuilder.ts +0 -167
  663. package/src/core/resourceGraphStore.ts +0 -288
  664. package/src/core/resourceOutputResolver.ts +0 -185
  665. package/src/core/resourcePolicy.ts +0 -77
  666. package/src/core/resourceStackDefinition.ts +0 -17
  667. package/src/core/resourceStackLifecycle.ts +0 -456
  668. package/src/core/resourceStackOperations.ts +0 -129
  669. package/src/core/runtimeLayer.ts +0 -73
  670. package/src/core/stackWorkflowRenderer.ts +0 -239
  671. package/src/core/stateStore.ts +0 -652
  672. package/src/core/tracing.ts +0 -26
  673. package/src/providers/aws/awsApply.ts +0 -132
  674. package/src/providers/aws/awsBucket.ts +0 -329
  675. package/src/providers/aws/awsBucketNotification.ts +0 -351
  676. package/src/providers/aws/awsBucketNotificationResourcePolicy.ts +0 -251
  677. package/src/providers/aws/awsBucketResourcePolicy.ts +0 -198
  678. package/src/providers/aws/awsProviderLayer.ts +0 -274
  679. package/src/providers/aws/awsQueue.ts +0 -346
  680. package/src/providers/aws/awsQueuePolicy.ts +0 -419
  681. package/src/providers/aws/awsQueuePolicyResourcePolicy.ts +0 -215
  682. package/src/providers/aws/awsQueueResourcePolicy.ts +0 -270
  683. package/src/providers/aws/awsReconciliation.ts +0 -92
  684. package/src/providers/aws/awsRefresh.ts +0 -50
  685. package/src/providers/aws/awsResourceLifecycle.ts +0 -118
  686. package/src/providers/aws/awsResourcePolicy.ts +0 -83
  687. package/src/providers/aws/awsResources.ts +0 -274
  688. package/src/providers/aws/awsRuntimeLayer.ts +0 -21
  689. package/src/providers/aws/awsSqsTransport.ts +0 -33
  690. package/src/providers/aws/awsStackLifecycle.ts +0 -272
  691. package/src/providers/aws/awsTagging.ts +0 -186
  692. package/src/providers/aws/constants.ts +0 -3
  693. package/src/providers/aws/index.ts +0 -22
  694. package/src/providers/aws/sampleStack.ts +0 -65
  695. package/src/providers/aws/stackWorkflow.ts +0 -443
  696. package/src/providers/stripe/stripeAccount.ts +0 -139
  697. package/src/providers/stripe/stripeBillingConfigurationExport.ts +0 -180
  698. package/src/providers/stripe/stripeBillingConfigurationExportResourcePolicy.ts +0 -178
  699. package/src/providers/stripe/stripeBillingPortalConfiguration.ts +0 -153
  700. package/src/providers/stripe/stripeBillingPortalConfigurationResourcePolicy.ts +0 -177
  701. package/src/providers/stripe/stripeCustomer.ts +0 -148
  702. package/src/providers/stripe/stripeCustomerResourcePolicy.ts +0 -160
  703. package/src/providers/stripe/stripePrice.ts +0 -218
  704. package/src/providers/stripe/stripePriceResourcePolicy.ts +0 -151
  705. package/src/providers/stripe/stripeProduct.ts +0 -171
  706. package/src/providers/stripe/stripeProductResourcePolicy.ts +0 -161
  707. package/src/providers/stripe/stripeResources.ts +0 -454
  708. package/src/providers/stripe/stripeRuntimeLayer.ts +0 -131
  709. package/src/providers/stripe/stripeWebhookEndpoint.ts +0 -293
  710. package/src/providers/stripe/stripeWebhookEndpointResourcePolicy.ts +0 -198
@@ -0,0 +1,3751 @@
1
+ // This schema module comes from the selected resource contracts. Do not edit.
2
+
3
+ // biome-ignore-all lint/complexity/useRegexLiterals: Preserve Effect's compiled regular expressions.
4
+ import { Schema } from "effect";
5
+ import { Stripebilling_details } from "./billing.js";
6
+ import {
7
+ Stripeaddress,
8
+ Stripecustom_logo,
9
+ Stripenetworks,
10
+ Striperadar_radar_options,
11
+ Stripesepa_debit_generated_from,
12
+ Stripethree_d_secure_usage,
13
+ Stripeus_bank_account_networks,
14
+ } from "./common.js";
15
+ import { Stripecustomer } from "./customers.js";
16
+ import { Stripepayment_method_details_card_present_offline } from "./paymentMethodDetails.js";
17
+ import { Stripecard_generated_from_payment_method_details } from "./paymentSources.js";
18
+ import {
19
+ Stripepayment_flows_private_payment_methods_alipay,
20
+ Stripepayment_flows_private_payment_methods_card_present_common_wallet,
21
+ Stripepayment_flows_private_payment_methods_klarna_dob,
22
+ } from "./payments.js";
23
+ import { Stripesetup_attempt } from "./setupIntents.js";
24
+
25
+ export type Stripepayment_method = {
26
+ readonly acss_debit?: Stripepayment_method_acss_debit;
27
+ readonly affirm?: Stripepayment_method_affirm;
28
+ readonly afterpay_clearpay?: Stripepayment_method_afterpay_clearpay;
29
+ readonly alipay?: Stripepayment_flows_private_payment_methods_alipay;
30
+ readonly allow_redisplay?: "always" | "limited" | "unspecified";
31
+ readonly alma?: Stripepayment_method_alma;
32
+ readonly amazon_pay?: Stripepayment_method_amazon_pay;
33
+ readonly au_becs_debit?: Stripepayment_method_au_becs_debit;
34
+ readonly bacs_debit?: Stripepayment_method_bacs_debit;
35
+ readonly bancontact?: Stripepayment_method_bancontact;
36
+ readonly billie?: Stripepayment_method_billie;
37
+ readonly billing_details: Stripebilling_details;
38
+ readonly bizum?: Stripepayment_method_bizum;
39
+ readonly blik?: Stripepayment_method_blik;
40
+ readonly boleto?: Stripepayment_method_boleto;
41
+ readonly card?: Stripepayment_method_card;
42
+ readonly card_present?: Stripepayment_method_card_present;
43
+ readonly cashapp?: Stripepayment_method_cashapp;
44
+ readonly created: number;
45
+ readonly crypto?: Stripepayment_method_crypto;
46
+ readonly custom?: Stripepayment_method_custom;
47
+ readonly customer?: string | Stripecustomer | null;
48
+ readonly customer_account?: string | null;
49
+ readonly customer_balance?: Stripepayment_method_customer_balance;
50
+ readonly eps?: Stripepayment_method_eps;
51
+ readonly fpx?: Stripepayment_method_fpx;
52
+ readonly giropay?: Stripepayment_method_giropay;
53
+ readonly grabpay?: Stripepayment_method_grabpay;
54
+ readonly id: string;
55
+ readonly ideal?: Stripepayment_method_ideal;
56
+ readonly interac_present?: Stripepayment_method_interac_present;
57
+ readonly kakao_pay?: Stripepayment_method_kakao_pay;
58
+ readonly klarna?: Stripepayment_method_klarna;
59
+ readonly konbini?: Stripepayment_method_konbini;
60
+ readonly kr_card?: Stripepayment_method_kr_card;
61
+ readonly link?: Stripepayment_method_link;
62
+ readonly livemode: boolean;
63
+ readonly mb_way?: Stripepayment_method_mb_way;
64
+ readonly metadata?: { readonly [x: string]: string } | null;
65
+ readonly mobilepay?: Stripepayment_method_mobilepay;
66
+ readonly multibanco?: Stripepayment_method_multibanco;
67
+ readonly naver_pay?: Stripepayment_method_naver_pay;
68
+ readonly nz_bank_account?: Stripepayment_method_nz_bank_account;
69
+ readonly object: "payment_method";
70
+ readonly oxxo?: Stripepayment_method_oxxo;
71
+ readonly p24?: Stripepayment_method_p24;
72
+ readonly pay_by_bank?: Stripepayment_method_pay_by_bank;
73
+ readonly payco?: Stripepayment_method_payco;
74
+ readonly paynow?: Stripepayment_method_paynow;
75
+ readonly paypal?: Stripepayment_method_paypal;
76
+ readonly paypay?: Stripepayment_method_paypay;
77
+ readonly payto?: Stripepayment_method_payto;
78
+ readonly pix?: Stripepayment_method_pix;
79
+ readonly promptpay?: Stripepayment_method_promptpay;
80
+ readonly radar_options?: Striperadar_radar_options;
81
+ readonly revolut_pay?: Stripepayment_method_revolut_pay;
82
+ readonly samsung_pay?: Stripepayment_method_samsung_pay;
83
+ readonly satispay?: Stripepayment_method_satispay;
84
+ readonly scalapay?: Stripepayment_method_scalapay;
85
+ readonly sepa_debit?: Stripepayment_method_sepa_debit;
86
+ readonly sequra?: Stripepayment_method_sequra;
87
+ readonly sofort?: Stripepayment_method_sofort;
88
+ readonly sunbit?: Stripepayment_method_sunbit;
89
+ readonly swish?: Stripepayment_method_swish;
90
+ readonly twint?: Stripepayment_method_twint;
91
+ readonly type:
92
+ | "acss_debit"
93
+ | "affirm"
94
+ | "afterpay_clearpay"
95
+ | "alipay"
96
+ | "alma"
97
+ | "amazon_pay"
98
+ | "au_becs_debit"
99
+ | "bacs_debit"
100
+ | "bancontact"
101
+ | "billie"
102
+ | "bizum"
103
+ | "blik"
104
+ | "boleto"
105
+ | "card"
106
+ | "card_present"
107
+ | "cashapp"
108
+ | "crypto"
109
+ | "custom"
110
+ | "customer_balance"
111
+ | "eps"
112
+ | "fpx"
113
+ | "giropay"
114
+ | "grabpay"
115
+ | "ideal"
116
+ | "interac_present"
117
+ | "kakao_pay"
118
+ | "klarna"
119
+ | "konbini"
120
+ | "kr_card"
121
+ | "link"
122
+ | "mb_way"
123
+ | "mobilepay"
124
+ | "multibanco"
125
+ | "naver_pay"
126
+ | "nz_bank_account"
127
+ | "oxxo"
128
+ | "p24"
129
+ | "pay_by_bank"
130
+ | "payco"
131
+ | "paynow"
132
+ | "paypal"
133
+ | "paypay"
134
+ | "payto"
135
+ | "pix"
136
+ | "promptpay"
137
+ | "revolut_pay"
138
+ | "samsung_pay"
139
+ | "satispay"
140
+ | "scalapay"
141
+ | "sepa_debit"
142
+ | "sequra"
143
+ | "sofort"
144
+ | "sunbit"
145
+ | "swish"
146
+ | "twint"
147
+ | "upi"
148
+ | "us_bank_account"
149
+ | "wechat_pay"
150
+ | "zip";
151
+ readonly upi?: Stripepayment_method_upi;
152
+ readonly us_bank_account?: Stripepayment_method_us_bank_account;
153
+ readonly wechat_pay?: Stripepayment_method_wechat_pay;
154
+ readonly zip?: Stripepayment_method_zip;
155
+ } & { readonly [x: string]: Schema.Json };
156
+ export type Stripepayment_method_sepa_debit = {
157
+ readonly bank_code?: string | null;
158
+ readonly branch_code?: string | null;
159
+ readonly country?: string | null;
160
+ readonly fingerprint?: string | null;
161
+ readonly generated_from?: Stripesepa_debit_generated_from | null;
162
+ readonly last4?: string | null;
163
+ } & { readonly [x: string]: Schema.Json };
164
+ export type Stripepayment_method_acss_debit = {
165
+ readonly bank_name?: string | null;
166
+ readonly fingerprint?: string | null;
167
+ readonly institution_number?: string | null;
168
+ readonly last4?: string | null;
169
+ readonly transit_number?: string | null;
170
+ } & { readonly [x: string]: Schema.Json };
171
+ export type Stripepayment_method_affirm = { readonly [x: string]: Schema.Json };
172
+ export type Stripepayment_method_afterpay_clearpay = {
173
+ readonly [x: string]: Schema.Json;
174
+ };
175
+ export type Stripepayment_method_alma = { readonly [x: string]: Schema.Json };
176
+ export type Stripepayment_method_amazon_pay = {
177
+ readonly [x: string]: Schema.Json;
178
+ };
179
+ export type Stripepayment_method_au_becs_debit = {
180
+ readonly bsb_number?: string | null;
181
+ readonly fingerprint?: string | null;
182
+ readonly last4?: string | null;
183
+ } & { readonly [x: string]: Schema.Json };
184
+ export type Stripepayment_method_bacs_debit = {
185
+ readonly fingerprint?: string | null;
186
+ readonly last4?: string | null;
187
+ readonly sort_code?: string | null;
188
+ } & { readonly [x: string]: Schema.Json };
189
+ export type Stripepayment_method_bancontact = {
190
+ readonly [x: string]: Schema.Json;
191
+ };
192
+ export type Stripepayment_method_billie = { readonly [x: string]: Schema.Json };
193
+ export type Stripepayment_method_bizum = {
194
+ readonly buyer_id?: string | null;
195
+ } & { readonly [x: string]: Schema.Json };
196
+ export type Stripepayment_method_blik = {
197
+ readonly buyer_id?: string | null;
198
+ } & { readonly [x: string]: Schema.Json };
199
+ export type Stripepayment_method_boleto = { readonly tax_id: string } & {
200
+ readonly [x: string]: Schema.Json;
201
+ };
202
+ export type Stripepayment_method_card_checks = {
203
+ readonly address_line1_check?: string | null;
204
+ readonly address_postal_code_check?: string | null;
205
+ readonly cvc_check?: string | null;
206
+ } & { readonly [x: string]: Schema.Json };
207
+ export type Stripepayment_method_config_biz_payment_method_configuration_details =
208
+ { readonly id: string; readonly parent?: string | null } & {
209
+ readonly [x: string]: Schema.Json;
210
+ };
211
+ export type Stripepayment_method_card_wallet_amex_express_checkout = {
212
+ readonly [x: string]: Schema.Json;
213
+ };
214
+ export type Stripepayment_method_card_wallet_apple_pay = {
215
+ readonly [x: string]: Schema.Json;
216
+ };
217
+ export type Stripepayment_method_card_wallet_google_pay = {
218
+ readonly [x: string]: Schema.Json;
219
+ };
220
+ export type Stripepayment_method_card_wallet_link = {
221
+ readonly [x: string]: Schema.Json;
222
+ };
223
+ export type Stripepayment_method_card_wallet_samsung_pay = {
224
+ readonly [x: string]: Schema.Json;
225
+ };
226
+ export type Stripepayment_method_card_present_networks = {
227
+ readonly available: ReadonlyArray<string>;
228
+ readonly preferred?: string | null;
229
+ } & { readonly [x: string]: Schema.Json };
230
+ export type Stripepayment_method_cashapp = {
231
+ readonly buyer_id?: string | null;
232
+ readonly cashtag?: string | null;
233
+ } & { readonly [x: string]: Schema.Json };
234
+ export type Stripepayment_method_crypto = { readonly [x: string]: Schema.Json };
235
+ export type Stripepayment_method_customer_balance = {
236
+ readonly [x: string]: Schema.Json;
237
+ };
238
+ export type Stripepayment_method_eps = {
239
+ readonly bank?:
240
+ | "arzte_und_apotheker_bank"
241
+ | "austrian_anadi_bank_ag"
242
+ | "bank_austria"
243
+ | "bankhaus_carl_spangler"
244
+ | "bankhaus_schelhammer_und_schattera_ag"
245
+ | "bawag_psk_ag"
246
+ | "bks_bank_ag"
247
+ | "brull_kallmus_bank_ag"
248
+ | "btv_vier_lander_bank"
249
+ | "capital_bank_grawe_gruppe_ag"
250
+ | "deutsche_bank_ag"
251
+ | "dolomitenbank"
252
+ | "easybank_ag"
253
+ | "erste_bank_und_sparkassen"
254
+ | "hypo_alpeadriabank_international_ag"
255
+ | "hypo_bank_burgenland_aktiengesellschaft"
256
+ | "hypo_noe_lb_fur_niederosterreich_u_wien"
257
+ | "hypo_oberosterreich_salzburg_steiermark"
258
+ | "hypo_tirol_bank_ag"
259
+ | "hypo_vorarlberg_bank_ag"
260
+ | "marchfelder_bank"
261
+ | "oberbank_ag"
262
+ | "raiffeisen_bankengruppe_osterreich"
263
+ | "schoellerbank_ag"
264
+ | "sparda_bank_wien"
265
+ | "volksbank_gruppe"
266
+ | "volkskreditbank_ag"
267
+ | "vr_bank_braunau"
268
+ | null;
269
+ } & { readonly [x: string]: Schema.Json };
270
+ export type Stripepayment_method_fpx = {
271
+ readonly bank:
272
+ | "affin_bank"
273
+ | "agrobank"
274
+ | "alliance_bank"
275
+ | "ambank"
276
+ | "bank_islam"
277
+ | "bank_muamalat"
278
+ | "bank_of_china"
279
+ | "bank_rakyat"
280
+ | "bnp_paribas"
281
+ | "bsn"
282
+ | "cimb"
283
+ | "citibank"
284
+ | "deutsche_bank"
285
+ | "hong_leong_bank"
286
+ | "hsbc"
287
+ | "kfh"
288
+ | "maybank2e"
289
+ | "maybank2u"
290
+ | "mbsb_bank"
291
+ | "ocbc"
292
+ | "pb_enterprise"
293
+ | "public_bank"
294
+ | "rhb"
295
+ | "standard_chartered"
296
+ | "uob";
297
+ } & { readonly [x: string]: Schema.Json };
298
+ export type Stripepayment_method_giropay = {
299
+ readonly [x: string]: Schema.Json;
300
+ };
301
+ export type Stripepayment_method_grabpay = {
302
+ readonly [x: string]: Schema.Json;
303
+ };
304
+ export type Stripepayment_method_ideal = {
305
+ readonly bank?:
306
+ | "abn_amro"
307
+ | "adyen"
308
+ | "asn_bank"
309
+ | "bunq"
310
+ | "buut"
311
+ | "finom"
312
+ | "handelsbanken"
313
+ | "ing"
314
+ | "knab"
315
+ | "mollie"
316
+ | "moneyou"
317
+ | "n26"
318
+ | "nn"
319
+ | "rabobank"
320
+ | "regiobank"
321
+ | "revolut"
322
+ | "sns_bank"
323
+ | "triodos_bank"
324
+ | "van_lanschot"
325
+ | "yoursafe"
326
+ | null;
327
+ readonly bic?:
328
+ | "ABNANL2A"
329
+ | "ADYBNL2A"
330
+ | "ASNBNL21"
331
+ | "BITSNL2A"
332
+ | "BUNQNL2A"
333
+ | "BUUTNL2A"
334
+ | "FNOMNL22"
335
+ | "FVLBNL22"
336
+ | "HANDNL2A"
337
+ | "INGBNL2A"
338
+ | "KNABNL2H"
339
+ | "MLLENL2A"
340
+ | "MOYONL21"
341
+ | "NNBANL2G"
342
+ | "NTSBDEB1"
343
+ | "RABONL2U"
344
+ | "RBRBNL21"
345
+ | "REVOIE23"
346
+ | "REVOLT21"
347
+ | "SNSBNL2A"
348
+ | "TRIONL2U"
349
+ | null;
350
+ } & { readonly [x: string]: Schema.Json };
351
+ export type Stripepayment_method_kakao_pay = {
352
+ readonly [x: string]: Schema.Json;
353
+ };
354
+ export type Stripepayment_method_konbini = {
355
+ readonly [x: string]: Schema.Json;
356
+ };
357
+ export type Stripepayment_method_kr_card = {
358
+ readonly brand?:
359
+ | "bc"
360
+ | "citi"
361
+ | "hana"
362
+ | "hyundai"
363
+ | "jeju"
364
+ | "jeonbuk"
365
+ | "kakaobank"
366
+ | "kbank"
367
+ | "kdbbank"
368
+ | "kookmin"
369
+ | "kwangju"
370
+ | "lotte"
371
+ | "mg"
372
+ | "nh"
373
+ | "post"
374
+ | "samsung"
375
+ | "savingsbank"
376
+ | "shinhan"
377
+ | "shinhyup"
378
+ | "suhyup"
379
+ | "tossbank"
380
+ | "woori"
381
+ | null;
382
+ readonly last4?: string | null;
383
+ } & { readonly [x: string]: Schema.Json };
384
+ export type Stripepayment_method_link = { readonly email?: string | null } & {
385
+ readonly [x: string]: Schema.Json;
386
+ };
387
+ export type Stripepayment_method_mb_way = { readonly [x: string]: Schema.Json };
388
+ export type Stripepayment_method_mobilepay = {
389
+ readonly [x: string]: Schema.Json;
390
+ };
391
+ export type Stripepayment_method_multibanco = {
392
+ readonly [x: string]: Schema.Json;
393
+ };
394
+ export type Stripepayment_method_naver_pay = {
395
+ readonly buyer_id?: string | null;
396
+ readonly funding: "card" | "points";
397
+ } & { readonly [x: string]: Schema.Json };
398
+ export type Stripepayment_method_nz_bank_account = {
399
+ readonly account_holder_name?: string | null;
400
+ readonly bank_code: string;
401
+ readonly bank_name: string;
402
+ readonly branch_code: string;
403
+ readonly last4: string;
404
+ readonly suffix?: string | null;
405
+ } & { readonly [x: string]: Schema.Json };
406
+ export type Stripepayment_method_oxxo = { readonly [x: string]: Schema.Json };
407
+ export type Stripepayment_method_p24 = {
408
+ readonly bank?:
409
+ | "alior_bank"
410
+ | "bank_millennium"
411
+ | "bank_nowy_bfg_sa"
412
+ | "bank_pekao_sa"
413
+ | "banki_spbdzielcze"
414
+ | "blik"
415
+ | "bnp_paribas"
416
+ | "boz"
417
+ | "citi_handlowy"
418
+ | "credit_agricole"
419
+ | "envelobank"
420
+ | "etransfer_pocztowy24"
421
+ | "getin_bank"
422
+ | "ideabank"
423
+ | "ing"
424
+ | "inteligo"
425
+ | "mbank_mtransfer"
426
+ | "nest_przelew"
427
+ | "noble_pay"
428
+ | "pbac_z_ipko"
429
+ | "plus_bank"
430
+ | "santander_przelew24"
431
+ | "tmobile_usbugi_bankowe"
432
+ | "toyota_bank"
433
+ | "velobank"
434
+ | "volkswagen_bank"
435
+ | null;
436
+ } & { readonly [x: string]: Schema.Json };
437
+ export type Stripepayment_method_pay_by_bank = {
438
+ readonly [x: string]: Schema.Json;
439
+ };
440
+ export type Stripepayment_method_payco = { readonly [x: string]: Schema.Json };
441
+ export type Stripepayment_method_paynow = { readonly [x: string]: Schema.Json };
442
+ export type Stripepayment_method_paypal = {
443
+ readonly country?: string | null;
444
+ readonly payer_email?: string | null;
445
+ readonly payer_id?: string | null;
446
+ } & { readonly [x: string]: Schema.Json };
447
+ export type Stripepayment_method_paypay = { readonly [x: string]: Schema.Json };
448
+ export type Stripepayment_method_payto = {
449
+ readonly bsb_number?: string | null;
450
+ readonly last4?: string | null;
451
+ readonly pay_id?: string | null;
452
+ } & { readonly [x: string]: Schema.Json };
453
+ export type Stripepayment_method_pix = {
454
+ readonly fingerprint?: string | null;
455
+ } & { readonly [x: string]: Schema.Json };
456
+ export type Stripepayment_method_promptpay = {
457
+ readonly [x: string]: Schema.Json;
458
+ };
459
+ export type Stripepayment_method_revolut_pay = {
460
+ readonly [x: string]: Schema.Json;
461
+ };
462
+ export type Stripepayment_method_samsung_pay = {
463
+ readonly [x: string]: Schema.Json;
464
+ };
465
+ export type Stripepayment_method_satispay = {
466
+ readonly [x: string]: Schema.Json;
467
+ };
468
+ export type Stripepayment_method_scalapay = {
469
+ readonly [x: string]: Schema.Json;
470
+ };
471
+ export type Stripepayment_method_sequra = { readonly [x: string]: Schema.Json };
472
+ export type Stripepayment_method_sofort = {
473
+ readonly country?: string | null;
474
+ } & { readonly [x: string]: Schema.Json };
475
+ export type Stripepayment_method_sunbit = { readonly [x: string]: Schema.Json };
476
+ export type Stripepayment_method_swish = { readonly [x: string]: Schema.Json };
477
+ export type Stripepayment_method_twint = { readonly [x: string]: Schema.Json };
478
+ export type Stripepayment_method_upi = { readonly vpa?: string | null } & {
479
+ readonly [x: string]: Schema.Json;
480
+ };
481
+ export type Stripepayment_method_us_bank_account_blocked = {
482
+ readonly network_code?:
483
+ | "R02"
484
+ | "R03"
485
+ | "R04"
486
+ | "R05"
487
+ | "R07"
488
+ | "R08"
489
+ | "R10"
490
+ | "R11"
491
+ | "R16"
492
+ | "R20"
493
+ | "R29"
494
+ | "R31"
495
+ | null;
496
+ readonly reason?:
497
+ | "bank_account_closed"
498
+ | "bank_account_frozen"
499
+ | "bank_account_invalid_details"
500
+ | "bank_account_restricted"
501
+ | "bank_account_unusable"
502
+ | "debit_not_authorized"
503
+ | "tokenized_account_number_deactivated"
504
+ | null;
505
+ } & { readonly [x: string]: Schema.Json };
506
+ export type Stripepayment_method_wechat_pay = {
507
+ readonly [x: string]: Schema.Json;
508
+ };
509
+ export type Stripepayment_method_zip = { readonly [x: string]: Schema.Json };
510
+ export type Stripepayment_method_config_resource_display_preference = {
511
+ readonly overridable?: boolean | null;
512
+ readonly preference: "none" | "off" | "on";
513
+ readonly value: "off" | "on";
514
+ } & { readonly [x: string]: Schema.Json };
515
+ export type Stripepayment_method_domain_resource_payment_method_status_details =
516
+ { readonly error_message: string } & { readonly [x: string]: Schema.Json };
517
+ export type Stripepayment_method_card_wallet_masterpass = {
518
+ readonly billing_address?: Stripeaddress | null;
519
+ readonly email?: string | null;
520
+ readonly name?: string | null;
521
+ readonly shipping_address?: Stripeaddress | null;
522
+ } & { readonly [x: string]: Schema.Json };
523
+ export type Stripepayment_method_card_wallet_visa_checkout = {
524
+ readonly billing_address?: Stripeaddress | null;
525
+ readonly email?: string | null;
526
+ readonly name?: string | null;
527
+ readonly shipping_address?: Stripeaddress | null;
528
+ } & { readonly [x: string]: Schema.Json };
529
+ export type Stripepayment_method_card_present = {
530
+ readonly brand?: string | null;
531
+ readonly brand_product?: string | null;
532
+ readonly cardholder_name?: string | null;
533
+ readonly country?: string | null;
534
+ readonly description?: string | null;
535
+ readonly exp_month: number;
536
+ readonly exp_year: number;
537
+ readonly fingerprint?: string | null;
538
+ readonly funding?: string | null;
539
+ readonly issuer?: string | null;
540
+ readonly last4?: string | null;
541
+ readonly networks?: Stripepayment_method_card_present_networks | null;
542
+ readonly offline?: Stripepayment_method_details_card_present_offline | null;
543
+ readonly preferred_locales?: ReadonlyArray<string> | null;
544
+ readonly read_method?:
545
+ | "contact_emv"
546
+ | "contactless_emv"
547
+ | "contactless_magstripe_mode"
548
+ | "magnetic_stripe_fallback"
549
+ | "magnetic_stripe_track2"
550
+ | null;
551
+ readonly wallet?: Stripepayment_flows_private_payment_methods_card_present_common_wallet;
552
+ } & { readonly [x: string]: Schema.Json };
553
+ export type Stripepayment_method_interac_present = {
554
+ readonly brand?: string | null;
555
+ readonly cardholder_name?: string | null;
556
+ readonly country?: string | null;
557
+ readonly description?: string | null;
558
+ readonly exp_month: number;
559
+ readonly exp_year: number;
560
+ readonly fingerprint?: string | null;
561
+ readonly funding?: string | null;
562
+ readonly issuer?: string | null;
563
+ readonly last4?: string | null;
564
+ readonly networks?: Stripepayment_method_card_present_networks | null;
565
+ readonly preferred_locales?: ReadonlyArray<string> | null;
566
+ readonly read_method?:
567
+ | "contact_emv"
568
+ | "contactless_emv"
569
+ | "contactless_magstripe_mode"
570
+ | "magnetic_stripe_fallback"
571
+ | "magnetic_stripe_track2"
572
+ | null;
573
+ } & { readonly [x: string]: Schema.Json };
574
+ export type Stripepayment_method_custom = {
575
+ readonly display_name?: string | null;
576
+ readonly logo?: Stripecustom_logo | null;
577
+ readonly type: string;
578
+ } & { readonly [x: string]: Schema.Json };
579
+ export type Stripepayment_method_klarna = {
580
+ readonly dob?: Stripepayment_flows_private_payment_methods_klarna_dob | null;
581
+ } & { readonly [x: string]: Schema.Json };
582
+ export type Stripepayment_method_us_bank_account_status_details = {
583
+ readonly blocked?: Stripepayment_method_us_bank_account_blocked;
584
+ } & { readonly [x: string]: Schema.Json };
585
+ export type Stripepayment_method_config_resource_payment_method_properties = {
586
+ readonly available: boolean;
587
+ readonly display_preference: Stripepayment_method_config_resource_display_preference;
588
+ } & { readonly [x: string]: Schema.Json };
589
+ export type Stripepayment_method_domain_resource_payment_method_status = {
590
+ readonly status: "active" | "inactive";
591
+ readonly status_details?: Stripepayment_method_domain_resource_payment_method_status_details;
592
+ } & { readonly [x: string]: Schema.Json };
593
+ export type Stripepayment_method_card_wallet = {
594
+ readonly amex_express_checkout?: Stripepayment_method_card_wallet_amex_express_checkout;
595
+ readonly apple_pay?: Stripepayment_method_card_wallet_apple_pay;
596
+ readonly dynamic_last4?: string | null;
597
+ readonly google_pay?: Stripepayment_method_card_wallet_google_pay;
598
+ readonly link?: Stripepayment_method_card_wallet_link;
599
+ readonly masterpass?: Stripepayment_method_card_wallet_masterpass;
600
+ readonly samsung_pay?: Stripepayment_method_card_wallet_samsung_pay;
601
+ readonly type:
602
+ | "amex_express_checkout"
603
+ | "apple_pay"
604
+ | "google_pay"
605
+ | "link"
606
+ | "masterpass"
607
+ | "samsung_pay"
608
+ | "visa_checkout";
609
+ readonly visa_checkout?: Stripepayment_method_card_wallet_visa_checkout;
610
+ } & { readonly [x: string]: Schema.Json };
611
+ export type Stripepayment_method_us_bank_account = {
612
+ readonly account_holder_type?: "company" | "individual" | null;
613
+ readonly account_type?: "checking" | "savings" | null;
614
+ readonly bank_name?: string | null;
615
+ readonly financial_connections_account?: string | null;
616
+ readonly fingerprint?: string | null;
617
+ readonly last4?: string | null;
618
+ readonly networks?: Stripeus_bank_account_networks | null;
619
+ readonly routing_number?: string | null;
620
+ readonly status_details?: Stripepayment_method_us_bank_account_status_details | null;
621
+ } & { readonly [x: string]: Schema.Json };
622
+ export type Stripepayment_method_configuration = {
623
+ readonly acss_debit?: Stripepayment_method_config_resource_payment_method_properties;
624
+ readonly active: boolean;
625
+ readonly affirm?: Stripepayment_method_config_resource_payment_method_properties;
626
+ readonly afterpay_clearpay?: Stripepayment_method_config_resource_payment_method_properties;
627
+ readonly alipay?: Stripepayment_method_config_resource_payment_method_properties;
628
+ readonly alma?: Stripepayment_method_config_resource_payment_method_properties;
629
+ readonly amazon_pay?: Stripepayment_method_config_resource_payment_method_properties;
630
+ readonly apple_pay?: Stripepayment_method_config_resource_payment_method_properties;
631
+ readonly application?: string | null;
632
+ readonly au_becs_debit?: Stripepayment_method_config_resource_payment_method_properties;
633
+ readonly bacs_debit?: Stripepayment_method_config_resource_payment_method_properties;
634
+ readonly bancontact?: Stripepayment_method_config_resource_payment_method_properties;
635
+ readonly billie?: Stripepayment_method_config_resource_payment_method_properties;
636
+ readonly bizum?: Stripepayment_method_config_resource_payment_method_properties;
637
+ readonly blik?: Stripepayment_method_config_resource_payment_method_properties;
638
+ readonly boleto?: Stripepayment_method_config_resource_payment_method_properties;
639
+ readonly card?: Stripepayment_method_config_resource_payment_method_properties;
640
+ readonly cartes_bancaires?: Stripepayment_method_config_resource_payment_method_properties;
641
+ readonly cashapp?: Stripepayment_method_config_resource_payment_method_properties;
642
+ readonly crypto?: Stripepayment_method_config_resource_payment_method_properties;
643
+ readonly customer_balance?: Stripepayment_method_config_resource_payment_method_properties;
644
+ readonly eps?: Stripepayment_method_config_resource_payment_method_properties;
645
+ readonly fpx?: Stripepayment_method_config_resource_payment_method_properties;
646
+ readonly giropay?: Stripepayment_method_config_resource_payment_method_properties;
647
+ readonly google_pay?: Stripepayment_method_config_resource_payment_method_properties;
648
+ readonly grabpay?: Stripepayment_method_config_resource_payment_method_properties;
649
+ readonly id: string;
650
+ readonly ideal?: Stripepayment_method_config_resource_payment_method_properties;
651
+ readonly is_default: boolean;
652
+ readonly jcb?: Stripepayment_method_config_resource_payment_method_properties;
653
+ readonly kakao_pay?: Stripepayment_method_config_resource_payment_method_properties;
654
+ readonly klarna?: Stripepayment_method_config_resource_payment_method_properties;
655
+ readonly konbini?: Stripepayment_method_config_resource_payment_method_properties;
656
+ readonly kr_card?: Stripepayment_method_config_resource_payment_method_properties;
657
+ readonly link?: Stripepayment_method_config_resource_payment_method_properties;
658
+ readonly livemode: boolean;
659
+ readonly mb_way?: Stripepayment_method_config_resource_payment_method_properties;
660
+ readonly mobilepay?: Stripepayment_method_config_resource_payment_method_properties;
661
+ readonly multibanco?: Stripepayment_method_config_resource_payment_method_properties;
662
+ readonly name: string;
663
+ readonly naver_pay?: Stripepayment_method_config_resource_payment_method_properties;
664
+ readonly nz_bank_account?: Stripepayment_method_config_resource_payment_method_properties;
665
+ readonly object: "payment_method_configuration";
666
+ readonly oxxo?: Stripepayment_method_config_resource_payment_method_properties;
667
+ readonly p24?: Stripepayment_method_config_resource_payment_method_properties;
668
+ readonly parent?: string | null;
669
+ readonly pay_by_bank?: Stripepayment_method_config_resource_payment_method_properties;
670
+ readonly payco?: Stripepayment_method_config_resource_payment_method_properties;
671
+ readonly paynow?: Stripepayment_method_config_resource_payment_method_properties;
672
+ readonly paypal?: Stripepayment_method_config_resource_payment_method_properties;
673
+ readonly paypay?: Stripepayment_method_config_resource_payment_method_properties;
674
+ readonly payto?: Stripepayment_method_config_resource_payment_method_properties;
675
+ readonly pix?: Stripepayment_method_config_resource_payment_method_properties;
676
+ readonly promptpay?: Stripepayment_method_config_resource_payment_method_properties;
677
+ readonly revolut_pay?: Stripepayment_method_config_resource_payment_method_properties;
678
+ readonly samsung_pay?: Stripepayment_method_config_resource_payment_method_properties;
679
+ readonly satispay?: Stripepayment_method_config_resource_payment_method_properties;
680
+ readonly scalapay?: Stripepayment_method_config_resource_payment_method_properties;
681
+ readonly sepa_debit?: Stripepayment_method_config_resource_payment_method_properties;
682
+ readonly sequra?: Stripepayment_method_config_resource_payment_method_properties;
683
+ readonly sofort?: Stripepayment_method_config_resource_payment_method_properties;
684
+ readonly sunbit?: Stripepayment_method_config_resource_payment_method_properties;
685
+ readonly swish?: Stripepayment_method_config_resource_payment_method_properties;
686
+ readonly twint?: Stripepayment_method_config_resource_payment_method_properties;
687
+ readonly upi?: Stripepayment_method_config_resource_payment_method_properties;
688
+ readonly us_bank_account?: Stripepayment_method_config_resource_payment_method_properties;
689
+ readonly wechat_pay?: Stripepayment_method_config_resource_payment_method_properties;
690
+ readonly zip?: Stripepayment_method_config_resource_payment_method_properties;
691
+ } & { readonly [x: string]: Schema.Json };
692
+ export type Stripepayment_method_domain = {
693
+ readonly amazon_pay: Stripepayment_method_domain_resource_payment_method_status;
694
+ readonly apple_pay: Stripepayment_method_domain_resource_payment_method_status;
695
+ readonly created: number;
696
+ readonly domain_name: string;
697
+ readonly enabled: boolean;
698
+ readonly google_pay: Stripepayment_method_domain_resource_payment_method_status;
699
+ readonly id: string;
700
+ readonly klarna: Stripepayment_method_domain_resource_payment_method_status;
701
+ readonly link: Stripepayment_method_domain_resource_payment_method_status;
702
+ readonly livemode: boolean;
703
+ readonly object: "payment_method_domain";
704
+ readonly paypal: Stripepayment_method_domain_resource_payment_method_status;
705
+ } & { readonly [x: string]: Schema.Json };
706
+ export type Stripepayment_method_card_generated_card = {
707
+ readonly charge?: string | null;
708
+ readonly payment_method_details?: Stripecard_generated_from_payment_method_details | null;
709
+ readonly setup_attempt?: string | Stripesetup_attempt | null;
710
+ } & { readonly [x: string]: Schema.Json };
711
+ export type Stripepayment_method_card = {
712
+ readonly brand: string;
713
+ readonly checks?: Stripepayment_method_card_checks | null;
714
+ readonly country?: string | null;
715
+ readonly display_brand?: string | null;
716
+ readonly exp_month: number;
717
+ readonly exp_year: number;
718
+ readonly fingerprint?: string | null;
719
+ readonly funding: string;
720
+ readonly generated_from?: Stripepayment_method_card_generated_card | null;
721
+ readonly last4: string;
722
+ readonly networks?: Stripenetworks | null;
723
+ readonly regulated_status?: "regulated" | "unregulated" | null;
724
+ readonly three_d_secure_usage?: Stripethree_d_secure_usage | null;
725
+ readonly wallet?: Stripepayment_method_card_wallet | null;
726
+ } & { readonly [x: string]: Schema.Json };
727
+
728
+ export const Stripepayment_method = Schema.suspend(
729
+ (): Schema.Codec<Stripepayment_method> =>
730
+ Schema.StructWithRest(
731
+ Schema.Struct({
732
+ acss_debit: Schema.optionalKey(Stripepayment_method_acss_debit),
733
+ affirm: Schema.optionalKey(Stripepayment_method_affirm),
734
+ afterpay_clearpay: Schema.optionalKey(
735
+ Stripepayment_method_afterpay_clearpay,
736
+ ),
737
+ alipay: Schema.optionalKey(
738
+ Stripepayment_flows_private_payment_methods_alipay,
739
+ ),
740
+ allow_redisplay: Schema.optionalKey(
741
+ Schema.Literals(["always", "limited", "unspecified"]).annotate({
742
+ description:
743
+ "This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to “unspecified”.",
744
+ }),
745
+ ),
746
+ alma: Schema.optionalKey(Stripepayment_method_alma),
747
+ amazon_pay: Schema.optionalKey(Stripepayment_method_amazon_pay),
748
+ au_becs_debit: Schema.optionalKey(Stripepayment_method_au_becs_debit),
749
+ bacs_debit: Schema.optionalKey(Stripepayment_method_bacs_debit),
750
+ bancontact: Schema.optionalKey(Stripepayment_method_bancontact),
751
+ billie: Schema.optionalKey(Stripepayment_method_billie),
752
+ billing_details: Stripebilling_details,
753
+ bizum: Schema.optionalKey(Stripepayment_method_bizum),
754
+ blik: Schema.optionalKey(Stripepayment_method_blik),
755
+ boleto: Schema.optionalKey(Stripepayment_method_boleto),
756
+ card: Schema.optionalKey(Stripepayment_method_card),
757
+ card_present: Schema.optionalKey(Stripepayment_method_card_present),
758
+ cashapp: Schema.optionalKey(Stripepayment_method_cashapp),
759
+ created: Schema.Number.annotate({
760
+ description:
761
+ "Time at which the object was created. Measured in seconds since the Unix epoch.",
762
+ format: "unix-time",
763
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
764
+ crypto: Schema.optionalKey(Stripepayment_method_crypto),
765
+ custom: Schema.optionalKey(Stripepayment_method_custom),
766
+ customer: Schema.optionalKey(
767
+ Schema.Union([
768
+ Schema.Union([
769
+ Schema.String.check(
770
+ Schema.isMaxCodePoints(5000).annotate({
771
+ expected: "a string with at most 5000 code points",
772
+ }),
773
+ ),
774
+ Schema.suspend(
775
+ (): Schema.Codec<Stripecustomer> => Stripecustomer,
776
+ ),
777
+ ]).annotate({
778
+ description:
779
+ "The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.",
780
+ }),
781
+ Schema.Null,
782
+ ]),
783
+ ),
784
+ customer_account: Schema.optionalKey(
785
+ Schema.Union([
786
+ Schema.String.check(
787
+ Schema.isMaxCodePoints(5000).annotate({
788
+ expected: "a string with at most 5000 code points",
789
+ }),
790
+ ),
791
+ Schema.Null,
792
+ ]),
793
+ ),
794
+ customer_balance: Schema.optionalKey(
795
+ Stripepayment_method_customer_balance,
796
+ ),
797
+ eps: Schema.optionalKey(Stripepayment_method_eps),
798
+ fpx: Schema.optionalKey(Stripepayment_method_fpx),
799
+ giropay: Schema.optionalKey(Stripepayment_method_giropay),
800
+ grabpay: Schema.optionalKey(Stripepayment_method_grabpay),
801
+ id: Schema.String.annotate({
802
+ description: "Unique identifier for the object.",
803
+ }).check(
804
+ Schema.isMaxCodePoints(5000).annotate({
805
+ expected: "a string with at most 5000 code points",
806
+ }),
807
+ ),
808
+ ideal: Schema.optionalKey(Stripepayment_method_ideal),
809
+ interac_present: Schema.optionalKey(
810
+ Stripepayment_method_interac_present,
811
+ ),
812
+ kakao_pay: Schema.optionalKey(Stripepayment_method_kakao_pay),
813
+ klarna: Schema.optionalKey(Stripepayment_method_klarna),
814
+ konbini: Schema.optionalKey(Stripepayment_method_konbini),
815
+ kr_card: Schema.optionalKey(Stripepayment_method_kr_card),
816
+ link: Schema.optionalKey(Stripepayment_method_link),
817
+ livemode: Schema.Boolean.annotate({
818
+ description:
819
+ "If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.",
820
+ }),
821
+ mb_way: Schema.optionalKey(Stripepayment_method_mb_way),
822
+ metadata: Schema.optionalKey(
823
+ Schema.Union([
824
+ Schema.Record(
825
+ Schema.String,
826
+ Schema.String.check(
827
+ Schema.isMaxCodePoints(500).annotate({
828
+ expected: "a string with at most 500 code points",
829
+ }),
830
+ ),
831
+ ).annotate({
832
+ description:
833
+ "Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
834
+ }),
835
+ Schema.Null,
836
+ ]),
837
+ ),
838
+ mobilepay: Schema.optionalKey(Stripepayment_method_mobilepay),
839
+ multibanco: Schema.optionalKey(Stripepayment_method_multibanco),
840
+ naver_pay: Schema.optionalKey(Stripepayment_method_naver_pay),
841
+ nz_bank_account: Schema.optionalKey(
842
+ Stripepayment_method_nz_bank_account,
843
+ ),
844
+ object: Schema.Literal("payment_method").annotate({
845
+ description:
846
+ "String representing the object's type. Objects of the same type share the same value.",
847
+ }),
848
+ oxxo: Schema.optionalKey(Stripepayment_method_oxxo),
849
+ p24: Schema.optionalKey(Stripepayment_method_p24),
850
+ pay_by_bank: Schema.optionalKey(Stripepayment_method_pay_by_bank),
851
+ payco: Schema.optionalKey(Stripepayment_method_payco),
852
+ paynow: Schema.optionalKey(Stripepayment_method_paynow),
853
+ paypal: Schema.optionalKey(Stripepayment_method_paypal),
854
+ paypay: Schema.optionalKey(Stripepayment_method_paypay),
855
+ payto: Schema.optionalKey(Stripepayment_method_payto),
856
+ pix: Schema.optionalKey(Stripepayment_method_pix),
857
+ promptpay: Schema.optionalKey(Stripepayment_method_promptpay),
858
+ radar_options: Schema.optionalKey(Striperadar_radar_options),
859
+ revolut_pay: Schema.optionalKey(Stripepayment_method_revolut_pay),
860
+ samsung_pay: Schema.optionalKey(Stripepayment_method_samsung_pay),
861
+ satispay: Schema.optionalKey(Stripepayment_method_satispay),
862
+ scalapay: Schema.optionalKey(Stripepayment_method_scalapay),
863
+ sepa_debit: Schema.optionalKey(
864
+ Schema.suspend(
865
+ (): Schema.Codec<Stripepayment_method_sepa_debit> =>
866
+ Stripepayment_method_sepa_debit,
867
+ ),
868
+ ),
869
+ sequra: Schema.optionalKey(Stripepayment_method_sequra),
870
+ sofort: Schema.optionalKey(Stripepayment_method_sofort),
871
+ sunbit: Schema.optionalKey(Stripepayment_method_sunbit),
872
+ swish: Schema.optionalKey(Stripepayment_method_swish),
873
+ twint: Schema.optionalKey(Stripepayment_method_twint),
874
+ type: Schema.Literals([
875
+ "acss_debit",
876
+ "affirm",
877
+ "afterpay_clearpay",
878
+ "alipay",
879
+ "alma",
880
+ "amazon_pay",
881
+ "au_becs_debit",
882
+ "bacs_debit",
883
+ "bancontact",
884
+ "billie",
885
+ "bizum",
886
+ "blik",
887
+ "boleto",
888
+ "card",
889
+ "card_present",
890
+ "cashapp",
891
+ "crypto",
892
+ "custom",
893
+ "customer_balance",
894
+ "eps",
895
+ "fpx",
896
+ "giropay",
897
+ "grabpay",
898
+ "ideal",
899
+ "interac_present",
900
+ "kakao_pay",
901
+ "klarna",
902
+ "konbini",
903
+ "kr_card",
904
+ "link",
905
+ "mb_way",
906
+ "mobilepay",
907
+ "multibanco",
908
+ "naver_pay",
909
+ "nz_bank_account",
910
+ "oxxo",
911
+ "p24",
912
+ "pay_by_bank",
913
+ "payco",
914
+ "paynow",
915
+ "paypal",
916
+ "paypay",
917
+ "payto",
918
+ "pix",
919
+ "promptpay",
920
+ "revolut_pay",
921
+ "samsung_pay",
922
+ "satispay",
923
+ "scalapay",
924
+ "sepa_debit",
925
+ "sequra",
926
+ "sofort",
927
+ "sunbit",
928
+ "swish",
929
+ "twint",
930
+ "upi",
931
+ "us_bank_account",
932
+ "wechat_pay",
933
+ "zip",
934
+ ]).annotate({
935
+ description:
936
+ "The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.",
937
+ }),
938
+ upi: Schema.optionalKey(Stripepayment_method_upi),
939
+ us_bank_account: Schema.optionalKey(
940
+ Stripepayment_method_us_bank_account,
941
+ ),
942
+ wechat_pay: Schema.optionalKey(Stripepayment_method_wechat_pay),
943
+ zip: Schema.optionalKey(Stripepayment_method_zip),
944
+ }),
945
+ [
946
+ Schema.Record(
947
+ Schema.String,
948
+ Schema.Json.annotate({ expected: "JSON value" }),
949
+ ),
950
+ ],
951
+ ).annotate({
952
+ title: "PaymentMethod",
953
+ description:
954
+ "PaymentMethod objects represent your customer's payment instruments.\nYou can use them with [PaymentIntents](https://docs.stripe.com/payments/payment-intents) to collect payments or save them to\nCustomer objects to store instrument details for future payments.\n\nRelated guides: [Payment Methods](https://docs.stripe.com/payments/payment-methods) and [More Payment Scenarios](https://docs.stripe.com/payments/more-payment-scenarios).",
955
+ identifier: "Stripepayment_method",
956
+ }),
957
+ );
958
+ export const Stripepayment_method_sepa_debit = Schema.StructWithRest(
959
+ Schema.Struct({
960
+ bank_code: Schema.optionalKey(
961
+ Schema.Union([
962
+ Schema.String.annotate({
963
+ description: "Bank code of bank associated with the bank account.",
964
+ }).check(
965
+ Schema.isMaxCodePoints(5000).annotate({
966
+ expected: "a string with at most 5000 code points",
967
+ }),
968
+ ),
969
+ Schema.Null,
970
+ ]),
971
+ ),
972
+ branch_code: Schema.optionalKey(
973
+ Schema.Union([
974
+ Schema.String.annotate({
975
+ description: "Branch code of bank associated with the bank account.",
976
+ }).check(
977
+ Schema.isMaxCodePoints(5000).annotate({
978
+ expected: "a string with at most 5000 code points",
979
+ }),
980
+ ),
981
+ Schema.Null,
982
+ ]),
983
+ ),
984
+ country: Schema.optionalKey(
985
+ Schema.Union([
986
+ Schema.String.annotate({
987
+ description:
988
+ "Two-letter ISO code representing the country the bank account is located in.",
989
+ }).check(
990
+ Schema.isMaxCodePoints(5000).annotate({
991
+ expected: "a string with at most 5000 code points",
992
+ }),
993
+ ),
994
+ Schema.Null,
995
+ ]),
996
+ ),
997
+ fingerprint: Schema.optionalKey(
998
+ Schema.Union([
999
+ Schema.String.annotate({
1000
+ description:
1001
+ "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.",
1002
+ }).check(
1003
+ Schema.isMaxCodePoints(5000).annotate({
1004
+ expected: "a string with at most 5000 code points",
1005
+ }),
1006
+ ),
1007
+ Schema.Null,
1008
+ ]),
1009
+ ),
1010
+ generated_from: Schema.optionalKey(
1011
+ Schema.Union([
1012
+ Schema.Union([
1013
+ Schema.suspend(
1014
+ (): Schema.Codec<Stripesepa_debit_generated_from> =>
1015
+ Stripesepa_debit_generated_from,
1016
+ ),
1017
+ ]).annotate({
1018
+ description:
1019
+ "Information about the object that generated this PaymentMethod.",
1020
+ }),
1021
+ Schema.Null,
1022
+ ]),
1023
+ ),
1024
+ last4: Schema.optionalKey(
1025
+ Schema.Union([
1026
+ Schema.String.annotate({
1027
+ description: "Last four characters of the IBAN.",
1028
+ }).check(
1029
+ Schema.isMaxCodePoints(5000).annotate({
1030
+ expected: "a string with at most 5000 code points",
1031
+ }),
1032
+ ),
1033
+ Schema.Null,
1034
+ ]),
1035
+ ),
1036
+ }),
1037
+ [
1038
+ Schema.Record(
1039
+ Schema.String,
1040
+ Schema.Json.annotate({ expected: "JSON value" }),
1041
+ ),
1042
+ ],
1043
+ ).annotate({
1044
+ title: "payment_method_sepa_debit",
1045
+ description: "",
1046
+ identifier: "Stripepayment_method_sepa_debit",
1047
+ });
1048
+ export const Stripepayment_method_acss_debit = Schema.StructWithRest(
1049
+ Schema.Struct({
1050
+ bank_name: Schema.optionalKey(
1051
+ Schema.Union([
1052
+ Schema.String.annotate({
1053
+ description: "Name of the bank associated with the bank account.",
1054
+ }).check(
1055
+ Schema.isMaxCodePoints(5000).annotate({
1056
+ expected: "a string with at most 5000 code points",
1057
+ }),
1058
+ ),
1059
+ Schema.Null,
1060
+ ]),
1061
+ ),
1062
+ fingerprint: Schema.optionalKey(
1063
+ Schema.Union([
1064
+ Schema.String.annotate({
1065
+ description:
1066
+ "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.",
1067
+ }).check(
1068
+ Schema.isMaxCodePoints(5000).annotate({
1069
+ expected: "a string with at most 5000 code points",
1070
+ }),
1071
+ ),
1072
+ Schema.Null,
1073
+ ]),
1074
+ ),
1075
+ institution_number: Schema.optionalKey(
1076
+ Schema.Union([
1077
+ Schema.String.annotate({
1078
+ description: "Institution number of the bank account.",
1079
+ }).check(
1080
+ Schema.isMaxCodePoints(5000).annotate({
1081
+ expected: "a string with at most 5000 code points",
1082
+ }),
1083
+ ),
1084
+ Schema.Null,
1085
+ ]),
1086
+ ),
1087
+ last4: Schema.optionalKey(
1088
+ Schema.Union([
1089
+ Schema.String.annotate({
1090
+ description: "Last four digits of the bank account number.",
1091
+ }).check(
1092
+ Schema.isMaxCodePoints(5000).annotate({
1093
+ expected: "a string with at most 5000 code points",
1094
+ }),
1095
+ ),
1096
+ Schema.Null,
1097
+ ]),
1098
+ ),
1099
+ transit_number: Schema.optionalKey(
1100
+ Schema.Union([
1101
+ Schema.String.annotate({
1102
+ description: "Transit number of the bank account.",
1103
+ }).check(
1104
+ Schema.isMaxCodePoints(5000).annotate({
1105
+ expected: "a string with at most 5000 code points",
1106
+ }),
1107
+ ),
1108
+ Schema.Null,
1109
+ ]),
1110
+ ),
1111
+ }),
1112
+ [
1113
+ Schema.Record(
1114
+ Schema.String,
1115
+ Schema.Json.annotate({ expected: "JSON value" }),
1116
+ ),
1117
+ ],
1118
+ ).annotate({
1119
+ title: "payment_method_acss_debit",
1120
+ description: "",
1121
+ identifier: "Stripepayment_method_acss_debit",
1122
+ });
1123
+ export const Stripepayment_method_affirm = Schema.Record(
1124
+ Schema.String,
1125
+ Schema.Json.annotate({ expected: "JSON value" }),
1126
+ ).annotate({
1127
+ title: "payment_method_affirm",
1128
+ description: "",
1129
+ identifier: "Stripepayment_method_affirm",
1130
+ });
1131
+ export const Stripepayment_method_afterpay_clearpay = Schema.Record(
1132
+ Schema.String,
1133
+ Schema.Json.annotate({ expected: "JSON value" }),
1134
+ ).annotate({
1135
+ title: "payment_method_afterpay_clearpay",
1136
+ description: "",
1137
+ identifier: "Stripepayment_method_afterpay_clearpay",
1138
+ });
1139
+ export const Stripepayment_method_alma = Schema.Record(
1140
+ Schema.String,
1141
+ Schema.Json.annotate({ expected: "JSON value" }),
1142
+ ).annotate({
1143
+ title: "payment_method_alma",
1144
+ description: "",
1145
+ identifier: "Stripepayment_method_alma",
1146
+ });
1147
+ export const Stripepayment_method_amazon_pay = Schema.Record(
1148
+ Schema.String,
1149
+ Schema.Json.annotate({ expected: "JSON value" }),
1150
+ ).annotate({
1151
+ title: "payment_method_amazon_pay",
1152
+ description: "",
1153
+ identifier: "Stripepayment_method_amazon_pay",
1154
+ });
1155
+ export const Stripepayment_method_au_becs_debit = Schema.StructWithRest(
1156
+ Schema.Struct({
1157
+ bsb_number: Schema.optionalKey(
1158
+ Schema.Union([
1159
+ Schema.String.annotate({
1160
+ description:
1161
+ "Six-digit number identifying bank and branch associated with this bank account.",
1162
+ }).check(
1163
+ Schema.isMaxCodePoints(5000).annotate({
1164
+ expected: "a string with at most 5000 code points",
1165
+ }),
1166
+ ),
1167
+ Schema.Null,
1168
+ ]),
1169
+ ),
1170
+ fingerprint: Schema.optionalKey(
1171
+ Schema.Union([
1172
+ Schema.String.annotate({
1173
+ description:
1174
+ "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.",
1175
+ }).check(
1176
+ Schema.isMaxCodePoints(5000).annotate({
1177
+ expected: "a string with at most 5000 code points",
1178
+ }),
1179
+ ),
1180
+ Schema.Null,
1181
+ ]),
1182
+ ),
1183
+ last4: Schema.optionalKey(
1184
+ Schema.Union([
1185
+ Schema.String.annotate({
1186
+ description: "Last four digits of the bank account number.",
1187
+ }).check(
1188
+ Schema.isMaxCodePoints(5000).annotate({
1189
+ expected: "a string with at most 5000 code points",
1190
+ }),
1191
+ ),
1192
+ Schema.Null,
1193
+ ]),
1194
+ ),
1195
+ }),
1196
+ [
1197
+ Schema.Record(
1198
+ Schema.String,
1199
+ Schema.Json.annotate({ expected: "JSON value" }),
1200
+ ),
1201
+ ],
1202
+ ).annotate({
1203
+ title: "payment_method_au_becs_debit",
1204
+ description: "",
1205
+ identifier: "Stripepayment_method_au_becs_debit",
1206
+ });
1207
+ export const Stripepayment_method_bacs_debit = Schema.StructWithRest(
1208
+ Schema.Struct({
1209
+ fingerprint: Schema.optionalKey(
1210
+ Schema.Union([
1211
+ Schema.String.annotate({
1212
+ description:
1213
+ "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.",
1214
+ }).check(
1215
+ Schema.isMaxCodePoints(5000).annotate({
1216
+ expected: "a string with at most 5000 code points",
1217
+ }),
1218
+ ),
1219
+ Schema.Null,
1220
+ ]),
1221
+ ),
1222
+ last4: Schema.optionalKey(
1223
+ Schema.Union([
1224
+ Schema.String.annotate({
1225
+ description: "Last four digits of the bank account number.",
1226
+ }).check(
1227
+ Schema.isMaxCodePoints(5000).annotate({
1228
+ expected: "a string with at most 5000 code points",
1229
+ }),
1230
+ ),
1231
+ Schema.Null,
1232
+ ]),
1233
+ ),
1234
+ sort_code: Schema.optionalKey(
1235
+ Schema.Union([
1236
+ Schema.String.annotate({
1237
+ description: "Sort code of the bank account. (e.g., `10-20-30`)",
1238
+ }).check(
1239
+ Schema.isMaxCodePoints(5000).annotate({
1240
+ expected: "a string with at most 5000 code points",
1241
+ }),
1242
+ ),
1243
+ Schema.Null,
1244
+ ]),
1245
+ ),
1246
+ }),
1247
+ [
1248
+ Schema.Record(
1249
+ Schema.String,
1250
+ Schema.Json.annotate({ expected: "JSON value" }),
1251
+ ),
1252
+ ],
1253
+ ).annotate({
1254
+ title: "payment_method_bacs_debit",
1255
+ description: "",
1256
+ identifier: "Stripepayment_method_bacs_debit",
1257
+ });
1258
+ export const Stripepayment_method_bancontact = Schema.Record(
1259
+ Schema.String,
1260
+ Schema.Json.annotate({ expected: "JSON value" }),
1261
+ ).annotate({
1262
+ title: "payment_method_bancontact",
1263
+ description: "",
1264
+ identifier: "Stripepayment_method_bancontact",
1265
+ });
1266
+ export const Stripepayment_method_billie = Schema.Record(
1267
+ Schema.String,
1268
+ Schema.Json.annotate({ expected: "JSON value" }),
1269
+ ).annotate({
1270
+ title: "payment_method_billie",
1271
+ description: "",
1272
+ identifier: "Stripepayment_method_billie",
1273
+ });
1274
+ export const Stripepayment_method_bizum = Schema.StructWithRest(
1275
+ Schema.Struct({
1276
+ buyer_id: Schema.optionalKey(
1277
+ Schema.Union([
1278
+ Schema.String.annotate({
1279
+ description:
1280
+ "A unique identifier for the buyer as determined by the local payment processor.",
1281
+ }).check(
1282
+ Schema.isMaxCodePoints(5000).annotate({
1283
+ expected: "a string with at most 5000 code points",
1284
+ }),
1285
+ ),
1286
+ Schema.Null,
1287
+ ]),
1288
+ ),
1289
+ }),
1290
+ [
1291
+ Schema.Record(
1292
+ Schema.String,
1293
+ Schema.Json.annotate({ expected: "JSON value" }),
1294
+ ),
1295
+ ],
1296
+ ).annotate({
1297
+ title: "payment_method_bizum",
1298
+ description: "",
1299
+ identifier: "Stripepayment_method_bizum",
1300
+ });
1301
+ export const Stripepayment_method_blik = Schema.StructWithRest(
1302
+ Schema.Struct({
1303
+ buyer_id: Schema.optionalKey(
1304
+ Schema.Union([
1305
+ Schema.String.annotate({
1306
+ description:
1307
+ "A unique and immutable identifier assigned by BLIK to every buyer.",
1308
+ }).check(
1309
+ Schema.isMaxCodePoints(5000).annotate({
1310
+ expected: "a string with at most 5000 code points",
1311
+ }),
1312
+ ),
1313
+ Schema.Null,
1314
+ ]),
1315
+ ),
1316
+ }),
1317
+ [
1318
+ Schema.Record(
1319
+ Schema.String,
1320
+ Schema.Json.annotate({ expected: "JSON value" }),
1321
+ ),
1322
+ ],
1323
+ ).annotate({
1324
+ title: "payment_method_blik",
1325
+ description: "",
1326
+ identifier: "Stripepayment_method_blik",
1327
+ });
1328
+ export const Stripepayment_method_boleto = Schema.StructWithRest(
1329
+ Schema.Struct({
1330
+ tax_id: Schema.String.annotate({
1331
+ description: "Uniquely identifies the customer tax id (CNPJ or CPF)",
1332
+ }).check(
1333
+ Schema.isMaxCodePoints(5000).annotate({
1334
+ expected: "a string with at most 5000 code points",
1335
+ }),
1336
+ ),
1337
+ }),
1338
+ [
1339
+ Schema.Record(
1340
+ Schema.String,
1341
+ Schema.Json.annotate({ expected: "JSON value" }),
1342
+ ),
1343
+ ],
1344
+ ).annotate({
1345
+ title: "payment_method_boleto",
1346
+ description: "",
1347
+ identifier: "Stripepayment_method_boleto",
1348
+ });
1349
+ export const Stripepayment_method_card_checks = Schema.StructWithRest(
1350
+ Schema.Struct({
1351
+ address_line1_check: Schema.optionalKey(
1352
+ Schema.Union([
1353
+ Schema.String.annotate({
1354
+ description:
1355
+ "If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.",
1356
+ }).check(
1357
+ Schema.isMaxCodePoints(5000).annotate({
1358
+ expected: "a string with at most 5000 code points",
1359
+ }),
1360
+ ),
1361
+ Schema.Null,
1362
+ ]),
1363
+ ),
1364
+ address_postal_code_check: Schema.optionalKey(
1365
+ Schema.Union([
1366
+ Schema.String.annotate({
1367
+ description:
1368
+ "If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.",
1369
+ }).check(
1370
+ Schema.isMaxCodePoints(5000).annotate({
1371
+ expected: "a string with at most 5000 code points",
1372
+ }),
1373
+ ),
1374
+ Schema.Null,
1375
+ ]),
1376
+ ),
1377
+ cvc_check: Schema.optionalKey(
1378
+ Schema.Union([
1379
+ Schema.String.annotate({
1380
+ description:
1381
+ "If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.",
1382
+ }).check(
1383
+ Schema.isMaxCodePoints(5000).annotate({
1384
+ expected: "a string with at most 5000 code points",
1385
+ }),
1386
+ ),
1387
+ Schema.Null,
1388
+ ]),
1389
+ ),
1390
+ }),
1391
+ [
1392
+ Schema.Record(
1393
+ Schema.String,
1394
+ Schema.Json.annotate({ expected: "JSON value" }),
1395
+ ),
1396
+ ],
1397
+ ).annotate({
1398
+ title: "payment_method_card_checks",
1399
+ description: "",
1400
+ identifier: "Stripepayment_method_card_checks",
1401
+ });
1402
+ export const Stripepayment_method_config_biz_payment_method_configuration_details =
1403
+ Schema.StructWithRest(
1404
+ Schema.Struct({
1405
+ id: Schema.String.annotate({
1406
+ description: "ID of the payment method configuration used.",
1407
+ }).check(
1408
+ Schema.isMaxCodePoints(5000).annotate({
1409
+ expected: "a string with at most 5000 code points",
1410
+ }),
1411
+ ),
1412
+ parent: Schema.optionalKey(
1413
+ Schema.Union([
1414
+ Schema.String.annotate({
1415
+ description: "ID of the parent payment method configuration used.",
1416
+ }).check(
1417
+ Schema.isMaxCodePoints(5000).annotate({
1418
+ expected: "a string with at most 5000 code points",
1419
+ }),
1420
+ ),
1421
+ Schema.Null,
1422
+ ]),
1423
+ ),
1424
+ }),
1425
+ [
1426
+ Schema.Record(
1427
+ Schema.String,
1428
+ Schema.Json.annotate({ expected: "JSON value" }),
1429
+ ),
1430
+ ],
1431
+ ).annotate({
1432
+ title: "PaymentMethodConfigBizPaymentMethodConfigurationDetails",
1433
+ description: "",
1434
+ identifier:
1435
+ "Stripepayment_method_config_biz_payment_method_configuration_details",
1436
+ });
1437
+ export const Stripepayment_method_card_wallet_amex_express_checkout =
1438
+ Schema.Record(
1439
+ Schema.String,
1440
+ Schema.Json.annotate({ expected: "JSON value" }),
1441
+ ).annotate({
1442
+ title: "payment_method_card_wallet_amex_express_checkout",
1443
+ description: "",
1444
+ identifier: "Stripepayment_method_card_wallet_amex_express_checkout",
1445
+ });
1446
+ export const Stripepayment_method_card_wallet_apple_pay = Schema.Record(
1447
+ Schema.String,
1448
+ Schema.Json.annotate({ expected: "JSON value" }),
1449
+ ).annotate({
1450
+ title: "payment_method_card_wallet_apple_pay",
1451
+ description: "",
1452
+ identifier: "Stripepayment_method_card_wallet_apple_pay",
1453
+ });
1454
+ export const Stripepayment_method_card_wallet_google_pay = Schema.Record(
1455
+ Schema.String,
1456
+ Schema.Json.annotate({ expected: "JSON value" }),
1457
+ ).annotate({
1458
+ title: "payment_method_card_wallet_google_pay",
1459
+ description: "",
1460
+ identifier: "Stripepayment_method_card_wallet_google_pay",
1461
+ });
1462
+ export const Stripepayment_method_card_wallet_link = Schema.Record(
1463
+ Schema.String,
1464
+ Schema.Json.annotate({ expected: "JSON value" }),
1465
+ ).annotate({
1466
+ title: "payment_method_card_wallet_link",
1467
+ description: "",
1468
+ identifier: "Stripepayment_method_card_wallet_link",
1469
+ });
1470
+ export const Stripepayment_method_card_wallet_samsung_pay = Schema.Record(
1471
+ Schema.String,
1472
+ Schema.Json.annotate({ expected: "JSON value" }),
1473
+ ).annotate({
1474
+ title: "payment_method_card_wallet_samsung_pay",
1475
+ description: "",
1476
+ identifier: "Stripepayment_method_card_wallet_samsung_pay",
1477
+ });
1478
+ export const Stripepayment_method_card_present_networks = Schema.StructWithRest(
1479
+ Schema.Struct({
1480
+ available: Schema.Array(
1481
+ Schema.String.check(
1482
+ Schema.isMaxCodePoints(5000).annotate({
1483
+ expected: "a string with at most 5000 code points",
1484
+ }),
1485
+ ),
1486
+ ).annotate({
1487
+ description:
1488
+ "All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network).",
1489
+ }),
1490
+ preferred: Schema.optionalKey(
1491
+ Schema.Union([
1492
+ Schema.String.annotate({
1493
+ description: "The preferred network for the card.",
1494
+ }).check(
1495
+ Schema.isMaxCodePoints(5000).annotate({
1496
+ expected: "a string with at most 5000 code points",
1497
+ }),
1498
+ ),
1499
+ Schema.Null,
1500
+ ]),
1501
+ ),
1502
+ }),
1503
+ [
1504
+ Schema.Record(
1505
+ Schema.String,
1506
+ Schema.Json.annotate({ expected: "JSON value" }),
1507
+ ),
1508
+ ],
1509
+ ).annotate({
1510
+ title: "payment_method_card_present_networks",
1511
+ description: "",
1512
+ identifier: "Stripepayment_method_card_present_networks",
1513
+ });
1514
+ export const Stripepayment_method_cashapp = Schema.StructWithRest(
1515
+ Schema.Struct({
1516
+ buyer_id: Schema.optionalKey(
1517
+ Schema.Union([
1518
+ Schema.String.annotate({
1519
+ description:
1520
+ "A unique and immutable identifier assigned by Cash App to every buyer.",
1521
+ }).check(
1522
+ Schema.isMaxCodePoints(5000).annotate({
1523
+ expected: "a string with at most 5000 code points",
1524
+ }),
1525
+ ),
1526
+ Schema.Null,
1527
+ ]),
1528
+ ),
1529
+ cashtag: Schema.optionalKey(
1530
+ Schema.Union([
1531
+ Schema.String.annotate({
1532
+ description: "A public identifier for buyers using Cash App.",
1533
+ }).check(
1534
+ Schema.isMaxCodePoints(5000).annotate({
1535
+ expected: "a string with at most 5000 code points",
1536
+ }),
1537
+ ),
1538
+ Schema.Null,
1539
+ ]),
1540
+ ),
1541
+ }),
1542
+ [
1543
+ Schema.Record(
1544
+ Schema.String,
1545
+ Schema.Json.annotate({ expected: "JSON value" }),
1546
+ ),
1547
+ ],
1548
+ ).annotate({
1549
+ title: "payment_method_cashapp",
1550
+ description: "",
1551
+ identifier: "Stripepayment_method_cashapp",
1552
+ });
1553
+ export const Stripepayment_method_crypto = Schema.Record(
1554
+ Schema.String,
1555
+ Schema.Json.annotate({ expected: "JSON value" }),
1556
+ ).annotate({
1557
+ title: "payment_method_crypto",
1558
+ description: "",
1559
+ identifier: "Stripepayment_method_crypto",
1560
+ });
1561
+ export const Stripepayment_method_customer_balance = Schema.Record(
1562
+ Schema.String,
1563
+ Schema.Json.annotate({ expected: "JSON value" }),
1564
+ ).annotate({
1565
+ title: "payment_method_customer_balance",
1566
+ description: "",
1567
+ identifier: "Stripepayment_method_customer_balance",
1568
+ });
1569
+ export const Stripepayment_method_eps = Schema.StructWithRest(
1570
+ Schema.Struct({
1571
+ bank: Schema.optionalKey(
1572
+ Schema.Union([
1573
+ Schema.Literals([
1574
+ "arzte_und_apotheker_bank",
1575
+ "austrian_anadi_bank_ag",
1576
+ "bank_austria",
1577
+ "bankhaus_carl_spangler",
1578
+ "bankhaus_schelhammer_und_schattera_ag",
1579
+ "bawag_psk_ag",
1580
+ "bks_bank_ag",
1581
+ "brull_kallmus_bank_ag",
1582
+ "btv_vier_lander_bank",
1583
+ "capital_bank_grawe_gruppe_ag",
1584
+ "deutsche_bank_ag",
1585
+ "dolomitenbank",
1586
+ "easybank_ag",
1587
+ "erste_bank_und_sparkassen",
1588
+ "hypo_alpeadriabank_international_ag",
1589
+ "hypo_bank_burgenland_aktiengesellschaft",
1590
+ "hypo_noe_lb_fur_niederosterreich_u_wien",
1591
+ "hypo_oberosterreich_salzburg_steiermark",
1592
+ "hypo_tirol_bank_ag",
1593
+ "hypo_vorarlberg_bank_ag",
1594
+ "marchfelder_bank",
1595
+ "oberbank_ag",
1596
+ "raiffeisen_bankengruppe_osterreich",
1597
+ "schoellerbank_ag",
1598
+ "sparda_bank_wien",
1599
+ "volksbank_gruppe",
1600
+ "volkskreditbank_ag",
1601
+ "vr_bank_braunau",
1602
+ ]).annotate({
1603
+ description:
1604
+ "The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.",
1605
+ }),
1606
+ Schema.Null,
1607
+ ]),
1608
+ ),
1609
+ }),
1610
+ [
1611
+ Schema.Record(
1612
+ Schema.String,
1613
+ Schema.Json.annotate({ expected: "JSON value" }),
1614
+ ),
1615
+ ],
1616
+ ).annotate({
1617
+ title: "payment_method_eps",
1618
+ description: "",
1619
+ identifier: "Stripepayment_method_eps",
1620
+ });
1621
+ export const Stripepayment_method_fpx = Schema.StructWithRest(
1622
+ Schema.Struct({
1623
+ bank: Schema.Literals([
1624
+ "affin_bank",
1625
+ "agrobank",
1626
+ "alliance_bank",
1627
+ "ambank",
1628
+ "bank_islam",
1629
+ "bank_muamalat",
1630
+ "bank_of_china",
1631
+ "bank_rakyat",
1632
+ "bnp_paribas",
1633
+ "bsn",
1634
+ "cimb",
1635
+ "citibank",
1636
+ "deutsche_bank",
1637
+ "hong_leong_bank",
1638
+ "hsbc",
1639
+ "kfh",
1640
+ "maybank2e",
1641
+ "maybank2u",
1642
+ "mbsb_bank",
1643
+ "ocbc",
1644
+ "pb_enterprise",
1645
+ "public_bank",
1646
+ "rhb",
1647
+ "standard_chartered",
1648
+ "uob",
1649
+ ]).annotate({
1650
+ description:
1651
+ "The customer's bank, if provided. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bnp_paribas`, `bank_rakyat`, `bsn`, `cimb`, `citibank`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `mbsb_bank`, `pb_enterprise`, or `bank_of_china`.",
1652
+ }),
1653
+ }),
1654
+ [
1655
+ Schema.Record(
1656
+ Schema.String,
1657
+ Schema.Json.annotate({ expected: "JSON value" }),
1658
+ ),
1659
+ ],
1660
+ ).annotate({
1661
+ title: "payment_method_fpx",
1662
+ description: "",
1663
+ identifier: "Stripepayment_method_fpx",
1664
+ });
1665
+ export const Stripepayment_method_giropay = Schema.Record(
1666
+ Schema.String,
1667
+ Schema.Json.annotate({ expected: "JSON value" }),
1668
+ ).annotate({
1669
+ title: "payment_method_giropay",
1670
+ description: "",
1671
+ identifier: "Stripepayment_method_giropay",
1672
+ });
1673
+ export const Stripepayment_method_grabpay = Schema.Record(
1674
+ Schema.String,
1675
+ Schema.Json.annotate({ expected: "JSON value" }),
1676
+ ).annotate({
1677
+ title: "payment_method_grabpay",
1678
+ description: "",
1679
+ identifier: "Stripepayment_method_grabpay",
1680
+ });
1681
+ export const Stripepayment_method_ideal = Schema.StructWithRest(
1682
+ Schema.Struct({
1683
+ bank: Schema.optionalKey(
1684
+ Schema.Union([
1685
+ Schema.Literals([
1686
+ "abn_amro",
1687
+ "adyen",
1688
+ "asn_bank",
1689
+ "bunq",
1690
+ "buut",
1691
+ "finom",
1692
+ "handelsbanken",
1693
+ "ing",
1694
+ "knab",
1695
+ "mollie",
1696
+ "moneyou",
1697
+ "n26",
1698
+ "nn",
1699
+ "rabobank",
1700
+ "regiobank",
1701
+ "revolut",
1702
+ "sns_bank",
1703
+ "triodos_bank",
1704
+ "van_lanschot",
1705
+ "yoursafe",
1706
+ ]).annotate({
1707
+ description:
1708
+ "The customer's bank, if provided. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.",
1709
+ }),
1710
+ Schema.Null,
1711
+ ]),
1712
+ ),
1713
+ bic: Schema.optionalKey(
1714
+ Schema.Union([
1715
+ Schema.Literals([
1716
+ "ABNANL2A",
1717
+ "ADYBNL2A",
1718
+ "ASNBNL21",
1719
+ "BITSNL2A",
1720
+ "BUNQNL2A",
1721
+ "BUUTNL2A",
1722
+ "FNOMNL22",
1723
+ "FVLBNL22",
1724
+ "HANDNL2A",
1725
+ "INGBNL2A",
1726
+ "KNABNL2H",
1727
+ "MLLENL2A",
1728
+ "MOYONL21",
1729
+ "NNBANL2G",
1730
+ "NTSBDEB1",
1731
+ "RABONL2U",
1732
+ "RBRBNL21",
1733
+ "REVOIE23",
1734
+ "REVOLT21",
1735
+ "SNSBNL2A",
1736
+ "TRIONL2U",
1737
+ ]).annotate({
1738
+ description:
1739
+ "The Bank Identifier Code of the customer's bank, if the bank was provided.",
1740
+ }),
1741
+ Schema.Null,
1742
+ ]),
1743
+ ),
1744
+ }),
1745
+ [
1746
+ Schema.Record(
1747
+ Schema.String,
1748
+ Schema.Json.annotate({ expected: "JSON value" }),
1749
+ ),
1750
+ ],
1751
+ ).annotate({
1752
+ title: "payment_method_ideal",
1753
+ description: "",
1754
+ identifier: "Stripepayment_method_ideal",
1755
+ });
1756
+ export const Stripepayment_method_kakao_pay = Schema.Record(
1757
+ Schema.String,
1758
+ Schema.Json.annotate({ expected: "JSON value" }),
1759
+ ).annotate({
1760
+ title: "payment_method_kakao_pay",
1761
+ description: "",
1762
+ identifier: "Stripepayment_method_kakao_pay",
1763
+ });
1764
+ export const Stripepayment_method_konbini = Schema.Record(
1765
+ Schema.String,
1766
+ Schema.Json.annotate({ expected: "JSON value" }),
1767
+ ).annotate({
1768
+ title: "payment_method_konbini",
1769
+ description: "",
1770
+ identifier: "Stripepayment_method_konbini",
1771
+ });
1772
+ export const Stripepayment_method_kr_card = Schema.StructWithRest(
1773
+ Schema.Struct({
1774
+ brand: Schema.optionalKey(
1775
+ Schema.Union([
1776
+ Schema.Literals([
1777
+ "bc",
1778
+ "citi",
1779
+ "hana",
1780
+ "hyundai",
1781
+ "jeju",
1782
+ "jeonbuk",
1783
+ "kakaobank",
1784
+ "kbank",
1785
+ "kdbbank",
1786
+ "kookmin",
1787
+ "kwangju",
1788
+ "lotte",
1789
+ "mg",
1790
+ "nh",
1791
+ "post",
1792
+ "samsung",
1793
+ "savingsbank",
1794
+ "shinhan",
1795
+ "shinhyup",
1796
+ "suhyup",
1797
+ "tossbank",
1798
+ "woori",
1799
+ ]).annotate({ description: "The local credit or debit card brand." }),
1800
+ Schema.Null,
1801
+ ]),
1802
+ ),
1803
+ last4: Schema.optionalKey(
1804
+ Schema.Union([
1805
+ Schema.String.annotate({
1806
+ description:
1807
+ "The last four digits of the card. This may not be present for American Express cards.",
1808
+ }).check(
1809
+ Schema.isMaxCodePoints(4).annotate({
1810
+ expected: "a string with at most 4 code points",
1811
+ }),
1812
+ ),
1813
+ Schema.Null,
1814
+ ]),
1815
+ ),
1816
+ }),
1817
+ [
1818
+ Schema.Record(
1819
+ Schema.String,
1820
+ Schema.Json.annotate({ expected: "JSON value" }),
1821
+ ),
1822
+ ],
1823
+ ).annotate({
1824
+ title: "payment_method_kr_card",
1825
+ description: "",
1826
+ identifier: "Stripepayment_method_kr_card",
1827
+ });
1828
+ export const Stripepayment_method_link = Schema.StructWithRest(
1829
+ Schema.Struct({
1830
+ email: Schema.optionalKey(
1831
+ Schema.Union([
1832
+ Schema.String.annotate({
1833
+ description: "Account owner's email address.",
1834
+ }).check(
1835
+ Schema.isMaxCodePoints(5000).annotate({
1836
+ expected: "a string with at most 5000 code points",
1837
+ }),
1838
+ ),
1839
+ Schema.Null,
1840
+ ]),
1841
+ ),
1842
+ }),
1843
+ [
1844
+ Schema.Record(
1845
+ Schema.String,
1846
+ Schema.Json.annotate({ expected: "JSON value" }),
1847
+ ),
1848
+ ],
1849
+ ).annotate({
1850
+ title: "payment_method_link",
1851
+ description: "",
1852
+ identifier: "Stripepayment_method_link",
1853
+ });
1854
+ export const Stripepayment_method_mb_way = Schema.Record(
1855
+ Schema.String,
1856
+ Schema.Json.annotate({ expected: "JSON value" }),
1857
+ ).annotate({
1858
+ title: "payment_method_mb_way",
1859
+ description: "",
1860
+ identifier: "Stripepayment_method_mb_way",
1861
+ });
1862
+ export const Stripepayment_method_mobilepay = Schema.Record(
1863
+ Schema.String,
1864
+ Schema.Json.annotate({ expected: "JSON value" }),
1865
+ ).annotate({
1866
+ title: "payment_method_mobilepay",
1867
+ description: "",
1868
+ identifier: "Stripepayment_method_mobilepay",
1869
+ });
1870
+ export const Stripepayment_method_multibanco = Schema.Record(
1871
+ Schema.String,
1872
+ Schema.Json.annotate({ expected: "JSON value" }),
1873
+ ).annotate({
1874
+ title: "payment_method_multibanco",
1875
+ description: "",
1876
+ identifier: "Stripepayment_method_multibanco",
1877
+ });
1878
+ export const Stripepayment_method_naver_pay = Schema.StructWithRest(
1879
+ Schema.Struct({
1880
+ buyer_id: Schema.optionalKey(
1881
+ Schema.Union([
1882
+ Schema.String.annotate({
1883
+ description:
1884
+ "Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same.",
1885
+ }).check(
1886
+ Schema.isMaxCodePoints(5000).annotate({
1887
+ expected: "a string with at most 5000 code points",
1888
+ }),
1889
+ ),
1890
+ Schema.Null,
1891
+ ]),
1892
+ ),
1893
+ funding: Schema.Literals(["card", "points"]).annotate({
1894
+ description:
1895
+ "Whether to fund this transaction with Naver Pay points or a card.",
1896
+ }),
1897
+ }),
1898
+ [
1899
+ Schema.Record(
1900
+ Schema.String,
1901
+ Schema.Json.annotate({ expected: "JSON value" }),
1902
+ ),
1903
+ ],
1904
+ ).annotate({
1905
+ title: "payment_method_naver_pay",
1906
+ description: "",
1907
+ identifier: "Stripepayment_method_naver_pay",
1908
+ });
1909
+ export const Stripepayment_method_nz_bank_account = Schema.StructWithRest(
1910
+ Schema.Struct({
1911
+ account_holder_name: Schema.optionalKey(
1912
+ Schema.Union([
1913
+ Schema.String.annotate({
1914
+ description:
1915
+ "The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.",
1916
+ }).check(
1917
+ Schema.isMaxCodePoints(5000).annotate({
1918
+ expected: "a string with at most 5000 code points",
1919
+ }),
1920
+ ),
1921
+ Schema.Null,
1922
+ ]),
1923
+ ),
1924
+ bank_code: Schema.String.annotate({
1925
+ description: "The numeric code for the bank account's bank.",
1926
+ }).check(
1927
+ Schema.isMaxCodePoints(5000).annotate({
1928
+ expected: "a string with at most 5000 code points",
1929
+ }),
1930
+ ),
1931
+ bank_name: Schema.String.annotate({
1932
+ description: "The name of the bank.",
1933
+ }).check(
1934
+ Schema.isMaxCodePoints(5000).annotate({
1935
+ expected: "a string with at most 5000 code points",
1936
+ }),
1937
+ ),
1938
+ branch_code: Schema.String.annotate({
1939
+ description: "The numeric code for the bank account's bank branch.",
1940
+ }).check(
1941
+ Schema.isMaxCodePoints(5000).annotate({
1942
+ expected: "a string with at most 5000 code points",
1943
+ }),
1944
+ ),
1945
+ last4: Schema.String.annotate({
1946
+ description: "Last four digits of the bank account number.",
1947
+ }).check(
1948
+ Schema.isMaxCodePoints(5000).annotate({
1949
+ expected: "a string with at most 5000 code points",
1950
+ }),
1951
+ ),
1952
+ suffix: Schema.optionalKey(
1953
+ Schema.Union([
1954
+ Schema.String.annotate({
1955
+ description: "The suffix of the bank account number.",
1956
+ }).check(
1957
+ Schema.isMaxCodePoints(5000).annotate({
1958
+ expected: "a string with at most 5000 code points",
1959
+ }),
1960
+ ),
1961
+ Schema.Null,
1962
+ ]),
1963
+ ),
1964
+ }),
1965
+ [
1966
+ Schema.Record(
1967
+ Schema.String,
1968
+ Schema.Json.annotate({ expected: "JSON value" }),
1969
+ ),
1970
+ ],
1971
+ ).annotate({
1972
+ title: "payment_method_nz_bank_account",
1973
+ description: "",
1974
+ identifier: "Stripepayment_method_nz_bank_account",
1975
+ });
1976
+ export const Stripepayment_method_oxxo = Schema.Record(
1977
+ Schema.String,
1978
+ Schema.Json.annotate({ expected: "JSON value" }),
1979
+ ).annotate({
1980
+ title: "payment_method_oxxo",
1981
+ description: "",
1982
+ identifier: "Stripepayment_method_oxxo",
1983
+ });
1984
+ export const Stripepayment_method_p24 = Schema.StructWithRest(
1985
+ Schema.Struct({
1986
+ bank: Schema.optionalKey(
1987
+ Schema.Union([
1988
+ Schema.Literals([
1989
+ "alior_bank",
1990
+ "bank_millennium",
1991
+ "bank_nowy_bfg_sa",
1992
+ "bank_pekao_sa",
1993
+ "banki_spbdzielcze",
1994
+ "blik",
1995
+ "bnp_paribas",
1996
+ "boz",
1997
+ "citi_handlowy",
1998
+ "credit_agricole",
1999
+ "envelobank",
2000
+ "etransfer_pocztowy24",
2001
+ "getin_bank",
2002
+ "ideabank",
2003
+ "ing",
2004
+ "inteligo",
2005
+ "mbank_mtransfer",
2006
+ "nest_przelew",
2007
+ "noble_pay",
2008
+ "pbac_z_ipko",
2009
+ "plus_bank",
2010
+ "santander_przelew24",
2011
+ "tmobile_usbugi_bankowe",
2012
+ "toyota_bank",
2013
+ "velobank",
2014
+ "volkswagen_bank",
2015
+ ]).annotate({ description: "The customer's bank, if provided." }),
2016
+ Schema.Null,
2017
+ ]),
2018
+ ),
2019
+ }),
2020
+ [
2021
+ Schema.Record(
2022
+ Schema.String,
2023
+ Schema.Json.annotate({ expected: "JSON value" }),
2024
+ ),
2025
+ ],
2026
+ ).annotate({
2027
+ title: "payment_method_p24",
2028
+ description: "",
2029
+ identifier: "Stripepayment_method_p24",
2030
+ });
2031
+ export const Stripepayment_method_pay_by_bank = Schema.Record(
2032
+ Schema.String,
2033
+ Schema.Json.annotate({ expected: "JSON value" }),
2034
+ ).annotate({
2035
+ title: "payment_method_pay_by_bank",
2036
+ description: "",
2037
+ identifier: "Stripepayment_method_pay_by_bank",
2038
+ });
2039
+ export const Stripepayment_method_payco = Schema.Record(
2040
+ Schema.String,
2041
+ Schema.Json.annotate({ expected: "JSON value" }),
2042
+ ).annotate({
2043
+ title: "payment_method_payco",
2044
+ description: "",
2045
+ identifier: "Stripepayment_method_payco",
2046
+ });
2047
+ export const Stripepayment_method_paynow = Schema.Record(
2048
+ Schema.String,
2049
+ Schema.Json.annotate({ expected: "JSON value" }),
2050
+ ).annotate({
2051
+ title: "payment_method_paynow",
2052
+ description: "",
2053
+ identifier: "Stripepayment_method_paynow",
2054
+ });
2055
+ export const Stripepayment_method_paypal = Schema.StructWithRest(
2056
+ Schema.Struct({
2057
+ country: Schema.optionalKey(
2058
+ Schema.Union([
2059
+ Schema.String.annotate({
2060
+ description:
2061
+ "Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
2062
+ }).check(
2063
+ Schema.isMaxCodePoints(5000).annotate({
2064
+ expected: "a string with at most 5000 code points",
2065
+ }),
2066
+ ),
2067
+ Schema.Null,
2068
+ ]),
2069
+ ),
2070
+ payer_email: Schema.optionalKey(
2071
+ Schema.Union([
2072
+ Schema.String.annotate({
2073
+ description:
2074
+ "Owner's email. Values are provided by PayPal directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.",
2075
+ }).check(
2076
+ Schema.isMaxCodePoints(5000).annotate({
2077
+ expected: "a string with at most 5000 code points",
2078
+ }),
2079
+ ),
2080
+ Schema.Null,
2081
+ ]),
2082
+ ),
2083
+ payer_id: Schema.optionalKey(
2084
+ Schema.Union([
2085
+ Schema.String.annotate({
2086
+ description:
2087
+ "PayPal account PayerID. This identifier uniquely identifies the PayPal customer.",
2088
+ }).check(
2089
+ Schema.isMaxCodePoints(5000).annotate({
2090
+ expected: "a string with at most 5000 code points",
2091
+ }),
2092
+ ),
2093
+ Schema.Null,
2094
+ ]),
2095
+ ),
2096
+ }),
2097
+ [
2098
+ Schema.Record(
2099
+ Schema.String,
2100
+ Schema.Json.annotate({ expected: "JSON value" }),
2101
+ ),
2102
+ ],
2103
+ ).annotate({
2104
+ title: "payment_method_paypal",
2105
+ description: "",
2106
+ identifier: "Stripepayment_method_paypal",
2107
+ });
2108
+ export const Stripepayment_method_paypay = Schema.Record(
2109
+ Schema.String,
2110
+ Schema.Json.annotate({ expected: "JSON value" }),
2111
+ ).annotate({
2112
+ title: "payment_method_paypay",
2113
+ description: "",
2114
+ identifier: "Stripepayment_method_paypay",
2115
+ });
2116
+ export const Stripepayment_method_payto = Schema.StructWithRest(
2117
+ Schema.Struct({
2118
+ bsb_number: Schema.optionalKey(
2119
+ Schema.Union([
2120
+ Schema.String.annotate({
2121
+ description: "Bank-State-Branch number of the bank account.",
2122
+ }).check(
2123
+ Schema.isMaxCodePoints(5000).annotate({
2124
+ expected: "a string with at most 5000 code points",
2125
+ }),
2126
+ ),
2127
+ Schema.Null,
2128
+ ]),
2129
+ ),
2130
+ last4: Schema.optionalKey(
2131
+ Schema.Union([
2132
+ Schema.String.annotate({
2133
+ description: "Last four digits of the bank account number.",
2134
+ }).check(
2135
+ Schema.isMaxCodePoints(5000).annotate({
2136
+ expected: "a string with at most 5000 code points",
2137
+ }),
2138
+ ),
2139
+ Schema.Null,
2140
+ ]),
2141
+ ),
2142
+ pay_id: Schema.optionalKey(
2143
+ Schema.Union([
2144
+ Schema.String.annotate({
2145
+ description: "The PayID alias for the bank account.",
2146
+ }).check(
2147
+ Schema.isMaxCodePoints(5000).annotate({
2148
+ expected: "a string with at most 5000 code points",
2149
+ }),
2150
+ ),
2151
+ Schema.Null,
2152
+ ]),
2153
+ ),
2154
+ }),
2155
+ [
2156
+ Schema.Record(
2157
+ Schema.String,
2158
+ Schema.Json.annotate({ expected: "JSON value" }),
2159
+ ),
2160
+ ],
2161
+ ).annotate({
2162
+ title: "payment_method_payto",
2163
+ description: "",
2164
+ identifier: "Stripepayment_method_payto",
2165
+ });
2166
+ export const Stripepayment_method_pix = Schema.StructWithRest(
2167
+ Schema.Struct({
2168
+ fingerprint: Schema.optionalKey(
2169
+ Schema.Union([
2170
+ Schema.String.annotate({
2171
+ description:
2172
+ "Uniquely identifies this particular Pix account. You can use this attribute to check whether two Pix accounts are the same.",
2173
+ }).check(
2174
+ Schema.isMaxCodePoints(5000).annotate({
2175
+ expected: "a string with at most 5000 code points",
2176
+ }),
2177
+ ),
2178
+ Schema.Null,
2179
+ ]),
2180
+ ),
2181
+ }),
2182
+ [
2183
+ Schema.Record(
2184
+ Schema.String,
2185
+ Schema.Json.annotate({ expected: "JSON value" }),
2186
+ ),
2187
+ ],
2188
+ ).annotate({
2189
+ title: "payment_method_pix",
2190
+ description: "",
2191
+ identifier: "Stripepayment_method_pix",
2192
+ });
2193
+ export const Stripepayment_method_promptpay = Schema.Record(
2194
+ Schema.String,
2195
+ Schema.Json.annotate({ expected: "JSON value" }),
2196
+ ).annotate({
2197
+ title: "payment_method_promptpay",
2198
+ description: "",
2199
+ identifier: "Stripepayment_method_promptpay",
2200
+ });
2201
+ export const Stripepayment_method_revolut_pay = Schema.Record(
2202
+ Schema.String,
2203
+ Schema.Json.annotate({ expected: "JSON value" }),
2204
+ ).annotate({
2205
+ title: "payment_method_revolut_pay",
2206
+ description: "",
2207
+ identifier: "Stripepayment_method_revolut_pay",
2208
+ });
2209
+ export const Stripepayment_method_samsung_pay = Schema.Record(
2210
+ Schema.String,
2211
+ Schema.Json.annotate({ expected: "JSON value" }),
2212
+ ).annotate({
2213
+ title: "payment_method_samsung_pay",
2214
+ description: "",
2215
+ identifier: "Stripepayment_method_samsung_pay",
2216
+ });
2217
+ export const Stripepayment_method_satispay = Schema.Record(
2218
+ Schema.String,
2219
+ Schema.Json.annotate({ expected: "JSON value" }),
2220
+ ).annotate({
2221
+ title: "payment_method_satispay",
2222
+ description: "",
2223
+ identifier: "Stripepayment_method_satispay",
2224
+ });
2225
+ export const Stripepayment_method_scalapay = Schema.Record(
2226
+ Schema.String,
2227
+ Schema.Json.annotate({ expected: "JSON value" }),
2228
+ ).annotate({
2229
+ title: "payment_method_scalapay",
2230
+ description: "",
2231
+ identifier: "Stripepayment_method_scalapay",
2232
+ });
2233
+ export const Stripepayment_method_sequra = Schema.Record(
2234
+ Schema.String,
2235
+ Schema.Json.annotate({ expected: "JSON value" }),
2236
+ ).annotate({
2237
+ title: "payment_method_sequra",
2238
+ description: "",
2239
+ identifier: "Stripepayment_method_sequra",
2240
+ });
2241
+ export const Stripepayment_method_sofort = Schema.StructWithRest(
2242
+ Schema.Struct({
2243
+ country: Schema.optionalKey(
2244
+ Schema.Union([
2245
+ Schema.String.annotate({
2246
+ description:
2247
+ "Two-letter ISO code representing the country the bank account is located in.",
2248
+ }).check(
2249
+ Schema.isMaxCodePoints(5000).annotate({
2250
+ expected: "a string with at most 5000 code points",
2251
+ }),
2252
+ ),
2253
+ Schema.Null,
2254
+ ]),
2255
+ ),
2256
+ }),
2257
+ [
2258
+ Schema.Record(
2259
+ Schema.String,
2260
+ Schema.Json.annotate({ expected: "JSON value" }),
2261
+ ),
2262
+ ],
2263
+ ).annotate({
2264
+ title: "payment_method_sofort",
2265
+ description: "",
2266
+ identifier: "Stripepayment_method_sofort",
2267
+ });
2268
+ export const Stripepayment_method_sunbit = Schema.Record(
2269
+ Schema.String,
2270
+ Schema.Json.annotate({ expected: "JSON value" }),
2271
+ ).annotate({
2272
+ title: "payment_method_sunbit",
2273
+ description: "",
2274
+ identifier: "Stripepayment_method_sunbit",
2275
+ });
2276
+ export const Stripepayment_method_swish = Schema.Record(
2277
+ Schema.String,
2278
+ Schema.Json.annotate({ expected: "JSON value" }),
2279
+ ).annotate({
2280
+ title: "payment_method_swish",
2281
+ description: "",
2282
+ identifier: "Stripepayment_method_swish",
2283
+ });
2284
+ export const Stripepayment_method_twint = Schema.Record(
2285
+ Schema.String,
2286
+ Schema.Json.annotate({ expected: "JSON value" }),
2287
+ ).annotate({
2288
+ title: "payment_method_twint",
2289
+ description: "",
2290
+ identifier: "Stripepayment_method_twint",
2291
+ });
2292
+ export const Stripepayment_method_upi = Schema.StructWithRest(
2293
+ Schema.Struct({
2294
+ vpa: Schema.optionalKey(
2295
+ Schema.Union([
2296
+ Schema.String.annotate({
2297
+ description: "Customer's unique Virtual Payment Address",
2298
+ }).check(
2299
+ Schema.isMaxCodePoints(5000).annotate({
2300
+ expected: "a string with at most 5000 code points",
2301
+ }),
2302
+ ),
2303
+ Schema.Null,
2304
+ ]),
2305
+ ),
2306
+ }),
2307
+ [
2308
+ Schema.Record(
2309
+ Schema.String,
2310
+ Schema.Json.annotate({ expected: "JSON value" }),
2311
+ ),
2312
+ ],
2313
+ ).annotate({
2314
+ title: "payment_method_upi",
2315
+ description: "",
2316
+ identifier: "Stripepayment_method_upi",
2317
+ });
2318
+ export const Stripepayment_method_us_bank_account_blocked =
2319
+ Schema.StructWithRest(
2320
+ Schema.Struct({
2321
+ network_code: Schema.optionalKey(
2322
+ Schema.Union([
2323
+ Schema.Literals([
2324
+ "R02",
2325
+ "R03",
2326
+ "R04",
2327
+ "R05",
2328
+ "R07",
2329
+ "R08",
2330
+ "R10",
2331
+ "R11",
2332
+ "R16",
2333
+ "R20",
2334
+ "R29",
2335
+ "R31",
2336
+ ]).annotate({
2337
+ description: "The ACH network code that resulted in this block.",
2338
+ }),
2339
+ Schema.Null,
2340
+ ]),
2341
+ ),
2342
+ reason: Schema.optionalKey(
2343
+ Schema.Union([
2344
+ Schema.Literals([
2345
+ "bank_account_closed",
2346
+ "bank_account_frozen",
2347
+ "bank_account_invalid_details",
2348
+ "bank_account_restricted",
2349
+ "bank_account_unusable",
2350
+ "debit_not_authorized",
2351
+ "tokenized_account_number_deactivated",
2352
+ ]).annotate({
2353
+ description:
2354
+ "The reason why this PaymentMethod's fingerprint has been blocked",
2355
+ }),
2356
+ Schema.Null,
2357
+ ]),
2358
+ ),
2359
+ }),
2360
+ [
2361
+ Schema.Record(
2362
+ Schema.String,
2363
+ Schema.Json.annotate({ expected: "JSON value" }),
2364
+ ),
2365
+ ],
2366
+ ).annotate({
2367
+ title: "payment_method_us_bank_account_blocked",
2368
+ description: "",
2369
+ identifier: "Stripepayment_method_us_bank_account_blocked",
2370
+ });
2371
+ export const Stripepayment_method_wechat_pay = Schema.Record(
2372
+ Schema.String,
2373
+ Schema.Json.annotate({ expected: "JSON value" }),
2374
+ ).annotate({
2375
+ title: "payment_method_wechat_pay",
2376
+ description: "",
2377
+ identifier: "Stripepayment_method_wechat_pay",
2378
+ });
2379
+ export const Stripepayment_method_zip = Schema.Record(
2380
+ Schema.String,
2381
+ Schema.Json.annotate({ expected: "JSON value" }),
2382
+ ).annotate({
2383
+ title: "payment_method_zip",
2384
+ description: "",
2385
+ identifier: "Stripepayment_method_zip",
2386
+ });
2387
+ export const Stripepayment_method_config_resource_display_preference =
2388
+ Schema.StructWithRest(
2389
+ Schema.Struct({
2390
+ overridable: Schema.optionalKey(
2391
+ Schema.Union([
2392
+ Schema.Boolean.annotate({
2393
+ description:
2394
+ "For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.",
2395
+ }),
2396
+ Schema.Null,
2397
+ ]),
2398
+ ),
2399
+ preference: Schema.Literals(["none", "off", "on"]).annotate({
2400
+ description: "The account's display preference.",
2401
+ }),
2402
+ value: Schema.Literals(["off", "on"]).annotate({
2403
+ description: "The effective display preference value.",
2404
+ }),
2405
+ }),
2406
+ [
2407
+ Schema.Record(
2408
+ Schema.String,
2409
+ Schema.Json.annotate({ expected: "JSON value" }),
2410
+ ),
2411
+ ],
2412
+ ).annotate({
2413
+ title: "PaymentMethodConfigResourceDisplayPreference",
2414
+ description: "",
2415
+ identifier: "Stripepayment_method_config_resource_display_preference",
2416
+ });
2417
+ export const Stripepayment_method_domain_resource_payment_method_status_details =
2418
+ Schema.StructWithRest(
2419
+ Schema.Struct({
2420
+ error_message: Schema.String.annotate({
2421
+ description:
2422
+ "The error message associated with the status of the payment method on the domain.",
2423
+ }).check(
2424
+ Schema.isMaxCodePoints(5000).annotate({
2425
+ expected: "a string with at most 5000 code points",
2426
+ }),
2427
+ ),
2428
+ }),
2429
+ [
2430
+ Schema.Record(
2431
+ Schema.String,
2432
+ Schema.Json.annotate({ expected: "JSON value" }),
2433
+ ),
2434
+ ],
2435
+ ).annotate({
2436
+ title: "PaymentMethodStatusDetail",
2437
+ description:
2438
+ "Contains additional details about the status of a payment method for a specific payment method domain.",
2439
+ identifier:
2440
+ "Stripepayment_method_domain_resource_payment_method_status_details",
2441
+ });
2442
+ export const Stripepayment_method_card_wallet_masterpass = Schema.suspend(
2443
+ (): Schema.Codec<Stripepayment_method_card_wallet_masterpass> =>
2444
+ Schema.StructWithRest(
2445
+ Schema.Struct({
2446
+ billing_address: Schema.optionalKey(
2447
+ Schema.Union([
2448
+ Schema.Union([Stripeaddress]).annotate({
2449
+ description:
2450
+ "Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
2451
+ }),
2452
+ Schema.Null,
2453
+ ]),
2454
+ ),
2455
+ email: Schema.optionalKey(
2456
+ Schema.Union([
2457
+ Schema.String.annotate({
2458
+ description:
2459
+ "Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
2460
+ }).check(
2461
+ Schema.isMaxCodePoints(5000).annotate({
2462
+ expected: "a string with at most 5000 code points",
2463
+ }),
2464
+ ),
2465
+ Schema.Null,
2466
+ ]),
2467
+ ),
2468
+ name: Schema.optionalKey(
2469
+ Schema.Union([
2470
+ Schema.String.annotate({
2471
+ description:
2472
+ "Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
2473
+ }).check(
2474
+ Schema.isMaxCodePoints(5000).annotate({
2475
+ expected: "a string with at most 5000 code points",
2476
+ }),
2477
+ ),
2478
+ Schema.Null,
2479
+ ]),
2480
+ ),
2481
+ shipping_address: Schema.optionalKey(
2482
+ Schema.Union([
2483
+ Schema.Union([Stripeaddress]).annotate({
2484
+ description:
2485
+ "Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
2486
+ }),
2487
+ Schema.Null,
2488
+ ]),
2489
+ ),
2490
+ }),
2491
+ [
2492
+ Schema.Record(
2493
+ Schema.String,
2494
+ Schema.Json.annotate({ expected: "JSON value" }),
2495
+ ),
2496
+ ],
2497
+ ).annotate({
2498
+ title: "payment_method_card_wallet_masterpass",
2499
+ description: "",
2500
+ identifier: "Stripepayment_method_card_wallet_masterpass",
2501
+ }),
2502
+ );
2503
+ export const Stripepayment_method_card_wallet_visa_checkout = Schema.suspend(
2504
+ (): Schema.Codec<Stripepayment_method_card_wallet_visa_checkout> =>
2505
+ Schema.StructWithRest(
2506
+ Schema.Struct({
2507
+ billing_address: Schema.optionalKey(
2508
+ Schema.Union([
2509
+ Schema.Union([Stripeaddress]).annotate({
2510
+ description:
2511
+ "Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
2512
+ }),
2513
+ Schema.Null,
2514
+ ]),
2515
+ ),
2516
+ email: Schema.optionalKey(
2517
+ Schema.Union([
2518
+ Schema.String.annotate({
2519
+ description:
2520
+ "Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
2521
+ }).check(
2522
+ Schema.isMaxCodePoints(5000).annotate({
2523
+ expected: "a string with at most 5000 code points",
2524
+ }),
2525
+ ),
2526
+ Schema.Null,
2527
+ ]),
2528
+ ),
2529
+ name: Schema.optionalKey(
2530
+ Schema.Union([
2531
+ Schema.String.annotate({
2532
+ description:
2533
+ "Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
2534
+ }).check(
2535
+ Schema.isMaxCodePoints(5000).annotate({
2536
+ expected: "a string with at most 5000 code points",
2537
+ }),
2538
+ ),
2539
+ Schema.Null,
2540
+ ]),
2541
+ ),
2542
+ shipping_address: Schema.optionalKey(
2543
+ Schema.Union([
2544
+ Schema.Union([Stripeaddress]).annotate({
2545
+ description:
2546
+ "Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.",
2547
+ }),
2548
+ Schema.Null,
2549
+ ]),
2550
+ ),
2551
+ }),
2552
+ [
2553
+ Schema.Record(
2554
+ Schema.String,
2555
+ Schema.Json.annotate({ expected: "JSON value" }),
2556
+ ),
2557
+ ],
2558
+ ).annotate({
2559
+ title: "payment_method_card_wallet_visa_checkout",
2560
+ description: "",
2561
+ identifier: "Stripepayment_method_card_wallet_visa_checkout",
2562
+ }),
2563
+ );
2564
+ export const Stripepayment_method_card_present = Schema.suspend(
2565
+ (): Schema.Codec<Stripepayment_method_card_present> =>
2566
+ Schema.StructWithRest(
2567
+ Schema.Struct({
2568
+ brand: Schema.optionalKey(
2569
+ Schema.Union([
2570
+ Schema.String.annotate({
2571
+ description:
2572
+ "Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.",
2573
+ }).check(
2574
+ Schema.isMaxCodePoints(5000).annotate({
2575
+ expected: "a string with at most 5000 code points",
2576
+ }),
2577
+ ),
2578
+ Schema.Null,
2579
+ ]),
2580
+ ),
2581
+ brand_product: Schema.optionalKey(
2582
+ Schema.Union([
2583
+ Schema.String.annotate({
2584
+ description:
2585
+ "The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.",
2586
+ }).check(
2587
+ Schema.isMaxCodePoints(5000).annotate({
2588
+ expected: "a string with at most 5000 code points",
2589
+ }),
2590
+ ),
2591
+ Schema.Null,
2592
+ ]),
2593
+ ),
2594
+ cardholder_name: Schema.optionalKey(
2595
+ Schema.Union([
2596
+ Schema.String.annotate({
2597
+ description:
2598
+ "The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.",
2599
+ }).check(
2600
+ Schema.isMaxCodePoints(5000).annotate({
2601
+ expected: "a string with at most 5000 code points",
2602
+ }),
2603
+ ),
2604
+ Schema.Null,
2605
+ ]),
2606
+ ),
2607
+ country: Schema.optionalKey(
2608
+ Schema.Union([
2609
+ Schema.String.annotate({
2610
+ description:
2611
+ "Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.",
2612
+ }).check(
2613
+ Schema.isMaxCodePoints(5000).annotate({
2614
+ expected: "a string with at most 5000 code points",
2615
+ }),
2616
+ ),
2617
+ Schema.Null,
2618
+ ]),
2619
+ ),
2620
+ description: Schema.optionalKey(
2621
+ Schema.Union([
2622
+ Schema.String.annotate({
2623
+ description:
2624
+ "A high-level description of the type of cards issued in this range.",
2625
+ }).check(
2626
+ Schema.isMaxCodePoints(5000).annotate({
2627
+ expected: "a string with at most 5000 code points",
2628
+ }),
2629
+ ),
2630
+ Schema.Null,
2631
+ ]),
2632
+ ),
2633
+ exp_month: Schema.Number.annotate({
2634
+ description:
2635
+ "Two-digit number representing the card's expiration month.",
2636
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
2637
+ exp_year: Schema.Number.annotate({
2638
+ description:
2639
+ "Four-digit number representing the card's expiration year.",
2640
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
2641
+ fingerprint: Schema.optionalKey(
2642
+ Schema.Union([
2643
+ Schema.String.annotate({
2644
+ description:
2645
+ "Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.\n\n*As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*",
2646
+ }).check(
2647
+ Schema.isMaxCodePoints(5000).annotate({
2648
+ expected: "a string with at most 5000 code points",
2649
+ }),
2650
+ ),
2651
+ Schema.Null,
2652
+ ]),
2653
+ ),
2654
+ funding: Schema.optionalKey(
2655
+ Schema.Union([
2656
+ Schema.String.annotate({
2657
+ description:
2658
+ "Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.",
2659
+ }).check(
2660
+ Schema.isMaxCodePoints(5000).annotate({
2661
+ expected: "a string with at most 5000 code points",
2662
+ }),
2663
+ ),
2664
+ Schema.Null,
2665
+ ]),
2666
+ ),
2667
+ issuer: Schema.optionalKey(
2668
+ Schema.Union([
2669
+ Schema.String.annotate({
2670
+ description: "The name of the card's issuing bank.",
2671
+ }).check(
2672
+ Schema.isMaxCodePoints(5000).annotate({
2673
+ expected: "a string with at most 5000 code points",
2674
+ }),
2675
+ ),
2676
+ Schema.Null,
2677
+ ]),
2678
+ ),
2679
+ last4: Schema.optionalKey(
2680
+ Schema.Union([
2681
+ Schema.String.annotate({
2682
+ description: "The last four digits of the card.",
2683
+ }).check(
2684
+ Schema.isMaxCodePoints(5000).annotate({
2685
+ expected: "a string with at most 5000 code points",
2686
+ }),
2687
+ ),
2688
+ Schema.Null,
2689
+ ]),
2690
+ ),
2691
+ networks: Schema.optionalKey(
2692
+ Schema.Union([
2693
+ Schema.Union([Stripepayment_method_card_present_networks]).annotate(
2694
+ {
2695
+ description:
2696
+ "Contains information about card networks that can be used to process the payment.",
2697
+ },
2698
+ ),
2699
+ Schema.Null,
2700
+ ]),
2701
+ ),
2702
+ offline: Schema.optionalKey(
2703
+ Schema.Union([
2704
+ Schema.Union([
2705
+ Stripepayment_method_details_card_present_offline,
2706
+ ]).annotate({
2707
+ description: "Details about payment methods collected offline.",
2708
+ }),
2709
+ Schema.Null,
2710
+ ]),
2711
+ ),
2712
+ preferred_locales: Schema.optionalKey(
2713
+ Schema.Union([
2714
+ Schema.Array(
2715
+ Schema.String.check(
2716
+ Schema.isMaxCodePoints(5000).annotate({
2717
+ expected: "a string with at most 5000 code points",
2718
+ }),
2719
+ ),
2720
+ ).annotate({
2721
+ description:
2722
+ "The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.",
2723
+ }),
2724
+ Schema.Null,
2725
+ ]),
2726
+ ),
2727
+ read_method: Schema.optionalKey(
2728
+ Schema.Union([
2729
+ Schema.Literals([
2730
+ "contact_emv",
2731
+ "contactless_emv",
2732
+ "contactless_magstripe_mode",
2733
+ "magnetic_stripe_fallback",
2734
+ "magnetic_stripe_track2",
2735
+ ]).annotate({
2736
+ description: "How card details were read in this transaction.",
2737
+ }),
2738
+ Schema.Null,
2739
+ ]),
2740
+ ),
2741
+ wallet: Schema.optionalKey(
2742
+ Stripepayment_flows_private_payment_methods_card_present_common_wallet,
2743
+ ),
2744
+ }),
2745
+ [
2746
+ Schema.Record(
2747
+ Schema.String,
2748
+ Schema.Json.annotate({ expected: "JSON value" }),
2749
+ ),
2750
+ ],
2751
+ ).annotate({
2752
+ title: "payment_method_card_present",
2753
+ description: "",
2754
+ identifier: "Stripepayment_method_card_present",
2755
+ }),
2756
+ );
2757
+ export const Stripepayment_method_interac_present = Schema.suspend(
2758
+ (): Schema.Codec<Stripepayment_method_interac_present> =>
2759
+ Schema.StructWithRest(
2760
+ Schema.Struct({
2761
+ brand: Schema.optionalKey(
2762
+ Schema.Union([
2763
+ Schema.String.annotate({
2764
+ description:
2765
+ "Card brand. Can be `interac`, `mastercard` or `visa`.",
2766
+ }).check(
2767
+ Schema.isMaxCodePoints(5000).annotate({
2768
+ expected: "a string with at most 5000 code points",
2769
+ }),
2770
+ ),
2771
+ Schema.Null,
2772
+ ]),
2773
+ ),
2774
+ cardholder_name: Schema.optionalKey(
2775
+ Schema.Union([
2776
+ Schema.String.annotate({
2777
+ description:
2778
+ "The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.",
2779
+ }).check(
2780
+ Schema.isMaxCodePoints(5000).annotate({
2781
+ expected: "a string with at most 5000 code points",
2782
+ }),
2783
+ ),
2784
+ Schema.Null,
2785
+ ]),
2786
+ ),
2787
+ country: Schema.optionalKey(
2788
+ Schema.Union([
2789
+ Schema.String.annotate({
2790
+ description:
2791
+ "Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.",
2792
+ }).check(
2793
+ Schema.isMaxCodePoints(5000).annotate({
2794
+ expected: "a string with at most 5000 code points",
2795
+ }),
2796
+ ),
2797
+ Schema.Null,
2798
+ ]),
2799
+ ),
2800
+ description: Schema.optionalKey(
2801
+ Schema.Union([
2802
+ Schema.String.annotate({
2803
+ description:
2804
+ "A high-level description of the type of cards issued in this range.",
2805
+ }).check(
2806
+ Schema.isMaxCodePoints(5000).annotate({
2807
+ expected: "a string with at most 5000 code points",
2808
+ }),
2809
+ ),
2810
+ Schema.Null,
2811
+ ]),
2812
+ ),
2813
+ exp_month: Schema.Number.annotate({
2814
+ description:
2815
+ "Two-digit number representing the card's expiration month.",
2816
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
2817
+ exp_year: Schema.Number.annotate({
2818
+ description:
2819
+ "Four-digit number representing the card's expiration year.",
2820
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
2821
+ fingerprint: Schema.optionalKey(
2822
+ Schema.Union([
2823
+ Schema.String.annotate({
2824
+ description:
2825
+ "Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.\n\n*As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*",
2826
+ }).check(
2827
+ Schema.isMaxCodePoints(5000).annotate({
2828
+ expected: "a string with at most 5000 code points",
2829
+ }),
2830
+ ),
2831
+ Schema.Null,
2832
+ ]),
2833
+ ),
2834
+ funding: Schema.optionalKey(
2835
+ Schema.Union([
2836
+ Schema.String.annotate({
2837
+ description:
2838
+ "Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.",
2839
+ }).check(
2840
+ Schema.isMaxCodePoints(5000).annotate({
2841
+ expected: "a string with at most 5000 code points",
2842
+ }),
2843
+ ),
2844
+ Schema.Null,
2845
+ ]),
2846
+ ),
2847
+ issuer: Schema.optionalKey(
2848
+ Schema.Union([
2849
+ Schema.String.annotate({
2850
+ description: "The name of the card's issuing bank.",
2851
+ }).check(
2852
+ Schema.isMaxCodePoints(5000).annotate({
2853
+ expected: "a string with at most 5000 code points",
2854
+ }),
2855
+ ),
2856
+ Schema.Null,
2857
+ ]),
2858
+ ),
2859
+ last4: Schema.optionalKey(
2860
+ Schema.Union([
2861
+ Schema.String.annotate({
2862
+ description: "The last four digits of the card.",
2863
+ }).check(
2864
+ Schema.isMaxCodePoints(5000).annotate({
2865
+ expected: "a string with at most 5000 code points",
2866
+ }),
2867
+ ),
2868
+ Schema.Null,
2869
+ ]),
2870
+ ),
2871
+ networks: Schema.optionalKey(
2872
+ Schema.Union([
2873
+ Schema.Union([Stripepayment_method_card_present_networks]).annotate(
2874
+ {
2875
+ description:
2876
+ "Contains information about card networks that can be used to process the payment.",
2877
+ },
2878
+ ),
2879
+ Schema.Null,
2880
+ ]),
2881
+ ),
2882
+ preferred_locales: Schema.optionalKey(
2883
+ Schema.Union([
2884
+ Schema.Array(
2885
+ Schema.String.check(
2886
+ Schema.isMaxCodePoints(5000).annotate({
2887
+ expected: "a string with at most 5000 code points",
2888
+ }),
2889
+ ),
2890
+ ).annotate({
2891
+ description:
2892
+ "The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.",
2893
+ }),
2894
+ Schema.Null,
2895
+ ]),
2896
+ ),
2897
+ read_method: Schema.optionalKey(
2898
+ Schema.Union([
2899
+ Schema.Literals([
2900
+ "contact_emv",
2901
+ "contactless_emv",
2902
+ "contactless_magstripe_mode",
2903
+ "magnetic_stripe_fallback",
2904
+ "magnetic_stripe_track2",
2905
+ ]).annotate({
2906
+ description: "How card details were read in this transaction.",
2907
+ }),
2908
+ Schema.Null,
2909
+ ]),
2910
+ ),
2911
+ }),
2912
+ [
2913
+ Schema.Record(
2914
+ Schema.String,
2915
+ Schema.Json.annotate({ expected: "JSON value" }),
2916
+ ),
2917
+ ],
2918
+ ).annotate({
2919
+ title: "payment_method_interac_present",
2920
+ description: "",
2921
+ identifier: "Stripepayment_method_interac_present",
2922
+ }),
2923
+ );
2924
+ export const Stripepayment_method_custom = Schema.suspend(
2925
+ (): Schema.Codec<Stripepayment_method_custom> =>
2926
+ Schema.StructWithRest(
2927
+ Schema.Struct({
2928
+ display_name: Schema.optionalKey(
2929
+ Schema.Union([
2930
+ Schema.String.annotate({
2931
+ description:
2932
+ "Display name of the Dashboard-only CustomPaymentMethodType.",
2933
+ }).check(
2934
+ Schema.isMaxCodePoints(5000).annotate({
2935
+ expected: "a string with at most 5000 code points",
2936
+ }),
2937
+ ),
2938
+ Schema.Null,
2939
+ ]),
2940
+ ),
2941
+ logo: Schema.optionalKey(
2942
+ Schema.Union([
2943
+ Schema.Union([Stripecustom_logo]).annotate({
2944
+ description:
2945
+ "Contains information about the Dashboard-only CustomPaymentMethodType logo.",
2946
+ }),
2947
+ Schema.Null,
2948
+ ]),
2949
+ ),
2950
+ type: Schema.String.annotate({
2951
+ description:
2952
+ "ID of the Dashboard-only CustomPaymentMethodType. Not expandable.",
2953
+ }).check(
2954
+ Schema.isMaxCodePoints(5000).annotate({
2955
+ expected: "a string with at most 5000 code points",
2956
+ }),
2957
+ ),
2958
+ }),
2959
+ [
2960
+ Schema.Record(
2961
+ Schema.String,
2962
+ Schema.Json.annotate({ expected: "JSON value" }),
2963
+ ),
2964
+ ],
2965
+ ).annotate({
2966
+ title: "payment_method_custom",
2967
+ description: "",
2968
+ identifier: "Stripepayment_method_custom",
2969
+ }),
2970
+ );
2971
+ export const Stripepayment_method_klarna = Schema.suspend(
2972
+ (): Schema.Codec<Stripepayment_method_klarna> =>
2973
+ Schema.StructWithRest(
2974
+ Schema.Struct({
2975
+ dob: Schema.optionalKey(
2976
+ Schema.Union([
2977
+ Schema.Union([
2978
+ Stripepayment_flows_private_payment_methods_klarna_dob,
2979
+ ]).annotate({
2980
+ description: "The customer's date of birth, if provided.",
2981
+ }),
2982
+ Schema.Null,
2983
+ ]),
2984
+ ),
2985
+ }),
2986
+ [
2987
+ Schema.Record(
2988
+ Schema.String,
2989
+ Schema.Json.annotate({ expected: "JSON value" }),
2990
+ ),
2991
+ ],
2992
+ ).annotate({
2993
+ title: "payment_method_klarna",
2994
+ description: "",
2995
+ identifier: "Stripepayment_method_klarna",
2996
+ }),
2997
+ );
2998
+ export const Stripepayment_method_us_bank_account_status_details =
2999
+ Schema.suspend(
3000
+ (): Schema.Codec<Stripepayment_method_us_bank_account_status_details> =>
3001
+ Schema.StructWithRest(
3002
+ Schema.Struct({
3003
+ blocked: Schema.optionalKey(
3004
+ Stripepayment_method_us_bank_account_blocked,
3005
+ ),
3006
+ }),
3007
+ [
3008
+ Schema.Record(
3009
+ Schema.String,
3010
+ Schema.Json.annotate({ expected: "JSON value" }),
3011
+ ),
3012
+ ],
3013
+ ).annotate({
3014
+ title: "payment_method_us_bank_account_status_details",
3015
+ description: "",
3016
+ identifier: "Stripepayment_method_us_bank_account_status_details",
3017
+ }),
3018
+ );
3019
+ export const Stripepayment_method_config_resource_payment_method_properties =
3020
+ Schema.suspend(
3021
+ (): Schema.Codec<Stripepayment_method_config_resource_payment_method_properties> =>
3022
+ Schema.StructWithRest(
3023
+ Schema.Struct({
3024
+ available: Schema.Boolean.annotate({
3025
+ description:
3026
+ "Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.",
3027
+ }),
3028
+ display_preference:
3029
+ Stripepayment_method_config_resource_display_preference,
3030
+ }),
3031
+ [
3032
+ Schema.Record(
3033
+ Schema.String,
3034
+ Schema.Json.annotate({ expected: "JSON value" }),
3035
+ ),
3036
+ ],
3037
+ ).annotate({
3038
+ title: "PaymentMethodConfigResourcePaymentMethodProperties",
3039
+ description: "",
3040
+ identifier:
3041
+ "Stripepayment_method_config_resource_payment_method_properties",
3042
+ }),
3043
+ );
3044
+ export const Stripepayment_method_domain_resource_payment_method_status =
3045
+ Schema.suspend(
3046
+ (): Schema.Codec<Stripepayment_method_domain_resource_payment_method_status> =>
3047
+ Schema.StructWithRest(
3048
+ Schema.Struct({
3049
+ status: Schema.Literals(["active", "inactive"]).annotate({
3050
+ description: "The status of the payment method on the domain.",
3051
+ }),
3052
+ status_details: Schema.optionalKey(
3053
+ Stripepayment_method_domain_resource_payment_method_status_details,
3054
+ ),
3055
+ }),
3056
+ [
3057
+ Schema.Record(
3058
+ Schema.String,
3059
+ Schema.Json.annotate({ expected: "JSON value" }),
3060
+ ),
3061
+ ],
3062
+ ).annotate({
3063
+ title: "PaymentMethodStatus",
3064
+ description:
3065
+ "Indicates the status of a specific payment method on a payment method domain.",
3066
+ identifier:
3067
+ "Stripepayment_method_domain_resource_payment_method_status",
3068
+ }),
3069
+ );
3070
+ export const Stripepayment_method_card_wallet = Schema.suspend(
3071
+ (): Schema.Codec<Stripepayment_method_card_wallet> =>
3072
+ Schema.StructWithRest(
3073
+ Schema.Struct({
3074
+ amex_express_checkout: Schema.optionalKey(
3075
+ Stripepayment_method_card_wallet_amex_express_checkout,
3076
+ ),
3077
+ apple_pay: Schema.optionalKey(
3078
+ Stripepayment_method_card_wallet_apple_pay,
3079
+ ),
3080
+ dynamic_last4: Schema.optionalKey(
3081
+ Schema.Union([
3082
+ Schema.String.annotate({
3083
+ description:
3084
+ "(For tokenized numbers only.) The last four digits of the device account number.",
3085
+ }).check(
3086
+ Schema.isMaxCodePoints(5000).annotate({
3087
+ expected: "a string with at most 5000 code points",
3088
+ }),
3089
+ ),
3090
+ Schema.Null,
3091
+ ]),
3092
+ ),
3093
+ google_pay: Schema.optionalKey(
3094
+ Stripepayment_method_card_wallet_google_pay,
3095
+ ),
3096
+ link: Schema.optionalKey(Stripepayment_method_card_wallet_link),
3097
+ masterpass: Schema.optionalKey(
3098
+ Stripepayment_method_card_wallet_masterpass,
3099
+ ),
3100
+ samsung_pay: Schema.optionalKey(
3101
+ Stripepayment_method_card_wallet_samsung_pay,
3102
+ ),
3103
+ type: Schema.Literals([
3104
+ "amex_express_checkout",
3105
+ "apple_pay",
3106
+ "google_pay",
3107
+ "link",
3108
+ "masterpass",
3109
+ "samsung_pay",
3110
+ "visa_checkout",
3111
+ ]).annotate({
3112
+ description:
3113
+ "The type of the card wallet, one of `amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, `visa_checkout`, or `link`. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type.",
3114
+ }),
3115
+ visa_checkout: Schema.optionalKey(
3116
+ Stripepayment_method_card_wallet_visa_checkout,
3117
+ ),
3118
+ }),
3119
+ [
3120
+ Schema.Record(
3121
+ Schema.String,
3122
+ Schema.Json.annotate({ expected: "JSON value" }),
3123
+ ),
3124
+ ],
3125
+ ).annotate({
3126
+ title: "payment_method_card_wallet",
3127
+ description: "",
3128
+ identifier: "Stripepayment_method_card_wallet",
3129
+ }),
3130
+ );
3131
+ export const Stripepayment_method_us_bank_account = Schema.suspend(
3132
+ (): Schema.Codec<Stripepayment_method_us_bank_account> =>
3133
+ Schema.StructWithRest(
3134
+ Schema.Struct({
3135
+ account_holder_type: Schema.optionalKey(
3136
+ Schema.Union([
3137
+ Schema.Literals(["company", "individual"]).annotate({
3138
+ description: "Account holder type: individual or company.",
3139
+ }),
3140
+ Schema.Null,
3141
+ ]),
3142
+ ),
3143
+ account_type: Schema.optionalKey(
3144
+ Schema.Union([
3145
+ Schema.Literals(["checking", "savings"]).annotate({
3146
+ description:
3147
+ "Account type: checkings or savings. Defaults to checking if omitted.",
3148
+ }),
3149
+ Schema.Null,
3150
+ ]),
3151
+ ),
3152
+ bank_name: Schema.optionalKey(
3153
+ Schema.Union([
3154
+ Schema.String.annotate({
3155
+ description: "The name of the bank.",
3156
+ }).check(
3157
+ Schema.isMaxCodePoints(5000).annotate({
3158
+ expected: "a string with at most 5000 code points",
3159
+ }),
3160
+ ),
3161
+ Schema.Null,
3162
+ ]),
3163
+ ),
3164
+ financial_connections_account: Schema.optionalKey(
3165
+ Schema.Union([
3166
+ Schema.String.annotate({
3167
+ description:
3168
+ "The ID of the Financial Connections Account used to create the payment method.",
3169
+ }).check(
3170
+ Schema.isMaxCodePoints(5000).annotate({
3171
+ expected: "a string with at most 5000 code points",
3172
+ }),
3173
+ ),
3174
+ Schema.Null,
3175
+ ]),
3176
+ ),
3177
+ fingerprint: Schema.optionalKey(
3178
+ Schema.Union([
3179
+ Schema.String.annotate({
3180
+ description:
3181
+ "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.",
3182
+ }).check(
3183
+ Schema.isMaxCodePoints(5000).annotate({
3184
+ expected: "a string with at most 5000 code points",
3185
+ }),
3186
+ ),
3187
+ Schema.Null,
3188
+ ]),
3189
+ ),
3190
+ last4: Schema.optionalKey(
3191
+ Schema.Union([
3192
+ Schema.String.annotate({
3193
+ description: "Last four digits of the bank account number.",
3194
+ }).check(
3195
+ Schema.isMaxCodePoints(5000).annotate({
3196
+ expected: "a string with at most 5000 code points",
3197
+ }),
3198
+ ),
3199
+ Schema.Null,
3200
+ ]),
3201
+ ),
3202
+ networks: Schema.optionalKey(
3203
+ Schema.Union([
3204
+ Schema.Union([Stripeus_bank_account_networks]).annotate({
3205
+ description:
3206
+ "Contains information about US bank account networks that can be used.",
3207
+ }),
3208
+ Schema.Null,
3209
+ ]),
3210
+ ),
3211
+ routing_number: Schema.optionalKey(
3212
+ Schema.Union([
3213
+ Schema.String.annotate({
3214
+ description: "Routing number of the bank account.",
3215
+ }).check(
3216
+ Schema.isMaxCodePoints(5000).annotate({
3217
+ expected: "a string with at most 5000 code points",
3218
+ }),
3219
+ ),
3220
+ Schema.Null,
3221
+ ]),
3222
+ ),
3223
+ status_details: Schema.optionalKey(
3224
+ Schema.Union([
3225
+ Schema.Union([
3226
+ Stripepayment_method_us_bank_account_status_details,
3227
+ ]).annotate({
3228
+ description:
3229
+ "Contains information about the future reusability of this PaymentMethod.",
3230
+ }),
3231
+ Schema.Null,
3232
+ ]),
3233
+ ),
3234
+ }),
3235
+ [
3236
+ Schema.Record(
3237
+ Schema.String,
3238
+ Schema.Json.annotate({ expected: "JSON value" }),
3239
+ ),
3240
+ ],
3241
+ ).annotate({
3242
+ title: "payment_method_us_bank_account",
3243
+ description: "",
3244
+ identifier: "Stripepayment_method_us_bank_account",
3245
+ }),
3246
+ );
3247
+ export const Stripepayment_method_configuration = Schema.suspend(
3248
+ (): Schema.Codec<Stripepayment_method_configuration> =>
3249
+ Schema.StructWithRest(
3250
+ Schema.Struct({
3251
+ acss_debit: Schema.optionalKey(
3252
+ Stripepayment_method_config_resource_payment_method_properties,
3253
+ ),
3254
+ active: Schema.Boolean.annotate({
3255
+ description:
3256
+ "Whether the configuration can be used for new payments.",
3257
+ }),
3258
+ affirm: Schema.optionalKey(
3259
+ Stripepayment_method_config_resource_payment_method_properties,
3260
+ ),
3261
+ afterpay_clearpay: Schema.optionalKey(
3262
+ Stripepayment_method_config_resource_payment_method_properties,
3263
+ ),
3264
+ alipay: Schema.optionalKey(
3265
+ Stripepayment_method_config_resource_payment_method_properties,
3266
+ ),
3267
+ alma: Schema.optionalKey(
3268
+ Stripepayment_method_config_resource_payment_method_properties,
3269
+ ),
3270
+ amazon_pay: Schema.optionalKey(
3271
+ Stripepayment_method_config_resource_payment_method_properties,
3272
+ ),
3273
+ apple_pay: Schema.optionalKey(
3274
+ Stripepayment_method_config_resource_payment_method_properties,
3275
+ ),
3276
+ application: Schema.optionalKey(
3277
+ Schema.Union([
3278
+ Schema.String.annotate({
3279
+ description:
3280
+ "For child configs, the Connect application associated with the configuration.",
3281
+ }).check(
3282
+ Schema.isMaxCodePoints(5000).annotate({
3283
+ expected: "a string with at most 5000 code points",
3284
+ }),
3285
+ ),
3286
+ Schema.Null,
3287
+ ]),
3288
+ ),
3289
+ au_becs_debit: Schema.optionalKey(
3290
+ Stripepayment_method_config_resource_payment_method_properties,
3291
+ ),
3292
+ bacs_debit: Schema.optionalKey(
3293
+ Stripepayment_method_config_resource_payment_method_properties,
3294
+ ),
3295
+ bancontact: Schema.optionalKey(
3296
+ Stripepayment_method_config_resource_payment_method_properties,
3297
+ ),
3298
+ billie: Schema.optionalKey(
3299
+ Stripepayment_method_config_resource_payment_method_properties,
3300
+ ),
3301
+ bizum: Schema.optionalKey(
3302
+ Stripepayment_method_config_resource_payment_method_properties,
3303
+ ),
3304
+ blik: Schema.optionalKey(
3305
+ Stripepayment_method_config_resource_payment_method_properties,
3306
+ ),
3307
+ boleto: Schema.optionalKey(
3308
+ Stripepayment_method_config_resource_payment_method_properties,
3309
+ ),
3310
+ card: Schema.optionalKey(
3311
+ Stripepayment_method_config_resource_payment_method_properties,
3312
+ ),
3313
+ cartes_bancaires: Schema.optionalKey(
3314
+ Stripepayment_method_config_resource_payment_method_properties,
3315
+ ),
3316
+ cashapp: Schema.optionalKey(
3317
+ Stripepayment_method_config_resource_payment_method_properties,
3318
+ ),
3319
+ crypto: Schema.optionalKey(
3320
+ Stripepayment_method_config_resource_payment_method_properties,
3321
+ ),
3322
+ customer_balance: Schema.optionalKey(
3323
+ Stripepayment_method_config_resource_payment_method_properties,
3324
+ ),
3325
+ eps: Schema.optionalKey(
3326
+ Stripepayment_method_config_resource_payment_method_properties,
3327
+ ),
3328
+ fpx: Schema.optionalKey(
3329
+ Stripepayment_method_config_resource_payment_method_properties,
3330
+ ),
3331
+ giropay: Schema.optionalKey(
3332
+ Stripepayment_method_config_resource_payment_method_properties,
3333
+ ),
3334
+ google_pay: Schema.optionalKey(
3335
+ Stripepayment_method_config_resource_payment_method_properties,
3336
+ ),
3337
+ grabpay: Schema.optionalKey(
3338
+ Stripepayment_method_config_resource_payment_method_properties,
3339
+ ),
3340
+ id: Schema.String.annotate({
3341
+ description: "Unique identifier for the object.",
3342
+ }).check(
3343
+ Schema.isMaxCodePoints(5000).annotate({
3344
+ expected: "a string with at most 5000 code points",
3345
+ }),
3346
+ ),
3347
+ ideal: Schema.optionalKey(
3348
+ Stripepayment_method_config_resource_payment_method_properties,
3349
+ ),
3350
+ is_default: Schema.Boolean.annotate({
3351
+ description:
3352
+ "The default configuration is used whenever a payment method configuration is not specified.",
3353
+ }),
3354
+ jcb: Schema.optionalKey(
3355
+ Stripepayment_method_config_resource_payment_method_properties,
3356
+ ),
3357
+ kakao_pay: Schema.optionalKey(
3358
+ Stripepayment_method_config_resource_payment_method_properties,
3359
+ ),
3360
+ klarna: Schema.optionalKey(
3361
+ Stripepayment_method_config_resource_payment_method_properties,
3362
+ ),
3363
+ konbini: Schema.optionalKey(
3364
+ Stripepayment_method_config_resource_payment_method_properties,
3365
+ ),
3366
+ kr_card: Schema.optionalKey(
3367
+ Stripepayment_method_config_resource_payment_method_properties,
3368
+ ),
3369
+ link: Schema.optionalKey(
3370
+ Stripepayment_method_config_resource_payment_method_properties,
3371
+ ),
3372
+ livemode: Schema.Boolean.annotate({
3373
+ description:
3374
+ "If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.",
3375
+ }),
3376
+ mb_way: Schema.optionalKey(
3377
+ Stripepayment_method_config_resource_payment_method_properties,
3378
+ ),
3379
+ mobilepay: Schema.optionalKey(
3380
+ Stripepayment_method_config_resource_payment_method_properties,
3381
+ ),
3382
+ multibanco: Schema.optionalKey(
3383
+ Stripepayment_method_config_resource_payment_method_properties,
3384
+ ),
3385
+ name: Schema.String.annotate({
3386
+ description: "The configuration's name.",
3387
+ }).check(
3388
+ Schema.isMaxCodePoints(5000).annotate({
3389
+ expected: "a string with at most 5000 code points",
3390
+ }),
3391
+ ),
3392
+ naver_pay: Schema.optionalKey(
3393
+ Stripepayment_method_config_resource_payment_method_properties,
3394
+ ),
3395
+ nz_bank_account: Schema.optionalKey(
3396
+ Stripepayment_method_config_resource_payment_method_properties,
3397
+ ),
3398
+ object: Schema.Literal("payment_method_configuration").annotate({
3399
+ description:
3400
+ "String representing the object's type. Objects of the same type share the same value.",
3401
+ }),
3402
+ oxxo: Schema.optionalKey(
3403
+ Stripepayment_method_config_resource_payment_method_properties,
3404
+ ),
3405
+ p24: Schema.optionalKey(
3406
+ Stripepayment_method_config_resource_payment_method_properties,
3407
+ ),
3408
+ parent: Schema.optionalKey(
3409
+ Schema.Union([
3410
+ Schema.String.annotate({
3411
+ description:
3412
+ "For child configs, the configuration's parent configuration.",
3413
+ }).check(
3414
+ Schema.isMaxCodePoints(5000).annotate({
3415
+ expected: "a string with at most 5000 code points",
3416
+ }),
3417
+ ),
3418
+ Schema.Null,
3419
+ ]),
3420
+ ),
3421
+ pay_by_bank: Schema.optionalKey(
3422
+ Stripepayment_method_config_resource_payment_method_properties,
3423
+ ),
3424
+ payco: Schema.optionalKey(
3425
+ Stripepayment_method_config_resource_payment_method_properties,
3426
+ ),
3427
+ paynow: Schema.optionalKey(
3428
+ Stripepayment_method_config_resource_payment_method_properties,
3429
+ ),
3430
+ paypal: Schema.optionalKey(
3431
+ Stripepayment_method_config_resource_payment_method_properties,
3432
+ ),
3433
+ paypay: Schema.optionalKey(
3434
+ Stripepayment_method_config_resource_payment_method_properties,
3435
+ ),
3436
+ payto: Schema.optionalKey(
3437
+ Stripepayment_method_config_resource_payment_method_properties,
3438
+ ),
3439
+ pix: Schema.optionalKey(
3440
+ Stripepayment_method_config_resource_payment_method_properties,
3441
+ ),
3442
+ promptpay: Schema.optionalKey(
3443
+ Stripepayment_method_config_resource_payment_method_properties,
3444
+ ),
3445
+ revolut_pay: Schema.optionalKey(
3446
+ Stripepayment_method_config_resource_payment_method_properties,
3447
+ ),
3448
+ samsung_pay: Schema.optionalKey(
3449
+ Stripepayment_method_config_resource_payment_method_properties,
3450
+ ),
3451
+ satispay: Schema.optionalKey(
3452
+ Stripepayment_method_config_resource_payment_method_properties,
3453
+ ),
3454
+ scalapay: Schema.optionalKey(
3455
+ Stripepayment_method_config_resource_payment_method_properties,
3456
+ ),
3457
+ sepa_debit: Schema.optionalKey(
3458
+ Stripepayment_method_config_resource_payment_method_properties,
3459
+ ),
3460
+ sequra: Schema.optionalKey(
3461
+ Stripepayment_method_config_resource_payment_method_properties,
3462
+ ),
3463
+ sofort: Schema.optionalKey(
3464
+ Stripepayment_method_config_resource_payment_method_properties,
3465
+ ),
3466
+ sunbit: Schema.optionalKey(
3467
+ Stripepayment_method_config_resource_payment_method_properties,
3468
+ ),
3469
+ swish: Schema.optionalKey(
3470
+ Stripepayment_method_config_resource_payment_method_properties,
3471
+ ),
3472
+ twint: Schema.optionalKey(
3473
+ Stripepayment_method_config_resource_payment_method_properties,
3474
+ ),
3475
+ upi: Schema.optionalKey(
3476
+ Stripepayment_method_config_resource_payment_method_properties,
3477
+ ),
3478
+ us_bank_account: Schema.optionalKey(
3479
+ Stripepayment_method_config_resource_payment_method_properties,
3480
+ ),
3481
+ wechat_pay: Schema.optionalKey(
3482
+ Stripepayment_method_config_resource_payment_method_properties,
3483
+ ),
3484
+ zip: Schema.optionalKey(
3485
+ Stripepayment_method_config_resource_payment_method_properties,
3486
+ ),
3487
+ }),
3488
+ [
3489
+ Schema.Record(
3490
+ Schema.String,
3491
+ Schema.Json.annotate({ expected: "JSON value" }),
3492
+ ),
3493
+ ],
3494
+ ).annotate({
3495
+ title: "Payment Method Configuration",
3496
+ description:
3497
+ "PaymentMethodConfigurations control which payment methods are displayed to your customers when you don't explicitly specify payment method types. You can have multiple configurations with different sets of payment methods for different scenarios.\n\nThere are two types of PaymentMethodConfigurations. Which is used depends on the [charge type](https://docs.stripe.com/connect/charges):\n\n**Direct** configurations apply to payments created on your account, including Connect destination charges, Connect separate charges and transfers, and payments not involving Connect.\n\n**Child** configurations apply to payments created on your connected accounts using direct charges, and charges with the on_behalf_of parameter.\n\nChild configurations have a `parent` that sets default values and controls which settings connected accounts may override. You can specify a parent ID at payment time, and Stripe will automatically resolve the connected account’s associated child configuration. Parent configurations are [managed in the dashboard](https://dashboard.stripe.com/settings/payment_methods/connected_accounts) and are not available in this API.\n\nRelated guides:\n- [Payment Method Configurations API](https://docs.stripe.com/connect/payment-method-configurations)\n- [Multiple configurations on dynamic payment methods](https://docs.stripe.com/payments/multiple-payment-method-configs)\n- [Multiple configurations for your Connect accounts](https://docs.stripe.com/connect/multiple-payment-method-configurations)",
3498
+ identifier: "Stripepayment_method_configuration",
3499
+ }),
3500
+ );
3501
+ export const Stripepayment_method_domain = Schema.suspend(
3502
+ (): Schema.Codec<Stripepayment_method_domain> =>
3503
+ Schema.StructWithRest(
3504
+ Schema.Struct({
3505
+ amazon_pay: Stripepayment_method_domain_resource_payment_method_status,
3506
+ apple_pay: Stripepayment_method_domain_resource_payment_method_status,
3507
+ created: Schema.Number.annotate({
3508
+ description:
3509
+ "Time at which the object was created. Measured in seconds since the Unix epoch.",
3510
+ format: "unix-time",
3511
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
3512
+ domain_name: Schema.String.annotate({
3513
+ description:
3514
+ "The domain name that this payment method domain object represents.",
3515
+ }).check(
3516
+ Schema.isMaxCodePoints(5000).annotate({
3517
+ expected: "a string with at most 5000 code points",
3518
+ }),
3519
+ ),
3520
+ enabled: Schema.Boolean.annotate({
3521
+ description:
3522
+ "Whether this payment method domain is enabled. If the domain is not enabled, payment methods that require a payment method domain will not appear in Elements.",
3523
+ }),
3524
+ google_pay: Stripepayment_method_domain_resource_payment_method_status,
3525
+ id: Schema.String.annotate({
3526
+ description: "Unique identifier for the object.",
3527
+ }).check(
3528
+ Schema.isMaxCodePoints(5000).annotate({
3529
+ expected: "a string with at most 5000 code points",
3530
+ }),
3531
+ ),
3532
+ klarna: Stripepayment_method_domain_resource_payment_method_status,
3533
+ link: Stripepayment_method_domain_resource_payment_method_status,
3534
+ livemode: Schema.Boolean.annotate({
3535
+ description:
3536
+ "If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.",
3537
+ }),
3538
+ object: Schema.Literal("payment_method_domain").annotate({
3539
+ description:
3540
+ "String representing the object's type. Objects of the same type share the same value.",
3541
+ }),
3542
+ paypal: Stripepayment_method_domain_resource_payment_method_status,
3543
+ }),
3544
+ [
3545
+ Schema.Record(
3546
+ Schema.String,
3547
+ Schema.Json.annotate({ expected: "JSON value" }),
3548
+ ),
3549
+ ],
3550
+ ).annotate({
3551
+ title: "PaymentMethodDomain",
3552
+ description:
3553
+ "A payment method domain represents a web domain that you have registered with Stripe.\nStripe Elements use registered payment method domains to control where certain payment methods are shown.\n\nRelated guide: [Payment method domains](https://docs.stripe.com/payments/payment-methods/pmd-registration).",
3554
+ identifier: "Stripepayment_method_domain",
3555
+ }),
3556
+ );
3557
+ export const Stripepayment_method_card_generated_card = Schema.suspend(
3558
+ (): Schema.Codec<Stripepayment_method_card_generated_card> =>
3559
+ Schema.StructWithRest(
3560
+ Schema.Struct({
3561
+ charge: Schema.optionalKey(
3562
+ Schema.Union([
3563
+ Schema.String.annotate({
3564
+ description: "The charge that created this object.",
3565
+ }).check(
3566
+ Schema.isMaxCodePoints(5000).annotate({
3567
+ expected: "a string with at most 5000 code points",
3568
+ }),
3569
+ ),
3570
+ Schema.Null,
3571
+ ]),
3572
+ ),
3573
+ payment_method_details: Schema.optionalKey(
3574
+ Schema.Union([
3575
+ Schema.Union([
3576
+ Stripecard_generated_from_payment_method_details,
3577
+ ]).annotate({
3578
+ description:
3579
+ "Transaction-specific details of the payment method used in the payment.",
3580
+ }),
3581
+ Schema.Null,
3582
+ ]),
3583
+ ),
3584
+ setup_attempt: Schema.optionalKey(
3585
+ Schema.Union([
3586
+ Schema.Union([
3587
+ Schema.String.check(
3588
+ Schema.isMaxCodePoints(5000).annotate({
3589
+ expected: "a string with at most 5000 code points",
3590
+ }),
3591
+ ),
3592
+ Stripesetup_attempt,
3593
+ ]).annotate({
3594
+ description:
3595
+ "The ID of the SetupAttempt that generated this PaymentMethod, if any.",
3596
+ }),
3597
+ Schema.Null,
3598
+ ]),
3599
+ ),
3600
+ }),
3601
+ [
3602
+ Schema.Record(
3603
+ Schema.String,
3604
+ Schema.Json.annotate({ expected: "JSON value" }),
3605
+ ),
3606
+ ],
3607
+ ).annotate({
3608
+ title: "payment_method_card_generated_card",
3609
+ description: "",
3610
+ identifier: "Stripepayment_method_card_generated_card",
3611
+ }),
3612
+ );
3613
+ export const Stripepayment_method_card = Schema.suspend(
3614
+ (): Schema.Codec<Stripepayment_method_card> =>
3615
+ Schema.StructWithRest(
3616
+ Schema.Struct({
3617
+ brand: Schema.String.annotate({
3618
+ description:
3619
+ "Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.",
3620
+ }).check(
3621
+ Schema.isMaxCodePoints(5000).annotate({
3622
+ expected: "a string with at most 5000 code points",
3623
+ }),
3624
+ ),
3625
+ checks: Schema.optionalKey(
3626
+ Schema.Union([
3627
+ Schema.Union([Stripepayment_method_card_checks]).annotate({
3628
+ description: "Checks on Card address and CVC if provided.",
3629
+ }),
3630
+ Schema.Null,
3631
+ ]),
3632
+ ),
3633
+ country: Schema.optionalKey(
3634
+ Schema.Union([
3635
+ Schema.String.annotate({
3636
+ description:
3637
+ "Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.",
3638
+ }).check(
3639
+ Schema.isMaxCodePoints(5000).annotate({
3640
+ expected: "a string with at most 5000 code points",
3641
+ }),
3642
+ ),
3643
+ Schema.Null,
3644
+ ]),
3645
+ ),
3646
+ display_brand: Schema.optionalKey(
3647
+ Schema.Union([
3648
+ Schema.String.annotate({
3649
+ description:
3650
+ "The brand to use when displaying the card, this accounts for customer's brand choice on dual-branded cards. Can be `american_express`, `cartes_bancaires`, `diners_club`, `discover`, `eftpos_australia`, `interac`, `jcb`, `mastercard`, `union_pay`, `visa`, or `other` and may contain more values in the future.",
3651
+ }).check(
3652
+ Schema.isMaxCodePoints(5000).annotate({
3653
+ expected: "a string with at most 5000 code points",
3654
+ }),
3655
+ ),
3656
+ Schema.Null,
3657
+ ]),
3658
+ ),
3659
+ exp_month: Schema.Number.annotate({
3660
+ description:
3661
+ "Two-digit number representing the card's expiration month.",
3662
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
3663
+ exp_year: Schema.Number.annotate({
3664
+ description:
3665
+ "Four-digit number representing the card's expiration year.",
3666
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
3667
+ fingerprint: Schema.optionalKey(
3668
+ Schema.Union([
3669
+ Schema.String.annotate({
3670
+ description:
3671
+ "Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.\n\n*As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*",
3672
+ }).check(
3673
+ Schema.isMaxCodePoints(5000).annotate({
3674
+ expected: "a string with at most 5000 code points",
3675
+ }),
3676
+ ),
3677
+ Schema.Null,
3678
+ ]),
3679
+ ),
3680
+ funding: Schema.String.annotate({
3681
+ description:
3682
+ "Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.",
3683
+ }).check(
3684
+ Schema.isMaxCodePoints(5000).annotate({
3685
+ expected: "a string with at most 5000 code points",
3686
+ }),
3687
+ ),
3688
+ generated_from: Schema.optionalKey(
3689
+ Schema.Union([
3690
+ Schema.Union([Stripepayment_method_card_generated_card]).annotate({
3691
+ description:
3692
+ "Details of the original PaymentMethod that created this object.",
3693
+ }),
3694
+ Schema.Null,
3695
+ ]),
3696
+ ),
3697
+ last4: Schema.String.annotate({
3698
+ description: "The last four digits of the card.",
3699
+ }).check(
3700
+ Schema.isMaxCodePoints(5000).annotate({
3701
+ expected: "a string with at most 5000 code points",
3702
+ }),
3703
+ ),
3704
+ networks: Schema.optionalKey(
3705
+ Schema.Union([
3706
+ Schema.Union([Stripenetworks]).annotate({
3707
+ description:
3708
+ "Contains information about card networks that can be used to process the payment.",
3709
+ }),
3710
+ Schema.Null,
3711
+ ]),
3712
+ ),
3713
+ regulated_status: Schema.optionalKey(
3714
+ Schema.Union([
3715
+ Schema.Literals(["regulated", "unregulated"]).annotate({
3716
+ description: "Status of a card based on the card issuer.",
3717
+ }),
3718
+ Schema.Null,
3719
+ ]),
3720
+ ),
3721
+ three_d_secure_usage: Schema.optionalKey(
3722
+ Schema.Union([
3723
+ Schema.Union([Stripethree_d_secure_usage]).annotate({
3724
+ description:
3725
+ "Contains details on how this Card may be used for 3D Secure authentication.",
3726
+ }),
3727
+ Schema.Null,
3728
+ ]),
3729
+ ),
3730
+ wallet: Schema.optionalKey(
3731
+ Schema.Union([
3732
+ Schema.Union([Stripepayment_method_card_wallet]).annotate({
3733
+ description:
3734
+ "If this Card is part of a card wallet, this contains the details of the card wallet.",
3735
+ }),
3736
+ Schema.Null,
3737
+ ]),
3738
+ ),
3739
+ }),
3740
+ [
3741
+ Schema.Record(
3742
+ Schema.String,
3743
+ Schema.Json.annotate({ expected: "JSON value" }),
3744
+ ),
3745
+ ],
3746
+ ).annotate({
3747
+ title: "payment_method_card",
3748
+ description: "",
3749
+ identifier: "Stripepayment_method_card",
3750
+ }),
3751
+ );