nomoss 0.0.1 → 0.0.3
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/LICENSE +1 -1
- package/README.md +62 -26
- package/ROADMAP.md +17 -0
- package/docs/README.md +19 -0
- package/docs/application/aws-resource-lifecycle-management.md +57 -0
- package/docs/application/cli-workflow.md +111 -0
- package/docs/application/engine-design.md +43 -0
- package/docs/application/generation-architecture.md +320 -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 +51 -0
- package/docs/application/resource-mapping.md +117 -0
- package/docs/application/resource-operations.md +39 -0
- package/docs/application/resource-outputs.md +66 -0
- package/docs/application/tracing.md +31 -0
- package/docs/development/code-documentation.md +52 -0
- package/docs/development/commit-message-spec.md +9 -0
- package/docs/development/effect-native-development.md +45 -0
- package/docs/development/linting.md +39 -0
- package/docs/development/resource-graph-testing-approach.md +9 -0
- package/docs/development/review-code.md +57 -0
- package/docs/development/review-docs.md +27 -0
- package/docs/development/review-remediation-spec.md +49 -0
- package/docs/development/spec-writing.md +35 -0
- package/docs/development/testing.md +111 -0
- package/docs/development/unslop.md +55 -0
- package/docs/operations/observability-sop.md +38 -0
- package/docs/operations/releasing.md +5 -0
- package/examples/README.md +34 -0
- package/examples/cli.ts +15 -0
- package/examples/commands.ts +66 -0
- package/examples/http-echo/application.ts +87 -0
- package/examples/http-echo/index.ts +54 -0
- package/examples/queue/application.ts +31 -0
- package/examples/state-machine/application.ts +55 -0
- package/examples/stripe-billing/application.ts +56 -0
- package/media/nomoss-http-demo.gif +0 -0
- package/package.json +63 -18
- 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 +68 -0
- package/src/core/resource/resourceGraphBuilder.ts +319 -0
- package/src/core/resource/resourceGraphStore.ts +373 -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/runtime/stackRuntimeLayer.ts +16 -0
- package/src/core/runtime/tracing.ts +43 -0
- package/src/core/stack/planner.ts +654 -0
- package/src/core/stack/resourceDisplay.ts +213 -0
- package/src/core/stack/resourceStackDefinition.ts +32 -0
- package/src/core/stack/resourceStackLifecycle.ts +1196 -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 +75 -0
- package/src/core/{stateSecretService.ts → state/stateSecretService.ts} +183 -193
- package/src/core/state/stateStore.ts +553 -0
- package/src/providers/aws/client/awsClient.ts +418 -0
- package/src/providers/aws/client/awsClientConfig.ts +133 -0
- package/src/providers/aws/client/awsClientModel.ts +119 -0
- package/src/providers/aws/client/awsHttpOperation.ts +153 -0
- package/src/providers/aws/client/awsQueryOperation.ts +149 -0
- package/src/providers/aws/client/awsRequestSigner.ts +115 -0
- package/src/providers/aws/client/awsResponseDecoder.ts +135 -0
- package/src/providers/aws/client/awsRetryPolicy.ts +62 -0
- package/src/providers/aws/client/generated/apiGatewayV2.ts +3025 -0
- package/src/providers/aws/client/generated/cloudControl.ts +5746 -0
- package/src/providers/aws/client/generated/iam.ts +10892 -0
- package/src/providers/aws/client/generated/lambda.ts +5403 -0
- package/src/providers/aws/client/generated/sqs.ts +3769 -0
- package/src/providers/aws/client/generated/stepFunctions.ts +1726 -0
- package/src/providers/aws/client/openapi/cloudControl/CancelResourceRequest.json +579 -0
- package/src/providers/aws/client/openapi/cloudControl/CreateResource.json +1019 -0
- package/src/providers/aws/client/openapi/cloudControl/DeleteResource.json +1018 -0
- package/src/providers/aws/client/openapi/cloudControl/GetResource.json +883 -0
- package/src/providers/aws/client/openapi/cloudControl/GetResourceRequestStatus.json +655 -0
- package/src/providers/aws/client/openapi/cloudControl/ListResourceRequests.json +566 -0
- package/src/providers/aws/client/openapi/cloudControl/ListResources.json +913 -0
- package/src/providers/aws/client/openapi/cloudControl/UpdateResource.json +1027 -0
- package/src/providers/aws/cloudControl/client.ts +69 -0
- package/src/providers/aws/cloudControl/requestTracker.ts +138 -0
- package/src/providers/aws/cloudControl/resourceCommandPolicyLayer.ts +63 -0
- package/src/providers/aws/cloudControl/resourceLifecycle.ts +479 -0
- package/src/providers/aws/cloudControl/resources/generated/certificatemanager/certificate/index.ts +179 -0
- package/src/providers/aws/cloudControl/resources/generated/kms/key/index.ts +362 -0
- package/src/providers/aws/cloudControl/resources/generated/s3/bucket/index.ts +2364 -0
- package/src/providers/aws/cloudControl/resources/generated/sns/topic/index.ts +326 -0
- package/src/providers/aws/cloudControl/resources/generated/sqs/queue/index.ts +307 -0
- package/src/providers/aws/cloudControl/resources/generated/sqs/queueinlinepolicy/index.ts +108 -0
- package/src/providers/aws/cloudControl/runtime.ts +127 -0
- package/src/providers/aws/management/resourceConfiguration.ts +121 -0
- package/src/providers/aws/management/resourceMapping.ts +343 -0
- package/src/providers/aws/management/resourceOperation.ts +57 -0
- package/src/providers/aws/management/resourcePolicy.ts +549 -0
- package/src/providers/aws/management/resourceRegistration.ts +294 -0
- package/src/providers/aws/resources/apiGatewayV2/httpApi.ts +327 -0
- package/src/providers/aws/resources/generated/native/apigatewayv2/api/index.ts +565 -0
- package/src/providers/aws/resources/generated/native/apigatewayv2/integration/index.ts +583 -0
- package/src/providers/aws/resources/generated/native/apigatewayv2/route/index.ts +438 -0
- package/src/providers/aws/resources/generated/native/apigatewayv2/stage/index.ts +391 -0
- package/src/providers/aws/resources/generated/native/iam/group/index.ts +319 -0
- package/src/providers/aws/resources/generated/native/iam/grouppolicy/index.ts +274 -0
- package/src/providers/aws/resources/generated/native/iam/instanceprofile/index.ts +277 -0
- package/src/providers/aws/resources/generated/native/iam/managedpolicy/index.ts +600 -0
- package/src/providers/aws/resources/generated/native/iam/policy/index.ts +279 -0
- package/src/providers/aws/resources/generated/native/iam/role/index.ts +478 -0
- package/src/providers/aws/resources/generated/native/iam/rolepolicy/index.ts +272 -0
- package/src/providers/aws/resources/generated/native/iam/user/index.ts +460 -0
- package/src/providers/aws/resources/generated/native/iam/userpolicy/index.ts +272 -0
- package/src/providers/aws/resources/generated/native/iam/usertogroupaddition/index.ts +226 -0
- package/src/providers/aws/resources/generated/native/kms/key/index.ts +580 -0
- package/src/providers/aws/resources/generated/native/lambda/function/index.ts +1974 -0
- package/src/providers/aws/resources/generated/native/lambda/permission/index.ts +955 -0
- package/src/providers/aws/resources/generated/native/resourceCommands.ts +152 -0
- package/src/providers/aws/resources/generated/native/s3/bucket/index.ts +3415 -0
- package/src/providers/aws/resources/generated/native/sns/topic/index.ts +551 -0
- package/src/providers/aws/resources/generated/native/sqs/queue/index.ts +500 -0
- package/src/providers/aws/resources/generated/native/stepfunctions/statemachine/index.ts +763 -0
- package/src/providers/aws/resources/iam/grant.ts +150 -0
- package/src/providers/aws/resources/iam/grantCommands.ts +283 -0
- package/src/providers/aws/resources/iam/policyDocument.ts +30 -0
- package/src/providers/aws/resources/iam/policyStatement.ts +59 -0
- package/src/providers/aws/resources/iam/role.ts +426 -0
- package/src/providers/aws/resources/iam/roleDeclaration.ts +105 -0
- package/src/providers/aws/resources/lambda/function.ts +403 -0
- package/src/providers/aws/resources/lambda/functionDeclaration.ts +234 -0
- package/src/providers/aws/resources/lambda/permission.ts +363 -0
- package/src/providers/aws/resources/stepFunctions/stateMachine.ts +95 -0
- package/src/providers/aws/runtime.ts +70 -0
- package/src/providers/file/jsonFile.ts +94 -0
- package/src/providers/file/model.ts +29 -0
- package/src/providers/file/resourcePolicy.ts +270 -0
- package/src/providers/index.ts +0 -2
- package/src/providers/providerRuntimeLayer.ts +24 -113
- package/src/providers/resourceCommandPolicyLayer.ts +77 -206
- 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 +489 -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,1684 @@
|
|
|
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 { Stripepayment_method_details_card_installments_plan } from "./paymentMethodDetails.js";
|
|
6
|
+
import { Stripepayment_flows_private_payment_methods_billie_payment_method_options_resource_company_details } from "./payments.js";
|
|
7
|
+
|
|
8
|
+
export type Stripepayment_method_options_card_present_routing = {
|
|
9
|
+
readonly requested_priority?: "domestic" | "international" | null;
|
|
10
|
+
} & { readonly [x: string]: Schema.Json };
|
|
11
|
+
export type Stripepayment_method_options_affirm = {
|
|
12
|
+
readonly capture_method?: "manual";
|
|
13
|
+
readonly preferred_locale?: string;
|
|
14
|
+
readonly setup_future_usage?: "none";
|
|
15
|
+
} & { readonly [x: string]: Schema.Json };
|
|
16
|
+
export type Stripepayment_method_options_afterpay_clearpay = {
|
|
17
|
+
readonly capture_method?: "manual";
|
|
18
|
+
readonly reference?: string | null;
|
|
19
|
+
readonly setup_future_usage?: "none";
|
|
20
|
+
} & { readonly [x: string]: Schema.Json };
|
|
21
|
+
export type Stripepayment_method_options_alipay = {
|
|
22
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
23
|
+
} & { readonly [x: string]: Schema.Json };
|
|
24
|
+
export type Stripepayment_method_options_alma = {
|
|
25
|
+
readonly capture_method?: "manual";
|
|
26
|
+
} & { readonly [x: string]: Schema.Json };
|
|
27
|
+
export type Stripepayment_method_options_amazon_pay = {
|
|
28
|
+
readonly capture_method?: "manual";
|
|
29
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
30
|
+
} & { readonly [x: string]: Schema.Json };
|
|
31
|
+
export type Stripepayment_method_options_bancontact = {
|
|
32
|
+
readonly preferred_language: "de" | "en" | "fr" | "nl";
|
|
33
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
34
|
+
} & { readonly [x: string]: Schema.Json };
|
|
35
|
+
export type Stripepayment_method_options_bizum = {
|
|
36
|
+
readonly [x: string]: Schema.Json;
|
|
37
|
+
};
|
|
38
|
+
export type Stripepayment_method_options_boleto = {
|
|
39
|
+
readonly expires_after_days: number;
|
|
40
|
+
readonly setup_future_usage?: "none" | "off_session" | "on_session";
|
|
41
|
+
} & { readonly [x: string]: Schema.Json };
|
|
42
|
+
export type Stripepayment_method_options_card_mandate_options = {
|
|
43
|
+
readonly amount: number;
|
|
44
|
+
readonly amount_type: "fixed" | "maximum";
|
|
45
|
+
readonly description?: string | null;
|
|
46
|
+
readonly end_date?: number | null;
|
|
47
|
+
readonly interval: "day" | "month" | "sporadic" | "week" | "year";
|
|
48
|
+
readonly interval_count?: number | null;
|
|
49
|
+
readonly reference: string;
|
|
50
|
+
readonly start_date: number;
|
|
51
|
+
readonly supported_types?: ReadonlyArray<"india"> | null;
|
|
52
|
+
} & { readonly [x: string]: Schema.Json };
|
|
53
|
+
export type Stripepayment_method_options_cashapp = {
|
|
54
|
+
readonly capture_method?: "manual";
|
|
55
|
+
readonly setup_future_usage?: "none" | "off_session" | "on_session";
|
|
56
|
+
} & { readonly [x: string]: Schema.Json };
|
|
57
|
+
export type Stripepayment_method_options_crypto = {
|
|
58
|
+
readonly setup_future_usage?: "none";
|
|
59
|
+
} & { readonly [x: string]: Schema.Json };
|
|
60
|
+
export type Stripepayment_method_options_customer_balance_eu_bank_account = {
|
|
61
|
+
readonly country: "BE" | "DE" | "ES" | "FR" | "IE" | "NL";
|
|
62
|
+
} & { readonly [x: string]: Schema.Json };
|
|
63
|
+
export type Stripepayment_method_options_fpx = {
|
|
64
|
+
readonly setup_future_usage?: "none";
|
|
65
|
+
} & { readonly [x: string]: Schema.Json };
|
|
66
|
+
export type Stripepayment_method_options_giropay = {
|
|
67
|
+
readonly setup_future_usage?: "none";
|
|
68
|
+
} & { readonly [x: string]: Schema.Json };
|
|
69
|
+
export type Stripepayment_method_options_grabpay = {
|
|
70
|
+
readonly setup_future_usage?: "none";
|
|
71
|
+
} & { readonly [x: string]: Schema.Json };
|
|
72
|
+
export type Stripepayment_method_options_ideal = {
|
|
73
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
74
|
+
} & { readonly [x: string]: Schema.Json };
|
|
75
|
+
export type Stripepayment_method_options_interac_present = {
|
|
76
|
+
readonly [x: string]: Schema.Json;
|
|
77
|
+
};
|
|
78
|
+
export type Stripepayment_method_options_klarna = {
|
|
79
|
+
readonly capture_method?: "manual";
|
|
80
|
+
readonly preferred_locale?: string | null;
|
|
81
|
+
readonly setup_future_usage?: "none" | "off_session" | "on_session";
|
|
82
|
+
} & { readonly [x: string]: Schema.Json };
|
|
83
|
+
export type Stripepayment_method_options_konbini = {
|
|
84
|
+
readonly confirmation_number?: string | null;
|
|
85
|
+
readonly expires_after_days?: number | null;
|
|
86
|
+
readonly expires_at?: number | null;
|
|
87
|
+
readonly product_description?: string | null;
|
|
88
|
+
readonly setup_future_usage?: "none";
|
|
89
|
+
} & { readonly [x: string]: Schema.Json };
|
|
90
|
+
export type Stripepayment_method_options_kr_card = {
|
|
91
|
+
readonly capture_method?: "manual";
|
|
92
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
93
|
+
} & { readonly [x: string]: Schema.Json };
|
|
94
|
+
export type Stripepayment_method_options_mb_way = {
|
|
95
|
+
readonly setup_future_usage?: "none";
|
|
96
|
+
} & { readonly [x: string]: Schema.Json };
|
|
97
|
+
export type Stripepayment_method_options_multibanco = {
|
|
98
|
+
readonly setup_future_usage?: "none";
|
|
99
|
+
} & { readonly [x: string]: Schema.Json };
|
|
100
|
+
export type Stripepayment_method_options_oxxo = {
|
|
101
|
+
readonly expires_after_days: number;
|
|
102
|
+
readonly setup_future_usage?: "none";
|
|
103
|
+
} & { readonly [x: string]: Schema.Json };
|
|
104
|
+
export type Stripepayment_method_options_p24 = {
|
|
105
|
+
readonly setup_future_usage?: "none";
|
|
106
|
+
} & { readonly [x: string]: Schema.Json };
|
|
107
|
+
export type Stripepayment_method_options_pay_by_bank = {
|
|
108
|
+
readonly [x: string]: Schema.Json;
|
|
109
|
+
};
|
|
110
|
+
export type Stripepayment_method_options_paynow = {
|
|
111
|
+
readonly setup_future_usage?: "none";
|
|
112
|
+
} & { readonly [x: string]: Schema.Json };
|
|
113
|
+
export type Stripepayment_method_options_paypal = {
|
|
114
|
+
readonly capture_method?: "manual";
|
|
115
|
+
readonly preferred_locale?: string | null;
|
|
116
|
+
readonly reference?: string | null;
|
|
117
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
118
|
+
} & { readonly [x: string]: Schema.Json };
|
|
119
|
+
export type Stripepayment_method_options_paypay = {
|
|
120
|
+
readonly [x: string]: Schema.Json;
|
|
121
|
+
};
|
|
122
|
+
export type Stripepayment_method_options_mandate_options_pix = {
|
|
123
|
+
readonly amount?: number;
|
|
124
|
+
readonly amount_includes_iof?: "always" | "never";
|
|
125
|
+
readonly amount_type?: "fixed" | "maximum";
|
|
126
|
+
readonly currency?: string;
|
|
127
|
+
readonly end_date?: string;
|
|
128
|
+
readonly payment_schedule?:
|
|
129
|
+
| "halfyearly"
|
|
130
|
+
| "monthly"
|
|
131
|
+
| "quarterly"
|
|
132
|
+
| "weekly"
|
|
133
|
+
| "yearly";
|
|
134
|
+
readonly reference?: string;
|
|
135
|
+
readonly start_date?: string;
|
|
136
|
+
} & { readonly [x: string]: Schema.Json };
|
|
137
|
+
export type Stripepayment_method_options_promptpay = {
|
|
138
|
+
readonly setup_future_usage?: "none";
|
|
139
|
+
} & { readonly [x: string]: Schema.Json };
|
|
140
|
+
export type Stripepayment_method_options_revolut_pay = {
|
|
141
|
+
readonly capture_method?: "manual";
|
|
142
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
143
|
+
} & { readonly [x: string]: Schema.Json };
|
|
144
|
+
export type Stripepayment_method_options_satispay = {
|
|
145
|
+
readonly capture_method?: "manual";
|
|
146
|
+
readonly setup_future_usage?: "none" | "off_session" | "on_session";
|
|
147
|
+
} & { readonly [x: string]: Schema.Json };
|
|
148
|
+
export type Stripepayment_method_options_scalapay = {
|
|
149
|
+
readonly capture_method?: "manual";
|
|
150
|
+
} & { readonly [x: string]: Schema.Json };
|
|
151
|
+
export type Stripepayment_method_options_sequra = {
|
|
152
|
+
readonly capture_method?: "manual";
|
|
153
|
+
readonly setup_future_usage?: "none";
|
|
154
|
+
} & { readonly [x: string]: Schema.Json };
|
|
155
|
+
export type Stripepayment_method_options_sofort = {
|
|
156
|
+
readonly preferred_language?:
|
|
157
|
+
| "de"
|
|
158
|
+
| "en"
|
|
159
|
+
| "es"
|
|
160
|
+
| "fr"
|
|
161
|
+
| "it"
|
|
162
|
+
| "nl"
|
|
163
|
+
| "pl"
|
|
164
|
+
| null;
|
|
165
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
166
|
+
} & { readonly [x: string]: Schema.Json };
|
|
167
|
+
export type Stripepayment_method_options_sunbit = {
|
|
168
|
+
readonly capture_method?: "manual";
|
|
169
|
+
readonly setup_future_usage?: "none";
|
|
170
|
+
} & { readonly [x: string]: Schema.Json };
|
|
171
|
+
export type Stripepayment_method_options_twint = {
|
|
172
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
173
|
+
} & { readonly [x: string]: Schema.Json };
|
|
174
|
+
export type Stripepayment_method_options_upi = {
|
|
175
|
+
readonly setup_future_usage?: "off_session" | "on_session";
|
|
176
|
+
} & { readonly [x: string]: Schema.Json };
|
|
177
|
+
export type Stripepayment_method_options_us_bank_account_mandate_options = {
|
|
178
|
+
readonly collection_method?: "paper";
|
|
179
|
+
} & { readonly [x: string]: Schema.Json };
|
|
180
|
+
export type Stripepayment_method_options_wechat_pay = {
|
|
181
|
+
readonly app_id?: string | null;
|
|
182
|
+
readonly client?: "android" | "ios" | "web" | null;
|
|
183
|
+
readonly setup_future_usage?: "none";
|
|
184
|
+
} & { readonly [x: string]: Schema.Json };
|
|
185
|
+
export type Stripepayment_method_options_zip = {
|
|
186
|
+
readonly setup_future_usage?: "none";
|
|
187
|
+
} & { readonly [x: string]: Schema.Json };
|
|
188
|
+
export type Stripepayment_method_options_mandate_options_upi = {
|
|
189
|
+
readonly amount?: number | null;
|
|
190
|
+
readonly amount_type?: "fixed" | "maximum" | null;
|
|
191
|
+
readonly description?: string | null;
|
|
192
|
+
readonly end_date?: number | null;
|
|
193
|
+
} & { readonly [x: string]: Schema.Json };
|
|
194
|
+
export type Stripepayment_method_options_card_installments = {
|
|
195
|
+
readonly available_plans?: ReadonlyArray<Stripepayment_method_details_card_installments_plan> | null;
|
|
196
|
+
readonly enabled: boolean;
|
|
197
|
+
readonly plan?: Stripepayment_method_details_card_installments_plan | null;
|
|
198
|
+
} & { readonly [x: string]: Schema.Json };
|
|
199
|
+
export type Stripepayment_method_options_card_present = {
|
|
200
|
+
readonly capture_method?: "manual" | "manual_preferred";
|
|
201
|
+
readonly request_extended_authorization?: boolean | null;
|
|
202
|
+
readonly request_incremental_authorization_support?: boolean | null;
|
|
203
|
+
readonly routing?: Stripepayment_method_options_card_present_routing;
|
|
204
|
+
} & { readonly [x: string]: Schema.Json };
|
|
205
|
+
export type Stripepayment_method_options_customer_balance_bank_transfer = {
|
|
206
|
+
readonly eu_bank_transfer?: Stripepayment_method_options_customer_balance_eu_bank_account;
|
|
207
|
+
readonly requested_address_types?: ReadonlyArray<
|
|
208
|
+
"aba" | "iban" | "sepa" | "sort_code" | "spei" | "swift" | "zengin"
|
|
209
|
+
>;
|
|
210
|
+
readonly type?:
|
|
211
|
+
| "eu_bank_transfer"
|
|
212
|
+
| "gb_bank_transfer"
|
|
213
|
+
| "jp_bank_transfer"
|
|
214
|
+
| "mx_bank_transfer"
|
|
215
|
+
| "us_bank_transfer"
|
|
216
|
+
| null;
|
|
217
|
+
} & { readonly [x: string]: Schema.Json };
|
|
218
|
+
export type Stripepayment_method_options_pix = {
|
|
219
|
+
readonly amount_includes_iof?: "always" | "never";
|
|
220
|
+
readonly expires_after_seconds?: number | null;
|
|
221
|
+
readonly expires_at?: number | null;
|
|
222
|
+
readonly mandate_options?: Stripepayment_method_options_mandate_options_pix;
|
|
223
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
224
|
+
} & { readonly [x: string]: Schema.Json };
|
|
225
|
+
export type Stripepayment_method_options_billie = {
|
|
226
|
+
readonly capture_method?: "manual";
|
|
227
|
+
readonly company_details?: Stripepayment_flows_private_payment_methods_billie_payment_method_options_resource_company_details;
|
|
228
|
+
readonly reference?: string | null;
|
|
229
|
+
} & { readonly [x: string]: Schema.Json };
|
|
230
|
+
export type Stripepayment_method_options_customer_balance = {
|
|
231
|
+
readonly bank_transfer?: Stripepayment_method_options_customer_balance_bank_transfer;
|
|
232
|
+
readonly funding_type?: "bank_transfer" | null;
|
|
233
|
+
readonly setup_future_usage?: "none";
|
|
234
|
+
} & { readonly [x: string]: Schema.Json };
|
|
235
|
+
|
|
236
|
+
export const Stripepayment_method_options_card_present_routing =
|
|
237
|
+
Schema.StructWithRest(
|
|
238
|
+
Schema.Struct({
|
|
239
|
+
requested_priority: Schema.optionalKey(
|
|
240
|
+
Schema.Union([
|
|
241
|
+
Schema.Literals(["domestic", "international"]).annotate({
|
|
242
|
+
description: "Requested routing priority",
|
|
243
|
+
}),
|
|
244
|
+
Schema.Null,
|
|
245
|
+
]),
|
|
246
|
+
),
|
|
247
|
+
}),
|
|
248
|
+
[
|
|
249
|
+
Schema.Record(
|
|
250
|
+
Schema.String,
|
|
251
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
252
|
+
),
|
|
253
|
+
],
|
|
254
|
+
).annotate({
|
|
255
|
+
title: "payment_method_options_card_present_routing",
|
|
256
|
+
description: "",
|
|
257
|
+
identifier: "Stripepayment_method_options_card_present_routing",
|
|
258
|
+
});
|
|
259
|
+
export const Stripepayment_method_options_affirm = Schema.StructWithRest(
|
|
260
|
+
Schema.Struct({
|
|
261
|
+
capture_method: Schema.optionalKey(
|
|
262
|
+
Schema.Literal("manual").annotate({
|
|
263
|
+
description:
|
|
264
|
+
"Controls when the funds will be captured from the customer's account.",
|
|
265
|
+
}),
|
|
266
|
+
),
|
|
267
|
+
preferred_locale: Schema.optionalKey(
|
|
268
|
+
Schema.String.annotate({
|
|
269
|
+
description:
|
|
270
|
+
"Preferred language of the Affirm authorization page that the customer is redirected to.",
|
|
271
|
+
}).check(
|
|
272
|
+
Schema.isMaxCodePoints(30).annotate({
|
|
273
|
+
expected: "a string with at most 30 code points",
|
|
274
|
+
}),
|
|
275
|
+
),
|
|
276
|
+
),
|
|
277
|
+
setup_future_usage: Schema.optionalKey(
|
|
278
|
+
Schema.Literal("none").annotate({
|
|
279
|
+
description:
|
|
280
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
281
|
+
}),
|
|
282
|
+
),
|
|
283
|
+
}),
|
|
284
|
+
[
|
|
285
|
+
Schema.Record(
|
|
286
|
+
Schema.String,
|
|
287
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
288
|
+
),
|
|
289
|
+
],
|
|
290
|
+
).annotate({
|
|
291
|
+
title: "payment_method_options_affirm",
|
|
292
|
+
description: "",
|
|
293
|
+
identifier: "Stripepayment_method_options_affirm",
|
|
294
|
+
});
|
|
295
|
+
export const Stripepayment_method_options_afterpay_clearpay =
|
|
296
|
+
Schema.StructWithRest(
|
|
297
|
+
Schema.Struct({
|
|
298
|
+
capture_method: Schema.optionalKey(
|
|
299
|
+
Schema.Literal("manual").annotate({
|
|
300
|
+
description:
|
|
301
|
+
"Controls when the funds will be captured from the customer's account.",
|
|
302
|
+
}),
|
|
303
|
+
),
|
|
304
|
+
reference: Schema.optionalKey(
|
|
305
|
+
Schema.Union([
|
|
306
|
+
Schema.String.annotate({
|
|
307
|
+
description:
|
|
308
|
+
"An internal identifier or reference that this payment corresponds to. You must limit the identifier to 128 characters, and it can only contain letters, numbers, underscores, backslashes, and dashes.\nThis field differs from the statement descriptor and item name.",
|
|
309
|
+
}).check(
|
|
310
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
311
|
+
expected: "a string with at most 5000 code points",
|
|
312
|
+
}),
|
|
313
|
+
),
|
|
314
|
+
Schema.Null,
|
|
315
|
+
]),
|
|
316
|
+
),
|
|
317
|
+
setup_future_usage: Schema.optionalKey(
|
|
318
|
+
Schema.Literal("none").annotate({
|
|
319
|
+
description:
|
|
320
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
321
|
+
}),
|
|
322
|
+
),
|
|
323
|
+
}),
|
|
324
|
+
[
|
|
325
|
+
Schema.Record(
|
|
326
|
+
Schema.String,
|
|
327
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
328
|
+
),
|
|
329
|
+
],
|
|
330
|
+
).annotate({
|
|
331
|
+
title: "payment_method_options_afterpay_clearpay",
|
|
332
|
+
description: "",
|
|
333
|
+
identifier: "Stripepayment_method_options_afterpay_clearpay",
|
|
334
|
+
});
|
|
335
|
+
export const Stripepayment_method_options_alipay = Schema.StructWithRest(
|
|
336
|
+
Schema.Struct({
|
|
337
|
+
setup_future_usage: Schema.optionalKey(
|
|
338
|
+
Schema.Literals(["none", "off_session"]).annotate({
|
|
339
|
+
description:
|
|
340
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
341
|
+
}),
|
|
342
|
+
),
|
|
343
|
+
}),
|
|
344
|
+
[
|
|
345
|
+
Schema.Record(
|
|
346
|
+
Schema.String,
|
|
347
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
348
|
+
),
|
|
349
|
+
],
|
|
350
|
+
).annotate({
|
|
351
|
+
title: "payment_method_options_alipay",
|
|
352
|
+
description: "",
|
|
353
|
+
identifier: "Stripepayment_method_options_alipay",
|
|
354
|
+
});
|
|
355
|
+
export const Stripepayment_method_options_alma = Schema.StructWithRest(
|
|
356
|
+
Schema.Struct({
|
|
357
|
+
capture_method: Schema.optionalKey(
|
|
358
|
+
Schema.Literal("manual").annotate({
|
|
359
|
+
description:
|
|
360
|
+
"Controls when the funds will be captured from the customer's account.",
|
|
361
|
+
}),
|
|
362
|
+
),
|
|
363
|
+
}),
|
|
364
|
+
[
|
|
365
|
+
Schema.Record(
|
|
366
|
+
Schema.String,
|
|
367
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
368
|
+
),
|
|
369
|
+
],
|
|
370
|
+
).annotate({
|
|
371
|
+
title: "payment_method_options_alma",
|
|
372
|
+
description: "",
|
|
373
|
+
identifier: "Stripepayment_method_options_alma",
|
|
374
|
+
});
|
|
375
|
+
export const Stripepayment_method_options_amazon_pay = Schema.StructWithRest(
|
|
376
|
+
Schema.Struct({
|
|
377
|
+
capture_method: Schema.optionalKey(
|
|
378
|
+
Schema.Literal("manual").annotate({
|
|
379
|
+
description:
|
|
380
|
+
"Controls when the funds will be captured from the customer's account.",
|
|
381
|
+
}),
|
|
382
|
+
),
|
|
383
|
+
setup_future_usage: Schema.optionalKey(
|
|
384
|
+
Schema.Literals(["none", "off_session"]).annotate({
|
|
385
|
+
description:
|
|
386
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
387
|
+
}),
|
|
388
|
+
),
|
|
389
|
+
}),
|
|
390
|
+
[
|
|
391
|
+
Schema.Record(
|
|
392
|
+
Schema.String,
|
|
393
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
394
|
+
),
|
|
395
|
+
],
|
|
396
|
+
).annotate({
|
|
397
|
+
title: "payment_method_options_amazon_pay",
|
|
398
|
+
description: "",
|
|
399
|
+
identifier: "Stripepayment_method_options_amazon_pay",
|
|
400
|
+
});
|
|
401
|
+
export const Stripepayment_method_options_bancontact = Schema.StructWithRest(
|
|
402
|
+
Schema.Struct({
|
|
403
|
+
preferred_language: Schema.Literals(["de", "en", "fr", "nl"]).annotate({
|
|
404
|
+
description:
|
|
405
|
+
"Preferred language of the Bancontact authorization page that the customer is redirected to.",
|
|
406
|
+
}),
|
|
407
|
+
setup_future_usage: Schema.optionalKey(
|
|
408
|
+
Schema.Literals(["none", "off_session"]).annotate({
|
|
409
|
+
description:
|
|
410
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
411
|
+
}),
|
|
412
|
+
),
|
|
413
|
+
}),
|
|
414
|
+
[
|
|
415
|
+
Schema.Record(
|
|
416
|
+
Schema.String,
|
|
417
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
418
|
+
),
|
|
419
|
+
],
|
|
420
|
+
).annotate({
|
|
421
|
+
title: "payment_method_options_bancontact",
|
|
422
|
+
description: "",
|
|
423
|
+
identifier: "Stripepayment_method_options_bancontact",
|
|
424
|
+
});
|
|
425
|
+
export const Stripepayment_method_options_bizum = Schema.Record(
|
|
426
|
+
Schema.String,
|
|
427
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
428
|
+
).annotate({
|
|
429
|
+
title: "payment_method_options_bizum",
|
|
430
|
+
description: "",
|
|
431
|
+
identifier: "Stripepayment_method_options_bizum",
|
|
432
|
+
});
|
|
433
|
+
export const Stripepayment_method_options_boleto = Schema.StructWithRest(
|
|
434
|
+
Schema.Struct({
|
|
435
|
+
expires_after_days: Schema.Number.annotate({
|
|
436
|
+
description:
|
|
437
|
+
"The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto voucher will expire on Wednesday at 23:59 America/Sao_Paulo time.",
|
|
438
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
439
|
+
setup_future_usage: Schema.optionalKey(
|
|
440
|
+
Schema.Literals(["none", "off_session", "on_session"]).annotate({
|
|
441
|
+
description:
|
|
442
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
443
|
+
}),
|
|
444
|
+
),
|
|
445
|
+
}),
|
|
446
|
+
[
|
|
447
|
+
Schema.Record(
|
|
448
|
+
Schema.String,
|
|
449
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
450
|
+
),
|
|
451
|
+
],
|
|
452
|
+
).annotate({
|
|
453
|
+
title: "payment_method_options_boleto",
|
|
454
|
+
description: "",
|
|
455
|
+
identifier: "Stripepayment_method_options_boleto",
|
|
456
|
+
});
|
|
457
|
+
export const Stripepayment_method_options_card_mandate_options =
|
|
458
|
+
Schema.StructWithRest(
|
|
459
|
+
Schema.Struct({
|
|
460
|
+
amount: Schema.Number.annotate({
|
|
461
|
+
description:
|
|
462
|
+
"Amount to be charged for future payments, specified in the presentment currency.",
|
|
463
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
464
|
+
amount_type: Schema.Literals(["fixed", "maximum"]).annotate({
|
|
465
|
+
description:
|
|
466
|
+
"One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.",
|
|
467
|
+
}),
|
|
468
|
+
description: Schema.optionalKey(
|
|
469
|
+
Schema.Union([
|
|
470
|
+
Schema.String.annotate({
|
|
471
|
+
description:
|
|
472
|
+
"A description of the mandate or subscription that is meant to be displayed to the customer.",
|
|
473
|
+
}).check(
|
|
474
|
+
Schema.isMaxCodePoints(200).annotate({
|
|
475
|
+
expected: "a string with at most 200 code points",
|
|
476
|
+
}),
|
|
477
|
+
),
|
|
478
|
+
Schema.Null,
|
|
479
|
+
]),
|
|
480
|
+
),
|
|
481
|
+
end_date: Schema.optionalKey(
|
|
482
|
+
Schema.Union([
|
|
483
|
+
Schema.Number.annotate({
|
|
484
|
+
description:
|
|
485
|
+
"End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.",
|
|
486
|
+
format: "unix-time",
|
|
487
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
488
|
+
Schema.Null,
|
|
489
|
+
]),
|
|
490
|
+
),
|
|
491
|
+
interval: Schema.Literals([
|
|
492
|
+
"day",
|
|
493
|
+
"month",
|
|
494
|
+
"sporadic",
|
|
495
|
+
"week",
|
|
496
|
+
"year",
|
|
497
|
+
]).annotate({
|
|
498
|
+
description:
|
|
499
|
+
"Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.",
|
|
500
|
+
}),
|
|
501
|
+
interval_count: Schema.optionalKey(
|
|
502
|
+
Schema.Union([
|
|
503
|
+
Schema.Number.annotate({
|
|
504
|
+
description:
|
|
505
|
+
"The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.",
|
|
506
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
507
|
+
Schema.Null,
|
|
508
|
+
]),
|
|
509
|
+
),
|
|
510
|
+
reference: Schema.String.annotate({
|
|
511
|
+
description: "Unique identifier for the mandate or subscription.",
|
|
512
|
+
}).check(
|
|
513
|
+
Schema.isMaxCodePoints(80).annotate({
|
|
514
|
+
expected: "a string with at most 80 code points",
|
|
515
|
+
}),
|
|
516
|
+
),
|
|
517
|
+
start_date: Schema.Number.annotate({
|
|
518
|
+
description:
|
|
519
|
+
"Start date of the mandate or subscription. Start date should not be lesser than yesterday.",
|
|
520
|
+
format: "unix-time",
|
|
521
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
522
|
+
supported_types: Schema.optionalKey(
|
|
523
|
+
Schema.Union([
|
|
524
|
+
Schema.Array(Schema.Literal("india")).annotate({
|
|
525
|
+
description:
|
|
526
|
+
"Specifies the type of mandates supported. Possible values are `india`.",
|
|
527
|
+
}),
|
|
528
|
+
Schema.Null,
|
|
529
|
+
]),
|
|
530
|
+
),
|
|
531
|
+
}),
|
|
532
|
+
[
|
|
533
|
+
Schema.Record(
|
|
534
|
+
Schema.String,
|
|
535
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
536
|
+
),
|
|
537
|
+
],
|
|
538
|
+
).annotate({
|
|
539
|
+
title: "payment_method_options_card_mandate_options",
|
|
540
|
+
description: "",
|
|
541
|
+
identifier: "Stripepayment_method_options_card_mandate_options",
|
|
542
|
+
});
|
|
543
|
+
export const Stripepayment_method_options_cashapp = Schema.StructWithRest(
|
|
544
|
+
Schema.Struct({
|
|
545
|
+
capture_method: Schema.optionalKey(
|
|
546
|
+
Schema.Literal("manual").annotate({
|
|
547
|
+
description:
|
|
548
|
+
"Controls when the funds will be captured from the customer's account.",
|
|
549
|
+
}),
|
|
550
|
+
),
|
|
551
|
+
setup_future_usage: Schema.optionalKey(
|
|
552
|
+
Schema.Literals(["none", "off_session", "on_session"]).annotate({
|
|
553
|
+
description:
|
|
554
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
555
|
+
}),
|
|
556
|
+
),
|
|
557
|
+
}),
|
|
558
|
+
[
|
|
559
|
+
Schema.Record(
|
|
560
|
+
Schema.String,
|
|
561
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
562
|
+
),
|
|
563
|
+
],
|
|
564
|
+
).annotate({
|
|
565
|
+
title: "payment_method_options_cashapp",
|
|
566
|
+
description: "",
|
|
567
|
+
identifier: "Stripepayment_method_options_cashapp",
|
|
568
|
+
});
|
|
569
|
+
export const Stripepayment_method_options_crypto = Schema.StructWithRest(
|
|
570
|
+
Schema.Struct({
|
|
571
|
+
setup_future_usage: Schema.optionalKey(
|
|
572
|
+
Schema.Literal("none").annotate({
|
|
573
|
+
description:
|
|
574
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
575
|
+
}),
|
|
576
|
+
),
|
|
577
|
+
}),
|
|
578
|
+
[
|
|
579
|
+
Schema.Record(
|
|
580
|
+
Schema.String,
|
|
581
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
582
|
+
),
|
|
583
|
+
],
|
|
584
|
+
).annotate({
|
|
585
|
+
title: "payment_method_options_crypto",
|
|
586
|
+
description: "",
|
|
587
|
+
identifier: "Stripepayment_method_options_crypto",
|
|
588
|
+
});
|
|
589
|
+
export const Stripepayment_method_options_customer_balance_eu_bank_account =
|
|
590
|
+
Schema.StructWithRest(
|
|
591
|
+
Schema.Struct({
|
|
592
|
+
country: Schema.Literals(["BE", "DE", "ES", "FR", "IE", "NL"]).annotate({
|
|
593
|
+
description:
|
|
594
|
+
"The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`.",
|
|
595
|
+
}),
|
|
596
|
+
}),
|
|
597
|
+
[
|
|
598
|
+
Schema.Record(
|
|
599
|
+
Schema.String,
|
|
600
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
601
|
+
),
|
|
602
|
+
],
|
|
603
|
+
).annotate({
|
|
604
|
+
title: "payment_method_options_customer_balance_eu_bank_account",
|
|
605
|
+
description: "",
|
|
606
|
+
identifier: "Stripepayment_method_options_customer_balance_eu_bank_account",
|
|
607
|
+
});
|
|
608
|
+
export const Stripepayment_method_options_fpx = Schema.StructWithRest(
|
|
609
|
+
Schema.Struct({
|
|
610
|
+
setup_future_usage: Schema.optionalKey(
|
|
611
|
+
Schema.Literal("none").annotate({
|
|
612
|
+
description:
|
|
613
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
614
|
+
}),
|
|
615
|
+
),
|
|
616
|
+
}),
|
|
617
|
+
[
|
|
618
|
+
Schema.Record(
|
|
619
|
+
Schema.String,
|
|
620
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
621
|
+
),
|
|
622
|
+
],
|
|
623
|
+
).annotate({
|
|
624
|
+
title: "payment_method_options_fpx",
|
|
625
|
+
description: "",
|
|
626
|
+
identifier: "Stripepayment_method_options_fpx",
|
|
627
|
+
});
|
|
628
|
+
export const Stripepayment_method_options_giropay = Schema.StructWithRest(
|
|
629
|
+
Schema.Struct({
|
|
630
|
+
setup_future_usage: Schema.optionalKey(
|
|
631
|
+
Schema.Literal("none").annotate({
|
|
632
|
+
description:
|
|
633
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
634
|
+
}),
|
|
635
|
+
),
|
|
636
|
+
}),
|
|
637
|
+
[
|
|
638
|
+
Schema.Record(
|
|
639
|
+
Schema.String,
|
|
640
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
641
|
+
),
|
|
642
|
+
],
|
|
643
|
+
).annotate({
|
|
644
|
+
title: "payment_method_options_giropay",
|
|
645
|
+
description: "",
|
|
646
|
+
identifier: "Stripepayment_method_options_giropay",
|
|
647
|
+
});
|
|
648
|
+
export const Stripepayment_method_options_grabpay = Schema.StructWithRest(
|
|
649
|
+
Schema.Struct({
|
|
650
|
+
setup_future_usage: Schema.optionalKey(
|
|
651
|
+
Schema.Literal("none").annotate({
|
|
652
|
+
description:
|
|
653
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
654
|
+
}),
|
|
655
|
+
),
|
|
656
|
+
}),
|
|
657
|
+
[
|
|
658
|
+
Schema.Record(
|
|
659
|
+
Schema.String,
|
|
660
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
661
|
+
),
|
|
662
|
+
],
|
|
663
|
+
).annotate({
|
|
664
|
+
title: "payment_method_options_grabpay",
|
|
665
|
+
description: "",
|
|
666
|
+
identifier: "Stripepayment_method_options_grabpay",
|
|
667
|
+
});
|
|
668
|
+
export const Stripepayment_method_options_ideal = Schema.StructWithRest(
|
|
669
|
+
Schema.Struct({
|
|
670
|
+
setup_future_usage: Schema.optionalKey(
|
|
671
|
+
Schema.Literals(["none", "off_session"]).annotate({
|
|
672
|
+
description:
|
|
673
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
674
|
+
}),
|
|
675
|
+
),
|
|
676
|
+
}),
|
|
677
|
+
[
|
|
678
|
+
Schema.Record(
|
|
679
|
+
Schema.String,
|
|
680
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
681
|
+
),
|
|
682
|
+
],
|
|
683
|
+
).annotate({
|
|
684
|
+
title: "payment_method_options_ideal",
|
|
685
|
+
description: "",
|
|
686
|
+
identifier: "Stripepayment_method_options_ideal",
|
|
687
|
+
});
|
|
688
|
+
export const Stripepayment_method_options_interac_present = Schema.Record(
|
|
689
|
+
Schema.String,
|
|
690
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
691
|
+
).annotate({
|
|
692
|
+
title: "payment_method_options_interac_present",
|
|
693
|
+
description: "",
|
|
694
|
+
identifier: "Stripepayment_method_options_interac_present",
|
|
695
|
+
});
|
|
696
|
+
export const Stripepayment_method_options_klarna = Schema.StructWithRest(
|
|
697
|
+
Schema.Struct({
|
|
698
|
+
capture_method: Schema.optionalKey(
|
|
699
|
+
Schema.Literal("manual").annotate({
|
|
700
|
+
description:
|
|
701
|
+
"Controls when the funds will be captured from the customer's account.",
|
|
702
|
+
}),
|
|
703
|
+
),
|
|
704
|
+
preferred_locale: Schema.optionalKey(
|
|
705
|
+
Schema.Union([
|
|
706
|
+
Schema.String.annotate({
|
|
707
|
+
description:
|
|
708
|
+
"Preferred locale of the Klarna checkout page that the customer is redirected to.",
|
|
709
|
+
}).check(
|
|
710
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
711
|
+
expected: "a string with at most 5000 code points",
|
|
712
|
+
}),
|
|
713
|
+
),
|
|
714
|
+
Schema.Null,
|
|
715
|
+
]),
|
|
716
|
+
),
|
|
717
|
+
setup_future_usage: Schema.optionalKey(
|
|
718
|
+
Schema.Literals(["none", "off_session", "on_session"]).annotate({
|
|
719
|
+
description:
|
|
720
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
721
|
+
}),
|
|
722
|
+
),
|
|
723
|
+
}),
|
|
724
|
+
[
|
|
725
|
+
Schema.Record(
|
|
726
|
+
Schema.String,
|
|
727
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
728
|
+
),
|
|
729
|
+
],
|
|
730
|
+
).annotate({
|
|
731
|
+
title: "payment_method_options_klarna",
|
|
732
|
+
description: "",
|
|
733
|
+
identifier: "Stripepayment_method_options_klarna",
|
|
734
|
+
});
|
|
735
|
+
export const Stripepayment_method_options_konbini = Schema.StructWithRest(
|
|
736
|
+
Schema.Struct({
|
|
737
|
+
confirmation_number: Schema.optionalKey(
|
|
738
|
+
Schema.Union([
|
|
739
|
+
Schema.String.annotate({
|
|
740
|
+
description:
|
|
741
|
+
"An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores.",
|
|
742
|
+
}).check(
|
|
743
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
744
|
+
expected: "a string with at most 5000 code points",
|
|
745
|
+
}),
|
|
746
|
+
),
|
|
747
|
+
Schema.Null,
|
|
748
|
+
]),
|
|
749
|
+
),
|
|
750
|
+
expires_after_days: Schema.optionalKey(
|
|
751
|
+
Schema.Union([
|
|
752
|
+
Schema.Number.annotate({
|
|
753
|
+
description:
|
|
754
|
+
"The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST.",
|
|
755
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
756
|
+
Schema.Null,
|
|
757
|
+
]),
|
|
758
|
+
),
|
|
759
|
+
expires_at: Schema.optionalKey(
|
|
760
|
+
Schema.Union([
|
|
761
|
+
Schema.Number.annotate({
|
|
762
|
+
description:
|
|
763
|
+
"The timestamp at which the Konbini payment instructions will expire. Only one of `expires_after_days` or `expires_at` may be set.",
|
|
764
|
+
format: "unix-time",
|
|
765
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
766
|
+
Schema.Null,
|
|
767
|
+
]),
|
|
768
|
+
),
|
|
769
|
+
product_description: Schema.optionalKey(
|
|
770
|
+
Schema.Union([
|
|
771
|
+
Schema.String.annotate({
|
|
772
|
+
description:
|
|
773
|
+
"A product descriptor of up to 22 characters, which will appear to customers at the convenience store.",
|
|
774
|
+
}).check(
|
|
775
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
776
|
+
expected: "a string with at most 5000 code points",
|
|
777
|
+
}),
|
|
778
|
+
),
|
|
779
|
+
Schema.Null,
|
|
780
|
+
]),
|
|
781
|
+
),
|
|
782
|
+
setup_future_usage: Schema.optionalKey(
|
|
783
|
+
Schema.Literal("none").annotate({
|
|
784
|
+
description:
|
|
785
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
786
|
+
}),
|
|
787
|
+
),
|
|
788
|
+
}),
|
|
789
|
+
[
|
|
790
|
+
Schema.Record(
|
|
791
|
+
Schema.String,
|
|
792
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
793
|
+
),
|
|
794
|
+
],
|
|
795
|
+
).annotate({
|
|
796
|
+
title: "payment_method_options_konbini",
|
|
797
|
+
description: "",
|
|
798
|
+
identifier: "Stripepayment_method_options_konbini",
|
|
799
|
+
});
|
|
800
|
+
export const Stripepayment_method_options_kr_card = Schema.StructWithRest(
|
|
801
|
+
Schema.Struct({
|
|
802
|
+
capture_method: Schema.optionalKey(
|
|
803
|
+
Schema.Literal("manual").annotate({
|
|
804
|
+
description:
|
|
805
|
+
"Controls when the funds will be captured from the customer's account.",
|
|
806
|
+
}),
|
|
807
|
+
),
|
|
808
|
+
setup_future_usage: Schema.optionalKey(
|
|
809
|
+
Schema.Literals(["none", "off_session"]).annotate({
|
|
810
|
+
description:
|
|
811
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
812
|
+
}),
|
|
813
|
+
),
|
|
814
|
+
}),
|
|
815
|
+
[
|
|
816
|
+
Schema.Record(
|
|
817
|
+
Schema.String,
|
|
818
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
819
|
+
),
|
|
820
|
+
],
|
|
821
|
+
).annotate({
|
|
822
|
+
title: "payment_method_options_kr_card",
|
|
823
|
+
description: "",
|
|
824
|
+
identifier: "Stripepayment_method_options_kr_card",
|
|
825
|
+
});
|
|
826
|
+
export const Stripepayment_method_options_mb_way = Schema.StructWithRest(
|
|
827
|
+
Schema.Struct({
|
|
828
|
+
setup_future_usage: Schema.optionalKey(
|
|
829
|
+
Schema.Literal("none").annotate({
|
|
830
|
+
description:
|
|
831
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
832
|
+
}),
|
|
833
|
+
),
|
|
834
|
+
}),
|
|
835
|
+
[
|
|
836
|
+
Schema.Record(
|
|
837
|
+
Schema.String,
|
|
838
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
839
|
+
),
|
|
840
|
+
],
|
|
841
|
+
).annotate({
|
|
842
|
+
title: "payment_method_options_mb_way",
|
|
843
|
+
description: "",
|
|
844
|
+
identifier: "Stripepayment_method_options_mb_way",
|
|
845
|
+
});
|
|
846
|
+
export const Stripepayment_method_options_multibanco = Schema.StructWithRest(
|
|
847
|
+
Schema.Struct({
|
|
848
|
+
setup_future_usage: Schema.optionalKey(
|
|
849
|
+
Schema.Literal("none").annotate({
|
|
850
|
+
description:
|
|
851
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
852
|
+
}),
|
|
853
|
+
),
|
|
854
|
+
}),
|
|
855
|
+
[
|
|
856
|
+
Schema.Record(
|
|
857
|
+
Schema.String,
|
|
858
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
859
|
+
),
|
|
860
|
+
],
|
|
861
|
+
).annotate({
|
|
862
|
+
title: "payment_method_options_multibanco",
|
|
863
|
+
description: "",
|
|
864
|
+
identifier: "Stripepayment_method_options_multibanco",
|
|
865
|
+
});
|
|
866
|
+
export const Stripepayment_method_options_oxxo = Schema.StructWithRest(
|
|
867
|
+
Schema.Struct({
|
|
868
|
+
expires_after_days: Schema.Number.annotate({
|
|
869
|
+
description:
|
|
870
|
+
"The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.",
|
|
871
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
872
|
+
setup_future_usage: Schema.optionalKey(
|
|
873
|
+
Schema.Literal("none").annotate({
|
|
874
|
+
description:
|
|
875
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
876
|
+
}),
|
|
877
|
+
),
|
|
878
|
+
}),
|
|
879
|
+
[
|
|
880
|
+
Schema.Record(
|
|
881
|
+
Schema.String,
|
|
882
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
883
|
+
),
|
|
884
|
+
],
|
|
885
|
+
).annotate({
|
|
886
|
+
title: "payment_method_options_oxxo",
|
|
887
|
+
description: "",
|
|
888
|
+
identifier: "Stripepayment_method_options_oxxo",
|
|
889
|
+
});
|
|
890
|
+
export const Stripepayment_method_options_p24 = Schema.StructWithRest(
|
|
891
|
+
Schema.Struct({
|
|
892
|
+
setup_future_usage: Schema.optionalKey(
|
|
893
|
+
Schema.Literal("none").annotate({
|
|
894
|
+
description:
|
|
895
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
896
|
+
}),
|
|
897
|
+
),
|
|
898
|
+
}),
|
|
899
|
+
[
|
|
900
|
+
Schema.Record(
|
|
901
|
+
Schema.String,
|
|
902
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
903
|
+
),
|
|
904
|
+
],
|
|
905
|
+
).annotate({
|
|
906
|
+
title: "payment_method_options_p24",
|
|
907
|
+
description: "",
|
|
908
|
+
identifier: "Stripepayment_method_options_p24",
|
|
909
|
+
});
|
|
910
|
+
export const Stripepayment_method_options_pay_by_bank = Schema.Record(
|
|
911
|
+
Schema.String,
|
|
912
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
913
|
+
).annotate({
|
|
914
|
+
title: "payment_method_options_pay_by_bank",
|
|
915
|
+
description: "",
|
|
916
|
+
identifier: "Stripepayment_method_options_pay_by_bank",
|
|
917
|
+
});
|
|
918
|
+
export const Stripepayment_method_options_paynow = Schema.StructWithRest(
|
|
919
|
+
Schema.Struct({
|
|
920
|
+
setup_future_usage: Schema.optionalKey(
|
|
921
|
+
Schema.Literal("none").annotate({
|
|
922
|
+
description:
|
|
923
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
924
|
+
}),
|
|
925
|
+
),
|
|
926
|
+
}),
|
|
927
|
+
[
|
|
928
|
+
Schema.Record(
|
|
929
|
+
Schema.String,
|
|
930
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
931
|
+
),
|
|
932
|
+
],
|
|
933
|
+
).annotate({
|
|
934
|
+
title: "payment_method_options_paynow",
|
|
935
|
+
description: "",
|
|
936
|
+
identifier: "Stripepayment_method_options_paynow",
|
|
937
|
+
});
|
|
938
|
+
export const Stripepayment_method_options_paypal = Schema.StructWithRest(
|
|
939
|
+
Schema.Struct({
|
|
940
|
+
capture_method: Schema.optionalKey(
|
|
941
|
+
Schema.Literal("manual").annotate({
|
|
942
|
+
description:
|
|
943
|
+
"Controls when the funds will be captured from the customer's account.",
|
|
944
|
+
}),
|
|
945
|
+
),
|
|
946
|
+
preferred_locale: Schema.optionalKey(
|
|
947
|
+
Schema.Union([
|
|
948
|
+
Schema.String.annotate({
|
|
949
|
+
description:
|
|
950
|
+
"Preferred locale of the PayPal checkout page that the customer is redirected to.",
|
|
951
|
+
}).check(
|
|
952
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
953
|
+
expected: "a string with at most 5000 code points",
|
|
954
|
+
}),
|
|
955
|
+
),
|
|
956
|
+
Schema.Null,
|
|
957
|
+
]),
|
|
958
|
+
),
|
|
959
|
+
reference: Schema.optionalKey(
|
|
960
|
+
Schema.Union([
|
|
961
|
+
Schema.String.annotate({
|
|
962
|
+
description:
|
|
963
|
+
"A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.",
|
|
964
|
+
}).check(
|
|
965
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
966
|
+
expected: "a string with at most 5000 code points",
|
|
967
|
+
}),
|
|
968
|
+
),
|
|
969
|
+
Schema.Null,
|
|
970
|
+
]),
|
|
971
|
+
),
|
|
972
|
+
setup_future_usage: Schema.optionalKey(
|
|
973
|
+
Schema.Literals(["none", "off_session"]).annotate({
|
|
974
|
+
description:
|
|
975
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
976
|
+
}),
|
|
977
|
+
),
|
|
978
|
+
}),
|
|
979
|
+
[
|
|
980
|
+
Schema.Record(
|
|
981
|
+
Schema.String,
|
|
982
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
983
|
+
),
|
|
984
|
+
],
|
|
985
|
+
).annotate({
|
|
986
|
+
title: "payment_method_options_paypal",
|
|
987
|
+
description: "",
|
|
988
|
+
identifier: "Stripepayment_method_options_paypal",
|
|
989
|
+
});
|
|
990
|
+
export const Stripepayment_method_options_paypay = Schema.Record(
|
|
991
|
+
Schema.String,
|
|
992
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
993
|
+
).annotate({
|
|
994
|
+
title: "payment_method_options_paypay",
|
|
995
|
+
description: "",
|
|
996
|
+
identifier: "Stripepayment_method_options_paypay",
|
|
997
|
+
});
|
|
998
|
+
export const Stripepayment_method_options_mandate_options_pix =
|
|
999
|
+
Schema.StructWithRest(
|
|
1000
|
+
Schema.Struct({
|
|
1001
|
+
amount: Schema.optionalKey(
|
|
1002
|
+
Schema.Number.annotate({
|
|
1003
|
+
description: "Amount to be charged for future payments.",
|
|
1004
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
1005
|
+
),
|
|
1006
|
+
amount_includes_iof: Schema.optionalKey(
|
|
1007
|
+
Schema.Literals(["always", "never"]).annotate({
|
|
1008
|
+
description: "Determines if the amount includes the IOF tax.",
|
|
1009
|
+
}),
|
|
1010
|
+
),
|
|
1011
|
+
amount_type: Schema.optionalKey(
|
|
1012
|
+
Schema.Literals(["fixed", "maximum"]).annotate({
|
|
1013
|
+
description: "Type of amount.",
|
|
1014
|
+
}),
|
|
1015
|
+
),
|
|
1016
|
+
currency: Schema.optionalKey(
|
|
1017
|
+
Schema.String.annotate({
|
|
1018
|
+
description:
|
|
1019
|
+
"Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.",
|
|
1020
|
+
format: "currency",
|
|
1021
|
+
}),
|
|
1022
|
+
),
|
|
1023
|
+
end_date: Schema.optionalKey(
|
|
1024
|
+
Schema.String.annotate({
|
|
1025
|
+
description:
|
|
1026
|
+
"Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`.",
|
|
1027
|
+
}).check(
|
|
1028
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1029
|
+
expected: "a string with at most 5000 code points",
|
|
1030
|
+
}),
|
|
1031
|
+
),
|
|
1032
|
+
),
|
|
1033
|
+
payment_schedule: Schema.optionalKey(
|
|
1034
|
+
Schema.Literals([
|
|
1035
|
+
"halfyearly",
|
|
1036
|
+
"monthly",
|
|
1037
|
+
"quarterly",
|
|
1038
|
+
"weekly",
|
|
1039
|
+
"yearly",
|
|
1040
|
+
]).annotate({
|
|
1041
|
+
description: "Schedule at which the future payments will be charged.",
|
|
1042
|
+
}),
|
|
1043
|
+
),
|
|
1044
|
+
reference: Schema.optionalKey(
|
|
1045
|
+
Schema.String.annotate({
|
|
1046
|
+
description:
|
|
1047
|
+
"Subscription name displayed to buyers in their bank app.",
|
|
1048
|
+
}).check(
|
|
1049
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1050
|
+
expected: "a string with at most 5000 code points",
|
|
1051
|
+
}),
|
|
1052
|
+
),
|
|
1053
|
+
),
|
|
1054
|
+
start_date: Schema.optionalKey(
|
|
1055
|
+
Schema.String.annotate({
|
|
1056
|
+
description: "Start date of the mandate, in `YYYY-MM-DD`.",
|
|
1057
|
+
}).check(
|
|
1058
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1059
|
+
expected: "a string with at most 5000 code points",
|
|
1060
|
+
}),
|
|
1061
|
+
),
|
|
1062
|
+
),
|
|
1063
|
+
}),
|
|
1064
|
+
[
|
|
1065
|
+
Schema.Record(
|
|
1066
|
+
Schema.String,
|
|
1067
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1068
|
+
),
|
|
1069
|
+
],
|
|
1070
|
+
).annotate({
|
|
1071
|
+
title: "payment_method_options_mandate_options_pix",
|
|
1072
|
+
description: "",
|
|
1073
|
+
identifier: "Stripepayment_method_options_mandate_options_pix",
|
|
1074
|
+
});
|
|
1075
|
+
export const Stripepayment_method_options_promptpay = Schema.StructWithRest(
|
|
1076
|
+
Schema.Struct({
|
|
1077
|
+
setup_future_usage: Schema.optionalKey(
|
|
1078
|
+
Schema.Literal("none").annotate({
|
|
1079
|
+
description:
|
|
1080
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
1081
|
+
}),
|
|
1082
|
+
),
|
|
1083
|
+
}),
|
|
1084
|
+
[
|
|
1085
|
+
Schema.Record(
|
|
1086
|
+
Schema.String,
|
|
1087
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1088
|
+
),
|
|
1089
|
+
],
|
|
1090
|
+
).annotate({
|
|
1091
|
+
title: "payment_method_options_promptpay",
|
|
1092
|
+
description: "",
|
|
1093
|
+
identifier: "Stripepayment_method_options_promptpay",
|
|
1094
|
+
});
|
|
1095
|
+
export const Stripepayment_method_options_revolut_pay = Schema.StructWithRest(
|
|
1096
|
+
Schema.Struct({
|
|
1097
|
+
capture_method: Schema.optionalKey(
|
|
1098
|
+
Schema.Literal("manual").annotate({
|
|
1099
|
+
description:
|
|
1100
|
+
"Controls when the funds will be captured from the customer's account.",
|
|
1101
|
+
}),
|
|
1102
|
+
),
|
|
1103
|
+
setup_future_usage: Schema.optionalKey(
|
|
1104
|
+
Schema.Literals(["none", "off_session"]).annotate({
|
|
1105
|
+
description:
|
|
1106
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
1107
|
+
}),
|
|
1108
|
+
),
|
|
1109
|
+
}),
|
|
1110
|
+
[
|
|
1111
|
+
Schema.Record(
|
|
1112
|
+
Schema.String,
|
|
1113
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1114
|
+
),
|
|
1115
|
+
],
|
|
1116
|
+
).annotate({
|
|
1117
|
+
title: "payment_method_options_revolut_pay",
|
|
1118
|
+
description: "",
|
|
1119
|
+
identifier: "Stripepayment_method_options_revolut_pay",
|
|
1120
|
+
});
|
|
1121
|
+
export const Stripepayment_method_options_satispay = Schema.StructWithRest(
|
|
1122
|
+
Schema.Struct({
|
|
1123
|
+
capture_method: Schema.optionalKey(
|
|
1124
|
+
Schema.Literal("manual").annotate({
|
|
1125
|
+
description:
|
|
1126
|
+
"Controls when the funds will be captured from the customer's account.",
|
|
1127
|
+
}),
|
|
1128
|
+
),
|
|
1129
|
+
setup_future_usage: Schema.optionalKey(
|
|
1130
|
+
Schema.Literals(["none", "off_session", "on_session"]).annotate({
|
|
1131
|
+
description:
|
|
1132
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
1133
|
+
}),
|
|
1134
|
+
),
|
|
1135
|
+
}),
|
|
1136
|
+
[
|
|
1137
|
+
Schema.Record(
|
|
1138
|
+
Schema.String,
|
|
1139
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1140
|
+
),
|
|
1141
|
+
],
|
|
1142
|
+
).annotate({
|
|
1143
|
+
title: "payment_method_options_satispay",
|
|
1144
|
+
description: "",
|
|
1145
|
+
identifier: "Stripepayment_method_options_satispay",
|
|
1146
|
+
});
|
|
1147
|
+
export const Stripepayment_method_options_scalapay = Schema.StructWithRest(
|
|
1148
|
+
Schema.Struct({
|
|
1149
|
+
capture_method: Schema.optionalKey(
|
|
1150
|
+
Schema.Literal("manual").annotate({
|
|
1151
|
+
description:
|
|
1152
|
+
"Controls when the funds will be captured from the customer's account.",
|
|
1153
|
+
}),
|
|
1154
|
+
),
|
|
1155
|
+
}),
|
|
1156
|
+
[
|
|
1157
|
+
Schema.Record(
|
|
1158
|
+
Schema.String,
|
|
1159
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1160
|
+
),
|
|
1161
|
+
],
|
|
1162
|
+
).annotate({
|
|
1163
|
+
title: "payment_method_options_scalapay",
|
|
1164
|
+
description: "",
|
|
1165
|
+
identifier: "Stripepayment_method_options_scalapay",
|
|
1166
|
+
});
|
|
1167
|
+
export const Stripepayment_method_options_sequra = Schema.StructWithRest(
|
|
1168
|
+
Schema.Struct({
|
|
1169
|
+
capture_method: Schema.optionalKey(
|
|
1170
|
+
Schema.Literal("manual").annotate({
|
|
1171
|
+
description:
|
|
1172
|
+
"Controls when the funds will be captured from the customer's account.",
|
|
1173
|
+
}),
|
|
1174
|
+
),
|
|
1175
|
+
setup_future_usage: Schema.optionalKey(
|
|
1176
|
+
Schema.Literal("none").annotate({
|
|
1177
|
+
description:
|
|
1178
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
1179
|
+
}),
|
|
1180
|
+
),
|
|
1181
|
+
}),
|
|
1182
|
+
[
|
|
1183
|
+
Schema.Record(
|
|
1184
|
+
Schema.String,
|
|
1185
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1186
|
+
),
|
|
1187
|
+
],
|
|
1188
|
+
).annotate({
|
|
1189
|
+
title: "payment_method_options_sequra",
|
|
1190
|
+
description: "",
|
|
1191
|
+
identifier: "Stripepayment_method_options_sequra",
|
|
1192
|
+
});
|
|
1193
|
+
export const Stripepayment_method_options_sofort = Schema.StructWithRest(
|
|
1194
|
+
Schema.Struct({
|
|
1195
|
+
preferred_language: Schema.optionalKey(
|
|
1196
|
+
Schema.Union([
|
|
1197
|
+
Schema.Literals(["de", "en", "es", "fr", "it", "nl", "pl"]).annotate({
|
|
1198
|
+
description:
|
|
1199
|
+
"Preferred language of the SOFORT authorization page that the customer is redirected to.",
|
|
1200
|
+
}),
|
|
1201
|
+
Schema.Null,
|
|
1202
|
+
]),
|
|
1203
|
+
),
|
|
1204
|
+
setup_future_usage: Schema.optionalKey(
|
|
1205
|
+
Schema.Literals(["none", "off_session"]).annotate({
|
|
1206
|
+
description:
|
|
1207
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
1208
|
+
}),
|
|
1209
|
+
),
|
|
1210
|
+
}),
|
|
1211
|
+
[
|
|
1212
|
+
Schema.Record(
|
|
1213
|
+
Schema.String,
|
|
1214
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1215
|
+
),
|
|
1216
|
+
],
|
|
1217
|
+
).annotate({
|
|
1218
|
+
title: "payment_method_options_sofort",
|
|
1219
|
+
description: "",
|
|
1220
|
+
identifier: "Stripepayment_method_options_sofort",
|
|
1221
|
+
});
|
|
1222
|
+
export const Stripepayment_method_options_sunbit = Schema.StructWithRest(
|
|
1223
|
+
Schema.Struct({
|
|
1224
|
+
capture_method: Schema.optionalKey(
|
|
1225
|
+
Schema.Literal("manual").annotate({
|
|
1226
|
+
description:
|
|
1227
|
+
"Controls when the funds will be captured from the customer's account.",
|
|
1228
|
+
}),
|
|
1229
|
+
),
|
|
1230
|
+
setup_future_usage: Schema.optionalKey(
|
|
1231
|
+
Schema.Literal("none").annotate({
|
|
1232
|
+
description:
|
|
1233
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
1234
|
+
}),
|
|
1235
|
+
),
|
|
1236
|
+
}),
|
|
1237
|
+
[
|
|
1238
|
+
Schema.Record(
|
|
1239
|
+
Schema.String,
|
|
1240
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1241
|
+
),
|
|
1242
|
+
],
|
|
1243
|
+
).annotate({
|
|
1244
|
+
title: "payment_method_options_sunbit",
|
|
1245
|
+
description: "",
|
|
1246
|
+
identifier: "Stripepayment_method_options_sunbit",
|
|
1247
|
+
});
|
|
1248
|
+
export const Stripepayment_method_options_twint = Schema.StructWithRest(
|
|
1249
|
+
Schema.Struct({
|
|
1250
|
+
setup_future_usage: Schema.optionalKey(
|
|
1251
|
+
Schema.Literals(["none", "off_session"]).annotate({
|
|
1252
|
+
description:
|
|
1253
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
1254
|
+
}),
|
|
1255
|
+
),
|
|
1256
|
+
}),
|
|
1257
|
+
[
|
|
1258
|
+
Schema.Record(
|
|
1259
|
+
Schema.String,
|
|
1260
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1261
|
+
),
|
|
1262
|
+
],
|
|
1263
|
+
).annotate({
|
|
1264
|
+
title: "payment_method_options_twint",
|
|
1265
|
+
description: "",
|
|
1266
|
+
identifier: "Stripepayment_method_options_twint",
|
|
1267
|
+
});
|
|
1268
|
+
export const Stripepayment_method_options_upi = Schema.StructWithRest(
|
|
1269
|
+
Schema.Struct({
|
|
1270
|
+
setup_future_usage: Schema.optionalKey(
|
|
1271
|
+
Schema.Literals(["off_session", "on_session"]).annotate({
|
|
1272
|
+
description:
|
|
1273
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
1274
|
+
}),
|
|
1275
|
+
),
|
|
1276
|
+
}),
|
|
1277
|
+
[
|
|
1278
|
+
Schema.Record(
|
|
1279
|
+
Schema.String,
|
|
1280
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1281
|
+
),
|
|
1282
|
+
],
|
|
1283
|
+
).annotate({
|
|
1284
|
+
title: "payment_method_options_upi",
|
|
1285
|
+
description: "",
|
|
1286
|
+
identifier: "Stripepayment_method_options_upi",
|
|
1287
|
+
});
|
|
1288
|
+
export const Stripepayment_method_options_us_bank_account_mandate_options =
|
|
1289
|
+
Schema.StructWithRest(
|
|
1290
|
+
Schema.Struct({
|
|
1291
|
+
collection_method: Schema.optionalKey(
|
|
1292
|
+
Schema.Literal("paper").annotate({
|
|
1293
|
+
description: "Mandate collection method",
|
|
1294
|
+
}),
|
|
1295
|
+
),
|
|
1296
|
+
}),
|
|
1297
|
+
[
|
|
1298
|
+
Schema.Record(
|
|
1299
|
+
Schema.String,
|
|
1300
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1301
|
+
),
|
|
1302
|
+
],
|
|
1303
|
+
).annotate({
|
|
1304
|
+
title: "payment_method_options_us_bank_account_mandate_options",
|
|
1305
|
+
description: "",
|
|
1306
|
+
identifier: "Stripepayment_method_options_us_bank_account_mandate_options",
|
|
1307
|
+
});
|
|
1308
|
+
export const Stripepayment_method_options_wechat_pay = Schema.StructWithRest(
|
|
1309
|
+
Schema.Struct({
|
|
1310
|
+
app_id: Schema.optionalKey(
|
|
1311
|
+
Schema.Union([
|
|
1312
|
+
Schema.String.annotate({
|
|
1313
|
+
description:
|
|
1314
|
+
"The app ID registered with WeChat Pay. Only required when client is ios, android, or mini_program.",
|
|
1315
|
+
}).check(
|
|
1316
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1317
|
+
expected: "a string with at most 5000 code points",
|
|
1318
|
+
}),
|
|
1319
|
+
),
|
|
1320
|
+
Schema.Null,
|
|
1321
|
+
]),
|
|
1322
|
+
),
|
|
1323
|
+
client: Schema.optionalKey(
|
|
1324
|
+
Schema.Union([
|
|
1325
|
+
Schema.Literals(["android", "ios", "web"]).annotate({
|
|
1326
|
+
description: "The client type that the end customer will pay from",
|
|
1327
|
+
}),
|
|
1328
|
+
Schema.Null,
|
|
1329
|
+
]),
|
|
1330
|
+
),
|
|
1331
|
+
setup_future_usage: Schema.optionalKey(
|
|
1332
|
+
Schema.Literal("none").annotate({
|
|
1333
|
+
description:
|
|
1334
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
1335
|
+
}),
|
|
1336
|
+
),
|
|
1337
|
+
}),
|
|
1338
|
+
[
|
|
1339
|
+
Schema.Record(
|
|
1340
|
+
Schema.String,
|
|
1341
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1342
|
+
),
|
|
1343
|
+
],
|
|
1344
|
+
).annotate({
|
|
1345
|
+
title: "payment_method_options_wechat_pay",
|
|
1346
|
+
description: "",
|
|
1347
|
+
identifier: "Stripepayment_method_options_wechat_pay",
|
|
1348
|
+
});
|
|
1349
|
+
export const Stripepayment_method_options_zip = Schema.StructWithRest(
|
|
1350
|
+
Schema.Struct({
|
|
1351
|
+
setup_future_usage: Schema.optionalKey(
|
|
1352
|
+
Schema.Literal("none").annotate({
|
|
1353
|
+
description:
|
|
1354
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
1355
|
+
}),
|
|
1356
|
+
),
|
|
1357
|
+
}),
|
|
1358
|
+
[
|
|
1359
|
+
Schema.Record(
|
|
1360
|
+
Schema.String,
|
|
1361
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1362
|
+
),
|
|
1363
|
+
],
|
|
1364
|
+
).annotate({
|
|
1365
|
+
title: "payment_method_options_zip",
|
|
1366
|
+
description: "",
|
|
1367
|
+
identifier: "Stripepayment_method_options_zip",
|
|
1368
|
+
});
|
|
1369
|
+
export const Stripepayment_method_options_mandate_options_upi =
|
|
1370
|
+
Schema.StructWithRest(
|
|
1371
|
+
Schema.Struct({
|
|
1372
|
+
amount: Schema.optionalKey(
|
|
1373
|
+
Schema.Union([
|
|
1374
|
+
Schema.Number.annotate({
|
|
1375
|
+
description: "Amount to be charged for future payments.",
|
|
1376
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
1377
|
+
Schema.Null,
|
|
1378
|
+
]),
|
|
1379
|
+
),
|
|
1380
|
+
amount_type: Schema.optionalKey(
|
|
1381
|
+
Schema.Union([
|
|
1382
|
+
Schema.Literals(["fixed", "maximum"]).annotate({
|
|
1383
|
+
description:
|
|
1384
|
+
"One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.",
|
|
1385
|
+
}),
|
|
1386
|
+
Schema.Null,
|
|
1387
|
+
]),
|
|
1388
|
+
),
|
|
1389
|
+
description: Schema.optionalKey(
|
|
1390
|
+
Schema.Union([
|
|
1391
|
+
Schema.String.annotate({
|
|
1392
|
+
description:
|
|
1393
|
+
"A description of the mandate or subscription that is meant to be displayed to the customer.",
|
|
1394
|
+
}).check(
|
|
1395
|
+
Schema.isMaxCodePoints(20).annotate({
|
|
1396
|
+
expected: "a string with at most 20 code points",
|
|
1397
|
+
}),
|
|
1398
|
+
),
|
|
1399
|
+
Schema.Null,
|
|
1400
|
+
]),
|
|
1401
|
+
),
|
|
1402
|
+
end_date: Schema.optionalKey(
|
|
1403
|
+
Schema.Union([
|
|
1404
|
+
Schema.Number.annotate({
|
|
1405
|
+
description: "End date of the mandate or subscription.",
|
|
1406
|
+
format: "unix-time",
|
|
1407
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
1408
|
+
Schema.Null,
|
|
1409
|
+
]),
|
|
1410
|
+
),
|
|
1411
|
+
}),
|
|
1412
|
+
[
|
|
1413
|
+
Schema.Record(
|
|
1414
|
+
Schema.String,
|
|
1415
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1416
|
+
),
|
|
1417
|
+
],
|
|
1418
|
+
).annotate({
|
|
1419
|
+
title: "payment_method_options_mandate_options_upi",
|
|
1420
|
+
description: "",
|
|
1421
|
+
identifier: "Stripepayment_method_options_mandate_options_upi",
|
|
1422
|
+
});
|
|
1423
|
+
export const Stripepayment_method_options_card_installments = Schema.suspend(
|
|
1424
|
+
(): Schema.Codec<Stripepayment_method_options_card_installments> =>
|
|
1425
|
+
Schema.StructWithRest(
|
|
1426
|
+
Schema.Struct({
|
|
1427
|
+
available_plans: Schema.optionalKey(
|
|
1428
|
+
Schema.Union([
|
|
1429
|
+
Schema.Array(
|
|
1430
|
+
Stripepayment_method_details_card_installments_plan,
|
|
1431
|
+
).annotate({
|
|
1432
|
+
description:
|
|
1433
|
+
"Installment plans that may be selected for this PaymentIntent.",
|
|
1434
|
+
}),
|
|
1435
|
+
Schema.Null,
|
|
1436
|
+
]),
|
|
1437
|
+
),
|
|
1438
|
+
enabled: Schema.Boolean.annotate({
|
|
1439
|
+
description:
|
|
1440
|
+
"Whether Installments are enabled for this PaymentIntent.",
|
|
1441
|
+
}),
|
|
1442
|
+
plan: Schema.optionalKey(
|
|
1443
|
+
Schema.Union([
|
|
1444
|
+
Schema.Union([
|
|
1445
|
+
Stripepayment_method_details_card_installments_plan,
|
|
1446
|
+
]).annotate({
|
|
1447
|
+
description: "Installment plan selected for this PaymentIntent.",
|
|
1448
|
+
}),
|
|
1449
|
+
Schema.Null,
|
|
1450
|
+
]),
|
|
1451
|
+
),
|
|
1452
|
+
}),
|
|
1453
|
+
[
|
|
1454
|
+
Schema.Record(
|
|
1455
|
+
Schema.String,
|
|
1456
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1457
|
+
),
|
|
1458
|
+
],
|
|
1459
|
+
).annotate({
|
|
1460
|
+
title: "payment_method_options_card_installments",
|
|
1461
|
+
description: "",
|
|
1462
|
+
identifier: "Stripepayment_method_options_card_installments",
|
|
1463
|
+
}),
|
|
1464
|
+
);
|
|
1465
|
+
export const Stripepayment_method_options_card_present = Schema.suspend(
|
|
1466
|
+
(): Schema.Codec<Stripepayment_method_options_card_present> =>
|
|
1467
|
+
Schema.StructWithRest(
|
|
1468
|
+
Schema.Struct({
|
|
1469
|
+
capture_method: Schema.optionalKey(
|
|
1470
|
+
Schema.Literals(["manual", "manual_preferred"]).annotate({
|
|
1471
|
+
description:
|
|
1472
|
+
"Controls when the funds will be captured from the customer's account.",
|
|
1473
|
+
}),
|
|
1474
|
+
),
|
|
1475
|
+
request_extended_authorization: Schema.optionalKey(
|
|
1476
|
+
Schema.Union([
|
|
1477
|
+
Schema.Boolean.annotate({
|
|
1478
|
+
description:
|
|
1479
|
+
"Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)",
|
|
1480
|
+
}),
|
|
1481
|
+
Schema.Null,
|
|
1482
|
+
]),
|
|
1483
|
+
),
|
|
1484
|
+
request_incremental_authorization_support: Schema.optionalKey(
|
|
1485
|
+
Schema.Union([
|
|
1486
|
+
Schema.Boolean.annotate({
|
|
1487
|
+
description:
|
|
1488
|
+
"Request ability to [increment](https://docs.stripe.com/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://docs.stripe.com/api/payment_intents/confirm) response to verify support.",
|
|
1489
|
+
}),
|
|
1490
|
+
Schema.Null,
|
|
1491
|
+
]),
|
|
1492
|
+
),
|
|
1493
|
+
routing: Schema.optionalKey(
|
|
1494
|
+
Stripepayment_method_options_card_present_routing,
|
|
1495
|
+
),
|
|
1496
|
+
}),
|
|
1497
|
+
[
|
|
1498
|
+
Schema.Record(
|
|
1499
|
+
Schema.String,
|
|
1500
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1501
|
+
),
|
|
1502
|
+
],
|
|
1503
|
+
).annotate({
|
|
1504
|
+
title: "payment_method_options_card_present",
|
|
1505
|
+
description: "",
|
|
1506
|
+
identifier: "Stripepayment_method_options_card_present",
|
|
1507
|
+
}),
|
|
1508
|
+
);
|
|
1509
|
+
export const Stripepayment_method_options_customer_balance_bank_transfer =
|
|
1510
|
+
Schema.suspend(
|
|
1511
|
+
(): Schema.Codec<Stripepayment_method_options_customer_balance_bank_transfer> =>
|
|
1512
|
+
Schema.StructWithRest(
|
|
1513
|
+
Schema.Struct({
|
|
1514
|
+
eu_bank_transfer: Schema.optionalKey(
|
|
1515
|
+
Stripepayment_method_options_customer_balance_eu_bank_account,
|
|
1516
|
+
),
|
|
1517
|
+
requested_address_types: Schema.optionalKey(
|
|
1518
|
+
Schema.Array(
|
|
1519
|
+
Schema.Literals([
|
|
1520
|
+
"aba",
|
|
1521
|
+
"iban",
|
|
1522
|
+
"sepa",
|
|
1523
|
+
"sort_code",
|
|
1524
|
+
"spei",
|
|
1525
|
+
"swift",
|
|
1526
|
+
"zengin",
|
|
1527
|
+
]),
|
|
1528
|
+
).annotate({
|
|
1529
|
+
description:
|
|
1530
|
+
"List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.\n\nPermitted values include: `sort_code`, `zengin`, `iban`, or `spei`.",
|
|
1531
|
+
}),
|
|
1532
|
+
),
|
|
1533
|
+
type: Schema.optionalKey(
|
|
1534
|
+
Schema.Union([
|
|
1535
|
+
Schema.Literals([
|
|
1536
|
+
"eu_bank_transfer",
|
|
1537
|
+
"gb_bank_transfer",
|
|
1538
|
+
"jp_bank_transfer",
|
|
1539
|
+
"mx_bank_transfer",
|
|
1540
|
+
"us_bank_transfer",
|
|
1541
|
+
]).annotate({
|
|
1542
|
+
description:
|
|
1543
|
+
"The bank transfer type that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.",
|
|
1544
|
+
}),
|
|
1545
|
+
Schema.Null,
|
|
1546
|
+
]),
|
|
1547
|
+
),
|
|
1548
|
+
}),
|
|
1549
|
+
[
|
|
1550
|
+
Schema.Record(
|
|
1551
|
+
Schema.String,
|
|
1552
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1553
|
+
),
|
|
1554
|
+
],
|
|
1555
|
+
).annotate({
|
|
1556
|
+
title: "payment_method_options_customer_balance_bank_transfer",
|
|
1557
|
+
description: "",
|
|
1558
|
+
identifier:
|
|
1559
|
+
"Stripepayment_method_options_customer_balance_bank_transfer",
|
|
1560
|
+
}),
|
|
1561
|
+
);
|
|
1562
|
+
export const Stripepayment_method_options_pix = Schema.suspend(
|
|
1563
|
+
(): Schema.Codec<Stripepayment_method_options_pix> =>
|
|
1564
|
+
Schema.StructWithRest(
|
|
1565
|
+
Schema.Struct({
|
|
1566
|
+
amount_includes_iof: Schema.optionalKey(
|
|
1567
|
+
Schema.Literals(["always", "never"]).annotate({
|
|
1568
|
+
description: "Determines if the amount includes the IOF tax.",
|
|
1569
|
+
}),
|
|
1570
|
+
),
|
|
1571
|
+
expires_after_seconds: Schema.optionalKey(
|
|
1572
|
+
Schema.Union([
|
|
1573
|
+
Schema.Number.annotate({
|
|
1574
|
+
description:
|
|
1575
|
+
"The number of seconds after PaymentIntent confirmation when the Pix expires (between 60 and 1209600, inclusive). If neither expiration option is supplied, defaults to 14400 seconds (4 hours). Mutually exclusive with `expires_at`.",
|
|
1576
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
1577
|
+
Schema.Null,
|
|
1578
|
+
]),
|
|
1579
|
+
),
|
|
1580
|
+
expires_at: Schema.optionalKey(
|
|
1581
|
+
Schema.Union([
|
|
1582
|
+
Schema.Number.annotate({
|
|
1583
|
+
description:
|
|
1584
|
+
"The absolute Unix timestamp at which the Pix expires. When supplied as an input, it must be between 60 and 1209600 seconds from the current time at validation, inclusive. If neither expiration option is supplied, the Pix expires 14400 seconds (4 hours) after PaymentIntent confirmation. Mutually exclusive with `expires_after_seconds`.",
|
|
1585
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
1586
|
+
Schema.Null,
|
|
1587
|
+
]),
|
|
1588
|
+
),
|
|
1589
|
+
mandate_options: Schema.optionalKey(
|
|
1590
|
+
Stripepayment_method_options_mandate_options_pix,
|
|
1591
|
+
),
|
|
1592
|
+
setup_future_usage: Schema.optionalKey(
|
|
1593
|
+
Schema.Literals(["none", "off_session"]).annotate({
|
|
1594
|
+
description:
|
|
1595
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
1596
|
+
}),
|
|
1597
|
+
),
|
|
1598
|
+
}),
|
|
1599
|
+
[
|
|
1600
|
+
Schema.Record(
|
|
1601
|
+
Schema.String,
|
|
1602
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1603
|
+
),
|
|
1604
|
+
],
|
|
1605
|
+
).annotate({
|
|
1606
|
+
title: "payment_method_options_pix",
|
|
1607
|
+
description: "",
|
|
1608
|
+
identifier: "Stripepayment_method_options_pix",
|
|
1609
|
+
}),
|
|
1610
|
+
);
|
|
1611
|
+
export const Stripepayment_method_options_billie = Schema.suspend(
|
|
1612
|
+
(): Schema.Codec<Stripepayment_method_options_billie> =>
|
|
1613
|
+
Schema.StructWithRest(
|
|
1614
|
+
Schema.Struct({
|
|
1615
|
+
capture_method: Schema.optionalKey(
|
|
1616
|
+
Schema.Literal("manual").annotate({
|
|
1617
|
+
description:
|
|
1618
|
+
"Controls when the funds will be captured from the customer's account.",
|
|
1619
|
+
}),
|
|
1620
|
+
),
|
|
1621
|
+
company_details: Schema.optionalKey(
|
|
1622
|
+
Stripepayment_flows_private_payment_methods_billie_payment_method_options_resource_company_details,
|
|
1623
|
+
),
|
|
1624
|
+
reference: Schema.optionalKey(
|
|
1625
|
+
Schema.Union([
|
|
1626
|
+
Schema.String.annotate({
|
|
1627
|
+
description:
|
|
1628
|
+
"An identifier or reference that this payment corresponds to.",
|
|
1629
|
+
}).check(
|
|
1630
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1631
|
+
expected: "a string with at most 5000 code points",
|
|
1632
|
+
}),
|
|
1633
|
+
),
|
|
1634
|
+
Schema.Null,
|
|
1635
|
+
]),
|
|
1636
|
+
),
|
|
1637
|
+
}),
|
|
1638
|
+
[
|
|
1639
|
+
Schema.Record(
|
|
1640
|
+
Schema.String,
|
|
1641
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1642
|
+
),
|
|
1643
|
+
],
|
|
1644
|
+
).annotate({
|
|
1645
|
+
title: "payment_method_options_billie",
|
|
1646
|
+
description: "",
|
|
1647
|
+
identifier: "Stripepayment_method_options_billie",
|
|
1648
|
+
}),
|
|
1649
|
+
);
|
|
1650
|
+
export const Stripepayment_method_options_customer_balance = Schema.suspend(
|
|
1651
|
+
(): Schema.Codec<Stripepayment_method_options_customer_balance> =>
|
|
1652
|
+
Schema.StructWithRest(
|
|
1653
|
+
Schema.Struct({
|
|
1654
|
+
bank_transfer: Schema.optionalKey(
|
|
1655
|
+
Stripepayment_method_options_customer_balance_bank_transfer,
|
|
1656
|
+
),
|
|
1657
|
+
funding_type: Schema.optionalKey(
|
|
1658
|
+
Schema.Union([
|
|
1659
|
+
Schema.Literal("bank_transfer").annotate({
|
|
1660
|
+
description:
|
|
1661
|
+
"The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.",
|
|
1662
|
+
}),
|
|
1663
|
+
Schema.Null,
|
|
1664
|
+
]),
|
|
1665
|
+
),
|
|
1666
|
+
setup_future_usage: Schema.optionalKey(
|
|
1667
|
+
Schema.Literal("none").annotate({
|
|
1668
|
+
description:
|
|
1669
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
1670
|
+
}),
|
|
1671
|
+
),
|
|
1672
|
+
}),
|
|
1673
|
+
[
|
|
1674
|
+
Schema.Record(
|
|
1675
|
+
Schema.String,
|
|
1676
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1677
|
+
),
|
|
1678
|
+
],
|
|
1679
|
+
).annotate({
|
|
1680
|
+
title: "payment_method_options_customer_balance",
|
|
1681
|
+
description: "",
|
|
1682
|
+
identifier: "Stripepayment_method_options_customer_balance",
|
|
1683
|
+
}),
|
|
1684
|
+
);
|