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.
Files changed (635) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +3 -1
  3. package/ROADMAP.md +1 -1
  4. package/docs/README.md +2 -0
  5. package/docs/application/aws-resource-coverage.md +111 -20
  6. package/docs/application/designs/awsRequestBodyEncoding.ts +91 -0
  7. package/docs/application/designs/createBucketModeledErrors.ts +164 -0
  8. package/docs/application/designs/describeSubnetsEc2Query.ts +186 -0
  9. package/docs/application/designs/getBucketTaggingResponseDecoding.ts +136 -0
  10. package/docs/application/designs/lambdaGetPolicyRequest.ts +85 -0
  11. package/docs/application/designs/s3GetObjectDownload.ts +97 -0
  12. package/docs/application/designs/s3ObjectMetadata.ts +154 -0
  13. package/docs/application/designs/selectObjectContentEvents.ts +185 -0
  14. package/docs/application/generation-architecture.md +38 -0
  15. package/docs/application/resource-operations.md +4 -2
  16. package/docs/development/code-documentation.md +2 -0
  17. package/docs/development/design-walkthroughs.md +49 -0
  18. package/docs/development/effect-native-development.md +31 -2
  19. package/docs/development/review-code.md +1 -1
  20. package/docs/development/review-remediation-spec.md +1 -0
  21. package/docs/development/testing.md +20 -0
  22. package/docs/operations/releasing.md +4 -2
  23. package/examples/queue/application.ts +1 -1
  24. package/media/nomoss-logo.svg +16 -0
  25. package/package.json +8 -14
  26. package/providers/aws/README.md +7 -7
  27. package/providers/aws/awsEnvironment.ts +3 -3
  28. package/providers/aws/generated/resources/apigateway/apikey.ts +335 -0
  29. package/providers/aws/generated/resources/apigateway/authorizer.ts +329 -0
  30. package/providers/aws/generated/resources/apigateway/basepathmapping.ts +265 -0
  31. package/providers/aws/generated/resources/apigateway/deployment.ts +515 -0
  32. package/providers/aws/generated/resources/apigateway/domainname.ts +354 -0
  33. package/providers/aws/generated/resources/apigateway/gatewayresponse.ts +222 -0
  34. package/providers/aws/generated/resources/apigateway/method.ts +819 -0
  35. package/providers/aws/generated/resources/apigateway/model.ts +248 -0
  36. package/providers/aws/generated/resources/apigateway/requestvalidator.ts +224 -0
  37. package/providers/aws/generated/resources/apigateway/resource.ts +235 -0
  38. package/providers/aws/generated/resources/apigateway/restapi.ts +583 -0
  39. package/providers/aws/generated/resources/apigateway/stage.ts +656 -0
  40. package/providers/aws/generated/resources/apigateway/usageplan.ts +394 -0
  41. package/providers/aws/generated/resources/apigateway/usageplankey.ts +228 -0
  42. package/providers/aws/generated/resources/apigatewayv2/api.ts +40 -60
  43. package/providers/aws/generated/resources/apigatewayv2/apimapping.ts +284 -0
  44. package/providers/aws/generated/resources/apigatewayv2/authorizer.ts +333 -0
  45. package/providers/aws/generated/resources/apigatewayv2/deployment.ts +226 -0
  46. package/providers/aws/generated/resources/apigatewayv2/domainname.ts +333 -0
  47. package/providers/aws/generated/resources/apigatewayv2/integration.ts +70 -103
  48. package/providers/aws/generated/resources/apigatewayv2/integrationresponse.ts +323 -0
  49. package/providers/aws/generated/resources/apigatewayv2/model.ts +241 -0
  50. package/providers/aws/generated/resources/apigatewayv2/route.ts +59 -63
  51. package/providers/aws/generated/resources/apigatewayv2/routeresponse.ts +330 -0
  52. package/providers/aws/generated/resources/apigatewayv2/routingrule.ts +349 -0
  53. package/providers/aws/generated/resources/apigatewayv2/stage.ts +45 -66
  54. package/providers/aws/generated/resources/apigatewayv2/vpclink.ts +256 -0
  55. package/providers/aws/generated/resources/appsync/api.ts +486 -0
  56. package/providers/aws/generated/resources/appsync/apicache.ts +169 -0
  57. package/providers/aws/generated/resources/appsync/apikey.ts +245 -0
  58. package/providers/aws/generated/resources/appsync/channelnamespace.ts +444 -0
  59. package/providers/aws/generated/resources/appsync/datasource.ts +757 -0
  60. package/providers/aws/generated/resources/appsync/domainname.ts +355 -0
  61. package/providers/aws/generated/resources/appsync/domainnameapiassociation.ts +284 -0
  62. package/providers/aws/generated/resources/appsync/functionconfiguration.ts +448 -0
  63. package/providers/aws/generated/resources/appsync/graphqlapi.ts +1028 -0
  64. package/providers/aws/generated/resources/appsync/graphqlschema.ts +188 -0
  65. package/providers/aws/generated/resources/appsync/resolver.ts +514 -0
  66. package/providers/aws/generated/resources/appsync/sourceapiassociation.ts +429 -0
  67. package/providers/aws/generated/resources/certificatemanager/certificate.ts +211 -0
  68. package/providers/aws/generated/resources/cloudfront/cachepolicy.ts +352 -0
  69. package/providers/aws/generated/resources/cloudfront/distribution.ts +2477 -0
  70. package/providers/aws/generated/resources/cloudfront/function.ts +313 -0
  71. package/providers/aws/generated/resources/cloudfront/originaccesscontrol.ts +204 -0
  72. package/providers/aws/generated/resources/cloudfront/originrequestpolicy.ts +285 -0
  73. package/providers/aws/generated/resources/cloudfront/responseheaderspolicy.ts +591 -0
  74. package/providers/aws/generated/resources/cloudwatch/alarm.ts +4545 -0
  75. package/providers/aws/generated/resources/cloudwatch/compositealarm.ts +678 -0
  76. package/providers/aws/generated/resources/cloudwatch/dashboard.ts +229 -0
  77. package/providers/aws/generated/resources/cognito/identitypool.ts +419 -0
  78. package/providers/aws/generated/resources/cognito/identitypoolroleattachment.ts +288 -0
  79. package/providers/aws/generated/resources/cognito/userpool.ts +1372 -0
  80. package/providers/aws/generated/resources/cognito/userpoolclient.ts +555 -0
  81. package/providers/aws/generated/resources/cognito/userpooldomain.ts +223 -0
  82. package/providers/aws/generated/resources/cognito/userpoolgroup.ts +265 -0
  83. package/providers/aws/generated/resources/cognito/userpoolidentityprovider.ts +216 -0
  84. package/providers/aws/generated/resources/cognito/userpoolresourceserver.ts +233 -0
  85. package/providers/aws/generated/resources/dynamodb/globaltable.ts +1002 -0
  86. package/providers/aws/generated/resources/dynamodb/table.ts +1058 -0
  87. package/providers/aws/generated/resources/ec2/eip.ts +303 -0
  88. package/providers/aws/generated/resources/ec2/instance.ts +1756 -0
  89. package/providers/aws/generated/resources/ec2/internetgateway.ts +185 -0
  90. package/providers/aws/generated/resources/ec2/launchtemplate.ts +2218 -0
  91. package/providers/aws/generated/resources/ec2/natgateway.ts +509 -0
  92. package/providers/aws/generated/resources/ec2/route.ts +595 -0
  93. package/providers/aws/generated/resources/ec2/routetable.ts +207 -0
  94. package/providers/aws/generated/resources/ec2/securitygroup.ts +460 -0
  95. package/providers/aws/generated/resources/ec2/securitygroupegress.ts +332 -0
  96. package/providers/aws/generated/resources/ec2/securitygroupingress.ts +488 -0
  97. package/providers/aws/generated/resources/ec2/subnet.ts +492 -0
  98. package/providers/aws/generated/resources/ec2/subnetroutetableassociation.ts +228 -0
  99. package/providers/aws/generated/resources/ec2/volume.ts +267 -0
  100. package/providers/aws/generated/resources/ec2/volumeattachment.ts +268 -0
  101. package/providers/aws/generated/resources/ec2/vpc.ts +288 -0
  102. package/providers/aws/generated/resources/ec2/vpcendpoint.ts +660 -0
  103. package/providers/aws/generated/resources/ec2/vpcgatewayattachment.ts +290 -0
  104. package/providers/aws/generated/resources/ec2/vpcpeeringconnection.ts +310 -0
  105. package/providers/aws/generated/resources/ecr/repository.ts +627 -0
  106. package/providers/aws/generated/resources/ecs/cluster.ts +616 -0
  107. package/providers/aws/generated/resources/ecs/service.ts +2065 -0
  108. package/providers/aws/generated/resources/ecs/taskdefinition.ts +1848 -0
  109. package/providers/aws/generated/resources/elasticloadbalancingv2/listener.ts +1166 -0
  110. package/providers/aws/generated/resources/elasticloadbalancingv2/listenercertificate.ts +168 -0
  111. package/providers/aws/generated/resources/elasticloadbalancingv2/listenerrule.ts +1219 -0
  112. package/providers/aws/generated/resources/elasticloadbalancingv2/loadbalancer.ts +706 -0
  113. package/providers/aws/generated/resources/elasticloadbalancingv2/targetgroup.ts +699 -0
  114. package/providers/aws/generated/resources/events/apidestination.ts +314 -0
  115. package/providers/aws/generated/resources/events/archive.ts +316 -0
  116. package/providers/aws/generated/resources/events/connection.ts +609 -0
  117. package/providers/aws/generated/resources/events/endpoint.ts +551 -0
  118. package/providers/aws/generated/resources/events/eventbus.ts +261 -0
  119. package/providers/aws/generated/resources/events/eventbuspolicy.ts +343 -0
  120. package/providers/aws/generated/resources/events/rule.ts +1253 -0
  121. package/providers/aws/generated/resources/eventschemas/discoverer.ts +273 -0
  122. package/providers/aws/generated/resources/eventschemas/registry.ts +183 -0
  123. package/providers/aws/generated/resources/eventschemas/registrypolicy.ts +193 -0
  124. package/providers/aws/generated/resources/eventschemas/schema.ts +305 -0
  125. package/providers/aws/generated/resources/iam/accesskey.ts +12 -16
  126. package/providers/aws/generated/resources/iam/group.ts +13 -16
  127. package/providers/aws/generated/resources/iam/grouppolicy.ts +16 -20
  128. package/providers/aws/generated/resources/iam/instanceprofile.ts +2 -2
  129. package/providers/aws/generated/resources/iam/managedpolicy.ts +27 -36
  130. package/providers/aws/generated/resources/iam/oidcprovider.ts +52 -104
  131. package/providers/aws/generated/resources/iam/policy.ts +33 -90
  132. package/providers/aws/generated/resources/iam/role.ts +45 -60
  133. package/providers/aws/generated/resources/iam/rolepolicy.ts +16 -20
  134. package/providers/aws/generated/resources/iam/samlprovider.ts +72 -164
  135. package/providers/aws/generated/resources/iam/servercertificate.ts +73 -187
  136. package/providers/aws/generated/resources/iam/servicelinkedrole.ts +24 -40
  137. package/providers/aws/generated/resources/iam/user.ts +26 -32
  138. package/providers/aws/generated/resources/iam/userpolicy.ts +16 -20
  139. package/providers/aws/generated/resources/iam/usertogroupaddition.ts +2 -2
  140. package/providers/aws/generated/resources/iam/virtualmfadevice.ts +53 -97
  141. package/providers/aws/generated/resources/kms/alias.ts +225 -0
  142. package/providers/aws/generated/resources/kms/key.ts +33 -207
  143. package/providers/aws/generated/resources/kms/replicakey.ts +292 -0
  144. package/providers/aws/generated/resources/lambda/alias.ts +301 -0
  145. package/providers/aws/generated/resources/lambda/codesigningconfig.ts +414 -0
  146. package/providers/aws/generated/resources/lambda/eventinvokeconfig.ts +677 -0
  147. package/providers/aws/generated/resources/lambda/eventsourcemapping.ts +1798 -0
  148. package/providers/aws/generated/resources/lambda/function.ts +135 -181
  149. package/providers/aws/generated/resources/lambda/layerversion.ts +298 -0
  150. package/providers/aws/generated/resources/lambda/layerversionpermission.ts +233 -0
  151. package/providers/aws/generated/resources/lambda/permission.ts +13 -14
  152. package/providers/aws/generated/resources/lambda/url.ts +452 -0
  153. package/providers/aws/generated/resources/lambda/version.ts +349 -0
  154. package/providers/aws/generated/resources/pipes/pipe.ts +3801 -0
  155. package/providers/aws/generated/resources/rds/dbcluster.ts +1710 -0
  156. package/providers/aws/generated/resources/rds/dbinstance.ts +2248 -0
  157. package/providers/aws/generated/resources/rds/dbsubnetgroup.ts +270 -0
  158. package/providers/aws/generated/resources/route53/healthcheck.ts +648 -0
  159. package/providers/aws/generated/resources/route53/hostedzone.ts +430 -0
  160. package/providers/aws/generated/resources/route53/recordset.ts +249 -0
  161. package/providers/aws/generated/resources/route53/recordsetgroup.ts +263 -0
  162. package/providers/aws/generated/resources/s3/accesspoint.ts +616 -0
  163. package/providers/aws/generated/resources/s3/bucket.ts +1733 -1831
  164. package/providers/aws/generated/resources/s3/bucketpolicy.ts +214 -0
  165. package/providers/aws/generated/resources/scheduler/schedule.ts +1563 -0
  166. package/providers/aws/generated/resources/scheduler/schedulegroup.ts +351 -0
  167. package/providers/aws/generated/resources/secretsmanager/resourcepolicy.ts +242 -0
  168. package/providers/aws/generated/resources/secretsmanager/rotationschedule.ts +314 -0
  169. package/providers/aws/generated/resources/secretsmanager/secret.ts +327 -0
  170. package/providers/aws/generated/resources/secretsmanager/secrettargetattachment.ts +167 -0
  171. package/providers/aws/generated/resources/sns/subscription.ts +488 -0
  172. package/providers/aws/generated/resources/sns/topic.ts +60 -88
  173. package/providers/aws/generated/resources/sns/topicinlinepolicy.ts +169 -0
  174. package/providers/aws/generated/resources/sns/topicpolicy.ts +172 -0
  175. package/providers/aws/generated/resources/sqs/queue.ts +53 -82
  176. package/providers/aws/generated/resources/sqs/queueinlinepolicy.ts +163 -0
  177. package/providers/aws/generated/resources/sqs/queuepolicy.ts +172 -0
  178. package/providers/aws/generated/resources/ssm/association.ts +906 -0
  179. package/providers/aws/generated/resources/ssm/document.ts +472 -0
  180. package/providers/aws/generated/resources/ssm/maintenancewindow.ts +225 -0
  181. package/providers/aws/generated/resources/ssm/maintenancewindowtarget.ts +289 -0
  182. package/providers/aws/generated/resources/ssm/maintenancewindowtask.ts +497 -0
  183. package/providers/aws/generated/resources/ssm/parameter.ts +258 -0
  184. package/providers/aws/generated/resources/ssm/patchbaseline.ts +668 -0
  185. package/providers/aws/generated/resources/ssm/resourcedatasync.ts +465 -0
  186. package/providers/aws/generated/resources/ssm/resourcepolicy.ts +211 -0
  187. package/providers/aws/generated/resources/stepfunctions/activity.ts +237 -0
  188. package/providers/aws/generated/resources/stepfunctions/statemachine.ts +54 -41
  189. package/providers/aws/generated/resources/stepfunctions/statemachinealias.ts +361 -0
  190. package/providers/aws/generated/resources/stepfunctions/statemachineversion.ts +202 -0
  191. package/providers/aws/management/ec2/internetGateway.ts +129 -0
  192. package/providers/aws/management/ec2/resourceTags.ts +89 -0
  193. package/providers/aws/management/ec2/route.ts +254 -0
  194. package/providers/aws/management/ec2/routeTable.ts +138 -0
  195. package/providers/aws/management/ec2/subnet.ts +511 -0
  196. package/providers/aws/management/ec2/subnetRouteTableAssociation.ts +129 -0
  197. package/providers/aws/management/ec2/vpc.ts +466 -0
  198. package/providers/aws/management/ec2/vpcGatewayAttachment.ts +238 -0
  199. package/providers/aws/management/iam/role.ts +520 -0
  200. package/providers/aws/management/lambda/function.ts +651 -0
  201. package/providers/aws/management/resourcePolicies.ts +102 -0
  202. package/providers/aws/management/s3/bucket.ts +315 -0
  203. package/providers/aws/management/s3/bucketConfiguration.ts +1102 -0
  204. package/providers/aws/runtime.ts +17 -19
  205. package/src/core/resource/model.ts +13 -3
  206. package/src/core/resource/resourceCommandPolicy.ts +5 -1
  207. package/src/core/resource/resourceEntries.ts +193 -0
  208. package/src/core/resource/resourceLifecycle.ts +39 -23
  209. package/src/core/stack/planner.ts +78 -40
  210. package/src/core/stack/resourceStackLifecycle.ts +112 -18
  211. package/src/core/stack/resourceStackOperations.ts +18 -0
  212. package/src/core/stack/stackWorkflowRenderer.ts +12 -3
  213. package/src/core/state/stateStore.ts +47 -10
  214. package/src/providers/providerRuntimeLayer.ts +1 -1
  215. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsEntitySchema.ts +5 -5055
  216. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsSchema.ts +5 -5055
  217. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsValidators.ts +5058 -0
  218. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsEntitySchema.ts +5 -2443
  219. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsSchema.ts +5 -2443
  220. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsValidators.ts +2446 -0
  221. package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsEntitySchema.ts +5 -23
  222. package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsSchema.ts +5 -23
  223. package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsValidators.ts +26 -0
  224. package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsEntitySchema.ts +5 -63
  225. package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsSchema.ts +5 -63
  226. package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsValidators.ts +66 -0
  227. package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsEntitySchema.ts +11 -121
  228. package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsSchema.ts +11 -121
  229. package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsValidators.ts +130 -0
  230. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsEntitySchema.ts +17 -21
  231. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsSchema.ts +4 -12
  232. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsValidators.ts +109 -0
  233. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsEntitySchema.ts +3 -2
  234. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsSchema.ts +3 -2
  235. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsValidators.ts +11 -0
  236. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsEntitySchema.ts +18 -108
  237. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsSchema.ts +18 -108
  238. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsValidators.ts +122 -0
  239. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsEntitySchema.ts +5 -30
  240. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsSchema.ts +5 -30
  241. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsValidators.ts +34 -0
  242. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsEntitySchema.ts +5 -110
  243. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsSchema.ts +5 -110
  244. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsValidators.ts +113 -0
  245. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsEntitySchema.ts +42 -218
  246. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsSchema.ts +63 -336
  247. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsValidators.ts +604 -0
  248. package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsEntitySchema.ts +11 -123
  249. package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsSchema.ts +11 -123
  250. package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsValidators.ts +133 -0
  251. package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsEntitySchema.ts +25 -322
  252. package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsSchema.ts +20 -317
  253. package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsValidators.ts +359 -0
  254. package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsEntitySchema.ts +139 -4161
  255. package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsSchema.ts +181 -4265
  256. package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsValidators.ts +4529 -0
  257. package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsEntitySchema.ts +5 -86
  258. package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsSchema.ts +5 -86
  259. package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsValidators.ts +89 -0
  260. package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsEntitySchema.ts +5 -151
  261. package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsSchema.ts +5 -151
  262. package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsValidators.ts +154 -0
  263. package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsEntitySchema.ts +34 -169
  264. package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsSchema.ts +24 -159
  265. package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsValidators.ts +235 -0
  266. package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsEntitySchema.ts +46 -644
  267. package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsSchema.ts +41 -639
  268. package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsValidators.ts +691 -0
  269. package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsEntitySchema.ts +5 -46
  270. package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsSchema.ts +5 -46
  271. package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsValidators.ts +49 -0
  272. package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsEntitySchema.ts +5 -160
  273. package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsSchema.ts +5 -160
  274. package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsValidators.ts +163 -0
  275. package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsEntitySchema.ts +8 -19
  276. package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsSchema.ts +8 -19
  277. package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsValidators.ts +28 -0
  278. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsEntitySchema.ts +5 -55
  279. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsSchema.ts +5 -55
  280. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsValidators.ts +58 -0
  281. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsEntitySchema.ts +36 -121
  282. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsSchema.ts +24 -111
  283. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsValidators.ts +183 -0
  284. package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsEntitySchema.ts +5 -119
  285. package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsSchema.ts +5 -119
  286. package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsValidators.ts +122 -0
  287. package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsEntitySchema.ts +5 -45
  288. package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsSchema.ts +5 -45
  289. package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsValidators.ts +48 -0
  290. package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsEntitySchema.ts +5 -195
  291. package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsSchema.ts +5 -195
  292. package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsValidators.ts +198 -0
  293. package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsEntitySchema.ts +5 -97
  294. package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsSchema.ts +5 -97
  295. package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsValidators.ts +100 -0
  296. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsEntitySchema.ts +69 -1282
  297. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsSchema.ts +43 -1259
  298. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsValidators.ts +1417 -0
  299. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsEntitySchema.ts +32 -126
  300. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsSchema.ts +27 -121
  301. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsValidators.ts +172 -0
  302. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsEntitySchema.ts +32 -2103
  303. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsSchema.ts +32 -2103
  304. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsValidators.ts +2134 -0
  305. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsEntitySchema.ts +37 -2065
  306. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsSchema.ts +32 -2060
  307. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsValidators.ts +2196 -0
  308. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsEntitySchema.ts +56 -97
  309. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsSchema.ts +98 -251
  310. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsValidators.ts +1024 -0
  311. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsEntitySchema.ts +14 -89
  312. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsSchema.ts +14 -89
  313. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsValidators.ts +100 -0
  314. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsEntitySchema.ts +5 -246
  315. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsSchema.ts +5 -246
  316. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsValidators.ts +249 -0
  317. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsEntitySchema.ts +5 -115
  318. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsSchema.ts +5 -115
  319. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsValidators.ts +118 -0
  320. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsEntitySchema.ts +65 -5205
  321. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsSchema.ts +59 -5200
  322. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsValidators.ts +5124 -0
  323. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsEntitySchema.ts +101 -1508
  324. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsSchema.ts +95 -1598
  325. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsValidators.ts +2039 -0
  326. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsEntitySchema.ts +5 -2272
  327. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsSchema.ts +5 -2272
  328. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsValidators.ts +2276 -0
  329. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsEntitySchema.ts +5 -37
  330. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsSchema.ts +5 -37
  331. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsValidators.ts +40 -0
  332. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsEntitySchema.ts +194 -1425
  333. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsSchema.ts +194 -1425
  334. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsValidators.ts +1580 -0
  335. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsEntitySchema.ts +5 -265
  336. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsSchema.ts +5 -265
  337. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsValidators.ts +268 -0
  338. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsEntitySchema.ts +14 -28
  339. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsSchema.ts +14 -28
  340. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsValidators.ts +42 -0
  341. package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsEntitySchema.ts +26 -96
  342. package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsSchema.ts +26 -96
  343. package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsValidators.ts +117 -0
  344. package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsEntitySchema.ts +35 -314
  345. package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsSchema.ts +35 -314
  346. package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsValidators.ts +330 -0
  347. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsEntitySchema.ts +5 -33
  348. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsSchema.ts +5 -33
  349. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsValidators.ts +37 -0
  350. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsEntitySchema.ts +16 -43
  351. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsSchema.ts +9 -39
  352. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsValidators.ts +105 -0
  353. package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsEntitySchema.ts +5 -358
  354. package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsSchema.ts +5 -358
  355. package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsValidators.ts +361 -0
  356. package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsEntitySchema.ts +18 -66
  357. package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsSchema.ts +11 -61
  358. package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsValidators.ts +100 -0
  359. package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsEntitySchema.ts +73 -366
  360. package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsSchema.ts +49 -345
  361. package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsValidators.ts +569 -0
  362. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsEntitySchema.ts +5 -39
  363. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsSchema.ts +5 -39
  364. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsValidators.ts +42 -0
  365. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsEntitySchema.ts +5 -76
  366. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsSchema.ts +5 -76
  367. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsValidators.ts +79 -0
  368. package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsEntitySchema.ts +5 -27
  369. package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsSchema.ts +5 -27
  370. package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsValidators.ts +30 -0
  371. package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsEntitySchema.ts +11 -30
  372. package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsSchema.ts +11 -30
  373. package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsValidators.ts +41 -0
  374. package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsEntitySchema.ts +5 -1356
  375. package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsSchema.ts +5 -1356
  376. package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsValidators.ts +1359 -0
  377. package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsEntitySchema.ts +35 -2767
  378. package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsSchema.ts +35 -2767
  379. package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsValidators.ts +2761 -0
  380. package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsEntitySchema.ts +5 -170
  381. package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsSchema.ts +5 -170
  382. package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsValidators.ts +173 -0
  383. package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsEntitySchema.ts +5 -549
  384. package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsSchema.ts +5 -549
  385. package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsValidators.ts +552 -0
  386. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsEntitySchema.ts +32 -143
  387. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsSchema.ts +27 -138
  388. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsValidators.ts +187 -0
  389. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsEntitySchema.ts +99 -1668
  390. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsSchema.ts +70 -1644
  391. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsValidators.ts +1872 -0
  392. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsEntitySchema.ts +123 -497
  393. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsSchema.ts +118 -755
  394. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsValidators.ts +1902 -0
  395. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsEntitySchema.ts +23 -301
  396. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsSchema.ts +11 -291
  397. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsValidators.ts +359 -0
  398. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsEntitySchema.ts +5 -113
  399. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsSchema.ts +5 -113
  400. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsValidators.ts +116 -0
  401. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsEntitySchema.ts +5 -159
  402. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsSchema.ts +5 -159
  403. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsValidators.ts +162 -0
  404. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsEntitySchema.ts +5 -3321
  405. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsSchema.ts +5 -3321
  406. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsValidators.ts +3324 -0
  407. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsEntitySchema.ts +73 -698
  408. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsSchema.ts +23 -646
  409. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsValidators.ts +931 -0
  410. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsEntitySchema.ts +5 -292
  411. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsSchema.ts +5 -292
  412. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsValidators.ts +295 -0
  413. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsEntitySchema.ts +8 -19
  414. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsSchema.ts +8 -19
  415. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsValidators.ts +29 -0
  416. package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsEntitySchema.ts +5 -47
  417. package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsSchema.ts +5 -47
  418. package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsValidators.ts +51 -0
  419. package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsEntitySchema.ts +40 -629
  420. package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsSchema.ts +40 -629
  421. package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsValidators.ts +655 -0
  422. package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsEntitySchema.ts +5 -2387
  423. package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsSchema.ts +5 -2387
  424. package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsValidators.ts +2391 -0
  425. package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsEntitySchema.ts +11 -50
  426. package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsSchema.ts +11 -50
  427. package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsValidators.ts +58 -0
  428. package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsEntitySchema.ts +11 -21
  429. package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsSchema.ts +11 -21
  430. package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsValidators.ts +34 -0
  431. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsEntitySchema.ts +5 -36
  432. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsSchema.ts +5 -36
  433. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsValidators.ts +40 -0
  434. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsEntitySchema.ts +5 -36
  435. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsSchema.ts +5 -36
  436. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsValidators.ts +40 -0
  437. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsEntitySchema.ts +5 -276
  438. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsSchema.ts +5 -275
  439. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsValidators.ts +279 -0
  440. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsEntitySchema.ts +5 -73
  441. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsSchema.ts +5 -73
  442. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsValidators.ts +77 -0
  443. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsEntitySchema.ts +5 -340
  444. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsSchema.ts +5 -340
  445. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsValidators.ts +344 -0
  446. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsEntitySchema.ts +5 -137
  447. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsSchema.ts +5 -137
  448. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsValidators.ts +141 -0
  449. package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsEntitySchema.ts +5 -45
  450. package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsSchema.ts +5 -45
  451. package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsValidators.ts +48 -0
  452. package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsEntitySchema.ts +144 -3036
  453. package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsSchema.ts +279 -3175
  454. package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsValidators.ts +3457 -0
  455. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsEntitySchema.ts +5 -883
  456. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsSchema.ts +5 -882
  457. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsValidators.ts +886 -0
  458. package/src/providers/stripe/client/stripeClient.ts +11 -15
  459. package/providers/aws/generated/managementRegistry.ts +0 -136
  460. package/providers/aws/management/mappings/iam/group.ts +0 -63
  461. package/providers/aws/management/mappings/iam/iamIdentity.ts +0 -41
  462. package/providers/aws/management/mappings/iam/iamLifecycleSettings.ts +0 -8
  463. package/providers/aws/management/mappings/iam/inlinePolicies.ts +0 -159
  464. package/providers/aws/management/mappings/iam/instanceProfile.ts +0 -77
  465. package/providers/aws/management/mappings/iam/oidcProvider.ts +0 -94
  466. package/providers/aws/management/mappings/iam/role.ts +0 -74
  467. package/providers/aws/management/mappings/iam/samlProvider.ts +0 -98
  468. package/providers/aws/management/mappings/iam/serverCertificate.ts +0 -72
  469. package/providers/aws/management/mappings/iam/user.ts +0 -61
  470. package/providers/aws/management/mappings/iam/userToGroupAddition.ts +0 -75
  471. package/providers/aws/management/operations/iam/accessKey.ts +0 -206
  472. package/providers/aws/management/operations/iam/managedPolicy.ts +0 -491
  473. package/providers/aws/management/operations/iam/policy.ts +0 -476
  474. package/providers/aws/management/operations/iam/serviceLinkedRole.ts +0 -172
  475. package/providers/aws/management/operations/iam/virtualMfaDevice.ts +0 -253
  476. package/providers/aws/management/resourceAssociationConfiguration.ts +0 -112
  477. package/providers/aws/management/resourceAssociationRegistration.ts +0 -349
  478. package/providers/aws/management/resourceAssociations.ts +0 -168
  479. package/providers/aws/management/resourceConfiguration.ts +0 -119
  480. package/providers/aws/management/resourceLifecycleRegistration.ts +0 -540
  481. package/providers/aws/management/resourceManagementModule.ts +0 -31
  482. package/providers/aws/management/resourceManagementRegistry.ts +0 -62
  483. package/providers/aws/management/resourceMapping.ts +0 -84
  484. package/providers/aws/management/resourceOperation.ts +0 -134
  485. package/providers/aws/management/resourceTagOperations.ts +0 -108
  486. package/providers/aws/management/resourceTiming.ts +0 -4
  487. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives.ts +0 -35
  488. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_1.ts +0 -35
  489. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_10.ts +0 -44
  490. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_100.ts +0 -35
  491. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_101.ts +0 -35
  492. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_102.ts +0 -35
  493. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_103.ts +0 -35
  494. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_104.ts +0 -35
  495. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_105.ts +0 -35
  496. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_106.ts +0 -35
  497. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_107.ts +0 -35
  498. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_108.ts +0 -35
  499. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_11.ts +0 -68
  500. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_12.ts +0 -35
  501. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_13.ts +0 -35
  502. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_14.ts +0 -35
  503. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_15.ts +0 -35
  504. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_16.ts +0 -35
  505. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_17.ts +0 -44
  506. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_18.ts +0 -35
  507. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_19.ts +0 -35
  508. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_2.ts +0 -35
  509. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_20.ts +0 -35
  510. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_21.ts +0 -35
  511. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_22.ts +0 -35
  512. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_23.ts +0 -35
  513. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_24.ts +0 -35
  514. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_25.ts +0 -35
  515. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_26.ts +0 -44
  516. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_27.ts +0 -35
  517. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_28.ts +0 -35
  518. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_29.ts +0 -35
  519. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_3.ts +0 -35
  520. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_30.ts +0 -35
  521. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_31.ts +0 -35
  522. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_32.ts +0 -35
  523. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_33.ts +0 -35
  524. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_34.ts +0 -35
  525. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_35.ts +0 -59
  526. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_36.ts +0 -35
  527. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_37.ts +0 -35
  528. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_38.ts +0 -35
  529. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_39.ts +0 -35
  530. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_4.ts +0 -35
  531. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_40.ts +0 -35
  532. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_41.ts +0 -111
  533. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_42.ts +0 -35
  534. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_43.ts +0 -77
  535. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_44.ts +0 -35
  536. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_45.ts +0 -35
  537. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_46.ts +0 -35
  538. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_47.ts +0 -35
  539. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_48.ts +0 -50
  540. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_49.ts +0 -35
  541. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_5.ts +0 -35
  542. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_50.ts +0 -83
  543. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_51.ts +0 -35
  544. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_52.ts +0 -50
  545. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_53.ts +0 -35
  546. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_54.ts +0 -74
  547. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_55.ts +0 -35
  548. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_56.ts +0 -65
  549. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_57.ts +0 -35
  550. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_58.ts +0 -79
  551. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_59.ts +0 -35
  552. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_6.ts +0 -35
  553. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_60.ts +0 -35
  554. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_61.ts +0 -35
  555. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_62.ts +0 -44
  556. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_63.ts +0 -35
  557. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_64.ts +0 -35
  558. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_65.ts +0 -44
  559. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_66.ts +0 -35
  560. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_67.ts +0 -35
  561. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_68.ts +0 -35
  562. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_69.ts +0 -35
  563. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_7.ts +0 -35
  564. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_70.ts +0 -35
  565. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_71.ts +0 -35
  566. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_72.ts +0 -35
  567. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_73.ts +0 -35
  568. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_74.ts +0 -35
  569. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_75.ts +0 -35
  570. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_76.ts +0 -35
  571. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_77.ts +0 -35
  572. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_78.ts +0 -44
  573. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_79.ts +0 -35
  574. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_8.ts +0 -35
  575. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_80.ts +0 -35
  576. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_81.ts +0 -39
  577. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_82.ts +0 -35
  578. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_83.ts +0 -35
  579. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_84.ts +0 -35
  580. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_85.ts +0 -35
  581. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_86.ts +0 -35
  582. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_87.ts +0 -35
  583. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_88.ts +0 -56
  584. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_89.ts +0 -35
  585. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_9.ts +0 -35
  586. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_90.ts +0 -35
  587. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_91.ts +0 -44
  588. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_92.ts +0 -35
  589. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_93.ts +0 -56
  590. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_94.ts +0 -35
  591. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_95.ts +0 -35
  592. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_96.ts +0 -35
  593. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_97.ts +0 -35
  594. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_98.ts +0 -35
  595. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_99.ts +0 -35
  596. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems.ts +0 -38
  597. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_1.ts +0 -39
  598. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_2.ts +0 -38
  599. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_3.ts +0 -154
  600. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_4.ts +0 -51
  601. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_5.ts +0 -120
  602. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties.ts +0 -32
  603. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_1.ts +0 -37
  604. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_10.ts +0 -125
  605. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_11.ts +0 -34
  606. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_12.ts +0 -34
  607. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_13.ts +0 -34
  608. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_14.ts +0 -34
  609. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_15.ts +0 -32
  610. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_16.ts +0 -37
  611. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_17.ts +0 -34
  612. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_18.ts +0 -130
  613. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_19.ts +0 -34
  614. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_2.ts +0 -39
  615. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_20.ts +0 -89
  616. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_21.ts +0 -34
  617. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_22.ts +0 -30
  618. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_23.ts +0 -34
  619. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_24.ts +0 -34
  620. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_25.ts +0 -34
  621. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_26.ts +0 -34
  622. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_27.ts +0 -97
  623. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_28.ts +0 -34
  624. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_29.ts +0 -34
  625. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_3.ts +0 -37
  626. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_30.ts +0 -34
  627. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_31.ts +0 -97
  628. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_32.ts +0 -34
  629. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_33.ts +0 -34
  630. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_4.ts +0 -37
  631. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_5.ts +0 -53
  632. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_6.ts +0 -42
  633. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_7.ts +0 -63
  634. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_8.ts +0 -94
  635. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_9.ts +0 -34
