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/StripeSubscriptionPropsEntitySchema.ts
CHANGED
|
@@ -9,103 +9,65 @@ import {
|
|
|
9
9
|
ResourceInputJsonSchema,
|
|
10
10
|
ResourceReferenceSchema,
|
|
11
11
|
} from "../../../../../core/resource/model.js";
|
|
12
|
-
import { StripeResourceEntityInputAlternatives_25 } from "./StripeResourceEntityInputAlternatives_25.js";
|
|
13
|
-
import { StripeResourceEntityInputAlternatives_26 } from "./StripeResourceEntityInputAlternatives_26.js";
|
|
14
|
-
import { StripeResourceEntityInputAlternatives_28 } from "./StripeResourceEntityInputAlternatives_28.js";
|
|
15
|
-
import { StripeResourceEntityInputItems_2 } from "./StripeResourceEntityInputItems_2.js";
|
|
16
|
-
import { StripeResourceEntityInputProperties_12 } from "./StripeResourceEntityInputProperties_12.js";
|
|
17
|
-
import { StripeResourceEntityInputProperties_13 } from "./StripeResourceEntityInputProperties_13.js";
|
|
18
12
|
import { StripeSubscriptionResourceSchema } from "./StripeSubscriptionPropsSchema.js";
|
|
13
|
+
import {
|
|
14
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives,
|
|
15
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_2,
|
|
16
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_3,
|
|
17
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_4,
|
|
18
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_5,
|
|
19
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_6,
|
|
20
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_8,
|
|
21
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_9,
|
|
22
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_10,
|
|
23
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_11,
|
|
24
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_12,
|
|
25
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_15,
|
|
26
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_16,
|
|
27
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_18,
|
|
28
|
+
StripeSubscriptionPropsSchemaInputResourceInputItems,
|
|
29
|
+
StripeSubscriptionPropsSchemaInputResourceInputItems_1,
|
|
30
|
+
StripeSubscriptionPropsSchemaInputResourceInputItems_2,
|
|
31
|
+
StripeSubscriptionPropsSchemaInputResourceInputItems_3,
|
|
32
|
+
StripeSubscriptionPropsSchemaInputResourceInputProperties,
|
|
33
|
+
StripeSubscriptionPropsSchemaInputResourceInputProperties_1,
|
|
34
|
+
StripeSubscriptionPropsSchemaInputResourceInputProperties_2,
|
|
35
|
+
StripeSubscriptionPropsSchemaInputResourceInputProperties_3,
|
|
36
|
+
StripeSubscriptionPropsSchemaInputResourceInputProperties_4,
|
|
37
|
+
StripeSubscriptionPropsSchemaInputResourceInputProperties_5,
|
|
38
|
+
StripeSubscriptionPropsSchemaInputResourceInputProperties_6,
|
|
39
|
+
} from "./StripeSubscriptionPropsValidators.js";
|
|
19
40
|
|
|
20
41
|
export type StripeSubscriptionPropsEntity = {
|
|
21
|
-
readonly add_invoice_items?:
|
|
22
|
-
|
|
23
|
-
readonly discountable?: boolean;
|
|
24
|
-
readonly discounts?: ReadonlyArray<
|
|
25
|
-
{
|
|
26
|
-
readonly coupon?: string;
|
|
27
|
-
readonly discount?: string;
|
|
28
|
-
readonly promotion_code?: string;
|
|
29
|
-
} & { readonly [x: string]: Schema.Json }
|
|
30
|
-
>;
|
|
31
|
-
readonly metadata?: { readonly [x: string]: string };
|
|
32
|
-
readonly period?: {
|
|
33
|
-
readonly end: {
|
|
34
|
-
readonly timestamp?: number;
|
|
35
|
-
readonly type: "min_item_period_end" | "timestamp";
|
|
36
|
-
} & { readonly [x: string]: Schema.Json };
|
|
37
|
-
readonly start: {
|
|
38
|
-
readonly timestamp?: number;
|
|
39
|
-
readonly type: "max_item_period_start" | "now" | "timestamp";
|
|
40
|
-
} & { readonly [x: string]: Schema.Json };
|
|
41
|
-
} & { readonly [x: string]: Schema.Json };
|
|
42
|
-
readonly price?: string;
|
|
43
|
-
readonly price_data?: {
|
|
44
|
-
readonly currency: string;
|
|
45
|
-
readonly product: string;
|
|
46
|
-
readonly tax_behavior?: "exclusive" | "inclusive" | "unspecified";
|
|
47
|
-
readonly unit_amount?: number;
|
|
48
|
-
readonly unit_amount_decimal?: string;
|
|
49
|
-
} & { readonly [x: string]: Schema.Json };
|
|
50
|
-
readonly quantity?: number;
|
|
51
|
-
readonly tax_rates?: ReadonlyArray<string> | "";
|
|
52
|
-
} & { readonly [x: string]: Schema.Json }
|
|
53
|
-
>;
|
|
54
|
-
readonly application_fee_percent?: number | "";
|
|
42
|
+
readonly add_invoice_items?: StripeSubscriptionPropsSchemaInputResourceInputItems;
|
|
43
|
+
readonly application_fee_percent?: StripeSubscriptionPropsSchemaInputResourceInputAlternatives;
|
|
55
44
|
readonly automatic_tax?: {
|
|
56
45
|
readonly enabled: boolean;
|
|
57
|
-
readonly liability?:
|
|
46
|
+
readonly liability?: StripeSubscriptionPropsSchemaInputResourceInputProperties_5;
|
|
58
47
|
} & {
|
|
59
48
|
readonly [x: string]:
|
|
60
49
|
| ResourceInputJson
|
|
61
|
-
|
|
|
50
|
+
| StripeSubscriptionPropsSchemaInputResourceInputProperties_5;
|
|
62
51
|
};
|
|
63
52
|
readonly backdate_start_date?: number;
|
|
64
53
|
readonly billing_cycle_anchor?: number;
|
|
65
|
-
readonly billing_cycle_anchor_config?:
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
readonly minute?: number;
|
|
69
|
-
readonly month?: number;
|
|
70
|
-
readonly second?: number;
|
|
71
|
-
} & { readonly [x: string]: Schema.Json };
|
|
72
|
-
readonly billing_mode?: {
|
|
73
|
-
readonly flexible?: {
|
|
74
|
-
readonly proration_discounts?: "included" | "itemized";
|
|
75
|
-
} & { readonly [x: string]: Schema.Json };
|
|
76
|
-
readonly type: "classic" | "flexible";
|
|
77
|
-
} & { readonly [x: string]: Schema.Json };
|
|
78
|
-
readonly billing_schedules?: ReadonlyArray<
|
|
54
|
+
readonly billing_cycle_anchor_config?: StripeSubscriptionPropsSchemaInputResourceInputProperties;
|
|
55
|
+
readonly billing_mode?: StripeSubscriptionPropsSchemaInputResourceInputProperties_1;
|
|
56
|
+
readonly billing_schedules?: globalThis.ReadonlyArray<
|
|
79
57
|
{
|
|
80
|
-
readonly applies_to?:
|
|
81
|
-
readonly bill_until:
|
|
82
|
-
readonly duration?: {
|
|
83
|
-
readonly interval: "day" | "month" | "week" | "year";
|
|
84
|
-
readonly interval_count?: number;
|
|
85
|
-
} & { readonly [x: string]: Schema.Json };
|
|
86
|
-
readonly timestamp?: number;
|
|
87
|
-
readonly type: "duration" | "timestamp";
|
|
88
|
-
} & { readonly [x: string]: Schema.Json };
|
|
58
|
+
readonly applies_to?: StripeSubscriptionPropsSchemaInputResourceInputItems_3;
|
|
59
|
+
readonly bill_until: StripeSubscriptionPropsSchemaInputResourceInputProperties_2;
|
|
89
60
|
readonly key?: string;
|
|
90
61
|
} & {
|
|
91
62
|
readonly [x: string]:
|
|
92
63
|
| ResourceInputJson
|
|
93
|
-
|
|
|
64
|
+
| StripeSubscriptionPropsSchemaInputResourceInputItems_3;
|
|
94
65
|
}
|
|
95
66
|
>;
|
|
96
|
-
readonly billing_thresholds?:
|
|
97
|
-
|
|
98
|
-
readonly amount_gte?: number;
|
|
99
|
-
readonly reset_billing_cycle_anchor?: boolean;
|
|
100
|
-
} & { readonly [x: string]: Schema.Json })
|
|
101
|
-
| "";
|
|
102
|
-
readonly cancel_at?:
|
|
103
|
-
| number
|
|
104
|
-
| "max_billed_until"
|
|
105
|
-
| "max_period_end"
|
|
106
|
-
| "min_period_end";
|
|
67
|
+
readonly billing_thresholds?: StripeSubscriptionPropsSchemaInputResourceInputAlternatives_2;
|
|
68
|
+
readonly cancel_at?: StripeSubscriptionPropsSchemaInputResourceInputAlternatives_3;
|
|
107
69
|
readonly cancel_at_period_end?: boolean;
|
|
108
|
-
readonly collection_method?:
|
|
70
|
+
readonly collection_method?: StripeSubscriptionPropsSchemaInputResourceInputAlternatives_4;
|
|
109
71
|
readonly currency?: string;
|
|
110
72
|
readonly customer?: ResourceEntity<{
|
|
111
73
|
readonly provider: "stripe";
|
|
@@ -135,511 +97,82 @@ export type StripeSubscriptionPropsEntity = {
|
|
|
135
97
|
readonly service: "billing";
|
|
136
98
|
readonly resource: "source";
|
|
137
99
|
}>;
|
|
138
|
-
readonly default_tax_rates?:
|
|
100
|
+
readonly default_tax_rates?: StripeSubscriptionPropsSchemaInputResourceInputAlternatives_5;
|
|
139
101
|
readonly description?: string;
|
|
140
102
|
readonly discounts?:
|
|
141
|
-
| ReadonlyArray<
|
|
103
|
+
| globalThis.ReadonlyArray<
|
|
142
104
|
{
|
|
143
105
|
readonly coupon?: string;
|
|
144
106
|
readonly discount?: string;
|
|
145
|
-
readonly promotion_code?:
|
|
107
|
+
readonly promotion_code?: StripeSubscriptionPropsSchemaInputResourceInputAlternatives_15;
|
|
146
108
|
} & {
|
|
147
109
|
readonly [x: string]:
|
|
148
110
|
| ResourceInputJson
|
|
149
|
-
|
|
|
111
|
+
| StripeSubscriptionPropsSchemaInputResourceInputAlternatives_15;
|
|
150
112
|
}
|
|
151
113
|
>
|
|
152
114
|
| "";
|
|
153
|
-
readonly expand?:
|
|
115
|
+
readonly expand?: StripeSubscriptionPropsSchemaInputResourceInputItems_1;
|
|
154
116
|
readonly invoice_settings?: {
|
|
155
|
-
readonly account_tax_ids?:
|
|
156
|
-
readonly custom_fields?:
|
|
157
|
-
| ReadonlyArray<
|
|
158
|
-
{ readonly name: string; readonly value: string } & {
|
|
159
|
-
readonly [x: string]: Schema.Json;
|
|
160
|
-
}
|
|
161
|
-
>
|
|
162
|
-
| "";
|
|
117
|
+
readonly account_tax_ids?: StripeSubscriptionPropsSchemaInputResourceInputAlternatives_16;
|
|
118
|
+
readonly custom_fields?: StripeSubscriptionPropsSchemaInputResourceInputAlternatives_6;
|
|
163
119
|
readonly description?: string;
|
|
164
120
|
readonly footer?: string;
|
|
165
|
-
readonly issuer?:
|
|
121
|
+
readonly issuer?: StripeSubscriptionPropsSchemaInputResourceInputProperties_6;
|
|
166
122
|
} & {
|
|
167
123
|
readonly [x: string]:
|
|
168
124
|
| ResourceInputJson
|
|
169
|
-
|
|
|
170
|
-
|
|
|
125
|
+
| StripeSubscriptionPropsSchemaInputResourceInputAlternatives_16
|
|
126
|
+
| StripeSubscriptionPropsSchemaInputResourceInputProperties_6;
|
|
171
127
|
};
|
|
172
|
-
readonly items?:
|
|
173
|
-
|
|
174
|
-
readonly billing_thresholds?:
|
|
175
|
-
| ({ readonly usage_gte: number } & {
|
|
176
|
-
readonly [x: string]: Schema.Json;
|
|
177
|
-
})
|
|
178
|
-
| "";
|
|
179
|
-
readonly current_trial?: { readonly trial_offer: string } & {
|
|
180
|
-
readonly [x: string]: Schema.Json;
|
|
181
|
-
};
|
|
182
|
-
readonly discounts?:
|
|
183
|
-
| ReadonlyArray<
|
|
184
|
-
{
|
|
185
|
-
readonly coupon?: string;
|
|
186
|
-
readonly discount?: string;
|
|
187
|
-
readonly promotion_code?: string;
|
|
188
|
-
} & { readonly [x: string]: Schema.Json }
|
|
189
|
-
>
|
|
190
|
-
| "";
|
|
191
|
-
readonly metadata?: { readonly [x: string]: string };
|
|
192
|
-
readonly price?: string;
|
|
193
|
-
readonly price_data?: {
|
|
194
|
-
readonly currency: string;
|
|
195
|
-
readonly product: string;
|
|
196
|
-
readonly recurring: {
|
|
197
|
-
readonly interval: "day" | "month" | "week" | "year";
|
|
198
|
-
readonly interval_count?: number;
|
|
199
|
-
} & { readonly [x: string]: Schema.Json };
|
|
200
|
-
readonly tax_behavior?: "exclusive" | "inclusive" | "unspecified";
|
|
201
|
-
readonly unit_amount?: number;
|
|
202
|
-
readonly unit_amount_decimal?: string;
|
|
203
|
-
} & { readonly [x: string]: Schema.Json };
|
|
204
|
-
readonly quantity?: number;
|
|
205
|
-
readonly tax_rates?: ReadonlyArray<string> | "";
|
|
206
|
-
} & { readonly [x: string]: Schema.Json }
|
|
207
|
-
>;
|
|
208
|
-
readonly metadata?: { readonly [x: string]: string } | "";
|
|
128
|
+
readonly items?: StripeSubscriptionPropsSchemaInputResourceInputItems_2;
|
|
129
|
+
readonly metadata?: StripeSubscriptionPropsSchemaInputResourceInputAlternatives_8;
|
|
209
130
|
readonly off_session?: boolean;
|
|
210
131
|
readonly on_behalf_of?: ResourceEntity<{
|
|
211
132
|
readonly provider: "stripe";
|
|
212
133
|
readonly service: "billing";
|
|
213
134
|
readonly resource: "v1-account";
|
|
214
135
|
}>;
|
|
215
|
-
readonly payment_behavior?:
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
| "pending_if_incomplete";
|
|
220
|
-
readonly payment_settings?: {
|
|
221
|
-
readonly payment_method_options?: {
|
|
222
|
-
readonly acss_debit?:
|
|
223
|
-
| ({
|
|
224
|
-
readonly mandate_options?: {
|
|
225
|
-
readonly transaction_type?: "business" | "personal";
|
|
226
|
-
} & { readonly [x: string]: Schema.Json };
|
|
227
|
-
readonly verification_method?:
|
|
228
|
-
| "automatic"
|
|
229
|
-
| "instant"
|
|
230
|
-
| "microdeposits";
|
|
231
|
-
} & { readonly [x: string]: Schema.Json })
|
|
232
|
-
| "";
|
|
233
|
-
readonly bancontact?:
|
|
234
|
-
| ({ readonly preferred_language?: "de" | "en" | "fr" | "nl" } & {
|
|
235
|
-
readonly [x: string]: Schema.Json;
|
|
236
|
-
})
|
|
237
|
-
| "";
|
|
238
|
-
readonly billie?:
|
|
239
|
-
| ({
|
|
240
|
-
readonly company_details?:
|
|
241
|
-
| ({
|
|
242
|
-
readonly registered_address?:
|
|
243
|
-
| ({
|
|
244
|
-
readonly city?: string;
|
|
245
|
-
readonly country?: string;
|
|
246
|
-
readonly line1?: string;
|
|
247
|
-
readonly line2?: string;
|
|
248
|
-
readonly postal_code?: string;
|
|
249
|
-
readonly state?: string;
|
|
250
|
-
} & { readonly [x: string]: Schema.Json })
|
|
251
|
-
| "";
|
|
252
|
-
readonly registered_name?: string;
|
|
253
|
-
readonly registration_number?: string;
|
|
254
|
-
readonly registration_type?:
|
|
255
|
-
| ""
|
|
256
|
-
| "ch_ein"
|
|
257
|
-
| "de_hrb"
|
|
258
|
-
| "dk_cvr"
|
|
259
|
-
| "es_cif"
|
|
260
|
-
| "fi_tunnus"
|
|
261
|
-
| "fr_siren"
|
|
262
|
-
| "fr_siret"
|
|
263
|
-
| "it_rea"
|
|
264
|
-
| "nl_kvk"
|
|
265
|
-
| "no_org_number"
|
|
266
|
-
| "no_pno"
|
|
267
|
-
| "se_org_number"
|
|
268
|
-
| "se_pno"
|
|
269
|
-
| "uk_crn";
|
|
270
|
-
readonly vat?: string;
|
|
271
|
-
} & { readonly [x: string]: Schema.Json })
|
|
272
|
-
| "";
|
|
273
|
-
} & { readonly [x: string]: Schema.Json })
|
|
274
|
-
| "";
|
|
275
|
-
readonly blik?:
|
|
276
|
-
| ({
|
|
277
|
-
readonly mandate_options?: { readonly expires_at?: number } & {
|
|
278
|
-
readonly [x: string]: Schema.Json;
|
|
279
|
-
};
|
|
280
|
-
} & { readonly [x: string]: Schema.Json })
|
|
281
|
-
| "";
|
|
282
|
-
readonly card?:
|
|
283
|
-
| ({
|
|
284
|
-
readonly mandate_options?: {
|
|
285
|
-
readonly amount?: number;
|
|
286
|
-
readonly amount_type?: "fixed" | "maximum";
|
|
287
|
-
readonly description?: string;
|
|
288
|
-
} & { readonly [x: string]: Schema.Json };
|
|
289
|
-
readonly network?:
|
|
290
|
-
| "amex"
|
|
291
|
-
| "cartes_bancaires"
|
|
292
|
-
| "diners"
|
|
293
|
-
| "discover"
|
|
294
|
-
| "eftpos_au"
|
|
295
|
-
| "girocard"
|
|
296
|
-
| "interac"
|
|
297
|
-
| "jcb"
|
|
298
|
-
| "link"
|
|
299
|
-
| "mastercard"
|
|
300
|
-
| "unionpay"
|
|
301
|
-
| "unknown"
|
|
302
|
-
| "visa";
|
|
303
|
-
readonly request_three_d_secure?: "any" | "automatic" | "challenge";
|
|
304
|
-
} & { readonly [x: string]: Schema.Json })
|
|
305
|
-
| "";
|
|
306
|
-
readonly customer_balance?:
|
|
307
|
-
| ({
|
|
308
|
-
readonly bank_transfer?: {
|
|
309
|
-
readonly eu_bank_transfer?: { readonly country: string } & {
|
|
310
|
-
readonly [x: string]: Schema.Json;
|
|
311
|
-
};
|
|
312
|
-
readonly type?: string;
|
|
313
|
-
} & { readonly [x: string]: Schema.Json };
|
|
314
|
-
readonly funding_type?: string;
|
|
315
|
-
} & { readonly [x: string]: Schema.Json })
|
|
316
|
-
| "";
|
|
317
|
-
readonly konbini?: { readonly [x: string]: Schema.Json } | "";
|
|
318
|
-
readonly payto?:
|
|
319
|
-
| ({
|
|
320
|
-
readonly mandate_options?: {
|
|
321
|
-
readonly amount?: number;
|
|
322
|
-
readonly purpose?:
|
|
323
|
-
| "dependant_support"
|
|
324
|
-
| "government"
|
|
325
|
-
| "loan"
|
|
326
|
-
| "mortgage"
|
|
327
|
-
| "other"
|
|
328
|
-
| "pension"
|
|
329
|
-
| "personal"
|
|
330
|
-
| "retail"
|
|
331
|
-
| "salary"
|
|
332
|
-
| "tax"
|
|
333
|
-
| "utility";
|
|
334
|
-
} & { readonly [x: string]: Schema.Json };
|
|
335
|
-
} & { readonly [x: string]: Schema.Json })
|
|
336
|
-
| "";
|
|
337
|
-
readonly pix?:
|
|
338
|
-
| ({
|
|
339
|
-
readonly expires_after_seconds?: number;
|
|
340
|
-
readonly mandate_options?: {
|
|
341
|
-
readonly amount?: number;
|
|
342
|
-
readonly amount_includes_iof?: "always" | "never";
|
|
343
|
-
readonly end_date?: string;
|
|
344
|
-
readonly payment_schedule?:
|
|
345
|
-
| "halfyearly"
|
|
346
|
-
| "monthly"
|
|
347
|
-
| "quarterly"
|
|
348
|
-
| "weekly"
|
|
349
|
-
| "yearly";
|
|
350
|
-
} & { readonly [x: string]: Schema.Json };
|
|
351
|
-
} & { readonly [x: string]: Schema.Json })
|
|
352
|
-
| "";
|
|
353
|
-
readonly sepa_debit?: { readonly [x: string]: Schema.Json } | "";
|
|
354
|
-
readonly upi?:
|
|
355
|
-
| ({
|
|
356
|
-
readonly mandate_options?: {
|
|
357
|
-
readonly amount?: number;
|
|
358
|
-
readonly amount_type?: "fixed" | "maximum";
|
|
359
|
-
readonly description?: string;
|
|
360
|
-
readonly end_date?: number;
|
|
361
|
-
} & { readonly [x: string]: Schema.Json };
|
|
362
|
-
} & { readonly [x: string]: Schema.Json })
|
|
363
|
-
| "";
|
|
364
|
-
readonly us_bank_account?:
|
|
365
|
-
| ({
|
|
366
|
-
readonly financial_connections?: {
|
|
367
|
-
readonly filters?: {
|
|
368
|
-
readonly account_subcategories?: ReadonlyArray<
|
|
369
|
-
"checking" | "savings"
|
|
370
|
-
>;
|
|
371
|
-
} & { readonly [x: string]: Schema.Json };
|
|
372
|
-
readonly permissions?: ReadonlyArray<
|
|
373
|
-
"balances" | "ownership" | "payment_method" | "transactions"
|
|
374
|
-
>;
|
|
375
|
-
readonly prefetch?: ReadonlyArray<
|
|
376
|
-
"balances" | "ownership" | "transactions"
|
|
377
|
-
>;
|
|
378
|
-
} & { readonly [x: string]: Schema.Json };
|
|
379
|
-
readonly verification_method?:
|
|
380
|
-
| "automatic"
|
|
381
|
-
| "instant"
|
|
382
|
-
| "microdeposits";
|
|
383
|
-
} & { readonly [x: string]: Schema.Json })
|
|
384
|
-
| "";
|
|
385
|
-
} & { readonly [x: string]: Schema.Json };
|
|
386
|
-
readonly payment_method_types?:
|
|
387
|
-
| ReadonlyArray<
|
|
388
|
-
| "ach_credit_transfer"
|
|
389
|
-
| "ach_debit"
|
|
390
|
-
| "acss_debit"
|
|
391
|
-
| "affirm"
|
|
392
|
-
| "alipay"
|
|
393
|
-
| "amazon_pay"
|
|
394
|
-
| "au_becs_debit"
|
|
395
|
-
| "bacs_debit"
|
|
396
|
-
| "bancontact"
|
|
397
|
-
| "billie"
|
|
398
|
-
| "blik"
|
|
399
|
-
| "boleto"
|
|
400
|
-
| "card"
|
|
401
|
-
| "cashapp"
|
|
402
|
-
| "crypto"
|
|
403
|
-
| "custom"
|
|
404
|
-
| "customer_balance"
|
|
405
|
-
| "eps"
|
|
406
|
-
| "fpx"
|
|
407
|
-
| "giropay"
|
|
408
|
-
| "grabpay"
|
|
409
|
-
| "ideal"
|
|
410
|
-
| "jp_credit_transfer"
|
|
411
|
-
| "kakao_pay"
|
|
412
|
-
| "klarna"
|
|
413
|
-
| "konbini"
|
|
414
|
-
| "kr_card"
|
|
415
|
-
| "link"
|
|
416
|
-
| "mb_way"
|
|
417
|
-
| "multibanco"
|
|
418
|
-
| "naver_pay"
|
|
419
|
-
| "nz_bank_account"
|
|
420
|
-
| "p24"
|
|
421
|
-
| "pay_by_bank"
|
|
422
|
-
| "payco"
|
|
423
|
-
| "paynow"
|
|
424
|
-
| "paypal"
|
|
425
|
-
| "payto"
|
|
426
|
-
| "pix"
|
|
427
|
-
| "promptpay"
|
|
428
|
-
| "revolut_pay"
|
|
429
|
-
| "satispay"
|
|
430
|
-
| "sepa_credit_transfer"
|
|
431
|
-
| "sepa_debit"
|
|
432
|
-
| "sequra"
|
|
433
|
-
| "sofort"
|
|
434
|
-
| "swish"
|
|
435
|
-
| "twint"
|
|
436
|
-
| "upi"
|
|
437
|
-
| "us_bank_account"
|
|
438
|
-
| "wechat_pay"
|
|
439
|
-
>
|
|
440
|
-
| "";
|
|
441
|
-
readonly save_default_payment_method?: "off" | "on_subscription";
|
|
442
|
-
} & { readonly [x: string]: Schema.Json };
|
|
443
|
-
readonly pending_invoice_item_interval?:
|
|
444
|
-
| ({
|
|
445
|
-
readonly interval: "day" | "month" | "week" | "year";
|
|
446
|
-
readonly interval_count?: number;
|
|
447
|
-
} & { readonly [x: string]: Schema.Json })
|
|
448
|
-
| "";
|
|
449
|
-
readonly proration_behavior?: "always_invoice" | "create_prorations" | "none";
|
|
136
|
+
readonly payment_behavior?: StripeSubscriptionPropsSchemaInputResourceInputAlternatives_9;
|
|
137
|
+
readonly payment_settings?: StripeSubscriptionPropsSchemaInputResourceInputProperties_3;
|
|
138
|
+
readonly pending_invoice_item_interval?: StripeSubscriptionPropsSchemaInputResourceInputAlternatives_10;
|
|
139
|
+
readonly proration_behavior?: StripeSubscriptionPropsSchemaInputResourceInputAlternatives_11;
|
|
450
140
|
readonly transfer_data?: {
|
|
451
141
|
readonly amount_percent?: number;
|
|
452
|
-
readonly destination:
|
|
142
|
+
readonly destination: StripeSubscriptionPropsSchemaInputResourceInputAlternatives_18;
|
|
453
143
|
} & {
|
|
454
144
|
readonly [x: string]:
|
|
455
145
|
| ResourceInputJson
|
|
456
|
-
|
|
|
146
|
+
| StripeSubscriptionPropsSchemaInputResourceInputAlternatives_18;
|
|
457
147
|
};
|
|
458
|
-
readonly trial_end?:
|
|
148
|
+
readonly trial_end?: StripeSubscriptionPropsSchemaInputResourceInputAlternatives_12;
|
|
459
149
|
readonly trial_from_plan?: boolean;
|
|
460
150
|
readonly trial_period_days?: number;
|
|
461
|
-
readonly trial_settings?:
|
|
462
|
-
readonly end_behavior: {
|
|
463
|
-
readonly billing_cycle_anchor?: "now" | "unchanged";
|
|
464
|
-
readonly missing_payment_method?: "cancel" | "create_invoice" | "pause";
|
|
465
|
-
} & { readonly [x: string]: Schema.Json };
|
|
466
|
-
} & { readonly [x: string]: Schema.Json };
|
|
151
|
+
readonly trial_settings?: StripeSubscriptionPropsSchemaInputResourceInputProperties_4;
|
|
467
152
|
};
|
|
468
153
|
|
|
469
154
|
export const StripeSubscriptionPropsEntitySchema = annotateResourceSchema(
|
|
470
155
|
Schema.Struct({
|
|
471
156
|
add_invoice_items: Schema.optionalKey(
|
|
472
|
-
|
|
473
|
-
Schema.StructWithRest(
|
|
474
|
-
Schema.Struct({
|
|
475
|
-
discountable: Schema.optionalKey(Schema.Boolean),
|
|
476
|
-
discounts: Schema.optionalKey(
|
|
477
|
-
Schema.Array(
|
|
478
|
-
Schema.StructWithRest(
|
|
479
|
-
Schema.Struct({
|
|
480
|
-
coupon: Schema.optionalKey(
|
|
481
|
-
Schema.String.check(
|
|
482
|
-
Schema.isMaxCodePoints(5000).annotate({
|
|
483
|
-
expected: "a string with at most 5000 code points",
|
|
484
|
-
}),
|
|
485
|
-
),
|
|
486
|
-
),
|
|
487
|
-
discount: Schema.optionalKey(
|
|
488
|
-
Schema.String.check(
|
|
489
|
-
Schema.isMaxCodePoints(5000).annotate({
|
|
490
|
-
expected: "a string with at most 5000 code points",
|
|
491
|
-
}),
|
|
492
|
-
),
|
|
493
|
-
),
|
|
494
|
-
promotion_code: Schema.optionalKey(
|
|
495
|
-
Schema.String.check(
|
|
496
|
-
Schema.isMaxCodePoints(5000).annotate({
|
|
497
|
-
expected: "a string with at most 5000 code points",
|
|
498
|
-
}),
|
|
499
|
-
),
|
|
500
|
-
),
|
|
501
|
-
}),
|
|
502
|
-
[
|
|
503
|
-
Schema.Record(
|
|
504
|
-
Schema.String,
|
|
505
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
506
|
-
),
|
|
507
|
-
],
|
|
508
|
-
).annotate({ title: "discounts_data_param" }),
|
|
509
|
-
),
|
|
510
|
-
),
|
|
511
|
-
metadata: Schema.optionalKey(
|
|
512
|
-
Schema.Record(Schema.String, Schema.String),
|
|
513
|
-
),
|
|
514
|
-
period: Schema.optionalKey(
|
|
515
|
-
Schema.StructWithRest(
|
|
516
|
-
Schema.Struct({
|
|
517
|
-
end: Schema.StructWithRest(
|
|
518
|
-
Schema.Struct({
|
|
519
|
-
timestamp: Schema.optionalKey(
|
|
520
|
-
Schema.Number.annotate({ format: "unix-time" }).check(
|
|
521
|
-
Schema.isInt().annotate({ expected: "an integer" }),
|
|
522
|
-
),
|
|
523
|
-
),
|
|
524
|
-
type: Schema.Literals([
|
|
525
|
-
"min_item_period_end",
|
|
526
|
-
"timestamp",
|
|
527
|
-
]),
|
|
528
|
-
}),
|
|
529
|
-
[
|
|
530
|
-
Schema.Record(
|
|
531
|
-
Schema.String,
|
|
532
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
533
|
-
),
|
|
534
|
-
],
|
|
535
|
-
).annotate({ title: "invoice_item_period_end" }),
|
|
536
|
-
start: Schema.StructWithRest(
|
|
537
|
-
Schema.Struct({
|
|
538
|
-
timestamp: Schema.optionalKey(
|
|
539
|
-
Schema.Number.annotate({ format: "unix-time" }).check(
|
|
540
|
-
Schema.isInt().annotate({ expected: "an integer" }),
|
|
541
|
-
),
|
|
542
|
-
),
|
|
543
|
-
type: Schema.Literals([
|
|
544
|
-
"max_item_period_start",
|
|
545
|
-
"now",
|
|
546
|
-
"timestamp",
|
|
547
|
-
]),
|
|
548
|
-
}),
|
|
549
|
-
[
|
|
550
|
-
Schema.Record(
|
|
551
|
-
Schema.String,
|
|
552
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
553
|
-
),
|
|
554
|
-
],
|
|
555
|
-
).annotate({ title: "invoice_item_period_start" }),
|
|
556
|
-
}),
|
|
557
|
-
[
|
|
558
|
-
Schema.Record(
|
|
559
|
-
Schema.String,
|
|
560
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
561
|
-
),
|
|
562
|
-
],
|
|
563
|
-
).annotate({ title: "invoice_item_period" }),
|
|
564
|
-
),
|
|
565
|
-
price: Schema.optionalKey(
|
|
566
|
-
Schema.String.check(
|
|
567
|
-
Schema.isMaxCodePoints(5000).annotate({
|
|
568
|
-
expected: "a string with at most 5000 code points",
|
|
569
|
-
}),
|
|
570
|
-
),
|
|
571
|
-
),
|
|
572
|
-
price_data: Schema.optionalKey(
|
|
573
|
-
Schema.StructWithRest(
|
|
574
|
-
Schema.Struct({
|
|
575
|
-
currency: Schema.String.annotate({ format: "currency" }),
|
|
576
|
-
product: Schema.String.check(
|
|
577
|
-
Schema.isMaxCodePoints(5000).annotate({
|
|
578
|
-
expected: "a string with at most 5000 code points",
|
|
579
|
-
}),
|
|
580
|
-
),
|
|
581
|
-
tax_behavior: Schema.optionalKey(
|
|
582
|
-
Schema.Literals(["exclusive", "inclusive", "unspecified"]),
|
|
583
|
-
),
|
|
584
|
-
unit_amount: Schema.optionalKey(Schema.Int),
|
|
585
|
-
unit_amount_decimal: Schema.optionalKey(
|
|
586
|
-
Schema.String.annotate({ format: "decimal" }),
|
|
587
|
-
),
|
|
588
|
-
}),
|
|
589
|
-
[
|
|
590
|
-
Schema.Record(
|
|
591
|
-
Schema.String,
|
|
592
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
593
|
-
),
|
|
594
|
-
],
|
|
595
|
-
).annotate({
|
|
596
|
-
title: "one_time_price_data_with_negative_amounts",
|
|
597
|
-
}),
|
|
598
|
-
),
|
|
599
|
-
quantity: Schema.optionalKey(Schema.Int),
|
|
600
|
-
tax_rates: Schema.optionalKey(
|
|
601
|
-
Schema.Union([
|
|
602
|
-
Schema.Array(
|
|
603
|
-
Schema.String.check(
|
|
604
|
-
Schema.isMaxCodePoints(5000).annotate({
|
|
605
|
-
expected: "a string with at most 5000 code points",
|
|
606
|
-
}),
|
|
607
|
-
),
|
|
608
|
-
),
|
|
609
|
-
Schema.Literal(""),
|
|
610
|
-
]),
|
|
611
|
-
),
|
|
612
|
-
}),
|
|
613
|
-
[
|
|
614
|
-
Schema.Record(
|
|
615
|
-
Schema.String,
|
|
616
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
617
|
-
),
|
|
618
|
-
],
|
|
619
|
-
).annotate({ title: "add_invoice_item_entry" }),
|
|
620
|
-
).annotate({
|
|
621
|
-
description:
|
|
622
|
-
"A list of prices and quantities that will generate invoice items appended to the next invoice for this subscription. You may pass up to 20 items.",
|
|
623
|
-
}),
|
|
157
|
+
StripeSubscriptionPropsSchemaInputResourceInputItems,
|
|
624
158
|
),
|
|
625
159
|
application_fee_percent: Schema.optionalKey(
|
|
626
|
-
|
|
627
|
-
description:
|
|
628
|
-
"A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).",
|
|
629
|
-
}),
|
|
160
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives,
|
|
630
161
|
),
|
|
631
162
|
automatic_tax: Schema.optionalKey(
|
|
632
163
|
Schema.StructWithRest(
|
|
633
164
|
Schema.Struct({
|
|
634
165
|
enabled: Schema.Boolean,
|
|
635
|
-
liability: Schema.optionalKey(
|
|
166
|
+
liability: Schema.optionalKey(
|
|
167
|
+
StripeSubscriptionPropsSchemaInputResourceInputProperties_5,
|
|
168
|
+
),
|
|
636
169
|
}),
|
|
637
170
|
[
|
|
638
171
|
Schema.Record(
|
|
639
172
|
Schema.String,
|
|
640
173
|
Schema.Union([
|
|
641
174
|
ResourceInputJsonSchema,
|
|
642
|
-
|
|
175
|
+
StripeSubscriptionPropsSchemaInputResourceInputProperties_5,
|
|
643
176
|
]),
|
|
644
177
|
),
|
|
645
178
|
],
|
|
@@ -663,100 +196,20 @@ export const StripeSubscriptionPropsEntitySchema = annotateResourceSchema(
|
|
|
663
196
|
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
664
197
|
),
|
|
665
198
|
billing_cycle_anchor_config: Schema.optionalKey(
|
|
666
|
-
|
|
667
|
-
Schema.Struct({
|
|
668
|
-
day_of_month: Schema.Int,
|
|
669
|
-
hour: Schema.optionalKey(Schema.Int),
|
|
670
|
-
minute: Schema.optionalKey(Schema.Int),
|
|
671
|
-
month: Schema.optionalKey(Schema.Int),
|
|
672
|
-
second: Schema.optionalKey(Schema.Int),
|
|
673
|
-
}),
|
|
674
|
-
[
|
|
675
|
-
Schema.Record(
|
|
676
|
-
Schema.String,
|
|
677
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
678
|
-
),
|
|
679
|
-
],
|
|
680
|
-
).annotate({
|
|
681
|
-
title: "cycle_anchor_config_param",
|
|
682
|
-
description:
|
|
683
|
-
"Mutually exclusive with billing_cycle_anchor and only valid with monthly and yearly price intervals. When provided, the billing_cycle_anchor is set to the next occurrence of the day_of_month at the hour, minute, and second UTC.",
|
|
684
|
-
}),
|
|
199
|
+
StripeSubscriptionPropsSchemaInputResourceInputProperties,
|
|
685
200
|
),
|
|
686
201
|
billing_mode: Schema.optionalKey(
|
|
687
|
-
|
|
688
|
-
Schema.Struct({
|
|
689
|
-
flexible: Schema.optionalKey(
|
|
690
|
-
Schema.StructWithRest(
|
|
691
|
-
Schema.Struct({
|
|
692
|
-
proration_discounts: Schema.optionalKey(
|
|
693
|
-
Schema.Literals(["included", "itemized"]),
|
|
694
|
-
),
|
|
695
|
-
}),
|
|
696
|
-
[
|
|
697
|
-
Schema.Record(
|
|
698
|
-
Schema.String,
|
|
699
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
700
|
-
),
|
|
701
|
-
],
|
|
702
|
-
).annotate({ title: "flexible_params" }),
|
|
703
|
-
),
|
|
704
|
-
type: Schema.Literals(["classic", "flexible"]),
|
|
705
|
-
}),
|
|
706
|
-
[
|
|
707
|
-
Schema.Record(
|
|
708
|
-
Schema.String,
|
|
709
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
710
|
-
),
|
|
711
|
-
],
|
|
712
|
-
).annotate({
|
|
713
|
-
title: "billing_mode",
|
|
714
|
-
description:
|
|
715
|
-
"Controls how prorations and invoices for subscriptions are calculated and orchestrated.",
|
|
716
|
-
}),
|
|
202
|
+
StripeSubscriptionPropsSchemaInputResourceInputProperties_1,
|
|
717
203
|
),
|
|
718
204
|
billing_schedules: Schema.optionalKey(
|
|
719
205
|
Schema.Array(
|
|
720
206
|
Schema.StructWithRest(
|
|
721
207
|
Schema.Struct({
|
|
722
|
-
applies_to: Schema.optionalKey(
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
Schema.Struct({
|
|
728
|
-
interval: Schema.Literals([
|
|
729
|
-
"day",
|
|
730
|
-
"month",
|
|
731
|
-
"week",
|
|
732
|
-
"year",
|
|
733
|
-
]),
|
|
734
|
-
interval_count: Schema.optionalKey(Schema.Int),
|
|
735
|
-
}),
|
|
736
|
-
[
|
|
737
|
-
Schema.Record(
|
|
738
|
-
Schema.String,
|
|
739
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
740
|
-
),
|
|
741
|
-
],
|
|
742
|
-
).annotate({
|
|
743
|
-
title: "billing_schedules_bill_until_duration",
|
|
744
|
-
}),
|
|
745
|
-
),
|
|
746
|
-
timestamp: Schema.optionalKey(
|
|
747
|
-
Schema.Number.annotate({ format: "unix-time" }).check(
|
|
748
|
-
Schema.isInt().annotate({ expected: "an integer" }),
|
|
749
|
-
),
|
|
750
|
-
),
|
|
751
|
-
type: Schema.Literals(["duration", "timestamp"]),
|
|
752
|
-
}),
|
|
753
|
-
[
|
|
754
|
-
Schema.Record(
|
|
755
|
-
Schema.String,
|
|
756
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
757
|
-
),
|
|
758
|
-
],
|
|
759
|
-
).annotate({ title: "billing_schedules_bill_until" }),
|
|
208
|
+
applies_to: Schema.optionalKey(
|
|
209
|
+
StripeSubscriptionPropsSchemaInputResourceInputItems_3,
|
|
210
|
+
),
|
|
211
|
+
bill_until:
|
|
212
|
+
StripeSubscriptionPropsSchemaInputResourceInputProperties_2,
|
|
760
213
|
key: Schema.optionalKey(
|
|
761
214
|
Schema.String.check(
|
|
762
215
|
Schema.isMaxCodePoints(200).annotate({
|
|
@@ -770,7 +223,7 @@ export const StripeSubscriptionPropsEntitySchema = annotateResourceSchema(
|
|
|
770
223
|
Schema.String,
|
|
771
224
|
Schema.Union([
|
|
772
225
|
ResourceInputJsonSchema,
|
|
773
|
-
|
|
226
|
+
StripeSubscriptionPropsSchemaInputResourceInputItems_3,
|
|
774
227
|
]),
|
|
775
228
|
),
|
|
776
229
|
],
|
|
@@ -781,39 +234,10 @@ export const StripeSubscriptionPropsEntitySchema = annotateResourceSchema(
|
|
|
781
234
|
}),
|
|
782
235
|
),
|
|
783
236
|
billing_thresholds: Schema.optionalKey(
|
|
784
|
-
|
|
785
|
-
Schema.StructWithRest(
|
|
786
|
-
Schema.Struct({
|
|
787
|
-
amount_gte: Schema.optionalKey(Schema.Int),
|
|
788
|
-
reset_billing_cycle_anchor: Schema.optionalKey(Schema.Boolean),
|
|
789
|
-
}),
|
|
790
|
-
[
|
|
791
|
-
Schema.Record(
|
|
792
|
-
Schema.String,
|
|
793
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
794
|
-
),
|
|
795
|
-
],
|
|
796
|
-
).annotate({ title: "billing_thresholds_param" }),
|
|
797
|
-
Schema.Literal(""),
|
|
798
|
-
]).annotate({
|
|
799
|
-
description:
|
|
800
|
-
"Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds.",
|
|
801
|
-
}),
|
|
237
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_2,
|
|
802
238
|
),
|
|
803
239
|
cancel_at: Schema.optionalKey(
|
|
804
|
-
|
|
805
|
-
Schema.Number.annotate({ format: "unix-time" }).check(
|
|
806
|
-
Schema.isInt().annotate({ expected: "an integer" }),
|
|
807
|
-
),
|
|
808
|
-
Schema.Literals([
|
|
809
|
-
"max_billed_until",
|
|
810
|
-
"max_period_end",
|
|
811
|
-
"min_period_end",
|
|
812
|
-
]),
|
|
813
|
-
]).annotate({
|
|
814
|
-
description:
|
|
815
|
-
"A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period.",
|
|
816
|
-
}),
|
|
240
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_3,
|
|
817
241
|
),
|
|
818
242
|
cancel_at_period_end: Schema.optionalKey(
|
|
819
243
|
Schema.Boolean.annotate({
|
|
@@ -822,10 +246,7 @@ export const StripeSubscriptionPropsEntitySchema = annotateResourceSchema(
|
|
|
822
246
|
}),
|
|
823
247
|
),
|
|
824
248
|
collection_method: Schema.optionalKey(
|
|
825
|
-
|
|
826
|
-
description:
|
|
827
|
-
"Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this subscription at the end of the cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`. Defaults to `charge_automatically`.",
|
|
828
|
-
}),
|
|
249
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_4,
|
|
829
250
|
),
|
|
830
251
|
currency: Schema.optionalKey(
|
|
831
252
|
Schema.String.annotate({
|
|
@@ -949,19 +370,7 @@ export const StripeSubscriptionPropsEntitySchema = annotateResourceSchema(
|
|
|
949
370
|
]),
|
|
950
371
|
),
|
|
951
372
|
default_tax_rates: Schema.optionalKey(
|
|
952
|
-
|
|
953
|
-
Schema.Array(
|
|
954
|
-
Schema.String.check(
|
|
955
|
-
Schema.isMaxCodePoints(5000).annotate({
|
|
956
|
-
expected: "a string with at most 5000 code points",
|
|
957
|
-
}),
|
|
958
|
-
),
|
|
959
|
-
),
|
|
960
|
-
Schema.Literal(""),
|
|
961
|
-
]).annotate({
|
|
962
|
-
description:
|
|
963
|
-
"The tax rates that will apply to any subscription item that does not have `tax_rates` set. Invoices created will have their `default_tax_rates` populated from the subscription.",
|
|
964
|
-
}),
|
|
373
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_5,
|
|
965
374
|
),
|
|
966
375
|
description: Schema.optionalKey(
|
|
967
376
|
Schema.String.annotate({
|
|
@@ -993,7 +402,7 @@ export const StripeSubscriptionPropsEntitySchema = annotateResourceSchema(
|
|
|
993
402
|
),
|
|
994
403
|
),
|
|
995
404
|
promotion_code: Schema.optionalKey(
|
|
996
|
-
|
|
405
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_15,
|
|
997
406
|
),
|
|
998
407
|
}),
|
|
999
408
|
[
|
|
@@ -1001,7 +410,7 @@ export const StripeSubscriptionPropsEntitySchema = annotateResourceSchema(
|
|
|
1001
410
|
Schema.String,
|
|
1002
411
|
Schema.Union([
|
|
1003
412
|
ResourceInputJsonSchema,
|
|
1004
|
-
|
|
413
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_15,
|
|
1005
414
|
]),
|
|
1006
415
|
),
|
|
1007
416
|
],
|
|
@@ -1014,49 +423,16 @@ export const StripeSubscriptionPropsEntitySchema = annotateResourceSchema(
|
|
|
1014
423
|
}),
|
|
1015
424
|
),
|
|
1016
425
|
expand: Schema.optionalKey(
|
|
1017
|
-
|
|
1018
|
-
Schema.String.check(
|
|
1019
|
-
Schema.isMaxCodePoints(5000).annotate({
|
|
1020
|
-
expected: "a string with at most 5000 code points",
|
|
1021
|
-
}),
|
|
1022
|
-
),
|
|
1023
|
-
).annotate({
|
|
1024
|
-
description:
|
|
1025
|
-
"Specifies which fields in the response should be expanded.",
|
|
1026
|
-
}),
|
|
426
|
+
StripeSubscriptionPropsSchemaInputResourceInputItems_1,
|
|
1027
427
|
),
|
|
1028
428
|
invoice_settings: Schema.optionalKey(
|
|
1029
429
|
Schema.StructWithRest(
|
|
1030
430
|
Schema.Struct({
|
|
1031
431
|
account_tax_ids: Schema.optionalKey(
|
|
1032
|
-
|
|
432
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_16,
|
|
1033
433
|
),
|
|
1034
434
|
custom_fields: Schema.optionalKey(
|
|
1035
|
-
|
|
1036
|
-
Schema.Array(
|
|
1037
|
-
Schema.StructWithRest(
|
|
1038
|
-
Schema.Struct({
|
|
1039
|
-
name: Schema.String.check(
|
|
1040
|
-
Schema.isMaxCodePoints(40).annotate({
|
|
1041
|
-
expected: "a string with at most 40 code points",
|
|
1042
|
-
}),
|
|
1043
|
-
),
|
|
1044
|
-
value: Schema.String.check(
|
|
1045
|
-
Schema.isMaxCodePoints(140).annotate({
|
|
1046
|
-
expected: "a string with at most 140 code points",
|
|
1047
|
-
}),
|
|
1048
|
-
),
|
|
1049
|
-
}),
|
|
1050
|
-
[
|
|
1051
|
-
Schema.Record(
|
|
1052
|
-
Schema.String,
|
|
1053
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1054
|
-
),
|
|
1055
|
-
],
|
|
1056
|
-
).annotate({ title: "custom_field_params" }),
|
|
1057
|
-
),
|
|
1058
|
-
Schema.Literal(""),
|
|
1059
|
-
]),
|
|
435
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_6,
|
|
1060
436
|
),
|
|
1061
437
|
description: Schema.optionalKey(
|
|
1062
438
|
Schema.String.check(
|
|
@@ -1072,15 +448,17 @@ export const StripeSubscriptionPropsEntitySchema = annotateResourceSchema(
|
|
|
1072
448
|
}),
|
|
1073
449
|
),
|
|
1074
450
|
),
|
|
1075
|
-
issuer: Schema.optionalKey(
|
|
451
|
+
issuer: Schema.optionalKey(
|
|
452
|
+
StripeSubscriptionPropsSchemaInputResourceInputProperties_6,
|
|
453
|
+
),
|
|
1076
454
|
}),
|
|
1077
455
|
[
|
|
1078
456
|
Schema.Record(
|
|
1079
457
|
Schema.String,
|
|
1080
458
|
Schema.Union([
|
|
1081
459
|
ResourceInputJsonSchema,
|
|
1082
|
-
|
|
1083
|
-
|
|
460
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_16,
|
|
461
|
+
StripeSubscriptionPropsSchemaInputResourceInputProperties_6,
|
|
1084
462
|
]),
|
|
1085
463
|
),
|
|
1086
464
|
],
|
|
@@ -1091,164 +469,10 @@ export const StripeSubscriptionPropsEntitySchema = annotateResourceSchema(
|
|
|
1091
469
|
}),
|
|
1092
470
|
),
|
|
1093
471
|
items: Schema.optionalKey(
|
|
1094
|
-
|
|
1095
|
-
Schema.StructWithRest(
|
|
1096
|
-
Schema.Struct({
|
|
1097
|
-
billing_thresholds: Schema.optionalKey(
|
|
1098
|
-
Schema.Union([
|
|
1099
|
-
Schema.StructWithRest(
|
|
1100
|
-
Schema.Struct({ usage_gte: Schema.Int }),
|
|
1101
|
-
[
|
|
1102
|
-
Schema.Record(
|
|
1103
|
-
Schema.String,
|
|
1104
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1105
|
-
),
|
|
1106
|
-
],
|
|
1107
|
-
).annotate({ title: "item_billing_thresholds_param" }),
|
|
1108
|
-
Schema.Literal(""),
|
|
1109
|
-
]),
|
|
1110
|
-
),
|
|
1111
|
-
current_trial: Schema.optionalKey(
|
|
1112
|
-
Schema.StructWithRest(
|
|
1113
|
-
Schema.Struct({
|
|
1114
|
-
trial_offer: Schema.String.check(
|
|
1115
|
-
Schema.isMaxCodePoints(5000).annotate({
|
|
1116
|
-
expected: "a string with at most 5000 code points",
|
|
1117
|
-
}),
|
|
1118
|
-
),
|
|
1119
|
-
}),
|
|
1120
|
-
[
|
|
1121
|
-
Schema.Record(
|
|
1122
|
-
Schema.String,
|
|
1123
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1124
|
-
),
|
|
1125
|
-
],
|
|
1126
|
-
).annotate({ title: "current_trial_param" }),
|
|
1127
|
-
),
|
|
1128
|
-
discounts: Schema.optionalKey(
|
|
1129
|
-
Schema.Union([
|
|
1130
|
-
Schema.Array(
|
|
1131
|
-
Schema.StructWithRest(
|
|
1132
|
-
Schema.Struct({
|
|
1133
|
-
coupon: Schema.optionalKey(
|
|
1134
|
-
Schema.String.check(
|
|
1135
|
-
Schema.isMaxCodePoints(5000).annotate({
|
|
1136
|
-
expected: "a string with at most 5000 code points",
|
|
1137
|
-
}),
|
|
1138
|
-
),
|
|
1139
|
-
),
|
|
1140
|
-
discount: Schema.optionalKey(
|
|
1141
|
-
Schema.String.check(
|
|
1142
|
-
Schema.isMaxCodePoints(5000).annotate({
|
|
1143
|
-
expected: "a string with at most 5000 code points",
|
|
1144
|
-
}),
|
|
1145
|
-
),
|
|
1146
|
-
),
|
|
1147
|
-
promotion_code: Schema.optionalKey(
|
|
1148
|
-
Schema.String.check(
|
|
1149
|
-
Schema.isMaxCodePoints(5000).annotate({
|
|
1150
|
-
expected: "a string with at most 5000 code points",
|
|
1151
|
-
}),
|
|
1152
|
-
),
|
|
1153
|
-
),
|
|
1154
|
-
}),
|
|
1155
|
-
[
|
|
1156
|
-
Schema.Record(
|
|
1157
|
-
Schema.String,
|
|
1158
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1159
|
-
),
|
|
1160
|
-
],
|
|
1161
|
-
).annotate({ title: "discounts_data_param" }),
|
|
1162
|
-
),
|
|
1163
|
-
Schema.Literal(""),
|
|
1164
|
-
]),
|
|
1165
|
-
),
|
|
1166
|
-
metadata: Schema.optionalKey(
|
|
1167
|
-
Schema.Record(Schema.String, Schema.String),
|
|
1168
|
-
),
|
|
1169
|
-
price: Schema.optionalKey(
|
|
1170
|
-
Schema.String.check(
|
|
1171
|
-
Schema.isMaxCodePoints(5000).annotate({
|
|
1172
|
-
expected: "a string with at most 5000 code points",
|
|
1173
|
-
}),
|
|
1174
|
-
),
|
|
1175
|
-
),
|
|
1176
|
-
price_data: Schema.optionalKey(
|
|
1177
|
-
Schema.StructWithRest(
|
|
1178
|
-
Schema.Struct({
|
|
1179
|
-
currency: Schema.String.annotate({ format: "currency" }),
|
|
1180
|
-
product: Schema.String.check(
|
|
1181
|
-
Schema.isMaxCodePoints(5000).annotate({
|
|
1182
|
-
expected: "a string with at most 5000 code points",
|
|
1183
|
-
}),
|
|
1184
|
-
),
|
|
1185
|
-
recurring: Schema.StructWithRest(
|
|
1186
|
-
Schema.Struct({
|
|
1187
|
-
interval: Schema.Literals([
|
|
1188
|
-
"day",
|
|
1189
|
-
"month",
|
|
1190
|
-
"week",
|
|
1191
|
-
"year",
|
|
1192
|
-
]),
|
|
1193
|
-
interval_count: Schema.optionalKey(Schema.Int),
|
|
1194
|
-
}),
|
|
1195
|
-
[
|
|
1196
|
-
Schema.Record(
|
|
1197
|
-
Schema.String,
|
|
1198
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1199
|
-
),
|
|
1200
|
-
],
|
|
1201
|
-
).annotate({ title: "recurring_adhoc" }),
|
|
1202
|
-
tax_behavior: Schema.optionalKey(
|
|
1203
|
-
Schema.Literals(["exclusive", "inclusive", "unspecified"]),
|
|
1204
|
-
),
|
|
1205
|
-
unit_amount: Schema.optionalKey(Schema.Int),
|
|
1206
|
-
unit_amount_decimal: Schema.optionalKey(
|
|
1207
|
-
Schema.String.annotate({ format: "decimal" }),
|
|
1208
|
-
),
|
|
1209
|
-
}),
|
|
1210
|
-
[
|
|
1211
|
-
Schema.Record(
|
|
1212
|
-
Schema.String,
|
|
1213
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1214
|
-
),
|
|
1215
|
-
],
|
|
1216
|
-
).annotate({ title: "recurring_price_data" }),
|
|
1217
|
-
),
|
|
1218
|
-
quantity: Schema.optionalKey(Schema.Int),
|
|
1219
|
-
tax_rates: Schema.optionalKey(
|
|
1220
|
-
Schema.Union([
|
|
1221
|
-
Schema.Array(
|
|
1222
|
-
Schema.String.check(
|
|
1223
|
-
Schema.isMaxCodePoints(5000).annotate({
|
|
1224
|
-
expected: "a string with at most 5000 code points",
|
|
1225
|
-
}),
|
|
1226
|
-
),
|
|
1227
|
-
),
|
|
1228
|
-
Schema.Literal(""),
|
|
1229
|
-
]),
|
|
1230
|
-
),
|
|
1231
|
-
}),
|
|
1232
|
-
[
|
|
1233
|
-
Schema.Record(
|
|
1234
|
-
Schema.String,
|
|
1235
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1236
|
-
),
|
|
1237
|
-
],
|
|
1238
|
-
).annotate({ title: "subscription_item_create_params" }),
|
|
1239
|
-
).annotate({
|
|
1240
|
-
description:
|
|
1241
|
-
"A list of up to 20 subscription items, each with an attached price.",
|
|
1242
|
-
}),
|
|
472
|
+
StripeSubscriptionPropsSchemaInputResourceInputItems_2,
|
|
1243
473
|
),
|
|
1244
474
|
metadata: Schema.optionalKey(
|
|
1245
|
-
|
|
1246
|
-
Schema.Record(Schema.String, Schema.String),
|
|
1247
|
-
Schema.Literal(""),
|
|
1248
|
-
]).annotate({
|
|
1249
|
-
description:
|
|
1250
|
-
"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`.",
|
|
1251
|
-
}),
|
|
475
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_8,
|
|
1252
476
|
),
|
|
1253
477
|
off_session: Schema.optionalKey(
|
|
1254
478
|
Schema.Boolean.annotate({
|
|
@@ -1279,787 +503,30 @@ export const StripeSubscriptionPropsEntitySchema = annotateResourceSchema(
|
|
|
1279
503
|
]),
|
|
1280
504
|
),
|
|
1281
505
|
payment_behavior: Schema.optionalKey(
|
|
1282
|
-
|
|
1283
|
-
"allow_incomplete",
|
|
1284
|
-
"default_incomplete",
|
|
1285
|
-
"error_if_incomplete",
|
|
1286
|
-
"pending_if_incomplete",
|
|
1287
|
-
]).annotate({
|
|
1288
|
-
description:
|
|
1289
|
-
"Controls how Stripe handles the first invoice when payment is required and `collection_method=charge_automatically`. Subscriptions with `collection_method=send_invoice` are automatically activated regardless of the first Invoice status.",
|
|
1290
|
-
}),
|
|
506
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_9,
|
|
1291
507
|
),
|
|
1292
508
|
payment_settings: Schema.optionalKey(
|
|
1293
|
-
|
|
1294
|
-
Schema.Struct({
|
|
1295
|
-
payment_method_options: Schema.optionalKey(
|
|
1296
|
-
Schema.StructWithRest(
|
|
1297
|
-
Schema.Struct({
|
|
1298
|
-
acss_debit: Schema.optionalKey(
|
|
1299
|
-
Schema.Union([
|
|
1300
|
-
Schema.StructWithRest(
|
|
1301
|
-
Schema.Struct({
|
|
1302
|
-
mandate_options: Schema.optionalKey(
|
|
1303
|
-
Schema.StructWithRest(
|
|
1304
|
-
Schema.Struct({
|
|
1305
|
-
transaction_type: Schema.optionalKey(
|
|
1306
|
-
Schema.Literals(["business", "personal"]),
|
|
1307
|
-
),
|
|
1308
|
-
}),
|
|
1309
|
-
[
|
|
1310
|
-
Schema.Record(
|
|
1311
|
-
Schema.String,
|
|
1312
|
-
Schema.Json.annotate({
|
|
1313
|
-
expected: "JSON value",
|
|
1314
|
-
}),
|
|
1315
|
-
),
|
|
1316
|
-
],
|
|
1317
|
-
).annotate({ title: "mandate_options_param" }),
|
|
1318
|
-
),
|
|
1319
|
-
verification_method: Schema.optionalKey(
|
|
1320
|
-
Schema.Literals([
|
|
1321
|
-
"automatic",
|
|
1322
|
-
"instant",
|
|
1323
|
-
"microdeposits",
|
|
1324
|
-
]),
|
|
1325
|
-
),
|
|
1326
|
-
}),
|
|
1327
|
-
[
|
|
1328
|
-
Schema.Record(
|
|
1329
|
-
Schema.String,
|
|
1330
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1331
|
-
),
|
|
1332
|
-
],
|
|
1333
|
-
).annotate({
|
|
1334
|
-
title: "invoice_payment_method_options_param",
|
|
1335
|
-
}),
|
|
1336
|
-
Schema.Literal(""),
|
|
1337
|
-
]),
|
|
1338
|
-
),
|
|
1339
|
-
bancontact: Schema.optionalKey(
|
|
1340
|
-
Schema.Union([
|
|
1341
|
-
Schema.StructWithRest(
|
|
1342
|
-
Schema.Struct({
|
|
1343
|
-
preferred_language: Schema.optionalKey(
|
|
1344
|
-
Schema.Literals(["de", "en", "fr", "nl"]),
|
|
1345
|
-
),
|
|
1346
|
-
}),
|
|
1347
|
-
[
|
|
1348
|
-
Schema.Record(
|
|
1349
|
-
Schema.String,
|
|
1350
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1351
|
-
),
|
|
1352
|
-
],
|
|
1353
|
-
).annotate({
|
|
1354
|
-
title: "invoice_payment_method_options_param",
|
|
1355
|
-
}),
|
|
1356
|
-
Schema.Literal(""),
|
|
1357
|
-
]),
|
|
1358
|
-
),
|
|
1359
|
-
billie: Schema.optionalKey(
|
|
1360
|
-
Schema.Union([
|
|
1361
|
-
Schema.StructWithRest(
|
|
1362
|
-
Schema.Struct({
|
|
1363
|
-
company_details: Schema.optionalKey(
|
|
1364
|
-
Schema.Union([
|
|
1365
|
-
Schema.StructWithRest(
|
|
1366
|
-
Schema.Struct({
|
|
1367
|
-
registered_address: Schema.optionalKey(
|
|
1368
|
-
Schema.Union([
|
|
1369
|
-
Schema.StructWithRest(
|
|
1370
|
-
Schema.Struct({
|
|
1371
|
-
city: Schema.optionalKey(
|
|
1372
|
-
Schema.String.check(
|
|
1373
|
-
Schema.isMaxCodePoints(
|
|
1374
|
-
5000,
|
|
1375
|
-
).annotate({
|
|
1376
|
-
expected:
|
|
1377
|
-
"a string with at most 5000 code points",
|
|
1378
|
-
}),
|
|
1379
|
-
),
|
|
1380
|
-
),
|
|
1381
|
-
country: Schema.optionalKey(
|
|
1382
|
-
Schema.String.check(
|
|
1383
|
-
Schema.isMaxCodePoints(
|
|
1384
|
-
5000,
|
|
1385
|
-
).annotate({
|
|
1386
|
-
expected:
|
|
1387
|
-
"a string with at most 5000 code points",
|
|
1388
|
-
}),
|
|
1389
|
-
),
|
|
1390
|
-
),
|
|
1391
|
-
line1: Schema.optionalKey(
|
|
1392
|
-
Schema.String.check(
|
|
1393
|
-
Schema.isMaxCodePoints(
|
|
1394
|
-
5000,
|
|
1395
|
-
).annotate({
|
|
1396
|
-
expected:
|
|
1397
|
-
"a string with at most 5000 code points",
|
|
1398
|
-
}),
|
|
1399
|
-
),
|
|
1400
|
-
),
|
|
1401
|
-
line2: Schema.optionalKey(
|
|
1402
|
-
Schema.String.check(
|
|
1403
|
-
Schema.isMaxCodePoints(
|
|
1404
|
-
5000,
|
|
1405
|
-
).annotate({
|
|
1406
|
-
expected:
|
|
1407
|
-
"a string with at most 5000 code points",
|
|
1408
|
-
}),
|
|
1409
|
-
),
|
|
1410
|
-
),
|
|
1411
|
-
postal_code: Schema.optionalKey(
|
|
1412
|
-
Schema.String.check(
|
|
1413
|
-
Schema.isMaxCodePoints(
|
|
1414
|
-
5000,
|
|
1415
|
-
).annotate({
|
|
1416
|
-
expected:
|
|
1417
|
-
"a string with at most 5000 code points",
|
|
1418
|
-
}),
|
|
1419
|
-
),
|
|
1420
|
-
),
|
|
1421
|
-
state: Schema.optionalKey(
|
|
1422
|
-
Schema.String.check(
|
|
1423
|
-
Schema.isMaxCodePoints(
|
|
1424
|
-
5000,
|
|
1425
|
-
).annotate({
|
|
1426
|
-
expected:
|
|
1427
|
-
"a string with at most 5000 code points",
|
|
1428
|
-
}),
|
|
1429
|
-
),
|
|
1430
|
-
),
|
|
1431
|
-
}),
|
|
1432
|
-
[
|
|
1433
|
-
Schema.Record(
|
|
1434
|
-
Schema.String,
|
|
1435
|
-
Schema.Json.annotate({
|
|
1436
|
-
expected: "JSON value",
|
|
1437
|
-
}),
|
|
1438
|
-
),
|
|
1439
|
-
],
|
|
1440
|
-
).annotate({
|
|
1441
|
-
title: "registered_address_param",
|
|
1442
|
-
}),
|
|
1443
|
-
Schema.Literal(""),
|
|
1444
|
-
]),
|
|
1445
|
-
),
|
|
1446
|
-
registered_name: Schema.optionalKey(
|
|
1447
|
-
Schema.String.check(
|
|
1448
|
-
Schema.isMaxCodePoints(5000).annotate({
|
|
1449
|
-
expected:
|
|
1450
|
-
"a string with at most 5000 code points",
|
|
1451
|
-
}),
|
|
1452
|
-
),
|
|
1453
|
-
),
|
|
1454
|
-
registration_number: Schema.optionalKey(
|
|
1455
|
-
Schema.String.check(
|
|
1456
|
-
Schema.isMaxCodePoints(5000).annotate({
|
|
1457
|
-
expected:
|
|
1458
|
-
"a string with at most 5000 code points",
|
|
1459
|
-
}),
|
|
1460
|
-
),
|
|
1461
|
-
),
|
|
1462
|
-
registration_type: Schema.optionalKey(
|
|
1463
|
-
Schema.Literals([
|
|
1464
|
-
"",
|
|
1465
|
-
"ch_ein",
|
|
1466
|
-
"de_hrb",
|
|
1467
|
-
"dk_cvr",
|
|
1468
|
-
"es_cif",
|
|
1469
|
-
"fi_tunnus",
|
|
1470
|
-
"fr_siren",
|
|
1471
|
-
"fr_siret",
|
|
1472
|
-
"it_rea",
|
|
1473
|
-
"nl_kvk",
|
|
1474
|
-
"no_org_number",
|
|
1475
|
-
"no_pno",
|
|
1476
|
-
"se_org_number",
|
|
1477
|
-
"se_pno",
|
|
1478
|
-
"uk_crn",
|
|
1479
|
-
]),
|
|
1480
|
-
),
|
|
1481
|
-
vat: Schema.optionalKey(
|
|
1482
|
-
Schema.String.check(
|
|
1483
|
-
Schema.isMaxCodePoints(5000).annotate({
|
|
1484
|
-
expected:
|
|
1485
|
-
"a string with at most 5000 code points",
|
|
1486
|
-
}),
|
|
1487
|
-
),
|
|
1488
|
-
),
|
|
1489
|
-
}),
|
|
1490
|
-
[
|
|
1491
|
-
Schema.Record(
|
|
1492
|
-
Schema.String,
|
|
1493
|
-
Schema.Json.annotate({
|
|
1494
|
-
expected: "JSON value",
|
|
1495
|
-
}),
|
|
1496
|
-
),
|
|
1497
|
-
],
|
|
1498
|
-
).annotate({ title: "company_details_param" }),
|
|
1499
|
-
Schema.Literal(""),
|
|
1500
|
-
]),
|
|
1501
|
-
),
|
|
1502
|
-
}),
|
|
1503
|
-
[
|
|
1504
|
-
Schema.Record(
|
|
1505
|
-
Schema.String,
|
|
1506
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1507
|
-
),
|
|
1508
|
-
],
|
|
1509
|
-
).annotate({
|
|
1510
|
-
title: "subscription_payment_method_options_param",
|
|
1511
|
-
}),
|
|
1512
|
-
Schema.Literal(""),
|
|
1513
|
-
]),
|
|
1514
|
-
),
|
|
1515
|
-
blik: Schema.optionalKey(
|
|
1516
|
-
Schema.Union([
|
|
1517
|
-
Schema.StructWithRest(
|
|
1518
|
-
Schema.Struct({
|
|
1519
|
-
mandate_options: Schema.optionalKey(
|
|
1520
|
-
Schema.StructWithRest(
|
|
1521
|
-
Schema.Struct({
|
|
1522
|
-
expires_at: Schema.optionalKey(
|
|
1523
|
-
Schema.Number.annotate({
|
|
1524
|
-
format: "unix-time",
|
|
1525
|
-
}).check(
|
|
1526
|
-
Schema.isInt().annotate({
|
|
1527
|
-
expected: "an integer",
|
|
1528
|
-
}),
|
|
1529
|
-
),
|
|
1530
|
-
),
|
|
1531
|
-
}),
|
|
1532
|
-
[
|
|
1533
|
-
Schema.Record(
|
|
1534
|
-
Schema.String,
|
|
1535
|
-
Schema.Json.annotate({
|
|
1536
|
-
expected: "JSON value",
|
|
1537
|
-
}),
|
|
1538
|
-
),
|
|
1539
|
-
],
|
|
1540
|
-
).annotate({
|
|
1541
|
-
title:
|
|
1542
|
-
"subscription_payment_method_options_mandate_options_param",
|
|
1543
|
-
}),
|
|
1544
|
-
),
|
|
1545
|
-
}),
|
|
1546
|
-
[
|
|
1547
|
-
Schema.Record(
|
|
1548
|
-
Schema.String,
|
|
1549
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1550
|
-
),
|
|
1551
|
-
],
|
|
1552
|
-
).annotate({
|
|
1553
|
-
title: "subscription_payment_method_options_param",
|
|
1554
|
-
}),
|
|
1555
|
-
Schema.Literal(""),
|
|
1556
|
-
]),
|
|
1557
|
-
),
|
|
1558
|
-
card: Schema.optionalKey(
|
|
1559
|
-
Schema.Union([
|
|
1560
|
-
Schema.StructWithRest(
|
|
1561
|
-
Schema.Struct({
|
|
1562
|
-
mandate_options: Schema.optionalKey(
|
|
1563
|
-
Schema.StructWithRest(
|
|
1564
|
-
Schema.Struct({
|
|
1565
|
-
amount: Schema.optionalKey(Schema.Int),
|
|
1566
|
-
amount_type: Schema.optionalKey(
|
|
1567
|
-
Schema.Literals(["fixed", "maximum"]),
|
|
1568
|
-
),
|
|
1569
|
-
description: Schema.optionalKey(
|
|
1570
|
-
Schema.String.check(
|
|
1571
|
-
Schema.isMaxCodePoints(200).annotate({
|
|
1572
|
-
expected:
|
|
1573
|
-
"a string with at most 200 code points",
|
|
1574
|
-
}),
|
|
1575
|
-
),
|
|
1576
|
-
),
|
|
1577
|
-
}),
|
|
1578
|
-
[
|
|
1579
|
-
Schema.Record(
|
|
1580
|
-
Schema.String,
|
|
1581
|
-
Schema.Json.annotate({
|
|
1582
|
-
expected: "JSON value",
|
|
1583
|
-
}),
|
|
1584
|
-
),
|
|
1585
|
-
],
|
|
1586
|
-
).annotate({ title: "mandate_options_param" }),
|
|
1587
|
-
),
|
|
1588
|
-
network: Schema.optionalKey(
|
|
1589
|
-
Schema.Literals([
|
|
1590
|
-
"amex",
|
|
1591
|
-
"cartes_bancaires",
|
|
1592
|
-
"diners",
|
|
1593
|
-
"discover",
|
|
1594
|
-
"eftpos_au",
|
|
1595
|
-
"girocard",
|
|
1596
|
-
"interac",
|
|
1597
|
-
"jcb",
|
|
1598
|
-
"link",
|
|
1599
|
-
"mastercard",
|
|
1600
|
-
"unionpay",
|
|
1601
|
-
"unknown",
|
|
1602
|
-
"visa",
|
|
1603
|
-
]),
|
|
1604
|
-
),
|
|
1605
|
-
request_three_d_secure: Schema.optionalKey(
|
|
1606
|
-
Schema.Literals(["any", "automatic", "challenge"]),
|
|
1607
|
-
),
|
|
1608
|
-
}),
|
|
1609
|
-
[
|
|
1610
|
-
Schema.Record(
|
|
1611
|
-
Schema.String,
|
|
1612
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1613
|
-
),
|
|
1614
|
-
],
|
|
1615
|
-
).annotate({
|
|
1616
|
-
title: "subscription_payment_method_options_param",
|
|
1617
|
-
}),
|
|
1618
|
-
Schema.Literal(""),
|
|
1619
|
-
]),
|
|
1620
|
-
),
|
|
1621
|
-
customer_balance: Schema.optionalKey(
|
|
1622
|
-
Schema.Union([
|
|
1623
|
-
Schema.StructWithRest(
|
|
1624
|
-
Schema.Struct({
|
|
1625
|
-
bank_transfer: Schema.optionalKey(
|
|
1626
|
-
Schema.StructWithRest(
|
|
1627
|
-
Schema.Struct({
|
|
1628
|
-
eu_bank_transfer: Schema.optionalKey(
|
|
1629
|
-
Schema.StructWithRest(
|
|
1630
|
-
Schema.Struct({
|
|
1631
|
-
country: Schema.String.check(
|
|
1632
|
-
Schema.isMaxCodePoints(5000).annotate({
|
|
1633
|
-
expected:
|
|
1634
|
-
"a string with at most 5000 code points",
|
|
1635
|
-
}),
|
|
1636
|
-
),
|
|
1637
|
-
}),
|
|
1638
|
-
[
|
|
1639
|
-
Schema.Record(
|
|
1640
|
-
Schema.String,
|
|
1641
|
-
Schema.Json.annotate({
|
|
1642
|
-
expected: "JSON value",
|
|
1643
|
-
}),
|
|
1644
|
-
),
|
|
1645
|
-
],
|
|
1646
|
-
).annotate({ title: "eu_bank_transfer_param" }),
|
|
1647
|
-
),
|
|
1648
|
-
type: Schema.optionalKey(Schema.String),
|
|
1649
|
-
}),
|
|
1650
|
-
[
|
|
1651
|
-
Schema.Record(
|
|
1652
|
-
Schema.String,
|
|
1653
|
-
Schema.Json.annotate({
|
|
1654
|
-
expected: "JSON value",
|
|
1655
|
-
}),
|
|
1656
|
-
),
|
|
1657
|
-
],
|
|
1658
|
-
).annotate({ title: "bank_transfer_param" }),
|
|
1659
|
-
),
|
|
1660
|
-
funding_type: Schema.optionalKey(Schema.String),
|
|
1661
|
-
}),
|
|
1662
|
-
[
|
|
1663
|
-
Schema.Record(
|
|
1664
|
-
Schema.String,
|
|
1665
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1666
|
-
),
|
|
1667
|
-
],
|
|
1668
|
-
).annotate({
|
|
1669
|
-
title: "invoice_payment_method_options_param",
|
|
1670
|
-
}),
|
|
1671
|
-
Schema.Literal(""),
|
|
1672
|
-
]),
|
|
1673
|
-
),
|
|
1674
|
-
konbini: Schema.optionalKey(
|
|
1675
|
-
Schema.Union([
|
|
1676
|
-
Schema.Record(
|
|
1677
|
-
Schema.String,
|
|
1678
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1679
|
-
).annotate({
|
|
1680
|
-
title: "invoice_payment_method_options_param",
|
|
1681
|
-
}),
|
|
1682
|
-
Schema.Literal(""),
|
|
1683
|
-
]),
|
|
1684
|
-
),
|
|
1685
|
-
payto: Schema.optionalKey(
|
|
1686
|
-
Schema.Union([
|
|
1687
|
-
Schema.StructWithRest(
|
|
1688
|
-
Schema.Struct({
|
|
1689
|
-
mandate_options: Schema.optionalKey(
|
|
1690
|
-
Schema.StructWithRest(
|
|
1691
|
-
Schema.Struct({
|
|
1692
|
-
amount: Schema.optionalKey(Schema.Int),
|
|
1693
|
-
purpose: Schema.optionalKey(
|
|
1694
|
-
Schema.Literals([
|
|
1695
|
-
"dependant_support",
|
|
1696
|
-
"government",
|
|
1697
|
-
"loan",
|
|
1698
|
-
"mortgage",
|
|
1699
|
-
"other",
|
|
1700
|
-
"pension",
|
|
1701
|
-
"personal",
|
|
1702
|
-
"retail",
|
|
1703
|
-
"salary",
|
|
1704
|
-
"tax",
|
|
1705
|
-
"utility",
|
|
1706
|
-
]),
|
|
1707
|
-
),
|
|
1708
|
-
}),
|
|
1709
|
-
[
|
|
1710
|
-
Schema.Record(
|
|
1711
|
-
Schema.String,
|
|
1712
|
-
Schema.Json.annotate({
|
|
1713
|
-
expected: "JSON value",
|
|
1714
|
-
}),
|
|
1715
|
-
),
|
|
1716
|
-
],
|
|
1717
|
-
).annotate({ title: "mandate_options_param" }),
|
|
1718
|
-
),
|
|
1719
|
-
}),
|
|
1720
|
-
[
|
|
1721
|
-
Schema.Record(
|
|
1722
|
-
Schema.String,
|
|
1723
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1724
|
-
),
|
|
1725
|
-
],
|
|
1726
|
-
).annotate({
|
|
1727
|
-
title: "invoice_payment_method_options_param",
|
|
1728
|
-
}),
|
|
1729
|
-
Schema.Literal(""),
|
|
1730
|
-
]),
|
|
1731
|
-
),
|
|
1732
|
-
pix: Schema.optionalKey(
|
|
1733
|
-
Schema.Union([
|
|
1734
|
-
Schema.StructWithRest(
|
|
1735
|
-
Schema.Struct({
|
|
1736
|
-
expires_after_seconds: Schema.optionalKey(Schema.Int),
|
|
1737
|
-
mandate_options: Schema.optionalKey(
|
|
1738
|
-
Schema.StructWithRest(
|
|
1739
|
-
Schema.Struct({
|
|
1740
|
-
amount: Schema.optionalKey(Schema.Int),
|
|
1741
|
-
amount_includes_iof: Schema.optionalKey(
|
|
1742
|
-
Schema.Literals(["always", "never"]),
|
|
1743
|
-
),
|
|
1744
|
-
end_date: Schema.optionalKey(
|
|
1745
|
-
Schema.String.check(
|
|
1746
|
-
Schema.isMaxCodePoints(5000).annotate({
|
|
1747
|
-
expected:
|
|
1748
|
-
"a string with at most 5000 code points",
|
|
1749
|
-
}),
|
|
1750
|
-
),
|
|
1751
|
-
),
|
|
1752
|
-
payment_schedule: Schema.optionalKey(
|
|
1753
|
-
Schema.Literals([
|
|
1754
|
-
"halfyearly",
|
|
1755
|
-
"monthly",
|
|
1756
|
-
"quarterly",
|
|
1757
|
-
"weekly",
|
|
1758
|
-
"yearly",
|
|
1759
|
-
]),
|
|
1760
|
-
),
|
|
1761
|
-
}),
|
|
1762
|
-
[
|
|
1763
|
-
Schema.Record(
|
|
1764
|
-
Schema.String,
|
|
1765
|
-
Schema.Json.annotate({
|
|
1766
|
-
expected: "JSON value",
|
|
1767
|
-
}),
|
|
1768
|
-
),
|
|
1769
|
-
],
|
|
1770
|
-
).annotate({
|
|
1771
|
-
title:
|
|
1772
|
-
"subscription_payment_method_options_mandate_options_param",
|
|
1773
|
-
}),
|
|
1774
|
-
),
|
|
1775
|
-
}),
|
|
1776
|
-
[
|
|
1777
|
-
Schema.Record(
|
|
1778
|
-
Schema.String,
|
|
1779
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1780
|
-
),
|
|
1781
|
-
],
|
|
1782
|
-
).annotate({
|
|
1783
|
-
title: "subscription_payment_method_options_param",
|
|
1784
|
-
}),
|
|
1785
|
-
Schema.Literal(""),
|
|
1786
|
-
]),
|
|
1787
|
-
),
|
|
1788
|
-
sepa_debit: Schema.optionalKey(
|
|
1789
|
-
Schema.Union([
|
|
1790
|
-
Schema.Record(
|
|
1791
|
-
Schema.String,
|
|
1792
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1793
|
-
).annotate({
|
|
1794
|
-
title: "subscription_payment_method_options_param",
|
|
1795
|
-
}),
|
|
1796
|
-
Schema.Literal(""),
|
|
1797
|
-
]),
|
|
1798
|
-
),
|
|
1799
|
-
upi: Schema.optionalKey(
|
|
1800
|
-
Schema.Union([
|
|
1801
|
-
Schema.StructWithRest(
|
|
1802
|
-
Schema.Struct({
|
|
1803
|
-
mandate_options: Schema.optionalKey(
|
|
1804
|
-
Schema.StructWithRest(
|
|
1805
|
-
Schema.Struct({
|
|
1806
|
-
amount: Schema.optionalKey(Schema.Int),
|
|
1807
|
-
amount_type: Schema.optionalKey(
|
|
1808
|
-
Schema.Literals(["fixed", "maximum"]),
|
|
1809
|
-
),
|
|
1810
|
-
description: Schema.optionalKey(
|
|
1811
|
-
Schema.String.check(
|
|
1812
|
-
Schema.isMaxCodePoints(20).annotate({
|
|
1813
|
-
expected:
|
|
1814
|
-
"a string with at most 20 code points",
|
|
1815
|
-
}),
|
|
1816
|
-
),
|
|
1817
|
-
),
|
|
1818
|
-
end_date: Schema.optionalKey(
|
|
1819
|
-
Schema.Number.annotate({
|
|
1820
|
-
format: "unix-time",
|
|
1821
|
-
}).check(
|
|
1822
|
-
Schema.isInt().annotate({
|
|
1823
|
-
expected: "an integer",
|
|
1824
|
-
}),
|
|
1825
|
-
),
|
|
1826
|
-
),
|
|
1827
|
-
}),
|
|
1828
|
-
[
|
|
1829
|
-
Schema.Record(
|
|
1830
|
-
Schema.String,
|
|
1831
|
-
Schema.Json.annotate({
|
|
1832
|
-
expected: "JSON value",
|
|
1833
|
-
}),
|
|
1834
|
-
),
|
|
1835
|
-
],
|
|
1836
|
-
).annotate({
|
|
1837
|
-
title:
|
|
1838
|
-
"invoice_payment_method_options_mandate_options_param",
|
|
1839
|
-
}),
|
|
1840
|
-
),
|
|
1841
|
-
}),
|
|
1842
|
-
[
|
|
1843
|
-
Schema.Record(
|
|
1844
|
-
Schema.String,
|
|
1845
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1846
|
-
),
|
|
1847
|
-
],
|
|
1848
|
-
).annotate({
|
|
1849
|
-
title: "invoice_payment_method_options_param",
|
|
1850
|
-
}),
|
|
1851
|
-
Schema.Literal(""),
|
|
1852
|
-
]),
|
|
1853
|
-
),
|
|
1854
|
-
us_bank_account: Schema.optionalKey(
|
|
1855
|
-
Schema.Union([
|
|
1856
|
-
Schema.StructWithRest(
|
|
1857
|
-
Schema.Struct({
|
|
1858
|
-
financial_connections: Schema.optionalKey(
|
|
1859
|
-
Schema.StructWithRest(
|
|
1860
|
-
Schema.Struct({
|
|
1861
|
-
filters: Schema.optionalKey(
|
|
1862
|
-
Schema.StructWithRest(
|
|
1863
|
-
Schema.Struct({
|
|
1864
|
-
account_subcategories: Schema.optionalKey(
|
|
1865
|
-
Schema.Array(
|
|
1866
|
-
Schema.Literals([
|
|
1867
|
-
"checking",
|
|
1868
|
-
"savings",
|
|
1869
|
-
]),
|
|
1870
|
-
),
|
|
1871
|
-
),
|
|
1872
|
-
}),
|
|
1873
|
-
[
|
|
1874
|
-
Schema.Record(
|
|
1875
|
-
Schema.String,
|
|
1876
|
-
Schema.Json.annotate({
|
|
1877
|
-
expected: "JSON value",
|
|
1878
|
-
}),
|
|
1879
|
-
),
|
|
1880
|
-
],
|
|
1881
|
-
).annotate({
|
|
1882
|
-
title:
|
|
1883
|
-
"invoice_linked_account_options_filters_param",
|
|
1884
|
-
}),
|
|
1885
|
-
),
|
|
1886
|
-
permissions: Schema.optionalKey(
|
|
1887
|
-
Schema.Array(
|
|
1888
|
-
Schema.Literals([
|
|
1889
|
-
"balances",
|
|
1890
|
-
"ownership",
|
|
1891
|
-
"payment_method",
|
|
1892
|
-
"transactions",
|
|
1893
|
-
]),
|
|
1894
|
-
),
|
|
1895
|
-
),
|
|
1896
|
-
prefetch: Schema.optionalKey(
|
|
1897
|
-
Schema.Array(
|
|
1898
|
-
Schema.Literals([
|
|
1899
|
-
"balances",
|
|
1900
|
-
"ownership",
|
|
1901
|
-
"transactions",
|
|
1902
|
-
]),
|
|
1903
|
-
),
|
|
1904
|
-
),
|
|
1905
|
-
}),
|
|
1906
|
-
[
|
|
1907
|
-
Schema.Record(
|
|
1908
|
-
Schema.String,
|
|
1909
|
-
Schema.Json.annotate({
|
|
1910
|
-
expected: "JSON value",
|
|
1911
|
-
}),
|
|
1912
|
-
),
|
|
1913
|
-
],
|
|
1914
|
-
).annotate({
|
|
1915
|
-
title: "invoice_linked_account_options_param",
|
|
1916
|
-
}),
|
|
1917
|
-
),
|
|
1918
|
-
verification_method: Schema.optionalKey(
|
|
1919
|
-
Schema.Literals([
|
|
1920
|
-
"automatic",
|
|
1921
|
-
"instant",
|
|
1922
|
-
"microdeposits",
|
|
1923
|
-
]),
|
|
1924
|
-
),
|
|
1925
|
-
}),
|
|
1926
|
-
[
|
|
1927
|
-
Schema.Record(
|
|
1928
|
-
Schema.String,
|
|
1929
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1930
|
-
),
|
|
1931
|
-
],
|
|
1932
|
-
).annotate({
|
|
1933
|
-
title: "invoice_payment_method_options_param",
|
|
1934
|
-
}),
|
|
1935
|
-
Schema.Literal(""),
|
|
1936
|
-
]),
|
|
1937
|
-
),
|
|
1938
|
-
}),
|
|
1939
|
-
[
|
|
1940
|
-
Schema.Record(
|
|
1941
|
-
Schema.String,
|
|
1942
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1943
|
-
),
|
|
1944
|
-
],
|
|
1945
|
-
).annotate({ title: "payment_method_options" }),
|
|
1946
|
-
),
|
|
1947
|
-
payment_method_types: Schema.optionalKey(
|
|
1948
|
-
Schema.Union([
|
|
1949
|
-
Schema.Array(
|
|
1950
|
-
Schema.Literals([
|
|
1951
|
-
"ach_credit_transfer",
|
|
1952
|
-
"ach_debit",
|
|
1953
|
-
"acss_debit",
|
|
1954
|
-
"affirm",
|
|
1955
|
-
"alipay",
|
|
1956
|
-
"amazon_pay",
|
|
1957
|
-
"au_becs_debit",
|
|
1958
|
-
"bacs_debit",
|
|
1959
|
-
"bancontact",
|
|
1960
|
-
"billie",
|
|
1961
|
-
"blik",
|
|
1962
|
-
"boleto",
|
|
1963
|
-
"card",
|
|
1964
|
-
"cashapp",
|
|
1965
|
-
"crypto",
|
|
1966
|
-
"custom",
|
|
1967
|
-
"customer_balance",
|
|
1968
|
-
"eps",
|
|
1969
|
-
"fpx",
|
|
1970
|
-
"giropay",
|
|
1971
|
-
"grabpay",
|
|
1972
|
-
"ideal",
|
|
1973
|
-
"jp_credit_transfer",
|
|
1974
|
-
"kakao_pay",
|
|
1975
|
-
"klarna",
|
|
1976
|
-
"konbini",
|
|
1977
|
-
"kr_card",
|
|
1978
|
-
"link",
|
|
1979
|
-
"mb_way",
|
|
1980
|
-
"multibanco",
|
|
1981
|
-
"naver_pay",
|
|
1982
|
-
"nz_bank_account",
|
|
1983
|
-
"p24",
|
|
1984
|
-
"pay_by_bank",
|
|
1985
|
-
"payco",
|
|
1986
|
-
"paynow",
|
|
1987
|
-
"paypal",
|
|
1988
|
-
"payto",
|
|
1989
|
-
"pix",
|
|
1990
|
-
"promptpay",
|
|
1991
|
-
"revolut_pay",
|
|
1992
|
-
"satispay",
|
|
1993
|
-
"sepa_credit_transfer",
|
|
1994
|
-
"sepa_debit",
|
|
1995
|
-
"sequra",
|
|
1996
|
-
"sofort",
|
|
1997
|
-
"swish",
|
|
1998
|
-
"twint",
|
|
1999
|
-
"upi",
|
|
2000
|
-
"us_bank_account",
|
|
2001
|
-
"wechat_pay",
|
|
2002
|
-
]),
|
|
2003
|
-
),
|
|
2004
|
-
Schema.Literal(""),
|
|
2005
|
-
]),
|
|
2006
|
-
),
|
|
2007
|
-
save_default_payment_method: Schema.optionalKey(
|
|
2008
|
-
Schema.Literals(["off", "on_subscription"]),
|
|
2009
|
-
),
|
|
2010
|
-
}),
|
|
2011
|
-
[
|
|
2012
|
-
Schema.Record(
|
|
2013
|
-
Schema.String,
|
|
2014
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2015
|
-
),
|
|
2016
|
-
],
|
|
2017
|
-
).annotate({
|
|
2018
|
-
title: "payment_settings",
|
|
2019
|
-
description:
|
|
2020
|
-
"Payment settings to pass to invoices created by the subscription.",
|
|
2021
|
-
}),
|
|
509
|
+
StripeSubscriptionPropsSchemaInputResourceInputProperties_3,
|
|
2022
510
|
),
|
|
2023
511
|
pending_invoice_item_interval: Schema.optionalKey(
|
|
2024
|
-
|
|
2025
|
-
Schema.StructWithRest(
|
|
2026
|
-
Schema.Struct({
|
|
2027
|
-
interval: Schema.Literals(["day", "month", "week", "year"]),
|
|
2028
|
-
interval_count: Schema.optionalKey(Schema.Int),
|
|
2029
|
-
}),
|
|
2030
|
-
[
|
|
2031
|
-
Schema.Record(
|
|
2032
|
-
Schema.String,
|
|
2033
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2034
|
-
),
|
|
2035
|
-
],
|
|
2036
|
-
).annotate({ title: "pending_invoice_item_interval_params" }),
|
|
2037
|
-
Schema.Literal(""),
|
|
2038
|
-
]).annotate({
|
|
2039
|
-
description:
|
|
2040
|
-
"Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](/api/invoices/create) for the given subscription at the specified interval.",
|
|
2041
|
-
}),
|
|
512
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_10,
|
|
2042
513
|
),
|
|
2043
514
|
proration_behavior: Schema.optionalKey(
|
|
2044
|
-
|
|
2045
|
-
{
|
|
2046
|
-
description:
|
|
2047
|
-
"Determines how to handle [prorations](https://docs.stripe.com/billing/subscriptions/prorations) resulting from the `billing_cycle_anchor`. If no value is passed, the default is `create_prorations`.",
|
|
2048
|
-
},
|
|
2049
|
-
),
|
|
515
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_11,
|
|
2050
516
|
),
|
|
2051
517
|
transfer_data: Schema.optionalKey(
|
|
2052
518
|
Schema.StructWithRest(
|
|
2053
519
|
Schema.Struct({
|
|
2054
520
|
amount_percent: Schema.optionalKey(Schema.Finite),
|
|
2055
|
-
destination:
|
|
521
|
+
destination:
|
|
522
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_18,
|
|
2056
523
|
}),
|
|
2057
524
|
[
|
|
2058
525
|
Schema.Record(
|
|
2059
526
|
Schema.String,
|
|
2060
527
|
Schema.Union([
|
|
2061
528
|
ResourceInputJsonSchema,
|
|
2062
|
-
|
|
529
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_18,
|
|
2063
530
|
]),
|
|
2064
531
|
),
|
|
2065
532
|
],
|
|
@@ -2070,15 +537,7 @@ export const StripeSubscriptionPropsEntitySchema = annotateResourceSchema(
|
|
|
2070
537
|
}),
|
|
2071
538
|
),
|
|
2072
539
|
trial_end: Schema.optionalKey(
|
|
2073
|
-
|
|
2074
|
-
Schema.Literal("now"),
|
|
2075
|
-
Schema.Number.annotate({ format: "unix-time" }).check(
|
|
2076
|
-
Schema.isInt().annotate({ expected: "an integer" }),
|
|
2077
|
-
),
|
|
2078
|
-
]).annotate({
|
|
2079
|
-
description:
|
|
2080
|
-
"Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. If set, trial_end will override the default trial period of the plan the customer is being subscribed to. The special value `now` can be provided to end the customer's trial immediately. Can be at most two years from `billing_cycle_anchor`. See [Using trial periods on subscriptions](https://docs.stripe.com/billing/subscriptions/trials/free-trials) to learn more.",
|
|
2081
|
-
}),
|
|
540
|
+
StripeSubscriptionPropsSchemaInputResourceInputAlternatives_12,
|
|
2082
541
|
),
|
|
2083
542
|
trial_from_plan: Schema.optionalKey(
|
|
2084
543
|
Schema.Boolean.annotate({
|
|
@@ -2093,35 +552,7 @@ export const StripeSubscriptionPropsEntitySchema = annotateResourceSchema(
|
|
|
2093
552
|
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
2094
553
|
),
|
|
2095
554
|
trial_settings: Schema.optionalKey(
|
|
2096
|
-
|
|
2097
|
-
Schema.Struct({
|
|
2098
|
-
end_behavior: Schema.StructWithRest(
|
|
2099
|
-
Schema.Struct({
|
|
2100
|
-
billing_cycle_anchor: Schema.optionalKey(
|
|
2101
|
-
Schema.Literals(["now", "unchanged"]),
|
|
2102
|
-
),
|
|
2103
|
-
missing_payment_method: Schema.optionalKey(
|
|
2104
|
-
Schema.Literals(["cancel", "create_invoice", "pause"]),
|
|
2105
|
-
),
|
|
2106
|
-
}),
|
|
2107
|
-
[
|
|
2108
|
-
Schema.Record(
|
|
2109
|
-
Schema.String,
|
|
2110
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2111
|
-
),
|
|
2112
|
-
],
|
|
2113
|
-
).annotate({ title: "end_behavior" }),
|
|
2114
|
-
}),
|
|
2115
|
-
[
|
|
2116
|
-
Schema.Record(
|
|
2117
|
-
Schema.String,
|
|
2118
|
-
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2119
|
-
),
|
|
2120
|
-
],
|
|
2121
|
-
).annotate({
|
|
2122
|
-
title: "trial_settings_config",
|
|
2123
|
-
description: "Settings related to subscription trials.",
|
|
2124
|
-
}),
|
|
555
|
+
StripeSubscriptionPropsSchemaInputResourceInputProperties_4,
|
|
2125
556
|
),
|
|
2126
557
|
}),
|
|
2127
558
|
StripeSubscriptionResourceSchema,
|