nomoss 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/README.md +3 -1
- package/ROADMAP.md +1 -1
- package/docs/README.md +2 -0
- package/docs/application/aws-resource-coverage.md +111 -20
- package/docs/application/designs/awsRequestBodyEncoding.ts +91 -0
- package/docs/application/designs/createBucketModeledErrors.ts +164 -0
- package/docs/application/designs/describeSubnetsEc2Query.ts +186 -0
- package/docs/application/designs/getBucketTaggingResponseDecoding.ts +136 -0
- package/docs/application/designs/lambdaGetPolicyRequest.ts +85 -0
- package/docs/application/designs/s3GetObjectDownload.ts +97 -0
- package/docs/application/designs/s3ObjectMetadata.ts +154 -0
- package/docs/application/designs/selectObjectContentEvents.ts +185 -0
- package/docs/application/generation-architecture.md +38 -0
- package/docs/application/resource-operations.md +4 -2
- package/docs/development/code-documentation.md +2 -0
- package/docs/development/design-walkthroughs.md +49 -0
- package/docs/development/effect-native-development.md +31 -2
- package/docs/development/review-code.md +1 -1
- package/docs/development/review-remediation-spec.md +1 -0
- package/docs/development/testing.md +20 -0
- package/docs/operations/releasing.md +4 -2
- package/examples/queue/application.ts +1 -1
- package/media/nomoss-logo.svg +16 -0
- package/package.json +8 -14
- package/providers/aws/README.md +7 -7
- package/providers/aws/awsEnvironment.ts +3 -3
- package/providers/aws/generated/resources/apigateway/apikey.ts +335 -0
- package/providers/aws/generated/resources/apigateway/authorizer.ts +329 -0
- package/providers/aws/generated/resources/apigateway/basepathmapping.ts +265 -0
- package/providers/aws/generated/resources/apigateway/deployment.ts +515 -0
- package/providers/aws/generated/resources/apigateway/domainname.ts +354 -0
- package/providers/aws/generated/resources/apigateway/gatewayresponse.ts +222 -0
- package/providers/aws/generated/resources/apigateway/method.ts +819 -0
- package/providers/aws/generated/resources/apigateway/model.ts +248 -0
- package/providers/aws/generated/resources/apigateway/requestvalidator.ts +224 -0
- package/providers/aws/generated/resources/apigateway/resource.ts +235 -0
- package/providers/aws/generated/resources/apigateway/restapi.ts +583 -0
- package/providers/aws/generated/resources/apigateway/stage.ts +656 -0
- package/providers/aws/generated/resources/apigateway/usageplan.ts +394 -0
- package/providers/aws/generated/resources/apigateway/usageplankey.ts +228 -0
- package/providers/aws/generated/resources/apigatewayv2/api.ts +40 -60
- package/providers/aws/generated/resources/apigatewayv2/apimapping.ts +284 -0
- package/providers/aws/generated/resources/apigatewayv2/authorizer.ts +333 -0
- package/providers/aws/generated/resources/apigatewayv2/deployment.ts +226 -0
- package/providers/aws/generated/resources/apigatewayv2/domainname.ts +333 -0
- package/providers/aws/generated/resources/apigatewayv2/integration.ts +70 -103
- package/providers/aws/generated/resources/apigatewayv2/integrationresponse.ts +323 -0
- package/providers/aws/generated/resources/apigatewayv2/model.ts +241 -0
- package/providers/aws/generated/resources/apigatewayv2/route.ts +59 -63
- package/providers/aws/generated/resources/apigatewayv2/routeresponse.ts +330 -0
- package/providers/aws/generated/resources/apigatewayv2/routingrule.ts +349 -0
- package/providers/aws/generated/resources/apigatewayv2/stage.ts +45 -66
- package/providers/aws/generated/resources/apigatewayv2/vpclink.ts +256 -0
- package/providers/aws/generated/resources/appsync/api.ts +486 -0
- package/providers/aws/generated/resources/appsync/apicache.ts +169 -0
- package/providers/aws/generated/resources/appsync/apikey.ts +245 -0
- package/providers/aws/generated/resources/appsync/channelnamespace.ts +444 -0
- package/providers/aws/generated/resources/appsync/datasource.ts +757 -0
- package/providers/aws/generated/resources/appsync/domainname.ts +355 -0
- package/providers/aws/generated/resources/appsync/domainnameapiassociation.ts +284 -0
- package/providers/aws/generated/resources/appsync/functionconfiguration.ts +448 -0
- package/providers/aws/generated/resources/appsync/graphqlapi.ts +1028 -0
- package/providers/aws/generated/resources/appsync/graphqlschema.ts +188 -0
- package/providers/aws/generated/resources/appsync/resolver.ts +514 -0
- package/providers/aws/generated/resources/appsync/sourceapiassociation.ts +429 -0
- package/providers/aws/generated/resources/certificatemanager/certificate.ts +211 -0
- package/providers/aws/generated/resources/cloudfront/cachepolicy.ts +352 -0
- package/providers/aws/generated/resources/cloudfront/distribution.ts +2477 -0
- package/providers/aws/generated/resources/cloudfront/function.ts +313 -0
- package/providers/aws/generated/resources/cloudfront/originaccesscontrol.ts +204 -0
- package/providers/aws/generated/resources/cloudfront/originrequestpolicy.ts +285 -0
- package/providers/aws/generated/resources/cloudfront/responseheaderspolicy.ts +591 -0
- package/providers/aws/generated/resources/cloudwatch/alarm.ts +4545 -0
- package/providers/aws/generated/resources/cloudwatch/compositealarm.ts +678 -0
- package/providers/aws/generated/resources/cloudwatch/dashboard.ts +229 -0
- package/providers/aws/generated/resources/cognito/identitypool.ts +419 -0
- package/providers/aws/generated/resources/cognito/identitypoolroleattachment.ts +288 -0
- package/providers/aws/generated/resources/cognito/userpool.ts +1372 -0
- package/providers/aws/generated/resources/cognito/userpoolclient.ts +555 -0
- package/providers/aws/generated/resources/cognito/userpooldomain.ts +223 -0
- package/providers/aws/generated/resources/cognito/userpoolgroup.ts +265 -0
- package/providers/aws/generated/resources/cognito/userpoolidentityprovider.ts +216 -0
- package/providers/aws/generated/resources/cognito/userpoolresourceserver.ts +233 -0
- package/providers/aws/generated/resources/dynamodb/globaltable.ts +1002 -0
- package/providers/aws/generated/resources/dynamodb/table.ts +1058 -0
- package/providers/aws/generated/resources/ec2/eip.ts +303 -0
- package/providers/aws/generated/resources/ec2/instance.ts +1756 -0
- package/providers/aws/generated/resources/ec2/internetgateway.ts +185 -0
- package/providers/aws/generated/resources/ec2/launchtemplate.ts +2218 -0
- package/providers/aws/generated/resources/ec2/natgateway.ts +509 -0
- package/providers/aws/generated/resources/ec2/route.ts +595 -0
- package/providers/aws/generated/resources/ec2/routetable.ts +207 -0
- package/providers/aws/generated/resources/ec2/securitygroup.ts +460 -0
- package/providers/aws/generated/resources/ec2/securitygroupegress.ts +332 -0
- package/providers/aws/generated/resources/ec2/securitygroupingress.ts +488 -0
- package/providers/aws/generated/resources/ec2/subnet.ts +492 -0
- package/providers/aws/generated/resources/ec2/subnetroutetableassociation.ts +228 -0
- package/providers/aws/generated/resources/ec2/volume.ts +267 -0
- package/providers/aws/generated/resources/ec2/volumeattachment.ts +268 -0
- package/providers/aws/generated/resources/ec2/vpc.ts +288 -0
- package/providers/aws/generated/resources/ec2/vpcendpoint.ts +660 -0
- package/providers/aws/generated/resources/ec2/vpcgatewayattachment.ts +290 -0
- package/providers/aws/generated/resources/ec2/vpcpeeringconnection.ts +310 -0
- package/providers/aws/generated/resources/ecr/repository.ts +627 -0
- package/providers/aws/generated/resources/ecs/cluster.ts +616 -0
- package/providers/aws/generated/resources/ecs/service.ts +2065 -0
- package/providers/aws/generated/resources/ecs/taskdefinition.ts +1848 -0
- package/providers/aws/generated/resources/elasticloadbalancingv2/listener.ts +1166 -0
- package/providers/aws/generated/resources/elasticloadbalancingv2/listenercertificate.ts +168 -0
- package/providers/aws/generated/resources/elasticloadbalancingv2/listenerrule.ts +1219 -0
- package/providers/aws/generated/resources/elasticloadbalancingv2/loadbalancer.ts +706 -0
- package/providers/aws/generated/resources/elasticloadbalancingv2/targetgroup.ts +699 -0
- package/providers/aws/generated/resources/events/apidestination.ts +314 -0
- package/providers/aws/generated/resources/events/archive.ts +316 -0
- package/providers/aws/generated/resources/events/connection.ts +609 -0
- package/providers/aws/generated/resources/events/endpoint.ts +551 -0
- package/providers/aws/generated/resources/events/eventbus.ts +261 -0
- package/providers/aws/generated/resources/events/eventbuspolicy.ts +343 -0
- package/providers/aws/generated/resources/events/rule.ts +1253 -0
- package/providers/aws/generated/resources/eventschemas/discoverer.ts +273 -0
- package/providers/aws/generated/resources/eventschemas/registry.ts +183 -0
- package/providers/aws/generated/resources/eventschemas/registrypolicy.ts +193 -0
- package/providers/aws/generated/resources/eventschemas/schema.ts +305 -0
- package/providers/aws/generated/resources/iam/accesskey.ts +12 -16
- package/providers/aws/generated/resources/iam/group.ts +13 -16
- package/providers/aws/generated/resources/iam/grouppolicy.ts +16 -20
- package/providers/aws/generated/resources/iam/instanceprofile.ts +2 -2
- package/providers/aws/generated/resources/iam/managedpolicy.ts +27 -36
- package/providers/aws/generated/resources/iam/oidcprovider.ts +52 -104
- package/providers/aws/generated/resources/iam/policy.ts +33 -90
- package/providers/aws/generated/resources/iam/role.ts +45 -60
- package/providers/aws/generated/resources/iam/rolepolicy.ts +16 -20
- package/providers/aws/generated/resources/iam/samlprovider.ts +72 -164
- package/providers/aws/generated/resources/iam/servercertificate.ts +73 -187
- package/providers/aws/generated/resources/iam/servicelinkedrole.ts +24 -40
- package/providers/aws/generated/resources/iam/user.ts +26 -32
- package/providers/aws/generated/resources/iam/userpolicy.ts +16 -20
- package/providers/aws/generated/resources/iam/usertogroupaddition.ts +2 -2
- package/providers/aws/generated/resources/iam/virtualmfadevice.ts +53 -97
- package/providers/aws/generated/resources/kms/alias.ts +225 -0
- package/providers/aws/generated/resources/kms/key.ts +33 -207
- package/providers/aws/generated/resources/kms/replicakey.ts +292 -0
- package/providers/aws/generated/resources/lambda/alias.ts +301 -0
- package/providers/aws/generated/resources/lambda/codesigningconfig.ts +414 -0
- package/providers/aws/generated/resources/lambda/eventinvokeconfig.ts +677 -0
- package/providers/aws/generated/resources/lambda/eventsourcemapping.ts +1798 -0
- package/providers/aws/generated/resources/lambda/function.ts +135 -181
- package/providers/aws/generated/resources/lambda/layerversion.ts +298 -0
- package/providers/aws/generated/resources/lambda/layerversionpermission.ts +233 -0
- package/providers/aws/generated/resources/lambda/permission.ts +13 -14
- package/providers/aws/generated/resources/lambda/url.ts +452 -0
- package/providers/aws/generated/resources/lambda/version.ts +349 -0
- package/providers/aws/generated/resources/pipes/pipe.ts +3801 -0
- package/providers/aws/generated/resources/rds/dbcluster.ts +1710 -0
- package/providers/aws/generated/resources/rds/dbinstance.ts +2248 -0
- package/providers/aws/generated/resources/rds/dbsubnetgroup.ts +270 -0
- package/providers/aws/generated/resources/route53/healthcheck.ts +648 -0
- package/providers/aws/generated/resources/route53/hostedzone.ts +430 -0
- package/providers/aws/generated/resources/route53/recordset.ts +249 -0
- package/providers/aws/generated/resources/route53/recordsetgroup.ts +263 -0
- package/providers/aws/generated/resources/s3/accesspoint.ts +616 -0
- package/providers/aws/generated/resources/s3/bucket.ts +1733 -1831
- package/providers/aws/generated/resources/s3/bucketpolicy.ts +214 -0
- package/providers/aws/generated/resources/scheduler/schedule.ts +1563 -0
- package/providers/aws/generated/resources/scheduler/schedulegroup.ts +351 -0
- package/providers/aws/generated/resources/secretsmanager/resourcepolicy.ts +242 -0
- package/providers/aws/generated/resources/secretsmanager/rotationschedule.ts +314 -0
- package/providers/aws/generated/resources/secretsmanager/secret.ts +327 -0
- package/providers/aws/generated/resources/secretsmanager/secrettargetattachment.ts +167 -0
- package/providers/aws/generated/resources/sns/subscription.ts +488 -0
- package/providers/aws/generated/resources/sns/topic.ts +60 -88
- package/providers/aws/generated/resources/sns/topicinlinepolicy.ts +169 -0
- package/providers/aws/generated/resources/sns/topicpolicy.ts +172 -0
- package/providers/aws/generated/resources/sqs/queue.ts +53 -82
- package/providers/aws/generated/resources/sqs/queueinlinepolicy.ts +163 -0
- package/providers/aws/generated/resources/sqs/queuepolicy.ts +172 -0
- package/providers/aws/generated/resources/ssm/association.ts +906 -0
- package/providers/aws/generated/resources/ssm/document.ts +472 -0
- package/providers/aws/generated/resources/ssm/maintenancewindow.ts +225 -0
- package/providers/aws/generated/resources/ssm/maintenancewindowtarget.ts +289 -0
- package/providers/aws/generated/resources/ssm/maintenancewindowtask.ts +497 -0
- package/providers/aws/generated/resources/ssm/parameter.ts +258 -0
- package/providers/aws/generated/resources/ssm/patchbaseline.ts +668 -0
- package/providers/aws/generated/resources/ssm/resourcedatasync.ts +465 -0
- package/providers/aws/generated/resources/ssm/resourcepolicy.ts +211 -0
- package/providers/aws/generated/resources/stepfunctions/activity.ts +237 -0
- package/providers/aws/generated/resources/stepfunctions/statemachine.ts +54 -41
- package/providers/aws/generated/resources/stepfunctions/statemachinealias.ts +361 -0
- package/providers/aws/generated/resources/stepfunctions/statemachineversion.ts +202 -0
- package/providers/aws/management/ec2/internetGateway.ts +129 -0
- package/providers/aws/management/ec2/resourceTags.ts +89 -0
- package/providers/aws/management/ec2/route.ts +254 -0
- package/providers/aws/management/ec2/routeTable.ts +138 -0
- package/providers/aws/management/ec2/subnet.ts +511 -0
- package/providers/aws/management/ec2/subnetRouteTableAssociation.ts +129 -0
- package/providers/aws/management/ec2/vpc.ts +466 -0
- package/providers/aws/management/ec2/vpcGatewayAttachment.ts +238 -0
- package/providers/aws/management/iam/role.ts +520 -0
- package/providers/aws/management/lambda/function.ts +651 -0
- package/providers/aws/management/resourcePolicies.ts +102 -0
- package/providers/aws/management/s3/bucket.ts +315 -0
- package/providers/aws/management/s3/bucketConfiguration.ts +1102 -0
- package/providers/aws/runtime.ts +17 -19
- package/src/core/resource/model.ts +13 -3
- package/src/core/resource/resourceCommandPolicy.ts +5 -1
- package/src/core/resource/resourceEntries.ts +193 -0
- package/src/core/resource/resourceLifecycle.ts +39 -23
- package/src/core/stack/planner.ts +78 -40
- package/src/core/stack/resourceStackLifecycle.ts +112 -18
- package/src/core/stack/resourceStackOperations.ts +18 -0
- package/src/core/stack/stackWorkflowRenderer.ts +12 -3
- package/src/core/state/stateStore.ts +47 -10
- package/src/providers/providerRuntimeLayer.ts +1 -1
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsEntitySchema.ts +5 -5055
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsSchema.ts +5 -5055
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsValidators.ts +5058 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsEntitySchema.ts +5 -2443
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsSchema.ts +5 -2443
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsValidators.ts +2446 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsEntitySchema.ts +5 -23
- package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsSchema.ts +5 -23
- package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsValidators.ts +26 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsEntitySchema.ts +5 -63
- package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsSchema.ts +5 -63
- package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsValidators.ts +66 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsEntitySchema.ts +11 -121
- package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsSchema.ts +11 -121
- package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsValidators.ts +130 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsEntitySchema.ts +17 -21
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsSchema.ts +4 -12
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsValidators.ts +109 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsEntitySchema.ts +3 -2
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsSchema.ts +3 -2
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsValidators.ts +11 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsEntitySchema.ts +18 -108
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsSchema.ts +18 -108
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsValidators.ts +122 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsEntitySchema.ts +5 -30
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsSchema.ts +5 -30
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsValidators.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsEntitySchema.ts +5 -110
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsSchema.ts +5 -110
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsValidators.ts +113 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsEntitySchema.ts +42 -218
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsSchema.ts +63 -336
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsValidators.ts +604 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsEntitySchema.ts +11 -123
- package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsSchema.ts +11 -123
- package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsValidators.ts +133 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsEntitySchema.ts +25 -322
- package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsSchema.ts +20 -317
- package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsValidators.ts +359 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsEntitySchema.ts +139 -4161
- package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsSchema.ts +181 -4265
- package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsValidators.ts +4529 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsEntitySchema.ts +5 -86
- package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsSchema.ts +5 -86
- package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsValidators.ts +89 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsEntitySchema.ts +5 -151
- package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsSchema.ts +5 -151
- package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsValidators.ts +154 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsEntitySchema.ts +34 -169
- package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsSchema.ts +24 -159
- package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsValidators.ts +235 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsEntitySchema.ts +46 -644
- package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsSchema.ts +41 -639
- package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsValidators.ts +691 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsEntitySchema.ts +5 -46
- package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsSchema.ts +5 -46
- package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsValidators.ts +49 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsEntitySchema.ts +5 -160
- package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsSchema.ts +5 -160
- package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsValidators.ts +163 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsEntitySchema.ts +8 -19
- package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsSchema.ts +8 -19
- package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsValidators.ts +28 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsEntitySchema.ts +5 -55
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsSchema.ts +5 -55
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsValidators.ts +58 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsEntitySchema.ts +36 -121
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsSchema.ts +24 -111
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsValidators.ts +183 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsEntitySchema.ts +5 -119
- package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsSchema.ts +5 -119
- package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsValidators.ts +122 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsEntitySchema.ts +5 -45
- package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsSchema.ts +5 -45
- package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsValidators.ts +48 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsEntitySchema.ts +5 -195
- package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsSchema.ts +5 -195
- package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsValidators.ts +198 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsEntitySchema.ts +5 -97
- package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsSchema.ts +5 -97
- package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsValidators.ts +100 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsEntitySchema.ts +69 -1282
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsSchema.ts +43 -1259
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsValidators.ts +1417 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsEntitySchema.ts +32 -126
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsSchema.ts +27 -121
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsValidators.ts +172 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsEntitySchema.ts +32 -2103
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsSchema.ts +32 -2103
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsValidators.ts +2134 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsEntitySchema.ts +37 -2065
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsSchema.ts +32 -2060
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsValidators.ts +2196 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsEntitySchema.ts +56 -97
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsSchema.ts +98 -251
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsValidators.ts +1024 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsEntitySchema.ts +14 -89
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsSchema.ts +14 -89
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsValidators.ts +100 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsEntitySchema.ts +5 -246
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsSchema.ts +5 -246
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsValidators.ts +249 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsEntitySchema.ts +5 -115
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsSchema.ts +5 -115
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsValidators.ts +118 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsEntitySchema.ts +65 -5205
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsSchema.ts +59 -5200
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsValidators.ts +5124 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsEntitySchema.ts +101 -1508
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsSchema.ts +95 -1598
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsValidators.ts +2039 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsEntitySchema.ts +5 -2272
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsSchema.ts +5 -2272
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsValidators.ts +2276 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsEntitySchema.ts +5 -37
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsSchema.ts +5 -37
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsValidators.ts +40 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsEntitySchema.ts +194 -1425
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsSchema.ts +194 -1425
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsValidators.ts +1580 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsEntitySchema.ts +5 -265
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsSchema.ts +5 -265
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsValidators.ts +268 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsEntitySchema.ts +14 -28
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsSchema.ts +14 -28
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsValidators.ts +42 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsEntitySchema.ts +26 -96
- package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsSchema.ts +26 -96
- package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsValidators.ts +117 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsEntitySchema.ts +35 -314
- package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsSchema.ts +35 -314
- package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsValidators.ts +330 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsEntitySchema.ts +5 -33
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsSchema.ts +5 -33
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsValidators.ts +37 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsEntitySchema.ts +16 -43
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsSchema.ts +9 -39
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsValidators.ts +105 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsEntitySchema.ts +5 -358
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsSchema.ts +5 -358
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsValidators.ts +361 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsEntitySchema.ts +18 -66
- package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsSchema.ts +11 -61
- package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsValidators.ts +100 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsEntitySchema.ts +73 -366
- package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsSchema.ts +49 -345
- package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsValidators.ts +569 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsEntitySchema.ts +5 -39
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsSchema.ts +5 -39
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsValidators.ts +42 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsEntitySchema.ts +5 -76
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsSchema.ts +5 -76
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsValidators.ts +79 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsEntitySchema.ts +5 -27
- package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsSchema.ts +5 -27
- package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsValidators.ts +30 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsEntitySchema.ts +11 -30
- package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsSchema.ts +11 -30
- package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsValidators.ts +41 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsEntitySchema.ts +5 -1356
- package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsSchema.ts +5 -1356
- package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsValidators.ts +1359 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsEntitySchema.ts +35 -2767
- package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsSchema.ts +35 -2767
- package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsValidators.ts +2761 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsEntitySchema.ts +5 -170
- package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsSchema.ts +5 -170
- package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsValidators.ts +173 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsEntitySchema.ts +5 -549
- package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsSchema.ts +5 -549
- package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsValidators.ts +552 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsEntitySchema.ts +32 -143
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsSchema.ts +27 -138
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsValidators.ts +187 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsEntitySchema.ts +99 -1668
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsSchema.ts +70 -1644
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsValidators.ts +1872 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsEntitySchema.ts +123 -497
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsSchema.ts +118 -755
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsValidators.ts +1902 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsEntitySchema.ts +23 -301
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsSchema.ts +11 -291
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsValidators.ts +359 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsEntitySchema.ts +5 -113
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsSchema.ts +5 -113
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsValidators.ts +116 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsEntitySchema.ts +5 -159
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsSchema.ts +5 -159
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsValidators.ts +162 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsEntitySchema.ts +5 -3321
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsSchema.ts +5 -3321
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsValidators.ts +3324 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsEntitySchema.ts +73 -698
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsSchema.ts +23 -646
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsValidators.ts +931 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsEntitySchema.ts +5 -292
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsSchema.ts +5 -292
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsValidators.ts +295 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsEntitySchema.ts +8 -19
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsSchema.ts +8 -19
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsValidators.ts +29 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsEntitySchema.ts +5 -47
- package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsSchema.ts +5 -47
- package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsValidators.ts +51 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsEntitySchema.ts +40 -629
- package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsSchema.ts +40 -629
- package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsValidators.ts +655 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsEntitySchema.ts +5 -2387
- package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsSchema.ts +5 -2387
- package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsValidators.ts +2391 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsEntitySchema.ts +11 -50
- package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsSchema.ts +11 -50
- package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsValidators.ts +58 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsEntitySchema.ts +11 -21
- package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsSchema.ts +11 -21
- package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsValidators.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsEntitySchema.ts +5 -36
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsSchema.ts +5 -36
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsValidators.ts +40 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsEntitySchema.ts +5 -36
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsSchema.ts +5 -36
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsValidators.ts +40 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsEntitySchema.ts +5 -276
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsSchema.ts +5 -275
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsValidators.ts +279 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsEntitySchema.ts +5 -73
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsSchema.ts +5 -73
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsValidators.ts +77 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsEntitySchema.ts +5 -340
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsSchema.ts +5 -340
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsValidators.ts +344 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsEntitySchema.ts +5 -137
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsSchema.ts +5 -137
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsValidators.ts +141 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsEntitySchema.ts +5 -45
- package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsSchema.ts +5 -45
- package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsValidators.ts +48 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsEntitySchema.ts +144 -3036
- package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsSchema.ts +279 -3175
- package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsValidators.ts +3457 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsEntitySchema.ts +5 -883
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsSchema.ts +5 -882
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsValidators.ts +886 -0
- package/src/providers/stripe/client/stripeClient.ts +11 -15
- package/providers/aws/generated/managementRegistry.ts +0 -136
- package/providers/aws/management/mappings/iam/group.ts +0 -63
- package/providers/aws/management/mappings/iam/iamIdentity.ts +0 -41
- package/providers/aws/management/mappings/iam/iamLifecycleSettings.ts +0 -8
- package/providers/aws/management/mappings/iam/inlinePolicies.ts +0 -159
- package/providers/aws/management/mappings/iam/instanceProfile.ts +0 -77
- package/providers/aws/management/mappings/iam/oidcProvider.ts +0 -94
- package/providers/aws/management/mappings/iam/role.ts +0 -74
- package/providers/aws/management/mappings/iam/samlProvider.ts +0 -98
- package/providers/aws/management/mappings/iam/serverCertificate.ts +0 -72
- package/providers/aws/management/mappings/iam/user.ts +0 -61
- package/providers/aws/management/mappings/iam/userToGroupAddition.ts +0 -75
- package/providers/aws/management/operations/iam/accessKey.ts +0 -206
- package/providers/aws/management/operations/iam/managedPolicy.ts +0 -491
- package/providers/aws/management/operations/iam/policy.ts +0 -476
- package/providers/aws/management/operations/iam/serviceLinkedRole.ts +0 -172
- package/providers/aws/management/operations/iam/virtualMfaDevice.ts +0 -253
- package/providers/aws/management/resourceAssociationConfiguration.ts +0 -112
- package/providers/aws/management/resourceAssociationRegistration.ts +0 -349
- package/providers/aws/management/resourceAssociations.ts +0 -168
- package/providers/aws/management/resourceConfiguration.ts +0 -119
- package/providers/aws/management/resourceLifecycleRegistration.ts +0 -540
- package/providers/aws/management/resourceManagementModule.ts +0 -31
- package/providers/aws/management/resourceManagementRegistry.ts +0 -62
- package/providers/aws/management/resourceMapping.ts +0 -84
- package/providers/aws/management/resourceOperation.ts +0 -134
- package/providers/aws/management/resourceTagOperations.ts +0 -108
- package/providers/aws/management/resourceTiming.ts +0 -4
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_1.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_10.ts +0 -44
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_100.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_101.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_102.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_103.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_104.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_105.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_106.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_107.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_108.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_11.ts +0 -68
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_12.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_13.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_14.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_15.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_16.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_17.ts +0 -44
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_18.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_19.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_2.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_20.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_21.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_22.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_23.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_24.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_25.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_26.ts +0 -44
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_27.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_28.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_29.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_3.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_30.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_31.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_32.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_33.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_34.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_35.ts +0 -59
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_36.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_37.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_38.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_39.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_4.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_40.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_41.ts +0 -111
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_42.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_43.ts +0 -77
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_44.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_45.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_46.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_47.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_48.ts +0 -50
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_49.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_5.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_50.ts +0 -83
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_51.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_52.ts +0 -50
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_53.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_54.ts +0 -74
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_55.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_56.ts +0 -65
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_57.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_58.ts +0 -79
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_59.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_6.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_60.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_61.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_62.ts +0 -44
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_63.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_64.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_65.ts +0 -44
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_66.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_67.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_68.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_69.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_7.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_70.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_71.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_72.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_73.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_74.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_75.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_76.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_77.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_78.ts +0 -44
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_79.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_8.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_80.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_81.ts +0 -39
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_82.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_83.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_84.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_85.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_86.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_87.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_88.ts +0 -56
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_89.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_9.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_90.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_91.ts +0 -44
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_92.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_93.ts +0 -56
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_94.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_95.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_96.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_97.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_98.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_99.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems.ts +0 -38
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_1.ts +0 -39
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_2.ts +0 -38
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_3.ts +0 -154
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_4.ts +0 -51
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_5.ts +0 -120
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties.ts +0 -32
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_1.ts +0 -37
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_10.ts +0 -125
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_11.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_12.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_13.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_14.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_15.ts +0 -32
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_16.ts +0 -37
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_17.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_18.ts +0 -130
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_19.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_2.ts +0 -39
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_20.ts +0 -89
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_21.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_22.ts +0 -30
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_23.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_24.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_25.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_26.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_27.ts +0 -97
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_28.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_29.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_3.ts +0 -37
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_30.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_31.ts +0 -97
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_32.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_33.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_4.ts +0 -37
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_5.ts +0 -53
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_6.ts +0 -42
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_7.ts +0 -63
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_8.ts +0 -94
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_9.ts +0 -34
package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsValidators.ts
ADDED
|
@@ -0,0 +1,2039 @@
|
|
|
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 {
|
|
6
|
+
type ResourceEntity,
|
|
7
|
+
type ResourceInputJson,
|
|
8
|
+
ResourceInputJsonSchema,
|
|
9
|
+
ResourceReferenceSchema,
|
|
10
|
+
} from "../../../../../core/resource/model.js";
|
|
11
|
+
|
|
12
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputProperties = {
|
|
13
|
+
readonly hosted_confirmation?: { readonly custom_message?: string } & {
|
|
14
|
+
readonly [x: string]: Schema.Json;
|
|
15
|
+
};
|
|
16
|
+
readonly redirect?: { readonly url: string } & {
|
|
17
|
+
readonly [x: string]: Schema.Json;
|
|
18
|
+
};
|
|
19
|
+
readonly type: "hosted_confirmation" | "redirect";
|
|
20
|
+
} & { readonly [x: string]: Schema.Json };
|
|
21
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputAlternatives =
|
|
22
|
+
| "account"
|
|
23
|
+
| "self";
|
|
24
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputAlternatives_1 =
|
|
25
|
+
| "auto"
|
|
26
|
+
| "required";
|
|
27
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputProperties_1 = {
|
|
28
|
+
readonly payment_method_reuse_agreement?: {
|
|
29
|
+
readonly position: "auto" | "hidden";
|
|
30
|
+
} & { readonly [x: string]: Schema.Json };
|
|
31
|
+
readonly promotions?: "auto" | "none";
|
|
32
|
+
readonly terms_of_service?: "none" | "required";
|
|
33
|
+
} & { readonly [x: string]: Schema.Json };
|
|
34
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputItems =
|
|
35
|
+
globalThis.ReadonlyArray<
|
|
36
|
+
{
|
|
37
|
+
readonly dropdown?: {
|
|
38
|
+
readonly default_value?: string;
|
|
39
|
+
readonly options: globalThis.ReadonlyArray<
|
|
40
|
+
{ readonly label: string; readonly value: string } & {
|
|
41
|
+
readonly [x: string]: Schema.Json;
|
|
42
|
+
}
|
|
43
|
+
>;
|
|
44
|
+
} & { readonly [x: string]: Schema.Json };
|
|
45
|
+
readonly key: string;
|
|
46
|
+
readonly label: { readonly custom: string; readonly type: "custom" } & {
|
|
47
|
+
readonly [x: string]: Schema.Json;
|
|
48
|
+
};
|
|
49
|
+
readonly numeric?: {
|
|
50
|
+
readonly default_value?: string;
|
|
51
|
+
readonly maximum_length?: number;
|
|
52
|
+
readonly minimum_length?: number;
|
|
53
|
+
} & { readonly [x: string]: Schema.Json };
|
|
54
|
+
readonly optional?: boolean;
|
|
55
|
+
readonly text?: {
|
|
56
|
+
readonly default_value?: string;
|
|
57
|
+
readonly maximum_length?: number;
|
|
58
|
+
readonly minimum_length?: number;
|
|
59
|
+
} & { readonly [x: string]: Schema.Json };
|
|
60
|
+
readonly type: "dropdown" | "numeric" | "text";
|
|
61
|
+
} & { readonly [x: string]: Schema.Json }
|
|
62
|
+
>;
|
|
63
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputProperties_2 = {
|
|
64
|
+
readonly after_submit?:
|
|
65
|
+
| ({ readonly message: string } & { readonly [x: string]: Schema.Json })
|
|
66
|
+
| "";
|
|
67
|
+
readonly shipping_address?:
|
|
68
|
+
| ({ readonly message: string } & { readonly [x: string]: Schema.Json })
|
|
69
|
+
| "";
|
|
70
|
+
readonly submit?:
|
|
71
|
+
| ({ readonly message: string } & { readonly [x: string]: Schema.Json })
|
|
72
|
+
| "";
|
|
73
|
+
readonly terms_of_service_acceptance?:
|
|
74
|
+
| ({ readonly message: string } & { readonly [x: string]: Schema.Json })
|
|
75
|
+
| "";
|
|
76
|
+
} & { readonly [x: string]: Schema.Json };
|
|
77
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputAlternatives_2 =
|
|
78
|
+
| "always"
|
|
79
|
+
| "if_required";
|
|
80
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputItems_1 =
|
|
81
|
+
globalThis.ReadonlyArray<string>;
|
|
82
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputAlternatives_3 =
|
|
83
|
+
| globalThis.ReadonlyArray<
|
|
84
|
+
{ readonly name: string; readonly value: string } & {
|
|
85
|
+
readonly [x: string]: Schema.Json;
|
|
86
|
+
}
|
|
87
|
+
>
|
|
88
|
+
| "";
|
|
89
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputAlternatives_4 =
|
|
90
|
+
| "account"
|
|
91
|
+
| "self";
|
|
92
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputAlternatives_5 =
|
|
93
|
+
| { readonly [x: string]: string }
|
|
94
|
+
| "";
|
|
95
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputAlternatives_6 =
|
|
96
|
+
| ({
|
|
97
|
+
readonly amount_tax_display?:
|
|
98
|
+
| ""
|
|
99
|
+
| "exclude_tax"
|
|
100
|
+
| "include_inclusive_tax";
|
|
101
|
+
readonly template?: string;
|
|
102
|
+
} & { readonly [x: string]: Schema.Json })
|
|
103
|
+
| "";
|
|
104
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputItems_2 =
|
|
105
|
+
globalThis.ReadonlyArray<
|
|
106
|
+
{
|
|
107
|
+
readonly adjustable_quantity?: {
|
|
108
|
+
readonly enabled: boolean;
|
|
109
|
+
readonly maximum?: number;
|
|
110
|
+
readonly minimum?: number;
|
|
111
|
+
} & { readonly [x: string]: Schema.Json };
|
|
112
|
+
readonly price?: string;
|
|
113
|
+
readonly price_data?: {
|
|
114
|
+
readonly currency: string;
|
|
115
|
+
readonly product?: string;
|
|
116
|
+
readonly product_data?: {
|
|
117
|
+
readonly description?: string;
|
|
118
|
+
readonly images?: globalThis.ReadonlyArray<string>;
|
|
119
|
+
readonly metadata?: { readonly [x: string]: string };
|
|
120
|
+
readonly name: string;
|
|
121
|
+
readonly tax_code?: string;
|
|
122
|
+
readonly tax_details?: {
|
|
123
|
+
readonly performance_location?: string;
|
|
124
|
+
readonly tax_code?: string | "";
|
|
125
|
+
} & { readonly [x: string]: Schema.Json };
|
|
126
|
+
readonly unit_label?: string;
|
|
127
|
+
} & { readonly [x: string]: Schema.Json };
|
|
128
|
+
readonly recurring?: {
|
|
129
|
+
readonly interval: "day" | "month" | "week" | "year";
|
|
130
|
+
readonly interval_count?: number;
|
|
131
|
+
} & { readonly [x: string]: Schema.Json };
|
|
132
|
+
readonly tax_behavior?: "exclusive" | "inclusive" | "unspecified";
|
|
133
|
+
readonly unit_amount?: number;
|
|
134
|
+
readonly unit_amount_decimal?: string;
|
|
135
|
+
} & { readonly [x: string]: Schema.Json };
|
|
136
|
+
readonly quantity: number;
|
|
137
|
+
} & { readonly [x: string]: Schema.Json }
|
|
138
|
+
>;
|
|
139
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputProperties_3 = {
|
|
140
|
+
readonly enabled?: boolean;
|
|
141
|
+
} & { readonly [x: string]: Schema.Json };
|
|
142
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputProperties_4 = {
|
|
143
|
+
readonly [x: string]: string;
|
|
144
|
+
};
|
|
145
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputProperties_5 = {
|
|
146
|
+
readonly business?: {
|
|
147
|
+
readonly enabled: boolean;
|
|
148
|
+
readonly optional?: boolean;
|
|
149
|
+
} & { readonly [x: string]: Schema.Json };
|
|
150
|
+
readonly individual?: {
|
|
151
|
+
readonly enabled: boolean;
|
|
152
|
+
readonly optional?: boolean;
|
|
153
|
+
} & { readonly [x: string]: Schema.Json };
|
|
154
|
+
} & { readonly [x: string]: Schema.Json };
|
|
155
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputItems_3 =
|
|
156
|
+
globalThis.ReadonlyArray<
|
|
157
|
+
{
|
|
158
|
+
readonly adjustable_quantity?: {
|
|
159
|
+
readonly enabled: boolean;
|
|
160
|
+
readonly maximum?: number;
|
|
161
|
+
readonly minimum?: number;
|
|
162
|
+
} & { readonly [x: string]: Schema.Json };
|
|
163
|
+
readonly price: string;
|
|
164
|
+
readonly quantity: number;
|
|
165
|
+
} & { readonly [x: string]: Schema.Json }
|
|
166
|
+
>;
|
|
167
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputProperties_6 = {
|
|
168
|
+
readonly capture_method?: "automatic" | "automatic_async" | "manual";
|
|
169
|
+
readonly description?: string;
|
|
170
|
+
readonly metadata?: { readonly [x: string]: string };
|
|
171
|
+
readonly setup_future_usage?: "off_session" | "on_session";
|
|
172
|
+
readonly statement_descriptor?: string;
|
|
173
|
+
readonly statement_descriptor_suffix?: string;
|
|
174
|
+
readonly transfer_group?: string;
|
|
175
|
+
} & { readonly [x: string]: Schema.Json };
|
|
176
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputAlternatives_7 =
|
|
177
|
+
| "always"
|
|
178
|
+
| "if_required";
|
|
179
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputProperties_7 = {
|
|
180
|
+
readonly card?: {
|
|
181
|
+
readonly restrictions?: {
|
|
182
|
+
readonly brands_blocked?: globalThis.ReadonlyArray<
|
|
183
|
+
"american_express" | "discover_global_network" | "mastercard" | "visa"
|
|
184
|
+
>;
|
|
185
|
+
} & { readonly [x: string]: Schema.Json };
|
|
186
|
+
} & { readonly [x: string]: Schema.Json };
|
|
187
|
+
} & { readonly [x: string]: Schema.Json };
|
|
188
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputItems_4 =
|
|
189
|
+
globalThis.ReadonlyArray<
|
|
190
|
+
| "affirm"
|
|
191
|
+
| "afterpay_clearpay"
|
|
192
|
+
| "alipay"
|
|
193
|
+
| "alma"
|
|
194
|
+
| "au_becs_debit"
|
|
195
|
+
| "bacs_debit"
|
|
196
|
+
| "bancontact"
|
|
197
|
+
| "billie"
|
|
198
|
+
| "bizum"
|
|
199
|
+
| "blik"
|
|
200
|
+
| "boleto"
|
|
201
|
+
| "card"
|
|
202
|
+
| "cashapp"
|
|
203
|
+
| "eps"
|
|
204
|
+
| "fpx"
|
|
205
|
+
| "giropay"
|
|
206
|
+
| "grabpay"
|
|
207
|
+
| "ideal"
|
|
208
|
+
| "klarna"
|
|
209
|
+
| "konbini"
|
|
210
|
+
| "link"
|
|
211
|
+
| "mb_way"
|
|
212
|
+
| "mobilepay"
|
|
213
|
+
| "multibanco"
|
|
214
|
+
| "oxxo"
|
|
215
|
+
| "p24"
|
|
216
|
+
| "pay_by_bank"
|
|
217
|
+
| "paynow"
|
|
218
|
+
| "paypal"
|
|
219
|
+
| "paypay"
|
|
220
|
+
| "payto"
|
|
221
|
+
| "pix"
|
|
222
|
+
| "promptpay"
|
|
223
|
+
| "satispay"
|
|
224
|
+
| "scalapay"
|
|
225
|
+
| "sepa_debit"
|
|
226
|
+
| "sequra"
|
|
227
|
+
| "sofort"
|
|
228
|
+
| "sunbit"
|
|
229
|
+
| "swish"
|
|
230
|
+
| "twint"
|
|
231
|
+
| "upi"
|
|
232
|
+
| "us_bank_account"
|
|
233
|
+
| "wechat_pay"
|
|
234
|
+
| "zip"
|
|
235
|
+
>;
|
|
236
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputProperties_8 = {
|
|
237
|
+
readonly enabled: boolean;
|
|
238
|
+
} & { readonly [x: string]: Schema.Json };
|
|
239
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputProperties_9 = {
|
|
240
|
+
readonly completed_sessions: { readonly limit: number } & {
|
|
241
|
+
readonly [x: string]: Schema.Json;
|
|
242
|
+
};
|
|
243
|
+
} & { readonly [x: string]: Schema.Json };
|
|
244
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputProperties_10 = {
|
|
245
|
+
readonly allowed_countries: globalThis.ReadonlyArray<
|
|
246
|
+
| "AC"
|
|
247
|
+
| "AD"
|
|
248
|
+
| "AE"
|
|
249
|
+
| "AF"
|
|
250
|
+
| "AG"
|
|
251
|
+
| "AI"
|
|
252
|
+
| "AL"
|
|
253
|
+
| "AM"
|
|
254
|
+
| "AO"
|
|
255
|
+
| "AQ"
|
|
256
|
+
| "AR"
|
|
257
|
+
| "AT"
|
|
258
|
+
| "AU"
|
|
259
|
+
| "AW"
|
|
260
|
+
| "AX"
|
|
261
|
+
| "AZ"
|
|
262
|
+
| "BA"
|
|
263
|
+
| "BB"
|
|
264
|
+
| "BD"
|
|
265
|
+
| "BE"
|
|
266
|
+
| "BF"
|
|
267
|
+
| "BG"
|
|
268
|
+
| "BH"
|
|
269
|
+
| "BI"
|
|
270
|
+
| "BJ"
|
|
271
|
+
| "BL"
|
|
272
|
+
| "BM"
|
|
273
|
+
| "BN"
|
|
274
|
+
| "BO"
|
|
275
|
+
| "BQ"
|
|
276
|
+
| "BR"
|
|
277
|
+
| "BS"
|
|
278
|
+
| "BT"
|
|
279
|
+
| "BV"
|
|
280
|
+
| "BW"
|
|
281
|
+
| "BY"
|
|
282
|
+
| "BZ"
|
|
283
|
+
| "CA"
|
|
284
|
+
| "CD"
|
|
285
|
+
| "CF"
|
|
286
|
+
| "CG"
|
|
287
|
+
| "CH"
|
|
288
|
+
| "CI"
|
|
289
|
+
| "CK"
|
|
290
|
+
| "CL"
|
|
291
|
+
| "CM"
|
|
292
|
+
| "CN"
|
|
293
|
+
| "CO"
|
|
294
|
+
| "CR"
|
|
295
|
+
| "CV"
|
|
296
|
+
| "CW"
|
|
297
|
+
| "CY"
|
|
298
|
+
| "CZ"
|
|
299
|
+
| "DE"
|
|
300
|
+
| "DJ"
|
|
301
|
+
| "DK"
|
|
302
|
+
| "DM"
|
|
303
|
+
| "DO"
|
|
304
|
+
| "DZ"
|
|
305
|
+
| "EC"
|
|
306
|
+
| "EE"
|
|
307
|
+
| "EG"
|
|
308
|
+
| "EH"
|
|
309
|
+
| "ER"
|
|
310
|
+
| "ES"
|
|
311
|
+
| "ET"
|
|
312
|
+
| "FI"
|
|
313
|
+
| "FJ"
|
|
314
|
+
| "FK"
|
|
315
|
+
| "FO"
|
|
316
|
+
| "FR"
|
|
317
|
+
| "GA"
|
|
318
|
+
| "GB"
|
|
319
|
+
| "GD"
|
|
320
|
+
| "GE"
|
|
321
|
+
| "GF"
|
|
322
|
+
| "GG"
|
|
323
|
+
| "GH"
|
|
324
|
+
| "GI"
|
|
325
|
+
| "GL"
|
|
326
|
+
| "GM"
|
|
327
|
+
| "GN"
|
|
328
|
+
| "GP"
|
|
329
|
+
| "GQ"
|
|
330
|
+
| "GR"
|
|
331
|
+
| "GS"
|
|
332
|
+
| "GT"
|
|
333
|
+
| "GU"
|
|
334
|
+
| "GW"
|
|
335
|
+
| "GY"
|
|
336
|
+
| "HK"
|
|
337
|
+
| "HN"
|
|
338
|
+
| "HR"
|
|
339
|
+
| "HT"
|
|
340
|
+
| "HU"
|
|
341
|
+
| "ID"
|
|
342
|
+
| "IE"
|
|
343
|
+
| "IL"
|
|
344
|
+
| "IM"
|
|
345
|
+
| "IN"
|
|
346
|
+
| "IO"
|
|
347
|
+
| "IQ"
|
|
348
|
+
| "IS"
|
|
349
|
+
| "IT"
|
|
350
|
+
| "JE"
|
|
351
|
+
| "JM"
|
|
352
|
+
| "JO"
|
|
353
|
+
| "JP"
|
|
354
|
+
| "KE"
|
|
355
|
+
| "KG"
|
|
356
|
+
| "KH"
|
|
357
|
+
| "KI"
|
|
358
|
+
| "KM"
|
|
359
|
+
| "KN"
|
|
360
|
+
| "KR"
|
|
361
|
+
| "KW"
|
|
362
|
+
| "KY"
|
|
363
|
+
| "KZ"
|
|
364
|
+
| "LA"
|
|
365
|
+
| "LB"
|
|
366
|
+
| "LC"
|
|
367
|
+
| "LI"
|
|
368
|
+
| "LK"
|
|
369
|
+
| "LR"
|
|
370
|
+
| "LS"
|
|
371
|
+
| "LT"
|
|
372
|
+
| "LU"
|
|
373
|
+
| "LV"
|
|
374
|
+
| "LY"
|
|
375
|
+
| "MA"
|
|
376
|
+
| "MC"
|
|
377
|
+
| "MD"
|
|
378
|
+
| "ME"
|
|
379
|
+
| "MF"
|
|
380
|
+
| "MG"
|
|
381
|
+
| "MK"
|
|
382
|
+
| "ML"
|
|
383
|
+
| "MM"
|
|
384
|
+
| "MN"
|
|
385
|
+
| "MO"
|
|
386
|
+
| "MQ"
|
|
387
|
+
| "MR"
|
|
388
|
+
| "MS"
|
|
389
|
+
| "MT"
|
|
390
|
+
| "MU"
|
|
391
|
+
| "MV"
|
|
392
|
+
| "MW"
|
|
393
|
+
| "MX"
|
|
394
|
+
| "MY"
|
|
395
|
+
| "MZ"
|
|
396
|
+
| "NA"
|
|
397
|
+
| "NC"
|
|
398
|
+
| "NE"
|
|
399
|
+
| "NG"
|
|
400
|
+
| "NI"
|
|
401
|
+
| "NL"
|
|
402
|
+
| "NO"
|
|
403
|
+
| "NP"
|
|
404
|
+
| "NR"
|
|
405
|
+
| "NU"
|
|
406
|
+
| "NZ"
|
|
407
|
+
| "OM"
|
|
408
|
+
| "PA"
|
|
409
|
+
| "PE"
|
|
410
|
+
| "PF"
|
|
411
|
+
| "PG"
|
|
412
|
+
| "PH"
|
|
413
|
+
| "PK"
|
|
414
|
+
| "PL"
|
|
415
|
+
| "PM"
|
|
416
|
+
| "PN"
|
|
417
|
+
| "PR"
|
|
418
|
+
| "PS"
|
|
419
|
+
| "PT"
|
|
420
|
+
| "PY"
|
|
421
|
+
| "QA"
|
|
422
|
+
| "RE"
|
|
423
|
+
| "RO"
|
|
424
|
+
| "RS"
|
|
425
|
+
| "RU"
|
|
426
|
+
| "RW"
|
|
427
|
+
| "SA"
|
|
428
|
+
| "SB"
|
|
429
|
+
| "SC"
|
|
430
|
+
| "SD"
|
|
431
|
+
| "SE"
|
|
432
|
+
| "SG"
|
|
433
|
+
| "SH"
|
|
434
|
+
| "SI"
|
|
435
|
+
| "SJ"
|
|
436
|
+
| "SK"
|
|
437
|
+
| "SL"
|
|
438
|
+
| "SM"
|
|
439
|
+
| "SN"
|
|
440
|
+
| "SO"
|
|
441
|
+
| "SR"
|
|
442
|
+
| "SS"
|
|
443
|
+
| "ST"
|
|
444
|
+
| "SV"
|
|
445
|
+
| "SX"
|
|
446
|
+
| "SZ"
|
|
447
|
+
| "TA"
|
|
448
|
+
| "TC"
|
|
449
|
+
| "TD"
|
|
450
|
+
| "TF"
|
|
451
|
+
| "TG"
|
|
452
|
+
| "TH"
|
|
453
|
+
| "TJ"
|
|
454
|
+
| "TK"
|
|
455
|
+
| "TL"
|
|
456
|
+
| "TM"
|
|
457
|
+
| "TN"
|
|
458
|
+
| "TO"
|
|
459
|
+
| "TR"
|
|
460
|
+
| "TT"
|
|
461
|
+
| "TV"
|
|
462
|
+
| "TW"
|
|
463
|
+
| "TZ"
|
|
464
|
+
| "UA"
|
|
465
|
+
| "UG"
|
|
466
|
+
| "US"
|
|
467
|
+
| "UY"
|
|
468
|
+
| "UZ"
|
|
469
|
+
| "VA"
|
|
470
|
+
| "VC"
|
|
471
|
+
| "VE"
|
|
472
|
+
| "VG"
|
|
473
|
+
| "VN"
|
|
474
|
+
| "VU"
|
|
475
|
+
| "WF"
|
|
476
|
+
| "WS"
|
|
477
|
+
| "XK"
|
|
478
|
+
| "YE"
|
|
479
|
+
| "YT"
|
|
480
|
+
| "ZA"
|
|
481
|
+
| "ZM"
|
|
482
|
+
| "ZW"
|
|
483
|
+
| "ZZ"
|
|
484
|
+
>;
|
|
485
|
+
} & { readonly [x: string]: Schema.Json };
|
|
486
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputAlternatives_8 =
|
|
487
|
+
| "auto"
|
|
488
|
+
| "book"
|
|
489
|
+
| "donate"
|
|
490
|
+
| "pay"
|
|
491
|
+
| "subscribe";
|
|
492
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputAlternatives_9 =
|
|
493
|
+
| globalThis.ReadonlyArray<
|
|
494
|
+
{ readonly name: string; readonly value: string } & {
|
|
495
|
+
readonly [x: string]: Schema.Json;
|
|
496
|
+
}
|
|
497
|
+
>
|
|
498
|
+
| "";
|
|
499
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputAlternatives_10 =
|
|
500
|
+
| "account"
|
|
501
|
+
| "self";
|
|
502
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputProperties_11 = {
|
|
503
|
+
readonly [x: string]: string;
|
|
504
|
+
};
|
|
505
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputProperties_12 = {
|
|
506
|
+
readonly end_behavior: {
|
|
507
|
+
readonly missing_payment_method: "cancel" | "create_invoice" | "pause";
|
|
508
|
+
} & { readonly [x: string]: Schema.Json };
|
|
509
|
+
} & { readonly [x: string]: Schema.Json };
|
|
510
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputProperties_13 = {
|
|
511
|
+
readonly enabled: boolean;
|
|
512
|
+
readonly required?: "if_supported" | "never";
|
|
513
|
+
} & { readonly [x: string]: Schema.Json };
|
|
514
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputAlternatives_11 =
|
|
515
|
+
ResourceEntity<{
|
|
516
|
+
readonly provider: "stripe";
|
|
517
|
+
readonly service: "billing";
|
|
518
|
+
readonly resource: "v1-account";
|
|
519
|
+
}>;
|
|
520
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputProperties_14 = {
|
|
521
|
+
readonly account?: StripePaymentLinkPropsSchemaInputResourceInputAlternatives_11;
|
|
522
|
+
readonly type: StripePaymentLinkPropsSchemaInputResourceInputAlternatives;
|
|
523
|
+
} & {
|
|
524
|
+
readonly [x: string]:
|
|
525
|
+
| ResourceInputJson
|
|
526
|
+
| StripePaymentLinkPropsSchemaInputResourceInputAlternatives_11;
|
|
527
|
+
};
|
|
528
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputAlternatives_12 =
|
|
529
|
+
| globalThis.ReadonlyArray<
|
|
530
|
+
ResourceEntity<{
|
|
531
|
+
readonly provider: "stripe";
|
|
532
|
+
readonly service: "billing";
|
|
533
|
+
readonly resource: "tax-id";
|
|
534
|
+
}>
|
|
535
|
+
>
|
|
536
|
+
| "";
|
|
537
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputAlternatives_13 =
|
|
538
|
+
ResourceEntity<{
|
|
539
|
+
readonly provider: "stripe";
|
|
540
|
+
readonly service: "billing";
|
|
541
|
+
readonly resource: "v1-account";
|
|
542
|
+
}>;
|
|
543
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputProperties_16 = {
|
|
544
|
+
readonly account?: StripePaymentLinkPropsSchemaInputResourceInputAlternatives_13;
|
|
545
|
+
readonly type: StripePaymentLinkPropsSchemaInputResourceInputAlternatives_4;
|
|
546
|
+
} & {
|
|
547
|
+
readonly [x: string]:
|
|
548
|
+
| ResourceInputJson
|
|
549
|
+
| StripePaymentLinkPropsSchemaInputResourceInputAlternatives_13;
|
|
550
|
+
};
|
|
551
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputProperties_15 = {
|
|
552
|
+
readonly account_tax_ids?: StripePaymentLinkPropsSchemaInputResourceInputAlternatives_12;
|
|
553
|
+
readonly custom_fields?: StripePaymentLinkPropsSchemaInputResourceInputAlternatives_3;
|
|
554
|
+
readonly description?: string;
|
|
555
|
+
readonly footer?: string;
|
|
556
|
+
readonly issuer?: StripePaymentLinkPropsSchemaInputResourceInputProperties_16;
|
|
557
|
+
readonly metadata?: StripePaymentLinkPropsSchemaInputResourceInputAlternatives_5;
|
|
558
|
+
readonly rendering_options?: StripePaymentLinkPropsSchemaInputResourceInputAlternatives_6;
|
|
559
|
+
} & {
|
|
560
|
+
readonly [x: string]:
|
|
561
|
+
| ResourceInputJson
|
|
562
|
+
| StripePaymentLinkPropsSchemaInputResourceInputAlternatives_12
|
|
563
|
+
| StripePaymentLinkPropsSchemaInputResourceInputProperties_16;
|
|
564
|
+
};
|
|
565
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputAlternatives_14 =
|
|
566
|
+
ResourceEntity<{
|
|
567
|
+
readonly provider: "stripe";
|
|
568
|
+
readonly service: "billing";
|
|
569
|
+
readonly resource: "shipping-rate";
|
|
570
|
+
}>;
|
|
571
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputAlternatives_15 =
|
|
572
|
+
| globalThis.ReadonlyArray<
|
|
573
|
+
ResourceEntity<{
|
|
574
|
+
readonly provider: "stripe";
|
|
575
|
+
readonly service: "billing";
|
|
576
|
+
readonly resource: "tax-id";
|
|
577
|
+
}>
|
|
578
|
+
>
|
|
579
|
+
| "";
|
|
580
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputAlternatives_16 =
|
|
581
|
+
ResourceEntity<{
|
|
582
|
+
readonly provider: "stripe";
|
|
583
|
+
readonly service: "billing";
|
|
584
|
+
readonly resource: "v1-account";
|
|
585
|
+
}>;
|
|
586
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputProperties_18 = {
|
|
587
|
+
readonly account?: StripePaymentLinkPropsSchemaInputResourceInputAlternatives_16;
|
|
588
|
+
readonly type: StripePaymentLinkPropsSchemaInputResourceInputAlternatives_10;
|
|
589
|
+
} & {
|
|
590
|
+
readonly [x: string]:
|
|
591
|
+
| ResourceInputJson
|
|
592
|
+
| StripePaymentLinkPropsSchemaInputResourceInputAlternatives_16;
|
|
593
|
+
};
|
|
594
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputProperties_17 = {
|
|
595
|
+
readonly account_tax_ids?: StripePaymentLinkPropsSchemaInputResourceInputAlternatives_15;
|
|
596
|
+
readonly custom_fields?: StripePaymentLinkPropsSchemaInputResourceInputAlternatives_9;
|
|
597
|
+
readonly description?: string;
|
|
598
|
+
readonly footer?: string;
|
|
599
|
+
readonly issuer?: StripePaymentLinkPropsSchemaInputResourceInputProperties_18;
|
|
600
|
+
} & {
|
|
601
|
+
readonly [x: string]:
|
|
602
|
+
| ResourceInputJson
|
|
603
|
+
| StripePaymentLinkPropsSchemaInputResourceInputAlternatives_15
|
|
604
|
+
| StripePaymentLinkPropsSchemaInputResourceInputProperties_18;
|
|
605
|
+
};
|
|
606
|
+
export type StripePaymentLinkPropsSchemaInputResourceInputAlternatives_17 =
|
|
607
|
+
ResourceEntity<{
|
|
608
|
+
readonly provider: "stripe";
|
|
609
|
+
readonly service: "billing";
|
|
610
|
+
readonly resource: "v1-account";
|
|
611
|
+
}>;
|
|
612
|
+
|
|
613
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputProperties =
|
|
614
|
+
Schema.StructWithRest(
|
|
615
|
+
Schema.Struct({
|
|
616
|
+
hosted_confirmation: Schema.optionalKey(
|
|
617
|
+
Schema.StructWithRest(
|
|
618
|
+
Schema.Struct({
|
|
619
|
+
custom_message: Schema.optionalKey(
|
|
620
|
+
Schema.String.check(
|
|
621
|
+
Schema.isMaxCodePoints(500).annotate({
|
|
622
|
+
expected: "a string with at most 500 code points",
|
|
623
|
+
}),
|
|
624
|
+
),
|
|
625
|
+
),
|
|
626
|
+
}),
|
|
627
|
+
[
|
|
628
|
+
Schema.Record(
|
|
629
|
+
Schema.String,
|
|
630
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
631
|
+
),
|
|
632
|
+
],
|
|
633
|
+
).annotate({ title: "after_completion_confirmation_page_params" }),
|
|
634
|
+
),
|
|
635
|
+
redirect: Schema.optionalKey(
|
|
636
|
+
Schema.StructWithRest(Schema.Struct({ url: Schema.String }), [
|
|
637
|
+
Schema.Record(
|
|
638
|
+
Schema.String,
|
|
639
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
640
|
+
),
|
|
641
|
+
]).annotate({ title: "after_completion_redirect_params" }),
|
|
642
|
+
),
|
|
643
|
+
type: Schema.Literals(["hosted_confirmation", "redirect"]),
|
|
644
|
+
}),
|
|
645
|
+
[
|
|
646
|
+
Schema.Record(
|
|
647
|
+
Schema.String,
|
|
648
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
649
|
+
),
|
|
650
|
+
],
|
|
651
|
+
).annotate({
|
|
652
|
+
title: "after_completion_params",
|
|
653
|
+
description: "Behavior after the purchase is complete.",
|
|
654
|
+
});
|
|
655
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputAlternatives =
|
|
656
|
+
Schema.Literals(["account", "self"]);
|
|
657
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputAlternatives_1 =
|
|
658
|
+
Schema.Literals(["auto", "required"]).annotate({
|
|
659
|
+
description:
|
|
660
|
+
"Configuration for collecting the customer's billing address. Defaults to `auto`.",
|
|
661
|
+
});
|
|
662
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputProperties_1 =
|
|
663
|
+
Schema.StructWithRest(
|
|
664
|
+
Schema.Struct({
|
|
665
|
+
payment_method_reuse_agreement: Schema.optionalKey(
|
|
666
|
+
Schema.StructWithRest(
|
|
667
|
+
Schema.Struct({ position: Schema.Literals(["auto", "hidden"]) }),
|
|
668
|
+
[
|
|
669
|
+
Schema.Record(
|
|
670
|
+
Schema.String,
|
|
671
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
672
|
+
),
|
|
673
|
+
],
|
|
674
|
+
).annotate({ title: "payment_method_reuse_agreement_params" }),
|
|
675
|
+
),
|
|
676
|
+
promotions: Schema.optionalKey(Schema.Literals(["auto", "none"])),
|
|
677
|
+
terms_of_service: Schema.optionalKey(
|
|
678
|
+
Schema.Literals(["none", "required"]),
|
|
679
|
+
),
|
|
680
|
+
}),
|
|
681
|
+
[
|
|
682
|
+
Schema.Record(
|
|
683
|
+
Schema.String,
|
|
684
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
685
|
+
),
|
|
686
|
+
],
|
|
687
|
+
).annotate({
|
|
688
|
+
title: "consent_collection_params",
|
|
689
|
+
description: "Configure fields to gather active consent from customers.",
|
|
690
|
+
});
|
|
691
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputItems = Schema.Array(
|
|
692
|
+
Schema.StructWithRest(
|
|
693
|
+
Schema.Struct({
|
|
694
|
+
dropdown: Schema.optionalKey(
|
|
695
|
+
Schema.StructWithRest(
|
|
696
|
+
Schema.Struct({
|
|
697
|
+
default_value: Schema.optionalKey(
|
|
698
|
+
Schema.String.check(
|
|
699
|
+
Schema.isMaxCodePoints(100).annotate({
|
|
700
|
+
expected: "a string with at most 100 code points",
|
|
701
|
+
}),
|
|
702
|
+
),
|
|
703
|
+
),
|
|
704
|
+
options: Schema.Array(
|
|
705
|
+
Schema.StructWithRest(
|
|
706
|
+
Schema.Struct({
|
|
707
|
+
label: Schema.String.check(
|
|
708
|
+
Schema.isMaxCodePoints(100).annotate({
|
|
709
|
+
expected: "a string with at most 100 code points",
|
|
710
|
+
}),
|
|
711
|
+
),
|
|
712
|
+
value: Schema.String.check(
|
|
713
|
+
Schema.isMaxCodePoints(100).annotate({
|
|
714
|
+
expected: "a string with at most 100 code points",
|
|
715
|
+
}),
|
|
716
|
+
),
|
|
717
|
+
}),
|
|
718
|
+
[
|
|
719
|
+
Schema.Record(
|
|
720
|
+
Schema.String,
|
|
721
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
722
|
+
),
|
|
723
|
+
],
|
|
724
|
+
).annotate({ title: "custom_field_option_param" }),
|
|
725
|
+
),
|
|
726
|
+
}),
|
|
727
|
+
[
|
|
728
|
+
Schema.Record(
|
|
729
|
+
Schema.String,
|
|
730
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
731
|
+
),
|
|
732
|
+
],
|
|
733
|
+
).annotate({ title: "custom_field_dropdown_param" }),
|
|
734
|
+
),
|
|
735
|
+
key: Schema.String.check(
|
|
736
|
+
Schema.isMaxCodePoints(200).annotate({
|
|
737
|
+
expected: "a string with at most 200 code points",
|
|
738
|
+
}),
|
|
739
|
+
),
|
|
740
|
+
label: Schema.StructWithRest(
|
|
741
|
+
Schema.Struct({
|
|
742
|
+
custom: Schema.String.check(
|
|
743
|
+
Schema.isMaxCodePoints(100).annotate({
|
|
744
|
+
expected: "a string with at most 100 code points",
|
|
745
|
+
}),
|
|
746
|
+
),
|
|
747
|
+
type: Schema.Literal("custom"),
|
|
748
|
+
}),
|
|
749
|
+
[
|
|
750
|
+
Schema.Record(
|
|
751
|
+
Schema.String,
|
|
752
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
753
|
+
),
|
|
754
|
+
],
|
|
755
|
+
).annotate({ title: "custom_field_label_param" }),
|
|
756
|
+
numeric: Schema.optionalKey(
|
|
757
|
+
Schema.StructWithRest(
|
|
758
|
+
Schema.Struct({
|
|
759
|
+
default_value: Schema.optionalKey(
|
|
760
|
+
Schema.String.check(
|
|
761
|
+
Schema.isMaxCodePoints(255).annotate({
|
|
762
|
+
expected: "a string with at most 255 code points",
|
|
763
|
+
}),
|
|
764
|
+
),
|
|
765
|
+
),
|
|
766
|
+
maximum_length: Schema.optionalKey(Schema.Int),
|
|
767
|
+
minimum_length: Schema.optionalKey(Schema.Int),
|
|
768
|
+
}),
|
|
769
|
+
[
|
|
770
|
+
Schema.Record(
|
|
771
|
+
Schema.String,
|
|
772
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
773
|
+
),
|
|
774
|
+
],
|
|
775
|
+
).annotate({ title: "custom_field_numeric_param" }),
|
|
776
|
+
),
|
|
777
|
+
optional: Schema.optionalKey(Schema.Boolean),
|
|
778
|
+
text: Schema.optionalKey(
|
|
779
|
+
Schema.StructWithRest(
|
|
780
|
+
Schema.Struct({
|
|
781
|
+
default_value: Schema.optionalKey(
|
|
782
|
+
Schema.String.check(
|
|
783
|
+
Schema.isMaxCodePoints(255).annotate({
|
|
784
|
+
expected: "a string with at most 255 code points",
|
|
785
|
+
}),
|
|
786
|
+
),
|
|
787
|
+
),
|
|
788
|
+
maximum_length: Schema.optionalKey(Schema.Int),
|
|
789
|
+
minimum_length: Schema.optionalKey(Schema.Int),
|
|
790
|
+
}),
|
|
791
|
+
[
|
|
792
|
+
Schema.Record(
|
|
793
|
+
Schema.String,
|
|
794
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
795
|
+
),
|
|
796
|
+
],
|
|
797
|
+
).annotate({ title: "custom_field_text_param" }),
|
|
798
|
+
),
|
|
799
|
+
type: Schema.Literals(["dropdown", "numeric", "text"]),
|
|
800
|
+
}),
|
|
801
|
+
[
|
|
802
|
+
Schema.Record(
|
|
803
|
+
Schema.String,
|
|
804
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
805
|
+
),
|
|
806
|
+
],
|
|
807
|
+
).annotate({ title: "custom_field_param" }),
|
|
808
|
+
).annotate({
|
|
809
|
+
description:
|
|
810
|
+
"Collect additional information from your customer using custom fields. Up to 3 fields are supported. You can't set this parameter if `ui_mode` is `elements`.",
|
|
811
|
+
});
|
|
812
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputProperties_2 =
|
|
813
|
+
Schema.StructWithRest(
|
|
814
|
+
Schema.Struct({
|
|
815
|
+
after_submit: Schema.optionalKey(
|
|
816
|
+
Schema.Union([
|
|
817
|
+
Schema.StructWithRest(
|
|
818
|
+
Schema.Struct({
|
|
819
|
+
message: Schema.String.check(
|
|
820
|
+
Schema.isMaxCodePoints(1200).annotate({
|
|
821
|
+
expected: "a string with at most 1200 code points",
|
|
822
|
+
}),
|
|
823
|
+
),
|
|
824
|
+
}),
|
|
825
|
+
[
|
|
826
|
+
Schema.Record(
|
|
827
|
+
Schema.String,
|
|
828
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
829
|
+
),
|
|
830
|
+
],
|
|
831
|
+
).annotate({ title: "custom_text_position_param" }),
|
|
832
|
+
Schema.Literal(""),
|
|
833
|
+
]),
|
|
834
|
+
),
|
|
835
|
+
shipping_address: Schema.optionalKey(
|
|
836
|
+
Schema.Union([
|
|
837
|
+
Schema.StructWithRest(
|
|
838
|
+
Schema.Struct({
|
|
839
|
+
message: Schema.String.check(
|
|
840
|
+
Schema.isMaxCodePoints(1200).annotate({
|
|
841
|
+
expected: "a string with at most 1200 code points",
|
|
842
|
+
}),
|
|
843
|
+
),
|
|
844
|
+
}),
|
|
845
|
+
[
|
|
846
|
+
Schema.Record(
|
|
847
|
+
Schema.String,
|
|
848
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
849
|
+
),
|
|
850
|
+
],
|
|
851
|
+
).annotate({ title: "custom_text_position_param" }),
|
|
852
|
+
Schema.Literal(""),
|
|
853
|
+
]),
|
|
854
|
+
),
|
|
855
|
+
submit: Schema.optionalKey(
|
|
856
|
+
Schema.Union([
|
|
857
|
+
Schema.StructWithRest(
|
|
858
|
+
Schema.Struct({
|
|
859
|
+
message: Schema.String.check(
|
|
860
|
+
Schema.isMaxCodePoints(1200).annotate({
|
|
861
|
+
expected: "a string with at most 1200 code points",
|
|
862
|
+
}),
|
|
863
|
+
),
|
|
864
|
+
}),
|
|
865
|
+
[
|
|
866
|
+
Schema.Record(
|
|
867
|
+
Schema.String,
|
|
868
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
869
|
+
),
|
|
870
|
+
],
|
|
871
|
+
).annotate({ title: "custom_text_position_param" }),
|
|
872
|
+
Schema.Literal(""),
|
|
873
|
+
]),
|
|
874
|
+
),
|
|
875
|
+
terms_of_service_acceptance: Schema.optionalKey(
|
|
876
|
+
Schema.Union([
|
|
877
|
+
Schema.StructWithRest(
|
|
878
|
+
Schema.Struct({
|
|
879
|
+
message: Schema.String.check(
|
|
880
|
+
Schema.isMaxCodePoints(1200).annotate({
|
|
881
|
+
expected: "a string with at most 1200 code points",
|
|
882
|
+
}),
|
|
883
|
+
),
|
|
884
|
+
}),
|
|
885
|
+
[
|
|
886
|
+
Schema.Record(
|
|
887
|
+
Schema.String,
|
|
888
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
889
|
+
),
|
|
890
|
+
],
|
|
891
|
+
).annotate({ title: "custom_text_position_param" }),
|
|
892
|
+
Schema.Literal(""),
|
|
893
|
+
]),
|
|
894
|
+
),
|
|
895
|
+
}),
|
|
896
|
+
[
|
|
897
|
+
Schema.Record(
|
|
898
|
+
Schema.String,
|
|
899
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
900
|
+
),
|
|
901
|
+
],
|
|
902
|
+
).annotate({
|
|
903
|
+
title: "custom_text_param",
|
|
904
|
+
description:
|
|
905
|
+
"Display additional text for your customers using custom text. You can't set this parameter if `ui_mode` is `elements`.",
|
|
906
|
+
});
|
|
907
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputAlternatives_2 =
|
|
908
|
+
Schema.Literals(["always", "if_required"]).annotate({
|
|
909
|
+
description:
|
|
910
|
+
"Configures whether [checkout sessions](https://docs.stripe.com/api/checkout/sessions) created by this payment link create a [Customer](https://docs.stripe.com/api/customers).",
|
|
911
|
+
});
|
|
912
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputItems_1 =
|
|
913
|
+
Schema.Array(
|
|
914
|
+
Schema.String.check(
|
|
915
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
916
|
+
expected: "a string with at most 5000 code points",
|
|
917
|
+
}),
|
|
918
|
+
),
|
|
919
|
+
).annotate({
|
|
920
|
+
description: "Specifies which fields in the response should be expanded.",
|
|
921
|
+
});
|
|
922
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputAlternatives_3 =
|
|
923
|
+
Schema.Union([
|
|
924
|
+
Schema.Array(
|
|
925
|
+
Schema.StructWithRest(
|
|
926
|
+
Schema.Struct({
|
|
927
|
+
name: Schema.String.check(
|
|
928
|
+
Schema.isMaxCodePoints(40).annotate({
|
|
929
|
+
expected: "a string with at most 40 code points",
|
|
930
|
+
}),
|
|
931
|
+
),
|
|
932
|
+
value: Schema.String.check(
|
|
933
|
+
Schema.isMaxCodePoints(140).annotate({
|
|
934
|
+
expected: "a string with at most 140 code points",
|
|
935
|
+
}),
|
|
936
|
+
),
|
|
937
|
+
}),
|
|
938
|
+
[
|
|
939
|
+
Schema.Record(
|
|
940
|
+
Schema.String,
|
|
941
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
942
|
+
),
|
|
943
|
+
],
|
|
944
|
+
).annotate({ title: "custom_field_params" }),
|
|
945
|
+
),
|
|
946
|
+
Schema.Literal(""),
|
|
947
|
+
]);
|
|
948
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputAlternatives_4 =
|
|
949
|
+
Schema.Literals(["account", "self"]);
|
|
950
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputAlternatives_5 =
|
|
951
|
+
Schema.Union([
|
|
952
|
+
Schema.Record(Schema.String, Schema.String),
|
|
953
|
+
Schema.Literal(""),
|
|
954
|
+
]);
|
|
955
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputAlternatives_6 =
|
|
956
|
+
Schema.Union([
|
|
957
|
+
Schema.StructWithRest(
|
|
958
|
+
Schema.Struct({
|
|
959
|
+
amount_tax_display: Schema.optionalKey(
|
|
960
|
+
Schema.Literals(["", "exclude_tax", "include_inclusive_tax"]),
|
|
961
|
+
),
|
|
962
|
+
template: Schema.optionalKey(
|
|
963
|
+
Schema.String.check(
|
|
964
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
965
|
+
expected: "a string with at most 5000 code points",
|
|
966
|
+
}),
|
|
967
|
+
),
|
|
968
|
+
),
|
|
969
|
+
}),
|
|
970
|
+
[
|
|
971
|
+
Schema.Record(
|
|
972
|
+
Schema.String,
|
|
973
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
974
|
+
),
|
|
975
|
+
],
|
|
976
|
+
).annotate({ title: "checkout_rendering_options_param" }),
|
|
977
|
+
Schema.Literal(""),
|
|
978
|
+
]);
|
|
979
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputItems_2 =
|
|
980
|
+
Schema.Array(
|
|
981
|
+
Schema.StructWithRest(
|
|
982
|
+
Schema.Struct({
|
|
983
|
+
adjustable_quantity: Schema.optionalKey(
|
|
984
|
+
Schema.StructWithRest(
|
|
985
|
+
Schema.Struct({
|
|
986
|
+
enabled: Schema.Boolean,
|
|
987
|
+
maximum: Schema.optionalKey(Schema.Int),
|
|
988
|
+
minimum: Schema.optionalKey(Schema.Int),
|
|
989
|
+
}),
|
|
990
|
+
[
|
|
991
|
+
Schema.Record(
|
|
992
|
+
Schema.String,
|
|
993
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
994
|
+
),
|
|
995
|
+
],
|
|
996
|
+
).annotate({ title: "adjustable_quantity_params" }),
|
|
997
|
+
),
|
|
998
|
+
price: Schema.optionalKey(
|
|
999
|
+
Schema.String.check(
|
|
1000
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1001
|
+
expected: "a string with at most 5000 code points",
|
|
1002
|
+
}),
|
|
1003
|
+
),
|
|
1004
|
+
),
|
|
1005
|
+
price_data: Schema.optionalKey(
|
|
1006
|
+
Schema.StructWithRest(
|
|
1007
|
+
Schema.Struct({
|
|
1008
|
+
currency: Schema.String.annotate({ format: "currency" }),
|
|
1009
|
+
product: Schema.optionalKey(
|
|
1010
|
+
Schema.String.check(
|
|
1011
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1012
|
+
expected: "a string with at most 5000 code points",
|
|
1013
|
+
}),
|
|
1014
|
+
),
|
|
1015
|
+
),
|
|
1016
|
+
product_data: Schema.optionalKey(
|
|
1017
|
+
Schema.StructWithRest(
|
|
1018
|
+
Schema.Struct({
|
|
1019
|
+
description: Schema.optionalKey(
|
|
1020
|
+
Schema.String.check(
|
|
1021
|
+
Schema.isMaxCodePoints(40000).annotate({
|
|
1022
|
+
expected: "a string with at most 40000 code points",
|
|
1023
|
+
}),
|
|
1024
|
+
),
|
|
1025
|
+
),
|
|
1026
|
+
images: Schema.optionalKey(Schema.Array(Schema.String)),
|
|
1027
|
+
metadata: Schema.optionalKey(
|
|
1028
|
+
Schema.Record(Schema.String, Schema.String),
|
|
1029
|
+
),
|
|
1030
|
+
name: Schema.String.check(
|
|
1031
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1032
|
+
expected: "a string with at most 5000 code points",
|
|
1033
|
+
}),
|
|
1034
|
+
),
|
|
1035
|
+
tax_code: Schema.optionalKey(
|
|
1036
|
+
Schema.String.check(
|
|
1037
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1038
|
+
expected: "a string with at most 5000 code points",
|
|
1039
|
+
}),
|
|
1040
|
+
),
|
|
1041
|
+
),
|
|
1042
|
+
tax_details: Schema.optionalKey(
|
|
1043
|
+
Schema.StructWithRest(
|
|
1044
|
+
Schema.Struct({
|
|
1045
|
+
performance_location: Schema.optionalKey(
|
|
1046
|
+
Schema.String.check(
|
|
1047
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1048
|
+
expected:
|
|
1049
|
+
"a string with at most 5000 code points",
|
|
1050
|
+
}),
|
|
1051
|
+
),
|
|
1052
|
+
),
|
|
1053
|
+
tax_code: Schema.optionalKey(
|
|
1054
|
+
Schema.Union([Schema.String, Schema.Literal("")]),
|
|
1055
|
+
),
|
|
1056
|
+
}),
|
|
1057
|
+
[
|
|
1058
|
+
Schema.Record(
|
|
1059
|
+
Schema.String,
|
|
1060
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1061
|
+
),
|
|
1062
|
+
],
|
|
1063
|
+
).annotate({ title: "tax_details" }),
|
|
1064
|
+
),
|
|
1065
|
+
unit_label: Schema.optionalKey(
|
|
1066
|
+
Schema.String.check(
|
|
1067
|
+
Schema.isMaxCodePoints(12).annotate({
|
|
1068
|
+
expected: "a string with at most 12 code points",
|
|
1069
|
+
}),
|
|
1070
|
+
),
|
|
1071
|
+
),
|
|
1072
|
+
}),
|
|
1073
|
+
[
|
|
1074
|
+
Schema.Record(
|
|
1075
|
+
Schema.String,
|
|
1076
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1077
|
+
),
|
|
1078
|
+
],
|
|
1079
|
+
).annotate({ title: "product_data" }),
|
|
1080
|
+
),
|
|
1081
|
+
recurring: Schema.optionalKey(
|
|
1082
|
+
Schema.StructWithRest(
|
|
1083
|
+
Schema.Struct({
|
|
1084
|
+
interval: Schema.Literals(["day", "month", "week", "year"]),
|
|
1085
|
+
interval_count: Schema.optionalKey(Schema.Int),
|
|
1086
|
+
}),
|
|
1087
|
+
[
|
|
1088
|
+
Schema.Record(
|
|
1089
|
+
Schema.String,
|
|
1090
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1091
|
+
),
|
|
1092
|
+
],
|
|
1093
|
+
).annotate({ title: "recurring_adhoc" }),
|
|
1094
|
+
),
|
|
1095
|
+
tax_behavior: Schema.optionalKey(
|
|
1096
|
+
Schema.Literals(["exclusive", "inclusive", "unspecified"]),
|
|
1097
|
+
),
|
|
1098
|
+
unit_amount: Schema.optionalKey(Schema.Int),
|
|
1099
|
+
unit_amount_decimal: Schema.optionalKey(
|
|
1100
|
+
Schema.String.annotate({ format: "decimal" }),
|
|
1101
|
+
),
|
|
1102
|
+
}),
|
|
1103
|
+
[
|
|
1104
|
+
Schema.Record(
|
|
1105
|
+
Schema.String,
|
|
1106
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1107
|
+
),
|
|
1108
|
+
],
|
|
1109
|
+
).annotate({ title: "custom_amount_price_data_with_product_data" }),
|
|
1110
|
+
),
|
|
1111
|
+
quantity: Schema.Int,
|
|
1112
|
+
}),
|
|
1113
|
+
[
|
|
1114
|
+
Schema.Record(
|
|
1115
|
+
Schema.String,
|
|
1116
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1117
|
+
),
|
|
1118
|
+
],
|
|
1119
|
+
).annotate({ title: "line_items_create_params" }),
|
|
1120
|
+
).annotate({
|
|
1121
|
+
description:
|
|
1122
|
+
"The line items representing what is being sold. Each line item represents an item being sold. Up to 20 line items are supported.",
|
|
1123
|
+
});
|
|
1124
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputProperties_3 =
|
|
1125
|
+
Schema.StructWithRest(
|
|
1126
|
+
Schema.Struct({ enabled: Schema.optionalKey(Schema.Boolean) }),
|
|
1127
|
+
[
|
|
1128
|
+
Schema.Record(
|
|
1129
|
+
Schema.String,
|
|
1130
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1131
|
+
),
|
|
1132
|
+
],
|
|
1133
|
+
).annotate({
|
|
1134
|
+
title: "managed_payments_params",
|
|
1135
|
+
description:
|
|
1136
|
+
"Settings for Managed Payments for this Payment Link and resulting [CheckoutSessions](/api/checkout/sessions/object), [PaymentIntents](/api/payment_intents/object), [Invoices](/api/invoices/object), and [Subscriptions](/api/subscriptions/object).",
|
|
1137
|
+
});
|
|
1138
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputProperties_4 =
|
|
1139
|
+
Schema.Record(Schema.String, Schema.String).annotate({
|
|
1140
|
+
description:
|
|
1141
|
+
"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. Metadata associated with this Payment Link will automatically be copied to [checkout sessions](https://docs.stripe.com/api/checkout/sessions) created by this payment link.",
|
|
1142
|
+
});
|
|
1143
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputProperties_5 =
|
|
1144
|
+
Schema.StructWithRest(
|
|
1145
|
+
Schema.Struct({
|
|
1146
|
+
business: Schema.optionalKey(
|
|
1147
|
+
Schema.StructWithRest(
|
|
1148
|
+
Schema.Struct({
|
|
1149
|
+
enabled: Schema.Boolean,
|
|
1150
|
+
optional: Schema.optionalKey(Schema.Boolean),
|
|
1151
|
+
}),
|
|
1152
|
+
[
|
|
1153
|
+
Schema.Record(
|
|
1154
|
+
Schema.String,
|
|
1155
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1156
|
+
),
|
|
1157
|
+
],
|
|
1158
|
+
).annotate({ title: "name_collection_business_params" }),
|
|
1159
|
+
),
|
|
1160
|
+
individual: Schema.optionalKey(
|
|
1161
|
+
Schema.StructWithRest(
|
|
1162
|
+
Schema.Struct({
|
|
1163
|
+
enabled: Schema.Boolean,
|
|
1164
|
+
optional: Schema.optionalKey(Schema.Boolean),
|
|
1165
|
+
}),
|
|
1166
|
+
[
|
|
1167
|
+
Schema.Record(
|
|
1168
|
+
Schema.String,
|
|
1169
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1170
|
+
),
|
|
1171
|
+
],
|
|
1172
|
+
).annotate({ title: "name_collection_individual_params" }),
|
|
1173
|
+
),
|
|
1174
|
+
}),
|
|
1175
|
+
[
|
|
1176
|
+
Schema.Record(
|
|
1177
|
+
Schema.String,
|
|
1178
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1179
|
+
),
|
|
1180
|
+
],
|
|
1181
|
+
).annotate({
|
|
1182
|
+
title: "name_collection_params",
|
|
1183
|
+
description:
|
|
1184
|
+
"Controls settings applied for collecting the customer's name.",
|
|
1185
|
+
});
|
|
1186
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputItems_3 =
|
|
1187
|
+
Schema.Array(
|
|
1188
|
+
Schema.StructWithRest(
|
|
1189
|
+
Schema.Struct({
|
|
1190
|
+
adjustable_quantity: Schema.optionalKey(
|
|
1191
|
+
Schema.StructWithRest(
|
|
1192
|
+
Schema.Struct({
|
|
1193
|
+
enabled: Schema.Boolean,
|
|
1194
|
+
maximum: Schema.optionalKey(Schema.Int),
|
|
1195
|
+
minimum: Schema.optionalKey(Schema.Int),
|
|
1196
|
+
}),
|
|
1197
|
+
[
|
|
1198
|
+
Schema.Record(
|
|
1199
|
+
Schema.String,
|
|
1200
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1201
|
+
),
|
|
1202
|
+
],
|
|
1203
|
+
).annotate({ title: "optional_item_adjustable_quantity_params" }),
|
|
1204
|
+
),
|
|
1205
|
+
price: Schema.String.check(
|
|
1206
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1207
|
+
expected: "a string with at most 5000 code points",
|
|
1208
|
+
}),
|
|
1209
|
+
),
|
|
1210
|
+
quantity: Schema.Int,
|
|
1211
|
+
}),
|
|
1212
|
+
[
|
|
1213
|
+
Schema.Record(
|
|
1214
|
+
Schema.String,
|
|
1215
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1216
|
+
),
|
|
1217
|
+
],
|
|
1218
|
+
).annotate({ title: "optional_item_params" }),
|
|
1219
|
+
).annotate({
|
|
1220
|
+
description:
|
|
1221
|
+
"A list of optional items the customer can add to their order at checkout. Use this parameter to pass one-time or recurring [Prices](https://docs.stripe.com/api/prices).\nThere is a maximum of 10 optional items allowed on a payment link, and the existing limits on the number of line items allowed on a payment link apply to the combined number of line items and optional items.\nThere is a maximum of 20 combined line items and optional items.",
|
|
1222
|
+
});
|
|
1223
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputProperties_6 =
|
|
1224
|
+
Schema.StructWithRest(
|
|
1225
|
+
Schema.Struct({
|
|
1226
|
+
capture_method: Schema.optionalKey(
|
|
1227
|
+
Schema.Literals(["automatic", "automatic_async", "manual"]),
|
|
1228
|
+
),
|
|
1229
|
+
description: Schema.optionalKey(
|
|
1230
|
+
Schema.String.check(
|
|
1231
|
+
Schema.isMaxCodePoints(1000).annotate({
|
|
1232
|
+
expected: "a string with at most 1000 code points",
|
|
1233
|
+
}),
|
|
1234
|
+
),
|
|
1235
|
+
),
|
|
1236
|
+
metadata: Schema.optionalKey(Schema.Record(Schema.String, Schema.String)),
|
|
1237
|
+
setup_future_usage: Schema.optionalKey(
|
|
1238
|
+
Schema.Literals(["off_session", "on_session"]),
|
|
1239
|
+
),
|
|
1240
|
+
statement_descriptor: Schema.optionalKey(
|
|
1241
|
+
Schema.String.check(
|
|
1242
|
+
Schema.isMaxCodePoints(22).annotate({
|
|
1243
|
+
expected: "a string with at most 22 code points",
|
|
1244
|
+
}),
|
|
1245
|
+
),
|
|
1246
|
+
),
|
|
1247
|
+
statement_descriptor_suffix: Schema.optionalKey(
|
|
1248
|
+
Schema.String.check(
|
|
1249
|
+
Schema.isMaxCodePoints(22).annotate({
|
|
1250
|
+
expected: "a string with at most 22 code points",
|
|
1251
|
+
}),
|
|
1252
|
+
),
|
|
1253
|
+
),
|
|
1254
|
+
transfer_group: Schema.optionalKey(
|
|
1255
|
+
Schema.String.check(
|
|
1256
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1257
|
+
expected: "a string with at most 5000 code points",
|
|
1258
|
+
}),
|
|
1259
|
+
),
|
|
1260
|
+
),
|
|
1261
|
+
}),
|
|
1262
|
+
[
|
|
1263
|
+
Schema.Record(
|
|
1264
|
+
Schema.String,
|
|
1265
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1266
|
+
),
|
|
1267
|
+
],
|
|
1268
|
+
).annotate({
|
|
1269
|
+
title: "payment_intent_data_params",
|
|
1270
|
+
description:
|
|
1271
|
+
"A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode.",
|
|
1272
|
+
});
|
|
1273
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputAlternatives_7 =
|
|
1274
|
+
Schema.Literals(["always", "if_required"]).annotate({
|
|
1275
|
+
description:
|
|
1276
|
+
"Specify whether Checkout should collect a payment method. When set to `if_required`, Checkout will not collect a payment method when the total due for the session is 0.This may occur if the Checkout Session includes a free trial or a discount.\n\nCan only be set in `subscription` mode. Defaults to `always`.\n\nIf you'd like information on how to collect a payment method outside of Checkout, read the guide on [configuring subscriptions with a free trial](https://docs.stripe.com/payments/checkout/free-trials).",
|
|
1277
|
+
});
|
|
1278
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputProperties_7 =
|
|
1279
|
+
Schema.StructWithRest(
|
|
1280
|
+
Schema.Struct({
|
|
1281
|
+
card: Schema.optionalKey(
|
|
1282
|
+
Schema.StructWithRest(
|
|
1283
|
+
Schema.Struct({
|
|
1284
|
+
restrictions: Schema.optionalKey(
|
|
1285
|
+
Schema.StructWithRest(
|
|
1286
|
+
Schema.Struct({
|
|
1287
|
+
brands_blocked: Schema.optionalKey(
|
|
1288
|
+
Schema.Array(
|
|
1289
|
+
Schema.Literals([
|
|
1290
|
+
"american_express",
|
|
1291
|
+
"discover_global_network",
|
|
1292
|
+
"mastercard",
|
|
1293
|
+
"visa",
|
|
1294
|
+
]),
|
|
1295
|
+
),
|
|
1296
|
+
),
|
|
1297
|
+
}),
|
|
1298
|
+
[
|
|
1299
|
+
Schema.Record(
|
|
1300
|
+
Schema.String,
|
|
1301
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1302
|
+
),
|
|
1303
|
+
],
|
|
1304
|
+
).annotate({ title: "card_restrictions_params" }),
|
|
1305
|
+
),
|
|
1306
|
+
}),
|
|
1307
|
+
[
|
|
1308
|
+
Schema.Record(
|
|
1309
|
+
Schema.String,
|
|
1310
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1311
|
+
),
|
|
1312
|
+
],
|
|
1313
|
+
).annotate({ title: "card_payment_method_options_params" }),
|
|
1314
|
+
),
|
|
1315
|
+
}),
|
|
1316
|
+
[
|
|
1317
|
+
Schema.Record(
|
|
1318
|
+
Schema.String,
|
|
1319
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1320
|
+
),
|
|
1321
|
+
],
|
|
1322
|
+
).annotate({
|
|
1323
|
+
title: "payment_method_options_params",
|
|
1324
|
+
description: "Payment-method-specific configuration.",
|
|
1325
|
+
});
|
|
1326
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputItems_4 =
|
|
1327
|
+
Schema.Array(
|
|
1328
|
+
Schema.Literals([
|
|
1329
|
+
"affirm",
|
|
1330
|
+
"afterpay_clearpay",
|
|
1331
|
+
"alipay",
|
|
1332
|
+
"alma",
|
|
1333
|
+
"au_becs_debit",
|
|
1334
|
+
"bacs_debit",
|
|
1335
|
+
"bancontact",
|
|
1336
|
+
"billie",
|
|
1337
|
+
"bizum",
|
|
1338
|
+
"blik",
|
|
1339
|
+
"boleto",
|
|
1340
|
+
"card",
|
|
1341
|
+
"cashapp",
|
|
1342
|
+
"eps",
|
|
1343
|
+
"fpx",
|
|
1344
|
+
"giropay",
|
|
1345
|
+
"grabpay",
|
|
1346
|
+
"ideal",
|
|
1347
|
+
"klarna",
|
|
1348
|
+
"konbini",
|
|
1349
|
+
"link",
|
|
1350
|
+
"mb_way",
|
|
1351
|
+
"mobilepay",
|
|
1352
|
+
"multibanco",
|
|
1353
|
+
"oxxo",
|
|
1354
|
+
"p24",
|
|
1355
|
+
"pay_by_bank",
|
|
1356
|
+
"paynow",
|
|
1357
|
+
"paypal",
|
|
1358
|
+
"paypay",
|
|
1359
|
+
"payto",
|
|
1360
|
+
"pix",
|
|
1361
|
+
"promptpay",
|
|
1362
|
+
"satispay",
|
|
1363
|
+
"scalapay",
|
|
1364
|
+
"sepa_debit",
|
|
1365
|
+
"sequra",
|
|
1366
|
+
"sofort",
|
|
1367
|
+
"sunbit",
|
|
1368
|
+
"swish",
|
|
1369
|
+
"twint",
|
|
1370
|
+
"upi",
|
|
1371
|
+
"us_bank_account",
|
|
1372
|
+
"wechat_pay",
|
|
1373
|
+
"zip",
|
|
1374
|
+
]),
|
|
1375
|
+
).annotate({
|
|
1376
|
+
description:
|
|
1377
|
+
"The list of payment method types that customers can use. If no value is passed, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods) (20+ payment methods [supported](https://docs.stripe.com/payments/payment-methods/integration-options#payment-method-product-support)).",
|
|
1378
|
+
});
|
|
1379
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputProperties_8 =
|
|
1380
|
+
Schema.StructWithRest(Schema.Struct({ enabled: Schema.Boolean }), [
|
|
1381
|
+
Schema.Record(
|
|
1382
|
+
Schema.String,
|
|
1383
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1384
|
+
),
|
|
1385
|
+
]).annotate({
|
|
1386
|
+
title: "phone_number_collection_params",
|
|
1387
|
+
description:
|
|
1388
|
+
"Controls phone number collection settings during checkout.\n\nWe recommend that you review your privacy policy and check with your legal contacts.",
|
|
1389
|
+
});
|
|
1390
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputProperties_9 =
|
|
1391
|
+
Schema.StructWithRest(
|
|
1392
|
+
Schema.Struct({
|
|
1393
|
+
completed_sessions: Schema.StructWithRest(
|
|
1394
|
+
Schema.Struct({ limit: Schema.Int }),
|
|
1395
|
+
[
|
|
1396
|
+
Schema.Record(
|
|
1397
|
+
Schema.String,
|
|
1398
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1399
|
+
),
|
|
1400
|
+
],
|
|
1401
|
+
).annotate({ title: "completed_sessions_params" }),
|
|
1402
|
+
}),
|
|
1403
|
+
[
|
|
1404
|
+
Schema.Record(
|
|
1405
|
+
Schema.String,
|
|
1406
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1407
|
+
),
|
|
1408
|
+
],
|
|
1409
|
+
).annotate({
|
|
1410
|
+
title: "restrictions_params",
|
|
1411
|
+
description: "Settings that restrict the usage of a payment link.",
|
|
1412
|
+
});
|
|
1413
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputProperties_10 =
|
|
1414
|
+
Schema.StructWithRest(
|
|
1415
|
+
Schema.Struct({
|
|
1416
|
+
allowed_countries: Schema.Array(
|
|
1417
|
+
Schema.Literals([
|
|
1418
|
+
"AC",
|
|
1419
|
+
"AD",
|
|
1420
|
+
"AE",
|
|
1421
|
+
"AF",
|
|
1422
|
+
"AG",
|
|
1423
|
+
"AI",
|
|
1424
|
+
"AL",
|
|
1425
|
+
"AM",
|
|
1426
|
+
"AO",
|
|
1427
|
+
"AQ",
|
|
1428
|
+
"AR",
|
|
1429
|
+
"AT",
|
|
1430
|
+
"AU",
|
|
1431
|
+
"AW",
|
|
1432
|
+
"AX",
|
|
1433
|
+
"AZ",
|
|
1434
|
+
"BA",
|
|
1435
|
+
"BB",
|
|
1436
|
+
"BD",
|
|
1437
|
+
"BE",
|
|
1438
|
+
"BF",
|
|
1439
|
+
"BG",
|
|
1440
|
+
"BH",
|
|
1441
|
+
"BI",
|
|
1442
|
+
"BJ",
|
|
1443
|
+
"BL",
|
|
1444
|
+
"BM",
|
|
1445
|
+
"BN",
|
|
1446
|
+
"BO",
|
|
1447
|
+
"BQ",
|
|
1448
|
+
"BR",
|
|
1449
|
+
"BS",
|
|
1450
|
+
"BT",
|
|
1451
|
+
"BV",
|
|
1452
|
+
"BW",
|
|
1453
|
+
"BY",
|
|
1454
|
+
"BZ",
|
|
1455
|
+
"CA",
|
|
1456
|
+
"CD",
|
|
1457
|
+
"CF",
|
|
1458
|
+
"CG",
|
|
1459
|
+
"CH",
|
|
1460
|
+
"CI",
|
|
1461
|
+
"CK",
|
|
1462
|
+
"CL",
|
|
1463
|
+
"CM",
|
|
1464
|
+
"CN",
|
|
1465
|
+
"CO",
|
|
1466
|
+
"CR",
|
|
1467
|
+
"CV",
|
|
1468
|
+
"CW",
|
|
1469
|
+
"CY",
|
|
1470
|
+
"CZ",
|
|
1471
|
+
"DE",
|
|
1472
|
+
"DJ",
|
|
1473
|
+
"DK",
|
|
1474
|
+
"DM",
|
|
1475
|
+
"DO",
|
|
1476
|
+
"DZ",
|
|
1477
|
+
"EC",
|
|
1478
|
+
"EE",
|
|
1479
|
+
"EG",
|
|
1480
|
+
"EH",
|
|
1481
|
+
"ER",
|
|
1482
|
+
"ES",
|
|
1483
|
+
"ET",
|
|
1484
|
+
"FI",
|
|
1485
|
+
"FJ",
|
|
1486
|
+
"FK",
|
|
1487
|
+
"FO",
|
|
1488
|
+
"FR",
|
|
1489
|
+
"GA",
|
|
1490
|
+
"GB",
|
|
1491
|
+
"GD",
|
|
1492
|
+
"GE",
|
|
1493
|
+
"GF",
|
|
1494
|
+
"GG",
|
|
1495
|
+
"GH",
|
|
1496
|
+
"GI",
|
|
1497
|
+
"GL",
|
|
1498
|
+
"GM",
|
|
1499
|
+
"GN",
|
|
1500
|
+
"GP",
|
|
1501
|
+
"GQ",
|
|
1502
|
+
"GR",
|
|
1503
|
+
"GS",
|
|
1504
|
+
"GT",
|
|
1505
|
+
"GU",
|
|
1506
|
+
"GW",
|
|
1507
|
+
"GY",
|
|
1508
|
+
"HK",
|
|
1509
|
+
"HN",
|
|
1510
|
+
"HR",
|
|
1511
|
+
"HT",
|
|
1512
|
+
"HU",
|
|
1513
|
+
"ID",
|
|
1514
|
+
"IE",
|
|
1515
|
+
"IL",
|
|
1516
|
+
"IM",
|
|
1517
|
+
"IN",
|
|
1518
|
+
"IO",
|
|
1519
|
+
"IQ",
|
|
1520
|
+
"IS",
|
|
1521
|
+
"IT",
|
|
1522
|
+
"JE",
|
|
1523
|
+
"JM",
|
|
1524
|
+
"JO",
|
|
1525
|
+
"JP",
|
|
1526
|
+
"KE",
|
|
1527
|
+
"KG",
|
|
1528
|
+
"KH",
|
|
1529
|
+
"KI",
|
|
1530
|
+
"KM",
|
|
1531
|
+
"KN",
|
|
1532
|
+
"KR",
|
|
1533
|
+
"KW",
|
|
1534
|
+
"KY",
|
|
1535
|
+
"KZ",
|
|
1536
|
+
"LA",
|
|
1537
|
+
"LB",
|
|
1538
|
+
"LC",
|
|
1539
|
+
"LI",
|
|
1540
|
+
"LK",
|
|
1541
|
+
"LR",
|
|
1542
|
+
"LS",
|
|
1543
|
+
"LT",
|
|
1544
|
+
"LU",
|
|
1545
|
+
"LV",
|
|
1546
|
+
"LY",
|
|
1547
|
+
"MA",
|
|
1548
|
+
"MC",
|
|
1549
|
+
"MD",
|
|
1550
|
+
"ME",
|
|
1551
|
+
"MF",
|
|
1552
|
+
"MG",
|
|
1553
|
+
"MK",
|
|
1554
|
+
"ML",
|
|
1555
|
+
"MM",
|
|
1556
|
+
"MN",
|
|
1557
|
+
"MO",
|
|
1558
|
+
"MQ",
|
|
1559
|
+
"MR",
|
|
1560
|
+
"MS",
|
|
1561
|
+
"MT",
|
|
1562
|
+
"MU",
|
|
1563
|
+
"MV",
|
|
1564
|
+
"MW",
|
|
1565
|
+
"MX",
|
|
1566
|
+
"MY",
|
|
1567
|
+
"MZ",
|
|
1568
|
+
"NA",
|
|
1569
|
+
"NC",
|
|
1570
|
+
"NE",
|
|
1571
|
+
"NG",
|
|
1572
|
+
"NI",
|
|
1573
|
+
"NL",
|
|
1574
|
+
"NO",
|
|
1575
|
+
"NP",
|
|
1576
|
+
"NR",
|
|
1577
|
+
"NU",
|
|
1578
|
+
"NZ",
|
|
1579
|
+
"OM",
|
|
1580
|
+
"PA",
|
|
1581
|
+
"PE",
|
|
1582
|
+
"PF",
|
|
1583
|
+
"PG",
|
|
1584
|
+
"PH",
|
|
1585
|
+
"PK",
|
|
1586
|
+
"PL",
|
|
1587
|
+
"PM",
|
|
1588
|
+
"PN",
|
|
1589
|
+
"PR",
|
|
1590
|
+
"PS",
|
|
1591
|
+
"PT",
|
|
1592
|
+
"PY",
|
|
1593
|
+
"QA",
|
|
1594
|
+
"RE",
|
|
1595
|
+
"RO",
|
|
1596
|
+
"RS",
|
|
1597
|
+
"RU",
|
|
1598
|
+
"RW",
|
|
1599
|
+
"SA",
|
|
1600
|
+
"SB",
|
|
1601
|
+
"SC",
|
|
1602
|
+
"SD",
|
|
1603
|
+
"SE",
|
|
1604
|
+
"SG",
|
|
1605
|
+
"SH",
|
|
1606
|
+
"SI",
|
|
1607
|
+
"SJ",
|
|
1608
|
+
"SK",
|
|
1609
|
+
"SL",
|
|
1610
|
+
"SM",
|
|
1611
|
+
"SN",
|
|
1612
|
+
"SO",
|
|
1613
|
+
"SR",
|
|
1614
|
+
"SS",
|
|
1615
|
+
"ST",
|
|
1616
|
+
"SV",
|
|
1617
|
+
"SX",
|
|
1618
|
+
"SZ",
|
|
1619
|
+
"TA",
|
|
1620
|
+
"TC",
|
|
1621
|
+
"TD",
|
|
1622
|
+
"TF",
|
|
1623
|
+
"TG",
|
|
1624
|
+
"TH",
|
|
1625
|
+
"TJ",
|
|
1626
|
+
"TK",
|
|
1627
|
+
"TL",
|
|
1628
|
+
"TM",
|
|
1629
|
+
"TN",
|
|
1630
|
+
"TO",
|
|
1631
|
+
"TR",
|
|
1632
|
+
"TT",
|
|
1633
|
+
"TV",
|
|
1634
|
+
"TW",
|
|
1635
|
+
"TZ",
|
|
1636
|
+
"UA",
|
|
1637
|
+
"UG",
|
|
1638
|
+
"US",
|
|
1639
|
+
"UY",
|
|
1640
|
+
"UZ",
|
|
1641
|
+
"VA",
|
|
1642
|
+
"VC",
|
|
1643
|
+
"VE",
|
|
1644
|
+
"VG",
|
|
1645
|
+
"VN",
|
|
1646
|
+
"VU",
|
|
1647
|
+
"WF",
|
|
1648
|
+
"WS",
|
|
1649
|
+
"XK",
|
|
1650
|
+
"YE",
|
|
1651
|
+
"YT",
|
|
1652
|
+
"ZA",
|
|
1653
|
+
"ZM",
|
|
1654
|
+
"ZW",
|
|
1655
|
+
"ZZ",
|
|
1656
|
+
]),
|
|
1657
|
+
),
|
|
1658
|
+
}),
|
|
1659
|
+
[
|
|
1660
|
+
Schema.Record(
|
|
1661
|
+
Schema.String,
|
|
1662
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1663
|
+
),
|
|
1664
|
+
],
|
|
1665
|
+
).annotate({
|
|
1666
|
+
title: "shipping_address_collection_params",
|
|
1667
|
+
description:
|
|
1668
|
+
"Configuration for collecting the customer's shipping address.",
|
|
1669
|
+
});
|
|
1670
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputAlternatives_8 =
|
|
1671
|
+
Schema.Literals(["auto", "book", "donate", "pay", "subscribe"]).annotate({
|
|
1672
|
+
description:
|
|
1673
|
+
"Describes the type of transaction being performed in order to customize relevant text on the page, such as the submit button. Changing this value will also affect the hostname in the [url](https://docs.stripe.com/api/payment_links/payment_links/object#url) property (example: `donate.stripe.com`).",
|
|
1674
|
+
});
|
|
1675
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputAlternatives_9 =
|
|
1676
|
+
Schema.Union([
|
|
1677
|
+
Schema.Array(
|
|
1678
|
+
Schema.StructWithRest(
|
|
1679
|
+
Schema.Struct({
|
|
1680
|
+
name: Schema.String.check(
|
|
1681
|
+
Schema.isMaxCodePoints(40).annotate({
|
|
1682
|
+
expected: "a string with at most 40 code points",
|
|
1683
|
+
}),
|
|
1684
|
+
),
|
|
1685
|
+
value: Schema.String.check(
|
|
1686
|
+
Schema.isMaxCodePoints(140).annotate({
|
|
1687
|
+
expected: "a string with at most 140 code points",
|
|
1688
|
+
}),
|
|
1689
|
+
),
|
|
1690
|
+
}),
|
|
1691
|
+
[
|
|
1692
|
+
Schema.Record(
|
|
1693
|
+
Schema.String,
|
|
1694
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1695
|
+
),
|
|
1696
|
+
],
|
|
1697
|
+
).annotate({ title: "custom_field_params" }),
|
|
1698
|
+
),
|
|
1699
|
+
Schema.Literal(""),
|
|
1700
|
+
]);
|
|
1701
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputAlternatives_10 =
|
|
1702
|
+
Schema.Literals(["account", "self"]);
|
|
1703
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputProperties_11 =
|
|
1704
|
+
Schema.Record(Schema.String, Schema.String);
|
|
1705
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputProperties_12 =
|
|
1706
|
+
Schema.StructWithRest(
|
|
1707
|
+
Schema.Struct({
|
|
1708
|
+
end_behavior: Schema.StructWithRest(
|
|
1709
|
+
Schema.Struct({
|
|
1710
|
+
missing_payment_method: Schema.Literals([
|
|
1711
|
+
"cancel",
|
|
1712
|
+
"create_invoice",
|
|
1713
|
+
"pause",
|
|
1714
|
+
]),
|
|
1715
|
+
}),
|
|
1716
|
+
[
|
|
1717
|
+
Schema.Record(
|
|
1718
|
+
Schema.String,
|
|
1719
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1720
|
+
),
|
|
1721
|
+
],
|
|
1722
|
+
).annotate({ title: "end_behavior" }),
|
|
1723
|
+
}),
|
|
1724
|
+
[
|
|
1725
|
+
Schema.Record(
|
|
1726
|
+
Schema.String,
|
|
1727
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1728
|
+
),
|
|
1729
|
+
],
|
|
1730
|
+
).annotate({ title: "trial_settings_config" });
|
|
1731
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputProperties_13 =
|
|
1732
|
+
Schema.StructWithRest(
|
|
1733
|
+
Schema.Struct({
|
|
1734
|
+
enabled: Schema.Boolean,
|
|
1735
|
+
required: Schema.optionalKey(Schema.Literals(["if_supported", "never"])),
|
|
1736
|
+
}),
|
|
1737
|
+
[
|
|
1738
|
+
Schema.Record(
|
|
1739
|
+
Schema.String,
|
|
1740
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1741
|
+
),
|
|
1742
|
+
],
|
|
1743
|
+
).annotate({
|
|
1744
|
+
title: "tax_id_collection_params",
|
|
1745
|
+
description: "Controls tax ID collection during checkout.",
|
|
1746
|
+
});
|
|
1747
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputAlternatives_11 =
|
|
1748
|
+
Schema.Union([
|
|
1749
|
+
Schema.Union([
|
|
1750
|
+
ResourceReferenceSchema(
|
|
1751
|
+
Schema.Struct({
|
|
1752
|
+
provider: Schema.Literal("stripe"),
|
|
1753
|
+
service: Schema.Literal("billing"),
|
|
1754
|
+
resource: Schema.Literal("v1-account"),
|
|
1755
|
+
}),
|
|
1756
|
+
{
|
|
1757
|
+
value: null,
|
|
1758
|
+
outputs: [
|
|
1759
|
+
{
|
|
1760
|
+
source: ["V1AccountId"],
|
|
1761
|
+
target: [],
|
|
1762
|
+
},
|
|
1763
|
+
],
|
|
1764
|
+
},
|
|
1765
|
+
).annotate({ expected: "ResourceEntity" }),
|
|
1766
|
+
]),
|
|
1767
|
+
]);
|
|
1768
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputProperties_14 =
|
|
1769
|
+
Schema.StructWithRest(
|
|
1770
|
+
Schema.Struct({
|
|
1771
|
+
account: Schema.optionalKey(
|
|
1772
|
+
StripePaymentLinkPropsSchemaInputResourceInputAlternatives_11,
|
|
1773
|
+
),
|
|
1774
|
+
type: StripePaymentLinkPropsSchemaInputResourceInputAlternatives,
|
|
1775
|
+
}),
|
|
1776
|
+
[
|
|
1777
|
+
Schema.Record(
|
|
1778
|
+
Schema.String,
|
|
1779
|
+
Schema.Union([
|
|
1780
|
+
ResourceInputJsonSchema,
|
|
1781
|
+
StripePaymentLinkPropsSchemaInputResourceInputAlternatives_11,
|
|
1782
|
+
]),
|
|
1783
|
+
),
|
|
1784
|
+
],
|
|
1785
|
+
).annotate({ title: "param" });
|
|
1786
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputAlternatives_12 =
|
|
1787
|
+
Schema.Union([
|
|
1788
|
+
Schema.Array(
|
|
1789
|
+
Schema.Union([
|
|
1790
|
+
Schema.Union([
|
|
1791
|
+
ResourceReferenceSchema(
|
|
1792
|
+
Schema.Struct({
|
|
1793
|
+
provider: Schema.Literal("stripe"),
|
|
1794
|
+
service: Schema.Literal("billing"),
|
|
1795
|
+
resource: Schema.Literal("tax-id"),
|
|
1796
|
+
}),
|
|
1797
|
+
{
|
|
1798
|
+
value: null,
|
|
1799
|
+
outputs: [
|
|
1800
|
+
{
|
|
1801
|
+
source: ["TaxIdId"],
|
|
1802
|
+
target: [],
|
|
1803
|
+
},
|
|
1804
|
+
],
|
|
1805
|
+
},
|
|
1806
|
+
).annotate({ expected: "ResourceEntity" }),
|
|
1807
|
+
]),
|
|
1808
|
+
]),
|
|
1809
|
+
),
|
|
1810
|
+
Schema.Literal(""),
|
|
1811
|
+
]);
|
|
1812
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputAlternatives_13 =
|
|
1813
|
+
Schema.Union([
|
|
1814
|
+
Schema.Union([
|
|
1815
|
+
ResourceReferenceSchema(
|
|
1816
|
+
Schema.Struct({
|
|
1817
|
+
provider: Schema.Literal("stripe"),
|
|
1818
|
+
service: Schema.Literal("billing"),
|
|
1819
|
+
resource: Schema.Literal("v1-account"),
|
|
1820
|
+
}),
|
|
1821
|
+
{
|
|
1822
|
+
value: null,
|
|
1823
|
+
outputs: [
|
|
1824
|
+
{
|
|
1825
|
+
source: ["V1AccountId"],
|
|
1826
|
+
target: [],
|
|
1827
|
+
},
|
|
1828
|
+
],
|
|
1829
|
+
},
|
|
1830
|
+
).annotate({ expected: "ResourceEntity" }),
|
|
1831
|
+
]),
|
|
1832
|
+
]);
|
|
1833
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputProperties_16 =
|
|
1834
|
+
Schema.StructWithRest(
|
|
1835
|
+
Schema.Struct({
|
|
1836
|
+
account: Schema.optionalKey(
|
|
1837
|
+
StripePaymentLinkPropsSchemaInputResourceInputAlternatives_13,
|
|
1838
|
+
),
|
|
1839
|
+
type: StripePaymentLinkPropsSchemaInputResourceInputAlternatives_4,
|
|
1840
|
+
}),
|
|
1841
|
+
[
|
|
1842
|
+
Schema.Record(
|
|
1843
|
+
Schema.String,
|
|
1844
|
+
Schema.Union([
|
|
1845
|
+
ResourceInputJsonSchema,
|
|
1846
|
+
StripePaymentLinkPropsSchemaInputResourceInputAlternatives_13,
|
|
1847
|
+
]),
|
|
1848
|
+
),
|
|
1849
|
+
],
|
|
1850
|
+
).annotate({ title: "param" });
|
|
1851
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputProperties_15 =
|
|
1852
|
+
Schema.StructWithRest(
|
|
1853
|
+
Schema.Struct({
|
|
1854
|
+
account_tax_ids: Schema.optionalKey(
|
|
1855
|
+
StripePaymentLinkPropsSchemaInputResourceInputAlternatives_12,
|
|
1856
|
+
),
|
|
1857
|
+
custom_fields: Schema.optionalKey(
|
|
1858
|
+
StripePaymentLinkPropsSchemaInputResourceInputAlternatives_3,
|
|
1859
|
+
),
|
|
1860
|
+
description: Schema.optionalKey(
|
|
1861
|
+
Schema.String.check(
|
|
1862
|
+
Schema.isMaxCodePoints(1500).annotate({
|
|
1863
|
+
expected: "a string with at most 1500 code points",
|
|
1864
|
+
}),
|
|
1865
|
+
),
|
|
1866
|
+
),
|
|
1867
|
+
footer: Schema.optionalKey(
|
|
1868
|
+
Schema.String.check(
|
|
1869
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1870
|
+
expected: "a string with at most 5000 code points",
|
|
1871
|
+
}),
|
|
1872
|
+
),
|
|
1873
|
+
),
|
|
1874
|
+
issuer: Schema.optionalKey(
|
|
1875
|
+
StripePaymentLinkPropsSchemaInputResourceInputProperties_16,
|
|
1876
|
+
),
|
|
1877
|
+
metadata: Schema.optionalKey(
|
|
1878
|
+
StripePaymentLinkPropsSchemaInputResourceInputAlternatives_5,
|
|
1879
|
+
),
|
|
1880
|
+
rendering_options: Schema.optionalKey(
|
|
1881
|
+
StripePaymentLinkPropsSchemaInputResourceInputAlternatives_6,
|
|
1882
|
+
),
|
|
1883
|
+
}),
|
|
1884
|
+
[
|
|
1885
|
+
Schema.Record(
|
|
1886
|
+
Schema.String,
|
|
1887
|
+
Schema.Union([
|
|
1888
|
+
ResourceInputJsonSchema,
|
|
1889
|
+
StripePaymentLinkPropsSchemaInputResourceInputAlternatives_12,
|
|
1890
|
+
StripePaymentLinkPropsSchemaInputResourceInputProperties_16,
|
|
1891
|
+
]),
|
|
1892
|
+
),
|
|
1893
|
+
],
|
|
1894
|
+
).annotate({ title: "invoice_settings_params" });
|
|
1895
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputAlternatives_14 =
|
|
1896
|
+
Schema.Union([
|
|
1897
|
+
Schema.Union([
|
|
1898
|
+
ResourceReferenceSchema(
|
|
1899
|
+
Schema.Struct({
|
|
1900
|
+
provider: Schema.Literal("stripe"),
|
|
1901
|
+
service: Schema.Literal("billing"),
|
|
1902
|
+
resource: Schema.Literal("shipping-rate"),
|
|
1903
|
+
}),
|
|
1904
|
+
{
|
|
1905
|
+
value: null,
|
|
1906
|
+
outputs: [
|
|
1907
|
+
{
|
|
1908
|
+
source: ["ShippingRateId"],
|
|
1909
|
+
target: [],
|
|
1910
|
+
},
|
|
1911
|
+
],
|
|
1912
|
+
},
|
|
1913
|
+
).annotate({ expected: "ResourceEntity" }),
|
|
1914
|
+
]),
|
|
1915
|
+
]);
|
|
1916
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputAlternatives_15 =
|
|
1917
|
+
Schema.Union([
|
|
1918
|
+
Schema.Array(
|
|
1919
|
+
Schema.Union([
|
|
1920
|
+
Schema.Union([
|
|
1921
|
+
ResourceReferenceSchema(
|
|
1922
|
+
Schema.Struct({
|
|
1923
|
+
provider: Schema.Literal("stripe"),
|
|
1924
|
+
service: Schema.Literal("billing"),
|
|
1925
|
+
resource: Schema.Literal("tax-id"),
|
|
1926
|
+
}),
|
|
1927
|
+
{
|
|
1928
|
+
value: null,
|
|
1929
|
+
outputs: [
|
|
1930
|
+
{
|
|
1931
|
+
source: ["TaxIdId"],
|
|
1932
|
+
target: [],
|
|
1933
|
+
},
|
|
1934
|
+
],
|
|
1935
|
+
},
|
|
1936
|
+
).annotate({ expected: "ResourceEntity" }),
|
|
1937
|
+
]),
|
|
1938
|
+
]),
|
|
1939
|
+
),
|
|
1940
|
+
Schema.Literal(""),
|
|
1941
|
+
]);
|
|
1942
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputAlternatives_16 =
|
|
1943
|
+
Schema.Union([
|
|
1944
|
+
Schema.Union([
|
|
1945
|
+
ResourceReferenceSchema(
|
|
1946
|
+
Schema.Struct({
|
|
1947
|
+
provider: Schema.Literal("stripe"),
|
|
1948
|
+
service: Schema.Literal("billing"),
|
|
1949
|
+
resource: Schema.Literal("v1-account"),
|
|
1950
|
+
}),
|
|
1951
|
+
{
|
|
1952
|
+
value: null,
|
|
1953
|
+
outputs: [
|
|
1954
|
+
{
|
|
1955
|
+
source: ["V1AccountId"],
|
|
1956
|
+
target: [],
|
|
1957
|
+
},
|
|
1958
|
+
],
|
|
1959
|
+
},
|
|
1960
|
+
).annotate({ expected: "ResourceEntity" }),
|
|
1961
|
+
]),
|
|
1962
|
+
]);
|
|
1963
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputProperties_18 =
|
|
1964
|
+
Schema.StructWithRest(
|
|
1965
|
+
Schema.Struct({
|
|
1966
|
+
account: Schema.optionalKey(
|
|
1967
|
+
StripePaymentLinkPropsSchemaInputResourceInputAlternatives_16,
|
|
1968
|
+
),
|
|
1969
|
+
type: StripePaymentLinkPropsSchemaInputResourceInputAlternatives_10,
|
|
1970
|
+
}),
|
|
1971
|
+
[
|
|
1972
|
+
Schema.Record(
|
|
1973
|
+
Schema.String,
|
|
1974
|
+
Schema.Union([
|
|
1975
|
+
ResourceInputJsonSchema,
|
|
1976
|
+
StripePaymentLinkPropsSchemaInputResourceInputAlternatives_16,
|
|
1977
|
+
]),
|
|
1978
|
+
),
|
|
1979
|
+
],
|
|
1980
|
+
).annotate({ title: "param" });
|
|
1981
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputProperties_17 =
|
|
1982
|
+
Schema.StructWithRest(
|
|
1983
|
+
Schema.Struct({
|
|
1984
|
+
account_tax_ids: Schema.optionalKey(
|
|
1985
|
+
StripePaymentLinkPropsSchemaInputResourceInputAlternatives_15,
|
|
1986
|
+
),
|
|
1987
|
+
custom_fields: Schema.optionalKey(
|
|
1988
|
+
StripePaymentLinkPropsSchemaInputResourceInputAlternatives_9,
|
|
1989
|
+
),
|
|
1990
|
+
description: Schema.optionalKey(
|
|
1991
|
+
Schema.String.check(
|
|
1992
|
+
Schema.isMaxCodePoints(500).annotate({
|
|
1993
|
+
expected: "a string with at most 500 code points",
|
|
1994
|
+
}),
|
|
1995
|
+
),
|
|
1996
|
+
),
|
|
1997
|
+
footer: Schema.optionalKey(
|
|
1998
|
+
Schema.String.check(
|
|
1999
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2000
|
+
expected: "a string with at most 5000 code points",
|
|
2001
|
+
}),
|
|
2002
|
+
),
|
|
2003
|
+
),
|
|
2004
|
+
issuer: Schema.optionalKey(
|
|
2005
|
+
StripePaymentLinkPropsSchemaInputResourceInputProperties_18,
|
|
2006
|
+
),
|
|
2007
|
+
}),
|
|
2008
|
+
[
|
|
2009
|
+
Schema.Record(
|
|
2010
|
+
Schema.String,
|
|
2011
|
+
Schema.Union([
|
|
2012
|
+
ResourceInputJsonSchema,
|
|
2013
|
+
StripePaymentLinkPropsSchemaInputResourceInputAlternatives_15,
|
|
2014
|
+
StripePaymentLinkPropsSchemaInputResourceInputProperties_18,
|
|
2015
|
+
]),
|
|
2016
|
+
),
|
|
2017
|
+
],
|
|
2018
|
+
).annotate({ title: "subscription_data_invoice_settings_params" });
|
|
2019
|
+
export const StripePaymentLinkPropsSchemaInputResourceInputAlternatives_17 =
|
|
2020
|
+
Schema.Union([
|
|
2021
|
+
Schema.Union([
|
|
2022
|
+
ResourceReferenceSchema(
|
|
2023
|
+
Schema.Struct({
|
|
2024
|
+
provider: Schema.Literal("stripe"),
|
|
2025
|
+
service: Schema.Literal("billing"),
|
|
2026
|
+
resource: Schema.Literal("v1-account"),
|
|
2027
|
+
}),
|
|
2028
|
+
{
|
|
2029
|
+
value: null,
|
|
2030
|
+
outputs: [
|
|
2031
|
+
{
|
|
2032
|
+
source: ["V1AccountId"],
|
|
2033
|
+
target: [],
|
|
2034
|
+
},
|
|
2035
|
+
],
|
|
2036
|
+
},
|
|
2037
|
+
).annotate({ expected: "ResourceEntity" }),
|
|
2038
|
+
]),
|
|
2039
|
+
]);
|