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.
- package/CHANGELOG.md +34 -0
- package/LICENSE +1 -1
- package/README.md +52 -26
- package/ROADMAP.md +19 -0
- package/docs/README.md +19 -0
- package/docs/application/aws-resource-coverage.md +26 -0
- package/docs/application/aws-resource-lifecycle-management.md +47 -0
- package/docs/application/cli-workflow.md +111 -0
- package/docs/application/engine-design.md +43 -0
- package/docs/application/generation-architecture.md +285 -0
- package/docs/application/resource-command-policy-stage.md +37 -0
- package/docs/application/resource-graph.md +45 -0
- package/docs/application/resource-lifecycle-tracker.md +43 -0
- package/docs/application/resource-mapping.md +112 -0
- package/docs/application/resource-operations.md +41 -0
- package/docs/application/resource-outputs.md +66 -0
- package/docs/application/tracing.md +27 -0
- package/docs/development/code-documentation.md +54 -0
- package/docs/development/commit-message-spec.md +9 -0
- package/docs/development/effect-native-development.md +89 -0
- package/docs/development/linting.md +39 -0
- package/docs/development/resource-graph-testing-approach.md +9 -0
- package/docs/development/review-code.md +73 -0
- package/docs/development/review-docs.md +27 -0
- package/docs/development/review-remediation-spec.md +40 -0
- package/docs/development/spec-writing.md +35 -0
- package/docs/development/testing.md +125 -0
- package/docs/development/unslop.md +55 -0
- package/docs/operations/observability-sop.md +32 -0
- package/docs/operations/releasing.md +7 -0
- package/examples/README.md +11 -0
- package/examples/cli.ts +15 -0
- package/examples/commands.ts +32 -0
- package/examples/http-echo/index.ts +54 -0
- package/examples/queue/application.ts +37 -0
- package/examples/state-machine/application.ts +57 -0
- package/examples/stripe-billing/application.ts +56 -0
- package/media/nomoss-http-demo.gif +0 -0
- package/package.json +63 -24
- package/providers/aws/README.md +21 -0
- package/providers/aws/awsEnvironment.ts +114 -0
- package/providers/aws/generated/managementRegistry.ts +136 -0
- package/providers/aws/generated/resources/apigatewayv2/api.ts +528 -0
- package/providers/aws/generated/resources/apigatewayv2/integration.ts +559 -0
- package/providers/aws/generated/resources/apigatewayv2/route.ts +421 -0
- package/providers/aws/generated/resources/apigatewayv2/stage.ts +366 -0
- package/providers/aws/generated/resources/iam/accesskey.ts +184 -0
- package/providers/aws/generated/resources/iam/group.ts +294 -0
- package/providers/aws/generated/resources/iam/grouppolicy.ts +244 -0
- package/providers/aws/generated/resources/iam/instanceprofile.ts +249 -0
- package/providers/aws/generated/resources/iam/managedpolicy.ts +518 -0
- package/providers/aws/generated/resources/iam/oidcprovider.ts +314 -0
- package/providers/aws/generated/resources/iam/policy.ts +264 -0
- package/providers/aws/generated/resources/iam/role.ts +444 -0
- package/providers/aws/generated/resources/iam/rolepolicy.ts +242 -0
- package/providers/aws/generated/resources/iam/samlprovider.ts +463 -0
- package/providers/aws/generated/resources/iam/servercertificate.ts +465 -0
- package/providers/aws/generated/resources/iam/servicelinkedrole.ts +187 -0
- package/providers/aws/generated/resources/iam/user.ts +435 -0
- package/providers/aws/generated/resources/iam/userpolicy.ts +242 -0
- package/providers/aws/generated/resources/iam/usertogroupaddition.ts +212 -0
- package/providers/aws/generated/resources/iam/virtualmfadevice.ts +298 -0
- package/providers/aws/generated/resources/kms/key.ts +552 -0
- package/providers/aws/generated/resources/lambda/function.ts +1924 -0
- package/providers/aws/generated/resources/lambda/permission.ts +913 -0
- package/providers/aws/generated/resources/s3/bucket.ts +3325 -0
- package/providers/aws/generated/resources/sns/topic.ts +536 -0
- package/providers/aws/generated/resources/sqs/queue.ts +476 -0
- package/providers/aws/generated/resources/stepfunctions/statemachine.ts +720 -0
- package/providers/aws/management/mappings/iam/group.ts +63 -0
- package/providers/aws/management/mappings/iam/iamIdentity.ts +41 -0
- package/providers/aws/management/mappings/iam/iamLifecycleSettings.ts +8 -0
- package/providers/aws/management/mappings/iam/inlinePolicies.ts +159 -0
- package/providers/aws/management/mappings/iam/instanceProfile.ts +77 -0
- package/providers/aws/management/mappings/iam/oidcProvider.ts +94 -0
- package/providers/aws/management/mappings/iam/role.ts +74 -0
- package/providers/aws/management/mappings/iam/samlProvider.ts +98 -0
- package/providers/aws/management/mappings/iam/serverCertificate.ts +72 -0
- package/providers/aws/management/mappings/iam/user.ts +61 -0
- package/providers/aws/management/mappings/iam/userToGroupAddition.ts +75 -0
- package/providers/aws/management/operations/iam/accessKey.ts +206 -0
- package/providers/aws/management/operations/iam/managedPolicy.ts +491 -0
- package/providers/aws/management/operations/iam/policy.ts +476 -0
- package/providers/aws/management/operations/iam/serviceLinkedRole.ts +172 -0
- package/providers/aws/management/operations/iam/virtualMfaDevice.ts +253 -0
- package/providers/aws/management/resourceAssociationConfiguration.ts +112 -0
- package/providers/aws/management/resourceAssociationRegistration.ts +349 -0
- package/providers/aws/management/resourceAssociations.ts +168 -0
- package/providers/aws/management/resourceConfiguration.ts +119 -0
- package/providers/aws/management/resourceLifecycleRegistration.ts +540 -0
- package/providers/aws/management/resourceManagementModule.ts +31 -0
- package/providers/aws/management/resourceManagementRegistry.ts +62 -0
- package/providers/aws/management/resourceMapping.ts +84 -0
- package/providers/aws/management/resourceOperation.ts +134 -0
- package/providers/aws/management/resourceTagOperations.ts +108 -0
- package/providers/aws/management/resourceTiming.ts +4 -0
- package/providers/aws/runtime.ts +52 -0
- package/src/cli.ts +31 -13
- package/src/cliCommand.ts +207 -170
- package/src/cliDiagnostics.ts +104 -0
- package/src/core/asset.ts +350 -0
- package/src/core/index.ts +61 -17
- package/src/core/{lifecycle.ts → resource/lifecycle.ts} +33 -3
- package/src/core/resource/model.ts +1168 -0
- package/src/core/resource/resourceCommandPolicy.ts +88 -0
- package/src/core/resource/resourceGraphBuilder.ts +319 -0
- package/src/core/resource/resourceGraphStore.ts +373 -0
- package/src/core/resource/resourceLifecycle.ts +644 -0
- package/src/core/resource/resourceOutputBinding.ts +113 -0
- package/src/core/resource/resourceOutputResolver.ts +365 -0
- package/src/core/resource/resourceRequest.ts +186 -0
- package/src/core/resource/resourceStabilization.ts +120 -0
- package/src/core/resource/resourceVersions.ts +102 -0
- package/src/core/runtime/stackRuntimeLayer.ts +16 -0
- package/src/core/runtime/tracing.ts +43 -0
- package/src/core/stack/planner.ts +663 -0
- package/src/core/stack/resourceDisplay.ts +213 -0
- package/src/core/stack/resourceStackDefinition.ts +32 -0
- package/src/core/stack/resourceStackLifecycle.ts +1229 -0
- package/src/core/stack/resourceStackOperations.ts +642 -0
- package/src/core/stack/resourceStackProgress.ts +169 -0
- package/src/core/stack/stackWorkflowRenderer.ts +756 -0
- package/src/core/state/localState.ts +18 -0
- package/src/core/state/resourceState.ts +77 -0
- package/src/core/{stateSecretService.ts → state/stateSecretService.ts} +183 -193
- package/src/core/state/stateStore.ts +600 -0
- package/src/providers/file/jsonFile.ts +94 -0
- package/src/providers/file/model.ts +29 -0
- package/src/providers/file/resourcePolicy.ts +271 -0
- package/src/providers/index.ts +0 -2
- package/src/providers/providerRuntimeLayer.ts +27 -113
- package/src/providers/resourceCommandPolicyLayer.ts +151 -200
- package/src/providers/stripe/client/generated/LICENSE +21 -0
- package/src/providers/stripe/client/generated/accounts.ts +14360 -0
- package/src/providers/stripe/client/generated/applePayDomains.ts +313 -0
- package/src/providers/stripe/client/generated/appsInstalls.ts +495 -0
- package/src/providers/stripe/client/generated/billingAlerts.ts +515 -0
- package/src/providers/stripe/client/generated/billingCreditGrants.ts +631 -0
- package/src/providers/stripe/client/generated/billingFeedbackOptions.ts +396 -0
- package/src/providers/stripe/client/generated/billingMeters.ts +688 -0
- package/src/providers/stripe/client/generated/billingPortalConfigurations.ts +1279 -0
- package/src/providers/stripe/client/generated/catalog.ts +18881 -0
- package/src/providers/stripe/client/generated/charges.ts +2637 -0
- package/src/providers/stripe/client/generated/checkoutSessions.ts +5692 -0
- package/src/providers/stripe/client/generated/climateOrders.ts +472 -0
- package/src/providers/stripe/client/generated/commerceProductCatalogImports.ts +268 -0
- package/src/providers/stripe/client/generated/configuration.ts +3 -0
- package/src/providers/stripe/client/generated/coreAccountTokens.ts +2492 -0
- package/src/providers/stripe/client/generated/coreEventDestinations.ts +684 -0
- package/src/providers/stripe/client/generated/coreVaultGbBankAccounts.ts +380 -0
- package/src/providers/stripe/client/generated/coreVaultUsBankAccounts.ts +648 -0
- package/src/providers/stripe/client/generated/coupons.ts +562 -0
- package/src/providers/stripe/client/generated/creditNotes.ts +1430 -0
- package/src/providers/stripe/client/generated/customers.ts +10712 -0
- package/src/providers/stripe/client/generated/entitlementsFeatures.ts +378 -0
- package/src/providers/stripe/client/generated/fileLinks.ts +383 -0
- package/src/providers/stripe/client/generated/financialConnectionsSessions.ts +297 -0
- package/src/providers/stripe/client/generated/forwardingRequests.ts +366 -0
- package/src/providers/stripe/client/generated/identityVerificationSessions.ts +780 -0
- package/src/providers/stripe/client/generated/index.ts +330 -0
- package/src/providers/stripe/client/generated/invoiceitems.ts +924 -0
- package/src/providers/stripe/client/generated/invoices.ts +8412 -0
- package/src/providers/stripe/client/generated/issuingCardholders.ts +4650 -0
- package/src/providers/stripe/client/generated/issuingCards.ts +4622 -0
- package/src/providers/stripe/client/generated/issuingDisputes.ts +1474 -0
- package/src/providers/stripe/client/generated/issuingPersonalizationDesigns.ts +634 -0
- package/src/providers/stripe/client/generated/models/accounts.ts +2808 -0
- package/src/providers/stripe/client/generated/models/billing.ts +2527 -0
- package/src/providers/stripe/client/generated/models/catalog.ts +3411 -0
- package/src/providers/stripe/client/generated/models/charges.ts +3616 -0
- package/src/providers/stripe/client/generated/models/common.ts +25024 -0
- package/src/providers/stripe/client/generated/models/customers.ts +1559 -0
- package/src/providers/stripe/client/generated/models/invoices.ts +3881 -0
- package/src/providers/stripe/client/generated/models/issuing.ts +7083 -0
- package/src/providers/stripe/client/generated/models/issuingCardholders.ts +2495 -0
- package/src/providers/stripe/client/generated/models/paymentIntents.ts +4148 -0
- package/src/providers/stripe/client/generated/models/paymentMethodDetails.ts +8128 -0
- package/src/providers/stripe/client/generated/models/paymentMethodOptions.ts +1684 -0
- package/src/providers/stripe/client/generated/models/paymentMethods.ts +3751 -0
- package/src/providers/stripe/client/generated/models/paymentSources.ts +1443 -0
- package/src/providers/stripe/client/generated/models/payments.ts +8558 -0
- package/src/providers/stripe/client/generated/models/setupIntents.ts +3344 -0
- package/src/providers/stripe/client/generated/models/sources.ts +1898 -0
- package/src/providers/stripe/client/generated/models/subscriptions.ts +3836 -0
- package/src/providers/stripe/client/generated/models/transfers.ts +1197 -0
- package/src/providers/stripe/client/generated/models/treasury.ts +3852 -0
- package/src/providers/stripe/client/generated/models/v2Accounts.ts +13649 -0
- package/src/providers/stripe/client/generated/models/v2Errors.ts +13829 -0
- package/src/providers/stripe/client/generated/moneyManagementFinancialAddresses.ts +317 -0
- package/src/providers/stripe/client/generated/moneyManagementInboundTransfers.ts +380 -0
- package/src/providers/stripe/client/generated/moneyManagementOutboundPayments.ts +828 -0
- package/src/providers/stripe/client/generated/moneyManagementOutboundSetupIntents.ts +596 -0
- package/src/providers/stripe/client/generated/moneyManagementPayoutIntents.ts +1149 -0
- package/src/providers/stripe/client/generated/moneyManagementRecipientVerifications.ts +226 -0
- package/src/providers/stripe/client/generated/paymentIntents.ts +17752 -0
- package/src/providers/stripe/client/generated/paymentLinks.ts +4199 -0
- package/src/providers/stripe/client/generated/paymentMethodConfigurations.ts +4835 -0
- package/src/providers/stripe/client/generated/paymentMethodDomains.ts +429 -0
- package/src/providers/stripe/client/generated/paymentMethods.ts +2372 -0
- package/src/providers/stripe/client/generated/payouts.ts +589 -0
- package/src/providers/stripe/client/generated/plans.ts +712 -0
- package/src/providers/stripe/client/generated/prices.ts +1045 -0
- package/src/providers/stripe/client/generated/productCatalogTrialOffers.ts +447 -0
- package/src/providers/stripe/client/generated/products.ts +1370 -0
- package/src/providers/stripe/client/generated/promotionCodes.ts +564 -0
- package/src/providers/stripe/client/generated/quotes.ts +1874 -0
- package/src/providers/stripe/client/generated/radarValueListItems.ts +367 -0
- package/src/providers/stripe/client/generated/radarValueLists.ts +496 -0
- package/src/providers/stripe/client/generated/refunds.ts +493 -0
- package/src/providers/stripe/client/generated/reportingReportRuns.ts +1615 -0
- package/src/providers/stripe/client/generated/resourceBindings/Account.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/AccountToken.ts +175 -0
- package/src/providers/stripe/client/generated/resourceBindings/ApplePayDomain.ts +173 -0
- package/src/providers/stripe/client/generated/resourceBindings/AppsInstall.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/BankAccount.ts +228 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingAlert.ts +174 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingConfigurationExport.ts +77 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingCreditGrant.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingFeedbackOption.ts +197 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingMeter.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingPortalConfiguration.ts +214 -0
- package/src/providers/stripe/client/generated/resourceBindings/Card.ts +231 -0
- package/src/providers/stripe/client/generated/resourceBindings/Charge.ts +202 -0
- package/src/providers/stripe/client/generated/resourceBindings/CheckoutSession.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/ClimateOrder.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/Coupon.ts +202 -0
- package/src/providers/stripe/client/generated/resourceBindings/CreditNote.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/Customer.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/EntitlementsFeature.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/EventDestination.ts +197 -0
- package/src/providers/stripe/client/generated/resourceBindings/FileLink.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/FinancialAddress.ts +177 -0
- package/src/providers/stripe/client/generated/resourceBindings/FinancialConnectionsSession.ts +180 -0
- package/src/providers/stripe/client/generated/resourceBindings/ForwardingRequest.ts +173 -0
- package/src/providers/stripe/client/generated/resourceBindings/GBBankAccount.ts +171 -0
- package/src/providers/stripe/client/generated/resourceBindings/IdentityVerificationSession.ts +214 -0
- package/src/providers/stripe/client/generated/resourceBindings/InboundTransfer.ts +177 -0
- package/src/providers/stripe/client/generated/resourceBindings/Invoice.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/Invoiceitem.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/IssuingCard.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/IssuingCardholder.ts +198 -0
- package/src/providers/stripe/client/generated/resourceBindings/IssuingDispute.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/IssuingPersonalizationDesign.ts +214 -0
- package/src/providers/stripe/client/generated/resourceBindings/OutboundPayment.ts +177 -0
- package/src/providers/stripe/client/generated/resourceBindings/OutboundSetupIntent.ts +206 -0
- package/src/providers/stripe/client/generated/resourceBindings/PaymentIntent.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/PaymentLink.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/PaymentMethod.ts +195 -0
- package/src/providers/stripe/client/generated/resourceBindings/PaymentMethodConfiguration.ts +214 -0
- package/src/providers/stripe/client/generated/resourceBindings/PaymentMethodDomain.ts +208 -0
- package/src/providers/stripe/client/generated/resourceBindings/Payout.ts +202 -0
- package/src/providers/stripe/client/generated/resourceBindings/PayoutIntent.ts +206 -0
- package/src/providers/stripe/client/generated/resourceBindings/Plan.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/Price.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/Product.ts +196 -0
- package/src/providers/stripe/client/generated/resourceBindings/ProductCatalogImport.ts +177 -0
- package/src/providers/stripe/client/generated/resourceBindings/ProductCatalogTrialOffer.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/PromotionCode.ts +195 -0
- package/src/providers/stripe/client/generated/resourceBindings/Quote.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/RadarValueList.ts +195 -0
- package/src/providers/stripe/client/generated/resourceBindings/RadarValueListItem.ts +175 -0
- package/src/providers/stripe/client/generated/resourceBindings/RecipientVerification.ts +177 -0
- package/src/providers/stripe/client/generated/resourceBindings/Refund.ts +202 -0
- package/src/providers/stripe/client/generated/resourceBindings/ReportingReportRun.ts +173 -0
- package/src/providers/stripe/client/generated/resourceBindings/SetupIntent.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/ShippingRate.ts +205 -0
- package/src/providers/stripe/client/generated/resourceBindings/Source.ts +202 -0
- package/src/providers/stripe/client/generated/resourceBindings/Subscription.ts +207 -0
- package/src/providers/stripe/client/generated/resourceBindings/SubscriptionItem.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/SubscriptionSchedule.ts +203 -0
- package/src/providers/stripe/client/generated/resourceBindings/TaxId.ts +172 -0
- package/src/providers/stripe/client/generated/resourceBindings/TaxLocation.ts +174 -0
- package/src/providers/stripe/client/generated/resourceBindings/TaxRate.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/TaxRegistration.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/TerminalConfiguration.ts +208 -0
- package/src/providers/stripe/client/generated/resourceBindings/TerminalLocation.ts +195 -0
- package/src/providers/stripe/client/generated/resourceBindings/TerminalReader.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/TestHelpersTestClock.ts +208 -0
- package/src/providers/stripe/client/generated/resourceBindings/ThreeDSecureAuthentication.ts +180 -0
- package/src/providers/stripe/client/generated/resourceBindings/Token.ts +172 -0
- package/src/providers/stripe/client/generated/resourceBindings/Topup.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/Transfer.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryCreditReversal.ts +175 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryDebitReversal.ts +176 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryFinancialAccount.ts +209 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryInboundTransfer.ts +172 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryOutboundPayment.ts +172 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryOutboundTransfer.ts +175 -0
- package/src/providers/stripe/client/generated/resourceBindings/USBankAccount.ts +195 -0
- package/src/providers/stripe/client/generated/resourceBindings/V1Account.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/WebhookEndpoint.ts +233 -0
- package/src/providers/stripe/client/generated/resourceCatalog.ts +10160 -0
- package/src/providers/stripe/client/generated/resourceCommands.ts +2132 -0
- package/src/providers/stripe/client/generated/resourceDeclarations.ts +3738 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsEntitySchema.ts +5062 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsSchema.ts +5072 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsEntitySchema.ts +2450 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsSchema.ts +2461 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsEntitySchema.ts +30 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsSchema.ts +41 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsEntitySchema.ts +70 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsSchema.ts +81 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsEntitySchema.ts +189 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsSchema.ts +177 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsEntitySchema.ts +80 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsSchema.ts +105 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportDocumentSchema.ts +38 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsEntitySchema.ts +226 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsSchema.ts +65 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsEntitySchema.ts +204 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsSchema.ts +194 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsEntitySchema.ts +38 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsSchema.ts +48 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsEntitySchema.ts +117 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsSchema.ts +128 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsEntitySchema.ts +282 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsSchema.ts +516 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsEntitySchema.ts +189 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsSchema.ts +176 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsEntitySchema.ts +533 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsSchema.ts +501 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsEntitySchema.ts +4486 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsSchema.ts +4601 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsEntitySchema.ts +93 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsSchema.ts +104 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsEntitySchema.ts +158 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsSchema.ts +168 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsEntitySchema.ts +326 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsSchema.ts +300 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsEntitySchema.ts +833 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsSchema.ts +818 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsEntitySchema.ts +54 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsSchema.ts +64 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsEntitySchema.ts +167 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsSchema.ts +178 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsEntitySchema.ts +74 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsSchema.ts +66 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsEntitySchema.ts +62 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsSchema.ts +73 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsEntitySchema.ts +192 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsSchema.ts +198 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsEntitySchema.ts +126 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsSchema.ts +137 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsEntitySchema.ts +52 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsSchema.ts +63 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsEntitySchema.ts +203 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsSchema.ts +214 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsEntitySchema.ts +104 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsSchema.ts +115 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsEntitySchema.ts +1775 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsSchema.ts +1632 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsEntitySchema.ts +343 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsSchema.ts +311 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsEntitySchema.ts +2230 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsSchema.ts +2204 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsEntitySchema.ts +2152 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsSchema.ts +2191 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsEntitySchema.ts +178 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsSchema.ts +580 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsEntitySchema.ts +179 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsSchema.ts +166 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsEntitySchema.ts +253 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsSchema.ts +264 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsEntitySchema.ts +123 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsSchema.ts +133 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsEntitySchema.ts +5519 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsSchema.ts +5464 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsEntitySchema.ts +1775 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsSchema.ts +1967 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsEntitySchema.ts +2280 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsSchema.ts +2291 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsEntitySchema.ts +45 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsSchema.ts +55 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsEntitySchema.ts +1609 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsSchema.ts +1600 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsEntitySchema.ts +272 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsSchema.ts +283 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsEntitySchema.ts +141 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsSchema.ts +105 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsEntitySchema.ts +225 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsSchema.ts +304 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsEntitySchema.ts +434 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsSchema.ts +427 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsEntitySchema.ts +41 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsSchema.ts +51 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsEntitySchema.ts +129 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsSchema.ts +127 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsEntitySchema.ts +365 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsSchema.ts +375 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsEntitySchema.ts +185 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsSchema.ts +171 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsEntitySchema.ts +700 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsSchema.ts +627 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsEntitySchema.ts +46 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsSchema.ts +57 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsEntitySchema.ts +83 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsSchema.ts +94 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsEntitySchema.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsSchema.ts +45 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsEntitySchema.ts +175 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsSchema.ts +130 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsEntitySchema.ts +1363 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsSchema.ts +1374 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_1.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_10.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_100.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_101.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_102.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_103.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_104.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_105.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_106.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_107.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_108.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_11.ts +68 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_12.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_13.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_14.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_15.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_16.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_17.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_18.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_19.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_2.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_20.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_21.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_22.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_23.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_24.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_25.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_26.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_27.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_28.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_29.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_3.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_30.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_31.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_32.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_33.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_34.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_35.ts +59 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_36.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_37.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_38.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_39.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_4.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_40.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_41.ts +111 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_42.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_43.ts +77 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_44.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_45.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_46.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_47.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_48.ts +50 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_49.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_5.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_50.ts +83 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_51.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_52.ts +50 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_53.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_54.ts +74 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_55.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_56.ts +65 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_57.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_58.ts +79 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_59.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_6.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_60.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_61.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_62.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_63.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_64.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_65.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_66.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_67.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_68.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_69.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_7.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_70.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_71.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_72.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_73.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_74.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_75.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_76.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_77.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_78.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_79.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_8.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_80.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_81.ts +39 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_82.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_83.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_84.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_85.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_86.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_87.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_88.ts +56 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_89.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_9.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_90.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_91.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_92.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_93.ts +56 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_94.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_95.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_96.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_97.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_98.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_99.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems.ts +38 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_1.ts +39 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_2.ts +38 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_3.ts +154 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_4.ts +51 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_5.ts +120 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties.ts +32 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_1.ts +37 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_10.ts +125 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_11.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_12.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_13.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_14.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_15.ts +32 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_16.ts +37 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_17.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_18.ts +130 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_19.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_2.ts +39 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_20.ts +89 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_21.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_22.ts +30 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_23.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_24.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_25.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_26.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_27.ts +97 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_28.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_29.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_3.ts +37 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_30.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_31.ts +97 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_32.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_33.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_4.ts +37 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_5.ts +53 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_6.ts +42 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_7.ts +63 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_8.ts +94 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_9.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsEntitySchema.ts +2961 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsSchema.ts +2914 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsEntitySchema.ts +177 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsSchema.ts +188 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsEntitySchema.ts +556 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsSchema.ts +566 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsEntitySchema.ts +259 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsSchema.ts +262 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsEntitySchema.ts +2128 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsSchema.ts +2048 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsEntitySchema.ts +698 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsSchema.ts +1347 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsEntitySchema.ts +355 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsSchema.ts +354 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsEntitySchema.ts +120 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsSchema.ts +131 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsEntitySchema.ts +166 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsSchema.ts +176 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsEntitySchema.ts +3328 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsSchema.ts +3339 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsEntitySchema.ts +992 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsSchema.ts +916 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsEntitySchema.ts +299 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsSchema.ts +310 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsEntitySchema.ts +89 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsSchema.ts +79 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsEntitySchema.ts +55 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsSchema.ts +65 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsEntitySchema.ts +711 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsSchema.ts +702 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsEntitySchema.ts +2394 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsSchema.ts +2404 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsEntitySchema.ts +148 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsSchema.ts +138 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsEntitySchema.ts +129 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsSchema.ts +97 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsEntitySchema.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsSchema.ts +54 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsEntitySchema.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsSchema.ts +54 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsEntitySchema.ts +284 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsSchema.ts +293 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsEntitySchema.ts +81 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsSchema.ts +91 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsEntitySchema.ts +348 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsSchema.ts +358 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsEntitySchema.ts +145 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsSchema.ts +155 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsEntitySchema.ts +52 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsSchema.ts +63 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsEntitySchema.ts +3438 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsSchema.ts +3577 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointDeclarationPropsEntitySchema.ts +22 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointDeclarationPropsSchema.ts +24 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointLocalPropsSchema.ts +10 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsEntitySchema.ts +891 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsSchema.ts +904 -0
- package/src/providers/stripe/client/generated/resourceOutputs.ts +873 -0
- package/src/providers/stripe/client/generated/setupIntents.ts +8854 -0
- package/src/providers/stripe/client/generated/shippingRates.ts +558 -0
- package/src/providers/stripe/client/generated/sources.ts +1482 -0
- package/src/providers/stripe/client/generated/subscriptionItems.ts +848 -0
- package/src/providers/stripe/client/generated/subscriptionSchedules.ts +3145 -0
- package/src/providers/stripe/client/generated/subscriptions.ts +5057 -0
- package/src/providers/stripe/client/generated/taxIds.ts +644 -0
- package/src/providers/stripe/client/generated/taxLocations.ts +348 -0
- package/src/providers/stripe/client/generated/taxRates.ts +620 -0
- package/src/providers/stripe/client/generated/taxRegistrations.ts +3646 -0
- package/src/providers/stripe/client/generated/terminalConfigurations.ts +2181 -0
- package/src/providers/stripe/client/generated/terminalLocations.ts +926 -0
- package/src/providers/stripe/client/generated/terminalReaders.ts +1488 -0
- package/src/providers/stripe/client/generated/testHelpersTestClocks.ts +400 -0
- package/src/providers/stripe/client/generated/threeDSecureAuthentications.ts +1141 -0
- package/src/providers/stripe/client/generated/tokens.ts +2498 -0
- package/src/providers/stripe/client/generated/topups.ts +556 -0
- package/src/providers/stripe/client/generated/transfers.ts +786 -0
- package/src/providers/stripe/client/generated/treasuryCreditReversals.ts +283 -0
- package/src/providers/stripe/client/generated/treasuryDebitReversals.ts +286 -0
- package/src/providers/stripe/client/generated/treasuryFinancialAccounts.ts +1320 -0
- package/src/providers/stripe/client/generated/treasuryInboundTransfers.ts +381 -0
- package/src/providers/stripe/client/generated/treasuryOutboundPayments.ts +689 -0
- package/src/providers/stripe/client/generated/treasuryOutboundTransfers.ts +453 -0
- package/src/providers/stripe/client/generated/v1Accounts.ts +13237 -0
- package/src/providers/stripe/client/generated/webhookEndpoints.ts +1817 -0
- package/src/providers/stripe/client/stripeClient.ts +212 -0
- package/src/providers/stripe/client/stripeClientConfig.ts +22 -0
- package/src/providers/stripe/client/stripeClientModel.ts +40 -0
- package/src/providers/stripe/index.ts +8 -15
- package/src/providers/stripe/management/resourceConfiguration.ts +53 -0
- package/src/providers/stripe/management/resourcePolicy.ts +500 -0
- package/src/providers/stripe/management/resources.ts +36 -0
- package/src/providers/stripe/runtime.ts +74 -0
- package/bin/nomoss +0 -13
- package/docs/code-documentation.md +0 -36
- package/docs/effect-native-development.md +0 -55
- package/docs/engine-design.md +0 -93
- package/docs/linting.md +0 -88
- package/docs/releasing.md +0 -13
- package/docs/resource-command-policy-stage.md +0 -71
- package/docs/resource-graph-mvp.md +0 -31
- package/docs/resource-graph-testing-approach.md +0 -11
- package/docs/resource-lifecycle-tracker.md +0 -93
- package/docs/testing.md +0 -86
- package/examples/upload-events/README.md +0 -41
- package/src/cliRuntimeLayer.ts +0 -49
- package/src/core/model.ts +0 -229
- package/src/core/physicalNameStore.ts +0 -226
- package/src/core/planner.ts +0 -645
- package/src/core/resourceCommandPolicy.ts +0 -79
- package/src/core/resourceGraphBuilder.ts +0 -167
- package/src/core/resourceGraphStore.ts +0 -288
- package/src/core/resourceOutputResolver.ts +0 -185
- package/src/core/resourcePolicy.ts +0 -77
- package/src/core/resourceStackDefinition.ts +0 -17
- package/src/core/resourceStackLifecycle.ts +0 -456
- package/src/core/resourceStackOperations.ts +0 -129
- package/src/core/runtimeLayer.ts +0 -73
- package/src/core/stackWorkflowRenderer.ts +0 -239
- package/src/core/stateStore.ts +0 -652
- package/src/core/tracing.ts +0 -26
- package/src/providers/aws/awsApply.ts +0 -132
- package/src/providers/aws/awsBucket.ts +0 -329
- package/src/providers/aws/awsBucketNotification.ts +0 -351
- package/src/providers/aws/awsBucketNotificationResourcePolicy.ts +0 -251
- package/src/providers/aws/awsBucketResourcePolicy.ts +0 -198
- package/src/providers/aws/awsProviderLayer.ts +0 -274
- package/src/providers/aws/awsQueue.ts +0 -346
- package/src/providers/aws/awsQueuePolicy.ts +0 -419
- package/src/providers/aws/awsQueuePolicyResourcePolicy.ts +0 -215
- package/src/providers/aws/awsQueueResourcePolicy.ts +0 -270
- package/src/providers/aws/awsReconciliation.ts +0 -92
- package/src/providers/aws/awsRefresh.ts +0 -50
- package/src/providers/aws/awsResourceLifecycle.ts +0 -118
- package/src/providers/aws/awsResourcePolicy.ts +0 -83
- package/src/providers/aws/awsResources.ts +0 -274
- package/src/providers/aws/awsRuntimeLayer.ts +0 -21
- package/src/providers/aws/awsSqsTransport.ts +0 -33
- package/src/providers/aws/awsStackLifecycle.ts +0 -272
- package/src/providers/aws/awsTagging.ts +0 -186
- package/src/providers/aws/constants.ts +0 -3
- package/src/providers/aws/index.ts +0 -22
- package/src/providers/aws/sampleStack.ts +0 -65
- package/src/providers/aws/stackWorkflow.ts +0 -443
- package/src/providers/stripe/stripeAccount.ts +0 -139
- package/src/providers/stripe/stripeBillingConfigurationExport.ts +0 -180
- package/src/providers/stripe/stripeBillingConfigurationExportResourcePolicy.ts +0 -178
- package/src/providers/stripe/stripeBillingPortalConfiguration.ts +0 -153
- package/src/providers/stripe/stripeBillingPortalConfigurationResourcePolicy.ts +0 -177
- package/src/providers/stripe/stripeCustomer.ts +0 -148
- package/src/providers/stripe/stripeCustomerResourcePolicy.ts +0 -160
- package/src/providers/stripe/stripePrice.ts +0 -218
- package/src/providers/stripe/stripePriceResourcePolicy.ts +0 -151
- package/src/providers/stripe/stripeProduct.ts +0 -171
- package/src/providers/stripe/stripeProductResourcePolicy.ts +0 -161
- package/src/providers/stripe/stripeResources.ts +0 -454
- package/src/providers/stripe/stripeRuntimeLayer.ts +0 -131
- package/src/providers/stripe/stripeWebhookEndpoint.ts +0 -293
- package/src/providers/stripe/stripeWebhookEndpointResourcePolicy.ts +0 -198
|
@@ -0,0 +1,1898 @@
|
|
|
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 { Stripeaddress, Stripeshipping } from "./common.js";
|
|
6
|
+
|
|
7
|
+
export type Stripesource_type_ach_credit_transfer = {
|
|
8
|
+
readonly account_number?: string | null;
|
|
9
|
+
readonly bank_name?: string | null;
|
|
10
|
+
readonly fingerprint?: string | null;
|
|
11
|
+
readonly refund_account_holder_name?: string | null;
|
|
12
|
+
readonly refund_account_holder_type?: string | null;
|
|
13
|
+
readonly refund_routing_number?: string | null;
|
|
14
|
+
readonly routing_number?: string | null;
|
|
15
|
+
readonly swift_code?: string | null;
|
|
16
|
+
} & { readonly [x: string]: Schema.Json };
|
|
17
|
+
export type Stripesource_type_ach_debit = {
|
|
18
|
+
readonly bank_name?: string | null;
|
|
19
|
+
readonly country?: string | null;
|
|
20
|
+
readonly fingerprint?: string | null;
|
|
21
|
+
readonly last4?: string | null;
|
|
22
|
+
readonly routing_number?: string | null;
|
|
23
|
+
readonly type?: string | null;
|
|
24
|
+
} & { readonly [x: string]: Schema.Json };
|
|
25
|
+
export type Stripesource_type_acss_debit = {
|
|
26
|
+
readonly bank_address_city?: string | null;
|
|
27
|
+
readonly bank_address_line_1?: string | null;
|
|
28
|
+
readonly bank_address_line_2?: string | null;
|
|
29
|
+
readonly bank_address_postal_code?: string | null;
|
|
30
|
+
readonly bank_name?: string | null;
|
|
31
|
+
readonly category?: string | null;
|
|
32
|
+
readonly country?: string | null;
|
|
33
|
+
readonly fingerprint?: string | null;
|
|
34
|
+
readonly last4?: string | null;
|
|
35
|
+
readonly routing_number?: string | null;
|
|
36
|
+
} & { readonly [x: string]: Schema.Json };
|
|
37
|
+
export type Stripesource_type_alipay = {
|
|
38
|
+
readonly data_string?: string | null;
|
|
39
|
+
readonly native_url?: string | null;
|
|
40
|
+
readonly statement_descriptor?: string | null;
|
|
41
|
+
} & { readonly [x: string]: Schema.Json };
|
|
42
|
+
export type Stripesource_type_au_becs_debit = {
|
|
43
|
+
readonly bsb_number?: string | null;
|
|
44
|
+
readonly fingerprint?: string | null;
|
|
45
|
+
readonly last4?: string | null;
|
|
46
|
+
} & { readonly [x: string]: Schema.Json };
|
|
47
|
+
export type Stripesource_type_bancontact = {
|
|
48
|
+
readonly bank_code?: string | null;
|
|
49
|
+
readonly bank_name?: string | null;
|
|
50
|
+
readonly bic?: string | null;
|
|
51
|
+
readonly iban_last4?: string | null;
|
|
52
|
+
readonly preferred_language?: string | null;
|
|
53
|
+
readonly statement_descriptor?: string | null;
|
|
54
|
+
} & { readonly [x: string]: Schema.Json };
|
|
55
|
+
export type Stripesource_type_card = {
|
|
56
|
+
readonly address_line1_check?: string | null;
|
|
57
|
+
readonly address_zip_check?: string | null;
|
|
58
|
+
readonly brand?: string | null;
|
|
59
|
+
readonly country?: string | null;
|
|
60
|
+
readonly cvc_check?: string | null;
|
|
61
|
+
readonly dynamic_last4?: string | null;
|
|
62
|
+
readonly exp_month?: number | null;
|
|
63
|
+
readonly exp_year?: number | null;
|
|
64
|
+
readonly fingerprint?: string;
|
|
65
|
+
readonly funding?: string | null;
|
|
66
|
+
readonly last4?: string | null;
|
|
67
|
+
readonly name?: string | null;
|
|
68
|
+
readonly three_d_secure?: string;
|
|
69
|
+
readonly tokenization_method?: string | null;
|
|
70
|
+
} & { readonly [x: string]: Schema.Json };
|
|
71
|
+
export type Stripesource_type_card_present = {
|
|
72
|
+
readonly application_cryptogram?: string;
|
|
73
|
+
readonly application_preferred_name?: string;
|
|
74
|
+
readonly authorization_code?: string | null;
|
|
75
|
+
readonly authorization_response_code?: string;
|
|
76
|
+
readonly brand?: string | null;
|
|
77
|
+
readonly country?: string | null;
|
|
78
|
+
readonly cvm_type?: string;
|
|
79
|
+
readonly data_type?: string | null;
|
|
80
|
+
readonly dedicated_file_name?: string;
|
|
81
|
+
readonly emv_auth_data?: string;
|
|
82
|
+
readonly evidence_customer_signature?: string | null;
|
|
83
|
+
readonly evidence_transaction_certificate?: string | null;
|
|
84
|
+
readonly exp_month?: number | null;
|
|
85
|
+
readonly exp_year?: number | null;
|
|
86
|
+
readonly fingerprint?: string;
|
|
87
|
+
readonly funding?: string | null;
|
|
88
|
+
readonly last4?: string | null;
|
|
89
|
+
readonly pos_device_id?: string | null;
|
|
90
|
+
readonly pos_entry_mode?: string;
|
|
91
|
+
readonly read_method?: string | null;
|
|
92
|
+
readonly reader?: string | null;
|
|
93
|
+
readonly terminal_verification_results?: string;
|
|
94
|
+
readonly transaction_status_information?: string;
|
|
95
|
+
} & { readonly [x: string]: Schema.Json };
|
|
96
|
+
export type Stripesource_code_verification_flow = {
|
|
97
|
+
readonly attempts_remaining: number;
|
|
98
|
+
readonly status: string;
|
|
99
|
+
} & { readonly [x: string]: Schema.Json };
|
|
100
|
+
export type Stripesource_type_eps = {
|
|
101
|
+
readonly reference?: string | null;
|
|
102
|
+
readonly statement_descriptor?: string | null;
|
|
103
|
+
} & { readonly [x: string]: Schema.Json };
|
|
104
|
+
export type Stripesource_type_giropay = {
|
|
105
|
+
readonly bank_code?: string | null;
|
|
106
|
+
readonly bank_name?: string | null;
|
|
107
|
+
readonly bic?: string | null;
|
|
108
|
+
readonly statement_descriptor?: string | null;
|
|
109
|
+
} & { readonly [x: string]: Schema.Json };
|
|
110
|
+
export type Stripesource_type_ideal = {
|
|
111
|
+
readonly bank?: string | null;
|
|
112
|
+
readonly bic?: string | null;
|
|
113
|
+
readonly iban_last4?: string | null;
|
|
114
|
+
readonly statement_descriptor?: string | null;
|
|
115
|
+
} & { readonly [x: string]: Schema.Json };
|
|
116
|
+
export type Stripesource_type_klarna = {
|
|
117
|
+
readonly background_image_url?: string;
|
|
118
|
+
readonly client_token?: string | null;
|
|
119
|
+
readonly first_name?: string;
|
|
120
|
+
readonly last_name?: string;
|
|
121
|
+
readonly locale?: string;
|
|
122
|
+
readonly logo_url?: string;
|
|
123
|
+
readonly page_title?: string;
|
|
124
|
+
readonly pay_later_asset_urls_descriptive?: string;
|
|
125
|
+
readonly pay_later_asset_urls_standard?: string;
|
|
126
|
+
readonly pay_later_name?: string;
|
|
127
|
+
readonly pay_later_redirect_url?: string;
|
|
128
|
+
readonly pay_now_asset_urls_descriptive?: string;
|
|
129
|
+
readonly pay_now_asset_urls_standard?: string;
|
|
130
|
+
readonly pay_now_name?: string;
|
|
131
|
+
readonly pay_now_redirect_url?: string;
|
|
132
|
+
readonly pay_over_time_asset_urls_descriptive?: string;
|
|
133
|
+
readonly pay_over_time_asset_urls_standard?: string;
|
|
134
|
+
readonly pay_over_time_name?: string;
|
|
135
|
+
readonly pay_over_time_redirect_url?: string;
|
|
136
|
+
readonly payment_method_categories?: string;
|
|
137
|
+
readonly purchase_country?: string;
|
|
138
|
+
readonly purchase_type?: string;
|
|
139
|
+
readonly redirect_url?: string;
|
|
140
|
+
readonly shipping_delay?: number;
|
|
141
|
+
readonly shipping_first_name?: string;
|
|
142
|
+
readonly shipping_last_name?: string;
|
|
143
|
+
} & { readonly [x: string]: Schema.Json };
|
|
144
|
+
export type Stripesource_type_multibanco = {
|
|
145
|
+
readonly entity?: string | null;
|
|
146
|
+
readonly reference?: string | null;
|
|
147
|
+
readonly refund_account_holder_address_city?: string | null;
|
|
148
|
+
readonly refund_account_holder_address_country?: string | null;
|
|
149
|
+
readonly refund_account_holder_address_line1?: string | null;
|
|
150
|
+
readonly refund_account_holder_address_line2?: string | null;
|
|
151
|
+
readonly refund_account_holder_address_postal_code?: string | null;
|
|
152
|
+
readonly refund_account_holder_address_state?: string | null;
|
|
153
|
+
readonly refund_account_holder_name?: string | null;
|
|
154
|
+
readonly refund_iban?: string | null;
|
|
155
|
+
} & { readonly [x: string]: Schema.Json };
|
|
156
|
+
export type Stripesource_type_p24 = { readonly reference?: string | null } & {
|
|
157
|
+
readonly [x: string]: Schema.Json;
|
|
158
|
+
};
|
|
159
|
+
export type Stripesource_receiver_flow = {
|
|
160
|
+
readonly address?: string | null;
|
|
161
|
+
readonly amount_charged: number;
|
|
162
|
+
readonly amount_received: number;
|
|
163
|
+
readonly amount_returned: number;
|
|
164
|
+
readonly refund_attributes_method: string;
|
|
165
|
+
readonly refund_attributes_status: string;
|
|
166
|
+
} & { readonly [x: string]: Schema.Json };
|
|
167
|
+
export type Stripesource_redirect_flow = {
|
|
168
|
+
readonly failure_reason?: string | null;
|
|
169
|
+
readonly return_url: string;
|
|
170
|
+
readonly status: string;
|
|
171
|
+
readonly url: string;
|
|
172
|
+
} & { readonly [x: string]: Schema.Json };
|
|
173
|
+
export type Stripesource_type_sepa_debit = {
|
|
174
|
+
readonly bank_code?: string | null;
|
|
175
|
+
readonly branch_code?: string | null;
|
|
176
|
+
readonly country?: string | null;
|
|
177
|
+
readonly fingerprint?: string | null;
|
|
178
|
+
readonly last4?: string | null;
|
|
179
|
+
readonly mandate_reference?: string | null;
|
|
180
|
+
readonly mandate_url?: string | null;
|
|
181
|
+
} & { readonly [x: string]: Schema.Json };
|
|
182
|
+
export type Stripesource_type_sofort = {
|
|
183
|
+
readonly bank_code?: string | null;
|
|
184
|
+
readonly bank_name?: string | null;
|
|
185
|
+
readonly bic?: string | null;
|
|
186
|
+
readonly country?: string | null;
|
|
187
|
+
readonly iban_last4?: string | null;
|
|
188
|
+
readonly preferred_language?: string | null;
|
|
189
|
+
readonly statement_descriptor?: string | null;
|
|
190
|
+
} & { readonly [x: string]: Schema.Json };
|
|
191
|
+
export type Stripesource_order_item = {
|
|
192
|
+
readonly amount?: number | null;
|
|
193
|
+
readonly currency?: string | null;
|
|
194
|
+
readonly description?: string | null;
|
|
195
|
+
readonly parent?: string | null;
|
|
196
|
+
readonly quantity?: number;
|
|
197
|
+
readonly type?: string | null;
|
|
198
|
+
} & { readonly [x: string]: Schema.Json };
|
|
199
|
+
export type Stripesource_type_three_d_secure = {
|
|
200
|
+
readonly address_line1_check?: string | null;
|
|
201
|
+
readonly address_zip_check?: string | null;
|
|
202
|
+
readonly authenticated?: boolean | null;
|
|
203
|
+
readonly brand?: string | null;
|
|
204
|
+
readonly card?: string | null;
|
|
205
|
+
readonly country?: string | null;
|
|
206
|
+
readonly customer?: string | null;
|
|
207
|
+
readonly cvc_check?: string | null;
|
|
208
|
+
readonly dynamic_last4?: string | null;
|
|
209
|
+
readonly exp_month?: number | null;
|
|
210
|
+
readonly exp_year?: number | null;
|
|
211
|
+
readonly fingerprint?: string;
|
|
212
|
+
readonly funding?: string | null;
|
|
213
|
+
readonly last4?: string | null;
|
|
214
|
+
readonly name?: string | null;
|
|
215
|
+
readonly three_d_secure?: string;
|
|
216
|
+
readonly tokenization_method?: string | null;
|
|
217
|
+
} & { readonly [x: string]: Schema.Json };
|
|
218
|
+
export type Stripesource_type_wechat = {
|
|
219
|
+
readonly prepay_id?: string;
|
|
220
|
+
readonly qr_code_url?: string | null;
|
|
221
|
+
readonly statement_descriptor?: string;
|
|
222
|
+
} & { readonly [x: string]: Schema.Json };
|
|
223
|
+
export type Stripesource_mandate_notification_acss_debit_data = {
|
|
224
|
+
readonly statement_descriptor?: string;
|
|
225
|
+
} & { readonly [x: string]: Schema.Json };
|
|
226
|
+
export type Stripesource_mandate_notification_bacs_debit_data = {
|
|
227
|
+
readonly last4?: string;
|
|
228
|
+
} & { readonly [x: string]: Schema.Json };
|
|
229
|
+
export type Stripesource_mandate_notification_sepa_debit_data = {
|
|
230
|
+
readonly creditor_identifier?: string;
|
|
231
|
+
readonly last4?: string;
|
|
232
|
+
readonly mandate_reference?: string;
|
|
233
|
+
} & { readonly [x: string]: Schema.Json };
|
|
234
|
+
export type Stripesource_transaction_ach_credit_transfer_data = {
|
|
235
|
+
readonly customer_data?: string;
|
|
236
|
+
readonly fingerprint?: string;
|
|
237
|
+
readonly last4?: string;
|
|
238
|
+
readonly routing_number?: string;
|
|
239
|
+
} & { readonly [x: string]: Schema.Json };
|
|
240
|
+
export type Stripesource_transaction_chf_credit_transfer_data = {
|
|
241
|
+
readonly reference?: string;
|
|
242
|
+
readonly sender_address_country?: string;
|
|
243
|
+
readonly sender_address_line1?: string;
|
|
244
|
+
readonly sender_iban?: string;
|
|
245
|
+
readonly sender_name?: string;
|
|
246
|
+
} & { readonly [x: string]: Schema.Json };
|
|
247
|
+
export type Stripesource_transaction_gbp_credit_transfer_data = {
|
|
248
|
+
readonly fingerprint?: string;
|
|
249
|
+
readonly funding_method?: string;
|
|
250
|
+
readonly last4?: string;
|
|
251
|
+
readonly reference?: string;
|
|
252
|
+
readonly sender_account_number?: string;
|
|
253
|
+
readonly sender_name?: string;
|
|
254
|
+
readonly sender_sort_code?: string;
|
|
255
|
+
} & { readonly [x: string]: Schema.Json };
|
|
256
|
+
export type Stripesource_transaction_paper_check_data = {
|
|
257
|
+
readonly available_at?: string;
|
|
258
|
+
readonly invoices?: string;
|
|
259
|
+
} & { readonly [x: string]: Schema.Json };
|
|
260
|
+
export type Stripesource_transaction_sepa_credit_transfer_data = {
|
|
261
|
+
readonly reference?: string;
|
|
262
|
+
readonly sender_iban?: string;
|
|
263
|
+
readonly sender_name?: string;
|
|
264
|
+
} & { readonly [x: string]: Schema.Json };
|
|
265
|
+
export type Stripesource_owner = {
|
|
266
|
+
readonly address?: Stripeaddress | null;
|
|
267
|
+
readonly email?: string | null;
|
|
268
|
+
readonly name?: string | null;
|
|
269
|
+
readonly phone?: string | null;
|
|
270
|
+
readonly verified_address?: Stripeaddress | null;
|
|
271
|
+
readonly verified_email?: string | null;
|
|
272
|
+
readonly verified_name?: string | null;
|
|
273
|
+
readonly verified_phone?: string | null;
|
|
274
|
+
} & { readonly [x: string]: Schema.Json };
|
|
275
|
+
export type Stripesource_transaction = {
|
|
276
|
+
readonly ach_credit_transfer?: Stripesource_transaction_ach_credit_transfer_data;
|
|
277
|
+
readonly amount: number;
|
|
278
|
+
readonly chf_credit_transfer?: Stripesource_transaction_chf_credit_transfer_data;
|
|
279
|
+
readonly created: number;
|
|
280
|
+
readonly currency: string;
|
|
281
|
+
readonly gbp_credit_transfer?: Stripesource_transaction_gbp_credit_transfer_data;
|
|
282
|
+
readonly id: string;
|
|
283
|
+
readonly livemode: boolean;
|
|
284
|
+
readonly object: "source_transaction";
|
|
285
|
+
readonly paper_check?: Stripesource_transaction_paper_check_data;
|
|
286
|
+
readonly sepa_credit_transfer?: Stripesource_transaction_sepa_credit_transfer_data;
|
|
287
|
+
readonly source: string;
|
|
288
|
+
readonly status: string;
|
|
289
|
+
readonly type:
|
|
290
|
+
| "ach_credit_transfer"
|
|
291
|
+
| "ach_debit"
|
|
292
|
+
| "alipay"
|
|
293
|
+
| "bancontact"
|
|
294
|
+
| "card"
|
|
295
|
+
| "card_present"
|
|
296
|
+
| "eps"
|
|
297
|
+
| "giropay"
|
|
298
|
+
| "ideal"
|
|
299
|
+
| "klarna"
|
|
300
|
+
| "multibanco"
|
|
301
|
+
| "p24"
|
|
302
|
+
| "sepa_debit"
|
|
303
|
+
| "sofort"
|
|
304
|
+
| "three_d_secure"
|
|
305
|
+
| "wechat";
|
|
306
|
+
} & { readonly [x: string]: Schema.Json };
|
|
307
|
+
export type Stripesource_order = {
|
|
308
|
+
readonly amount: number;
|
|
309
|
+
readonly currency: string;
|
|
310
|
+
readonly email?: string;
|
|
311
|
+
readonly items?: ReadonlyArray<Stripesource_order_item> | null;
|
|
312
|
+
readonly shipping?: Stripeshipping;
|
|
313
|
+
} & { readonly [x: string]: Schema.Json };
|
|
314
|
+
export type Stripesource = {
|
|
315
|
+
readonly ach_credit_transfer?: Stripesource_type_ach_credit_transfer;
|
|
316
|
+
readonly ach_debit?: Stripesource_type_ach_debit;
|
|
317
|
+
readonly acss_debit?: Stripesource_type_acss_debit;
|
|
318
|
+
readonly alipay?: Stripesource_type_alipay;
|
|
319
|
+
readonly allow_redisplay?: "always" | "limited" | "unspecified" | null;
|
|
320
|
+
readonly amount?: number | null;
|
|
321
|
+
readonly au_becs_debit?: Stripesource_type_au_becs_debit;
|
|
322
|
+
readonly bancontact?: Stripesource_type_bancontact;
|
|
323
|
+
readonly card?: Stripesource_type_card;
|
|
324
|
+
readonly card_present?: Stripesource_type_card_present;
|
|
325
|
+
readonly client_secret: string;
|
|
326
|
+
readonly code_verification?: Stripesource_code_verification_flow;
|
|
327
|
+
readonly created: number;
|
|
328
|
+
readonly currency?: string | null;
|
|
329
|
+
readonly customer?: string;
|
|
330
|
+
readonly eps?: Stripesource_type_eps;
|
|
331
|
+
readonly flow: string;
|
|
332
|
+
readonly giropay?: Stripesource_type_giropay;
|
|
333
|
+
readonly id: string;
|
|
334
|
+
readonly ideal?: Stripesource_type_ideal;
|
|
335
|
+
readonly klarna?: Stripesource_type_klarna;
|
|
336
|
+
readonly livemode: boolean;
|
|
337
|
+
readonly metadata?: { readonly [x: string]: string } | null;
|
|
338
|
+
readonly multibanco?: Stripesource_type_multibanco;
|
|
339
|
+
readonly object: "source";
|
|
340
|
+
readonly owner?: Stripesource_owner | null;
|
|
341
|
+
readonly p24?: Stripesource_type_p24;
|
|
342
|
+
readonly receiver?: Stripesource_receiver_flow;
|
|
343
|
+
readonly redirect?: Stripesource_redirect_flow;
|
|
344
|
+
readonly sepa_debit?: Stripesource_type_sepa_debit;
|
|
345
|
+
readonly sofort?: Stripesource_type_sofort;
|
|
346
|
+
readonly source_order?: Stripesource_order;
|
|
347
|
+
readonly statement_descriptor?: string | null;
|
|
348
|
+
readonly status: string;
|
|
349
|
+
readonly three_d_secure?: Stripesource_type_three_d_secure;
|
|
350
|
+
readonly type:
|
|
351
|
+
| "ach_credit_transfer"
|
|
352
|
+
| "ach_debit"
|
|
353
|
+
| "acss_debit"
|
|
354
|
+
| "alipay"
|
|
355
|
+
| "au_becs_debit"
|
|
356
|
+
| "bancontact"
|
|
357
|
+
| "card"
|
|
358
|
+
| "card_present"
|
|
359
|
+
| "eps"
|
|
360
|
+
| "giropay"
|
|
361
|
+
| "ideal"
|
|
362
|
+
| "klarna"
|
|
363
|
+
| "multibanco"
|
|
364
|
+
| "p24"
|
|
365
|
+
| "sepa_debit"
|
|
366
|
+
| "sofort"
|
|
367
|
+
| "three_d_secure"
|
|
368
|
+
| "wechat";
|
|
369
|
+
readonly usage?: string | null;
|
|
370
|
+
readonly wechat?: Stripesource_type_wechat;
|
|
371
|
+
} & { readonly [x: string]: Schema.Json };
|
|
372
|
+
export type Stripesource_mandate_notification = {
|
|
373
|
+
readonly acss_debit?: Stripesource_mandate_notification_acss_debit_data;
|
|
374
|
+
readonly amount?: number | null;
|
|
375
|
+
readonly bacs_debit?: Stripesource_mandate_notification_bacs_debit_data;
|
|
376
|
+
readonly created: number;
|
|
377
|
+
readonly id: string;
|
|
378
|
+
readonly livemode: boolean;
|
|
379
|
+
readonly object: "source_mandate_notification";
|
|
380
|
+
readonly reason: string;
|
|
381
|
+
readonly sepa_debit?: Stripesource_mandate_notification_sepa_debit_data;
|
|
382
|
+
readonly source: Stripesource;
|
|
383
|
+
readonly status: string;
|
|
384
|
+
readonly type: string;
|
|
385
|
+
} & { readonly [x: string]: Schema.Json };
|
|
386
|
+
|
|
387
|
+
export const Stripesource_type_ach_credit_transfer = Schema.StructWithRest(
|
|
388
|
+
Schema.Struct({
|
|
389
|
+
account_number: Schema.optionalKey(
|
|
390
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
391
|
+
),
|
|
392
|
+
bank_name: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
393
|
+
fingerprint: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
394
|
+
refund_account_holder_name: Schema.optionalKey(
|
|
395
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
396
|
+
),
|
|
397
|
+
refund_account_holder_type: Schema.optionalKey(
|
|
398
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
399
|
+
),
|
|
400
|
+
refund_routing_number: Schema.optionalKey(
|
|
401
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
402
|
+
),
|
|
403
|
+
routing_number: Schema.optionalKey(
|
|
404
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
405
|
+
),
|
|
406
|
+
swift_code: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
407
|
+
}),
|
|
408
|
+
[
|
|
409
|
+
Schema.Record(
|
|
410
|
+
Schema.String,
|
|
411
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
412
|
+
),
|
|
413
|
+
],
|
|
414
|
+
).annotate({ identifier: "Stripesource_type_ach_credit_transfer" });
|
|
415
|
+
export const Stripesource_type_ach_debit = Schema.StructWithRest(
|
|
416
|
+
Schema.Struct({
|
|
417
|
+
bank_name: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
418
|
+
country: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
419
|
+
fingerprint: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
420
|
+
last4: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
421
|
+
routing_number: Schema.optionalKey(
|
|
422
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
423
|
+
),
|
|
424
|
+
type: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
425
|
+
}),
|
|
426
|
+
[
|
|
427
|
+
Schema.Record(
|
|
428
|
+
Schema.String,
|
|
429
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
430
|
+
),
|
|
431
|
+
],
|
|
432
|
+
).annotate({ identifier: "Stripesource_type_ach_debit" });
|
|
433
|
+
export const Stripesource_type_acss_debit = Schema.StructWithRest(
|
|
434
|
+
Schema.Struct({
|
|
435
|
+
bank_address_city: Schema.optionalKey(
|
|
436
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
437
|
+
),
|
|
438
|
+
bank_address_line_1: Schema.optionalKey(
|
|
439
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
440
|
+
),
|
|
441
|
+
bank_address_line_2: Schema.optionalKey(
|
|
442
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
443
|
+
),
|
|
444
|
+
bank_address_postal_code: Schema.optionalKey(
|
|
445
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
446
|
+
),
|
|
447
|
+
bank_name: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
448
|
+
category: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
449
|
+
country: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
450
|
+
fingerprint: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
451
|
+
last4: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
452
|
+
routing_number: Schema.optionalKey(
|
|
453
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
454
|
+
),
|
|
455
|
+
}),
|
|
456
|
+
[
|
|
457
|
+
Schema.Record(
|
|
458
|
+
Schema.String,
|
|
459
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
460
|
+
),
|
|
461
|
+
],
|
|
462
|
+
).annotate({ identifier: "Stripesource_type_acss_debit" });
|
|
463
|
+
export const Stripesource_type_alipay = Schema.StructWithRest(
|
|
464
|
+
Schema.Struct({
|
|
465
|
+
data_string: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
466
|
+
native_url: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
467
|
+
statement_descriptor: Schema.optionalKey(
|
|
468
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
469
|
+
),
|
|
470
|
+
}),
|
|
471
|
+
[
|
|
472
|
+
Schema.Record(
|
|
473
|
+
Schema.String,
|
|
474
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
475
|
+
),
|
|
476
|
+
],
|
|
477
|
+
).annotate({ identifier: "Stripesource_type_alipay" });
|
|
478
|
+
export const Stripesource_type_au_becs_debit = Schema.StructWithRest(
|
|
479
|
+
Schema.Struct({
|
|
480
|
+
bsb_number: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
481
|
+
fingerprint: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
482
|
+
last4: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
483
|
+
}),
|
|
484
|
+
[
|
|
485
|
+
Schema.Record(
|
|
486
|
+
Schema.String,
|
|
487
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
488
|
+
),
|
|
489
|
+
],
|
|
490
|
+
).annotate({ identifier: "Stripesource_type_au_becs_debit" });
|
|
491
|
+
export const Stripesource_type_bancontact = Schema.StructWithRest(
|
|
492
|
+
Schema.Struct({
|
|
493
|
+
bank_code: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
494
|
+
bank_name: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
495
|
+
bic: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
496
|
+
iban_last4: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
497
|
+
preferred_language: Schema.optionalKey(
|
|
498
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
499
|
+
),
|
|
500
|
+
statement_descriptor: Schema.optionalKey(
|
|
501
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
502
|
+
),
|
|
503
|
+
}),
|
|
504
|
+
[
|
|
505
|
+
Schema.Record(
|
|
506
|
+
Schema.String,
|
|
507
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
508
|
+
),
|
|
509
|
+
],
|
|
510
|
+
).annotate({ identifier: "Stripesource_type_bancontact" });
|
|
511
|
+
export const Stripesource_type_card = Schema.StructWithRest(
|
|
512
|
+
Schema.Struct({
|
|
513
|
+
address_line1_check: Schema.optionalKey(
|
|
514
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
515
|
+
),
|
|
516
|
+
address_zip_check: Schema.optionalKey(
|
|
517
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
518
|
+
),
|
|
519
|
+
brand: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
520
|
+
country: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
521
|
+
cvc_check: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
522
|
+
dynamic_last4: Schema.optionalKey(
|
|
523
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
524
|
+
),
|
|
525
|
+
exp_month: Schema.optionalKey(Schema.Union([Schema.Int, Schema.Null])),
|
|
526
|
+
exp_year: Schema.optionalKey(Schema.Union([Schema.Int, Schema.Null])),
|
|
527
|
+
fingerprint: Schema.optionalKey(Schema.String),
|
|
528
|
+
funding: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
529
|
+
last4: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
530
|
+
name: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
531
|
+
three_d_secure: Schema.optionalKey(Schema.String),
|
|
532
|
+
tokenization_method: Schema.optionalKey(
|
|
533
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
534
|
+
),
|
|
535
|
+
}),
|
|
536
|
+
[
|
|
537
|
+
Schema.Record(
|
|
538
|
+
Schema.String,
|
|
539
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
540
|
+
),
|
|
541
|
+
],
|
|
542
|
+
).annotate({ identifier: "Stripesource_type_card" });
|
|
543
|
+
export const Stripesource_type_card_present = Schema.StructWithRest(
|
|
544
|
+
Schema.Struct({
|
|
545
|
+
application_cryptogram: Schema.optionalKey(Schema.String),
|
|
546
|
+
application_preferred_name: Schema.optionalKey(Schema.String),
|
|
547
|
+
authorization_code: Schema.optionalKey(
|
|
548
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
549
|
+
),
|
|
550
|
+
authorization_response_code: Schema.optionalKey(Schema.String),
|
|
551
|
+
brand: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
552
|
+
country: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
553
|
+
cvm_type: Schema.optionalKey(Schema.String),
|
|
554
|
+
data_type: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
555
|
+
dedicated_file_name: Schema.optionalKey(Schema.String),
|
|
556
|
+
emv_auth_data: Schema.optionalKey(Schema.String),
|
|
557
|
+
evidence_customer_signature: Schema.optionalKey(
|
|
558
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
559
|
+
),
|
|
560
|
+
evidence_transaction_certificate: Schema.optionalKey(
|
|
561
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
562
|
+
),
|
|
563
|
+
exp_month: Schema.optionalKey(Schema.Union([Schema.Int, Schema.Null])),
|
|
564
|
+
exp_year: Schema.optionalKey(Schema.Union([Schema.Int, Schema.Null])),
|
|
565
|
+
fingerprint: Schema.optionalKey(Schema.String),
|
|
566
|
+
funding: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
567
|
+
last4: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
568
|
+
pos_device_id: Schema.optionalKey(
|
|
569
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
570
|
+
),
|
|
571
|
+
pos_entry_mode: Schema.optionalKey(Schema.String),
|
|
572
|
+
read_method: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
573
|
+
reader: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
574
|
+
terminal_verification_results: Schema.optionalKey(Schema.String),
|
|
575
|
+
transaction_status_information: Schema.optionalKey(Schema.String),
|
|
576
|
+
}),
|
|
577
|
+
[
|
|
578
|
+
Schema.Record(
|
|
579
|
+
Schema.String,
|
|
580
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
581
|
+
),
|
|
582
|
+
],
|
|
583
|
+
).annotate({ identifier: "Stripesource_type_card_present" });
|
|
584
|
+
export const Stripesource_code_verification_flow = Schema.StructWithRest(
|
|
585
|
+
Schema.Struct({
|
|
586
|
+
attempts_remaining: Schema.Number.annotate({
|
|
587
|
+
description:
|
|
588
|
+
"The number of attempts remaining to authenticate the source object with a verification code.",
|
|
589
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
590
|
+
status: Schema.String.annotate({
|
|
591
|
+
description:
|
|
592
|
+
"The status of the code verification, either `pending` (awaiting verification, `attempts_remaining` should be greater than 0), `succeeded` (successful verification) or `failed` (failed verification, cannot be verified anymore as `attempts_remaining` should be 0).",
|
|
593
|
+
}).check(
|
|
594
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
595
|
+
expected: "a string with at most 5000 code points",
|
|
596
|
+
}),
|
|
597
|
+
),
|
|
598
|
+
}),
|
|
599
|
+
[
|
|
600
|
+
Schema.Record(
|
|
601
|
+
Schema.String,
|
|
602
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
603
|
+
),
|
|
604
|
+
],
|
|
605
|
+
).annotate({
|
|
606
|
+
title: "SourceCodeVerificationFlow",
|
|
607
|
+
description: "",
|
|
608
|
+
identifier: "Stripesource_code_verification_flow",
|
|
609
|
+
});
|
|
610
|
+
export const Stripesource_type_eps = Schema.StructWithRest(
|
|
611
|
+
Schema.Struct({
|
|
612
|
+
reference: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
613
|
+
statement_descriptor: Schema.optionalKey(
|
|
614
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
615
|
+
),
|
|
616
|
+
}),
|
|
617
|
+
[
|
|
618
|
+
Schema.Record(
|
|
619
|
+
Schema.String,
|
|
620
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
621
|
+
),
|
|
622
|
+
],
|
|
623
|
+
).annotate({ identifier: "Stripesource_type_eps" });
|
|
624
|
+
export const Stripesource_type_giropay = Schema.StructWithRest(
|
|
625
|
+
Schema.Struct({
|
|
626
|
+
bank_code: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
627
|
+
bank_name: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
628
|
+
bic: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
629
|
+
statement_descriptor: Schema.optionalKey(
|
|
630
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
631
|
+
),
|
|
632
|
+
}),
|
|
633
|
+
[
|
|
634
|
+
Schema.Record(
|
|
635
|
+
Schema.String,
|
|
636
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
637
|
+
),
|
|
638
|
+
],
|
|
639
|
+
).annotate({ identifier: "Stripesource_type_giropay" });
|
|
640
|
+
export const Stripesource_type_ideal = Schema.StructWithRest(
|
|
641
|
+
Schema.Struct({
|
|
642
|
+
bank: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
643
|
+
bic: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
644
|
+
iban_last4: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
645
|
+
statement_descriptor: Schema.optionalKey(
|
|
646
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
647
|
+
),
|
|
648
|
+
}),
|
|
649
|
+
[
|
|
650
|
+
Schema.Record(
|
|
651
|
+
Schema.String,
|
|
652
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
653
|
+
),
|
|
654
|
+
],
|
|
655
|
+
).annotate({ identifier: "Stripesource_type_ideal" });
|
|
656
|
+
export const Stripesource_type_klarna = Schema.StructWithRest(
|
|
657
|
+
Schema.Struct({
|
|
658
|
+
background_image_url: Schema.optionalKey(Schema.String),
|
|
659
|
+
client_token: Schema.optionalKey(
|
|
660
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
661
|
+
),
|
|
662
|
+
first_name: Schema.optionalKey(Schema.String),
|
|
663
|
+
last_name: Schema.optionalKey(Schema.String),
|
|
664
|
+
locale: Schema.optionalKey(Schema.String),
|
|
665
|
+
logo_url: Schema.optionalKey(Schema.String),
|
|
666
|
+
page_title: Schema.optionalKey(Schema.String),
|
|
667
|
+
pay_later_asset_urls_descriptive: Schema.optionalKey(Schema.String),
|
|
668
|
+
pay_later_asset_urls_standard: Schema.optionalKey(Schema.String),
|
|
669
|
+
pay_later_name: Schema.optionalKey(Schema.String),
|
|
670
|
+
pay_later_redirect_url: Schema.optionalKey(Schema.String),
|
|
671
|
+
pay_now_asset_urls_descriptive: Schema.optionalKey(Schema.String),
|
|
672
|
+
pay_now_asset_urls_standard: Schema.optionalKey(Schema.String),
|
|
673
|
+
pay_now_name: Schema.optionalKey(Schema.String),
|
|
674
|
+
pay_now_redirect_url: Schema.optionalKey(Schema.String),
|
|
675
|
+
pay_over_time_asset_urls_descriptive: Schema.optionalKey(Schema.String),
|
|
676
|
+
pay_over_time_asset_urls_standard: Schema.optionalKey(Schema.String),
|
|
677
|
+
pay_over_time_name: Schema.optionalKey(Schema.String),
|
|
678
|
+
pay_over_time_redirect_url: Schema.optionalKey(Schema.String),
|
|
679
|
+
payment_method_categories: Schema.optionalKey(Schema.String),
|
|
680
|
+
purchase_country: Schema.optionalKey(Schema.String),
|
|
681
|
+
purchase_type: Schema.optionalKey(Schema.String),
|
|
682
|
+
redirect_url: Schema.optionalKey(Schema.String),
|
|
683
|
+
shipping_delay: Schema.optionalKey(Schema.Int),
|
|
684
|
+
shipping_first_name: Schema.optionalKey(Schema.String),
|
|
685
|
+
shipping_last_name: Schema.optionalKey(Schema.String),
|
|
686
|
+
}),
|
|
687
|
+
[
|
|
688
|
+
Schema.Record(
|
|
689
|
+
Schema.String,
|
|
690
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
691
|
+
),
|
|
692
|
+
],
|
|
693
|
+
).annotate({ identifier: "Stripesource_type_klarna" });
|
|
694
|
+
export const Stripesource_type_multibanco = Schema.StructWithRest(
|
|
695
|
+
Schema.Struct({
|
|
696
|
+
entity: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
697
|
+
reference: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
698
|
+
refund_account_holder_address_city: Schema.optionalKey(
|
|
699
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
700
|
+
),
|
|
701
|
+
refund_account_holder_address_country: Schema.optionalKey(
|
|
702
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
703
|
+
),
|
|
704
|
+
refund_account_holder_address_line1: Schema.optionalKey(
|
|
705
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
706
|
+
),
|
|
707
|
+
refund_account_holder_address_line2: Schema.optionalKey(
|
|
708
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
709
|
+
),
|
|
710
|
+
refund_account_holder_address_postal_code: Schema.optionalKey(
|
|
711
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
712
|
+
),
|
|
713
|
+
refund_account_holder_address_state: Schema.optionalKey(
|
|
714
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
715
|
+
),
|
|
716
|
+
refund_account_holder_name: Schema.optionalKey(
|
|
717
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
718
|
+
),
|
|
719
|
+
refund_iban: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
720
|
+
}),
|
|
721
|
+
[
|
|
722
|
+
Schema.Record(
|
|
723
|
+
Schema.String,
|
|
724
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
725
|
+
),
|
|
726
|
+
],
|
|
727
|
+
).annotate({ identifier: "Stripesource_type_multibanco" });
|
|
728
|
+
export const Stripesource_type_p24 = Schema.StructWithRest(
|
|
729
|
+
Schema.Struct({
|
|
730
|
+
reference: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
731
|
+
}),
|
|
732
|
+
[
|
|
733
|
+
Schema.Record(
|
|
734
|
+
Schema.String,
|
|
735
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
736
|
+
),
|
|
737
|
+
],
|
|
738
|
+
).annotate({ identifier: "Stripesource_type_p24" });
|
|
739
|
+
export const Stripesource_receiver_flow = Schema.StructWithRest(
|
|
740
|
+
Schema.Struct({
|
|
741
|
+
address: Schema.optionalKey(
|
|
742
|
+
Schema.Union([
|
|
743
|
+
Schema.String.annotate({
|
|
744
|
+
description:
|
|
745
|
+
"The address of the receiver source. This is the value that should be communicated to the customer to send their funds to.",
|
|
746
|
+
}).check(
|
|
747
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
748
|
+
expected: "a string with at most 5000 code points",
|
|
749
|
+
}),
|
|
750
|
+
),
|
|
751
|
+
Schema.Null,
|
|
752
|
+
]),
|
|
753
|
+
),
|
|
754
|
+
amount_charged: Schema.Number.annotate({
|
|
755
|
+
description:
|
|
756
|
+
"The total amount that was moved to your balance. This is almost always equal to the amount charged. In rare cases when customers deposit excess funds and we are unable to refund those, those funds get moved to your balance and show up in amount_charged as well. The amount charged is expressed in the source's currency.",
|
|
757
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
758
|
+
amount_received: Schema.Number.annotate({
|
|
759
|
+
description:
|
|
760
|
+
"The total amount received by the receiver source. `amount_received = amount_returned + amount_charged` should be true for consumed sources unless customers deposit excess funds. The amount received is expressed in the source's currency.",
|
|
761
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
762
|
+
amount_returned: Schema.Number.annotate({
|
|
763
|
+
description:
|
|
764
|
+
"The total amount that was returned to the customer. The amount returned is expressed in the source's currency.",
|
|
765
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
766
|
+
refund_attributes_method: Schema.String.annotate({
|
|
767
|
+
description:
|
|
768
|
+
"Type of refund attribute method, one of `email`, `manual`, or `none`.",
|
|
769
|
+
}).check(
|
|
770
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
771
|
+
expected: "a string with at most 5000 code points",
|
|
772
|
+
}),
|
|
773
|
+
),
|
|
774
|
+
refund_attributes_status: Schema.String.annotate({
|
|
775
|
+
description:
|
|
776
|
+
"Type of refund attribute status, one of `missing`, `requested`, or `available`.",
|
|
777
|
+
}).check(
|
|
778
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
779
|
+
expected: "a string with at most 5000 code points",
|
|
780
|
+
}),
|
|
781
|
+
),
|
|
782
|
+
}),
|
|
783
|
+
[
|
|
784
|
+
Schema.Record(
|
|
785
|
+
Schema.String,
|
|
786
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
787
|
+
),
|
|
788
|
+
],
|
|
789
|
+
).annotate({
|
|
790
|
+
title: "SourceReceiverFlow",
|
|
791
|
+
description: "",
|
|
792
|
+
identifier: "Stripesource_receiver_flow",
|
|
793
|
+
});
|
|
794
|
+
export const Stripesource_redirect_flow = Schema.StructWithRest(
|
|
795
|
+
Schema.Struct({
|
|
796
|
+
failure_reason: Schema.optionalKey(
|
|
797
|
+
Schema.Union([
|
|
798
|
+
Schema.String.annotate({
|
|
799
|
+
description:
|
|
800
|
+
"The failure reason for the redirect, either `user_abort` (the customer aborted or dropped out of the redirect flow), `declined` (the authentication failed or the transaction was declined), or `processing_error` (the redirect failed due to a technical error). Present only if the redirect status is `failed`.",
|
|
801
|
+
}).check(
|
|
802
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
803
|
+
expected: "a string with at most 5000 code points",
|
|
804
|
+
}),
|
|
805
|
+
),
|
|
806
|
+
Schema.Null,
|
|
807
|
+
]),
|
|
808
|
+
),
|
|
809
|
+
return_url: Schema.String.annotate({
|
|
810
|
+
description:
|
|
811
|
+
"The URL you provide to redirect the customer to after they authenticated their payment.",
|
|
812
|
+
}).check(
|
|
813
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
814
|
+
expected: "a string with at most 5000 code points",
|
|
815
|
+
}),
|
|
816
|
+
),
|
|
817
|
+
status: Schema.String.annotate({
|
|
818
|
+
description:
|
|
819
|
+
"The status of the redirect, either `pending` (ready to be used by your customer to authenticate the transaction), `succeeded` (successful authentication, cannot be reused) or `not_required` (redirect should not be used) or `failed` (failed authentication, cannot be reused).",
|
|
820
|
+
}).check(
|
|
821
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
822
|
+
expected: "a string with at most 5000 code points",
|
|
823
|
+
}),
|
|
824
|
+
),
|
|
825
|
+
url: Schema.String.annotate({
|
|
826
|
+
description:
|
|
827
|
+
"The URL provided to you to redirect a customer to as part of a `redirect` authentication flow.",
|
|
828
|
+
}).check(
|
|
829
|
+
Schema.isMaxCodePoints(2048).annotate({
|
|
830
|
+
expected: "a string with at most 2048 code points",
|
|
831
|
+
}),
|
|
832
|
+
),
|
|
833
|
+
}),
|
|
834
|
+
[
|
|
835
|
+
Schema.Record(
|
|
836
|
+
Schema.String,
|
|
837
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
838
|
+
),
|
|
839
|
+
],
|
|
840
|
+
).annotate({
|
|
841
|
+
title: "SourceRedirectFlow",
|
|
842
|
+
description: "",
|
|
843
|
+
identifier: "Stripesource_redirect_flow",
|
|
844
|
+
});
|
|
845
|
+
export const Stripesource_type_sepa_debit = Schema.StructWithRest(
|
|
846
|
+
Schema.Struct({
|
|
847
|
+
bank_code: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
848
|
+
branch_code: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
849
|
+
country: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
850
|
+
fingerprint: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
851
|
+
last4: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
852
|
+
mandate_reference: Schema.optionalKey(
|
|
853
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
854
|
+
),
|
|
855
|
+
mandate_url: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
856
|
+
}),
|
|
857
|
+
[
|
|
858
|
+
Schema.Record(
|
|
859
|
+
Schema.String,
|
|
860
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
861
|
+
),
|
|
862
|
+
],
|
|
863
|
+
).annotate({ identifier: "Stripesource_type_sepa_debit" });
|
|
864
|
+
export const Stripesource_type_sofort = Schema.StructWithRest(
|
|
865
|
+
Schema.Struct({
|
|
866
|
+
bank_code: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
867
|
+
bank_name: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
868
|
+
bic: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
869
|
+
country: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
870
|
+
iban_last4: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
871
|
+
preferred_language: Schema.optionalKey(
|
|
872
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
873
|
+
),
|
|
874
|
+
statement_descriptor: Schema.optionalKey(
|
|
875
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
876
|
+
),
|
|
877
|
+
}),
|
|
878
|
+
[
|
|
879
|
+
Schema.Record(
|
|
880
|
+
Schema.String,
|
|
881
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
882
|
+
),
|
|
883
|
+
],
|
|
884
|
+
).annotate({ identifier: "Stripesource_type_sofort" });
|
|
885
|
+
export const Stripesource_order_item = Schema.StructWithRest(
|
|
886
|
+
Schema.Struct({
|
|
887
|
+
amount: Schema.optionalKey(
|
|
888
|
+
Schema.Union([
|
|
889
|
+
Schema.Number.annotate({
|
|
890
|
+
description: "The amount (price) for this order item.",
|
|
891
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
892
|
+
Schema.Null,
|
|
893
|
+
]),
|
|
894
|
+
),
|
|
895
|
+
currency: Schema.optionalKey(
|
|
896
|
+
Schema.Union([
|
|
897
|
+
Schema.String.annotate({
|
|
898
|
+
description:
|
|
899
|
+
"This currency of this order item. Required when `amount` is present.",
|
|
900
|
+
}).check(
|
|
901
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
902
|
+
expected: "a string with at most 5000 code points",
|
|
903
|
+
}),
|
|
904
|
+
),
|
|
905
|
+
Schema.Null,
|
|
906
|
+
]),
|
|
907
|
+
),
|
|
908
|
+
description: Schema.optionalKey(
|
|
909
|
+
Schema.Union([
|
|
910
|
+
Schema.String.annotate({
|
|
911
|
+
description: "Human-readable description for this order item.",
|
|
912
|
+
}).check(
|
|
913
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
914
|
+
expected: "a string with at most 5000 code points",
|
|
915
|
+
}),
|
|
916
|
+
),
|
|
917
|
+
Schema.Null,
|
|
918
|
+
]),
|
|
919
|
+
),
|
|
920
|
+
parent: Schema.optionalKey(
|
|
921
|
+
Schema.Union([
|
|
922
|
+
Schema.String.annotate({
|
|
923
|
+
description:
|
|
924
|
+
"The ID of the associated object for this line item. Expandable if not null (e.g., expandable to a SKU).",
|
|
925
|
+
}).check(
|
|
926
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
927
|
+
expected: "a string with at most 5000 code points",
|
|
928
|
+
}),
|
|
929
|
+
),
|
|
930
|
+
Schema.Null,
|
|
931
|
+
]),
|
|
932
|
+
),
|
|
933
|
+
quantity: Schema.optionalKey(
|
|
934
|
+
Schema.Number.annotate({
|
|
935
|
+
description:
|
|
936
|
+
"The quantity of this order item. When type is `sku`, this is the number of instances of the SKU to be ordered.",
|
|
937
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
938
|
+
),
|
|
939
|
+
type: Schema.optionalKey(
|
|
940
|
+
Schema.Union([
|
|
941
|
+
Schema.String.annotate({
|
|
942
|
+
description:
|
|
943
|
+
"The type of this order item. Must be `sku`, `tax`, or `shipping`.",
|
|
944
|
+
}).check(
|
|
945
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
946
|
+
expected: "a string with at most 5000 code points",
|
|
947
|
+
}),
|
|
948
|
+
),
|
|
949
|
+
Schema.Null,
|
|
950
|
+
]),
|
|
951
|
+
),
|
|
952
|
+
}),
|
|
953
|
+
[
|
|
954
|
+
Schema.Record(
|
|
955
|
+
Schema.String,
|
|
956
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
957
|
+
),
|
|
958
|
+
],
|
|
959
|
+
).annotate({
|
|
960
|
+
title: "SourceOrderItem",
|
|
961
|
+
description: "",
|
|
962
|
+
identifier: "Stripesource_order_item",
|
|
963
|
+
});
|
|
964
|
+
export const Stripesource_type_three_d_secure = Schema.StructWithRest(
|
|
965
|
+
Schema.Struct({
|
|
966
|
+
address_line1_check: Schema.optionalKey(
|
|
967
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
968
|
+
),
|
|
969
|
+
address_zip_check: Schema.optionalKey(
|
|
970
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
971
|
+
),
|
|
972
|
+
authenticated: Schema.optionalKey(
|
|
973
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
974
|
+
),
|
|
975
|
+
brand: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
976
|
+
card: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
977
|
+
country: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
978
|
+
customer: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
979
|
+
cvc_check: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
980
|
+
dynamic_last4: Schema.optionalKey(
|
|
981
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
982
|
+
),
|
|
983
|
+
exp_month: Schema.optionalKey(Schema.Union([Schema.Int, Schema.Null])),
|
|
984
|
+
exp_year: Schema.optionalKey(Schema.Union([Schema.Int, Schema.Null])),
|
|
985
|
+
fingerprint: Schema.optionalKey(Schema.String),
|
|
986
|
+
funding: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
987
|
+
last4: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
988
|
+
name: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
989
|
+
three_d_secure: Schema.optionalKey(Schema.String),
|
|
990
|
+
tokenization_method: Schema.optionalKey(
|
|
991
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
992
|
+
),
|
|
993
|
+
}),
|
|
994
|
+
[
|
|
995
|
+
Schema.Record(
|
|
996
|
+
Schema.String,
|
|
997
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
998
|
+
),
|
|
999
|
+
],
|
|
1000
|
+
).annotate({ identifier: "Stripesource_type_three_d_secure" });
|
|
1001
|
+
export const Stripesource_type_wechat = Schema.StructWithRest(
|
|
1002
|
+
Schema.Struct({
|
|
1003
|
+
prepay_id: Schema.optionalKey(Schema.String),
|
|
1004
|
+
qr_code_url: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1005
|
+
statement_descriptor: Schema.optionalKey(Schema.String),
|
|
1006
|
+
}),
|
|
1007
|
+
[
|
|
1008
|
+
Schema.Record(
|
|
1009
|
+
Schema.String,
|
|
1010
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1011
|
+
),
|
|
1012
|
+
],
|
|
1013
|
+
).annotate({ identifier: "Stripesource_type_wechat" });
|
|
1014
|
+
export const Stripesource_mandate_notification_acss_debit_data =
|
|
1015
|
+
Schema.StructWithRest(
|
|
1016
|
+
Schema.Struct({
|
|
1017
|
+
statement_descriptor: Schema.optionalKey(
|
|
1018
|
+
Schema.String.annotate({
|
|
1019
|
+
description: "The statement descriptor associate with the debit.",
|
|
1020
|
+
}).check(
|
|
1021
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1022
|
+
expected: "a string with at most 5000 code points",
|
|
1023
|
+
}),
|
|
1024
|
+
),
|
|
1025
|
+
),
|
|
1026
|
+
}),
|
|
1027
|
+
[
|
|
1028
|
+
Schema.Record(
|
|
1029
|
+
Schema.String,
|
|
1030
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1031
|
+
),
|
|
1032
|
+
],
|
|
1033
|
+
).annotate({
|
|
1034
|
+
title: "SourceMandateNotificationAcssDebitData",
|
|
1035
|
+
description: "",
|
|
1036
|
+
identifier: "Stripesource_mandate_notification_acss_debit_data",
|
|
1037
|
+
});
|
|
1038
|
+
export const Stripesource_mandate_notification_bacs_debit_data =
|
|
1039
|
+
Schema.StructWithRest(
|
|
1040
|
+
Schema.Struct({
|
|
1041
|
+
last4: Schema.optionalKey(
|
|
1042
|
+
Schema.String.annotate({
|
|
1043
|
+
description:
|
|
1044
|
+
"Last 4 digits of the account number associated with the debit.",
|
|
1045
|
+
}).check(
|
|
1046
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1047
|
+
expected: "a string with at most 5000 code points",
|
|
1048
|
+
}),
|
|
1049
|
+
),
|
|
1050
|
+
),
|
|
1051
|
+
}),
|
|
1052
|
+
[
|
|
1053
|
+
Schema.Record(
|
|
1054
|
+
Schema.String,
|
|
1055
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1056
|
+
),
|
|
1057
|
+
],
|
|
1058
|
+
).annotate({
|
|
1059
|
+
title: "SourceMandateNotificationBacsDebitData",
|
|
1060
|
+
description: "",
|
|
1061
|
+
identifier: "Stripesource_mandate_notification_bacs_debit_data",
|
|
1062
|
+
});
|
|
1063
|
+
export const Stripesource_mandate_notification_sepa_debit_data =
|
|
1064
|
+
Schema.StructWithRest(
|
|
1065
|
+
Schema.Struct({
|
|
1066
|
+
creditor_identifier: Schema.optionalKey(
|
|
1067
|
+
Schema.String.annotate({ description: "SEPA creditor ID." }).check(
|
|
1068
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1069
|
+
expected: "a string with at most 5000 code points",
|
|
1070
|
+
}),
|
|
1071
|
+
),
|
|
1072
|
+
),
|
|
1073
|
+
last4: Schema.optionalKey(
|
|
1074
|
+
Schema.String.annotate({
|
|
1075
|
+
description:
|
|
1076
|
+
"Last 4 digits of the account number associated with the debit.",
|
|
1077
|
+
}).check(
|
|
1078
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1079
|
+
expected: "a string with at most 5000 code points",
|
|
1080
|
+
}),
|
|
1081
|
+
),
|
|
1082
|
+
),
|
|
1083
|
+
mandate_reference: Schema.optionalKey(
|
|
1084
|
+
Schema.String.annotate({
|
|
1085
|
+
description: "Mandate reference associated with the debit.",
|
|
1086
|
+
}).check(
|
|
1087
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1088
|
+
expected: "a string with at most 5000 code points",
|
|
1089
|
+
}),
|
|
1090
|
+
),
|
|
1091
|
+
),
|
|
1092
|
+
}),
|
|
1093
|
+
[
|
|
1094
|
+
Schema.Record(
|
|
1095
|
+
Schema.String,
|
|
1096
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1097
|
+
),
|
|
1098
|
+
],
|
|
1099
|
+
).annotate({
|
|
1100
|
+
title: "SourceMandateNotificationSepaDebitData",
|
|
1101
|
+
description: "",
|
|
1102
|
+
identifier: "Stripesource_mandate_notification_sepa_debit_data",
|
|
1103
|
+
});
|
|
1104
|
+
export const Stripesource_transaction_ach_credit_transfer_data =
|
|
1105
|
+
Schema.StructWithRest(
|
|
1106
|
+
Schema.Struct({
|
|
1107
|
+
customer_data: Schema.optionalKey(
|
|
1108
|
+
Schema.String.annotate({
|
|
1109
|
+
description: "Customer data associated with the transfer.",
|
|
1110
|
+
}).check(
|
|
1111
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1112
|
+
expected: "a string with at most 5000 code points",
|
|
1113
|
+
}),
|
|
1114
|
+
),
|
|
1115
|
+
),
|
|
1116
|
+
fingerprint: Schema.optionalKey(
|
|
1117
|
+
Schema.String.annotate({
|
|
1118
|
+
description: "Bank account fingerprint associated with the transfer.",
|
|
1119
|
+
}).check(
|
|
1120
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1121
|
+
expected: "a string with at most 5000 code points",
|
|
1122
|
+
}),
|
|
1123
|
+
),
|
|
1124
|
+
),
|
|
1125
|
+
last4: Schema.optionalKey(
|
|
1126
|
+
Schema.String.annotate({
|
|
1127
|
+
description:
|
|
1128
|
+
"Last 4 digits of the account number associated with the transfer.",
|
|
1129
|
+
}).check(
|
|
1130
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1131
|
+
expected: "a string with at most 5000 code points",
|
|
1132
|
+
}),
|
|
1133
|
+
),
|
|
1134
|
+
),
|
|
1135
|
+
routing_number: Schema.optionalKey(
|
|
1136
|
+
Schema.String.annotate({
|
|
1137
|
+
description: "Routing number associated with the transfer.",
|
|
1138
|
+
}).check(
|
|
1139
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1140
|
+
expected: "a string with at most 5000 code points",
|
|
1141
|
+
}),
|
|
1142
|
+
),
|
|
1143
|
+
),
|
|
1144
|
+
}),
|
|
1145
|
+
[
|
|
1146
|
+
Schema.Record(
|
|
1147
|
+
Schema.String,
|
|
1148
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1149
|
+
),
|
|
1150
|
+
],
|
|
1151
|
+
).annotate({
|
|
1152
|
+
title: "SourceTransactionAchCreditTransferData",
|
|
1153
|
+
description: "",
|
|
1154
|
+
identifier: "Stripesource_transaction_ach_credit_transfer_data",
|
|
1155
|
+
});
|
|
1156
|
+
export const Stripesource_transaction_chf_credit_transfer_data =
|
|
1157
|
+
Schema.StructWithRest(
|
|
1158
|
+
Schema.Struct({
|
|
1159
|
+
reference: Schema.optionalKey(
|
|
1160
|
+
Schema.String.annotate({
|
|
1161
|
+
description: "Reference associated with the transfer.",
|
|
1162
|
+
}).check(
|
|
1163
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1164
|
+
expected: "a string with at most 5000 code points",
|
|
1165
|
+
}),
|
|
1166
|
+
),
|
|
1167
|
+
),
|
|
1168
|
+
sender_address_country: Schema.optionalKey(
|
|
1169
|
+
Schema.String.annotate({
|
|
1170
|
+
description: "Sender's country address.",
|
|
1171
|
+
}).check(
|
|
1172
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1173
|
+
expected: "a string with at most 5000 code points",
|
|
1174
|
+
}),
|
|
1175
|
+
),
|
|
1176
|
+
),
|
|
1177
|
+
sender_address_line1: Schema.optionalKey(
|
|
1178
|
+
Schema.String.annotate({
|
|
1179
|
+
description: "Sender's line 1 address.",
|
|
1180
|
+
}).check(
|
|
1181
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1182
|
+
expected: "a string with at most 5000 code points",
|
|
1183
|
+
}),
|
|
1184
|
+
),
|
|
1185
|
+
),
|
|
1186
|
+
sender_iban: Schema.optionalKey(
|
|
1187
|
+
Schema.String.annotate({
|
|
1188
|
+
description: "Sender's bank account IBAN.",
|
|
1189
|
+
}).check(
|
|
1190
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1191
|
+
expected: "a string with at most 5000 code points",
|
|
1192
|
+
}),
|
|
1193
|
+
),
|
|
1194
|
+
),
|
|
1195
|
+
sender_name: Schema.optionalKey(
|
|
1196
|
+
Schema.String.annotate({ description: "Sender's name." }).check(
|
|
1197
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1198
|
+
expected: "a string with at most 5000 code points",
|
|
1199
|
+
}),
|
|
1200
|
+
),
|
|
1201
|
+
),
|
|
1202
|
+
}),
|
|
1203
|
+
[
|
|
1204
|
+
Schema.Record(
|
|
1205
|
+
Schema.String,
|
|
1206
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1207
|
+
),
|
|
1208
|
+
],
|
|
1209
|
+
).annotate({
|
|
1210
|
+
title: "SourceTransactionChfCreditTransferData",
|
|
1211
|
+
description: "",
|
|
1212
|
+
identifier: "Stripesource_transaction_chf_credit_transfer_data",
|
|
1213
|
+
});
|
|
1214
|
+
export const Stripesource_transaction_gbp_credit_transfer_data =
|
|
1215
|
+
Schema.StructWithRest(
|
|
1216
|
+
Schema.Struct({
|
|
1217
|
+
fingerprint: Schema.optionalKey(
|
|
1218
|
+
Schema.String.annotate({
|
|
1219
|
+
description:
|
|
1220
|
+
"Bank account fingerprint associated with the Stripe owned bank account receiving the transfer.",
|
|
1221
|
+
}).check(
|
|
1222
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1223
|
+
expected: "a string with at most 5000 code points",
|
|
1224
|
+
}),
|
|
1225
|
+
),
|
|
1226
|
+
),
|
|
1227
|
+
funding_method: Schema.optionalKey(
|
|
1228
|
+
Schema.String.annotate({
|
|
1229
|
+
description:
|
|
1230
|
+
"The credit transfer rails the sender used to push this transfer. The possible rails are: Faster Payments, BACS, CHAPS, and wire transfers. Currently only Faster Payments is supported.",
|
|
1231
|
+
}).check(
|
|
1232
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1233
|
+
expected: "a string with at most 5000 code points",
|
|
1234
|
+
}),
|
|
1235
|
+
),
|
|
1236
|
+
),
|
|
1237
|
+
last4: Schema.optionalKey(
|
|
1238
|
+
Schema.String.annotate({
|
|
1239
|
+
description:
|
|
1240
|
+
"Last 4 digits of sender account number associated with the transfer.",
|
|
1241
|
+
}).check(
|
|
1242
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1243
|
+
expected: "a string with at most 5000 code points",
|
|
1244
|
+
}),
|
|
1245
|
+
),
|
|
1246
|
+
),
|
|
1247
|
+
reference: Schema.optionalKey(
|
|
1248
|
+
Schema.String.annotate({
|
|
1249
|
+
description:
|
|
1250
|
+
"Sender entered arbitrary information about the transfer.",
|
|
1251
|
+
}).check(
|
|
1252
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1253
|
+
expected: "a string with at most 5000 code points",
|
|
1254
|
+
}),
|
|
1255
|
+
),
|
|
1256
|
+
),
|
|
1257
|
+
sender_account_number: Schema.optionalKey(
|
|
1258
|
+
Schema.String.annotate({
|
|
1259
|
+
description: "Sender account number associated with the transfer.",
|
|
1260
|
+
}).check(
|
|
1261
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1262
|
+
expected: "a string with at most 5000 code points",
|
|
1263
|
+
}),
|
|
1264
|
+
),
|
|
1265
|
+
),
|
|
1266
|
+
sender_name: Schema.optionalKey(
|
|
1267
|
+
Schema.String.annotate({
|
|
1268
|
+
description: "Sender name associated with the transfer.",
|
|
1269
|
+
}).check(
|
|
1270
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1271
|
+
expected: "a string with at most 5000 code points",
|
|
1272
|
+
}),
|
|
1273
|
+
),
|
|
1274
|
+
),
|
|
1275
|
+
sender_sort_code: Schema.optionalKey(
|
|
1276
|
+
Schema.String.annotate({
|
|
1277
|
+
description: "Sender sort code associated with the transfer.",
|
|
1278
|
+
}).check(
|
|
1279
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1280
|
+
expected: "a string with at most 5000 code points",
|
|
1281
|
+
}),
|
|
1282
|
+
),
|
|
1283
|
+
),
|
|
1284
|
+
}),
|
|
1285
|
+
[
|
|
1286
|
+
Schema.Record(
|
|
1287
|
+
Schema.String,
|
|
1288
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1289
|
+
),
|
|
1290
|
+
],
|
|
1291
|
+
).annotate({
|
|
1292
|
+
title: "SourceTransactionGbpCreditTransferData",
|
|
1293
|
+
description: "",
|
|
1294
|
+
identifier: "Stripesource_transaction_gbp_credit_transfer_data",
|
|
1295
|
+
});
|
|
1296
|
+
export const Stripesource_transaction_paper_check_data = Schema.StructWithRest(
|
|
1297
|
+
Schema.Struct({
|
|
1298
|
+
available_at: Schema.optionalKey(
|
|
1299
|
+
Schema.String.annotate({
|
|
1300
|
+
description:
|
|
1301
|
+
"Time at which the deposited funds will be available for use. Measured in seconds since the Unix epoch.",
|
|
1302
|
+
}).check(
|
|
1303
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1304
|
+
expected: "a string with at most 5000 code points",
|
|
1305
|
+
}),
|
|
1306
|
+
),
|
|
1307
|
+
),
|
|
1308
|
+
invoices: Schema.optionalKey(
|
|
1309
|
+
Schema.String.annotate({
|
|
1310
|
+
description:
|
|
1311
|
+
"Comma-separated list of invoice IDs associated with the paper check.",
|
|
1312
|
+
}).check(
|
|
1313
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1314
|
+
expected: "a string with at most 5000 code points",
|
|
1315
|
+
}),
|
|
1316
|
+
),
|
|
1317
|
+
),
|
|
1318
|
+
}),
|
|
1319
|
+
[
|
|
1320
|
+
Schema.Record(
|
|
1321
|
+
Schema.String,
|
|
1322
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1323
|
+
),
|
|
1324
|
+
],
|
|
1325
|
+
).annotate({
|
|
1326
|
+
title: "SourceTransactionPaperCheckData",
|
|
1327
|
+
description: "",
|
|
1328
|
+
identifier: "Stripesource_transaction_paper_check_data",
|
|
1329
|
+
});
|
|
1330
|
+
export const Stripesource_transaction_sepa_credit_transfer_data =
|
|
1331
|
+
Schema.StructWithRest(
|
|
1332
|
+
Schema.Struct({
|
|
1333
|
+
reference: Schema.optionalKey(
|
|
1334
|
+
Schema.String.annotate({
|
|
1335
|
+
description: "Reference associated with the transfer.",
|
|
1336
|
+
}).check(
|
|
1337
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1338
|
+
expected: "a string with at most 5000 code points",
|
|
1339
|
+
}),
|
|
1340
|
+
),
|
|
1341
|
+
),
|
|
1342
|
+
sender_iban: Schema.optionalKey(
|
|
1343
|
+
Schema.String.annotate({
|
|
1344
|
+
description: "Sender's bank account IBAN.",
|
|
1345
|
+
}).check(
|
|
1346
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1347
|
+
expected: "a string with at most 5000 code points",
|
|
1348
|
+
}),
|
|
1349
|
+
),
|
|
1350
|
+
),
|
|
1351
|
+
sender_name: Schema.optionalKey(
|
|
1352
|
+
Schema.String.annotate({ description: "Sender's name." }).check(
|
|
1353
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1354
|
+
expected: "a string with at most 5000 code points",
|
|
1355
|
+
}),
|
|
1356
|
+
),
|
|
1357
|
+
),
|
|
1358
|
+
}),
|
|
1359
|
+
[
|
|
1360
|
+
Schema.Record(
|
|
1361
|
+
Schema.String,
|
|
1362
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1363
|
+
),
|
|
1364
|
+
],
|
|
1365
|
+
).annotate({
|
|
1366
|
+
title: "SourceTransactionSepaCreditTransferData",
|
|
1367
|
+
description: "",
|
|
1368
|
+
identifier: "Stripesource_transaction_sepa_credit_transfer_data",
|
|
1369
|
+
});
|
|
1370
|
+
export const Stripesource_owner = Schema.suspend(
|
|
1371
|
+
(): Schema.Codec<Stripesource_owner> =>
|
|
1372
|
+
Schema.StructWithRest(
|
|
1373
|
+
Schema.Struct({
|
|
1374
|
+
address: Schema.optionalKey(
|
|
1375
|
+
Schema.Union([
|
|
1376
|
+
Schema.Union([Stripeaddress]).annotate({
|
|
1377
|
+
description: "Owner's address.",
|
|
1378
|
+
}),
|
|
1379
|
+
Schema.Null,
|
|
1380
|
+
]),
|
|
1381
|
+
),
|
|
1382
|
+
email: Schema.optionalKey(
|
|
1383
|
+
Schema.Union([
|
|
1384
|
+
Schema.String.annotate({
|
|
1385
|
+
description: "Owner's email address.",
|
|
1386
|
+
}).check(
|
|
1387
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1388
|
+
expected: "a string with at most 5000 code points",
|
|
1389
|
+
}),
|
|
1390
|
+
),
|
|
1391
|
+
Schema.Null,
|
|
1392
|
+
]),
|
|
1393
|
+
),
|
|
1394
|
+
name: Schema.optionalKey(
|
|
1395
|
+
Schema.Union([
|
|
1396
|
+
Schema.String.annotate({ description: "Owner's full name." }).check(
|
|
1397
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1398
|
+
expected: "a string with at most 5000 code points",
|
|
1399
|
+
}),
|
|
1400
|
+
),
|
|
1401
|
+
Schema.Null,
|
|
1402
|
+
]),
|
|
1403
|
+
),
|
|
1404
|
+
phone: Schema.optionalKey(
|
|
1405
|
+
Schema.Union([
|
|
1406
|
+
Schema.String.annotate({
|
|
1407
|
+
description: "Owner's phone number (including extension).",
|
|
1408
|
+
}).check(
|
|
1409
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1410
|
+
expected: "a string with at most 5000 code points",
|
|
1411
|
+
}),
|
|
1412
|
+
),
|
|
1413
|
+
Schema.Null,
|
|
1414
|
+
]),
|
|
1415
|
+
),
|
|
1416
|
+
verified_address: Schema.optionalKey(
|
|
1417
|
+
Schema.Union([
|
|
1418
|
+
Schema.Union([Stripeaddress]).annotate({
|
|
1419
|
+
description:
|
|
1420
|
+
"Verified owner's address. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.",
|
|
1421
|
+
}),
|
|
1422
|
+
Schema.Null,
|
|
1423
|
+
]),
|
|
1424
|
+
),
|
|
1425
|
+
verified_email: Schema.optionalKey(
|
|
1426
|
+
Schema.Union([
|
|
1427
|
+
Schema.String.annotate({
|
|
1428
|
+
description:
|
|
1429
|
+
"Verified owner's email address. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.",
|
|
1430
|
+
}).check(
|
|
1431
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1432
|
+
expected: "a string with at most 5000 code points",
|
|
1433
|
+
}),
|
|
1434
|
+
),
|
|
1435
|
+
Schema.Null,
|
|
1436
|
+
]),
|
|
1437
|
+
),
|
|
1438
|
+
verified_name: Schema.optionalKey(
|
|
1439
|
+
Schema.Union([
|
|
1440
|
+
Schema.String.annotate({
|
|
1441
|
+
description:
|
|
1442
|
+
"Verified owner's full name. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.",
|
|
1443
|
+
}).check(
|
|
1444
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1445
|
+
expected: "a string with at most 5000 code points",
|
|
1446
|
+
}),
|
|
1447
|
+
),
|
|
1448
|
+
Schema.Null,
|
|
1449
|
+
]),
|
|
1450
|
+
),
|
|
1451
|
+
verified_phone: Schema.optionalKey(
|
|
1452
|
+
Schema.Union([
|
|
1453
|
+
Schema.String.annotate({
|
|
1454
|
+
description:
|
|
1455
|
+
"Verified owner's phone number (including extension). Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.",
|
|
1456
|
+
}).check(
|
|
1457
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1458
|
+
expected: "a string with at most 5000 code points",
|
|
1459
|
+
}),
|
|
1460
|
+
),
|
|
1461
|
+
Schema.Null,
|
|
1462
|
+
]),
|
|
1463
|
+
),
|
|
1464
|
+
}),
|
|
1465
|
+
[
|
|
1466
|
+
Schema.Record(
|
|
1467
|
+
Schema.String,
|
|
1468
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1469
|
+
),
|
|
1470
|
+
],
|
|
1471
|
+
).annotate({
|
|
1472
|
+
title: "SourceOwner",
|
|
1473
|
+
description: "",
|
|
1474
|
+
identifier: "Stripesource_owner",
|
|
1475
|
+
}),
|
|
1476
|
+
);
|
|
1477
|
+
export const Stripesource_transaction = Schema.suspend(
|
|
1478
|
+
(): Schema.Codec<Stripesource_transaction> =>
|
|
1479
|
+
Schema.StructWithRest(
|
|
1480
|
+
Schema.Struct({
|
|
1481
|
+
ach_credit_transfer: Schema.optionalKey(
|
|
1482
|
+
Stripesource_transaction_ach_credit_transfer_data,
|
|
1483
|
+
),
|
|
1484
|
+
amount: Schema.Number.annotate({
|
|
1485
|
+
description:
|
|
1486
|
+
"A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the amount your customer has pushed to the receiver.",
|
|
1487
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
1488
|
+
chf_credit_transfer: Schema.optionalKey(
|
|
1489
|
+
Stripesource_transaction_chf_credit_transfer_data,
|
|
1490
|
+
),
|
|
1491
|
+
created: Schema.Number.annotate({
|
|
1492
|
+
description:
|
|
1493
|
+
"Time at which the object was created. Measured in seconds since the Unix epoch.",
|
|
1494
|
+
format: "unix-time",
|
|
1495
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
1496
|
+
currency: Schema.String.annotate({
|
|
1497
|
+
description:
|
|
1498
|
+
"Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
|
|
1499
|
+
format: "currency",
|
|
1500
|
+
}),
|
|
1501
|
+
gbp_credit_transfer: Schema.optionalKey(
|
|
1502
|
+
Stripesource_transaction_gbp_credit_transfer_data,
|
|
1503
|
+
),
|
|
1504
|
+
id: Schema.String.annotate({
|
|
1505
|
+
description: "Unique identifier for the object.",
|
|
1506
|
+
}).check(
|
|
1507
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1508
|
+
expected: "a string with at most 5000 code points",
|
|
1509
|
+
}),
|
|
1510
|
+
),
|
|
1511
|
+
livemode: Schema.Boolean.annotate({
|
|
1512
|
+
description:
|
|
1513
|
+
"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.",
|
|
1514
|
+
}),
|
|
1515
|
+
object: Schema.Literal("source_transaction").annotate({
|
|
1516
|
+
description:
|
|
1517
|
+
"String representing the object's type. Objects of the same type share the same value.",
|
|
1518
|
+
}),
|
|
1519
|
+
paper_check: Schema.optionalKey(
|
|
1520
|
+
Stripesource_transaction_paper_check_data,
|
|
1521
|
+
),
|
|
1522
|
+
sepa_credit_transfer: Schema.optionalKey(
|
|
1523
|
+
Stripesource_transaction_sepa_credit_transfer_data,
|
|
1524
|
+
),
|
|
1525
|
+
source: Schema.String.annotate({
|
|
1526
|
+
description: "The ID of the source this transaction is attached to.",
|
|
1527
|
+
}).check(
|
|
1528
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1529
|
+
expected: "a string with at most 5000 code points",
|
|
1530
|
+
}),
|
|
1531
|
+
),
|
|
1532
|
+
status: Schema.String.annotate({
|
|
1533
|
+
description:
|
|
1534
|
+
"The status of the transaction, one of `succeeded`, `pending`, or `failed`.",
|
|
1535
|
+
}).check(
|
|
1536
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1537
|
+
expected: "a string with at most 5000 code points",
|
|
1538
|
+
}),
|
|
1539
|
+
),
|
|
1540
|
+
type: Schema.Literals([
|
|
1541
|
+
"ach_credit_transfer",
|
|
1542
|
+
"ach_debit",
|
|
1543
|
+
"alipay",
|
|
1544
|
+
"bancontact",
|
|
1545
|
+
"card",
|
|
1546
|
+
"card_present",
|
|
1547
|
+
"eps",
|
|
1548
|
+
"giropay",
|
|
1549
|
+
"ideal",
|
|
1550
|
+
"klarna",
|
|
1551
|
+
"multibanco",
|
|
1552
|
+
"p24",
|
|
1553
|
+
"sepa_debit",
|
|
1554
|
+
"sofort",
|
|
1555
|
+
"three_d_secure",
|
|
1556
|
+
"wechat",
|
|
1557
|
+
]).annotate({
|
|
1558
|
+
description: "The type of source this transaction is attached to.",
|
|
1559
|
+
}),
|
|
1560
|
+
}),
|
|
1561
|
+
[
|
|
1562
|
+
Schema.Record(
|
|
1563
|
+
Schema.String,
|
|
1564
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1565
|
+
),
|
|
1566
|
+
],
|
|
1567
|
+
).annotate({
|
|
1568
|
+
title: "Source Transaction",
|
|
1569
|
+
description:
|
|
1570
|
+
"Some payment methods have no required amount that a customer must send.\nCustomers can be instructed to send any amount, and it can be made up of\nmultiple transactions. As such, sources can have multiple associated\ntransactions.",
|
|
1571
|
+
identifier: "Stripesource_transaction",
|
|
1572
|
+
}),
|
|
1573
|
+
);
|
|
1574
|
+
export const Stripesource_order = Schema.suspend(
|
|
1575
|
+
(): Schema.Codec<Stripesource_order> =>
|
|
1576
|
+
Schema.StructWithRest(
|
|
1577
|
+
Schema.Struct({
|
|
1578
|
+
amount: Schema.Number.annotate({
|
|
1579
|
+
description:
|
|
1580
|
+
"A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount for the order.",
|
|
1581
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
1582
|
+
currency: Schema.String.annotate({
|
|
1583
|
+
description:
|
|
1584
|
+
"Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
|
|
1585
|
+
format: "currency",
|
|
1586
|
+
}),
|
|
1587
|
+
email: Schema.optionalKey(
|
|
1588
|
+
Schema.String.annotate({
|
|
1589
|
+
description: "The email address of the customer placing the order.",
|
|
1590
|
+
}).check(
|
|
1591
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1592
|
+
expected: "a string with at most 5000 code points",
|
|
1593
|
+
}),
|
|
1594
|
+
),
|
|
1595
|
+
),
|
|
1596
|
+
items: Schema.optionalKey(
|
|
1597
|
+
Schema.Union([
|
|
1598
|
+
Schema.Array(Stripesource_order_item).annotate({
|
|
1599
|
+
description: "List of items constituting the order.",
|
|
1600
|
+
}),
|
|
1601
|
+
Schema.Null,
|
|
1602
|
+
]),
|
|
1603
|
+
),
|
|
1604
|
+
shipping: Schema.optionalKey(Stripeshipping),
|
|
1605
|
+
}),
|
|
1606
|
+
[
|
|
1607
|
+
Schema.Record(
|
|
1608
|
+
Schema.String,
|
|
1609
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1610
|
+
),
|
|
1611
|
+
],
|
|
1612
|
+
).annotate({
|
|
1613
|
+
title: "SourceOrder",
|
|
1614
|
+
description: "",
|
|
1615
|
+
identifier: "Stripesource_order",
|
|
1616
|
+
}),
|
|
1617
|
+
);
|
|
1618
|
+
export const Stripesource = Schema.suspend(
|
|
1619
|
+
(): Schema.Codec<Stripesource> =>
|
|
1620
|
+
Schema.StructWithRest(
|
|
1621
|
+
Schema.Struct({
|
|
1622
|
+
ach_credit_transfer: Schema.optionalKey(
|
|
1623
|
+
Stripesource_type_ach_credit_transfer,
|
|
1624
|
+
),
|
|
1625
|
+
ach_debit: Schema.optionalKey(Stripesource_type_ach_debit),
|
|
1626
|
+
acss_debit: Schema.optionalKey(Stripesource_type_acss_debit),
|
|
1627
|
+
alipay: Schema.optionalKey(Stripesource_type_alipay),
|
|
1628
|
+
allow_redisplay: Schema.optionalKey(
|
|
1629
|
+
Schema.Union([
|
|
1630
|
+
Schema.Literals(["always", "limited", "unspecified"]).annotate({
|
|
1631
|
+
description:
|
|
1632
|
+
"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”.",
|
|
1633
|
+
}),
|
|
1634
|
+
Schema.Null,
|
|
1635
|
+
]),
|
|
1636
|
+
),
|
|
1637
|
+
amount: Schema.optionalKey(
|
|
1638
|
+
Schema.Union([
|
|
1639
|
+
Schema.Number.annotate({
|
|
1640
|
+
description:
|
|
1641
|
+
"A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount associated with the source. This is the amount for which the source will be chargeable once ready. Required for `single_use` sources.",
|
|
1642
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
1643
|
+
Schema.Null,
|
|
1644
|
+
]),
|
|
1645
|
+
),
|
|
1646
|
+
au_becs_debit: Schema.optionalKey(Stripesource_type_au_becs_debit),
|
|
1647
|
+
bancontact: Schema.optionalKey(Stripesource_type_bancontact),
|
|
1648
|
+
card: Schema.optionalKey(Stripesource_type_card),
|
|
1649
|
+
card_present: Schema.optionalKey(Stripesource_type_card_present),
|
|
1650
|
+
client_secret: Schema.String.annotate({
|
|
1651
|
+
description:
|
|
1652
|
+
"The client secret of the source. Used for client-side retrieval using a publishable key.",
|
|
1653
|
+
}).check(
|
|
1654
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1655
|
+
expected: "a string with at most 5000 code points",
|
|
1656
|
+
}),
|
|
1657
|
+
),
|
|
1658
|
+
code_verification: Schema.optionalKey(
|
|
1659
|
+
Stripesource_code_verification_flow,
|
|
1660
|
+
),
|
|
1661
|
+
created: Schema.Number.annotate({
|
|
1662
|
+
description:
|
|
1663
|
+
"Time at which the object was created. Measured in seconds since the Unix epoch.",
|
|
1664
|
+
format: "unix-time",
|
|
1665
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
1666
|
+
currency: Schema.optionalKey(
|
|
1667
|
+
Schema.Union([
|
|
1668
|
+
Schema.String.annotate({
|
|
1669
|
+
description:
|
|
1670
|
+
"Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) associated with the source. This is the currency for which the source will be chargeable once ready. Required for `single_use` sources.",
|
|
1671
|
+
format: "currency",
|
|
1672
|
+
}),
|
|
1673
|
+
Schema.Null,
|
|
1674
|
+
]),
|
|
1675
|
+
),
|
|
1676
|
+
customer: Schema.optionalKey(
|
|
1677
|
+
Schema.String.annotate({
|
|
1678
|
+
description:
|
|
1679
|
+
"The ID of the customer to which this source is attached. This will not be present when the source has not been attached to a customer.",
|
|
1680
|
+
}).check(
|
|
1681
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1682
|
+
expected: "a string with at most 5000 code points",
|
|
1683
|
+
}),
|
|
1684
|
+
),
|
|
1685
|
+
),
|
|
1686
|
+
eps: Schema.optionalKey(Stripesource_type_eps),
|
|
1687
|
+
flow: Schema.String.annotate({
|
|
1688
|
+
description:
|
|
1689
|
+
"The authentication `flow` of the source. `flow` is one of `redirect`, `receiver`, `code_verification`, `none`.",
|
|
1690
|
+
}).check(
|
|
1691
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1692
|
+
expected: "a string with at most 5000 code points",
|
|
1693
|
+
}),
|
|
1694
|
+
),
|
|
1695
|
+
giropay: Schema.optionalKey(Stripesource_type_giropay),
|
|
1696
|
+
id: Schema.String.annotate({
|
|
1697
|
+
description: "Unique identifier for the object.",
|
|
1698
|
+
}).check(
|
|
1699
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1700
|
+
expected: "a string with at most 5000 code points",
|
|
1701
|
+
}),
|
|
1702
|
+
),
|
|
1703
|
+
ideal: Schema.optionalKey(Stripesource_type_ideal),
|
|
1704
|
+
klarna: Schema.optionalKey(Stripesource_type_klarna),
|
|
1705
|
+
livemode: Schema.Boolean.annotate({
|
|
1706
|
+
description:
|
|
1707
|
+
"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.",
|
|
1708
|
+
}),
|
|
1709
|
+
metadata: Schema.optionalKey(
|
|
1710
|
+
Schema.Union([
|
|
1711
|
+
Schema.Record(
|
|
1712
|
+
Schema.String,
|
|
1713
|
+
Schema.String.check(
|
|
1714
|
+
Schema.isMaxCodePoints(500).annotate({
|
|
1715
|
+
expected: "a string with at most 500 code points",
|
|
1716
|
+
}),
|
|
1717
|
+
),
|
|
1718
|
+
).annotate({
|
|
1719
|
+
description:
|
|
1720
|
+
"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.",
|
|
1721
|
+
}),
|
|
1722
|
+
Schema.Null,
|
|
1723
|
+
]),
|
|
1724
|
+
),
|
|
1725
|
+
multibanco: Schema.optionalKey(Stripesource_type_multibanco),
|
|
1726
|
+
object: Schema.Literal("source").annotate({
|
|
1727
|
+
description:
|
|
1728
|
+
"String representing the object's type. Objects of the same type share the same value.",
|
|
1729
|
+
}),
|
|
1730
|
+
owner: Schema.optionalKey(
|
|
1731
|
+
Schema.Union([
|
|
1732
|
+
Schema.Union([Stripesource_owner]).annotate({
|
|
1733
|
+
description:
|
|
1734
|
+
"Information about the owner of the payment instrument that may be used or required by particular source types.",
|
|
1735
|
+
}),
|
|
1736
|
+
Schema.Null,
|
|
1737
|
+
]),
|
|
1738
|
+
),
|
|
1739
|
+
p24: Schema.optionalKey(Stripesource_type_p24),
|
|
1740
|
+
receiver: Schema.optionalKey(Stripesource_receiver_flow),
|
|
1741
|
+
redirect: Schema.optionalKey(Stripesource_redirect_flow),
|
|
1742
|
+
sepa_debit: Schema.optionalKey(Stripesource_type_sepa_debit),
|
|
1743
|
+
sofort: Schema.optionalKey(Stripesource_type_sofort),
|
|
1744
|
+
source_order: Schema.optionalKey(Stripesource_order),
|
|
1745
|
+
statement_descriptor: Schema.optionalKey(
|
|
1746
|
+
Schema.Union([
|
|
1747
|
+
Schema.String.annotate({
|
|
1748
|
+
description:
|
|
1749
|
+
"Extra information about a source. This will appear on your customer's statement every time you charge the source.",
|
|
1750
|
+
}).check(
|
|
1751
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1752
|
+
expected: "a string with at most 5000 code points",
|
|
1753
|
+
}),
|
|
1754
|
+
),
|
|
1755
|
+
Schema.Null,
|
|
1756
|
+
]),
|
|
1757
|
+
),
|
|
1758
|
+
status: Schema.String.annotate({
|
|
1759
|
+
description:
|
|
1760
|
+
"The status of the source, one of `canceled`, `chargeable`, `consumed`, `failed`, or `pending`. Only `chargeable` sources can be used to create a charge.",
|
|
1761
|
+
}).check(
|
|
1762
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1763
|
+
expected: "a string with at most 5000 code points",
|
|
1764
|
+
}),
|
|
1765
|
+
),
|
|
1766
|
+
three_d_secure: Schema.optionalKey(Stripesource_type_three_d_secure),
|
|
1767
|
+
type: Schema.Literals([
|
|
1768
|
+
"ach_credit_transfer",
|
|
1769
|
+
"ach_debit",
|
|
1770
|
+
"acss_debit",
|
|
1771
|
+
"alipay",
|
|
1772
|
+
"au_becs_debit",
|
|
1773
|
+
"bancontact",
|
|
1774
|
+
"card",
|
|
1775
|
+
"card_present",
|
|
1776
|
+
"eps",
|
|
1777
|
+
"giropay",
|
|
1778
|
+
"ideal",
|
|
1779
|
+
"klarna",
|
|
1780
|
+
"multibanco",
|
|
1781
|
+
"p24",
|
|
1782
|
+
"sepa_debit",
|
|
1783
|
+
"sofort",
|
|
1784
|
+
"three_d_secure",
|
|
1785
|
+
"wechat",
|
|
1786
|
+
]).annotate({
|
|
1787
|
+
description:
|
|
1788
|
+
"The `type` of the source. The `type` is a payment method, one of `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`, `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An additional hash is included on the source with a name matching this value. It contains additional information specific to the [payment method](https://docs.stripe.com/sources) used.",
|
|
1789
|
+
}),
|
|
1790
|
+
usage: Schema.optionalKey(
|
|
1791
|
+
Schema.Union([
|
|
1792
|
+
Schema.String.annotate({
|
|
1793
|
+
description:
|
|
1794
|
+
"Either `reusable` or `single_use`. Whether this source should be reusable or not. Some source types may or may not be reusable by construction, while others may leave the option at creation. If an incompatible value is passed, an error will be returned.",
|
|
1795
|
+
}).check(
|
|
1796
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1797
|
+
expected: "a string with at most 5000 code points",
|
|
1798
|
+
}),
|
|
1799
|
+
),
|
|
1800
|
+
Schema.Null,
|
|
1801
|
+
]),
|
|
1802
|
+
),
|
|
1803
|
+
wechat: Schema.optionalKey(Stripesource_type_wechat),
|
|
1804
|
+
}),
|
|
1805
|
+
[
|
|
1806
|
+
Schema.Record(
|
|
1807
|
+
Schema.String,
|
|
1808
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1809
|
+
),
|
|
1810
|
+
],
|
|
1811
|
+
).annotate({
|
|
1812
|
+
title: "Source",
|
|
1813
|
+
description:
|
|
1814
|
+
"`Source` objects allow you to accept a variety of payment methods. They\nrepresent a customer's payment instrument, and can be used with the Stripe API\njust like a `Card` object: once chargeable, they can be charged, or can be\nattached to customers.\n\nThis API is deprecated. Use the [PaymentMethods API](https://docs.stripe.com/api/payment_methods) instead.\n\nRelated guides: [Sources API](https://docs.stripe.com/sources) and [Sources & Customers](https://docs.stripe.com/sources/customers).",
|
|
1815
|
+
identifier: "Stripesource",
|
|
1816
|
+
}),
|
|
1817
|
+
);
|
|
1818
|
+
export const Stripesource_mandate_notification = Schema.suspend(
|
|
1819
|
+
(): Schema.Codec<Stripesource_mandate_notification> =>
|
|
1820
|
+
Schema.StructWithRest(
|
|
1821
|
+
Schema.Struct({
|
|
1822
|
+
acss_debit: Schema.optionalKey(
|
|
1823
|
+
Stripesource_mandate_notification_acss_debit_data,
|
|
1824
|
+
),
|
|
1825
|
+
amount: Schema.optionalKey(
|
|
1826
|
+
Schema.Union([
|
|
1827
|
+
Schema.Number.annotate({
|
|
1828
|
+
description:
|
|
1829
|
+
"A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the amount associated with the mandate notification. The amount is expressed in the currency of the underlying source. Required if the notification type is `debit_initiated`.",
|
|
1830
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
1831
|
+
Schema.Null,
|
|
1832
|
+
]),
|
|
1833
|
+
),
|
|
1834
|
+
bacs_debit: Schema.optionalKey(
|
|
1835
|
+
Stripesource_mandate_notification_bacs_debit_data,
|
|
1836
|
+
),
|
|
1837
|
+
created: Schema.Number.annotate({
|
|
1838
|
+
description:
|
|
1839
|
+
"Time at which the object was created. Measured in seconds since the Unix epoch.",
|
|
1840
|
+
format: "unix-time",
|
|
1841
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
1842
|
+
id: Schema.String.annotate({
|
|
1843
|
+
description: "Unique identifier for the object.",
|
|
1844
|
+
}).check(
|
|
1845
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1846
|
+
expected: "a string with at most 5000 code points",
|
|
1847
|
+
}),
|
|
1848
|
+
),
|
|
1849
|
+
livemode: Schema.Boolean.annotate({
|
|
1850
|
+
description:
|
|
1851
|
+
"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.",
|
|
1852
|
+
}),
|
|
1853
|
+
object: Schema.Literal("source_mandate_notification").annotate({
|
|
1854
|
+
description:
|
|
1855
|
+
"String representing the object's type. Objects of the same type share the same value.",
|
|
1856
|
+
}),
|
|
1857
|
+
reason: Schema.String.annotate({
|
|
1858
|
+
description:
|
|
1859
|
+
"The reason of the mandate notification. Valid reasons are `mandate_confirmed` or `debit_initiated`.",
|
|
1860
|
+
}).check(
|
|
1861
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1862
|
+
expected: "a string with at most 5000 code points",
|
|
1863
|
+
}),
|
|
1864
|
+
),
|
|
1865
|
+
sepa_debit: Schema.optionalKey(
|
|
1866
|
+
Stripesource_mandate_notification_sepa_debit_data,
|
|
1867
|
+
),
|
|
1868
|
+
source: Stripesource,
|
|
1869
|
+
status: Schema.String.annotate({
|
|
1870
|
+
description:
|
|
1871
|
+
"The status of the mandate notification. Valid statuses are `pending` or `submitted`.",
|
|
1872
|
+
}).check(
|
|
1873
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1874
|
+
expected: "a string with at most 5000 code points",
|
|
1875
|
+
}),
|
|
1876
|
+
),
|
|
1877
|
+
type: Schema.String.annotate({
|
|
1878
|
+
description:
|
|
1879
|
+
"The type of source this mandate notification is attached to. Should be the source type identifier code for the payment method, such as `three_d_secure`.",
|
|
1880
|
+
}).check(
|
|
1881
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1882
|
+
expected: "a string with at most 5000 code points",
|
|
1883
|
+
}),
|
|
1884
|
+
),
|
|
1885
|
+
}),
|
|
1886
|
+
[
|
|
1887
|
+
Schema.Record(
|
|
1888
|
+
Schema.String,
|
|
1889
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1890
|
+
),
|
|
1891
|
+
],
|
|
1892
|
+
).annotate({
|
|
1893
|
+
title: "Source Mandate Notification",
|
|
1894
|
+
description:
|
|
1895
|
+
"Source mandate notifications should be created when a notification related to\na source mandate must be sent to the payer. They will trigger a webhook or\ndeliver an email to the customer.",
|
|
1896
|
+
identifier: "Stripesource_mandate_notification",
|
|
1897
|
+
}),
|
|
1898
|
+
);
|