@@ -0,0 +1,4529 @@
1
+ // This schema module comes from the selected resource contracts. Do not edit.
2
+
3
+ // biome-ignore-all lint/complexity/useRegexLiterals: Preserve Effect's compiled regular expressions.
4
+ import { Schema } from "effect";
5
+ import {
6
+ type ResourceEntity,
7
+ type ResourceInputJson,
8
+ ResourceInputJsonSchema,
9
+ ResourceReferenceSchema,
10
+ } from "../../../../../core/resource/model.js";
11
+
12
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties = {
13
+ readonly enabled?: boolean;
14
+ } & { readonly [x: string]: Schema.Json };
15
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_1 = {
16
+ readonly recovery?: {
17
+ readonly allow_promotion_codes?: boolean;
18
+ readonly enabled: boolean;
19
+ } & { readonly [x: string]: Schema.Json };
20
+ } & { readonly [x: string]: Schema.Json };
21
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputItems =
22
+ globalThis.ReadonlyArray<
23
+ | "acss_debit"
24
+ | "affirm"
25
+ | "afterpay_clearpay"
26
+ | "alipay"
27
+ | "alma"
28
+ | "amazon_pay"
29
+ | "au_becs_debit"
30
+ | "bacs_debit"
31
+ | "bancontact"
32
+ | "billie"
33
+ | "bizum"
34
+ | "blik"
35
+ | "boleto"
36
+ | "card"
37
+ | "cashapp"
38
+ | "crypto"
39
+ | "customer_balance"
40
+ | "eps"
41
+ | "fpx"
42
+ | "giropay"
43
+ | "grabpay"
44
+ | "ideal"
45
+ | "kakao_pay"
46
+ | "klarna"
47
+ | "konbini"
48
+ | "kr_card"
49
+ | "link"
50
+ | "mb_way"
51
+ | "mobilepay"
52
+ | "multibanco"
53
+ | "naver_pay"
54
+ | "nz_bank_account"
55
+ | "oxxo"
56
+ | "p24"
57
+ | "pay_by_bank"
58
+ | "payco"
59
+ | "paynow"
60
+ | "paypal"
61
+ | "paypay"
62
+ | "payto"
63
+ | "pix"
64
+ | "promptpay"
65
+ | "revolut_pay"
66
+ | "samsung_pay"
67
+ | "satispay"
68
+ | "scalapay"
69
+ | "sepa_debit"
70
+ | "sequra"
71
+ | "sofort"
72
+ | "sunbit"
73
+ | "swish"
74
+ | "twint"
75
+ | "upi"
76
+ | "us_bank_account"
77
+ | "wechat_pay"
78
+ | "zip"
79
+ >;
80
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives =
81
+ | "account"
82
+ | "self";
83
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_1 =
84
+ | "auto"
85
+ | "required";
86
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_2 = {
87
+ readonly background_color?: string | "";
88
+ readonly border_style?: "" | "pill" | "rectangular" | "rounded";
89
+ readonly button_color?: string | "";
90
+ readonly display_name?: string;
91
+ readonly font_family?:
92
+ | ""
93
+ | "be_vietnam_pro"
94
+ | "bitter"
95
+ | "chakra_petch"
96
+ | "default"
97
+ | "hahmlet"
98
+ | "inconsolata"
99
+ | "inter"
100
+ | "lato"
101
+ | "lora"
102
+ | "m_plus_1_code"
103
+ | "montserrat"
104
+ | "noto_sans"
105
+ | "noto_sans_jp"
106
+ | "noto_serif"
107
+ | "nunito"
108
+ | "open_sans"
109
+ | "pridi"
110
+ | "pt_sans"
111
+ | "pt_serif"
112
+ | "raleway"
113
+ | "roboto"
114
+ | "roboto_slab"
115
+ | "source_sans_pro"
116
+ | "titillium_web"
117
+ | "ubuntu_mono"
118
+ | "zen_maru_gothic";
119
+ readonly icon?: {
120
+ readonly file?: string;
121
+ readonly type: "file" | "url";
122
+ readonly url?: string;
123
+ } & { readonly [x: string]: Schema.Json };
124
+ readonly logo?: {
125
+ readonly file?: string;
126
+ readonly type: "file" | "url";
127
+ readonly url?: string;
128
+ } & { readonly [x: string]: Schema.Json };
129
+ } & { readonly [x: string]: Schema.Json };
130
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_3 = {
131
+ readonly payment_method_reuse_agreement?: {
132
+ readonly position: "auto" | "hidden";
133
+ } & { readonly [x: string]: Schema.Json };
134
+ readonly promotions?: "auto" | "none";
135
+ readonly terms_of_service?: "none" | "required";
136
+ } & { readonly [x: string]: Schema.Json };
137
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputItems_1 =
138
+ globalThis.ReadonlyArray<
139
+ {
140
+ readonly dropdown?: {
141
+ readonly default_value?: string;
142
+ readonly options: globalThis.ReadonlyArray<
143
+ { readonly label: string; readonly value: string } & {
144
+ readonly [x: string]: Schema.Json;
145
+ }
146
+ >;
147
+ } & { readonly [x: string]: Schema.Json };
148
+ readonly key: string;
149
+ readonly label: { readonly custom: string; readonly type: "custom" } & {
150
+ readonly [x: string]: Schema.Json;
151
+ };
152
+ readonly numeric?: {
153
+ readonly default_value?: string;
154
+ readonly maximum_length?: number;
155
+ readonly minimum_length?: number;
156
+ } & { readonly [x: string]: Schema.Json };
157
+ readonly optional?: boolean;
158
+ readonly text?: {
159
+ readonly default_value?: string;
160
+ readonly maximum_length?: number;
161
+ readonly minimum_length?: number;
162
+ } & { readonly [x: string]: Schema.Json };
163
+ readonly type: "dropdown" | "numeric" | "text";
164
+ } & { readonly [x: string]: Schema.Json }
165
+ >;
166
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_4 = {
167
+ readonly after_submit?:
168
+ | ({ readonly message: string } & { readonly [x: string]: Schema.Json })
169
+ | "";
170
+ readonly shipping_address?:
171
+ | ({ readonly message: string } & { readonly [x: string]: Schema.Json })
172
+ | "";
173
+ readonly submit?:
174
+ | ({ readonly message: string } & { readonly [x: string]: Schema.Json })
175
+ | "";
176
+ readonly terms_of_service_acceptance?:
177
+ | ({ readonly message: string } & { readonly [x: string]: Schema.Json })
178
+ | "";
179
+ } & { readonly [x: string]: Schema.Json };
180
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_2 =
181
+ | "always"
182
+ | "if_required";
183
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_5 = {
184
+ readonly address?: "auto" | "never";
185
+ readonly name?: "auto" | "never";
186
+ readonly shipping?: "auto" | "never";
187
+ } & { readonly [x: string]: Schema.Json };
188
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputItems_2 =
189
+ globalThis.ReadonlyArray<
190
+ | "acss_debit"
191
+ | "affirm"
192
+ | "afterpay_clearpay"
193
+ | "alipay"
194
+ | "alma"
195
+ | "amazon_pay"
196
+ | "au_becs_debit"
197
+ | "bacs_debit"
198
+ | "bancontact"
199
+ | "billie"
200
+ | "bizum"
201
+ | "blik"
202
+ | "boleto"
203
+ | "card"
204
+ | "cashapp"
205
+ | "crypto"
206
+ | "customer_balance"
207
+ | "eps"
208
+ | "fpx"
209
+ | "giropay"
210
+ | "grabpay"
211
+ | "ideal"
212
+ | "kakao_pay"
213
+ | "klarna"
214
+ | "konbini"
215
+ | "kr_card"
216
+ | "mb_way"
217
+ | "mobilepay"
218
+ | "multibanco"
219
+ | "naver_pay"
220
+ | "nz_bank_account"
221
+ | "oxxo"
222
+ | "p24"
223
+ | "pay_by_bank"
224
+ | "payco"
225
+ | "paynow"
226
+ | "paypal"
227
+ | "paypay"
228
+ | "payto"
229
+ | "pix"
230
+ | "promptpay"
231
+ | "revolut_pay"
232
+ | "samsung_pay"
233
+ | "satispay"
234
+ | "scalapay"
235
+ | "sepa_debit"
236
+ | "sequra"
237
+ | "sofort"
238
+ | "sunbit"
239
+ | "swish"
240
+ | "twint"
241
+ | "upi"
242
+ | "us_bank_account"
243
+ | "wechat_pay"
244
+ | "zip"
245
+ >;
246
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputItems_3 =
247
+ globalThis.ReadonlyArray<string>;
248
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_3 =
249
+ | globalThis.ReadonlyArray<
250
+ { readonly name: string; readonly value: string } & {
251
+ readonly [x: string]: Schema.Json;
252
+ }
253
+ >
254
+ | "";
255
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_4 =
256
+ | "account"
257
+ | "self";
258
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_6 = {
259
+ readonly [x: string]: string;
260
+ };
261
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_5 =
262
+ | ({
263
+ readonly amount_tax_display?:
264
+ | ""
265
+ | "exclude_tax"
266
+ | "include_inclusive_tax";
267
+ readonly template?: string;
268
+ } & { readonly [x: string]: Schema.Json })
269
+ | "";
270
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputItems_4 =
271
+ globalThis.ReadonlyArray<
272
+ {
273
+ readonly adjustable_quantity?: {
274
+ readonly enabled: boolean;
275
+ readonly maximum?: number;
276
+ readonly minimum?: number;
277
+ } & { readonly [x: string]: Schema.Json };
278
+ readonly metadata?: { readonly [x: string]: string };
279
+ readonly price?: string;
280
+ readonly price_data?: {
281
+ readonly currency: string;
282
+ readonly product?: string;
283
+ readonly product_data?: {
284
+ readonly description?: string;
285
+ readonly images?: globalThis.ReadonlyArray<string>;
286
+ readonly metadata?: { readonly [x: string]: string };
287
+ readonly name: string;
288
+ readonly tax_code?: string;
289
+ readonly tax_details?: {
290
+ readonly performance_location?: string;
291
+ readonly tax_code?: string | "";
292
+ } & { readonly [x: string]: Schema.Json };
293
+ readonly unit_label?: string;
294
+ } & { readonly [x: string]: Schema.Json };
295
+ readonly recurring?: {
296
+ readonly interval: "day" | "month" | "week" | "year";
297
+ readonly interval_count?: number;
298
+ } & { readonly [x: string]: Schema.Json };
299
+ readonly tax_behavior?: "exclusive" | "inclusive" | "unspecified";
300
+ readonly unit_amount?: number;
301
+ readonly unit_amount_decimal?: string;
302
+ } & { readonly [x: string]: Schema.Json };
303
+ readonly quantity?: number;
304
+ readonly tax_rates?: globalThis.ReadonlyArray<string>;
305
+ } & { readonly [x: string]: Schema.Json }
306
+ >;
307
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_6 =
308
+ | "auto"
309
+ | "bg"
310
+ | "cs"
311
+ | "da"
312
+ | "de"
313
+ | "el"
314
+ | "en"
315
+ | "en-GB"
316
+ | "es"
317
+ | "es-419"
318
+ | "et"
319
+ | "fi"
320
+ | "fil"
321
+ | "fr"
322
+ | "fr-CA"
323
+ | "hi-IN"
324
+ | "hr"
325
+ | "hu"
326
+ | "id"
327
+ | "it"
328
+ | "ja"
329
+ | "ko"
330
+ | "lt"
331
+ | "lv"
332
+ | "ms"
333
+ | "mt"
334
+ | "nb"
335
+ | "nl"
336
+ | "pl"
337
+ | "pt"
338
+ | "pt-BR"
339
+ | "ro"
340
+ | "ru"
341
+ | "sk"
342
+ | "sl"
343
+ | "sv"
344
+ | "th"
345
+ | "tr"
346
+ | "vi"
347
+ | "zh"
348
+ | "zh-HK"
349
+ | "zh-TW";
350
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_7 = {
351
+ readonly enabled?: boolean;
352
+ } & { readonly [x: string]: Schema.Json };
353
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_8 = {
354
+ readonly [x: string]: string;
355
+ };
356
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_7 =
357
+ | "payment"
358
+ | "setup"
359
+ | "subscription";
360
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_9 = {
361
+ readonly business?: {
362
+ readonly enabled: boolean;
363
+ readonly optional?: boolean;
364
+ } & { readonly [x: string]: Schema.Json };
365
+ readonly individual?: {
366
+ readonly enabled: boolean;
367
+ readonly optional?: boolean;
368
+ } & { readonly [x: string]: Schema.Json };
369
+ } & { readonly [x: string]: Schema.Json };
370
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputItems_5 =
371
+ globalThis.ReadonlyArray<
372
+ {
373
+ readonly adjustable_quantity?: {
374
+ readonly enabled: boolean;
375
+ readonly maximum?: number;
376
+ readonly minimum?: number;
377
+ } & { readonly [x: string]: Schema.Json };
378
+ readonly price: string;
379
+ readonly quantity: number;
380
+ } & { readonly [x: string]: Schema.Json }
381
+ >;
382
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_8 =
383
+ | "mobile_app"
384
+ | "web";
385
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_10 = {
386
+ readonly application_fee_amount?: number;
387
+ readonly capture_method?: "automatic" | "automatic_async" | "manual";
388
+ readonly description?: string;
389
+ readonly metadata?: { readonly [x: string]: string };
390
+ readonly on_behalf_of?: string;
391
+ readonly receipt_email?: string;
392
+ readonly setup_future_usage?: "off_session" | "on_session";
393
+ readonly shipping?: {
394
+ readonly address: {
395
+ readonly city?: string;
396
+ readonly country?: string;
397
+ readonly line1: string;
398
+ readonly line2?: string;
399
+ readonly postal_code?: string;
400
+ readonly state?: string;
401
+ } & { readonly [x: string]: Schema.Json };
402
+ readonly carrier?: string;
403
+ readonly name: string;
404
+ readonly phone?: string;
405
+ readonly tracking_number?: string;
406
+ } & { readonly [x: string]: Schema.Json };
407
+ readonly statement_descriptor?: string;
408
+ readonly statement_descriptor_suffix?: string;
409
+ readonly transfer_data?: {
410
+ readonly amount?: number;
411
+ readonly destination: string;
412
+ } & { readonly [x: string]: Schema.Json };
413
+ readonly transfer_group?: string;
414
+ } & { readonly [x: string]: Schema.Json };
415
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_9 =
416
+ | "always"
417
+ | "if_required";
418
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_11 = {
419
+ readonly allow_redisplay?: "always" | "limited" | "unspecified";
420
+ } & { readonly [x: string]: Schema.Json };
421
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_12 = {
422
+ readonly acss_debit?: {
423
+ readonly currency?: "cad" | "usd";
424
+ readonly mandate_options?: {
425
+ readonly custom_mandate_url?: string | "";
426
+ readonly default_for?: globalThis.ReadonlyArray<
427
+ "invoice" | "subscription"
428
+ >;
429
+ readonly interval_description?: string;
430
+ readonly payment_schedule?: "combined" | "interval" | "sporadic";
431
+ readonly transaction_type?: "business" | "personal";
432
+ } & { readonly [x: string]: Schema.Json };
433
+ readonly setup_future_usage?: "none" | "off_session" | "on_session";
434
+ readonly target_date?: string;
435
+ readonly verification_method?: "automatic" | "instant" | "microdeposits";
436
+ } & { readonly [x: string]: Schema.Json };
437
+ readonly affirm?: {
438
+ readonly capture_method?: "manual";
439
+ readonly setup_future_usage?: "none";
440
+ } & { readonly [x: string]: Schema.Json };
441
+ readonly afterpay_clearpay?: {
442
+ readonly capture_method?: "manual";
443
+ readonly setup_future_usage?: "none";
444
+ } & { readonly [x: string]: Schema.Json };
445
+ readonly alipay?: { readonly setup_future_usage?: "none" } & {
446
+ readonly [x: string]: Schema.Json;
447
+ };
448
+ readonly alma?: { readonly capture_method?: "manual" } & {
449
+ readonly [x: string]: Schema.Json;
450
+ };
451
+ readonly amazon_pay?: {
452
+ readonly capture_method?: "manual";
453
+ readonly setup_future_usage?: "none" | "off_session";
454
+ } & { readonly [x: string]: Schema.Json };
455
+ readonly au_becs_debit?: {
456
+ readonly setup_future_usage?: "none";
457
+ readonly target_date?: string;
458
+ } & { readonly [x: string]: Schema.Json };
459
+ readonly bacs_debit?: {
460
+ readonly mandate_options?: { readonly reference_prefix?: string | "" } & {
461
+ readonly [x: string]: Schema.Json;
462
+ };
463
+ readonly setup_future_usage?: "none" | "off_session" | "on_session";
464
+ readonly target_date?: string;
465
+ } & { readonly [x: string]: Schema.Json };
466
+ readonly bancontact?: {
467
+ readonly setup_future_usage?: "none" | "off_session";
468
+ } & { readonly [x: string]: Schema.Json };
469
+ readonly billie?: { readonly capture_method?: "manual" } & {
470
+ readonly [x: string]: Schema.Json;
471
+ };
472
+ readonly blik?: {
473
+ readonly mandate_options?: { readonly expires_at?: number } & {
474
+ readonly [x: string]: Schema.Json;
475
+ };
476
+ readonly setup_future_usage?: "" | "none" | "off_session";
477
+ } & { readonly [x: string]: Schema.Json };
478
+ readonly boleto?: {
479
+ readonly expires_after_days?: number;
480
+ readonly setup_future_usage?: "none" | "off_session" | "on_session";
481
+ } & { readonly [x: string]: Schema.Json };
482
+ readonly card?: {
483
+ readonly capture_method?: "manual";
484
+ readonly installments?: { readonly enabled?: boolean } & {
485
+ readonly [x: string]: Schema.Json;
486
+ };
487
+ readonly request_extended_authorization?: "if_available" | "never";
488
+ readonly request_incremental_authorization?: "if_available" | "never";
489
+ readonly request_multicapture?: "if_available" | "never";
490
+ readonly request_overcapture?: "if_available" | "never";
491
+ readonly request_three_d_secure?: "any" | "automatic" | "challenge";
492
+ readonly restrictions?: {
493
+ readonly brands_blocked?: globalThis.ReadonlyArray<
494
+ "american_express" | "discover_global_network" | "mastercard" | "visa"
495
+ >;
496
+ readonly funding_types_blocked?: globalThis.ReadonlyArray<
497
+ "credit" | "debit" | "prepaid"
498
+ >;
499
+ } & { readonly [x: string]: Schema.Json };
500
+ readonly setup_future_usage?: "off_session" | "on_session";
501
+ readonly statement_descriptor_suffix_kana?: string;
502
+ readonly statement_descriptor_suffix_kanji?: string;
503
+ } & { readonly [x: string]: Schema.Json };
504
+ readonly cashapp?: {
505
+ readonly capture_method?: "manual";
506
+ readonly setup_future_usage?: "none" | "off_session" | "on_session";
507
+ } & { readonly [x: string]: Schema.Json };
508
+ readonly crypto?: { readonly setup_future_usage?: "none" } & {
509
+ readonly [x: string]: Schema.Json;
510
+ };
511
+ readonly customer_balance?: {
512
+ readonly bank_transfer?: {
513
+ readonly eu_bank_transfer?: { readonly country: string } & {
514
+ readonly [x: string]: Schema.Json;
515
+ };
516
+ readonly requested_address_types?: globalThis.ReadonlyArray<
517
+ "aba" | "iban" | "sepa" | "sort_code" | "spei" | "swift" | "zengin"
518
+ >;
519
+ readonly type:
520
+ | "eu_bank_transfer"
521
+ | "gb_bank_transfer"
522
+ | "jp_bank_transfer"
523
+ | "mx_bank_transfer"
524
+ | "us_bank_transfer";
525
+ } & { readonly [x: string]: Schema.Json };
526
+ readonly funding_type?: "bank_transfer";
527
+ readonly setup_future_usage?: "none";
528
+ } & { readonly [x: string]: Schema.Json };
529
+ readonly demo_pay?: {
530
+ readonly setup_future_usage?: "none" | "off_session";
531
+ } & { readonly [x: string]: Schema.Json };
532
+ readonly eps?: { readonly setup_future_usage?: "none" } & {
533
+ readonly [x: string]: Schema.Json;
534
+ };
535
+ readonly fpx?: { readonly setup_future_usage?: "none" } & {
536
+ readonly [x: string]: Schema.Json;
537
+ };
538
+ readonly giropay?: { readonly setup_future_usage?: "none" } & {
539
+ readonly [x: string]: Schema.Json;
540
+ };
541
+ readonly grabpay?: { readonly setup_future_usage?: "none" } & {
542
+ readonly [x: string]: Schema.Json;
543
+ };
544
+ readonly ideal?: { readonly setup_future_usage?: "none" } & {
545
+ readonly [x: string]: Schema.Json;
546
+ };
547
+ readonly kakao_pay?: {
548
+ readonly capture_method?: "manual";
549
+ readonly setup_future_usage?: "none" | "off_session";
550
+ } & { readonly [x: string]: Schema.Json };
551
+ readonly klarna?: {
552
+ readonly capture_method?: "manual";
553
+ readonly setup_future_usage?: "none";
554
+ readonly subscriptions?:
555
+ | globalThis.ReadonlyArray<
556
+ {
557
+ readonly interval: "day" | "month" | "week" | "year";
558
+ readonly interval_count?: number;
559
+ readonly name?: string;
560
+ readonly next_billing: {
561
+ readonly amount: number;
562
+ readonly date: string;
563
+ } & { readonly [x: string]: Schema.Json };
564
+ readonly reference: string;
565
+ } & { readonly [x: string]: Schema.Json }
566
+ >
567
+ | "";
568
+ } & { readonly [x: string]: Schema.Json };
569
+ readonly konbini?: {
570
+ readonly expires_after_days?: number;
571
+ readonly setup_future_usage?: "none";
572
+ } & { readonly [x: string]: Schema.Json };
573
+ readonly kr_card?: {
574
+ readonly capture_method?: "manual";
575
+ readonly setup_future_usage?: "none" | "off_session";
576
+ } & { readonly [x: string]: Schema.Json };
577
+ readonly link?: {
578
+ readonly capture_method?: "manual";
579
+ readonly setup_future_usage?: "none" | "off_session";
580
+ } & { readonly [x: string]: Schema.Json };
581
+ readonly mobilepay?: {
582
+ readonly capture_method?: "manual";
583
+ readonly setup_future_usage?: "none";
584
+ } & { readonly [x: string]: Schema.Json };
585
+ readonly multibanco?: { readonly setup_future_usage?: "none" } & {
586
+ readonly [x: string]: Schema.Json;
587
+ };
588
+ readonly naver_pay?: {
589
+ readonly capture_method?: "manual";
590
+ readonly setup_future_usage?: "none" | "off_session";
591
+ } & { readonly [x: string]: Schema.Json };
592
+ readonly oxxo?: {
593
+ readonly expires_after_days?: number;
594
+ readonly setup_future_usage?: "none";
595
+ } & { readonly [x: string]: Schema.Json };
596
+ readonly p24?: {
597
+ readonly setup_future_usage?: "none";
598
+ readonly tos_shown_and_accepted?: boolean;
599
+ } & { readonly [x: string]: Schema.Json };
600
+ readonly pay_by_bank?: { readonly [x: string]: Schema.Json };
601
+ readonly payco?: {
602
+ readonly capture_method?: "manual";
603
+ readonly setup_future_usage?: "none";
604
+ } & { readonly [x: string]: Schema.Json };
605
+ readonly paynow?: { readonly setup_future_usage?: "none" } & {
606
+ readonly [x: string]: Schema.Json;
607
+ };
608
+ readonly paypal?: {
609
+ readonly capture_method?: "" | "manual";
610
+ readonly preferred_locale?:
611
+ | "cs-CZ"
612
+ | "da-DK"
613
+ | "de-AT"
614
+ | "de-DE"
615
+ | "de-LU"
616
+ | "el-GR"
617
+ | "en-GB"
618
+ | "en-US"
619
+ | "es-ES"
620
+ | "fi-FI"
621
+ | "fr-BE"
622
+ | "fr-FR"
623
+ | "fr-LU"
624
+ | "hu-HU"
625
+ | "it-IT"
626
+ | "nl-BE"
627
+ | "nl-NL"
628
+ | "pl-PL"
629
+ | "pt-PT"
630
+ | "sk-SK"
631
+ | "sv-SE";
632
+ readonly reference?: string;
633
+ readonly risk_correlation_id?: string;
634
+ readonly setup_future_usage?: "" | "none" | "off_session";
635
+ } & { readonly [x: string]: Schema.Json };
636
+ readonly payto?: {
637
+ readonly mandate_options?: {
638
+ readonly amount?: number | "";
639
+ readonly amount_type?: "" | "fixed" | "maximum";
640
+ readonly end_date?: string | "";
641
+ readonly payment_schedule?:
642
+ | ""
643
+ | "adhoc"
644
+ | "annual"
645
+ | "daily"
646
+ | "fortnightly"
647
+ | "monthly"
648
+ | "quarterly"
649
+ | "semi_annual"
650
+ | "weekly";
651
+ readonly payments_per_period?: number | "";
652
+ readonly purpose?:
653
+ | ""
654
+ | "dependant_support"
655
+ | "government"
656
+ | "loan"
657
+ | "mortgage"
658
+ | "other"
659
+ | "pension"
660
+ | "personal"
661
+ | "retail"
662
+ | "salary"
663
+ | "tax"
664
+ | "utility";
665
+ readonly start_date?: string | "";
666
+ } & { readonly [x: string]: Schema.Json };
667
+ readonly setup_future_usage?: "none" | "off_session";
668
+ } & { readonly [x: string]: Schema.Json };
669
+ readonly pix?: {
670
+ readonly amount_includes_iof?: "always" | "never";
671
+ readonly expires_after_seconds?: number;
672
+ readonly mandate_options?: {
673
+ readonly amount?: number;
674
+ readonly amount_includes_iof?: "always" | "never";
675
+ readonly amount_type?: "fixed" | "maximum";
676
+ readonly currency?: string;
677
+ readonly end_date?: string;
678
+ readonly payment_schedule?:
679
+ | "halfyearly"
680
+ | "monthly"
681
+ | "quarterly"
682
+ | "weekly"
683
+ | "yearly";
684
+ readonly reference?: string;
685
+ readonly start_date?: string;
686
+ } & { readonly [x: string]: Schema.Json };
687
+ readonly setup_future_usage?: "none" | "off_session";
688
+ } & { readonly [x: string]: Schema.Json };
689
+ readonly revolut_pay?: {
690
+ readonly capture_method?: "manual";
691
+ readonly setup_future_usage?: "none" | "off_session";
692
+ } & { readonly [x: string]: Schema.Json };
693
+ readonly samsung_pay?: {
694
+ readonly capture_method?: "manual";
695
+ readonly setup_future_usage?: "none";
696
+ } & { readonly [x: string]: Schema.Json };
697
+ readonly satispay?: { readonly capture_method?: "manual" } & {
698
+ readonly [x: string]: Schema.Json;
699
+ };
700
+ readonly scalapay?: { readonly capture_method?: "manual" } & {
701
+ readonly [x: string]: Schema.Json;
702
+ };
703
+ readonly sepa_debit?: {
704
+ readonly mandate_options?: { readonly reference_prefix?: string | "" } & {
705
+ readonly [x: string]: Schema.Json;
706
+ };
707
+ readonly setup_future_usage?: "none" | "off_session" | "on_session";
708
+ readonly target_date?: string;
709
+ } & { readonly [x: string]: Schema.Json };
710
+ readonly sequra?: { readonly capture_method?: "manual" } & {
711
+ readonly [x: string]: Schema.Json;
712
+ };
713
+ readonly sofort?: { readonly setup_future_usage?: "none" } & {
714
+ readonly [x: string]: Schema.Json;
715
+ };
716
+ readonly sunbit?: {
717
+ readonly capture_method?: "manual";
718
+ readonly setup_future_usage?: "none";
719
+ } & { readonly [x: string]: Schema.Json };
720
+ readonly swish?: { readonly reference?: string } & {
721
+ readonly [x: string]: Schema.Json;
722
+ };
723
+ readonly twint?: { readonly setup_future_usage?: "none" | "off_session" } & {
724
+ readonly [x: string]: Schema.Json;
725
+ };
726
+ readonly upi?: {
727
+ readonly mandate_options?: {
728
+ readonly amount?: number;
729
+ readonly amount_type?: "fixed" | "maximum";
730
+ readonly description?: string;
731
+ readonly end_date?: number;
732
+ } & { readonly [x: string]: Schema.Json };
733
+ readonly setup_future_usage?: "" | "none" | "off_session" | "on_session";
734
+ } & { readonly [x: string]: Schema.Json };
735
+ readonly us_bank_account?: {
736
+ readonly financial_connections?: {
737
+ readonly permissions?: globalThis.ReadonlyArray<
738
+ "balances" | "ownership" | "payment_method" | "transactions"
739
+ >;
740
+ readonly prefetch?: globalThis.ReadonlyArray<
741
+ "balances" | "ownership" | "transactions"
742
+ >;
743
+ } & { readonly [x: string]: Schema.Json };
744
+ readonly setup_future_usage?: "none" | "off_session" | "on_session";
745
+ readonly target_date?: string;
746
+ readonly verification_method?: "automatic" | "instant";
747
+ } & { readonly [x: string]: Schema.Json };
748
+ readonly wechat_pay?: {
749
+ readonly app_id?: string;
750
+ readonly client: "android" | "ios" | "web";
751
+ readonly setup_future_usage?: "none";
752
+ } & { readonly [x: string]: Schema.Json };
753
+ } & { readonly [x: string]: Schema.Json };
754
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_13 = {
755
+ readonly update_shipping_details?: "client_only" | "server_only";
756
+ } & { readonly [x: string]: Schema.Json };
757
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_14 = {
758
+ readonly enabled: boolean;
759
+ } & { readonly [x: string]: Schema.Json };
760
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_10 =
761
+ | "always"
762
+ | "if_required"
763
+ | "never";
764
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_15 = {
765
+ readonly allow_redisplay_filters?: globalThis.ReadonlyArray<
766
+ "always" | "limited" | "unspecified"
767
+ >;
768
+ readonly payment_method_remove?: "disabled" | "enabled";
769
+ readonly payment_method_save?: "disabled" | "enabled";
770
+ } & { readonly [x: string]: Schema.Json };
771
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_16 = {
772
+ readonly description?: string;
773
+ readonly metadata?: { readonly [x: string]: string };
774
+ readonly on_behalf_of?: string;
775
+ } & { readonly [x: string]: Schema.Json };
776
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_17 = {
777
+ readonly allowed_countries: globalThis.ReadonlyArray<
778
+ | "AC"
779
+ | "AD"
780
+ | "AE"
781
+ | "AF"
782
+ | "AG"
783
+ | "AI"
784
+ | "AL"
785
+ | "AM"
786
+ | "AO"
787
+ | "AQ"
788
+ | "AR"
789
+ | "AT"
790
+ | "AU"
791
+ | "AW"
792
+ | "AX"
793
+ | "AZ"
794
+ | "BA"
795
+ | "BB"
796
+ | "BD"
797
+ | "BE"
798
+ | "BF"
799
+ | "BG"
800
+ | "BH"
801
+ | "BI"
802
+ | "BJ"
803
+ | "BL"
804
+ | "BM"
805
+ | "BN"
806
+ | "BO"
807
+ | "BQ"
808
+ | "BR"
809
+ | "BS"
810
+ | "BT"
811
+ | "BV"
812
+ | "BW"
813
+ | "BY"
814
+ | "BZ"
815
+ | "CA"
816
+ | "CD"
817
+ | "CF"
818
+ | "CG"
819
+ | "CH"
820
+ | "CI"
821
+ | "CK"
822
+ | "CL"
823
+ | "CM"
824
+ | "CN"
825
+ | "CO"
826
+ | "CR"
827
+ | "CV"
828
+ | "CW"
829
+ | "CY"
830
+ | "CZ"
831
+ | "DE"
832
+ | "DJ"
833
+ | "DK"
834
+ | "DM"
835
+ | "DO"
836
+ | "DZ"
837
+ | "EC"
838
+ | "EE"
839
+ | "EG"
840
+ | "EH"
841
+ | "ER"
842
+ | "ES"
843
+ | "ET"
844
+ | "FI"
845
+ | "FJ"
846
+ | "FK"
847
+ | "FO"
848
+ | "FR"
849
+ | "GA"
850
+ | "GB"
851
+ | "GD"
852
+ | "GE"
853
+ | "GF"
854
+ | "GG"
855
+ | "GH"
856
+ | "GI"
857
+ | "GL"
858
+ | "GM"
859
+ | "GN"
860
+ | "GP"
861
+ | "GQ"
862
+ | "GR"
863
+ | "GS"
864
+ | "GT"
865
+ | "GU"
866
+ | "GW"
867
+ | "GY"
868
+ | "HK"
869
+ | "HN"
870
+ | "HR"
871
+ | "HT"
872
+ | "HU"
873
+ | "ID"
874
+ | "IE"
875
+ | "IL"
876
+ | "IM"
877
+ | "IN"
878
+ | "IO"
879
+ | "IQ"
880
+ | "IS"
881
+ | "IT"
882
+ | "JE"
883
+ | "JM"
884
+ | "JO"
885
+ | "JP"
886
+ | "KE"
887
+ | "KG"
888
+ | "KH"
889
+ | "KI"
890
+ | "KM"
891
+ | "KN"
892
+ | "KR"
893
+ | "KW"
894
+ | "KY"
895
+ | "KZ"
896
+ | "LA"
897
+ | "LB"
898
+ | "LC"
899
+ | "LI"
900
+ | "LK"
901
+ | "LR"
902
+ | "LS"
903
+ | "LT"
904
+ | "LU"
905
+ | "LV"
906
+ | "LY"
907
+ | "MA"
908
+ | "MC"
909
+ | "MD"
910
+ | "ME"
911
+ | "MF"
912
+ | "MG"
913
+ | "MK"
914
+ | "ML"
915
+ | "MM"
916
+ | "MN"
917
+ | "MO"
918
+ | "MQ"
919
+ | "MR"
920
+ | "MS"
921
+ | "MT"
922
+ | "MU"
923
+ | "MV"
924
+ | "MW"
925
+ | "MX"
926
+ | "MY"
927
+ | "MZ"
928
+ | "NA"
929
+ | "NC"
930
+ | "NE"
931
+ | "NG"
932
+ | "NI"
933
+ | "NL"
934
+ | "NO"
935
+ | "NP"
936
+ | "NR"
937
+ | "NU"
938
+ | "NZ"
939
+ | "OM"
940
+ | "PA"
941
+ | "PE"
942
+ | "PF"
943
+ | "PG"
944
+ | "PH"
945
+ | "PK"
946
+ | "PL"
947
+ | "PM"
948
+ | "PN"
949
+ | "PR"
950
+ | "PS"
951
+ | "PT"
952
+ | "PY"
953
+ | "QA"
954
+ | "RE"
955
+ | "RO"
956
+ | "RS"
957
+ | "RU"
958
+ | "RW"
959
+ | "SA"
960
+ | "SB"
961
+ | "SC"
962
+ | "SD"
963
+ | "SE"
964
+ | "SG"
965
+ | "SH"
966
+ | "SI"
967
+ | "SJ"
968
+ | "SK"
969
+ | "SL"
970
+ | "SM"
971
+ | "SN"
972
+ | "SO"
973
+ | "SR"
974
+ | "SS"
975
+ | "ST"
976
+ | "SV"
977
+ | "SX"
978
+ | "SZ"
979
+ | "TA"
980
+ | "TC"
981
+ | "TD"
982
+ | "TF"
983
+ | "TG"
984
+ | "TH"
985
+ | "TJ"
986
+ | "TK"
987
+ | "TL"
988
+ | "TM"
989
+ | "TN"
990
+ | "TO"
991
+ | "TR"
992
+ | "TT"
993
+ | "TV"
994
+ | "TW"
995
+ | "TZ"
996
+ | "UA"
997
+ | "UG"
998
+ | "US"
999
+ | "UY"
1000
+ | "UZ"
1001
+ | "VA"
1002
+ | "VC"
1003
+ | "VE"
1004
+ | "VG"
1005
+ | "VN"
1006
+ | "VU"
1007
+ | "WF"
1008
+ | "WS"
1009
+ | "XK"
1010
+ | "YE"
1011
+ | "YT"
1012
+ | "ZA"
1013
+ | "ZM"
1014
+ | "ZW"
1015
+ | "ZZ"
1016
+ >;
1017
+ } & { readonly [x: string]: Schema.Json };
1018
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_18 = {
1019
+ readonly delivery_estimate?: {
1020
+ readonly maximum?: {
1021
+ readonly unit: "business_day" | "day" | "hour" | "month" | "week";
1022
+ readonly value: number;
1023
+ } & { readonly [x: string]: Schema.Json };
1024
+ readonly minimum?: {
1025
+ readonly unit: "business_day" | "day" | "hour" | "month" | "week";
1026
+ readonly value: number;
1027
+ } & { readonly [x: string]: Schema.Json };
1028
+ } & { readonly [x: string]: Schema.Json };
1029
+ readonly display_name: string;
1030
+ readonly fixed_amount?: {
1031
+ readonly amount: number;
1032
+ readonly currency: string;
1033
+ readonly currency_options?: {
1034
+ readonly [x: string]: {
1035
+ readonly amount: number;
1036
+ readonly tax_behavior?: "exclusive" | "inclusive" | "unspecified";
1037
+ } & { readonly [x: string]: Schema.Json };
1038
+ };
1039
+ } & { readonly [x: string]: Schema.Json };
1040
+ readonly metadata?: { readonly [x: string]: string };
1041
+ readonly tax_behavior?: "exclusive" | "inclusive" | "unspecified";
1042
+ readonly tax_code?: string;
1043
+ readonly type?: "fixed_amount";
1044
+ } & { readonly [x: string]: Schema.Json };
1045
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_11 =
1046
+ | "auto"
1047
+ | "book"
1048
+ | "donate"
1049
+ | "pay"
1050
+ | "subscribe";
1051
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_19 = {
1052
+ readonly application_fee_percent?: number;
1053
+ readonly billing_cycle_anchor?: number;
1054
+ readonly billing_cycle_anchor_config?: {
1055
+ readonly day_of_month: number;
1056
+ readonly hour?: number;
1057
+ readonly minute?: number;
1058
+ readonly month?: number;
1059
+ readonly second?: number;
1060
+ } & { readonly [x: string]: Schema.Json };
1061
+ readonly billing_mode?: {
1062
+ readonly flexible?: {
1063
+ readonly proration_discounts?: "included" | "itemized";
1064
+ } & { readonly [x: string]: Schema.Json };
1065
+ readonly type: "classic" | "flexible";
1066
+ } & { readonly [x: string]: Schema.Json };
1067
+ readonly default_tax_rates?: globalThis.ReadonlyArray<string>;
1068
+ readonly description?: string;
1069
+ readonly invoice_settings?: {
1070
+ readonly account_tax_ids?: globalThis.ReadonlyArray<string> | "";
1071
+ readonly custom_fields?:
1072
+ | globalThis.ReadonlyArray<
1073
+ { readonly name: string; readonly value: string } & {
1074
+ readonly [x: string]: Schema.Json;
1075
+ }
1076
+ >
1077
+ | "";
1078
+ readonly description?: string;
1079
+ readonly footer?: string;
1080
+ readonly issuer?: {
1081
+ readonly account?: string;
1082
+ readonly type: "account" | "self";
1083
+ } & { readonly [x: string]: Schema.Json };
1084
+ } & { readonly [x: string]: Schema.Json };
1085
+ readonly metadata?: { readonly [x: string]: string };
1086
+ readonly on_behalf_of?: string;
1087
+ readonly pending_invoice_item_interval?: {
1088
+ readonly interval: "day" | "month" | "week" | "year";
1089
+ readonly interval_count?: number;
1090
+ } & { readonly [x: string]: Schema.Json };
1091
+ readonly proration_behavior?: "create_prorations" | "none";
1092
+ readonly transfer_data?: {
1093
+ readonly amount_percent?: number;
1094
+ readonly destination: string;
1095
+ } & { readonly [x: string]: Schema.Json };
1096
+ readonly trial_end?: number;
1097
+ readonly trial_period_days?: number;
1098
+ readonly trial_settings?: {
1099
+ readonly end_behavior: {
1100
+ readonly missing_payment_method: "cancel" | "create_invoice" | "pause";
1101
+ } & { readonly [x: string]: Schema.Json };
1102
+ } & { readonly [x: string]: Schema.Json };
1103
+ } & { readonly [x: string]: Schema.Json };
1104
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_20 = {
1105
+ readonly enabled: boolean;
1106
+ readonly required?: "if_supported" | "never";
1107
+ } & { readonly [x: string]: Schema.Json };
1108
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_12 =
1109
+ | "elements"
1110
+ | "embedded_page"
1111
+ | "form"
1112
+ | "hosted_page";
1113
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_21 = {
1114
+ readonly link?: { readonly display?: "auto" | "never" } & {
1115
+ readonly [x: string]: Schema.Json;
1116
+ };
1117
+ } & { readonly [x: string]: Schema.Json };
1118
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_13 =
1119
+ ResourceEntity<{
1120
+ readonly provider: "stripe";
1121
+ readonly service: "billing";
1122
+ readonly resource: "v1-account";
1123
+ }>;
1124
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_22 = {
1125
+ readonly account?: StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_13;
1126
+ readonly type: StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives;
1127
+ } & {
1128
+ readonly [x: string]:
1129
+ | ResourceInputJson
1130
+ | StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_13;
1131
+ };
1132
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_14 =
1133
+ ResourceEntity<{
1134
+ readonly provider: "stripe";
1135
+ readonly service: "billing";
1136
+ readonly resource: "coupon";
1137
+ }>;
1138
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_15 =
1139
+ ResourceEntity<{
1140
+ readonly provider: "stripe";
1141
+ readonly service: "billing";
1142
+ readonly resource: "promotion-code";
1143
+ }>;
1144
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_16 =
1145
+ | globalThis.ReadonlyArray<
1146
+ ResourceEntity<{
1147
+ readonly provider: "stripe";
1148
+ readonly service: "billing";
1149
+ readonly resource: "tax-id";
1150
+ }>
1151
+ >
1152
+ | "";
1153
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_17 =
1154
+ ResourceEntity<{
1155
+ readonly provider: "stripe";
1156
+ readonly service: "billing";
1157
+ readonly resource: "v1-account";
1158
+ }>;
1159
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_24 = {
1160
+ readonly account?: StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_17;
1161
+ readonly type: StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_4;
1162
+ } & {
1163
+ readonly [x: string]:
1164
+ | ResourceInputJson
1165
+ | StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_17;
1166
+ };
1167
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputProperties_23 = {
1168
+ readonly account_tax_ids?: StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_16;
1169
+ readonly custom_fields?: StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_3;
1170
+ readonly description?: string;
1171
+ readonly footer?: string;
1172
+ readonly issuer?: StripeCheckoutSessionPropsSchemaInputResourceInputProperties_24;
1173
+ readonly metadata?: StripeCheckoutSessionPropsSchemaInputResourceInputProperties_6;
1174
+ readonly rendering_options?: StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_5;
1175
+ } & {
1176
+ readonly [x: string]:
1177
+ | ResourceInputJson
1178
+ | StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_16
1179
+ | StripeCheckoutSessionPropsSchemaInputResourceInputProperties_24;
1180
+ };
1181
+ export type StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_18 =
1182
+ ResourceEntity<{
1183
+ readonly provider: "stripe";
1184
+ readonly service: "billing";
1185
+ readonly resource: "shipping-rate";
1186
+ }>;
1187
+
1188
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties =
1189
+ Schema.StructWithRest(
1190
+ Schema.Struct({ enabled: Schema.optionalKey(Schema.Boolean) }),
1191
+ [
1192
+ Schema.Record(
1193
+ Schema.String,
1194
+ Schema.Json.annotate({ expected: "JSON value" }),
1195
+ ),
1196
+ ],
1197
+ ).annotate({
1198
+ title: "adaptive_pricing_params",
1199
+ description:
1200
+ "Settings for price localization with [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing).",
1201
+ });
1202
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_1 =
1203
+ Schema.StructWithRest(
1204
+ Schema.Struct({
1205
+ recovery: Schema.optionalKey(
1206
+ Schema.StructWithRest(
1207
+ Schema.Struct({
1208
+ allow_promotion_codes: Schema.optionalKey(Schema.Boolean),
1209
+ enabled: Schema.Boolean,
1210
+ }),
1211
+ [
1212
+ Schema.Record(
1213
+ Schema.String,
1214
+ Schema.Json.annotate({ expected: "JSON value" }),
1215
+ ),
1216
+ ],
1217
+ ).annotate({ title: "recovery_params" }),
1218
+ ),
1219
+ }),
1220
+ [
1221
+ Schema.Record(
1222
+ Schema.String,
1223
+ Schema.Json.annotate({ expected: "JSON value" }),
1224
+ ),
1225
+ ],
1226
+ ).annotate({
1227
+ title: "after_expiration_params",
1228
+ description:
1229
+ "Configure actions after a Checkout Session has expired. You can't set this parameter if `ui_mode` is `elements`.",
1230
+ });
1231
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputItems =
1232
+ Schema.Array(
1233
+ Schema.Literals([
1234
+ "acss_debit",
1235
+ "affirm",
1236
+ "afterpay_clearpay",
1237
+ "alipay",
1238
+ "alma",
1239
+ "amazon_pay",
1240
+ "au_becs_debit",
1241
+ "bacs_debit",
1242
+ "bancontact",
1243
+ "billie",
1244
+ "bizum",
1245
+ "blik",
1246
+ "boleto",
1247
+ "card",
1248
+ "cashapp",
1249
+ "crypto",
1250
+ "customer_balance",
1251
+ "eps",
1252
+ "fpx",
1253
+ "giropay",
1254
+ "grabpay",
1255
+ "ideal",
1256
+ "kakao_pay",
1257
+ "klarna",
1258
+ "konbini",
1259
+ "kr_card",
1260
+ "link",
1261
+ "mb_way",
1262
+ "mobilepay",
1263
+ "multibanco",
1264
+ "naver_pay",
1265
+ "nz_bank_account",
1266
+ "oxxo",
1267
+ "p24",
1268
+ "pay_by_bank",
1269
+ "payco",
1270
+ "paynow",
1271
+ "paypal",
1272
+ "paypay",
1273
+ "payto",
1274
+ "pix",
1275
+ "promptpay",
1276
+ "revolut_pay",
1277
+ "samsung_pay",
1278
+ "satispay",
1279
+ "scalapay",
1280
+ "sepa_debit",
1281
+ "sequra",
1282
+ "sofort",
1283
+ "sunbit",
1284
+ "swish",
1285
+ "twint",
1286
+ "upi",
1287
+ "us_bank_account",
1288
+ "wechat_pay",
1289
+ "zip",
1290
+ ]),
1291
+ ).annotate({
1292
+ description:
1293
+ "A list of the types of payment methods (e.g., `card`) this Checkout Session can accept.\n\nUnlike `payment_method_types`, this acts as a filter on the dynamically computed set of\neligible payment methods rather than an explicit static list. Only payment methods that\nare both dynamically eligible and present in this list will be offered to the customer.",
1294
+ });
1295
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives =
1296
+ Schema.Literals(["account", "self"]);
1297
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_1 =
1298
+ Schema.Literals(["auto", "required"]).annotate({
1299
+ description:
1300
+ "Specify whether Checkout should collect the customer's billing address. Defaults to `auto`.",
1301
+ });
1302
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_2 =
1303
+ Schema.StructWithRest(
1304
+ Schema.Struct({
1305
+ background_color: Schema.optionalKey(
1306
+ Schema.Union([
1307
+ Schema.String.check(
1308
+ Schema.isMaxCodePoints(5000).annotate({
1309
+ expected: "a string with at most 5000 code points",
1310
+ }),
1311
+ ),
1312
+ Schema.Literal(""),
1313
+ ]),
1314
+ ),
1315
+ border_style: Schema.optionalKey(
1316
+ Schema.Literals(["", "pill", "rectangular", "rounded"]),
1317
+ ),
1318
+ button_color: Schema.optionalKey(
1319
+ Schema.Union([
1320
+ Schema.String.check(
1321
+ Schema.isMaxCodePoints(5000).annotate({
1322
+ expected: "a string with at most 5000 code points",
1323
+ }),
1324
+ ),
1325
+ Schema.Literal(""),
1326
+ ]),
1327
+ ),
1328
+ display_name: Schema.optionalKey(
1329
+ Schema.String.check(
1330
+ Schema.isMaxCodePoints(5000).annotate({
1331
+ expected: "a string with at most 5000 code points",
1332
+ }),
1333
+ ),
1334
+ ),
1335
+ font_family: Schema.optionalKey(
1336
+ Schema.Literals([
1337
+ "",
1338
+ "be_vietnam_pro",
1339
+ "bitter",
1340
+ "chakra_petch",
1341
+ "default",
1342
+ "hahmlet",
1343
+ "inconsolata",
1344
+ "inter",
1345
+ "lato",
1346
+ "lora",
1347
+ "m_plus_1_code",
1348
+ "montserrat",
1349
+ "noto_sans",
1350
+ "noto_sans_jp",
1351
+ "noto_serif",
1352
+ "nunito",
1353
+ "open_sans",
1354
+ "pridi",
1355
+ "pt_sans",
1356
+ "pt_serif",
1357
+ "raleway",
1358
+ "roboto",
1359
+ "roboto_slab",
1360
+ "source_sans_pro",
1361
+ "titillium_web",
1362
+ "ubuntu_mono",
1363
+ "zen_maru_gothic",
1364
+ ]),
1365
+ ),
1366
+ icon: Schema.optionalKey(
1367
+ Schema.StructWithRest(
1368
+ Schema.Struct({
1369
+ file: Schema.optionalKey(Schema.String),
1370
+ type: Schema.Literals(["file", "url"]),
1371
+ url: Schema.optionalKey(Schema.String),
1372
+ }),
1373
+ [
1374
+ Schema.Record(
1375
+ Schema.String,
1376
+ Schema.Json.annotate({ expected: "JSON value" }),
1377
+ ),
1378
+ ],
1379
+ ).annotate({ title: "icon_params" }),
1380
+ ),
1381
+ logo: Schema.optionalKey(
1382
+ Schema.StructWithRest(
1383
+ Schema.Struct({
1384
+ file: Schema.optionalKey(Schema.String),
1385
+ type: Schema.Literals(["file", "url"]),
1386
+ url: Schema.optionalKey(Schema.String),
1387
+ }),
1388
+ [
1389
+ Schema.Record(
1390
+ Schema.String,
1391
+ Schema.Json.annotate({ expected: "JSON value" }),
1392
+ ),
1393
+ ],
1394
+ ).annotate({ title: "logo_params" }),
1395
+ ),
1396
+ }),
1397
+ [
1398
+ Schema.Record(
1399
+ Schema.String,
1400
+ Schema.Json.annotate({ expected: "JSON value" }),
1401
+ ),
1402
+ ],
1403
+ ).annotate({
1404
+ title: "branding_settings_params",
1405
+ description:
1406
+ "The branding settings for the Checkout Session. This parameter is not allowed if ui_mode is `elements`.",
1407
+ });
1408
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_3 =
1409
+ Schema.StructWithRest(
1410
+ Schema.Struct({
1411
+ payment_method_reuse_agreement: Schema.optionalKey(
1412
+ Schema.StructWithRest(
1413
+ Schema.Struct({ position: Schema.Literals(["auto", "hidden"]) }),
1414
+ [
1415
+ Schema.Record(
1416
+ Schema.String,
1417
+ Schema.Json.annotate({ expected: "JSON value" }),
1418
+ ),
1419
+ ],
1420
+ ).annotate({ title: "payment_method_reuse_agreement_params" }),
1421
+ ),
1422
+ promotions: Schema.optionalKey(Schema.Literals(["auto", "none"])),
1423
+ terms_of_service: Schema.optionalKey(
1424
+ Schema.Literals(["none", "required"]),
1425
+ ),
1426
+ }),
1427
+ [
1428
+ Schema.Record(
1429
+ Schema.String,
1430
+ Schema.Json.annotate({ expected: "JSON value" }),
1431
+ ),
1432
+ ],
1433
+ ).annotate({
1434
+ title: "consent_collection_params",
1435
+ description:
1436
+ "Configure fields for the Checkout Session to gather active consent from customers.",
1437
+ });
1438
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputItems_1 =
1439
+ Schema.Array(
1440
+ Schema.StructWithRest(
1441
+ Schema.Struct({
1442
+ dropdown: Schema.optionalKey(
1443
+ Schema.StructWithRest(
1444
+ Schema.Struct({
1445
+ default_value: Schema.optionalKey(
1446
+ Schema.String.check(
1447
+ Schema.isMaxCodePoints(100).annotate({
1448
+ expected: "a string with at most 100 code points",
1449
+ }),
1450
+ ),
1451
+ ),
1452
+ options: Schema.Array(
1453
+ Schema.StructWithRest(
1454
+ Schema.Struct({
1455
+ label: Schema.String.check(
1456
+ Schema.isMaxCodePoints(100).annotate({
1457
+ expected: "a string with at most 100 code points",
1458
+ }),
1459
+ ),
1460
+ value: Schema.String.check(
1461
+ Schema.isMaxCodePoints(100).annotate({
1462
+ expected: "a string with at most 100 code points",
1463
+ }),
1464
+ ),
1465
+ }),
1466
+ [
1467
+ Schema.Record(
1468
+ Schema.String,
1469
+ Schema.Json.annotate({ expected: "JSON value" }),
1470
+ ),
1471
+ ],
1472
+ ).annotate({ title: "custom_field_option_param" }),
1473
+ ),
1474
+ }),
1475
+ [
1476
+ Schema.Record(
1477
+ Schema.String,
1478
+ Schema.Json.annotate({ expected: "JSON value" }),
1479
+ ),
1480
+ ],
1481
+ ).annotate({ title: "custom_field_dropdown_param" }),
1482
+ ),
1483
+ key: Schema.String.check(
1484
+ Schema.isMaxCodePoints(200).annotate({
1485
+ expected: "a string with at most 200 code points",
1486
+ }),
1487
+ ),
1488
+ label: Schema.StructWithRest(
1489
+ Schema.Struct({
1490
+ custom: Schema.String.check(
1491
+ Schema.isMaxCodePoints(100).annotate({
1492
+ expected: "a string with at most 100 code points",
1493
+ }),
1494
+ ),
1495
+ type: Schema.Literal("custom"),
1496
+ }),
1497
+ [
1498
+ Schema.Record(
1499
+ Schema.String,
1500
+ Schema.Json.annotate({ expected: "JSON value" }),
1501
+ ),
1502
+ ],
1503
+ ).annotate({ title: "custom_field_label_param" }),
1504
+ numeric: Schema.optionalKey(
1505
+ Schema.StructWithRest(
1506
+ Schema.Struct({
1507
+ default_value: Schema.optionalKey(
1508
+ Schema.String.check(
1509
+ Schema.isMaxCodePoints(255).annotate({
1510
+ expected: "a string with at most 255 code points",
1511
+ }),
1512
+ ),
1513
+ ),
1514
+ maximum_length: Schema.optionalKey(Schema.Int),
1515
+ minimum_length: Schema.optionalKey(Schema.Int),
1516
+ }),
1517
+ [
1518
+ Schema.Record(
1519
+ Schema.String,
1520
+ Schema.Json.annotate({ expected: "JSON value" }),
1521
+ ),
1522
+ ],
1523
+ ).annotate({ title: "custom_field_numeric_param" }),
1524
+ ),
1525
+ optional: Schema.optionalKey(Schema.Boolean),
1526
+ text: Schema.optionalKey(
1527
+ Schema.StructWithRest(
1528
+ Schema.Struct({
1529
+ default_value: Schema.optionalKey(
1530
+ Schema.String.check(
1531
+ Schema.isMaxCodePoints(255).annotate({
1532
+ expected: "a string with at most 255 code points",
1533
+ }),
1534
+ ),
1535
+ ),
1536
+ maximum_length: Schema.optionalKey(Schema.Int),
1537
+ minimum_length: Schema.optionalKey(Schema.Int),
1538
+ }),
1539
+ [
1540
+ Schema.Record(
1541
+ Schema.String,
1542
+ Schema.Json.annotate({ expected: "JSON value" }),
1543
+ ),
1544
+ ],
1545
+ ).annotate({ title: "custom_field_text_param" }),
1546
+ ),
1547
+ type: Schema.Literals(["dropdown", "numeric", "text"]),
1548
+ }),
1549
+ [
1550
+ Schema.Record(
1551
+ Schema.String,
1552
+ Schema.Json.annotate({ expected: "JSON value" }),
1553
+ ),
1554
+ ],
1555
+ ).annotate({ title: "custom_field_param" }),
1556
+ ).annotate({
1557
+ description:
1558
+ "Collect additional information from your customer using custom fields. Up to 3 fields are supported. You can't set this parameter if `ui_mode` is `elements`.",
1559
+ });
1560
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_4 =
1561
+ Schema.StructWithRest(
1562
+ Schema.Struct({
1563
+ after_submit: Schema.optionalKey(
1564
+ Schema.Union([
1565
+ Schema.StructWithRest(
1566
+ Schema.Struct({
1567
+ message: Schema.String.check(
1568
+ Schema.isMaxCodePoints(1200).annotate({
1569
+ expected: "a string with at most 1200 code points",
1570
+ }),
1571
+ ),
1572
+ }),
1573
+ [
1574
+ Schema.Record(
1575
+ Schema.String,
1576
+ Schema.Json.annotate({ expected: "JSON value" }),
1577
+ ),
1578
+ ],
1579
+ ).annotate({ title: "custom_text_position_param" }),
1580
+ Schema.Literal(""),
1581
+ ]),
1582
+ ),
1583
+ shipping_address: Schema.optionalKey(
1584
+ Schema.Union([
1585
+ Schema.StructWithRest(
1586
+ Schema.Struct({
1587
+ message: Schema.String.check(
1588
+ Schema.isMaxCodePoints(1200).annotate({
1589
+ expected: "a string with at most 1200 code points",
1590
+ }),
1591
+ ),
1592
+ }),
1593
+ [
1594
+ Schema.Record(
1595
+ Schema.String,
1596
+ Schema.Json.annotate({ expected: "JSON value" }),
1597
+ ),
1598
+ ],
1599
+ ).annotate({ title: "custom_text_position_param" }),
1600
+ Schema.Literal(""),
1601
+ ]),
1602
+ ),
1603
+ submit: Schema.optionalKey(
1604
+ Schema.Union([
1605
+ Schema.StructWithRest(
1606
+ Schema.Struct({
1607
+ message: Schema.String.check(
1608
+ Schema.isMaxCodePoints(1200).annotate({
1609
+ expected: "a string with at most 1200 code points",
1610
+ }),
1611
+ ),
1612
+ }),
1613
+ [
1614
+ Schema.Record(
1615
+ Schema.String,
1616
+ Schema.Json.annotate({ expected: "JSON value" }),
1617
+ ),
1618
+ ],
1619
+ ).annotate({ title: "custom_text_position_param" }),
1620
+ Schema.Literal(""),
1621
+ ]),
1622
+ ),
1623
+ terms_of_service_acceptance: Schema.optionalKey(
1624
+ Schema.Union([
1625
+ Schema.StructWithRest(
1626
+ Schema.Struct({
1627
+ message: Schema.String.check(
1628
+ Schema.isMaxCodePoints(1200).annotate({
1629
+ expected: "a string with at most 1200 code points",
1630
+ }),
1631
+ ),
1632
+ }),
1633
+ [
1634
+ Schema.Record(
1635
+ Schema.String,
1636
+ Schema.Json.annotate({ expected: "JSON value" }),
1637
+ ),
1638
+ ],
1639
+ ).annotate({ title: "custom_text_position_param" }),
1640
+ Schema.Literal(""),
1641
+ ]),
1642
+ ),
1643
+ }),
1644
+ [
1645
+ Schema.Record(
1646
+ Schema.String,
1647
+ Schema.Json.annotate({ expected: "JSON value" }),
1648
+ ),
1649
+ ],
1650
+ ).annotate({
1651
+ title: "custom_text_param",
1652
+ description:
1653
+ "Display additional text for your customers using custom text. You can't set this parameter if `ui_mode` is `elements`.",
1654
+ });
1655
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_2 =
1656
+ Schema.Literals(["always", "if_required"]).annotate({
1657
+ description:
1658
+ "Configure whether a Checkout Session creates a [Customer](https://docs.stripe.com/api/customers) during Session confirmation.\n\nWhen a Customer is not created, you can still retrieve email, address, and other customer data entered in Checkout\nwith [customer_details](https://docs.stripe.com/api/checkout/sessions/object#checkout_session_object-customer_details).\n\nSessions that don't create Customers instead are grouped by [guest customers](https://docs.stripe.com/payments/checkout/guest-customers)\nin the Dashboard. Promotion codes limited to first time customers will return invalid for these Sessions.\n\nCan only be set in `payment` and `setup` mode.",
1659
+ });
1660
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_5 =
1661
+ Schema.StructWithRest(
1662
+ Schema.Struct({
1663
+ address: Schema.optionalKey(Schema.Literals(["auto", "never"])),
1664
+ name: Schema.optionalKey(Schema.Literals(["auto", "never"])),
1665
+ shipping: Schema.optionalKey(Schema.Literals(["auto", "never"])),
1666
+ }),
1667
+ [
1668
+ Schema.Record(
1669
+ Schema.String,
1670
+ Schema.Json.annotate({ expected: "JSON value" }),
1671
+ ),
1672
+ ],
1673
+ ).annotate({
1674
+ title: "customer_update_params",
1675
+ description:
1676
+ "Controls what fields on Customer can be updated by the Checkout Session. Can only be provided when `customer` is provided.",
1677
+ });
1678
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputItems_2 =
1679
+ Schema.Array(
1680
+ Schema.Literals([
1681
+ "acss_debit",
1682
+ "affirm",
1683
+ "afterpay_clearpay",
1684
+ "alipay",
1685
+ "alma",
1686
+ "amazon_pay",
1687
+ "au_becs_debit",
1688
+ "bacs_debit",
1689
+ "bancontact",
1690
+ "billie",
1691
+ "bizum",
1692
+ "blik",
1693
+ "boleto",
1694
+ "card",
1695
+ "cashapp",
1696
+ "crypto",
1697
+ "customer_balance",
1698
+ "eps",
1699
+ "fpx",
1700
+ "giropay",
1701
+ "grabpay",
1702
+ "ideal",
1703
+ "kakao_pay",
1704
+ "klarna",
1705
+ "konbini",
1706
+ "kr_card",
1707
+ "mb_way",
1708
+ "mobilepay",
1709
+ "multibanco",
1710
+ "naver_pay",
1711
+ "nz_bank_account",
1712
+ "oxxo",
1713
+ "p24",
1714
+ "pay_by_bank",
1715
+ "payco",
1716
+ "paynow",
1717
+ "paypal",
1718
+ "paypay",
1719
+ "payto",
1720
+ "pix",
1721
+ "promptpay",
1722
+ "revolut_pay",
1723
+ "samsung_pay",
1724
+ "satispay",
1725
+ "scalapay",
1726
+ "sepa_debit",
1727
+ "sequra",
1728
+ "sofort",
1729
+ "sunbit",
1730
+ "swish",
1731
+ "twint",
1732
+ "upi",
1733
+ "us_bank_account",
1734
+ "wechat_pay",
1735
+ "zip",
1736
+ ]),
1737
+ ).annotate({
1738
+ description:
1739
+ "A list of the types of payment methods (e.g., `card`) that should be excluded from this Checkout Session. This should only be used when payment methods for this Checkout Session are managed through the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).",
1740
+ });
1741
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputItems_3 =
1742
+ Schema.Array(
1743
+ Schema.String.check(
1744
+ Schema.isMaxCodePoints(5000).annotate({
1745
+ expected: "a string with at most 5000 code points",
1746
+ }),
1747
+ ),
1748
+ ).annotate({
1749
+ description: "Specifies which fields in the response should be expanded.",
1750
+ });
1751
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_3 =
1752
+ Schema.Union([
1753
+ Schema.Array(
1754
+ Schema.StructWithRest(
1755
+ Schema.Struct({
1756
+ name: Schema.String.check(
1757
+ Schema.isMaxCodePoints(40).annotate({
1758
+ expected: "a string with at most 40 code points",
1759
+ }),
1760
+ ),
1761
+ value: Schema.String.check(
1762
+ Schema.isMaxCodePoints(140).annotate({
1763
+ expected: "a string with at most 140 code points",
1764
+ }),
1765
+ ),
1766
+ }),
1767
+ [
1768
+ Schema.Record(
1769
+ Schema.String,
1770
+ Schema.Json.annotate({ expected: "JSON value" }),
1771
+ ),
1772
+ ],
1773
+ ).annotate({ title: "custom_field_params" }),
1774
+ ),
1775
+ Schema.Literal(""),
1776
+ ]);
1777
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_4 =
1778
+ Schema.Literals(["account", "self"]);
1779
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_6 =
1780
+ Schema.Record(Schema.String, Schema.String);
1781
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_5 =
1782
+ Schema.Union([
1783
+ Schema.StructWithRest(
1784
+ Schema.Struct({
1785
+ amount_tax_display: Schema.optionalKey(
1786
+ Schema.Literals(["", "exclude_tax", "include_inclusive_tax"]),
1787
+ ),
1788
+ template: Schema.optionalKey(
1789
+ Schema.String.check(
1790
+ Schema.isMaxCodePoints(5000).annotate({
1791
+ expected: "a string with at most 5000 code points",
1792
+ }),
1793
+ ),
1794
+ ),
1795
+ }),
1796
+ [
1797
+ Schema.Record(
1798
+ Schema.String,
1799
+ Schema.Json.annotate({ expected: "JSON value" }),
1800
+ ),
1801
+ ],
1802
+ ).annotate({ title: "checkout_rendering_options_param" }),
1803
+ Schema.Literal(""),
1804
+ ]);
1805
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputItems_4 =
1806
+ Schema.Array(
1807
+ Schema.StructWithRest(
1808
+ Schema.Struct({
1809
+ adjustable_quantity: Schema.optionalKey(
1810
+ Schema.StructWithRest(
1811
+ Schema.Struct({
1812
+ enabled: Schema.Boolean,
1813
+ maximum: Schema.optionalKey(Schema.Int),
1814
+ minimum: Schema.optionalKey(Schema.Int),
1815
+ }),
1816
+ [
1817
+ Schema.Record(
1818
+ Schema.String,
1819
+ Schema.Json.annotate({ expected: "JSON value" }),
1820
+ ),
1821
+ ],
1822
+ ).annotate({ title: "adjustable_quantity_params" }),
1823
+ ),
1824
+ metadata: Schema.optionalKey(
1825
+ Schema.Record(Schema.String, Schema.String),
1826
+ ),
1827
+ price: Schema.optionalKey(
1828
+ Schema.String.check(
1829
+ Schema.isMaxCodePoints(5000).annotate({
1830
+ expected: "a string with at most 5000 code points",
1831
+ }),
1832
+ ),
1833
+ ),
1834
+ price_data: Schema.optionalKey(
1835
+ Schema.StructWithRest(
1836
+ Schema.Struct({
1837
+ currency: Schema.String.annotate({ format: "currency" }),
1838
+ product: Schema.optionalKey(
1839
+ Schema.String.check(
1840
+ Schema.isMaxCodePoints(5000).annotate({
1841
+ expected: "a string with at most 5000 code points",
1842
+ }),
1843
+ ),
1844
+ ),
1845
+ product_data: Schema.optionalKey(
1846
+ Schema.StructWithRest(
1847
+ Schema.Struct({
1848
+ description: Schema.optionalKey(
1849
+ Schema.String.check(
1850
+ Schema.isMaxCodePoints(40000).annotate({
1851
+ expected: "a string with at most 40000 code points",
1852
+ }),
1853
+ ),
1854
+ ),
1855
+ images: Schema.optionalKey(Schema.Array(Schema.String)),
1856
+ metadata: Schema.optionalKey(
1857
+ Schema.Record(Schema.String, Schema.String),
1858
+ ),
1859
+ name: Schema.String.check(
1860
+ Schema.isMaxCodePoints(5000).annotate({
1861
+ expected: "a string with at most 5000 code points",
1862
+ }),
1863
+ ),
1864
+ tax_code: Schema.optionalKey(
1865
+ Schema.String.check(
1866
+ Schema.isMaxCodePoints(5000).annotate({
1867
+ expected: "a string with at most 5000 code points",
1868
+ }),
1869
+ ),
1870
+ ),
1871
+ tax_details: Schema.optionalKey(
1872
+ Schema.StructWithRest(
1873
+ Schema.Struct({
1874
+ performance_location: Schema.optionalKey(
1875
+ Schema.String.check(
1876
+ Schema.isMaxCodePoints(5000).annotate({
1877
+ expected:
1878
+ "a string with at most 5000 code points",
1879
+ }),
1880
+ ),
1881
+ ),
1882
+ tax_code: Schema.optionalKey(
1883
+ Schema.Union([Schema.String, Schema.Literal("")]),
1884
+ ),
1885
+ }),
1886
+ [
1887
+ Schema.Record(
1888
+ Schema.String,
1889
+ Schema.Json.annotate({ expected: "JSON value" }),
1890
+ ),
1891
+ ],
1892
+ ).annotate({ title: "tax_details" }),
1893
+ ),
1894
+ unit_label: Schema.optionalKey(
1895
+ Schema.String.check(
1896
+ Schema.isMaxCodePoints(12).annotate({
1897
+ expected: "a string with at most 12 code points",
1898
+ }),
1899
+ ),
1900
+ ),
1901
+ }),
1902
+ [
1903
+ Schema.Record(
1904
+ Schema.String,
1905
+ Schema.Json.annotate({ expected: "JSON value" }),
1906
+ ),
1907
+ ],
1908
+ ).annotate({ title: "product_data" }),
1909
+ ),
1910
+ recurring: Schema.optionalKey(
1911
+ Schema.StructWithRest(
1912
+ Schema.Struct({
1913
+ interval: Schema.Literals(["day", "month", "week", "year"]),
1914
+ interval_count: Schema.optionalKey(Schema.Int),
1915
+ }),
1916
+ [
1917
+ Schema.Record(
1918
+ Schema.String,
1919
+ Schema.Json.annotate({ expected: "JSON value" }),
1920
+ ),
1921
+ ],
1922
+ ).annotate({ title: "recurring_adhoc" }),
1923
+ ),
1924
+ tax_behavior: Schema.optionalKey(
1925
+ Schema.Literals(["exclusive", "inclusive", "unspecified"]),
1926
+ ),
1927
+ unit_amount: Schema.optionalKey(Schema.Int),
1928
+ unit_amount_decimal: Schema.optionalKey(
1929
+ Schema.String.annotate({ format: "decimal" }),
1930
+ ),
1931
+ }),
1932
+ [
1933
+ Schema.Record(
1934
+ Schema.String,
1935
+ Schema.Json.annotate({ expected: "JSON value" }),
1936
+ ),
1937
+ ],
1938
+ ).annotate({ title: "price_data_with_product_data" }),
1939
+ ),
1940
+ quantity: Schema.optionalKey(Schema.Int),
1941
+ tax_rates: Schema.optionalKey(
1942
+ Schema.Array(
1943
+ Schema.String.check(
1944
+ Schema.isMaxCodePoints(5000).annotate({
1945
+ expected: "a string with at most 5000 code points",
1946
+ }),
1947
+ ),
1948
+ ),
1949
+ ),
1950
+ }),
1951
+ [
1952
+ Schema.Record(
1953
+ Schema.String,
1954
+ Schema.Json.annotate({ expected: "JSON value" }),
1955
+ ),
1956
+ ],
1957
+ ).annotate({ title: "line_item_params" }),
1958
+ ).annotate({
1959
+ description:
1960
+ "A list of items the customer is purchasing. Use this parameter to pass one-time or recurring [Prices](https://docs.stripe.com/api/prices). The parameter is required for `payment` and `subscription` mode.\n\nFor `payment` mode, there is a maximum of 100 line items, however it is recommended to consolidate line items if there are more than a few dozen.\n\nFor `subscription` mode, there is a maximum of 20 line items with recurring Prices and 20 line items with one-time Prices. Line items with one-time Prices will be on the initial invoice only.",
1961
+ });
1962
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_6 =
1963
+ Schema.Literals([
1964
+ "auto",
1965
+ "bg",
1966
+ "cs",
1967
+ "da",
1968
+ "de",
1969
+ "el",
1970
+ "en",
1971
+ "en-GB",
1972
+ "es",
1973
+ "es-419",
1974
+ "et",
1975
+ "fi",
1976
+ "fil",
1977
+ "fr",
1978
+ "fr-CA",
1979
+ "hi-IN",
1980
+ "hr",
1981
+ "hu",
1982
+ "id",
1983
+ "it",
1984
+ "ja",
1985
+ "ko",
1986
+ "lt",
1987
+ "lv",
1988
+ "ms",
1989
+ "mt",
1990
+ "nb",
1991
+ "nl",
1992
+ "pl",
1993
+ "pt",
1994
+ "pt-BR",
1995
+ "ro",
1996
+ "ru",
1997
+ "sk",
1998
+ "sl",
1999
+ "sv",
2000
+ "th",
2001
+ "tr",
2002
+ "vi",
2003
+ "zh",
2004
+ "zh-HK",
2005
+ "zh-TW",
2006
+ ]).annotate({
2007
+ description:
2008
+ "The IETF language tag of the locale Checkout is displayed in. If blank or `auto`, the browser's locale is used.",
2009
+ });
2010
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_7 =
2011
+ Schema.StructWithRest(
2012
+ Schema.Struct({ enabled: Schema.optionalKey(Schema.Boolean) }),
2013
+ [
2014
+ Schema.Record(
2015
+ Schema.String,
2016
+ Schema.Json.annotate({ expected: "JSON value" }),
2017
+ ),
2018
+ ],
2019
+ ).annotate({
2020
+ title: "managed_payments_params",
2021
+ description:
2022
+ "Settings for Managed Payments for this Checkout Session and resulting [PaymentIntents](/api/payment_intents/object), [Invoices](/api/invoices/object), and [Subscriptions](/api/subscriptions/object).",
2023
+ });
2024
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_8 =
2025
+ Schema.Record(Schema.String, Schema.String).annotate({
2026
+ description:
2027
+ "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`.",
2028
+ });
2029
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_7 =
2030
+ Schema.Literals(["payment", "setup", "subscription"]).annotate({
2031
+ description:
2032
+ "The mode of the Checkout Session. Pass `subscription` if the Checkout Session includes at least one recurring item.",
2033
+ });
2034
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_9 =
2035
+ Schema.StructWithRest(
2036
+ Schema.Struct({
2037
+ business: Schema.optionalKey(
2038
+ Schema.StructWithRest(
2039
+ Schema.Struct({
2040
+ enabled: Schema.Boolean,
2041
+ optional: Schema.optionalKey(Schema.Boolean),
2042
+ }),
2043
+ [
2044
+ Schema.Record(
2045
+ Schema.String,
2046
+ Schema.Json.annotate({ expected: "JSON value" }),
2047
+ ),
2048
+ ],
2049
+ ).annotate({ title: "name_collection_business_params" }),
2050
+ ),
2051
+ individual: Schema.optionalKey(
2052
+ Schema.StructWithRest(
2053
+ Schema.Struct({
2054
+ enabled: Schema.Boolean,
2055
+ optional: Schema.optionalKey(Schema.Boolean),
2056
+ }),
2057
+ [
2058
+ Schema.Record(
2059
+ Schema.String,
2060
+ Schema.Json.annotate({ expected: "JSON value" }),
2061
+ ),
2062
+ ],
2063
+ ).annotate({ title: "name_collection_individual_params" }),
2064
+ ),
2065
+ }),
2066
+ [
2067
+ Schema.Record(
2068
+ Schema.String,
2069
+ Schema.Json.annotate({ expected: "JSON value" }),
2070
+ ),
2071
+ ],
2072
+ ).annotate({
2073
+ title: "name_collection_params",
2074
+ description:
2075
+ "Controls name collection settings for the session.\n\nYou can configure Checkout to collect your customers' business names, individual names, or both. Each name field can be either required or optional.\n\nIf a [Customer](https://docs.stripe.com/api/customers) is created or provided, the names can be saved to the Customer object as well.",
2076
+ });
2077
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputItems_5 =
2078
+ Schema.Array(
2079
+ Schema.StructWithRest(
2080
+ Schema.Struct({
2081
+ adjustable_quantity: Schema.optionalKey(
2082
+ Schema.StructWithRest(
2083
+ Schema.Struct({
2084
+ enabled: Schema.Boolean,
2085
+ maximum: Schema.optionalKey(Schema.Int),
2086
+ minimum: Schema.optionalKey(Schema.Int),
2087
+ }),
2088
+ [
2089
+ Schema.Record(
2090
+ Schema.String,
2091
+ Schema.Json.annotate({ expected: "JSON value" }),
2092
+ ),
2093
+ ],
2094
+ ).annotate({ title: "optional_item_adjustable_quantity_params" }),
2095
+ ),
2096
+ price: Schema.String.check(
2097
+ Schema.isMaxCodePoints(5000).annotate({
2098
+ expected: "a string with at most 5000 code points",
2099
+ }),
2100
+ ),
2101
+ quantity: Schema.Int,
2102
+ }),
2103
+ [
2104
+ Schema.Record(
2105
+ Schema.String,
2106
+ Schema.Json.annotate({ expected: "JSON value" }),
2107
+ ),
2108
+ ],
2109
+ ).annotate({ title: "optional_item_params" }),
2110
+ ).annotate({
2111
+ description:
2112
+ "A list of optional items the customer can add to their order at checkout. Use this parameter to pass one-time or recurring [Prices](https://docs.stripe.com/api/prices).\n\nThere is a maximum of 10 optional items allowed on a Checkout Session, and the existing limits on the number of line items allowed on a Checkout Session apply to the combined number of line items and optional items.\n\nFor `payment` mode, there is a maximum of 100 combined line items and optional items, however it is recommended to consolidate items if there are more than a few dozen.\n\nFor `subscription` mode, there is a maximum of 20 line items and optional items with recurring Prices and 20 line items and optional items with one-time Prices.\n\nYou can't set this parameter if `ui_mode` is `elements` or `form`.",
2113
+ });
2114
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_8 =
2115
+ Schema.Literals(["mobile_app", "web"]).annotate({
2116
+ description:
2117
+ "Where the user is coming from. This informs the optimizations that are applied to the session. You can't set this parameter if `ui_mode` is `elements`.",
2118
+ });
2119
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_10 =
2120
+ Schema.StructWithRest(
2121
+ Schema.Struct({
2122
+ application_fee_amount: Schema.optionalKey(Schema.Int),
2123
+ capture_method: Schema.optionalKey(
2124
+ Schema.Literals(["automatic", "automatic_async", "manual"]),
2125
+ ),
2126
+ description: Schema.optionalKey(
2127
+ Schema.String.check(
2128
+ Schema.isMaxCodePoints(1000).annotate({
2129
+ expected: "a string with at most 1000 code points",
2130
+ }),
2131
+ ),
2132
+ ),
2133
+ metadata: Schema.optionalKey(Schema.Record(Schema.String, Schema.String)),
2134
+ on_behalf_of: Schema.optionalKey(Schema.String),
2135
+ receipt_email: Schema.optionalKey(
2136
+ Schema.String.check(
2137
+ Schema.isMaxCodePoints(5000).annotate({
2138
+ expected: "a string with at most 5000 code points",
2139
+ }),
2140
+ ),
2141
+ ),
2142
+ setup_future_usage: Schema.optionalKey(
2143
+ Schema.Literals(["off_session", "on_session"]),
2144
+ ),
2145
+ shipping: Schema.optionalKey(
2146
+ Schema.StructWithRest(
2147
+ Schema.Struct({
2148
+ address: Schema.StructWithRest(
2149
+ Schema.Struct({
2150
+ city: Schema.optionalKey(
2151
+ Schema.String.check(
2152
+ Schema.isMaxCodePoints(5000).annotate({
2153
+ expected: "a string with at most 5000 code points",
2154
+ }),
2155
+ ),
2156
+ ),
2157
+ country: Schema.optionalKey(
2158
+ Schema.String.check(
2159
+ Schema.isMaxCodePoints(5000).annotate({
2160
+ expected: "a string with at most 5000 code points",
2161
+ }),
2162
+ ),
2163
+ ),
2164
+ line1: Schema.String.check(
2165
+ Schema.isMaxCodePoints(5000).annotate({
2166
+ expected: "a string with at most 5000 code points",
2167
+ }),
2168
+ ),
2169
+ line2: Schema.optionalKey(
2170
+ Schema.String.check(
2171
+ Schema.isMaxCodePoints(5000).annotate({
2172
+ expected: "a string with at most 5000 code points",
2173
+ }),
2174
+ ),
2175
+ ),
2176
+ postal_code: Schema.optionalKey(
2177
+ Schema.String.check(
2178
+ Schema.isMaxCodePoints(5000).annotate({
2179
+ expected: "a string with at most 5000 code points",
2180
+ }),
2181
+ ),
2182
+ ),
2183
+ state: Schema.optionalKey(
2184
+ Schema.String.check(
2185
+ Schema.isMaxCodePoints(5000).annotate({
2186
+ expected: "a string with at most 5000 code points",
2187
+ }),
2188
+ ),
2189
+ ),
2190
+ }),
2191
+ [
2192
+ Schema.Record(
2193
+ Schema.String,
2194
+ Schema.Json.annotate({ expected: "JSON value" }),
2195
+ ),
2196
+ ],
2197
+ ).annotate({ title: "address" }),
2198
+ carrier: Schema.optionalKey(
2199
+ Schema.String.check(
2200
+ Schema.isMaxCodePoints(5000).annotate({
2201
+ expected: "a string with at most 5000 code points",
2202
+ }),
2203
+ ),
2204
+ ),
2205
+ name: Schema.String.check(
2206
+ Schema.isMaxCodePoints(5000).annotate({
2207
+ expected: "a string with at most 5000 code points",
2208
+ }),
2209
+ ),
2210
+ phone: Schema.optionalKey(
2211
+ Schema.String.check(
2212
+ Schema.isMaxCodePoints(5000).annotate({
2213
+ expected: "a string with at most 5000 code points",
2214
+ }),
2215
+ ),
2216
+ ),
2217
+ tracking_number: Schema.optionalKey(
2218
+ Schema.String.check(
2219
+ Schema.isMaxCodePoints(5000).annotate({
2220
+ expected: "a string with at most 5000 code points",
2221
+ }),
2222
+ ),
2223
+ ),
2224
+ }),
2225
+ [
2226
+ Schema.Record(
2227
+ Schema.String,
2228
+ Schema.Json.annotate({ expected: "JSON value" }),
2229
+ ),
2230
+ ],
2231
+ ).annotate({ title: "shipping" }),
2232
+ ),
2233
+ statement_descriptor: Schema.optionalKey(
2234
+ Schema.String.check(
2235
+ Schema.isMaxCodePoints(22).annotate({
2236
+ expected: "a string with at most 22 code points",
2237
+ }),
2238
+ ),
2239
+ ),
2240
+ statement_descriptor_suffix: Schema.optionalKey(
2241
+ Schema.String.check(
2242
+ Schema.isMaxCodePoints(22).annotate({
2243
+ expected: "a string with at most 22 code points",
2244
+ }),
2245
+ ),
2246
+ ),
2247
+ transfer_data: Schema.optionalKey(
2248
+ Schema.StructWithRest(
2249
+ Schema.Struct({
2250
+ amount: Schema.optionalKey(Schema.Int),
2251
+ destination: Schema.String,
2252
+ }),
2253
+ [
2254
+ Schema.Record(
2255
+ Schema.String,
2256
+ Schema.Json.annotate({ expected: "JSON value" }),
2257
+ ),
2258
+ ],
2259
+ ).annotate({ title: "transfer_data_params" }),
2260
+ ),
2261
+ transfer_group: Schema.optionalKey(Schema.String),
2262
+ }),
2263
+ [
2264
+ Schema.Record(
2265
+ Schema.String,
2266
+ Schema.Json.annotate({ expected: "JSON value" }),
2267
+ ),
2268
+ ],
2269
+ ).annotate({
2270
+ title: "payment_intent_data_params",
2271
+ description:
2272
+ "A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode.",
2273
+ });
2274
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_9 =
2275
+ Schema.Literals(["always", "if_required"]).annotate({
2276
+ description:
2277
+ "Specify whether Checkout should collect a payment method. When set to `if_required`, Checkout will not collect a payment method when the total due for the session is 0.\nThis may occur if the Checkout Session includes a free trial or a discount.\n\nCan only be set in `subscription` mode. Defaults to `always`.\n\nIf you'd like information on how to collect a payment method outside of Checkout, read the guide on configuring [subscriptions with a free trial](https://docs.stripe.com/payments/checkout/free-trials).",
2278
+ });
2279
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_11 =
2280
+ Schema.StructWithRest(
2281
+ Schema.Struct({
2282
+ allow_redisplay: Schema.optionalKey(
2283
+ Schema.Literals(["always", "limited", "unspecified"]),
2284
+ ),
2285
+ }),
2286
+ [
2287
+ Schema.Record(
2288
+ Schema.String,
2289
+ Schema.Json.annotate({ expected: "JSON value" }),
2290
+ ),
2291
+ ],
2292
+ ).annotate({
2293
+ title: "payment_method_data_param",
2294
+ description:
2295
+ "This parameter allows you to set some attributes on the payment method created during a Checkout session.",
2296
+ });
2297
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_12 =
2298
+ Schema.StructWithRest(
2299
+ Schema.Struct({
2300
+ acss_debit: Schema.optionalKey(
2301
+ Schema.StructWithRest(
2302
+ Schema.Struct({
2303
+ currency: Schema.optionalKey(Schema.Literals(["cad", "usd"])),
2304
+ mandate_options: Schema.optionalKey(
2305
+ Schema.StructWithRest(
2306
+ Schema.Struct({
2307
+ custom_mandate_url: Schema.optionalKey(
2308
+ Schema.Union([Schema.String, Schema.Literal("")]),
2309
+ ),
2310
+ default_for: Schema.optionalKey(
2311
+ Schema.Array(Schema.Literals(["invoice", "subscription"])),
2312
+ ),
2313
+ interval_description: Schema.optionalKey(
2314
+ Schema.String.check(
2315
+ Schema.isMaxCodePoints(500).annotate({
2316
+ expected: "a string with at most 500 code points",
2317
+ }),
2318
+ ),
2319
+ ),
2320
+ payment_schedule: Schema.optionalKey(
2321
+ Schema.Literals(["combined", "interval", "sporadic"]),
2322
+ ),
2323
+ transaction_type: Schema.optionalKey(
2324
+ Schema.Literals(["business", "personal"]),
2325
+ ),
2326
+ }),
2327
+ [
2328
+ Schema.Record(
2329
+ Schema.String,
2330
+ Schema.Json.annotate({ expected: "JSON value" }),
2331
+ ),
2332
+ ],
2333
+ ).annotate({ title: "mandate_options_param" }),
2334
+ ),
2335
+ setup_future_usage: Schema.optionalKey(
2336
+ Schema.Literals(["none", "off_session", "on_session"]),
2337
+ ),
2338
+ target_date: Schema.optionalKey(
2339
+ Schema.String.check(
2340
+ Schema.isMaxCodePoints(5000).annotate({
2341
+ expected: "a string with at most 5000 code points",
2342
+ }),
2343
+ ),
2344
+ ),
2345
+ verification_method: Schema.optionalKey(
2346
+ Schema.Literals(["automatic", "instant", "microdeposits"]),
2347
+ ),
2348
+ }),
2349
+ [
2350
+ Schema.Record(
2351
+ Schema.String,
2352
+ Schema.Json.annotate({ expected: "JSON value" }),
2353
+ ),
2354
+ ],
2355
+ ).annotate({ title: "payment_method_options_param" }),
2356
+ ),
2357
+ affirm: Schema.optionalKey(
2358
+ Schema.StructWithRest(
2359
+ Schema.Struct({
2360
+ capture_method: Schema.optionalKey(Schema.Literal("manual")),
2361
+ setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
2362
+ }),
2363
+ [
2364
+ Schema.Record(
2365
+ Schema.String,
2366
+ Schema.Json.annotate({ expected: "JSON value" }),
2367
+ ),
2368
+ ],
2369
+ ).annotate({ title: "payment_method_options_param" }),
2370
+ ),
2371
+ afterpay_clearpay: Schema.optionalKey(
2372
+ Schema.StructWithRest(
2373
+ Schema.Struct({
2374
+ capture_method: Schema.optionalKey(Schema.Literal("manual")),
2375
+ setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
2376
+ }),
2377
+ [
2378
+ Schema.Record(
2379
+ Schema.String,
2380
+ Schema.Json.annotate({ expected: "JSON value" }),
2381
+ ),
2382
+ ],
2383
+ ).annotate({ title: "payment_method_options_param" }),
2384
+ ),
2385
+ alipay: Schema.optionalKey(
2386
+ Schema.StructWithRest(
2387
+ Schema.Struct({
2388
+ setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
2389
+ }),
2390
+ [
2391
+ Schema.Record(
2392
+ Schema.String,
2393
+ Schema.Json.annotate({ expected: "JSON value" }),
2394
+ ),
2395
+ ],
2396
+ ).annotate({ title: "payment_method_options_param" }),
2397
+ ),
2398
+ alma: Schema.optionalKey(
2399
+ Schema.StructWithRest(
2400
+ Schema.Struct({
2401
+ capture_method: Schema.optionalKey(Schema.Literal("manual")),
2402
+ }),
2403
+ [
2404
+ Schema.Record(
2405
+ Schema.String,
2406
+ Schema.Json.annotate({ expected: "JSON value" }),
2407
+ ),
2408
+ ],
2409
+ ).annotate({ title: "payment_method_options_param" }),
2410
+ ),
2411
+ amazon_pay: Schema.optionalKey(
2412
+ Schema.StructWithRest(
2413
+ Schema.Struct({
2414
+ capture_method: Schema.optionalKey(Schema.Literal("manual")),
2415
+ setup_future_usage: Schema.optionalKey(
2416
+ Schema.Literals(["none", "off_session"]),
2417
+ ),
2418
+ }),
2419
+ [
2420
+ Schema.Record(
2421
+ Schema.String,
2422
+ Schema.Json.annotate({ expected: "JSON value" }),
2423
+ ),
2424
+ ],
2425
+ ).annotate({ title: "payment_method_options_param" }),
2426
+ ),
2427
+ au_becs_debit: Schema.optionalKey(
2428
+ Schema.StructWithRest(
2429
+ Schema.Struct({
2430
+ setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
2431
+ target_date: Schema.optionalKey(
2432
+ Schema.String.check(
2433
+ Schema.isMaxCodePoints(5000).annotate({
2434
+ expected: "a string with at most 5000 code points",
2435
+ }),
2436
+ ),
2437
+ ),
2438
+ }),
2439
+ [
2440
+ Schema.Record(
2441
+ Schema.String,
2442
+ Schema.Json.annotate({ expected: "JSON value" }),
2443
+ ),
2444
+ ],
2445
+ ).annotate({ title: "payment_method_options_param" }),
2446
+ ),
2447
+ bacs_debit: Schema.optionalKey(
2448
+ Schema.StructWithRest(
2449
+ Schema.Struct({
2450
+ mandate_options: Schema.optionalKey(
2451
+ Schema.StructWithRest(
2452
+ Schema.Struct({
2453
+ reference_prefix: Schema.optionalKey(
2454
+ Schema.Union([
2455
+ Schema.String.check(
2456
+ Schema.isMaxCodePoints(12).annotate({
2457
+ expected: "a string with at most 12 code points",
2458
+ }),
2459
+ ),
2460
+ Schema.Literal(""),
2461
+ ]),
2462
+ ),
2463
+ }),
2464
+ [
2465
+ Schema.Record(
2466
+ Schema.String,
2467
+ Schema.Json.annotate({ expected: "JSON value" }),
2468
+ ),
2469
+ ],
2470
+ ).annotate({
2471
+ title: "payment_method_options_mandate_options_param",
2472
+ }),
2473
+ ),
2474
+ setup_future_usage: Schema.optionalKey(
2475
+ Schema.Literals(["none", "off_session", "on_session"]),
2476
+ ),
2477
+ target_date: Schema.optionalKey(
2478
+ Schema.String.check(
2479
+ Schema.isMaxCodePoints(5000).annotate({
2480
+ expected: "a string with at most 5000 code points",
2481
+ }),
2482
+ ),
2483
+ ),
2484
+ }),
2485
+ [
2486
+ Schema.Record(
2487
+ Schema.String,
2488
+ Schema.Json.annotate({ expected: "JSON value" }),
2489
+ ),
2490
+ ],
2491
+ ).annotate({ title: "payment_method_options_param" }),
2492
+ ),
2493
+ bancontact: Schema.optionalKey(
2494
+ Schema.StructWithRest(
2495
+ Schema.Struct({
2496
+ setup_future_usage: Schema.optionalKey(
2497
+ Schema.Literals(["none", "off_session"]),
2498
+ ),
2499
+ }),
2500
+ [
2501
+ Schema.Record(
2502
+ Schema.String,
2503
+ Schema.Json.annotate({ expected: "JSON value" }),
2504
+ ),
2505
+ ],
2506
+ ).annotate({ title: "payment_method_options_param" }),
2507
+ ),
2508
+ billie: Schema.optionalKey(
2509
+ Schema.StructWithRest(
2510
+ Schema.Struct({
2511
+ capture_method: Schema.optionalKey(Schema.Literal("manual")),
2512
+ }),
2513
+ [
2514
+ Schema.Record(
2515
+ Schema.String,
2516
+ Schema.Json.annotate({ expected: "JSON value" }),
2517
+ ),
2518
+ ],
2519
+ ).annotate({ title: "payment_method_options_param" }),
2520
+ ),
2521
+ blik: Schema.optionalKey(
2522
+ Schema.StructWithRest(
2523
+ Schema.Struct({
2524
+ mandate_options: Schema.optionalKey(
2525
+ Schema.StructWithRest(
2526
+ Schema.Struct({
2527
+ expires_at: Schema.optionalKey(
2528
+ Schema.Number.annotate({ format: "unix-time" }).check(
2529
+ Schema.isInt().annotate({ expected: "an integer" }),
2530
+ ),
2531
+ ),
2532
+ }),
2533
+ [
2534
+ Schema.Record(
2535
+ Schema.String,
2536
+ Schema.Json.annotate({ expected: "JSON value" }),
2537
+ ),
2538
+ ],
2539
+ ).annotate({
2540
+ title:
2541
+ "subscription_payment_method_options_mandate_options_param",
2542
+ }),
2543
+ ),
2544
+ setup_future_usage: Schema.optionalKey(
2545
+ Schema.Literals(["", "none", "off_session"]),
2546
+ ),
2547
+ }),
2548
+ [
2549
+ Schema.Record(
2550
+ Schema.String,
2551
+ Schema.Json.annotate({ expected: "JSON value" }),
2552
+ ),
2553
+ ],
2554
+ ).annotate({ title: "payment_method_options_param" }),
2555
+ ),
2556
+ boleto: Schema.optionalKey(
2557
+ Schema.StructWithRest(
2558
+ Schema.Struct({
2559
+ expires_after_days: Schema.optionalKey(Schema.Int),
2560
+ setup_future_usage: Schema.optionalKey(
2561
+ Schema.Literals(["none", "off_session", "on_session"]),
2562
+ ),
2563
+ }),
2564
+ [
2565
+ Schema.Record(
2566
+ Schema.String,
2567
+ Schema.Json.annotate({ expected: "JSON value" }),
2568
+ ),
2569
+ ],
2570
+ ).annotate({ title: "payment_method_options_param" }),
2571
+ ),
2572
+ card: Schema.optionalKey(
2573
+ Schema.StructWithRest(
2574
+ Schema.Struct({
2575
+ capture_method: Schema.optionalKey(Schema.Literal("manual")),
2576
+ installments: Schema.optionalKey(
2577
+ Schema.StructWithRest(
2578
+ Schema.Struct({ enabled: Schema.optionalKey(Schema.Boolean) }),
2579
+ [
2580
+ Schema.Record(
2581
+ Schema.String,
2582
+ Schema.Json.annotate({ expected: "JSON value" }),
2583
+ ),
2584
+ ],
2585
+ ).annotate({ title: "installments_param" }),
2586
+ ),
2587
+ request_extended_authorization: Schema.optionalKey(
2588
+ Schema.Literals(["if_available", "never"]),
2589
+ ),
2590
+ request_incremental_authorization: Schema.optionalKey(
2591
+ Schema.Literals(["if_available", "never"]),
2592
+ ),
2593
+ request_multicapture: Schema.optionalKey(
2594
+ Schema.Literals(["if_available", "never"]),
2595
+ ),
2596
+ request_overcapture: Schema.optionalKey(
2597
+ Schema.Literals(["if_available", "never"]),
2598
+ ),
2599
+ request_three_d_secure: Schema.optionalKey(
2600
+ Schema.Literals(["any", "automatic", "challenge"]),
2601
+ ),
2602
+ restrictions: Schema.optionalKey(
2603
+ Schema.StructWithRest(
2604
+ Schema.Struct({
2605
+ brands_blocked: Schema.optionalKey(
2606
+ Schema.Array(
2607
+ Schema.Literals([
2608
+ "american_express",
2609
+ "discover_global_network",
2610
+ "mastercard",
2611
+ "visa",
2612
+ ]),
2613
+ ),
2614
+ ),
2615
+ funding_types_blocked: Schema.optionalKey(
2616
+ Schema.Array(
2617
+ Schema.Literals(["credit", "debit", "prepaid"]),
2618
+ ),
2619
+ ),
2620
+ }),
2621
+ [
2622
+ Schema.Record(
2623
+ Schema.String,
2624
+ Schema.Json.annotate({ expected: "JSON value" }),
2625
+ ),
2626
+ ],
2627
+ ).annotate({ title: "restrictions_param" }),
2628
+ ),
2629
+ setup_future_usage: Schema.optionalKey(
2630
+ Schema.Literals(["off_session", "on_session"]),
2631
+ ),
2632
+ statement_descriptor_suffix_kana: Schema.optionalKey(
2633
+ Schema.String.check(
2634
+ Schema.isMaxCodePoints(22).annotate({
2635
+ expected: "a string with at most 22 code points",
2636
+ }),
2637
+ ),
2638
+ ),
2639
+ statement_descriptor_suffix_kanji: Schema.optionalKey(
2640
+ Schema.String.check(
2641
+ Schema.isMaxCodePoints(17).annotate({
2642
+ expected: "a string with at most 17 code points",
2643
+ }),
2644
+ ),
2645
+ ),
2646
+ }),
2647
+ [
2648
+ Schema.Record(
2649
+ Schema.String,
2650
+ Schema.Json.annotate({ expected: "JSON value" }),
2651
+ ),
2652
+ ],
2653
+ ).annotate({ title: "payment_method_options_param" }),
2654
+ ),
2655
+ cashapp: Schema.optionalKey(
2656
+ Schema.StructWithRest(
2657
+ Schema.Struct({
2658
+ capture_method: Schema.optionalKey(Schema.Literal("manual")),
2659
+ setup_future_usage: Schema.optionalKey(
2660
+ Schema.Literals(["none", "off_session", "on_session"]),
2661
+ ),
2662
+ }),
2663
+ [
2664
+ Schema.Record(
2665
+ Schema.String,
2666
+ Schema.Json.annotate({ expected: "JSON value" }),
2667
+ ),
2668
+ ],
2669
+ ).annotate({ title: "payment_method_options_param" }),
2670
+ ),
2671
+ crypto: Schema.optionalKey(
2672
+ Schema.StructWithRest(
2673
+ Schema.Struct({
2674
+ setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
2675
+ }),
2676
+ [
2677
+ Schema.Record(
2678
+ Schema.String,
2679
+ Schema.Json.annotate({ expected: "JSON value" }),
2680
+ ),
2681
+ ],
2682
+ ).annotate({ title: "payment_method_options_param" }),
2683
+ ),
2684
+ customer_balance: Schema.optionalKey(
2685
+ Schema.StructWithRest(
2686
+ Schema.Struct({
2687
+ bank_transfer: Schema.optionalKey(
2688
+ Schema.StructWithRest(
2689
+ Schema.Struct({
2690
+ eu_bank_transfer: Schema.optionalKey(
2691
+ Schema.StructWithRest(
2692
+ Schema.Struct({
2693
+ country: Schema.String.check(
2694
+ Schema.isMaxCodePoints(5000).annotate({
2695
+ expected: "a string with at most 5000 code points",
2696
+ }),
2697
+ ),
2698
+ }),
2699
+ [
2700
+ Schema.Record(
2701
+ Schema.String,
2702
+ Schema.Json.annotate({ expected: "JSON value" }),
2703
+ ),
2704
+ ],
2705
+ ).annotate({ title: "eu_bank_transfer_params" }),
2706
+ ),
2707
+ requested_address_types: Schema.optionalKey(
2708
+ Schema.Array(
2709
+ Schema.Literals([
2710
+ "aba",
2711
+ "iban",
2712
+ "sepa",
2713
+ "sort_code",
2714
+ "spei",
2715
+ "swift",
2716
+ "zengin",
2717
+ ]),
2718
+ ),
2719
+ ),
2720
+ type: Schema.Literals([
2721
+ "eu_bank_transfer",
2722
+ "gb_bank_transfer",
2723
+ "jp_bank_transfer",
2724
+ "mx_bank_transfer",
2725
+ "us_bank_transfer",
2726
+ ]),
2727
+ }),
2728
+ [
2729
+ Schema.Record(
2730
+ Schema.String,
2731
+ Schema.Json.annotate({ expected: "JSON value" }),
2732
+ ),
2733
+ ],
2734
+ ).annotate({ title: "bank_transfer_param" }),
2735
+ ),
2736
+ funding_type: Schema.optionalKey(Schema.Literal("bank_transfer")),
2737
+ setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
2738
+ }),
2739
+ [
2740
+ Schema.Record(
2741
+ Schema.String,
2742
+ Schema.Json.annotate({ expected: "JSON value" }),
2743
+ ),
2744
+ ],
2745
+ ).annotate({ title: "payment_method_options_param" }),
2746
+ ),
2747
+ demo_pay: Schema.optionalKey(
2748
+ Schema.StructWithRest(
2749
+ Schema.Struct({
2750
+ setup_future_usage: Schema.optionalKey(
2751
+ Schema.Literals(["none", "off_session"]),
2752
+ ),
2753
+ }),
2754
+ [
2755
+ Schema.Record(
2756
+ Schema.String,
2757
+ Schema.Json.annotate({ expected: "JSON value" }),
2758
+ ),
2759
+ ],
2760
+ ).annotate({ title: "payment_method_options_param" }),
2761
+ ),
2762
+ eps: Schema.optionalKey(
2763
+ Schema.StructWithRest(
2764
+ Schema.Struct({
2765
+ setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
2766
+ }),
2767
+ [
2768
+ Schema.Record(
2769
+ Schema.String,
2770
+ Schema.Json.annotate({ expected: "JSON value" }),
2771
+ ),
2772
+ ],
2773
+ ).annotate({ title: "payment_method_options_param" }),
2774
+ ),
2775
+ fpx: Schema.optionalKey(
2776
+ Schema.StructWithRest(
2777
+ Schema.Struct({
2778
+ setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
2779
+ }),
2780
+ [
2781
+ Schema.Record(
2782
+ Schema.String,
2783
+ Schema.Json.annotate({ expected: "JSON value" }),
2784
+ ),
2785
+ ],
2786
+ ).annotate({ title: "payment_method_options_param" }),
2787
+ ),
2788
+ giropay: Schema.optionalKey(
2789
+ Schema.StructWithRest(
2790
+ Schema.Struct({
2791
+ setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
2792
+ }),
2793
+ [
2794
+ Schema.Record(
2795
+ Schema.String,
2796
+ Schema.Json.annotate({ expected: "JSON value" }),
2797
+ ),
2798
+ ],
2799
+ ).annotate({ title: "payment_method_options_param" }),
2800
+ ),
2801
+ grabpay: Schema.optionalKey(
2802
+ Schema.StructWithRest(
2803
+ Schema.Struct({
2804
+ setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
2805
+ }),
2806
+ [
2807
+ Schema.Record(
2808
+ Schema.String,
2809
+ Schema.Json.annotate({ expected: "JSON value" }),
2810
+ ),
2811
+ ],
2812
+ ).annotate({ title: "payment_method_options_param" }),
2813
+ ),
2814
+ ideal: Schema.optionalKey(
2815
+ Schema.StructWithRest(
2816
+ Schema.Struct({
2817
+ setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
2818
+ }),
2819
+ [
2820
+ Schema.Record(
2821
+ Schema.String,
2822
+ Schema.Json.annotate({ expected: "JSON value" }),
2823
+ ),
2824
+ ],
2825
+ ).annotate({ title: "payment_method_options_param" }),
2826
+ ),
2827
+ kakao_pay: Schema.optionalKey(
2828
+ Schema.StructWithRest(
2829
+ Schema.Struct({
2830
+ capture_method: Schema.optionalKey(Schema.Literal("manual")),
2831
+ setup_future_usage: Schema.optionalKey(
2832
+ Schema.Literals(["none", "off_session"]),
2833
+ ),
2834
+ }),
2835
+ [
2836
+ Schema.Record(
2837
+ Schema.String,
2838
+ Schema.Json.annotate({ expected: "JSON value" }),
2839
+ ),
2840
+ ],
2841
+ ).annotate({ title: "payment_method_options_param" }),
2842
+ ),
2843
+ klarna: Schema.optionalKey(
2844
+ Schema.StructWithRest(
2845
+ Schema.Struct({
2846
+ capture_method: Schema.optionalKey(Schema.Literal("manual")),
2847
+ setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
2848
+ subscriptions: Schema.optionalKey(
2849
+ Schema.Union([
2850
+ Schema.Array(
2851
+ Schema.StructWithRest(
2852
+ Schema.Struct({
2853
+ interval: Schema.Literals([
2854
+ "day",
2855
+ "month",
2856
+ "week",
2857
+ "year",
2858
+ ]),
2859
+ interval_count: Schema.optionalKey(Schema.Int),
2860
+ name: Schema.optionalKey(
2861
+ Schema.String.check(
2862
+ Schema.isMaxCodePoints(255).annotate({
2863
+ expected: "a string with at most 255 code points",
2864
+ }),
2865
+ ),
2866
+ ),
2867
+ next_billing: Schema.StructWithRest(
2868
+ Schema.Struct({
2869
+ amount: Schema.Int,
2870
+ date: Schema.String.check(
2871
+ Schema.isMaxCodePoints(5000).annotate({
2872
+ expected:
2873
+ "a string with at most 5000 code points",
2874
+ }),
2875
+ ),
2876
+ }),
2877
+ [
2878
+ Schema.Record(
2879
+ Schema.String,
2880
+ Schema.Json.annotate({ expected: "JSON value" }),
2881
+ ),
2882
+ ],
2883
+ ).annotate({ title: "subscription_next_billing_param" }),
2884
+ reference: Schema.String.check(
2885
+ Schema.isMaxCodePoints(255).annotate({
2886
+ expected: "a string with at most 255 code points",
2887
+ }),
2888
+ ),
2889
+ }),
2890
+ [
2891
+ Schema.Record(
2892
+ Schema.String,
2893
+ Schema.Json.annotate({ expected: "JSON value" }),
2894
+ ),
2895
+ ],
2896
+ ).annotate({ title: "setup_intent_subscription_param" }),
2897
+ ),
2898
+ Schema.Literal(""),
2899
+ ]),
2900
+ ),
2901
+ }),
2902
+ [
2903
+ Schema.Record(
2904
+ Schema.String,
2905
+ Schema.Json.annotate({ expected: "JSON value" }),
2906
+ ),
2907
+ ],
2908
+ ).annotate({ title: "payment_method_options_param" }),
2909
+ ),
2910
+ konbini: Schema.optionalKey(
2911
+ Schema.StructWithRest(
2912
+ Schema.Struct({
2913
+ expires_after_days: Schema.optionalKey(Schema.Int),
2914
+ setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
2915
+ }),
2916
+ [
2917
+ Schema.Record(
2918
+ Schema.String,
2919
+ Schema.Json.annotate({ expected: "JSON value" }),
2920
+ ),
2921
+ ],
2922
+ ).annotate({ title: "payment_method_options_param" }),
2923
+ ),
2924
+ kr_card: Schema.optionalKey(
2925
+ Schema.StructWithRest(
2926
+ Schema.Struct({
2927
+ capture_method: Schema.optionalKey(Schema.Literal("manual")),
2928
+ setup_future_usage: Schema.optionalKey(
2929
+ Schema.Literals(["none", "off_session"]),
2930
+ ),
2931
+ }),
2932
+ [
2933
+ Schema.Record(
2934
+ Schema.String,
2935
+ Schema.Json.annotate({ expected: "JSON value" }),
2936
+ ),
2937
+ ],
2938
+ ).annotate({ title: "payment_method_options_param" }),
2939
+ ),
2940
+ link: Schema.optionalKey(
2941
+ Schema.StructWithRest(
2942
+ Schema.Struct({
2943
+ capture_method: Schema.optionalKey(Schema.Literal("manual")),
2944
+ setup_future_usage: Schema.optionalKey(
2945
+ Schema.Literals(["none", "off_session"]),
2946
+ ),
2947
+ }),
2948
+ [
2949
+ Schema.Record(
2950
+ Schema.String,
2951
+ Schema.Json.annotate({ expected: "JSON value" }),
2952
+ ),
2953
+ ],
2954
+ ).annotate({ title: "payment_method_options_param" }),
2955
+ ),
2956
+ mobilepay: Schema.optionalKey(
2957
+ Schema.StructWithRest(
2958
+ Schema.Struct({
2959
+ capture_method: Schema.optionalKey(Schema.Literal("manual")),
2960
+ setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
2961
+ }),
2962
+ [
2963
+ Schema.Record(
2964
+ Schema.String,
2965
+ Schema.Json.annotate({ expected: "JSON value" }),
2966
+ ),
2967
+ ],
2968
+ ).annotate({ title: "payment_method_options_param" }),
2969
+ ),
2970
+ multibanco: Schema.optionalKey(
2971
+ Schema.StructWithRest(
2972
+ Schema.Struct({
2973
+ setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
2974
+ }),
2975
+ [
2976
+ Schema.Record(
2977
+ Schema.String,
2978
+ Schema.Json.annotate({ expected: "JSON value" }),
2979
+ ),
2980
+ ],
2981
+ ).annotate({ title: "payment_method_options_param" }),
2982
+ ),
2983
+ naver_pay: Schema.optionalKey(
2984
+ Schema.StructWithRest(
2985
+ Schema.Struct({
2986
+ capture_method: Schema.optionalKey(Schema.Literal("manual")),
2987
+ setup_future_usage: Schema.optionalKey(
2988
+ Schema.Literals(["none", "off_session"]),
2989
+ ),
2990
+ }),
2991
+ [
2992
+ Schema.Record(
2993
+ Schema.String,
2994
+ Schema.Json.annotate({ expected: "JSON value" }),
2995
+ ),
2996
+ ],
2997
+ ).annotate({ title: "payment_method_options_param" }),
2998
+ ),
2999
+ oxxo: Schema.optionalKey(
3000
+ Schema.StructWithRest(
3001
+ Schema.Struct({
3002
+ expires_after_days: Schema.optionalKey(Schema.Int),
3003
+ setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
3004
+ }),
3005
+ [
3006
+ Schema.Record(
3007
+ Schema.String,
3008
+ Schema.Json.annotate({ expected: "JSON value" }),
3009
+ ),
3010
+ ],
3011
+ ).annotate({ title: "payment_method_options_param" }),
3012
+ ),
3013
+ p24: Schema.optionalKey(
3014
+ Schema.StructWithRest(
3015
+ Schema.Struct({
3016
+ setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
3017
+ tos_shown_and_accepted: Schema.optionalKey(Schema.Boolean),
3018
+ }),
3019
+ [
3020
+ Schema.Record(
3021
+ Schema.String,
3022
+ Schema.Json.annotate({ expected: "JSON value" }),
3023
+ ),
3024
+ ],
3025
+ ).annotate({ title: "payment_method_options_param" }),
3026
+ ),
3027
+ pay_by_bank: Schema.optionalKey(
3028
+ Schema.Record(
3029
+ Schema.String,
3030
+ Schema.Json.annotate({ expected: "JSON value" }),
3031
+ ).annotate({ title: "payment_method_options_param" }),
3032
+ ),
3033
+ payco: Schema.optionalKey(
3034
+ Schema.StructWithRest(
3035
+ Schema.Struct({
3036
+ capture_method: Schema.optionalKey(Schema.Literal("manual")),
3037
+ setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
3038
+ }),
3039
+ [
3040
+ Schema.Record(
3041
+ Schema.String,
3042
+ Schema.Json.annotate({ expected: "JSON value" }),
3043
+ ),
3044
+ ],
3045
+ ).annotate({ title: "payment_method_options_param" }),
3046
+ ),
3047
+ paynow: Schema.optionalKey(
3048
+ Schema.StructWithRest(
3049
+ Schema.Struct({
3050
+ setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
3051
+ }),
3052
+ [
3053
+ Schema.Record(
3054
+ Schema.String,
3055
+ Schema.Json.annotate({ expected: "JSON value" }),
3056
+ ),
3057
+ ],
3058
+ ).annotate({ title: "payment_method_options_param" }),
3059
+ ),
3060
+ paypal: Schema.optionalKey(
3061
+ Schema.StructWithRest(
3062
+ Schema.Struct({
3063
+ capture_method: Schema.optionalKey(Schema.Literals(["", "manual"])),
3064
+ preferred_locale: Schema.optionalKey(
3065
+ Schema.Literals([
3066
+ "cs-CZ",
3067
+ "da-DK",
3068
+ "de-AT",
3069
+ "de-DE",
3070
+ "de-LU",
3071
+ "el-GR",
3072
+ "en-GB",
3073
+ "en-US",
3074
+ "es-ES",
3075
+ "fi-FI",
3076
+ "fr-BE",
3077
+ "fr-FR",
3078
+ "fr-LU",
3079
+ "hu-HU",
3080
+ "it-IT",
3081
+ "nl-BE",
3082
+ "nl-NL",
3083
+ "pl-PL",
3084
+ "pt-PT",
3085
+ "sk-SK",
3086
+ "sv-SE",
3087
+ ]),
3088
+ ),
3089
+ reference: Schema.optionalKey(
3090
+ Schema.String.check(
3091
+ Schema.isMaxCodePoints(127).annotate({
3092
+ expected: "a string with at most 127 code points",
3093
+ }),
3094
+ ),
3095
+ ),
3096
+ risk_correlation_id: Schema.optionalKey(
3097
+ Schema.String.check(
3098
+ Schema.isMaxCodePoints(32).annotate({
3099
+ expected: "a string with at most 32 code points",
3100
+ }),
3101
+ ),
3102
+ ),
3103
+ setup_future_usage: Schema.optionalKey(
3104
+ Schema.Literals(["", "none", "off_session"]),
3105
+ ),
3106
+ }),
3107
+ [
3108
+ Schema.Record(
3109
+ Schema.String,
3110
+ Schema.Json.annotate({ expected: "JSON value" }),
3111
+ ),
3112
+ ],
3113
+ ).annotate({ title: "payment_method_options_param" }),
3114
+ ),
3115
+ payto: Schema.optionalKey(
3116
+ Schema.StructWithRest(
3117
+ Schema.Struct({
3118
+ mandate_options: Schema.optionalKey(
3119
+ Schema.StructWithRest(
3120
+ Schema.Struct({
3121
+ amount: Schema.optionalKey(
3122
+ Schema.Union([Schema.Int, Schema.Literal("")]),
3123
+ ),
3124
+ amount_type: Schema.optionalKey(
3125
+ Schema.Literals(["", "fixed", "maximum"]),
3126
+ ),
3127
+ end_date: Schema.optionalKey(
3128
+ Schema.Union([
3129
+ Schema.String.check(
3130
+ Schema.isMaxCodePoints(5000).annotate({
3131
+ expected: "a string with at most 5000 code points",
3132
+ }),
3133
+ ),
3134
+ Schema.Literal(""),
3135
+ ]),
3136
+ ),
3137
+ payment_schedule: Schema.optionalKey(
3138
+ Schema.Literals([
3139
+ "",
3140
+ "adhoc",
3141
+ "annual",
3142
+ "daily",
3143
+ "fortnightly",
3144
+ "monthly",
3145
+ "quarterly",
3146
+ "semi_annual",
3147
+ "weekly",
3148
+ ]),
3149
+ ),
3150
+ payments_per_period: Schema.optionalKey(
3151
+ Schema.Union([Schema.Int, Schema.Literal("")]),
3152
+ ),
3153
+ purpose: Schema.optionalKey(
3154
+ Schema.Literals([
3155
+ "",
3156
+ "dependant_support",
3157
+ "government",
3158
+ "loan",
3159
+ "mortgage",
3160
+ "other",
3161
+ "pension",
3162
+ "personal",
3163
+ "retail",
3164
+ "salary",
3165
+ "tax",
3166
+ "utility",
3167
+ ]),
3168
+ ),
3169
+ start_date: Schema.optionalKey(
3170
+ Schema.Union([
3171
+ Schema.String.check(
3172
+ Schema.isMaxCodePoints(5000).annotate({
3173
+ expected: "a string with at most 5000 code points",
3174
+ }),
3175
+ ),
3176
+ Schema.Literal(""),
3177
+ ]),
3178
+ ),
3179
+ }),
3180
+ [
3181
+ Schema.Record(
3182
+ Schema.String,
3183
+ Schema.Json.annotate({ expected: "JSON value" }),
3184
+ ),
3185
+ ],
3186
+ ).annotate({
3187
+ title:
3188
+ "setup_intent_payment_method_options_mandate_options_param",
3189
+ }),
3190
+ ),
3191
+ setup_future_usage: Schema.optionalKey(
3192
+ Schema.Literals(["none", "off_session"]),
3193
+ ),
3194
+ }),
3195
+ [
3196
+ Schema.Record(
3197
+ Schema.String,
3198
+ Schema.Json.annotate({ expected: "JSON value" }),
3199
+ ),
3200
+ ],
3201
+ ).annotate({ title: "payment_method_options_param" }),
3202
+ ),
3203
+ pix: Schema.optionalKey(
3204
+ Schema.StructWithRest(
3205
+ Schema.Struct({
3206
+ amount_includes_iof: Schema.optionalKey(
3207
+ Schema.Literals(["always", "never"]),
3208
+ ),
3209
+ expires_after_seconds: Schema.optionalKey(Schema.Int),
3210
+ mandate_options: Schema.optionalKey(
3211
+ Schema.StructWithRest(
3212
+ Schema.Struct({
3213
+ amount: Schema.optionalKey(Schema.Int),
3214
+ amount_includes_iof: Schema.optionalKey(
3215
+ Schema.Literals(["always", "never"]),
3216
+ ),
3217
+ amount_type: Schema.optionalKey(
3218
+ Schema.Literals(["fixed", "maximum"]),
3219
+ ),
3220
+ currency: Schema.optionalKey(
3221
+ Schema.String.annotate({ format: "currency" }),
3222
+ ),
3223
+ end_date: Schema.optionalKey(
3224
+ Schema.String.check(
3225
+ Schema.isMaxCodePoints(5000).annotate({
3226
+ expected: "a string with at most 5000 code points",
3227
+ }),
3228
+ ),
3229
+ ),
3230
+ payment_schedule: Schema.optionalKey(
3231
+ Schema.Literals([
3232
+ "halfyearly",
3233
+ "monthly",
3234
+ "quarterly",
3235
+ "weekly",
3236
+ "yearly",
3237
+ ]),
3238
+ ),
3239
+ reference: Schema.optionalKey(
3240
+ Schema.String.check(
3241
+ Schema.isMaxCodePoints(35).annotate({
3242
+ expected: "a string with at most 35 code points",
3243
+ }),
3244
+ ),
3245
+ ),
3246
+ start_date: Schema.optionalKey(
3247
+ Schema.String.check(
3248
+ Schema.isMaxCodePoints(5000).annotate({
3249
+ expected: "a string with at most 5000 code points",
3250
+ }),
3251
+ ),
3252
+ ),
3253
+ }),
3254
+ [
3255
+ Schema.Record(
3256
+ Schema.String,
3257
+ Schema.Json.annotate({ expected: "JSON value" }),
3258
+ ),
3259
+ ],
3260
+ ).annotate({
3261
+ title: "payment_method_options_mandate_options_param",
3262
+ }),
3263
+ ),
3264
+ setup_future_usage: Schema.optionalKey(
3265
+ Schema.Literals(["none", "off_session"]),
3266
+ ),
3267
+ }),
3268
+ [
3269
+ Schema.Record(
3270
+ Schema.String,
3271
+ Schema.Json.annotate({ expected: "JSON value" }),
3272
+ ),
3273
+ ],
3274
+ ).annotate({ title: "payment_method_options_param" }),
3275
+ ),
3276
+ revolut_pay: Schema.optionalKey(
3277
+ Schema.StructWithRest(
3278
+ Schema.Struct({
3279
+ capture_method: Schema.optionalKey(Schema.Literal("manual")),
3280
+ setup_future_usage: Schema.optionalKey(
3281
+ Schema.Literals(["none", "off_session"]),
3282
+ ),
3283
+ }),
3284
+ [
3285
+ Schema.Record(
3286
+ Schema.String,
3287
+ Schema.Json.annotate({ expected: "JSON value" }),
3288
+ ),
3289
+ ],
3290
+ ).annotate({ title: "payment_method_options_param" }),
3291
+ ),
3292
+ samsung_pay: Schema.optionalKey(
3293
+ Schema.StructWithRest(
3294
+ Schema.Struct({
3295
+ capture_method: Schema.optionalKey(Schema.Literal("manual")),
3296
+ setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
3297
+ }),
3298
+ [
3299
+ Schema.Record(
3300
+ Schema.String,
3301
+ Schema.Json.annotate({ expected: "JSON value" }),
3302
+ ),
3303
+ ],
3304
+ ).annotate({ title: "payment_method_options_param" }),
3305
+ ),
3306
+ satispay: Schema.optionalKey(
3307
+ Schema.StructWithRest(
3308
+ Schema.Struct({
3309
+ capture_method: Schema.optionalKey(Schema.Literal("manual")),
3310
+ }),
3311
+ [
3312
+ Schema.Record(
3313
+ Schema.String,
3314
+ Schema.Json.annotate({ expected: "JSON value" }),
3315
+ ),
3316
+ ],
3317
+ ).annotate({ title: "payment_method_options_param" }),
3318
+ ),
3319
+ scalapay: Schema.optionalKey(
3320
+ Schema.StructWithRest(
3321
+ Schema.Struct({
3322
+ capture_method: Schema.optionalKey(Schema.Literal("manual")),
3323
+ }),
3324
+ [
3325
+ Schema.Record(
3326
+ Schema.String,
3327
+ Schema.Json.annotate({ expected: "JSON value" }),
3328
+ ),
3329
+ ],
3330
+ ).annotate({ title: "payment_method_options_param" }),
3331
+ ),
3332
+ sepa_debit: Schema.optionalKey(
3333
+ Schema.StructWithRest(
3334
+ Schema.Struct({
3335
+ mandate_options: Schema.optionalKey(
3336
+ Schema.StructWithRest(
3337
+ Schema.Struct({
3338
+ reference_prefix: Schema.optionalKey(
3339
+ Schema.Union([
3340
+ Schema.String.check(
3341
+ Schema.isMaxCodePoints(12).annotate({
3342
+ expected: "a string with at most 12 code points",
3343
+ }),
3344
+ ),
3345
+ Schema.Literal(""),
3346
+ ]),
3347
+ ),
3348
+ }),
3349
+ [
3350
+ Schema.Record(
3351
+ Schema.String,
3352
+ Schema.Json.annotate({ expected: "JSON value" }),
3353
+ ),
3354
+ ],
3355
+ ).annotate({
3356
+ title: "payment_method_options_mandate_options_param",
3357
+ }),
3358
+ ),
3359
+ setup_future_usage: Schema.optionalKey(
3360
+ Schema.Literals(["none", "off_session", "on_session"]),
3361
+ ),
3362
+ target_date: Schema.optionalKey(
3363
+ Schema.String.check(
3364
+ Schema.isMaxCodePoints(5000).annotate({
3365
+ expected: "a string with at most 5000 code points",
3366
+ }),
3367
+ ),
3368
+ ),
3369
+ }),
3370
+ [
3371
+ Schema.Record(
3372
+ Schema.String,
3373
+ Schema.Json.annotate({ expected: "JSON value" }),
3374
+ ),
3375
+ ],
3376
+ ).annotate({ title: "payment_method_options_param" }),
3377
+ ),
3378
+ sequra: Schema.optionalKey(
3379
+ Schema.StructWithRest(
3380
+ Schema.Struct({
3381
+ capture_method: Schema.optionalKey(Schema.Literal("manual")),
3382
+ }),
3383
+ [
3384
+ Schema.Record(
3385
+ Schema.String,
3386
+ Schema.Json.annotate({ expected: "JSON value" }),
3387
+ ),
3388
+ ],
3389
+ ).annotate({ title: "payment_method_options_param" }),
3390
+ ),
3391
+ sofort: Schema.optionalKey(
3392
+ Schema.StructWithRest(
3393
+ Schema.Struct({
3394
+ setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
3395
+ }),
3396
+ [
3397
+ Schema.Record(
3398
+ Schema.String,
3399
+ Schema.Json.annotate({ expected: "JSON value" }),
3400
+ ),
3401
+ ],
3402
+ ).annotate({ title: "payment_method_options_param" }),
3403
+ ),
3404
+ sunbit: Schema.optionalKey(
3405
+ Schema.StructWithRest(
3406
+ Schema.Struct({
3407
+ capture_method: Schema.optionalKey(Schema.Literal("manual")),
3408
+ setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
3409
+ }),
3410
+ [
3411
+ Schema.Record(
3412
+ Schema.String,
3413
+ Schema.Json.annotate({ expected: "JSON value" }),
3414
+ ),
3415
+ ],
3416
+ ).annotate({ title: "payment_method_options_param" }),
3417
+ ),
3418
+ swish: Schema.optionalKey(
3419
+ Schema.StructWithRest(
3420
+ Schema.Struct({
3421
+ reference: Schema.optionalKey(
3422
+ Schema.String.check(
3423
+ Schema.isMaxCodePoints(5000).annotate({
3424
+ expected: "a string with at most 5000 code points",
3425
+ }),
3426
+ ),
3427
+ ),
3428
+ }),
3429
+ [
3430
+ Schema.Record(
3431
+ Schema.String,
3432
+ Schema.Json.annotate({ expected: "JSON value" }),
3433
+ ),
3434
+ ],
3435
+ ).annotate({ title: "payment_method_options_param" }),
3436
+ ),
3437
+ twint: Schema.optionalKey(
3438
+ Schema.StructWithRest(
3439
+ Schema.Struct({
3440
+ setup_future_usage: Schema.optionalKey(
3441
+ Schema.Literals(["none", "off_session"]),
3442
+ ),
3443
+ }),
3444
+ [
3445
+ Schema.Record(
3446
+ Schema.String,
3447
+ Schema.Json.annotate({ expected: "JSON value" }),
3448
+ ),
3449
+ ],
3450
+ ).annotate({ title: "payment_method_options_param" }),
3451
+ ),
3452
+ upi: Schema.optionalKey(
3453
+ Schema.StructWithRest(
3454
+ Schema.Struct({
3455
+ mandate_options: Schema.optionalKey(
3456
+ Schema.StructWithRest(
3457
+ Schema.Struct({
3458
+ amount: Schema.optionalKey(Schema.Int),
3459
+ amount_type: Schema.optionalKey(
3460
+ Schema.Literals(["fixed", "maximum"]),
3461
+ ),
3462
+ description: Schema.optionalKey(
3463
+ Schema.String.check(
3464
+ Schema.isMaxCodePoints(20).annotate({
3465
+ expected: "a string with at most 20 code points",
3466
+ }),
3467
+ ),
3468
+ ),
3469
+ end_date: Schema.optionalKey(
3470
+ Schema.Number.annotate({ format: "unix-time" }).check(
3471
+ Schema.isInt().annotate({ expected: "an integer" }),
3472
+ ),
3473
+ ),
3474
+ }),
3475
+ [
3476
+ Schema.Record(
3477
+ Schema.String,
3478
+ Schema.Json.annotate({ expected: "JSON value" }),
3479
+ ),
3480
+ ],
3481
+ ).annotate({
3482
+ title: "payment_method_options_mandate_options_param",
3483
+ }),
3484
+ ),
3485
+ setup_future_usage: Schema.optionalKey(
3486
+ Schema.Literals(["", "none", "off_session", "on_session"]),
3487
+ ),
3488
+ }),
3489
+ [
3490
+ Schema.Record(
3491
+ Schema.String,
3492
+ Schema.Json.annotate({ expected: "JSON value" }),
3493
+ ),
3494
+ ],
3495
+ ).annotate({ title: "payment_method_options_param" }),
3496
+ ),
3497
+ us_bank_account: Schema.optionalKey(
3498
+ Schema.StructWithRest(
3499
+ Schema.Struct({
3500
+ financial_connections: Schema.optionalKey(
3501
+ Schema.StructWithRest(
3502
+ Schema.Struct({
3503
+ permissions: Schema.optionalKey(
3504
+ Schema.Array(
3505
+ Schema.Literals([
3506
+ "balances",
3507
+ "ownership",
3508
+ "payment_method",
3509
+ "transactions",
3510
+ ]),
3511
+ ),
3512
+ ),
3513
+ prefetch: Schema.optionalKey(
3514
+ Schema.Array(
3515
+ Schema.Literals([
3516
+ "balances",
3517
+ "ownership",
3518
+ "transactions",
3519
+ ]),
3520
+ ),
3521
+ ),
3522
+ }),
3523
+ [
3524
+ Schema.Record(
3525
+ Schema.String,
3526
+ Schema.Json.annotate({ expected: "JSON value" }),
3527
+ ),
3528
+ ],
3529
+ ).annotate({ title: "linked_account_options_param" }),
3530
+ ),
3531
+ setup_future_usage: Schema.optionalKey(
3532
+ Schema.Literals(["none", "off_session", "on_session"]),
3533
+ ),
3534
+ target_date: Schema.optionalKey(
3535
+ Schema.String.check(
3536
+ Schema.isMaxCodePoints(5000).annotate({
3537
+ expected: "a string with at most 5000 code points",
3538
+ }),
3539
+ ),
3540
+ ),
3541
+ verification_method: Schema.optionalKey(
3542
+ Schema.Literals(["automatic", "instant"]),
3543
+ ),
3544
+ }),
3545
+ [
3546
+ Schema.Record(
3547
+ Schema.String,
3548
+ Schema.Json.annotate({ expected: "JSON value" }),
3549
+ ),
3550
+ ],
3551
+ ).annotate({ title: "payment_method_options_param" }),
3552
+ ),
3553
+ wechat_pay: Schema.optionalKey(
3554
+ Schema.StructWithRest(
3555
+ Schema.Struct({
3556
+ app_id: Schema.optionalKey(
3557
+ Schema.String.check(
3558
+ Schema.isMaxCodePoints(5000).annotate({
3559
+ expected: "a string with at most 5000 code points",
3560
+ }),
3561
+ ),
3562
+ ),
3563
+ client: Schema.Literals(["android", "ios", "web"]),
3564
+ setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
3565
+ }),
3566
+ [
3567
+ Schema.Record(
3568
+ Schema.String,
3569
+ Schema.Json.annotate({ expected: "JSON value" }),
3570
+ ),
3571
+ ],
3572
+ ).annotate({ title: "payment_method_options_param" }),
3573
+ ),
3574
+ }),
3575
+ [
3576
+ Schema.Record(
3577
+ Schema.String,
3578
+ Schema.Json.annotate({ expected: "JSON value" }),
3579
+ ),
3580
+ ],
3581
+ ).annotate({
3582
+ title: "payment_method_options_param",
3583
+ description: "Payment-method-specific configuration.",
3584
+ });
3585
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_13 =
3586
+ Schema.StructWithRest(
3587
+ Schema.Struct({
3588
+ update_shipping_details: Schema.optionalKey(
3589
+ Schema.Literals(["client_only", "server_only"]),
3590
+ ),
3591
+ }),
3592
+ [
3593
+ Schema.Record(
3594
+ Schema.String,
3595
+ Schema.Json.annotate({ expected: "JSON value" }),
3596
+ ),
3597
+ ],
3598
+ ).annotate({
3599
+ title: "permissions_param",
3600
+ description:
3601
+ "This property is used to set up permissions for various actions (for example, update) on the CheckoutSession object. Can only be set when creating `embedded_page` or `elements` sessions.\n\nFor specific permissions, please refer to their dedicated subsections, such as `permissions.update_shipping_details`.",
3602
+ });
3603
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_14 =
3604
+ Schema.StructWithRest(Schema.Struct({ enabled: Schema.Boolean }), [
3605
+ Schema.Record(
3606
+ Schema.String,
3607
+ Schema.Json.annotate({ expected: "JSON value" }),
3608
+ ),
3609
+ ]).annotate({
3610
+ title: "phone_number_collection_params",
3611
+ description:
3612
+ "Controls phone number collection settings for the session.\n\nWe recommend that you review your privacy policy and check with your legal contacts\nbefore using this feature. Learn more about [collecting phone numbers with Checkout](https://docs.stripe.com/payments/checkout/phone-numbers).",
3613
+ });
3614
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_10 =
3615
+ Schema.Literals(["always", "if_required", "never"]).annotate({
3616
+ description:
3617
+ "This parameter applies to `ui_mode: embedded_page`. Learn more about the [redirect behavior](https://docs.stripe.com/payments/checkout/custom-success-page?payment-ui=embedded-form) of embedded sessions. Defaults to `always`.",
3618
+ });
3619
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_15 =
3620
+ Schema.StructWithRest(
3621
+ Schema.Struct({
3622
+ allow_redisplay_filters: Schema.optionalKey(
3623
+ Schema.Array(Schema.Literals(["always", "limited", "unspecified"])),
3624
+ ),
3625
+ payment_method_remove: Schema.optionalKey(
3626
+ Schema.Literals(["disabled", "enabled"]),
3627
+ ),
3628
+ payment_method_save: Schema.optionalKey(
3629
+ Schema.Literals(["disabled", "enabled"]),
3630
+ ),
3631
+ }),
3632
+ [
3633
+ Schema.Record(
3634
+ Schema.String,
3635
+ Schema.Json.annotate({ expected: "JSON value" }),
3636
+ ),
3637
+ ],
3638
+ ).annotate({
3639
+ title: "saved_payment_method_options_param",
3640
+ description:
3641
+ "Controls saved payment method settings for the session. Only available in `payment` and `subscription` mode.",
3642
+ });
3643
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_16 =
3644
+ Schema.StructWithRest(
3645
+ Schema.Struct({
3646
+ description: Schema.optionalKey(
3647
+ Schema.String.check(
3648
+ Schema.isMaxCodePoints(1000).annotate({
3649
+ expected: "a string with at most 1000 code points",
3650
+ }),
3651
+ ),
3652
+ ),
3653
+ metadata: Schema.optionalKey(Schema.Record(Schema.String, Schema.String)),
3654
+ on_behalf_of: Schema.optionalKey(Schema.String),
3655
+ }),
3656
+ [
3657
+ Schema.Record(
3658
+ Schema.String,
3659
+ Schema.Json.annotate({ expected: "JSON value" }),
3660
+ ),
3661
+ ],
3662
+ ).annotate({
3663
+ title: "setup_intent_data_param",
3664
+ description:
3665
+ "A subset of parameters to be passed to SetupIntent creation for Checkout Sessions in `setup` mode.",
3666
+ });
3667
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_17 =
3668
+ Schema.StructWithRest(
3669
+ Schema.Struct({
3670
+ allowed_countries: Schema.Array(
3671
+ Schema.Literals([
3672
+ "AC",
3673
+ "AD",
3674
+ "AE",
3675
+ "AF",
3676
+ "AG",
3677
+ "AI",
3678
+ "AL",
3679
+ "AM",
3680
+ "AO",
3681
+ "AQ",
3682
+ "AR",
3683
+ "AT",
3684
+ "AU",
3685
+ "AW",
3686
+ "AX",
3687
+ "AZ",
3688
+ "BA",
3689
+ "BB",
3690
+ "BD",
3691
+ "BE",
3692
+ "BF",
3693
+ "BG",
3694
+ "BH",
3695
+ "BI",
3696
+ "BJ",
3697
+ "BL",
3698
+ "BM",
3699
+ "BN",
3700
+ "BO",
3701
+ "BQ",
3702
+ "BR",
3703
+ "BS",
3704
+ "BT",
3705
+ "BV",
3706
+ "BW",
3707
+ "BY",
3708
+ "BZ",
3709
+ "CA",
3710
+ "CD",
3711
+ "CF",
3712
+ "CG",
3713
+ "CH",
3714
+ "CI",
3715
+ "CK",
3716
+ "CL",
3717
+ "CM",
3718
+ "CN",
3719
+ "CO",
3720
+ "CR",
3721
+ "CV",
3722
+ "CW",
3723
+ "CY",
3724
+ "CZ",
3725
+ "DE",
3726
+ "DJ",
3727
+ "DK",
3728
+ "DM",
3729
+ "DO",
3730
+ "DZ",
3731
+ "EC",
3732
+ "EE",
3733
+ "EG",
3734
+ "EH",
3735
+ "ER",
3736
+ "ES",
3737
+ "ET",
3738
+ "FI",
3739
+ "FJ",
3740
+ "FK",
3741
+ "FO",
3742
+ "FR",
3743
+ "GA",
3744
+ "GB",
3745
+ "GD",
3746
+ "GE",
3747
+ "GF",
3748
+ "GG",
3749
+ "GH",
3750
+ "GI",
3751
+ "GL",
3752
+ "GM",
3753
+ "GN",
3754
+ "GP",
3755
+ "GQ",
3756
+ "GR",
3757
+ "GS",
3758
+ "GT",
3759
+ "GU",
3760
+ "GW",
3761
+ "GY",
3762
+ "HK",
3763
+ "HN",
3764
+ "HR",
3765
+ "HT",
3766
+ "HU",
3767
+ "ID",
3768
+ "IE",
3769
+ "IL",
3770
+ "IM",
3771
+ "IN",
3772
+ "IO",
3773
+ "IQ",
3774
+ "IS",
3775
+ "IT",
3776
+ "JE",
3777
+ "JM",
3778
+ "JO",
3779
+ "JP",
3780
+ "KE",
3781
+ "KG",
3782
+ "KH",
3783
+ "KI",
3784
+ "KM",
3785
+ "KN",
3786
+ "KR",
3787
+ "KW",
3788
+ "KY",
3789
+ "KZ",
3790
+ "LA",
3791
+ "LB",
3792
+ "LC",
3793
+ "LI",
3794
+ "LK",
3795
+ "LR",
3796
+ "LS",
3797
+ "LT",
3798
+ "LU",
3799
+ "LV",
3800
+ "LY",
3801
+ "MA",
3802
+ "MC",
3803
+ "MD",
3804
+ "ME",
3805
+ "MF",
3806
+ "MG",
3807
+ "MK",
3808
+ "ML",
3809
+ "MM",
3810
+ "MN",
3811
+ "MO",
3812
+ "MQ",
3813
+ "MR",
3814
+ "MS",
3815
+ "MT",
3816
+ "MU",
3817
+ "MV",
3818
+ "MW",
3819
+ "MX",
3820
+ "MY",
3821
+ "MZ",
3822
+ "NA",
3823
+ "NC",
3824
+ "NE",
3825
+ "NG",
3826
+ "NI",
3827
+ "NL",
3828
+ "NO",
3829
+ "NP",
3830
+ "NR",
3831
+ "NU",
3832
+ "NZ",
3833
+ "OM",
3834
+ "PA",
3835
+ "PE",
3836
+ "PF",
3837
+ "PG",
3838
+ "PH",
3839
+ "PK",
3840
+ "PL",
3841
+ "PM",
3842
+ "PN",
3843
+ "PR",
3844
+ "PS",
3845
+ "PT",
3846
+ "PY",
3847
+ "QA",
3848
+ "RE",
3849
+ "RO",
3850
+ "RS",
3851
+ "RU",
3852
+ "RW",
3853
+ "SA",
3854
+ "SB",
3855
+ "SC",
3856
+ "SD",
3857
+ "SE",
3858
+ "SG",
3859
+ "SH",
3860
+ "SI",
3861
+ "SJ",
3862
+ "SK",
3863
+ "SL",
3864
+ "SM",
3865
+ "SN",
3866
+ "SO",
3867
+ "SR",
3868
+ "SS",
3869
+ "ST",
3870
+ "SV",
3871
+ "SX",
3872
+ "SZ",
3873
+ "TA",
3874
+ "TC",
3875
+ "TD",
3876
+ "TF",
3877
+ "TG",
3878
+ "TH",
3879
+ "TJ",
3880
+ "TK",
3881
+ "TL",
3882
+ "TM",
3883
+ "TN",
3884
+ "TO",
3885
+ "TR",
3886
+ "TT",
3887
+ "TV",
3888
+ "TW",
3889
+ "TZ",
3890
+ "UA",
3891
+ "UG",
3892
+ "US",
3893
+ "UY",
3894
+ "UZ",
3895
+ "VA",
3896
+ "VC",
3897
+ "VE",
3898
+ "VG",
3899
+ "VN",
3900
+ "VU",
3901
+ "WF",
3902
+ "WS",
3903
+ "XK",
3904
+ "YE",
3905
+ "YT",
3906
+ "ZA",
3907
+ "ZM",
3908
+ "ZW",
3909
+ "ZZ",
3910
+ ]),
3911
+ ),
3912
+ }),
3913
+ [
3914
+ Schema.Record(
3915
+ Schema.String,
3916
+ Schema.Json.annotate({ expected: "JSON value" }),
3917
+ ),
3918
+ ],
3919
+ ).annotate({
3920
+ title: "shipping_address_collection_params",
3921
+ description:
3922
+ "When set, provides configuration for Checkout to collect a shipping address from a customer.",
3923
+ });
3924
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_18 =
3925
+ Schema.StructWithRest(
3926
+ Schema.Struct({
3927
+ delivery_estimate: Schema.optionalKey(
3928
+ Schema.StructWithRest(
3929
+ Schema.Struct({
3930
+ maximum: Schema.optionalKey(
3931
+ Schema.StructWithRest(
3932
+ Schema.Struct({
3933
+ unit: Schema.Literals([
3934
+ "business_day",
3935
+ "day",
3936
+ "hour",
3937
+ "month",
3938
+ "week",
3939
+ ]),
3940
+ value: Schema.Int,
3941
+ }),
3942
+ [
3943
+ Schema.Record(
3944
+ Schema.String,
3945
+ Schema.Json.annotate({ expected: "JSON value" }),
3946
+ ),
3947
+ ],
3948
+ ).annotate({ title: "delivery_estimate_bound" }),
3949
+ ),
3950
+ minimum: Schema.optionalKey(
3951
+ Schema.StructWithRest(
3952
+ Schema.Struct({
3953
+ unit: Schema.Literals([
3954
+ "business_day",
3955
+ "day",
3956
+ "hour",
3957
+ "month",
3958
+ "week",
3959
+ ]),
3960
+ value: Schema.Int,
3961
+ }),
3962
+ [
3963
+ Schema.Record(
3964
+ Schema.String,
3965
+ Schema.Json.annotate({ expected: "JSON value" }),
3966
+ ),
3967
+ ],
3968
+ ).annotate({ title: "delivery_estimate_bound" }),
3969
+ ),
3970
+ }),
3971
+ [
3972
+ Schema.Record(
3973
+ Schema.String,
3974
+ Schema.Json.annotate({ expected: "JSON value" }),
3975
+ ),
3976
+ ],
3977
+ ).annotate({ title: "delivery_estimate" }),
3978
+ ),
3979
+ display_name: Schema.String.check(
3980
+ Schema.isMaxCodePoints(100).annotate({
3981
+ expected: "a string with at most 100 code points",
3982
+ }),
3983
+ ),
3984
+ fixed_amount: Schema.optionalKey(
3985
+ Schema.StructWithRest(
3986
+ Schema.Struct({
3987
+ amount: Schema.Int,
3988
+ currency: Schema.String.annotate({ format: "currency" }),
3989
+ currency_options: Schema.optionalKey(
3990
+ Schema.Record(
3991
+ Schema.String,
3992
+ Schema.StructWithRest(
3993
+ Schema.Struct({
3994
+ amount: Schema.Int,
3995
+ tax_behavior: Schema.optionalKey(
3996
+ Schema.Literals([
3997
+ "exclusive",
3998
+ "inclusive",
3999
+ "unspecified",
4000
+ ]),
4001
+ ),
4002
+ }),
4003
+ [
4004
+ Schema.Record(
4005
+ Schema.String,
4006
+ Schema.Json.annotate({ expected: "JSON value" }),
4007
+ ),
4008
+ ],
4009
+ ).annotate({ title: "currency_option" }),
4010
+ ),
4011
+ ),
4012
+ }),
4013
+ [
4014
+ Schema.Record(
4015
+ Schema.String,
4016
+ Schema.Json.annotate({ expected: "JSON value" }),
4017
+ ),
4018
+ ],
4019
+ ).annotate({ title: "fixed_amount" }),
4020
+ ),
4021
+ metadata: Schema.optionalKey(Schema.Record(Schema.String, Schema.String)),
4022
+ tax_behavior: Schema.optionalKey(
4023
+ Schema.Literals(["exclusive", "inclusive", "unspecified"]),
4024
+ ),
4025
+ tax_code: Schema.optionalKey(Schema.String),
4026
+ type: Schema.optionalKey(Schema.Literal("fixed_amount")),
4027
+ }),
4028
+ [
4029
+ Schema.Record(
4030
+ Schema.String,
4031
+ Schema.Json.annotate({ expected: "JSON value" }),
4032
+ ),
4033
+ ],
4034
+ ).annotate({ title: "create_params" });
4035
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_11 =
4036
+ Schema.Literals(["auto", "book", "donate", "pay", "subscribe"]).annotate({
4037
+ description:
4038
+ "Describes the type of transaction being performed by Checkout in order\nto customize relevant text on the page, such as the submit button.\n `submit_type` can only be specified on Checkout Sessions in\n`payment` or `subscription` mode. If blank or `auto`, `pay` is used.\nYou can't set this parameter if `ui_mode` is `elements`.",
4039
+ });
4040
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_19 =
4041
+ Schema.StructWithRest(
4042
+ Schema.Struct({
4043
+ application_fee_percent: Schema.optionalKey(Schema.Finite),
4044
+ billing_cycle_anchor: Schema.optionalKey(
4045
+ Schema.Number.annotate({ format: "unix-time" }).check(
4046
+ Schema.isInt().annotate({ expected: "an integer" }),
4047
+ ),
4048
+ ),
4049
+ billing_cycle_anchor_config: Schema.optionalKey(
4050
+ Schema.StructWithRest(
4051
+ Schema.Struct({
4052
+ day_of_month: Schema.Int,
4053
+ hour: Schema.optionalKey(Schema.Int),
4054
+ minute: Schema.optionalKey(Schema.Int),
4055
+ month: Schema.optionalKey(Schema.Int),
4056
+ second: Schema.optionalKey(Schema.Int),
4057
+ }),
4058
+ [
4059
+ Schema.Record(
4060
+ Schema.String,
4061
+ Schema.Json.annotate({ expected: "JSON value" }),
4062
+ ),
4063
+ ],
4064
+ ).annotate({ title: "cycle_anchor_config_param" }),
4065
+ ),
4066
+ billing_mode: Schema.optionalKey(
4067
+ Schema.StructWithRest(
4068
+ Schema.Struct({
4069
+ flexible: Schema.optionalKey(
4070
+ Schema.StructWithRest(
4071
+ Schema.Struct({
4072
+ proration_discounts: Schema.optionalKey(
4073
+ Schema.Literals(["included", "itemized"]),
4074
+ ),
4075
+ }),
4076
+ [
4077
+ Schema.Record(
4078
+ Schema.String,
4079
+ Schema.Json.annotate({ expected: "JSON value" }),
4080
+ ),
4081
+ ],
4082
+ ).annotate({ title: "flexible_params" }),
4083
+ ),
4084
+ type: Schema.Literals(["classic", "flexible"]),
4085
+ }),
4086
+ [
4087
+ Schema.Record(
4088
+ Schema.String,
4089
+ Schema.Json.annotate({ expected: "JSON value" }),
4090
+ ),
4091
+ ],
4092
+ ).annotate({ title: "billing_mode" }),
4093
+ ),
4094
+ default_tax_rates: Schema.optionalKey(
4095
+ Schema.Array(
4096
+ Schema.String.check(
4097
+ Schema.isMaxCodePoints(5000).annotate({
4098
+ expected: "a string with at most 5000 code points",
4099
+ }),
4100
+ ),
4101
+ ),
4102
+ ),
4103
+ description: Schema.optionalKey(
4104
+ Schema.String.check(
4105
+ Schema.isMaxCodePoints(500).annotate({
4106
+ expected: "a string with at most 500 code points",
4107
+ }),
4108
+ ),
4109
+ ),
4110
+ invoice_settings: Schema.optionalKey(
4111
+ Schema.StructWithRest(
4112
+ Schema.Struct({
4113
+ account_tax_ids: Schema.optionalKey(
4114
+ Schema.Union([
4115
+ Schema.Array(
4116
+ Schema.String.check(
4117
+ Schema.isMaxCodePoints(5000).annotate({
4118
+ expected: "a string with at most 5000 code points",
4119
+ }),
4120
+ ),
4121
+ ),
4122
+ Schema.Literal(""),
4123
+ ]),
4124
+ ),
4125
+ custom_fields: Schema.optionalKey(
4126
+ Schema.Union([
4127
+ Schema.Array(
4128
+ Schema.StructWithRest(
4129
+ Schema.Struct({
4130
+ name: Schema.String.check(
4131
+ Schema.isMaxCodePoints(40).annotate({
4132
+ expected: "a string with at most 40 code points",
4133
+ }),
4134
+ ),
4135
+ value: Schema.String.check(
4136
+ Schema.isMaxCodePoints(140).annotate({
4137
+ expected: "a string with at most 140 code points",
4138
+ }),
4139
+ ),
4140
+ }),
4141
+ [
4142
+ Schema.Record(
4143
+ Schema.String,
4144
+ Schema.Json.annotate({ expected: "JSON value" }),
4145
+ ),
4146
+ ],
4147
+ ).annotate({ title: "custom_field_params" }),
4148
+ ),
4149
+ Schema.Literal(""),
4150
+ ]),
4151
+ ),
4152
+ description: Schema.optionalKey(
4153
+ Schema.String.check(
4154
+ Schema.isMaxCodePoints(500).annotate({
4155
+ expected: "a string with at most 500 code points",
4156
+ }),
4157
+ ),
4158
+ ),
4159
+ footer: Schema.optionalKey(
4160
+ Schema.String.check(
4161
+ Schema.isMaxCodePoints(5000).annotate({
4162
+ expected: "a string with at most 5000 code points",
4163
+ }),
4164
+ ),
4165
+ ),
4166
+ issuer: Schema.optionalKey(
4167
+ Schema.StructWithRest(
4168
+ Schema.Struct({
4169
+ account: Schema.optionalKey(Schema.String),
4170
+ type: Schema.Literals(["account", "self"]),
4171
+ }),
4172
+ [
4173
+ Schema.Record(
4174
+ Schema.String,
4175
+ Schema.Json.annotate({ expected: "JSON value" }),
4176
+ ),
4177
+ ],
4178
+ ).annotate({ title: "param" }),
4179
+ ),
4180
+ }),
4181
+ [
4182
+ Schema.Record(
4183
+ Schema.String,
4184
+ Schema.Json.annotate({ expected: "JSON value" }),
4185
+ ),
4186
+ ],
4187
+ ).annotate({ title: "invoice_settings_params" }),
4188
+ ),
4189
+ metadata: Schema.optionalKey(Schema.Record(Schema.String, Schema.String)),
4190
+ on_behalf_of: Schema.optionalKey(Schema.String),
4191
+ pending_invoice_item_interval: Schema.optionalKey(
4192
+ Schema.StructWithRest(
4193
+ Schema.Struct({
4194
+ interval: Schema.Literals(["day", "month", "week", "year"]),
4195
+ interval_count: Schema.optionalKey(Schema.Int),
4196
+ }),
4197
+ [
4198
+ Schema.Record(
4199
+ Schema.String,
4200
+ Schema.Json.annotate({ expected: "JSON value" }),
4201
+ ),
4202
+ ],
4203
+ ).annotate({ title: "pending_invoice_item_interval_params" }),
4204
+ ),
4205
+ proration_behavior: Schema.optionalKey(
4206
+ Schema.Literals(["create_prorations", "none"]),
4207
+ ),
4208
+ transfer_data: Schema.optionalKey(
4209
+ Schema.StructWithRest(
4210
+ Schema.Struct({
4211
+ amount_percent: Schema.optionalKey(Schema.Finite),
4212
+ destination: Schema.String,
4213
+ }),
4214
+ [
4215
+ Schema.Record(
4216
+ Schema.String,
4217
+ Schema.Json.annotate({ expected: "JSON value" }),
4218
+ ),
4219
+ ],
4220
+ ).annotate({ title: "transfer_data_specs" }),
4221
+ ),
4222
+ trial_end: Schema.optionalKey(
4223
+ Schema.Number.annotate({ format: "unix-time" }).check(
4224
+ Schema.isInt().annotate({ expected: "an integer" }),
4225
+ ),
4226
+ ),
4227
+ trial_period_days: Schema.optionalKey(Schema.Int),
4228
+ trial_settings: Schema.optionalKey(
4229
+ Schema.StructWithRest(
4230
+ Schema.Struct({
4231
+ end_behavior: Schema.StructWithRest(
4232
+ Schema.Struct({
4233
+ missing_payment_method: Schema.Literals([
4234
+ "cancel",
4235
+ "create_invoice",
4236
+ "pause",
4237
+ ]),
4238
+ }),
4239
+ [
4240
+ Schema.Record(
4241
+ Schema.String,
4242
+ Schema.Json.annotate({ expected: "JSON value" }),
4243
+ ),
4244
+ ],
4245
+ ).annotate({ title: "end_behavior" }),
4246
+ }),
4247
+ [
4248
+ Schema.Record(
4249
+ Schema.String,
4250
+ Schema.Json.annotate({ expected: "JSON value" }),
4251
+ ),
4252
+ ],
4253
+ ).annotate({ title: "trial_settings_config" }),
4254
+ ),
4255
+ }),
4256
+ [
4257
+ Schema.Record(
4258
+ Schema.String,
4259
+ Schema.Json.annotate({ expected: "JSON value" }),
4260
+ ),
4261
+ ],
4262
+ ).annotate({
4263
+ title: "subscription_data_params",
4264
+ description:
4265
+ "A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.",
4266
+ });
4267
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_20 =
4268
+ Schema.StructWithRest(
4269
+ Schema.Struct({
4270
+ enabled: Schema.Boolean,
4271
+ required: Schema.optionalKey(Schema.Literals(["if_supported", "never"])),
4272
+ }),
4273
+ [
4274
+ Schema.Record(
4275
+ Schema.String,
4276
+ Schema.Json.annotate({ expected: "JSON value" }),
4277
+ ),
4278
+ ],
4279
+ ).annotate({
4280
+ title: "tax_id_collection_params",
4281
+ description: "Controls tax ID collection during checkout.",
4282
+ });
4283
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_12 =
4284
+ Schema.Literals([
4285
+ "elements",
4286
+ "embedded_page",
4287
+ "form",
4288
+ "hosted_page",
4289
+ ]).annotate({
4290
+ description: "The UI mode of the Session. Defaults to `hosted_page`.",
4291
+ });
4292
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_21 =
4293
+ Schema.StructWithRest(
4294
+ Schema.Struct({
4295
+ link: Schema.optionalKey(
4296
+ Schema.StructWithRest(
4297
+ Schema.Struct({
4298
+ display: Schema.optionalKey(Schema.Literals(["auto", "never"])),
4299
+ }),
4300
+ [
4301
+ Schema.Record(
4302
+ Schema.String,
4303
+ Schema.Json.annotate({ expected: "JSON value" }),
4304
+ ),
4305
+ ],
4306
+ ).annotate({ title: "wallet_options_param" }),
4307
+ ),
4308
+ }),
4309
+ [
4310
+ Schema.Record(
4311
+ Schema.String,
4312
+ Schema.Json.annotate({ expected: "JSON value" }),
4313
+ ),
4314
+ ],
4315
+ ).annotate({
4316
+ title: "wallet_options_param",
4317
+ description: "Wallet-specific configuration.",
4318
+ });
4319
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_13 =
4320
+ Schema.Union([
4321
+ Schema.Union([
4322
+ ResourceReferenceSchema(
4323
+ Schema.Struct({
4324
+ provider: Schema.Literal("stripe"),
4325
+ service: Schema.Literal("billing"),
4326
+ resource: Schema.Literal("v1-account"),
4327
+ }),
4328
+ {
4329
+ value: null,
4330
+ outputs: [
4331
+ {
4332
+ source: ["V1AccountId"],
4333
+ target: [],
4334
+ },
4335
+ ],
4336
+ },
4337
+ ).annotate({ expected: "ResourceEntity" }),
4338
+ ]),
4339
+ ]);
4340
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_22 =
4341
+ Schema.StructWithRest(
4342
+ Schema.Struct({
4343
+ account: Schema.optionalKey(
4344
+ StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_13,
4345
+ ),
4346
+ type: StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives,
4347
+ }),
4348
+ [
4349
+ Schema.Record(
4350
+ Schema.String,
4351
+ Schema.Union([
4352
+ ResourceInputJsonSchema,
4353
+ StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_13,
4354
+ ]),
4355
+ ),
4356
+ ],
4357
+ ).annotate({ title: "param" });
4358
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_14 =
4359
+ Schema.Union([
4360
+ Schema.Union([
4361
+ ResourceReferenceSchema(
4362
+ Schema.Struct({
4363
+ provider: Schema.Literal("stripe"),
4364
+ service: Schema.Literal("billing"),
4365
+ resource: Schema.Literal("coupon"),
4366
+ }),
4367
+ {
4368
+ value: null,
4369
+ outputs: [
4370
+ {
4371
+ source: ["CouponId"],
4372
+ target: [],
4373
+ },
4374
+ ],
4375
+ },
4376
+ ).annotate({ expected: "ResourceEntity" }),
4377
+ ]),
4378
+ ]);
4379
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_15 =
4380
+ Schema.Union([
4381
+ Schema.Union([
4382
+ ResourceReferenceSchema(
4383
+ Schema.Struct({
4384
+ provider: Schema.Literal("stripe"),
4385
+ service: Schema.Literal("billing"),
4386
+ resource: Schema.Literal("promotion-code"),
4387
+ }),
4388
+ {
4389
+ value: null,
4390
+ outputs: [
4391
+ {
4392
+ source: ["PromotionCodeId"],
4393
+ target: [],
4394
+ },
4395
+ ],
4396
+ },
4397
+ ).annotate({ expected: "ResourceEntity" }),
4398
+ ]),
4399
+ ]);
4400
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_16 =
4401
+ Schema.Union([
4402
+ Schema.Array(
4403
+ Schema.Union([
4404
+ Schema.Union([
4405
+ ResourceReferenceSchema(
4406
+ Schema.Struct({
4407
+ provider: Schema.Literal("stripe"),
4408
+ service: Schema.Literal("billing"),
4409
+ resource: Schema.Literal("tax-id"),
4410
+ }),
4411
+ {
4412
+ value: null,
4413
+ outputs: [
4414
+ {
4415
+ source: ["TaxIdId"],
4416
+ target: [],
4417
+ },
4418
+ ],
4419
+ },
4420
+ ).annotate({ expected: "ResourceEntity" }),
4421
+ ]),
4422
+ ]),
4423
+ ),
4424
+ Schema.Literal(""),
4425
+ ]);
4426
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_17 =
4427
+ Schema.Union([
4428
+ Schema.Union([
4429
+ ResourceReferenceSchema(
4430
+ Schema.Struct({
4431
+ provider: Schema.Literal("stripe"),
4432
+ service: Schema.Literal("billing"),
4433
+ resource: Schema.Literal("v1-account"),
4434
+ }),
4435
+ {
4436
+ value: null,
4437
+ outputs: [
4438
+ {
4439
+ source: ["V1AccountId"],
4440
+ target: [],
4441
+ },
4442
+ ],
4443
+ },
4444
+ ).annotate({ expected: "ResourceEntity" }),
4445
+ ]),
4446
+ ]);
4447
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_24 =
4448
+ Schema.StructWithRest(
4449
+ Schema.Struct({
4450
+ account: Schema.optionalKey(
4451
+ StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_17,
4452
+ ),
4453
+ type: StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_4,
4454
+ }),
4455
+ [
4456
+ Schema.Record(
4457
+ Schema.String,
4458
+ Schema.Union([
4459
+ ResourceInputJsonSchema,
4460
+ StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_17,
4461
+ ]),
4462
+ ),
4463
+ ],
4464
+ ).annotate({ title: "param" });
4465
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputProperties_23 =
4466
+ Schema.StructWithRest(
4467
+ Schema.Struct({
4468
+ account_tax_ids: Schema.optionalKey(
4469
+ StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_16,
4470
+ ),
4471
+ custom_fields: Schema.optionalKey(
4472
+ StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_3,
4473
+ ),
4474
+ description: Schema.optionalKey(
4475
+ Schema.String.check(
4476
+ Schema.isMaxCodePoints(1500).annotate({
4477
+ expected: "a string with at most 1500 code points",
4478
+ }),
4479
+ ),
4480
+ ),
4481
+ footer: Schema.optionalKey(
4482
+ Schema.String.check(
4483
+ Schema.isMaxCodePoints(5000).annotate({
4484
+ expected: "a string with at most 5000 code points",
4485
+ }),
4486
+ ),
4487
+ ),
4488
+ issuer: Schema.optionalKey(
4489
+ StripeCheckoutSessionPropsSchemaInputResourceInputProperties_24,
4490
+ ),
4491
+ metadata: Schema.optionalKey(
4492
+ StripeCheckoutSessionPropsSchemaInputResourceInputProperties_6,
4493
+ ),
4494
+ rendering_options: Schema.optionalKey(
4495
+ StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_5,
4496
+ ),
4497
+ }),
4498
+ [
4499
+ Schema.Record(
4500
+ Schema.String,
4501
+ Schema.Union([
4502
+ ResourceInputJsonSchema,
4503
+ StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_16,
4504
+ StripeCheckoutSessionPropsSchemaInputResourceInputProperties_24,
4505
+ ]),
4506
+ ),
4507
+ ],
4508
+ ).annotate({ title: "invoice_data_params" });
4509
+ export const StripeCheckoutSessionPropsSchemaInputResourceInputAlternatives_18 =
4510
+ Schema.Union([
4511
+ Schema.Union([
4512
+ ResourceReferenceSchema(
4513
+ Schema.Struct({
4514
+ provider: Schema.Literal("stripe"),
4515
+ service: Schema.Literal("billing"),
4516
+ resource: Schema.Literal("shipping-rate"),
4517
+ }),
4518
+ {
4519
+ value: null,
4520
+ outputs: [
4521
+ {
4522
+ source: ["ShippingRateId"],
4523
+ target: [],
4524
+ },
4525
+ ],
4526
+ },
4527
+ ).annotate({ expected: "ResourceEntity" }),
4528
+ ]),
4529
+ ]);