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