nomoss 0.0.5 → 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 +16 -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
@@ -6,319 +6,63 @@ import {
6
6
  annotateResourceSchema,
7
7
  ResourceSchemaAnnotationSchema,
8
8
  } from "../../../../../core/resource/model.js";
9
+ import {
10
+ StripeV1AccountPropsSchemaInputResourceInputAlternatives,
11
+ StripeV1AccountPropsSchemaInputResourceInputAlternatives_1,
12
+ StripeV1AccountPropsSchemaInputResourceInputAlternatives_2,
13
+ StripeV1AccountPropsSchemaInputResourceInputAlternatives_3,
14
+ StripeV1AccountPropsSchemaInputResourceInputAlternatives_4,
15
+ StripeV1AccountPropsSchemaInputResourceInputAlternatives_5,
16
+ StripeV1AccountPropsSchemaInputResourceInputAlternatives_6,
17
+ StripeV1AccountPropsSchemaInputResourceInputAlternatives_7,
18
+ StripeV1AccountPropsSchemaInputResourceInputAlternatives_8,
19
+ StripeV1AccountPropsSchemaInputResourceInputAlternatives_9,
20
+ StripeV1AccountPropsSchemaInputResourceInputAlternatives_10,
21
+ StripeV1AccountPropsSchemaInputResourceInputItems,
22
+ StripeV1AccountPropsSchemaInputResourceInputProperties,
23
+ StripeV1AccountPropsSchemaInputResourceInputProperties_1,
24
+ StripeV1AccountPropsSchemaInputResourceInputProperties_2,
25
+ StripeV1AccountPropsSchemaInputResourceInputProperties_3,
26
+ StripeV1AccountPropsSchemaInputResourceInputProperties_4,
27
+ StripeV1AccountPropsSchemaInputResourceInputProperties_5,
28
+ StripeV1AccountPropsSchemaInputResourceInputProperties_6,
29
+ StripeV1AccountPropsSchemaInputResourceInputProperties_7,
30
+ StripeV1AccountPropsSchemaInputResourceInputProperties_8,
31
+ StripeV1AccountPropsSchemaInputResourceInputProperties_9,
32
+ StripeV1AccountPropsSchemaInputResourceInputProperties_10,
33
+ StripeV1AccountPropsSchemaInputResourceInputProperties_11,
34
+ StripeV1AccountPropsSchemaInputResourceInputProperties_12,
35
+ StripeV1AccountPropsSchemaInputResourceInputProperties_13,
36
+ StripeV1AccountPropsSchemaInputResourceInputProperties_14,
37
+ StripeV1AccountPropsSchemaInputResourceInputProperties_15,
38
+ StripeV1AccountPropsSchemaInputResourceInputProperties_16,
39
+ StripeV1AccountPropsSchemaInputResourceInputProperties_17,
40
+ StripeV1AccountPropsSchemaInputResourceInputProperties_18,
41
+ StripeV1AccountPropsSchemaInputResourceInputProperties_19,
42
+ StripeV1AccountPropsSchemaInputResourceInputProperties_20,
43
+ StripeV1AccountPropsSchemaInputResourceInputProperties_21,
44
+ StripeV1AccountPropsSchemaInputResourceInputProperties_22,
45
+ StripeV1AccountPropsSchemaInputResourceInputProperties_23,
46
+ StripeV1AccountPropsSchemaInputResourceInputProperties_24,
47
+ StripeV1AccountPropsSchemaInputResourceInputProperties_25,
48
+ StripeV1AccountPropsSchemaInputResourceInputProperties_26,
49
+ StripeV1AccountPropsSchemaInputResourceInputProperties_27,
50
+ StripeV1AccountPropsSchemaInputResourceInputProperties_28,
51
+ } from "./StripeV1AccountPropsValidators.js";
9
52
 
10
53
  export type StripeV1AccountProps = {
11
54
  readonly account_token?: string;
12
- readonly bank_account?:
13
- | ({
14
- readonly account_holder_name?: string;
15
- readonly account_holder_type?: "company" | "individual";
16
- readonly account_number: string;
17
- readonly account_type?: "checking" | "futsu" | "savings" | "toza";
18
- readonly country: string;
19
- readonly currency?: string;
20
- readonly documents?: {
21
- readonly bank_account_ownership_verification?: {
22
- readonly files?: ReadonlyArray<string>;
23
- } & { readonly [x: string]: Schema.Json };
24
- } & { readonly [x: string]: Schema.Json };
25
- readonly object?: "bank_account";
26
- readonly routing_number?: string;
27
- } & { readonly [x: string]: Schema.Json })
28
- | string;
29
- readonly business_profile?: {
30
- readonly annual_revenue?: {
31
- readonly amount: number;
32
- readonly currency: string;
33
- readonly fiscal_year_end: string;
34
- } & { readonly [x: string]: Schema.Json };
35
- readonly estimated_worker_count?: number;
36
- readonly mcc?: string;
37
- readonly minority_owned_business_designation?: ReadonlyArray<
38
- | "lgbtqi_owned_business"
39
- | "minority_owned_business"
40
- | "none_of_these_apply"
41
- | "prefer_not_to_answer"
42
- | "women_owned_business"
43
- >;
44
- readonly monthly_estimated_revenue?: {
45
- readonly amount: number;
46
- readonly currency: string;
47
- } & { readonly [x: string]: Schema.Json };
48
- readonly name?: string;
49
- readonly product_description?: string;
50
- readonly specified_commercial_transactions_act_url?: string | "";
51
- readonly support_address?: {
52
- readonly city?: string;
53
- readonly country?: string;
54
- readonly line1?: string;
55
- readonly line2?: string;
56
- readonly postal_code?: string;
57
- readonly state?: string;
58
- } & { readonly [x: string]: Schema.Json };
59
- readonly support_email?: string;
60
- readonly support_phone?: string;
61
- readonly support_url?: string | "";
62
- readonly url?: string;
63
- } & { readonly [x: string]: Schema.Json };
64
- readonly business_type?:
65
- | "company"
66
- | "government_entity"
67
- | "individual"
68
- | "non_profit";
69
- readonly capabilities?: {
70
- readonly acss_debit_payments?: { readonly requested?: boolean } & {
71
- readonly [x: string]: Schema.Json;
72
- };
73
- readonly affirm_payments?: { readonly requested?: boolean } & {
74
- readonly [x: string]: Schema.Json;
75
- };
76
- readonly afterpay_clearpay_payments?: { readonly requested?: boolean } & {
77
- readonly [x: string]: Schema.Json;
78
- };
79
- readonly alma_payments?: { readonly requested?: boolean } & {
80
- readonly [x: string]: Schema.Json;
81
- };
82
- readonly amazon_pay_payments?: { readonly requested?: boolean } & {
83
- readonly [x: string]: Schema.Json;
84
- };
85
- readonly app_distribution?: { readonly requested?: boolean } & {
86
- readonly [x: string]: Schema.Json;
87
- };
88
- readonly au_becs_debit_payments?: { readonly requested?: boolean } & {
89
- readonly [x: string]: Schema.Json;
90
- };
91
- readonly bacs_debit_payments?: { readonly requested?: boolean } & {
92
- readonly [x: string]: Schema.Json;
93
- };
94
- readonly bancontact_payments?: { readonly requested?: boolean } & {
95
- readonly [x: string]: Schema.Json;
96
- };
97
- readonly bank_transfer_payments?: { readonly requested?: boolean } & {
98
- readonly [x: string]: Schema.Json;
99
- };
100
- readonly billie_payments?: { readonly requested?: boolean } & {
101
- readonly [x: string]: Schema.Json;
102
- };
103
- readonly bizum_payments?: { readonly requested?: boolean } & {
104
- readonly [x: string]: Schema.Json;
105
- };
106
- readonly blik_payments?: { readonly requested?: boolean } & {
107
- readonly [x: string]: Schema.Json;
108
- };
109
- readonly blik_recurring_payments?: { readonly requested?: boolean } & {
110
- readonly [x: string]: Schema.Json;
111
- };
112
- readonly boleto_payments?: { readonly requested?: boolean } & {
113
- readonly [x: string]: Schema.Json;
114
- };
115
- readonly card_issuing?: { readonly requested?: boolean } & {
116
- readonly [x: string]: Schema.Json;
117
- };
118
- readonly card_payments?: { readonly requested?: boolean } & {
119
- readonly [x: string]: Schema.Json;
120
- };
121
- readonly cartes_bancaires_payments?: { readonly requested?: boolean } & {
122
- readonly [x: string]: Schema.Json;
123
- };
124
- readonly cashapp_payments?: { readonly requested?: boolean } & {
125
- readonly [x: string]: Schema.Json;
126
- };
127
- readonly crypto_payments?: { readonly requested?: boolean } & {
128
- readonly [x: string]: Schema.Json;
129
- };
130
- readonly eps_payments?: { readonly requested?: boolean } & {
131
- readonly [x: string]: Schema.Json;
132
- };
133
- readonly fpx_payments?: { readonly requested?: boolean } & {
134
- readonly [x: string]: Schema.Json;
135
- };
136
- readonly gb_bank_transfer_payments?: { readonly requested?: boolean } & {
137
- readonly [x: string]: Schema.Json;
138
- };
139
- readonly giropay_payments?: { readonly requested?: boolean } & {
140
- readonly [x: string]: Schema.Json;
141
- };
142
- readonly grabpay_payments?: { readonly requested?: boolean } & {
143
- readonly [x: string]: Schema.Json;
144
- };
145
- readonly ideal_payments?: { readonly requested?: boolean } & {
146
- readonly [x: string]: Schema.Json;
147
- };
148
- readonly india_international_payments?: { readonly requested?: boolean } & {
149
- readonly [x: string]: Schema.Json;
150
- };
151
- readonly jcb_payments?: { readonly requested?: boolean } & {
152
- readonly [x: string]: Schema.Json;
153
- };
154
- readonly jp_bank_transfer_payments?: { readonly requested?: boolean } & {
155
- readonly [x: string]: Schema.Json;
156
- };
157
- readonly kakao_pay_payments?: { readonly requested?: boolean } & {
158
- readonly [x: string]: Schema.Json;
159
- };
160
- readonly klarna_payments?: { readonly requested?: boolean } & {
161
- readonly [x: string]: Schema.Json;
162
- };
163
- readonly konbini_payments?: { readonly requested?: boolean } & {
164
- readonly [x: string]: Schema.Json;
165
- };
166
- readonly kr_card_payments?: { readonly requested?: boolean } & {
167
- readonly [x: string]: Schema.Json;
168
- };
169
- readonly legacy_payments?: { readonly requested?: boolean } & {
170
- readonly [x: string]: Schema.Json;
171
- };
172
- readonly link_payments?: { readonly requested?: boolean } & {
173
- readonly [x: string]: Schema.Json;
174
- };
175
- readonly mb_way_payments?: { readonly requested?: boolean } & {
176
- readonly [x: string]: Schema.Json;
177
- };
178
- readonly mobilepay_payments?: { readonly requested?: boolean } & {
179
- readonly [x: string]: Schema.Json;
180
- };
181
- readonly multibanco_payments?: { readonly requested?: boolean } & {
182
- readonly [x: string]: Schema.Json;
183
- };
184
- readonly mx_bank_transfer_payments?: { readonly requested?: boolean } & {
185
- readonly [x: string]: Schema.Json;
186
- };
187
- readonly naver_pay_payments?: { readonly requested?: boolean } & {
188
- readonly [x: string]: Schema.Json;
189
- };
190
- readonly nz_bank_account_becs_debit_payments?: {
191
- readonly requested?: boolean;
192
- } & { readonly [x: string]: Schema.Json };
193
- readonly oxxo_payments?: { readonly requested?: boolean } & {
194
- readonly [x: string]: Schema.Json;
195
- };
196
- readonly p24_payments?: { readonly requested?: boolean } & {
197
- readonly [x: string]: Schema.Json;
198
- };
199
- readonly pay_by_bank_payments?: { readonly requested?: boolean } & {
200
- readonly [x: string]: Schema.Json;
201
- };
202
- readonly payco_payments?: { readonly requested?: boolean } & {
203
- readonly [x: string]: Schema.Json;
204
- };
205
- readonly paynow_payments?: { readonly requested?: boolean } & {
206
- readonly [x: string]: Schema.Json;
207
- };
208
- readonly paypay_payments?: { readonly requested?: boolean } & {
209
- readonly [x: string]: Schema.Json;
210
- };
211
- readonly payto_payments?: { readonly requested?: boolean } & {
212
- readonly [x: string]: Schema.Json;
213
- };
214
- readonly pix_payments?: { readonly requested?: boolean } & {
215
- readonly [x: string]: Schema.Json;
216
- };
217
- readonly promptpay_payments?: { readonly requested?: boolean } & {
218
- readonly [x: string]: Schema.Json;
219
- };
220
- readonly revolut_pay_payments?: { readonly requested?: boolean } & {
221
- readonly [x: string]: Schema.Json;
222
- };
223
- readonly samsung_pay_payments?: { readonly requested?: boolean } & {
224
- readonly [x: string]: Schema.Json;
225
- };
226
- readonly satispay_payments?: { readonly requested?: boolean } & {
227
- readonly [x: string]: Schema.Json;
228
- };
229
- readonly scalapay_payments?: { readonly requested?: boolean } & {
230
- readonly [x: string]: Schema.Json;
231
- };
232
- readonly sepa_bank_transfer_payments?: { readonly requested?: boolean } & {
233
- readonly [x: string]: Schema.Json;
234
- };
235
- readonly sepa_debit_payments?: { readonly requested?: boolean } & {
236
- readonly [x: string]: Schema.Json;
237
- };
238
- readonly sequra_payments?: { readonly requested?: boolean } & {
239
- readonly [x: string]: Schema.Json;
240
- };
241
- readonly sofort_payments?: { readonly requested?: boolean } & {
242
- readonly [x: string]: Schema.Json;
243
- };
244
- readonly sunbit_payments?: { readonly requested?: boolean } & {
245
- readonly [x: string]: Schema.Json;
246
- };
247
- readonly swish_payments?: { readonly requested?: boolean } & {
248
- readonly [x: string]: Schema.Json;
249
- };
250
- readonly tax_reporting_us_1099_k?: { readonly requested?: boolean } & {
251
- readonly [x: string]: Schema.Json;
252
- };
253
- readonly tax_reporting_us_1099_misc?: { readonly requested?: boolean } & {
254
- readonly [x: string]: Schema.Json;
255
- };
256
- readonly transfers?: { readonly requested?: boolean } & {
257
- readonly [x: string]: Schema.Json;
258
- };
259
- readonly treasury?: { readonly requested?: boolean } & {
260
- readonly [x: string]: Schema.Json;
261
- };
262
- readonly twint_payments?: { readonly requested?: boolean } & {
263
- readonly [x: string]: Schema.Json;
264
- };
265
- readonly upi_payments?: { readonly requested?: boolean } & {
266
- readonly [x: string]: Schema.Json;
267
- };
268
- readonly us_bank_account_ach_payments?: { readonly requested?: boolean } & {
269
- readonly [x: string]: Schema.Json;
270
- };
271
- readonly us_bank_transfer_payments?: { readonly requested?: boolean } & {
272
- readonly [x: string]: Schema.Json;
273
- };
274
- readonly wero_payments?: { readonly requested?: boolean } & {
275
- readonly [x: string]: Schema.Json;
276
- };
277
- readonly zip_payments?: { readonly requested?: boolean } & {
278
- readonly [x: string]: Schema.Json;
279
- };
280
- } & { readonly [x: string]: Schema.Json };
55
+ readonly bank_account?: StripeV1AccountPropsSchemaInputResourceInputAlternatives;
56
+ readonly business_profile?: StripeV1AccountPropsSchemaInputResourceInputProperties;
57
+ readonly business_type?: StripeV1AccountPropsSchemaInputResourceInputAlternatives_1;
58
+ readonly capabilities?: StripeV1AccountPropsSchemaInputResourceInputProperties_1;
281
59
  readonly company?: {
282
- readonly address?: {
283
- readonly city?: string;
284
- readonly country?: string;
285
- readonly line1?: string;
286
- readonly line2?: string;
287
- readonly postal_code?: string;
288
- readonly state?: string;
289
- } & { readonly [x: string]: Schema.Json };
290
- readonly address_kana?: {
291
- readonly city?: string;
292
- readonly country?: string;
293
- readonly line1?: string;
294
- readonly line2?: string;
295
- readonly postal_code?: string;
296
- readonly state?: string;
297
- readonly town?: string;
298
- } & { readonly [x: string]: Schema.Json };
299
- readonly address_kanji?: {
300
- readonly city?: string;
301
- readonly country?: string;
302
- readonly line1?: string;
303
- readonly line2?: string;
304
- readonly postal_code?: string;
305
- readonly state?: string;
306
- readonly town?: string;
307
- } & { readonly [x: string]: Schema.Json };
308
- readonly administrative_address?: {
309
- readonly city?: string;
310
- readonly country?: string;
311
- readonly line1?: string;
312
- readonly line2?: string;
313
- readonly postal_code?: string;
314
- readonly state?: string;
315
- } & { readonly [x: string]: Schema.Json };
60
+ readonly address?: StripeV1AccountPropsSchemaInputResourceInputProperties_2;
61
+ readonly address_kana?: StripeV1AccountPropsSchemaInputResourceInputProperties_3;
62
+ readonly address_kanji?: StripeV1AccountPropsSchemaInputResourceInputProperties_4;
63
+ readonly administrative_address?: StripeV1AccountPropsSchemaInputResourceInputProperties_5;
316
64
  readonly directors_provided?: boolean;
317
- readonly directorship_declaration?: {
318
- readonly date?: number;
319
- readonly ip?: string;
320
- readonly user_agent?: string;
321
- } & { readonly [x: string]: Schema.Json };
65
+ readonly directorship_declaration?: StripeV1AccountPropsSchemaInputResourceInputProperties_6;
322
66
  readonly executives_provided?: boolean;
323
67
  readonly export_license_id?: string;
324
68
  readonly export_purpose_code?: string;
@@ -326,70 +70,15 @@ export type StripeV1AccountProps = {
326
70
  readonly name_kana?: string;
327
71
  readonly name_kanji?: string;
328
72
  readonly owners_provided?: boolean;
329
- readonly ownership_declaration?: {
330
- readonly date?: number;
331
- readonly ip?: string;
332
- readonly user_agent?: string;
333
- } & { readonly [x: string]: Schema.Json };
334
- readonly ownership_exemption_reason?:
335
- | ""
336
- | "qualified_entity_exceeds_ownership_threshold"
337
- | "qualifies_as_financial_institution";
73
+ readonly ownership_declaration?: StripeV1AccountPropsSchemaInputResourceInputProperties_7;
74
+ readonly ownership_exemption_reason?: StripeV1AccountPropsSchemaInputResourceInputAlternatives_2;
338
75
  readonly phone?: string;
339
- readonly physical_address?: {
340
- readonly city?: string;
341
- readonly country?: string;
342
- readonly line1?: string;
343
- readonly line2?: string;
344
- readonly postal_code?: string;
345
- readonly state?: string;
346
- } & { readonly [x: string]: Schema.Json };
347
- readonly principal_place_of_business?: {
348
- readonly city?: string;
349
- readonly country?: string;
350
- readonly line1?: string;
351
- readonly line2?: string;
352
- readonly postal_code?: string;
353
- readonly state?: string;
354
- } & { readonly [x: string]: Schema.Json };
355
- readonly registration_date?:
356
- | ({
357
- readonly day: number;
358
- readonly month: number;
359
- readonly year: number;
360
- } & { readonly [x: string]: Schema.Json })
361
- | "";
76
+ readonly physical_address?: StripeV1AccountPropsSchemaInputResourceInputProperties_8;
77
+ readonly principal_place_of_business?: StripeV1AccountPropsSchemaInputResourceInputProperties_9;
78
+ readonly registration_date?: StripeV1AccountPropsSchemaInputResourceInputAlternatives_3;
362
79
  readonly registration_number?: string;
363
- readonly representative_declaration?: {
364
- readonly date?: number;
365
- readonly ip?: string;
366
- readonly user_agent?: string;
367
- } & { readonly [x: string]: Schema.Json };
368
- readonly structure?:
369
- | ""
370
- | "free_zone_establishment"
371
- | "free_zone_llc"
372
- | "government_instrumentality"
373
- | "governmental_unit"
374
- | "incorporated_non_profit"
375
- | "incorporated_partnership"
376
- | "limited_liability_partnership"
377
- | "llc"
378
- | "multi_member_llc"
379
- | "private_company"
380
- | "private_corporation"
381
- | "private_partnership"
382
- | "public_company"
383
- | "public_corporation"
384
- | "public_partnership"
385
- | "registered_charity"
386
- | "single_member_llc"
387
- | "sole_establishment"
388
- | "sole_proprietorship"
389
- | "tax_exempt_government_instrumentality"
390
- | "unincorporated_association"
391
- | "unincorporated_non_profit"
392
- | "unincorporated_partnership";
80
+ readonly representative_declaration?: StripeV1AccountPropsSchemaInputResourceInputProperties_10;
81
+ readonly structure?: StripeV1AccountPropsSchemaInputResourceInputAlternatives_4;
393
82
  readonly tax_id?: string;
394
83
  readonly tax_id_registrar?: string;
395
84
  readonly vat_id?: string;
@@ -400,97 +89,24 @@ export type StripeV1AccountProps = {
400
89
  } & { readonly [x: string]: Schema.Json };
401
90
  } & { readonly [x: string]: Schema.Json };
402
91
  } & { readonly [x: string]: Schema.Json };
403
- readonly controller?: {
404
- readonly fees?: { readonly payer?: "account" | "application" } & {
405
- readonly [x: string]: Schema.Json;
406
- };
407
- readonly losses?: { readonly payments?: "application" | "stripe" } & {
408
- readonly [x: string]: Schema.Json;
409
- };
410
- readonly requirement_collection?: "application" | "stripe";
411
- readonly stripe_dashboard?: {
412
- readonly type?: "express" | "full" | "none";
413
- } & { readonly [x: string]: Schema.Json };
414
- } & { readonly [x: string]: Schema.Json };
92
+ readonly controller?: StripeV1AccountPropsSchemaInputResourceInputProperties_11;
415
93
  readonly country?: string;
416
94
  readonly default_currency?: string;
417
- readonly documents?: {
418
- readonly bank_account_ownership_verification?: {
419
- readonly files?: ReadonlyArray<string>;
420
- } & { readonly [x: string]: Schema.Json };
421
- readonly company_license?: { readonly files?: ReadonlyArray<string> } & {
422
- readonly [x: string]: Schema.Json;
423
- };
424
- readonly company_memorandum_of_association?: {
425
- readonly files?: ReadonlyArray<string>;
426
- } & { readonly [x: string]: Schema.Json };
427
- readonly company_ministerial_decree?: {
428
- readonly files?: ReadonlyArray<string>;
429
- } & { readonly [x: string]: Schema.Json };
430
- readonly company_registration_verification?: {
431
- readonly files?: ReadonlyArray<string>;
432
- } & { readonly [x: string]: Schema.Json };
433
- readonly company_tax_id_verification?: {
434
- readonly files?: ReadonlyArray<string>;
435
- } & { readonly [x: string]: Schema.Json };
436
- readonly proof_of_address?: { readonly files?: ReadonlyArray<string> } & {
437
- readonly [x: string]: Schema.Json;
438
- };
439
- readonly proof_of_business_presence?: {
440
- readonly files?: ReadonlyArray<string>;
441
- } & { readonly [x: string]: Schema.Json };
442
- readonly proof_of_ultimate_beneficial_ownership?: {
443
- readonly files?: ReadonlyArray<string>;
444
- readonly signer?: { readonly person?: string } & {
445
- readonly [x: string]: Schema.Json;
446
- };
447
- } & { readonly [x: string]: Schema.Json };
448
- } & { readonly [x: string]: Schema.Json };
95
+ readonly documents?: StripeV1AccountPropsSchemaInputResourceInputProperties_12;
449
96
  readonly email?: string;
450
- readonly expand?: ReadonlyArray<string>;
97
+ readonly expand?: StripeV1AccountPropsSchemaInputResourceInputItems;
451
98
  readonly external_account?: string;
452
- readonly groups?: { readonly payments_pricing?: string | "" } & {
453
- readonly [x: string]: Schema.Json;
454
- };
99
+ readonly groups?: StripeV1AccountPropsSchemaInputResourceInputProperties_13;
455
100
  readonly individual?: {
456
- readonly address?: {
457
- readonly city?: string;
458
- readonly country?: string;
459
- readonly line1?: string;
460
- readonly line2?: string;
461
- readonly postal_code?: string;
462
- readonly state?: string;
463
- } & { readonly [x: string]: Schema.Json };
464
- readonly address_kana?: {
465
- readonly city?: string;
466
- readonly country?: string;
467
- readonly line1?: string;
468
- readonly line2?: string;
469
- readonly postal_code?: string;
470
- readonly state?: string;
471
- readonly town?: string;
472
- } & { readonly [x: string]: Schema.Json };
473
- readonly address_kanji?: {
474
- readonly city?: string;
475
- readonly country?: string;
476
- readonly line1?: string;
477
- readonly line2?: string;
478
- readonly postal_code?: string;
479
- readonly state?: string;
480
- readonly town?: string;
481
- } & { readonly [x: string]: Schema.Json };
482
- readonly dob?:
483
- | ({
484
- readonly day: number;
485
- readonly month: number;
486
- readonly year: number;
487
- } & { readonly [x: string]: Schema.Json })
488
- | "";
101
+ readonly address?: StripeV1AccountPropsSchemaInputResourceInputProperties_14;
102
+ readonly address_kana?: StripeV1AccountPropsSchemaInputResourceInputProperties_15;
103
+ readonly address_kanji?: StripeV1AccountPropsSchemaInputResourceInputProperties_16;
104
+ readonly dob?: StripeV1AccountPropsSchemaInputResourceInputAlternatives_5;
489
105
  readonly email?: string;
490
106
  readonly first_name?: string;
491
107
  readonly first_name_kana?: string;
492
108
  readonly first_name_kanji?: string;
493
- readonly full_name_aliases?: ReadonlyArray<string> | "";
109
+ readonly full_name_aliases?: StripeV1AccountPropsSchemaInputResourceInputAlternatives_6;
494
110
  readonly gender?: string;
495
111
  readonly id_number?: string;
496
112
  readonly id_number_secondary?: string;
@@ -498,24 +114,11 @@ export type StripeV1AccountProps = {
498
114
  readonly last_name_kana?: string;
499
115
  readonly last_name_kanji?: string;
500
116
  readonly maiden_name?: string;
501
- readonly metadata?: { readonly [x: string]: string } | "";
117
+ readonly metadata?: StripeV1AccountPropsSchemaInputResourceInputAlternatives_7;
502
118
  readonly phone?: string;
503
- readonly political_exposure?: "existing" | "none";
504
- readonly registered_address?: {
505
- readonly city?: string;
506
- readonly country?: string;
507
- readonly line1?: string;
508
- readonly line2?: string;
509
- readonly postal_code?: string;
510
- readonly state?: string;
511
- } & { readonly [x: string]: Schema.Json };
512
- readonly relationship?: {
513
- readonly director?: boolean;
514
- readonly executive?: boolean;
515
- readonly owner?: boolean;
516
- readonly percent_ownership?: number | "";
517
- readonly title?: string;
518
- } & { readonly [x: string]: Schema.Json };
119
+ readonly political_exposure?: StripeV1AccountPropsSchemaInputResourceInputAlternatives_8;
120
+ readonly registered_address?: StripeV1AccountPropsSchemaInputResourceInputProperties_17;
121
+ readonly relationship?: StripeV1AccountPropsSchemaInputResourceInputProperties_18;
519
122
  readonly ssn_last_4?: string;
520
123
  readonly verification?: {
521
124
  readonly additional_document?: {
@@ -528,95 +131,26 @@ export type StripeV1AccountProps = {
528
131
  } & { readonly [x: string]: Schema.Json };
529
132
  } & { readonly [x: string]: Schema.Json };
530
133
  } & { readonly [x: string]: Schema.Json };
531
- readonly metadata?: { readonly [x: string]: string } | "";
134
+ readonly metadata?: StripeV1AccountPropsSchemaInputResourceInputAlternatives_9;
532
135
  readonly settings?: {
533
- readonly bacs_debit_payments?: { readonly display_name?: string } & {
534
- readonly [x: string]: Schema.Json;
535
- };
136
+ readonly bacs_debit_payments?: StripeV1AccountPropsSchemaInputResourceInputProperties_19;
536
137
  readonly branding?: {
537
138
  readonly icon?: string;
538
139
  readonly logo?: string;
539
140
  readonly primary_color?: string;
540
141
  readonly secondary_color?: string;
541
142
  } & { readonly [x: string]: Schema.Json };
542
- readonly card_issuing?: {
543
- readonly tos_acceptance?: {
544
- readonly date?: number;
545
- readonly ip?: string;
546
- readonly user_agent?: string | "";
547
- } & { readonly [x: string]: Schema.Json };
548
- } & { readonly [x: string]: Schema.Json };
549
- readonly card_payments?: {
550
- readonly decline_on?: {
551
- readonly avs_failure?: boolean;
552
- readonly cvc_failure?: boolean;
553
- } & { readonly [x: string]: Schema.Json };
554
- readonly statement_descriptor_prefix?: string;
555
- readonly statement_descriptor_prefix_kana?: string | "";
556
- readonly statement_descriptor_prefix_kanji?: string | "";
557
- } & { readonly [x: string]: Schema.Json };
558
- readonly invoices?: {
559
- readonly hosted_payment_method_save?: "always" | "never" | "offer";
560
- } & { readonly [x: string]: Schema.Json };
561
- readonly payments?: {
562
- readonly statement_descriptor?: string;
563
- readonly statement_descriptor_kana?: string;
564
- readonly statement_descriptor_kanji?: string;
565
- } & { readonly [x: string]: Schema.Json };
566
- readonly payouts?: {
567
- readonly debit_negative_balances?: boolean;
568
- readonly schedule?: {
569
- readonly delay_days?: "minimum" | number;
570
- readonly interval?: "daily" | "manual" | "monthly" | "weekly";
571
- readonly monthly_anchor?: number;
572
- readonly monthly_payout_days?: ReadonlyArray<number>;
573
- readonly weekly_anchor?:
574
- | "friday"
575
- | "monday"
576
- | "saturday"
577
- | "sunday"
578
- | "thursday"
579
- | "tuesday"
580
- | "wednesday";
581
- readonly weekly_payout_days?: ReadonlyArray<
582
- "friday" | "monday" | "thursday" | "tuesday" | "wednesday"
583
- >;
584
- } & { readonly [x: string]: Schema.Json };
585
- readonly statement_descriptor?: string;
586
- } & { readonly [x: string]: Schema.Json };
587
- readonly paypay_payments?: {
588
- readonly additional_files?: ReadonlyArray<string>;
589
- readonly goods_type?: "digital_content" | "other";
590
- readonly site?: {
591
- readonly accessible?: { readonly [x: string]: Schema.Json };
592
- readonly in_development?: {
593
- readonly password: string;
594
- readonly username?: string;
595
- } & { readonly [x: string]: Schema.Json };
596
- readonly restricted?: { readonly payment_flow_file?: string } & {
597
- readonly [x: string]: Schema.Json;
598
- };
599
- readonly type?: "accessible" | "in_development" | "restricted";
600
- } & { readonly [x: string]: Schema.Json };
601
- } & { readonly [x: string]: Schema.Json };
602
- readonly sepa_debit_payments?: { readonly creditor_id?: string } & {
603
- readonly [x: string]: Schema.Json;
604
- };
605
- readonly treasury?: {
606
- readonly tos_acceptance?: {
607
- readonly date?: number;
608
- readonly ip?: string;
609
- readonly user_agent?: string | "";
610
- } & { readonly [x: string]: Schema.Json };
611
- } & { readonly [x: string]: Schema.Json };
143
+ readonly card_issuing?: StripeV1AccountPropsSchemaInputResourceInputProperties_20;
144
+ readonly card_payments?: StripeV1AccountPropsSchemaInputResourceInputProperties_21;
145
+ readonly invoices?: StripeV1AccountPropsSchemaInputResourceInputProperties_22;
146
+ readonly payments?: StripeV1AccountPropsSchemaInputResourceInputProperties_23;
147
+ readonly payouts?: StripeV1AccountPropsSchemaInputResourceInputProperties_24;
148
+ readonly paypay_payments?: StripeV1AccountPropsSchemaInputResourceInputProperties_25;
149
+ readonly sepa_debit_payments?: StripeV1AccountPropsSchemaInputResourceInputProperties_26;
150
+ readonly treasury?: StripeV1AccountPropsSchemaInputResourceInputProperties_27;
612
151
  } & { readonly [x: string]: Schema.Json };
613
- readonly tos_acceptance?: {
614
- readonly date?: number;
615
- readonly ip?: string;
616
- readonly service_agreement?: string;
617
- readonly user_agent?: string;
618
- } & { readonly [x: string]: Schema.Json };
619
- readonly type?: "custom" | "express" | "standard";
152
+ readonly tos_acceptance?: StripeV1AccountPropsSchemaInputResourceInputProperties_28;
153
+ readonly type?: StripeV1AccountPropsSchemaInputResourceInputAlternatives_10;
620
154
  };
621
155
 
622
156
  export const StripeV1AccountResourceSchema =
@@ -641,211 +175,157 @@ export const StripeV1AccountPropsSchema = annotateResourceSchema(
641
175
  ),
642
176
  ),
643
177
  bank_account: Schema.optionalKey(
644
- Schema.Union([
645
- Schema.StructWithRest(
646
- Schema.Struct({
647
- account_holder_name: Schema.optionalKey(
648
- Schema.String.check(
649
- Schema.isMaxCodePoints(5000).annotate({
650
- expected: "a string with at most 5000 code points",
651
- }),
652
- ),
653
- ),
654
- account_holder_type: Schema.optionalKey(
655
- Schema.Literals(["company", "individual"]),
656
- ),
657
- account_number: Schema.String.check(
178
+ StripeV1AccountPropsSchemaInputResourceInputAlternatives,
179
+ ),
180
+ business_profile: Schema.optionalKey(
181
+ StripeV1AccountPropsSchemaInputResourceInputProperties,
182
+ ),
183
+ business_type: Schema.optionalKey(
184
+ StripeV1AccountPropsSchemaInputResourceInputAlternatives_1,
185
+ ),
186
+ capabilities: Schema.optionalKey(
187
+ StripeV1AccountPropsSchemaInputResourceInputProperties_1,
188
+ ),
189
+ company: Schema.optionalKey(
190
+ Schema.StructWithRest(
191
+ Schema.Struct({
192
+ address: Schema.optionalKey(
193
+ StripeV1AccountPropsSchemaInputResourceInputProperties_2,
194
+ ),
195
+ address_kana: Schema.optionalKey(
196
+ StripeV1AccountPropsSchemaInputResourceInputProperties_3,
197
+ ),
198
+ address_kanji: Schema.optionalKey(
199
+ StripeV1AccountPropsSchemaInputResourceInputProperties_4,
200
+ ),
201
+ administrative_address: Schema.optionalKey(
202
+ StripeV1AccountPropsSchemaInputResourceInputProperties_5,
203
+ ),
204
+ directors_provided: Schema.optionalKey(Schema.Boolean),
205
+ directorship_declaration: Schema.optionalKey(
206
+ StripeV1AccountPropsSchemaInputResourceInputProperties_6,
207
+ ),
208
+ executives_provided: Schema.optionalKey(Schema.Boolean),
209
+ export_license_id: Schema.optionalKey(
210
+ Schema.String.check(
658
211
  Schema.isMaxCodePoints(5000).annotate({
659
212
  expected: "a string with at most 5000 code points",
660
213
  }),
661
214
  ),
662
- account_type: Schema.optionalKey(
663
- Schema.Literals(["checking", "futsu", "savings", "toza"]),
664
- ),
665
- country: Schema.String.check(
215
+ ),
216
+ export_purpose_code: Schema.optionalKey(
217
+ Schema.String.check(
666
218
  Schema.isMaxCodePoints(5000).annotate({
667
219
  expected: "a string with at most 5000 code points",
668
220
  }),
669
221
  ),
670
- currency: Schema.optionalKey(
671
- Schema.String.annotate({ format: "currency" }),
672
- ),
673
- documents: Schema.optionalKey(
674
- Schema.StructWithRest(
675
- Schema.Struct({
676
- bank_account_ownership_verification: Schema.optionalKey(
677
- Schema.StructWithRest(
678
- Schema.Struct({
679
- files: Schema.optionalKey(
680
- Schema.Array(
681
- Schema.String.check(
682
- Schema.isMaxCodePoints(500).annotate({
683
- expected:
684
- "a string with at most 500 code points",
685
- }),
686
- ),
687
- ),
688
- ),
689
- }),
690
- [
691
- Schema.Record(
692
- Schema.String,
693
- Schema.Json.annotate({ expected: "JSON value" }),
694
- ),
695
- ],
696
- ).annotate({ title: "documents_param" }),
697
- ),
698
- }),
699
- [
700
- Schema.Record(
701
- Schema.String,
702
- Schema.Json.annotate({ expected: "JSON value" }),
703
- ),
704
- ],
705
- ).annotate({ title: "external_account_documents_param" }),
706
- ),
707
- object: Schema.optionalKey(Schema.Literal("bank_account")),
708
- routing_number: Schema.optionalKey(
709
- Schema.String.check(
710
- Schema.isMaxCodePoints(5000).annotate({
711
- expected: "a string with at most 5000 code points",
712
- }),
713
- ),
714
- ),
715
- }),
716
- [
717
- Schema.Record(
718
- Schema.String,
719
- Schema.Json.annotate({ expected: "JSON value" }),
222
+ ),
223
+ name: Schema.optionalKey(
224
+ Schema.String.check(
225
+ Schema.isMaxCodePoints(200).annotate({
226
+ expected: "a string with at most 200 code points",
227
+ }),
720
228
  ),
721
- ],
722
- ).annotate({ title: "external_account_payout_bank_account" }),
723
- Schema.String.check(
724
- Schema.isMaxCodePoints(5000).annotate({
725
- expected: "a string with at most 5000 code points",
726
- }),
727
- ),
728
- ]).annotate({
729
- description:
730
- "Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/js), or a dictionary containing a user's bank account details.",
731
- }),
732
- ),
733
- business_profile: Schema.optionalKey(
734
- Schema.StructWithRest(
735
- Schema.Struct({
736
- annual_revenue: Schema.optionalKey(
737
- Schema.StructWithRest(
738
- Schema.Struct({
739
- amount: Schema.Int,
740
- currency: Schema.String.annotate({ format: "currency" }),
741
- fiscal_year_end: Schema.String.check(
742
- Schema.isMaxCodePoints(5000).annotate({
743
- expected: "a string with at most 5000 code points",
744
- }),
745
- ),
229
+ ),
230
+ name_kana: Schema.optionalKey(
231
+ Schema.String.check(
232
+ Schema.isMaxCodePoints(200).annotate({
233
+ expected: "a string with at most 200 code points",
746
234
  }),
747
- [
748
- Schema.Record(
749
- Schema.String,
750
- Schema.Json.annotate({ expected: "JSON value" }),
751
- ),
752
- ],
753
- ).annotate({ title: "annual_revenue_specs" }),
235
+ ),
754
236
  ),
755
- estimated_worker_count: Schema.optionalKey(Schema.Int),
756
- mcc: Schema.optionalKey(
237
+ name_kanji: Schema.optionalKey(
757
238
  Schema.String.check(
758
- Schema.isMaxCodePoints(4).annotate({
759
- expected: "a string with at most 4 code points",
239
+ Schema.isMaxCodePoints(200).annotate({
240
+ expected: "a string with at most 200 code points",
760
241
  }),
761
242
  ),
762
243
  ),
763
- minority_owned_business_designation: Schema.optionalKey(
764
- Schema.Array(
765
- Schema.Literals([
766
- "lgbtqi_owned_business",
767
- "minority_owned_business",
768
- "none_of_these_apply",
769
- "prefer_not_to_answer",
770
- "women_owned_business",
771
- ]),
244
+ owners_provided: Schema.optionalKey(Schema.Boolean),
245
+ ownership_declaration: Schema.optionalKey(
246
+ StripeV1AccountPropsSchemaInputResourceInputProperties_7,
247
+ ),
248
+ ownership_exemption_reason: Schema.optionalKey(
249
+ StripeV1AccountPropsSchemaInputResourceInputAlternatives_2,
250
+ ),
251
+ phone: Schema.optionalKey(
252
+ Schema.String.check(
253
+ Schema.isMaxCodePoints(5000).annotate({
254
+ expected: "a string with at most 5000 code points",
255
+ }),
772
256
  ),
773
257
  ),
774
- monthly_estimated_revenue: Schema.optionalKey(
775
- Schema.StructWithRest(
776
- Schema.Struct({
777
- amount: Schema.Int,
778
- currency: Schema.String.annotate({ format: "currency" }),
258
+ physical_address: Schema.optionalKey(
259
+ StripeV1AccountPropsSchemaInputResourceInputProperties_8,
260
+ ),
261
+ principal_place_of_business: Schema.optionalKey(
262
+ StripeV1AccountPropsSchemaInputResourceInputProperties_9,
263
+ ),
264
+ registration_date: Schema.optionalKey(
265
+ StripeV1AccountPropsSchemaInputResourceInputAlternatives_3,
266
+ ),
267
+ registration_number: Schema.optionalKey(
268
+ Schema.String.check(
269
+ Schema.isMaxCodePoints(5000).annotate({
270
+ expected: "a string with at most 5000 code points",
779
271
  }),
780
- [
781
- Schema.Record(
782
- Schema.String,
783
- Schema.Json.annotate({ expected: "JSON value" }),
784
- ),
785
- ],
786
- ).annotate({ title: "monthly_estimated_revenue_specs" }),
272
+ ),
787
273
  ),
788
- name: Schema.optionalKey(
274
+ representative_declaration: Schema.optionalKey(
275
+ StripeV1AccountPropsSchemaInputResourceInputProperties_10,
276
+ ),
277
+ structure: Schema.optionalKey(
278
+ StripeV1AccountPropsSchemaInputResourceInputAlternatives_4,
279
+ ),
280
+ tax_id: Schema.optionalKey(
789
281
  Schema.String.check(
790
282
  Schema.isMaxCodePoints(5000).annotate({
791
283
  expected: "a string with at most 5000 code points",
792
284
  }),
793
285
  ),
794
286
  ),
795
- product_description: Schema.optionalKey(
287
+ tax_id_registrar: Schema.optionalKey(
796
288
  Schema.String.check(
797
- Schema.isMaxCodePoints(40000).annotate({
798
- expected: "a string with at most 40000 code points",
289
+ Schema.isMaxCodePoints(5000).annotate({
290
+ expected: "a string with at most 5000 code points",
799
291
  }),
800
292
  ),
801
293
  ),
802
- specified_commercial_transactions_act_url: Schema.optionalKey(
803
- Schema.Union([Schema.String, Schema.Literal("")]),
294
+ vat_id: Schema.optionalKey(
295
+ Schema.String.check(
296
+ Schema.isMaxCodePoints(5000).annotate({
297
+ expected: "a string with at most 5000 code points",
298
+ }),
299
+ ),
804
300
  ),
805
- support_address: Schema.optionalKey(
301
+ verification: Schema.optionalKey(
806
302
  Schema.StructWithRest(
807
303
  Schema.Struct({
808
- city: Schema.optionalKey(
809
- Schema.String.check(
810
- Schema.isMaxCodePoints(100).annotate({
811
- expected: "a string with at most 100 code points",
812
- }),
813
- ),
814
- ),
815
- country: Schema.optionalKey(
816
- Schema.String.check(
817
- Schema.isMaxCodePoints(5000).annotate({
818
- expected: "a string with at most 5000 code points",
819
- }),
820
- ),
821
- ),
822
- line1: Schema.optionalKey(
823
- Schema.String.check(
824
- Schema.isMaxCodePoints(200).annotate({
825
- expected: "a string with at most 200 code points",
826
- }),
827
- ),
828
- ),
829
- line2: Schema.optionalKey(
830
- Schema.String.check(
831
- Schema.isMaxCodePoints(200).annotate({
832
- expected: "a string with at most 200 code points",
833
- }),
834
- ),
835
- ),
836
- postal_code: Schema.optionalKey(
837
- Schema.String.check(
838
- Schema.isMaxCodePoints(5000).annotate({
839
- expected: "a string with at most 5000 code points",
840
- }),
841
- ),
842
- ),
843
- state: Schema.optionalKey(
844
- Schema.String.check(
845
- Schema.isMaxCodePoints(5000).annotate({
846
- expected: "a string with at most 5000 code points",
304
+ document: Schema.optionalKey(
305
+ Schema.StructWithRest(
306
+ Schema.Struct({
307
+ back: Schema.optionalKey(
308
+ Schema.String.check(
309
+ Schema.isMaxCodePoints(500).annotate({
310
+ expected: "a string with at most 500 code points",
311
+ }),
312
+ ),
313
+ ),
314
+ front: Schema.optionalKey(
315
+ Schema.String.check(
316
+ Schema.isMaxCodePoints(500).annotate({
317
+ expected: "a string with at most 500 code points",
318
+ }),
319
+ ),
320
+ ),
847
321
  }),
848
- ),
322
+ [
323
+ Schema.Record(
324
+ Schema.String,
325
+ Schema.Json.annotate({ expected: "JSON value" }),
326
+ ),
327
+ ],
328
+ ).annotate({ title: "verification_document_specs" }),
849
329
  ),
850
330
  }),
851
331
  [
@@ -854,26 +334,8 @@ export const StripeV1AccountPropsSchema = annotateResourceSchema(
854
334
  Schema.Json.annotate({ expected: "JSON value" }),
855
335
  ),
856
336
  ],
857
- ).annotate({ title: "address_specs" }),
858
- ),
859
- support_email: Schema.optionalKey(
860
- Schema.String.check(
861
- Schema.isMaxCodePoints(800).annotate({
862
- expected: "a string with at most 800 code points",
863
- }),
864
- ),
865
- ),
866
- support_phone: Schema.optionalKey(
867
- Schema.String.check(
868
- Schema.isMaxCodePoints(5000).annotate({
869
- expected: "a string with at most 5000 code points",
870
- }),
871
- ),
872
- ),
873
- support_url: Schema.optionalKey(
874
- Schema.Union([Schema.String, Schema.Literal("")]),
337
+ ).annotate({ title: "verification_specs" }),
875
338
  ),
876
- url: Schema.optionalKey(Schema.String),
877
339
  }),
878
340
  [
879
341
  Schema.Record(
@@ -882,1704 +344,33 @@ export const StripeV1AccountPropsSchema = annotateResourceSchema(
882
344
  ),
883
345
  ],
884
346
  ).annotate({
885
- title: "business_profile_specs",
886
- description: "Business information about the account.",
347
+ title: "company_specs",
348
+ description:
349
+ "Information about the company or business. This field is available for any `business_type`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.",
887
350
  }),
888
351
  ),
889
- business_type: Schema.optionalKey(
890
- Schema.Literals([
891
- "company",
892
- "government_entity",
893
- "individual",
894
- "non_profit",
895
- ]).annotate({
352
+ controller: Schema.optionalKey(
353
+ StripeV1AccountPropsSchemaInputResourceInputProperties_11,
354
+ ),
355
+ country: Schema.optionalKey(
356
+ Schema.String.annotate({
357
+ description:
358
+ "The country in which the account holder resides, or in which the business is legally established. This should be an ISO 3166-1 alpha-2 country code. For example, if you are in the United States and the business for which you're creating an account is legally represented in Canada, you would use `CA` as the country for the account being created. Available countries include [Stripe's global markets](https://stripe.com/global) as well as countries where [cross-border payouts](https://stripe.com/docs/connect/cross-border-payouts) are supported.",
359
+ }).check(
360
+ Schema.isMaxCodePoints(5000).annotate({
361
+ expected: "a string with at most 5000 code points",
362
+ }),
363
+ ),
364
+ ),
365
+ default_currency: Schema.optionalKey(
366
+ Schema.String.annotate({
896
367
  description:
897
- "The business type. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.",
368
+ "Three-letter ISO currency code representing the default currency for the account. This must be a currency that [Stripe supports in the account's country](https://docs.stripe.com/payouts).",
369
+ format: "currency",
898
370
  }),
899
371
  ),
900
- capabilities: Schema.optionalKey(
901
- Schema.StructWithRest(
902
- Schema.Struct({
903
- acss_debit_payments: Schema.optionalKey(
904
- Schema.StructWithRest(
905
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
906
- [
907
- Schema.Record(
908
- Schema.String,
909
- Schema.Json.annotate({ expected: "JSON value" }),
910
- ),
911
- ],
912
- ).annotate({ title: "capability_param" }),
913
- ),
914
- affirm_payments: Schema.optionalKey(
915
- Schema.StructWithRest(
916
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
917
- [
918
- Schema.Record(
919
- Schema.String,
920
- Schema.Json.annotate({ expected: "JSON value" }),
921
- ),
922
- ],
923
- ).annotate({ title: "capability_param" }),
924
- ),
925
- afterpay_clearpay_payments: Schema.optionalKey(
926
- Schema.StructWithRest(
927
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
928
- [
929
- Schema.Record(
930
- Schema.String,
931
- Schema.Json.annotate({ expected: "JSON value" }),
932
- ),
933
- ],
934
- ).annotate({ title: "capability_param" }),
935
- ),
936
- alma_payments: Schema.optionalKey(
937
- Schema.StructWithRest(
938
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
939
- [
940
- Schema.Record(
941
- Schema.String,
942
- Schema.Json.annotate({ expected: "JSON value" }),
943
- ),
944
- ],
945
- ).annotate({ title: "capability_param" }),
946
- ),
947
- amazon_pay_payments: Schema.optionalKey(
948
- Schema.StructWithRest(
949
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
950
- [
951
- Schema.Record(
952
- Schema.String,
953
- Schema.Json.annotate({ expected: "JSON value" }),
954
- ),
955
- ],
956
- ).annotate({ title: "capability_param" }),
957
- ),
958
- app_distribution: Schema.optionalKey(
959
- Schema.StructWithRest(
960
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
961
- [
962
- Schema.Record(
963
- Schema.String,
964
- Schema.Json.annotate({ expected: "JSON value" }),
965
- ),
966
- ],
967
- ).annotate({ title: "capability_param" }),
968
- ),
969
- au_becs_debit_payments: Schema.optionalKey(
970
- Schema.StructWithRest(
971
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
972
- [
973
- Schema.Record(
974
- Schema.String,
975
- Schema.Json.annotate({ expected: "JSON value" }),
976
- ),
977
- ],
978
- ).annotate({ title: "capability_param" }),
979
- ),
980
- bacs_debit_payments: Schema.optionalKey(
981
- Schema.StructWithRest(
982
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
983
- [
984
- Schema.Record(
985
- Schema.String,
986
- Schema.Json.annotate({ expected: "JSON value" }),
987
- ),
988
- ],
989
- ).annotate({ title: "capability_param" }),
990
- ),
991
- bancontact_payments: Schema.optionalKey(
992
- Schema.StructWithRest(
993
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
994
- [
995
- Schema.Record(
996
- Schema.String,
997
- Schema.Json.annotate({ expected: "JSON value" }),
998
- ),
999
- ],
1000
- ).annotate({ title: "capability_param" }),
1001
- ),
1002
- bank_transfer_payments: Schema.optionalKey(
1003
- Schema.StructWithRest(
1004
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1005
- [
1006
- Schema.Record(
1007
- Schema.String,
1008
- Schema.Json.annotate({ expected: "JSON value" }),
1009
- ),
1010
- ],
1011
- ).annotate({ title: "capability_param" }),
1012
- ),
1013
- billie_payments: Schema.optionalKey(
1014
- Schema.StructWithRest(
1015
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1016
- [
1017
- Schema.Record(
1018
- Schema.String,
1019
- Schema.Json.annotate({ expected: "JSON value" }),
1020
- ),
1021
- ],
1022
- ).annotate({ title: "capability_param" }),
1023
- ),
1024
- bizum_payments: Schema.optionalKey(
1025
- Schema.StructWithRest(
1026
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1027
- [
1028
- Schema.Record(
1029
- Schema.String,
1030
- Schema.Json.annotate({ expected: "JSON value" }),
1031
- ),
1032
- ],
1033
- ).annotate({ title: "capability_param" }),
1034
- ),
1035
- blik_payments: Schema.optionalKey(
1036
- Schema.StructWithRest(
1037
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1038
- [
1039
- Schema.Record(
1040
- Schema.String,
1041
- Schema.Json.annotate({ expected: "JSON value" }),
1042
- ),
1043
- ],
1044
- ).annotate({ title: "capability_param" }),
1045
- ),
1046
- blik_recurring_payments: Schema.optionalKey(
1047
- Schema.StructWithRest(
1048
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1049
- [
1050
- Schema.Record(
1051
- Schema.String,
1052
- Schema.Json.annotate({ expected: "JSON value" }),
1053
- ),
1054
- ],
1055
- ).annotate({ title: "capability_param" }),
1056
- ),
1057
- boleto_payments: Schema.optionalKey(
1058
- Schema.StructWithRest(
1059
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1060
- [
1061
- Schema.Record(
1062
- Schema.String,
1063
- Schema.Json.annotate({ expected: "JSON value" }),
1064
- ),
1065
- ],
1066
- ).annotate({ title: "capability_param" }),
1067
- ),
1068
- card_issuing: Schema.optionalKey(
1069
- Schema.StructWithRest(
1070
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1071
- [
1072
- Schema.Record(
1073
- Schema.String,
1074
- Schema.Json.annotate({ expected: "JSON value" }),
1075
- ),
1076
- ],
1077
- ).annotate({ title: "capability_param" }),
1078
- ),
1079
- card_payments: Schema.optionalKey(
1080
- Schema.StructWithRest(
1081
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1082
- [
1083
- Schema.Record(
1084
- Schema.String,
1085
- Schema.Json.annotate({ expected: "JSON value" }),
1086
- ),
1087
- ],
1088
- ).annotate({ title: "protectable_capability_param" }),
1089
- ),
1090
- cartes_bancaires_payments: Schema.optionalKey(
1091
- Schema.StructWithRest(
1092
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1093
- [
1094
- Schema.Record(
1095
- Schema.String,
1096
- Schema.Json.annotate({ expected: "JSON value" }),
1097
- ),
1098
- ],
1099
- ).annotate({ title: "capability_param" }),
1100
- ),
1101
- cashapp_payments: Schema.optionalKey(
1102
- Schema.StructWithRest(
1103
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1104
- [
1105
- Schema.Record(
1106
- Schema.String,
1107
- Schema.Json.annotate({ expected: "JSON value" }),
1108
- ),
1109
- ],
1110
- ).annotate({ title: "capability_param" }),
1111
- ),
1112
- crypto_payments: Schema.optionalKey(
1113
- Schema.StructWithRest(
1114
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1115
- [
1116
- Schema.Record(
1117
- Schema.String,
1118
- Schema.Json.annotate({ expected: "JSON value" }),
1119
- ),
1120
- ],
1121
- ).annotate({ title: "capability_param" }),
1122
- ),
1123
- eps_payments: Schema.optionalKey(
1124
- Schema.StructWithRest(
1125
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1126
- [
1127
- Schema.Record(
1128
- Schema.String,
1129
- Schema.Json.annotate({ expected: "JSON value" }),
1130
- ),
1131
- ],
1132
- ).annotate({ title: "capability_param" }),
1133
- ),
1134
- fpx_payments: Schema.optionalKey(
1135
- Schema.StructWithRest(
1136
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1137
- [
1138
- Schema.Record(
1139
- Schema.String,
1140
- Schema.Json.annotate({ expected: "JSON value" }),
1141
- ),
1142
- ],
1143
- ).annotate({ title: "capability_param" }),
1144
- ),
1145
- gb_bank_transfer_payments: Schema.optionalKey(
1146
- Schema.StructWithRest(
1147
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1148
- [
1149
- Schema.Record(
1150
- Schema.String,
1151
- Schema.Json.annotate({ expected: "JSON value" }),
1152
- ),
1153
- ],
1154
- ).annotate({ title: "capability_param" }),
1155
- ),
1156
- giropay_payments: Schema.optionalKey(
1157
- Schema.StructWithRest(
1158
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1159
- [
1160
- Schema.Record(
1161
- Schema.String,
1162
- Schema.Json.annotate({ expected: "JSON value" }),
1163
- ),
1164
- ],
1165
- ).annotate({ title: "capability_param" }),
1166
- ),
1167
- grabpay_payments: Schema.optionalKey(
1168
- Schema.StructWithRest(
1169
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1170
- [
1171
- Schema.Record(
1172
- Schema.String,
1173
- Schema.Json.annotate({ expected: "JSON value" }),
1174
- ),
1175
- ],
1176
- ).annotate({ title: "capability_param" }),
1177
- ),
1178
- ideal_payments: Schema.optionalKey(
1179
- Schema.StructWithRest(
1180
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1181
- [
1182
- Schema.Record(
1183
- Schema.String,
1184
- Schema.Json.annotate({ expected: "JSON value" }),
1185
- ),
1186
- ],
1187
- ).annotate({ title: "capability_param" }),
1188
- ),
1189
- india_international_payments: Schema.optionalKey(
1190
- Schema.StructWithRest(
1191
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1192
- [
1193
- Schema.Record(
1194
- Schema.String,
1195
- Schema.Json.annotate({ expected: "JSON value" }),
1196
- ),
1197
- ],
1198
- ).annotate({ title: "capability_param" }),
1199
- ),
1200
- jcb_payments: Schema.optionalKey(
1201
- Schema.StructWithRest(
1202
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1203
- [
1204
- Schema.Record(
1205
- Schema.String,
1206
- Schema.Json.annotate({ expected: "JSON value" }),
1207
- ),
1208
- ],
1209
- ).annotate({ title: "capability_param" }),
1210
- ),
1211
- jp_bank_transfer_payments: Schema.optionalKey(
1212
- Schema.StructWithRest(
1213
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1214
- [
1215
- Schema.Record(
1216
- Schema.String,
1217
- Schema.Json.annotate({ expected: "JSON value" }),
1218
- ),
1219
- ],
1220
- ).annotate({ title: "capability_param" }),
1221
- ),
1222
- kakao_pay_payments: Schema.optionalKey(
1223
- Schema.StructWithRest(
1224
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1225
- [
1226
- Schema.Record(
1227
- Schema.String,
1228
- Schema.Json.annotate({ expected: "JSON value" }),
1229
- ),
1230
- ],
1231
- ).annotate({ title: "capability_param" }),
1232
- ),
1233
- klarna_payments: Schema.optionalKey(
1234
- Schema.StructWithRest(
1235
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1236
- [
1237
- Schema.Record(
1238
- Schema.String,
1239
- Schema.Json.annotate({ expected: "JSON value" }),
1240
- ),
1241
- ],
1242
- ).annotate({ title: "capability_param" }),
1243
- ),
1244
- konbini_payments: Schema.optionalKey(
1245
- Schema.StructWithRest(
1246
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1247
- [
1248
- Schema.Record(
1249
- Schema.String,
1250
- Schema.Json.annotate({ expected: "JSON value" }),
1251
- ),
1252
- ],
1253
- ).annotate({ title: "capability_param" }),
1254
- ),
1255
- kr_card_payments: Schema.optionalKey(
1256
- Schema.StructWithRest(
1257
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1258
- [
1259
- Schema.Record(
1260
- Schema.String,
1261
- Schema.Json.annotate({ expected: "JSON value" }),
1262
- ),
1263
- ],
1264
- ).annotate({ title: "capability_param" }),
1265
- ),
1266
- legacy_payments: Schema.optionalKey(
1267
- Schema.StructWithRest(
1268
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1269
- [
1270
- Schema.Record(
1271
- Schema.String,
1272
- Schema.Json.annotate({ expected: "JSON value" }),
1273
- ),
1274
- ],
1275
- ).annotate({ title: "capability_param" }),
1276
- ),
1277
- link_payments: Schema.optionalKey(
1278
- Schema.StructWithRest(
1279
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1280
- [
1281
- Schema.Record(
1282
- Schema.String,
1283
- Schema.Json.annotate({ expected: "JSON value" }),
1284
- ),
1285
- ],
1286
- ).annotate({ title: "capability_param" }),
1287
- ),
1288
- mb_way_payments: Schema.optionalKey(
1289
- Schema.StructWithRest(
1290
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1291
- [
1292
- Schema.Record(
1293
- Schema.String,
1294
- Schema.Json.annotate({ expected: "JSON value" }),
1295
- ),
1296
- ],
1297
- ).annotate({ title: "capability_param" }),
1298
- ),
1299
- mobilepay_payments: Schema.optionalKey(
1300
- Schema.StructWithRest(
1301
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1302
- [
1303
- Schema.Record(
1304
- Schema.String,
1305
- Schema.Json.annotate({ expected: "JSON value" }),
1306
- ),
1307
- ],
1308
- ).annotate({ title: "capability_param" }),
1309
- ),
1310
- multibanco_payments: Schema.optionalKey(
1311
- Schema.StructWithRest(
1312
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1313
- [
1314
- Schema.Record(
1315
- Schema.String,
1316
- Schema.Json.annotate({ expected: "JSON value" }),
1317
- ),
1318
- ],
1319
- ).annotate({ title: "capability_param" }),
1320
- ),
1321
- mx_bank_transfer_payments: Schema.optionalKey(
1322
- Schema.StructWithRest(
1323
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1324
- [
1325
- Schema.Record(
1326
- Schema.String,
1327
- Schema.Json.annotate({ expected: "JSON value" }),
1328
- ),
1329
- ],
1330
- ).annotate({ title: "capability_param" }),
1331
- ),
1332
- naver_pay_payments: Schema.optionalKey(
1333
- Schema.StructWithRest(
1334
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1335
- [
1336
- Schema.Record(
1337
- Schema.String,
1338
- Schema.Json.annotate({ expected: "JSON value" }),
1339
- ),
1340
- ],
1341
- ).annotate({ title: "capability_param" }),
1342
- ),
1343
- nz_bank_account_becs_debit_payments: Schema.optionalKey(
1344
- Schema.StructWithRest(
1345
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1346
- [
1347
- Schema.Record(
1348
- Schema.String,
1349
- Schema.Json.annotate({ expected: "JSON value" }),
1350
- ),
1351
- ],
1352
- ).annotate({ title: "capability_param" }),
1353
- ),
1354
- oxxo_payments: Schema.optionalKey(
1355
- Schema.StructWithRest(
1356
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1357
- [
1358
- Schema.Record(
1359
- Schema.String,
1360
- Schema.Json.annotate({ expected: "JSON value" }),
1361
- ),
1362
- ],
1363
- ).annotate({ title: "capability_param" }),
1364
- ),
1365
- p24_payments: Schema.optionalKey(
1366
- Schema.StructWithRest(
1367
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1368
- [
1369
- Schema.Record(
1370
- Schema.String,
1371
- Schema.Json.annotate({ expected: "JSON value" }),
1372
- ),
1373
- ],
1374
- ).annotate({ title: "capability_param" }),
1375
- ),
1376
- pay_by_bank_payments: Schema.optionalKey(
1377
- Schema.StructWithRest(
1378
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1379
- [
1380
- Schema.Record(
1381
- Schema.String,
1382
- Schema.Json.annotate({ expected: "JSON value" }),
1383
- ),
1384
- ],
1385
- ).annotate({ title: "capability_param" }),
1386
- ),
1387
- payco_payments: Schema.optionalKey(
1388
- Schema.StructWithRest(
1389
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1390
- [
1391
- Schema.Record(
1392
- Schema.String,
1393
- Schema.Json.annotate({ expected: "JSON value" }),
1394
- ),
1395
- ],
1396
- ).annotate({ title: "capability_param" }),
1397
- ),
1398
- paynow_payments: Schema.optionalKey(
1399
- Schema.StructWithRest(
1400
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1401
- [
1402
- Schema.Record(
1403
- Schema.String,
1404
- Schema.Json.annotate({ expected: "JSON value" }),
1405
- ),
1406
- ],
1407
- ).annotate({ title: "capability_param" }),
1408
- ),
1409
- paypay_payments: Schema.optionalKey(
1410
- Schema.StructWithRest(
1411
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1412
- [
1413
- Schema.Record(
1414
- Schema.String,
1415
- Schema.Json.annotate({ expected: "JSON value" }),
1416
- ),
1417
- ],
1418
- ).annotate({ title: "capability_param" }),
1419
- ),
1420
- payto_payments: Schema.optionalKey(
1421
- Schema.StructWithRest(
1422
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1423
- [
1424
- Schema.Record(
1425
- Schema.String,
1426
- Schema.Json.annotate({ expected: "JSON value" }),
1427
- ),
1428
- ],
1429
- ).annotate({ title: "capability_param" }),
1430
- ),
1431
- pix_payments: Schema.optionalKey(
1432
- Schema.StructWithRest(
1433
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1434
- [
1435
- Schema.Record(
1436
- Schema.String,
1437
- Schema.Json.annotate({ expected: "JSON value" }),
1438
- ),
1439
- ],
1440
- ).annotate({ title: "capability_param" }),
1441
- ),
1442
- promptpay_payments: Schema.optionalKey(
1443
- Schema.StructWithRest(
1444
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1445
- [
1446
- Schema.Record(
1447
- Schema.String,
1448
- Schema.Json.annotate({ expected: "JSON value" }),
1449
- ),
1450
- ],
1451
- ).annotate({ title: "capability_param" }),
1452
- ),
1453
- revolut_pay_payments: Schema.optionalKey(
1454
- Schema.StructWithRest(
1455
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1456
- [
1457
- Schema.Record(
1458
- Schema.String,
1459
- Schema.Json.annotate({ expected: "JSON value" }),
1460
- ),
1461
- ],
1462
- ).annotate({ title: "capability_param" }),
1463
- ),
1464
- samsung_pay_payments: Schema.optionalKey(
1465
- Schema.StructWithRest(
1466
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1467
- [
1468
- Schema.Record(
1469
- Schema.String,
1470
- Schema.Json.annotate({ expected: "JSON value" }),
1471
- ),
1472
- ],
1473
- ).annotate({ title: "capability_param" }),
1474
- ),
1475
- satispay_payments: Schema.optionalKey(
1476
- Schema.StructWithRest(
1477
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1478
- [
1479
- Schema.Record(
1480
- Schema.String,
1481
- Schema.Json.annotate({ expected: "JSON value" }),
1482
- ),
1483
- ],
1484
- ).annotate({ title: "capability_param" }),
1485
- ),
1486
- scalapay_payments: Schema.optionalKey(
1487
- Schema.StructWithRest(
1488
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1489
- [
1490
- Schema.Record(
1491
- Schema.String,
1492
- Schema.Json.annotate({ expected: "JSON value" }),
1493
- ),
1494
- ],
1495
- ).annotate({ title: "capability_param" }),
1496
- ),
1497
- sepa_bank_transfer_payments: Schema.optionalKey(
1498
- Schema.StructWithRest(
1499
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1500
- [
1501
- Schema.Record(
1502
- Schema.String,
1503
- Schema.Json.annotate({ expected: "JSON value" }),
1504
- ),
1505
- ],
1506
- ).annotate({ title: "capability_param" }),
1507
- ),
1508
- sepa_debit_payments: Schema.optionalKey(
1509
- Schema.StructWithRest(
1510
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1511
- [
1512
- Schema.Record(
1513
- Schema.String,
1514
- Schema.Json.annotate({ expected: "JSON value" }),
1515
- ),
1516
- ],
1517
- ).annotate({ title: "capability_param" }),
1518
- ),
1519
- sequra_payments: Schema.optionalKey(
1520
- Schema.StructWithRest(
1521
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1522
- [
1523
- Schema.Record(
1524
- Schema.String,
1525
- Schema.Json.annotate({ expected: "JSON value" }),
1526
- ),
1527
- ],
1528
- ).annotate({ title: "capability_param" }),
1529
- ),
1530
- sofort_payments: Schema.optionalKey(
1531
- Schema.StructWithRest(
1532
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1533
- [
1534
- Schema.Record(
1535
- Schema.String,
1536
- Schema.Json.annotate({ expected: "JSON value" }),
1537
- ),
1538
- ],
1539
- ).annotate({ title: "capability_param" }),
1540
- ),
1541
- sunbit_payments: Schema.optionalKey(
1542
- Schema.StructWithRest(
1543
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1544
- [
1545
- Schema.Record(
1546
- Schema.String,
1547
- Schema.Json.annotate({ expected: "JSON value" }),
1548
- ),
1549
- ],
1550
- ).annotate({ title: "capability_param" }),
1551
- ),
1552
- swish_payments: Schema.optionalKey(
1553
- Schema.StructWithRest(
1554
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1555
- [
1556
- Schema.Record(
1557
- Schema.String,
1558
- Schema.Json.annotate({ expected: "JSON value" }),
1559
- ),
1560
- ],
1561
- ).annotate({ title: "capability_param" }),
1562
- ),
1563
- tax_reporting_us_1099_k: Schema.optionalKey(
1564
- Schema.StructWithRest(
1565
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1566
- [
1567
- Schema.Record(
1568
- Schema.String,
1569
- Schema.Json.annotate({ expected: "JSON value" }),
1570
- ),
1571
- ],
1572
- ).annotate({ title: "capability_param" }),
1573
- ),
1574
- tax_reporting_us_1099_misc: Schema.optionalKey(
1575
- Schema.StructWithRest(
1576
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1577
- [
1578
- Schema.Record(
1579
- Schema.String,
1580
- Schema.Json.annotate({ expected: "JSON value" }),
1581
- ),
1582
- ],
1583
- ).annotate({ title: "capability_param" }),
1584
- ),
1585
- transfers: Schema.optionalKey(
1586
- Schema.StructWithRest(
1587
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1588
- [
1589
- Schema.Record(
1590
- Schema.String,
1591
- Schema.Json.annotate({ expected: "JSON value" }),
1592
- ),
1593
- ],
1594
- ).annotate({ title: "capability_param" }),
1595
- ),
1596
- treasury: Schema.optionalKey(
1597
- Schema.StructWithRest(
1598
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1599
- [
1600
- Schema.Record(
1601
- Schema.String,
1602
- Schema.Json.annotate({ expected: "JSON value" }),
1603
- ),
1604
- ],
1605
- ).annotate({ title: "capability_param" }),
1606
- ),
1607
- twint_payments: Schema.optionalKey(
1608
- Schema.StructWithRest(
1609
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1610
- [
1611
- Schema.Record(
1612
- Schema.String,
1613
- Schema.Json.annotate({ expected: "JSON value" }),
1614
- ),
1615
- ],
1616
- ).annotate({ title: "capability_param" }),
1617
- ),
1618
- upi_payments: Schema.optionalKey(
1619
- Schema.StructWithRest(
1620
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1621
- [
1622
- Schema.Record(
1623
- Schema.String,
1624
- Schema.Json.annotate({ expected: "JSON value" }),
1625
- ),
1626
- ],
1627
- ).annotate({ title: "capability_param" }),
1628
- ),
1629
- us_bank_account_ach_payments: Schema.optionalKey(
1630
- Schema.StructWithRest(
1631
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1632
- [
1633
- Schema.Record(
1634
- Schema.String,
1635
- Schema.Json.annotate({ expected: "JSON value" }),
1636
- ),
1637
- ],
1638
- ).annotate({ title: "capability_param" }),
1639
- ),
1640
- us_bank_transfer_payments: Schema.optionalKey(
1641
- Schema.StructWithRest(
1642
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1643
- [
1644
- Schema.Record(
1645
- Schema.String,
1646
- Schema.Json.annotate({ expected: "JSON value" }),
1647
- ),
1648
- ],
1649
- ).annotate({ title: "capability_param" }),
1650
- ),
1651
- wero_payments: Schema.optionalKey(
1652
- Schema.StructWithRest(
1653
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1654
- [
1655
- Schema.Record(
1656
- Schema.String,
1657
- Schema.Json.annotate({ expected: "JSON value" }),
1658
- ),
1659
- ],
1660
- ).annotate({ title: "capability_param" }),
1661
- ),
1662
- zip_payments: Schema.optionalKey(
1663
- Schema.StructWithRest(
1664
- Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
1665
- [
1666
- Schema.Record(
1667
- Schema.String,
1668
- Schema.Json.annotate({ expected: "JSON value" }),
1669
- ),
1670
- ],
1671
- ).annotate({ title: "capability_param" }),
1672
- ),
1673
- }),
1674
- [
1675
- Schema.Record(
1676
- Schema.String,
1677
- Schema.Json.annotate({ expected: "JSON value" }),
1678
- ),
1679
- ],
1680
- ).annotate({
1681
- title: "capabilities_param",
1682
- description:
1683
- "Each key of the dictionary represents a capability, and each capability\nmaps to its settings (for example, whether it has been requested or not). Each\ncapability is inactive until you have provided its specific\nrequirements and Stripe has verified them. An account might have some\nof its requested capabilities be active and some be inactive.\n\nRequired when [account.controller.stripe_dashboard.type](/api/accounts/create#create_account-controller-dashboard-type)\nis `none`, which includes Custom accounts.",
1684
- }),
1685
- ),
1686
- company: Schema.optionalKey(
1687
- Schema.StructWithRest(
1688
- Schema.Struct({
1689
- address: Schema.optionalKey(
1690
- Schema.StructWithRest(
1691
- Schema.Struct({
1692
- city: Schema.optionalKey(
1693
- Schema.String.check(
1694
- Schema.isMaxCodePoints(100).annotate({
1695
- expected: "a string with at most 100 code points",
1696
- }),
1697
- ),
1698
- ),
1699
- country: Schema.optionalKey(
1700
- Schema.String.check(
1701
- Schema.isMaxCodePoints(5000).annotate({
1702
- expected: "a string with at most 5000 code points",
1703
- }),
1704
- ),
1705
- ),
1706
- line1: Schema.optionalKey(
1707
- Schema.String.check(
1708
- Schema.isMaxCodePoints(200).annotate({
1709
- expected: "a string with at most 200 code points",
1710
- }),
1711
- ),
1712
- ),
1713
- line2: Schema.optionalKey(
1714
- Schema.String.check(
1715
- Schema.isMaxCodePoints(200).annotate({
1716
- expected: "a string with at most 200 code points",
1717
- }),
1718
- ),
1719
- ),
1720
- postal_code: Schema.optionalKey(
1721
- Schema.String.check(
1722
- Schema.isMaxCodePoints(5000).annotate({
1723
- expected: "a string with at most 5000 code points",
1724
- }),
1725
- ),
1726
- ),
1727
- state: Schema.optionalKey(
1728
- Schema.String.check(
1729
- Schema.isMaxCodePoints(5000).annotate({
1730
- expected: "a string with at most 5000 code points",
1731
- }),
1732
- ),
1733
- ),
1734
- }),
1735
- [
1736
- Schema.Record(
1737
- Schema.String,
1738
- Schema.Json.annotate({ expected: "JSON value" }),
1739
- ),
1740
- ],
1741
- ).annotate({ title: "legal_entity_and_kyc_address_specs" }),
1742
- ),
1743
- address_kana: Schema.optionalKey(
1744
- Schema.StructWithRest(
1745
- Schema.Struct({
1746
- city: Schema.optionalKey(
1747
- Schema.String.check(
1748
- Schema.isMaxCodePoints(5000).annotate({
1749
- expected: "a string with at most 5000 code points",
1750
- }),
1751
- ),
1752
- ),
1753
- country: Schema.optionalKey(
1754
- Schema.String.check(
1755
- Schema.isMaxCodePoints(5000).annotate({
1756
- expected: "a string with at most 5000 code points",
1757
- }),
1758
- ),
1759
- ),
1760
- line1: Schema.optionalKey(
1761
- Schema.String.check(
1762
- Schema.isMaxCodePoints(5000).annotate({
1763
- expected: "a string with at most 5000 code points",
1764
- }),
1765
- ),
1766
- ),
1767
- line2: Schema.optionalKey(
1768
- Schema.String.check(
1769
- Schema.isMaxCodePoints(5000).annotate({
1770
- expected: "a string with at most 5000 code points",
1771
- }),
1772
- ),
1773
- ),
1774
- postal_code: Schema.optionalKey(
1775
- Schema.String.check(
1776
- Schema.isMaxCodePoints(5000).annotate({
1777
- expected: "a string with at most 5000 code points",
1778
- }),
1779
- ),
1780
- ),
1781
- state: Schema.optionalKey(
1782
- Schema.String.check(
1783
- Schema.isMaxCodePoints(5000).annotate({
1784
- expected: "a string with at most 5000 code points",
1785
- }),
1786
- ),
1787
- ),
1788
- town: Schema.optionalKey(
1789
- Schema.String.check(
1790
- Schema.isMaxCodePoints(5000).annotate({
1791
- expected: "a string with at most 5000 code points",
1792
- }),
1793
- ),
1794
- ),
1795
- }),
1796
- [
1797
- Schema.Record(
1798
- Schema.String,
1799
- Schema.Json.annotate({ expected: "JSON value" }),
1800
- ),
1801
- ],
1802
- ).annotate({ title: "japan_address_kana_specs" }),
1803
- ),
1804
- address_kanji: Schema.optionalKey(
1805
- Schema.StructWithRest(
1806
- Schema.Struct({
1807
- city: Schema.optionalKey(
1808
- Schema.String.check(
1809
- Schema.isMaxCodePoints(5000).annotate({
1810
- expected: "a string with at most 5000 code points",
1811
- }),
1812
- ),
1813
- ),
1814
- country: Schema.optionalKey(
1815
- Schema.String.check(
1816
- Schema.isMaxCodePoints(5000).annotate({
1817
- expected: "a string with at most 5000 code points",
1818
- }),
1819
- ),
1820
- ),
1821
- line1: Schema.optionalKey(
1822
- Schema.String.check(
1823
- Schema.isMaxCodePoints(5000).annotate({
1824
- expected: "a string with at most 5000 code points",
1825
- }),
1826
- ),
1827
- ),
1828
- line2: Schema.optionalKey(
1829
- Schema.String.check(
1830
- Schema.isMaxCodePoints(5000).annotate({
1831
- expected: "a string with at most 5000 code points",
1832
- }),
1833
- ),
1834
- ),
1835
- postal_code: Schema.optionalKey(
1836
- Schema.String.check(
1837
- Schema.isMaxCodePoints(5000).annotate({
1838
- expected: "a string with at most 5000 code points",
1839
- }),
1840
- ),
1841
- ),
1842
- state: Schema.optionalKey(
1843
- Schema.String.check(
1844
- Schema.isMaxCodePoints(5000).annotate({
1845
- expected: "a string with at most 5000 code points",
1846
- }),
1847
- ),
1848
- ),
1849
- town: Schema.optionalKey(
1850
- Schema.String.check(
1851
- Schema.isMaxCodePoints(5000).annotate({
1852
- expected: "a string with at most 5000 code points",
1853
- }),
1854
- ),
1855
- ),
1856
- }),
1857
- [
1858
- Schema.Record(
1859
- Schema.String,
1860
- Schema.Json.annotate({ expected: "JSON value" }),
1861
- ),
1862
- ],
1863
- ).annotate({ title: "japan_address_kanji_specs" }),
1864
- ),
1865
- administrative_address: Schema.optionalKey(
1866
- Schema.StructWithRest(
1867
- Schema.Struct({
1868
- city: Schema.optionalKey(
1869
- Schema.String.check(
1870
- Schema.isMaxCodePoints(100).annotate({
1871
- expected: "a string with at most 100 code points",
1872
- }),
1873
- ),
1874
- ),
1875
- country: Schema.optionalKey(
1876
- Schema.String.check(
1877
- Schema.isMaxCodePoints(5000).annotate({
1878
- expected: "a string with at most 5000 code points",
1879
- }),
1880
- ),
1881
- ),
1882
- line1: Schema.optionalKey(
1883
- Schema.String.check(
1884
- Schema.isMaxCodePoints(200).annotate({
1885
- expected: "a string with at most 200 code points",
1886
- }),
1887
- ),
1888
- ),
1889
- line2: Schema.optionalKey(
1890
- Schema.String.check(
1891
- Schema.isMaxCodePoints(200).annotate({
1892
- expected: "a string with at most 200 code points",
1893
- }),
1894
- ),
1895
- ),
1896
- postal_code: Schema.optionalKey(
1897
- Schema.String.check(
1898
- Schema.isMaxCodePoints(5000).annotate({
1899
- expected: "a string with at most 5000 code points",
1900
- }),
1901
- ),
1902
- ),
1903
- state: Schema.optionalKey(
1904
- Schema.String.check(
1905
- Schema.isMaxCodePoints(5000).annotate({
1906
- expected: "a string with at most 5000 code points",
1907
- }),
1908
- ),
1909
- ),
1910
- }),
1911
- [
1912
- Schema.Record(
1913
- Schema.String,
1914
- Schema.Json.annotate({ expected: "JSON value" }),
1915
- ),
1916
- ],
1917
- ).annotate({ title: "address_specs" }),
1918
- ),
1919
- directors_provided: Schema.optionalKey(Schema.Boolean),
1920
- directorship_declaration: Schema.optionalKey(
1921
- Schema.StructWithRest(
1922
- Schema.Struct({
1923
- date: Schema.optionalKey(
1924
- Schema.Number.annotate({ format: "unix-time" }).check(
1925
- Schema.isInt().annotate({ expected: "an integer" }),
1926
- ),
1927
- ),
1928
- ip: Schema.optionalKey(Schema.String),
1929
- user_agent: Schema.optionalKey(
1930
- Schema.String.check(
1931
- Schema.isMaxCodePoints(5000).annotate({
1932
- expected: "a string with at most 5000 code points",
1933
- }),
1934
- ),
1935
- ),
1936
- }),
1937
- [
1938
- Schema.Record(
1939
- Schema.String,
1940
- Schema.Json.annotate({ expected: "JSON value" }),
1941
- ),
1942
- ],
1943
- ).annotate({ title: "company_directorship_declaration" }),
1944
- ),
1945
- executives_provided: Schema.optionalKey(Schema.Boolean),
1946
- export_license_id: Schema.optionalKey(
1947
- Schema.String.check(
1948
- Schema.isMaxCodePoints(5000).annotate({
1949
- expected: "a string with at most 5000 code points",
1950
- }),
1951
- ),
1952
- ),
1953
- export_purpose_code: Schema.optionalKey(
1954
- Schema.String.check(
1955
- Schema.isMaxCodePoints(5000).annotate({
1956
- expected: "a string with at most 5000 code points",
1957
- }),
1958
- ),
1959
- ),
1960
- name: Schema.optionalKey(
1961
- Schema.String.check(
1962
- Schema.isMaxCodePoints(200).annotate({
1963
- expected: "a string with at most 200 code points",
1964
- }),
1965
- ),
1966
- ),
1967
- name_kana: Schema.optionalKey(
1968
- Schema.String.check(
1969
- Schema.isMaxCodePoints(200).annotate({
1970
- expected: "a string with at most 200 code points",
1971
- }),
1972
- ),
1973
- ),
1974
- name_kanji: Schema.optionalKey(
1975
- Schema.String.check(
1976
- Schema.isMaxCodePoints(200).annotate({
1977
- expected: "a string with at most 200 code points",
1978
- }),
1979
- ),
1980
- ),
1981
- owners_provided: Schema.optionalKey(Schema.Boolean),
1982
- ownership_declaration: Schema.optionalKey(
1983
- Schema.StructWithRest(
1984
- Schema.Struct({
1985
- date: Schema.optionalKey(
1986
- Schema.Number.annotate({ format: "unix-time" }).check(
1987
- Schema.isInt().annotate({ expected: "an integer" }),
1988
- ),
1989
- ),
1990
- ip: Schema.optionalKey(Schema.String),
1991
- user_agent: Schema.optionalKey(
1992
- Schema.String.check(
1993
- Schema.isMaxCodePoints(5000).annotate({
1994
- expected: "a string with at most 5000 code points",
1995
- }),
1996
- ),
1997
- ),
1998
- }),
1999
- [
2000
- Schema.Record(
2001
- Schema.String,
2002
- Schema.Json.annotate({ expected: "JSON value" }),
2003
- ),
2004
- ],
2005
- ).annotate({ title: "company_ownership_declaration" }),
2006
- ),
2007
- ownership_exemption_reason: Schema.optionalKey(
2008
- Schema.Literals([
2009
- "",
2010
- "qualified_entity_exceeds_ownership_threshold",
2011
- "qualifies_as_financial_institution",
2012
- ]),
2013
- ),
2014
- phone: Schema.optionalKey(
2015
- Schema.String.check(
2016
- Schema.isMaxCodePoints(5000).annotate({
2017
- expected: "a string with at most 5000 code points",
2018
- }),
2019
- ),
2020
- ),
2021
- physical_address: Schema.optionalKey(
2022
- Schema.StructWithRest(
2023
- Schema.Struct({
2024
- city: Schema.optionalKey(
2025
- Schema.String.check(
2026
- Schema.isMaxCodePoints(100).annotate({
2027
- expected: "a string with at most 100 code points",
2028
- }),
2029
- ),
2030
- ),
2031
- country: Schema.optionalKey(
2032
- Schema.String.check(
2033
- Schema.isMaxCodePoints(5000).annotate({
2034
- expected: "a string with at most 5000 code points",
2035
- }),
2036
- ),
2037
- ),
2038
- line1: Schema.optionalKey(
2039
- Schema.String.check(
2040
- Schema.isMaxCodePoints(200).annotate({
2041
- expected: "a string with at most 200 code points",
2042
- }),
2043
- ),
2044
- ),
2045
- line2: Schema.optionalKey(
2046
- Schema.String.check(
2047
- Schema.isMaxCodePoints(200).annotate({
2048
- expected: "a string with at most 200 code points",
2049
- }),
2050
- ),
2051
- ),
2052
- postal_code: Schema.optionalKey(
2053
- Schema.String.check(
2054
- Schema.isMaxCodePoints(5000).annotate({
2055
- expected: "a string with at most 5000 code points",
2056
- }),
2057
- ),
2058
- ),
2059
- state: Schema.optionalKey(
2060
- Schema.String.check(
2061
- Schema.isMaxCodePoints(5000).annotate({
2062
- expected: "a string with at most 5000 code points",
2063
- }),
2064
- ),
2065
- ),
2066
- }),
2067
- [
2068
- Schema.Record(
2069
- Schema.String,
2070
- Schema.Json.annotate({ expected: "JSON value" }),
2071
- ),
2072
- ],
2073
- ).annotate({ title: "address_specs" }),
2074
- ),
2075
- principal_place_of_business: Schema.optionalKey(
2076
- Schema.StructWithRest(
2077
- Schema.Struct({
2078
- city: Schema.optionalKey(
2079
- Schema.String.check(
2080
- Schema.isMaxCodePoints(100).annotate({
2081
- expected: "a string with at most 100 code points",
2082
- }),
2083
- ),
2084
- ),
2085
- country: Schema.optionalKey(
2086
- Schema.String.check(
2087
- Schema.isMaxCodePoints(5000).annotate({
2088
- expected: "a string with at most 5000 code points",
2089
- }),
2090
- ),
2091
- ),
2092
- line1: Schema.optionalKey(
2093
- Schema.String.check(
2094
- Schema.isMaxCodePoints(200).annotate({
2095
- expected: "a string with at most 200 code points",
2096
- }),
2097
- ),
2098
- ),
2099
- line2: Schema.optionalKey(
2100
- Schema.String.check(
2101
- Schema.isMaxCodePoints(200).annotate({
2102
- expected: "a string with at most 200 code points",
2103
- }),
2104
- ),
2105
- ),
2106
- postal_code: Schema.optionalKey(
2107
- Schema.String.check(
2108
- Schema.isMaxCodePoints(5000).annotate({
2109
- expected: "a string with at most 5000 code points",
2110
- }),
2111
- ),
2112
- ),
2113
- state: Schema.optionalKey(
2114
- Schema.String.check(
2115
- Schema.isMaxCodePoints(5000).annotate({
2116
- expected: "a string with at most 5000 code points",
2117
- }),
2118
- ),
2119
- ),
2120
- }),
2121
- [
2122
- Schema.Record(
2123
- Schema.String,
2124
- Schema.Json.annotate({ expected: "JSON value" }),
2125
- ),
2126
- ],
2127
- ).annotate({ title: "address_specs" }),
2128
- ),
2129
- registration_date: Schema.optionalKey(
2130
- Schema.Union([
2131
- Schema.StructWithRest(
2132
- Schema.Struct({
2133
- day: Schema.Int,
2134
- month: Schema.Int,
2135
- year: Schema.Int,
2136
- }),
2137
- [
2138
- Schema.Record(
2139
- Schema.String,
2140
- Schema.Json.annotate({ expected: "JSON value" }),
2141
- ),
2142
- ],
2143
- ).annotate({ title: "registration_date_specs" }),
2144
- Schema.Literal(""),
2145
- ]),
2146
- ),
2147
- registration_number: Schema.optionalKey(
2148
- Schema.String.check(
2149
- Schema.isMaxCodePoints(5000).annotate({
2150
- expected: "a string with at most 5000 code points",
2151
- }),
2152
- ),
2153
- ),
2154
- representative_declaration: Schema.optionalKey(
2155
- Schema.StructWithRest(
2156
- Schema.Struct({
2157
- date: Schema.optionalKey(
2158
- Schema.Number.annotate({ format: "unix-time" }).check(
2159
- Schema.isInt().annotate({ expected: "an integer" }),
2160
- ),
2161
- ),
2162
- ip: Schema.optionalKey(Schema.String),
2163
- user_agent: Schema.optionalKey(
2164
- Schema.String.check(
2165
- Schema.isMaxCodePoints(5000).annotate({
2166
- expected: "a string with at most 5000 code points",
2167
- }),
2168
- ),
2169
- ),
2170
- }),
2171
- [
2172
- Schema.Record(
2173
- Schema.String,
2174
- Schema.Json.annotate({ expected: "JSON value" }),
2175
- ),
2176
- ],
2177
- ).annotate({ title: "company_representative_declaration" }),
2178
- ),
2179
- structure: Schema.optionalKey(
2180
- Schema.Literals([
2181
- "",
2182
- "free_zone_establishment",
2183
- "free_zone_llc",
2184
- "government_instrumentality",
2185
- "governmental_unit",
2186
- "incorporated_non_profit",
2187
- "incorporated_partnership",
2188
- "limited_liability_partnership",
2189
- "llc",
2190
- "multi_member_llc",
2191
- "private_company",
2192
- "private_corporation",
2193
- "private_partnership",
2194
- "public_company",
2195
- "public_corporation",
2196
- "public_partnership",
2197
- "registered_charity",
2198
- "single_member_llc",
2199
- "sole_establishment",
2200
- "sole_proprietorship",
2201
- "tax_exempt_government_instrumentality",
2202
- "unincorporated_association",
2203
- "unincorporated_non_profit",
2204
- "unincorporated_partnership",
2205
- ]),
2206
- ),
2207
- tax_id: 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
- tax_id_registrar: Schema.optionalKey(
2215
- Schema.String.check(
2216
- Schema.isMaxCodePoints(5000).annotate({
2217
- expected: "a string with at most 5000 code points",
2218
- }),
2219
- ),
2220
- ),
2221
- vat_id: Schema.optionalKey(
2222
- Schema.String.check(
2223
- Schema.isMaxCodePoints(5000).annotate({
2224
- expected: "a string with at most 5000 code points",
2225
- }),
2226
- ),
2227
- ),
2228
- verification: Schema.optionalKey(
2229
- Schema.StructWithRest(
2230
- Schema.Struct({
2231
- document: Schema.optionalKey(
2232
- Schema.StructWithRest(
2233
- Schema.Struct({
2234
- back: Schema.optionalKey(
2235
- Schema.String.check(
2236
- Schema.isMaxCodePoints(500).annotate({
2237
- expected: "a string with at most 500 code points",
2238
- }),
2239
- ),
2240
- ),
2241
- front: Schema.optionalKey(
2242
- Schema.String.check(
2243
- Schema.isMaxCodePoints(500).annotate({
2244
- expected: "a string with at most 500 code points",
2245
- }),
2246
- ),
2247
- ),
2248
- }),
2249
- [
2250
- Schema.Record(
2251
- Schema.String,
2252
- Schema.Json.annotate({ expected: "JSON value" }),
2253
- ),
2254
- ],
2255
- ).annotate({ title: "verification_document_specs" }),
2256
- ),
2257
- }),
2258
- [
2259
- Schema.Record(
2260
- Schema.String,
2261
- Schema.Json.annotate({ expected: "JSON value" }),
2262
- ),
2263
- ],
2264
- ).annotate({ title: "verification_specs" }),
2265
- ),
2266
- }),
2267
- [
2268
- Schema.Record(
2269
- Schema.String,
2270
- Schema.Json.annotate({ expected: "JSON value" }),
2271
- ),
2272
- ],
2273
- ).annotate({
2274
- title: "company_specs",
2275
- description:
2276
- "Information about the company or business. This field is available for any `business_type`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.",
2277
- }),
2278
- ),
2279
- controller: Schema.optionalKey(
2280
- Schema.StructWithRest(
2281
- Schema.Struct({
2282
- fees: Schema.optionalKey(
2283
- Schema.StructWithRest(
2284
- Schema.Struct({
2285
- payer: Schema.optionalKey(
2286
- Schema.Literals(["account", "application"]),
2287
- ),
2288
- }),
2289
- [
2290
- Schema.Record(
2291
- Schema.String,
2292
- Schema.Json.annotate({ expected: "JSON value" }),
2293
- ),
2294
- ],
2295
- ).annotate({ title: "controller_fees_specs" }),
2296
- ),
2297
- losses: Schema.optionalKey(
2298
- Schema.StructWithRest(
2299
- Schema.Struct({
2300
- payments: Schema.optionalKey(
2301
- Schema.Literals(["application", "stripe"]),
2302
- ),
2303
- }),
2304
- [
2305
- Schema.Record(
2306
- Schema.String,
2307
- Schema.Json.annotate({ expected: "JSON value" }),
2308
- ),
2309
- ],
2310
- ).annotate({ title: "controller_losses_specs" }),
2311
- ),
2312
- requirement_collection: Schema.optionalKey(
2313
- Schema.Literals(["application", "stripe"]),
2314
- ),
2315
- stripe_dashboard: Schema.optionalKey(
2316
- Schema.StructWithRest(
2317
- Schema.Struct({
2318
- type: Schema.optionalKey(
2319
- Schema.Literals(["express", "full", "none"]),
2320
- ),
2321
- }),
2322
- [
2323
- Schema.Record(
2324
- Schema.String,
2325
- Schema.Json.annotate({ expected: "JSON value" }),
2326
- ),
2327
- ],
2328
- ).annotate({ title: "controller_dashboard_specs" }),
2329
- ),
2330
- }),
2331
- [
2332
- Schema.Record(
2333
- Schema.String,
2334
- Schema.Json.annotate({ expected: "JSON value" }),
2335
- ),
2336
- ],
2337
- ).annotate({
2338
- title: "controller_specs",
2339
- description:
2340
- "Configures the account's Dashboard access, loss liability, requirements collection, and Stripe fee responsibility.",
2341
- }),
2342
- ),
2343
- country: Schema.optionalKey(
2344
- Schema.String.annotate({
2345
- description:
2346
- "The country in which the account holder resides, or in which the business is legally established. This should be an ISO 3166-1 alpha-2 country code. For example, if you are in the United States and the business for which you're creating an account is legally represented in Canada, you would use `CA` as the country for the account being created. Available countries include [Stripe's global markets](https://stripe.com/global) as well as countries where [cross-border payouts](https://stripe.com/docs/connect/cross-border-payouts) are supported.",
2347
- }).check(
2348
- Schema.isMaxCodePoints(5000).annotate({
2349
- expected: "a string with at most 5000 code points",
2350
- }),
2351
- ),
2352
- ),
2353
- default_currency: Schema.optionalKey(
2354
- Schema.String.annotate({
2355
- description:
2356
- "Three-letter ISO currency code representing the default currency for the account. This must be a currency that [Stripe supports in the account's country](https://docs.stripe.com/payouts).",
2357
- format: "currency",
2358
- }),
2359
- ),
2360
- documents: Schema.optionalKey(
2361
- Schema.StructWithRest(
2362
- Schema.Struct({
2363
- bank_account_ownership_verification: Schema.optionalKey(
2364
- Schema.StructWithRest(
2365
- Schema.Struct({
2366
- files: Schema.optionalKey(
2367
- Schema.Array(
2368
- Schema.String.check(
2369
- Schema.isMaxCodePoints(500).annotate({
2370
- expected: "a string with at most 500 code points",
2371
- }),
2372
- ),
2373
- ),
2374
- ),
2375
- }),
2376
- [
2377
- Schema.Record(
2378
- Schema.String,
2379
- Schema.Json.annotate({ expected: "JSON value" }),
2380
- ),
2381
- ],
2382
- ).annotate({ title: "documents_param" }),
2383
- ),
2384
- company_license: Schema.optionalKey(
2385
- Schema.StructWithRest(
2386
- Schema.Struct({
2387
- files: Schema.optionalKey(
2388
- Schema.Array(
2389
- Schema.String.check(
2390
- Schema.isMaxCodePoints(500).annotate({
2391
- expected: "a string with at most 500 code points",
2392
- }),
2393
- ),
2394
- ),
2395
- ),
2396
- }),
2397
- [
2398
- Schema.Record(
2399
- Schema.String,
2400
- Schema.Json.annotate({ expected: "JSON value" }),
2401
- ),
2402
- ],
2403
- ).annotate({ title: "documents_param" }),
2404
- ),
2405
- company_memorandum_of_association: Schema.optionalKey(
2406
- Schema.StructWithRest(
2407
- Schema.Struct({
2408
- files: Schema.optionalKey(
2409
- Schema.Array(
2410
- Schema.String.check(
2411
- Schema.isMaxCodePoints(500).annotate({
2412
- expected: "a string with at most 500 code points",
2413
- }),
2414
- ),
2415
- ),
2416
- ),
2417
- }),
2418
- [
2419
- Schema.Record(
2420
- Schema.String,
2421
- Schema.Json.annotate({ expected: "JSON value" }),
2422
- ),
2423
- ],
2424
- ).annotate({ title: "documents_param" }),
2425
- ),
2426
- company_ministerial_decree: Schema.optionalKey(
2427
- Schema.StructWithRest(
2428
- Schema.Struct({
2429
- files: Schema.optionalKey(
2430
- Schema.Array(
2431
- Schema.String.check(
2432
- Schema.isMaxCodePoints(500).annotate({
2433
- expected: "a string with at most 500 code points",
2434
- }),
2435
- ),
2436
- ),
2437
- ),
2438
- }),
2439
- [
2440
- Schema.Record(
2441
- Schema.String,
2442
- Schema.Json.annotate({ expected: "JSON value" }),
2443
- ),
2444
- ],
2445
- ).annotate({ title: "documents_param" }),
2446
- ),
2447
- company_registration_verification: Schema.optionalKey(
2448
- Schema.StructWithRest(
2449
- Schema.Struct({
2450
- files: Schema.optionalKey(
2451
- Schema.Array(
2452
- Schema.String.check(
2453
- Schema.isMaxCodePoints(500).annotate({
2454
- expected: "a string with at most 500 code points",
2455
- }),
2456
- ),
2457
- ),
2458
- ),
2459
- }),
2460
- [
2461
- Schema.Record(
2462
- Schema.String,
2463
- Schema.Json.annotate({ expected: "JSON value" }),
2464
- ),
2465
- ],
2466
- ).annotate({ title: "documents_param" }),
2467
- ),
2468
- company_tax_id_verification: Schema.optionalKey(
2469
- Schema.StructWithRest(
2470
- Schema.Struct({
2471
- files: Schema.optionalKey(
2472
- Schema.Array(
2473
- Schema.String.check(
2474
- Schema.isMaxCodePoints(500).annotate({
2475
- expected: "a string with at most 500 code points",
2476
- }),
2477
- ),
2478
- ),
2479
- ),
2480
- }),
2481
- [
2482
- Schema.Record(
2483
- Schema.String,
2484
- Schema.Json.annotate({ expected: "JSON value" }),
2485
- ),
2486
- ],
2487
- ).annotate({ title: "documents_param" }),
2488
- ),
2489
- proof_of_address: Schema.optionalKey(
2490
- Schema.StructWithRest(
2491
- Schema.Struct({
2492
- files: Schema.optionalKey(
2493
- Schema.Array(
2494
- Schema.String.check(
2495
- Schema.isMaxCodePoints(500).annotate({
2496
- expected: "a string with at most 500 code points",
2497
- }),
2498
- ),
2499
- ),
2500
- ),
2501
- }),
2502
- [
2503
- Schema.Record(
2504
- Schema.String,
2505
- Schema.Json.annotate({ expected: "JSON value" }),
2506
- ),
2507
- ],
2508
- ).annotate({ title: "documents_param" }),
2509
- ),
2510
- proof_of_business_presence: Schema.optionalKey(
2511
- Schema.StructWithRest(
2512
- Schema.Struct({
2513
- files: Schema.optionalKey(
2514
- Schema.Array(
2515
- Schema.String.check(
2516
- Schema.isMaxCodePoints(500).annotate({
2517
- expected: "a string with at most 500 code points",
2518
- }),
2519
- ),
2520
- ),
2521
- ),
2522
- }),
2523
- [
2524
- Schema.Record(
2525
- Schema.String,
2526
- Schema.Json.annotate({ expected: "JSON value" }),
2527
- ),
2528
- ],
2529
- ).annotate({ title: "documents_param" }),
2530
- ),
2531
- proof_of_ultimate_beneficial_ownership: Schema.optionalKey(
2532
- Schema.StructWithRest(
2533
- Schema.Struct({
2534
- files: Schema.optionalKey(
2535
- Schema.Array(
2536
- Schema.String.check(
2537
- Schema.isMaxCodePoints(500).annotate({
2538
- expected: "a string with at most 500 code points",
2539
- }),
2540
- ),
2541
- ),
2542
- ),
2543
- signer: Schema.optionalKey(
2544
- Schema.StructWithRest(
2545
- Schema.Struct({
2546
- person: Schema.optionalKey(
2547
- Schema.String.check(
2548
- Schema.isMaxCodePoints(5000).annotate({
2549
- expected: "a string with at most 5000 code points",
2550
- }),
2551
- ),
2552
- ),
2553
- }),
2554
- [
2555
- Schema.Record(
2556
- Schema.String,
2557
- Schema.Json.annotate({ expected: "JSON value" }),
2558
- ),
2559
- ],
2560
- ).annotate({ title: "signer_name_param" }),
2561
- ),
2562
- }),
2563
- [
2564
- Schema.Record(
2565
- Schema.String,
2566
- Schema.Json.annotate({ expected: "JSON value" }),
2567
- ),
2568
- ],
2569
- ).annotate({ title: "signer_param" }),
2570
- ),
2571
- }),
2572
- [
2573
- Schema.Record(
2574
- Schema.String,
2575
- Schema.Json.annotate({ expected: "JSON value" }),
2576
- ),
2577
- ],
2578
- ).annotate({
2579
- title: "documents_specs",
2580
- description:
2581
- "Documents that may be submitted to satisfy various informational requests.",
2582
- }),
372
+ documents: Schema.optionalKey(
373
+ StripeV1AccountPropsSchemaInputResourceInputProperties_12,
2583
374
  ),
2584
375
  email: Schema.optionalKey(
2585
376
  Schema.String.annotate({
@@ -2592,16 +383,7 @@ export const StripeV1AccountPropsSchema = annotateResourceSchema(
2592
383
  ),
2593
384
  ),
2594
385
  expand: Schema.optionalKey(
2595
- Schema.Array(
2596
- Schema.String.check(
2597
- Schema.isMaxCodePoints(5000).annotate({
2598
- expected: "a string with at most 5000 code points",
2599
- }),
2600
- ),
2601
- ).annotate({
2602
- description:
2603
- "Specifies which fields in the response should be expanded.",
2604
- }),
386
+ StripeV1AccountPropsSchemaInputResourceInputItems,
2605
387
  ),
2606
388
  external_account: Schema.optionalKey(
2607
389
  Schema.String.annotate({
@@ -2614,227 +396,22 @@ export const StripeV1AccountPropsSchema = annotateResourceSchema(
2614
396
  ),
2615
397
  ),
2616
398
  groups: Schema.optionalKey(
2617
- Schema.StructWithRest(
2618
- Schema.Struct({
2619
- payments_pricing: Schema.optionalKey(
2620
- Schema.Union([
2621
- Schema.String.check(
2622
- Schema.isMaxCodePoints(5000).annotate({
2623
- expected: "a string with at most 5000 code points",
2624
- }),
2625
- ),
2626
- Schema.Literal(""),
2627
- ]),
2628
- ),
2629
- }),
2630
- [
2631
- Schema.Record(
2632
- Schema.String,
2633
- Schema.Json.annotate({ expected: "JSON value" }),
2634
- ),
2635
- ],
2636
- ).annotate({
2637
- title: "account_groups_specs",
2638
- description:
2639
- "A hash of account group type to tokens. These are account groups this account should be added to.",
2640
- }),
399
+ StripeV1AccountPropsSchemaInputResourceInputProperties_13,
2641
400
  ),
2642
401
  individual: Schema.optionalKey(
2643
402
  Schema.StructWithRest(
2644
403
  Schema.Struct({
2645
404
  address: Schema.optionalKey(
2646
- Schema.StructWithRest(
2647
- Schema.Struct({
2648
- city: Schema.optionalKey(
2649
- Schema.String.check(
2650
- Schema.isMaxCodePoints(100).annotate({
2651
- expected: "a string with at most 100 code points",
2652
- }),
2653
- ),
2654
- ),
2655
- country: Schema.optionalKey(
2656
- Schema.String.check(
2657
- Schema.isMaxCodePoints(5000).annotate({
2658
- expected: "a string with at most 5000 code points",
2659
- }),
2660
- ),
2661
- ),
2662
- line1: Schema.optionalKey(
2663
- Schema.String.check(
2664
- Schema.isMaxCodePoints(200).annotate({
2665
- expected: "a string with at most 200 code points",
2666
- }),
2667
- ),
2668
- ),
2669
- line2: Schema.optionalKey(
2670
- Schema.String.check(
2671
- Schema.isMaxCodePoints(200).annotate({
2672
- expected: "a string with at most 200 code points",
2673
- }),
2674
- ),
2675
- ),
2676
- postal_code: Schema.optionalKey(
2677
- Schema.String.check(
2678
- Schema.isMaxCodePoints(5000).annotate({
2679
- expected: "a string with at most 5000 code points",
2680
- }),
2681
- ),
2682
- ),
2683
- state: Schema.optionalKey(
2684
- Schema.String.check(
2685
- Schema.isMaxCodePoints(5000).annotate({
2686
- expected: "a string with at most 5000 code points",
2687
- }),
2688
- ),
2689
- ),
2690
- }),
2691
- [
2692
- Schema.Record(
2693
- Schema.String,
2694
- Schema.Json.annotate({ expected: "JSON value" }),
2695
- ),
2696
- ],
2697
- ).annotate({ title: "address_specs" }),
405
+ StripeV1AccountPropsSchemaInputResourceInputProperties_14,
2698
406
  ),
2699
407
  address_kana: Schema.optionalKey(
2700
- Schema.StructWithRest(
2701
- Schema.Struct({
2702
- city: Schema.optionalKey(
2703
- Schema.String.check(
2704
- Schema.isMaxCodePoints(5000).annotate({
2705
- expected: "a string with at most 5000 code points",
2706
- }),
2707
- ),
2708
- ),
2709
- country: Schema.optionalKey(
2710
- Schema.String.check(
2711
- Schema.isMaxCodePoints(5000).annotate({
2712
- expected: "a string with at most 5000 code points",
2713
- }),
2714
- ),
2715
- ),
2716
- line1: Schema.optionalKey(
2717
- Schema.String.check(
2718
- Schema.isMaxCodePoints(5000).annotate({
2719
- expected: "a string with at most 5000 code points",
2720
- }),
2721
- ),
2722
- ),
2723
- line2: Schema.optionalKey(
2724
- Schema.String.check(
2725
- Schema.isMaxCodePoints(5000).annotate({
2726
- expected: "a string with at most 5000 code points",
2727
- }),
2728
- ),
2729
- ),
2730
- postal_code: Schema.optionalKey(
2731
- Schema.String.check(
2732
- Schema.isMaxCodePoints(5000).annotate({
2733
- expected: "a string with at most 5000 code points",
2734
- }),
2735
- ),
2736
- ),
2737
- state: Schema.optionalKey(
2738
- Schema.String.check(
2739
- Schema.isMaxCodePoints(5000).annotate({
2740
- expected: "a string with at most 5000 code points",
2741
- }),
2742
- ),
2743
- ),
2744
- town: Schema.optionalKey(
2745
- Schema.String.check(
2746
- Schema.isMaxCodePoints(5000).annotate({
2747
- expected: "a string with at most 5000 code points",
2748
- }),
2749
- ),
2750
- ),
2751
- }),
2752
- [
2753
- Schema.Record(
2754
- Schema.String,
2755
- Schema.Json.annotate({ expected: "JSON value" }),
2756
- ),
2757
- ],
2758
- ).annotate({ title: "japan_address_kana_specs" }),
408
+ StripeV1AccountPropsSchemaInputResourceInputProperties_15,
2759
409
  ),
2760
410
  address_kanji: Schema.optionalKey(
2761
- Schema.StructWithRest(
2762
- Schema.Struct({
2763
- city: Schema.optionalKey(
2764
- Schema.String.check(
2765
- Schema.isMaxCodePoints(5000).annotate({
2766
- expected: "a string with at most 5000 code points",
2767
- }),
2768
- ),
2769
- ),
2770
- country: Schema.optionalKey(
2771
- Schema.String.check(
2772
- Schema.isMaxCodePoints(5000).annotate({
2773
- expected: "a string with at most 5000 code points",
2774
- }),
2775
- ),
2776
- ),
2777
- line1: Schema.optionalKey(
2778
- Schema.String.check(
2779
- Schema.isMaxCodePoints(5000).annotate({
2780
- expected: "a string with at most 5000 code points",
2781
- }),
2782
- ),
2783
- ),
2784
- line2: Schema.optionalKey(
2785
- Schema.String.check(
2786
- Schema.isMaxCodePoints(5000).annotate({
2787
- expected: "a string with at most 5000 code points",
2788
- }),
2789
- ),
2790
- ),
2791
- postal_code: Schema.optionalKey(
2792
- Schema.String.check(
2793
- Schema.isMaxCodePoints(5000).annotate({
2794
- expected: "a string with at most 5000 code points",
2795
- }),
2796
- ),
2797
- ),
2798
- state: Schema.optionalKey(
2799
- Schema.String.check(
2800
- Schema.isMaxCodePoints(5000).annotate({
2801
- expected: "a string with at most 5000 code points",
2802
- }),
2803
- ),
2804
- ),
2805
- town: Schema.optionalKey(
2806
- Schema.String.check(
2807
- Schema.isMaxCodePoints(5000).annotate({
2808
- expected: "a string with at most 5000 code points",
2809
- }),
2810
- ),
2811
- ),
2812
- }),
2813
- [
2814
- Schema.Record(
2815
- Schema.String,
2816
- Schema.Json.annotate({ expected: "JSON value" }),
2817
- ),
2818
- ],
2819
- ).annotate({ title: "japan_address_kanji_specs" }),
411
+ StripeV1AccountPropsSchemaInputResourceInputProperties_16,
2820
412
  ),
2821
413
  dob: Schema.optionalKey(
2822
- Schema.Union([
2823
- Schema.StructWithRest(
2824
- Schema.Struct({
2825
- day: Schema.Int,
2826
- month: Schema.Int,
2827
- year: Schema.Int,
2828
- }),
2829
- [
2830
- Schema.Record(
2831
- Schema.String,
2832
- Schema.Json.annotate({ expected: "JSON value" }),
2833
- ),
2834
- ],
2835
- ).annotate({ title: "date_of_birth_specs" }),
2836
- Schema.Literal(""),
2837
- ]),
414
+ StripeV1AccountPropsSchemaInputResourceInputAlternatives_5,
2838
415
  ),
2839
416
  email: Schema.optionalKey(
2840
417
  Schema.String.check(
@@ -2865,16 +442,7 @@ export const StripeV1AccountPropsSchema = annotateResourceSchema(
2865
442
  ),
2866
443
  ),
2867
444
  full_name_aliases: Schema.optionalKey(
2868
- Schema.Union([
2869
- Schema.Array(
2870
- Schema.String.check(
2871
- Schema.isMaxCodePoints(300).annotate({
2872
- expected: "a string with at most 300 code points",
2873
- }),
2874
- ),
2875
- ),
2876
- Schema.Literal(""),
2877
- ]),
445
+ StripeV1AccountPropsSchemaInputResourceInputAlternatives_6,
2878
446
  ),
2879
447
  gender: Schema.optionalKey(Schema.String),
2880
448
  id_number: Schema.optionalKey(
@@ -2893,120 +461,44 @@ export const StripeV1AccountPropsSchema = annotateResourceSchema(
2893
461
  ),
2894
462
  last_name: Schema.optionalKey(
2895
463
  Schema.String.check(
2896
- Schema.isMaxCodePoints(100).annotate({
2897
- expected: "a string with at most 100 code points",
2898
- }),
2899
- ),
2900
- ),
2901
- last_name_kana: Schema.optionalKey(
2902
- Schema.String.check(
2903
- Schema.isMaxCodePoints(5000).annotate({
2904
- expected: "a string with at most 5000 code points",
2905
- }),
2906
- ),
2907
- ),
2908
- last_name_kanji: Schema.optionalKey(
2909
- Schema.String.check(
2910
- Schema.isMaxCodePoints(5000).annotate({
2911
- expected: "a string with at most 5000 code points",
2912
- }),
2913
- ),
2914
- ),
2915
- maiden_name: Schema.optionalKey(
2916
- Schema.String.check(
2917
- Schema.isMaxCodePoints(5000).annotate({
2918
- expected: "a string with at most 5000 code points",
2919
- }),
2920
- ),
2921
- ),
2922
- metadata: Schema.optionalKey(
2923
- Schema.Union([
2924
- Schema.Record(Schema.String, Schema.String),
2925
- Schema.Literal(""),
2926
- ]),
2927
- ),
2928
- phone: Schema.optionalKey(Schema.String),
2929
- political_exposure: Schema.optionalKey(
2930
- Schema.Literals(["existing", "none"]),
2931
- ),
2932
- registered_address: Schema.optionalKey(
2933
- Schema.StructWithRest(
2934
- Schema.Struct({
2935
- city: Schema.optionalKey(
2936
- Schema.String.check(
2937
- Schema.isMaxCodePoints(100).annotate({
2938
- expected: "a string with at most 100 code points",
2939
- }),
2940
- ),
2941
- ),
2942
- country: Schema.optionalKey(
2943
- Schema.String.check(
2944
- Schema.isMaxCodePoints(5000).annotate({
2945
- expected: "a string with at most 5000 code points",
2946
- }),
2947
- ),
2948
- ),
2949
- line1: Schema.optionalKey(
2950
- Schema.String.check(
2951
- Schema.isMaxCodePoints(200).annotate({
2952
- expected: "a string with at most 200 code points",
2953
- }),
2954
- ),
2955
- ),
2956
- line2: Schema.optionalKey(
2957
- Schema.String.check(
2958
- Schema.isMaxCodePoints(200).annotate({
2959
- expected: "a string with at most 200 code points",
2960
- }),
2961
- ),
2962
- ),
2963
- postal_code: Schema.optionalKey(
2964
- Schema.String.check(
2965
- Schema.isMaxCodePoints(5000).annotate({
2966
- expected: "a string with at most 5000 code points",
2967
- }),
2968
- ),
2969
- ),
2970
- state: Schema.optionalKey(
2971
- Schema.String.check(
2972
- Schema.isMaxCodePoints(5000).annotate({
2973
- expected: "a string with at most 5000 code points",
2974
- }),
2975
- ),
2976
- ),
464
+ Schema.isMaxCodePoints(100).annotate({
465
+ expected: "a string with at most 100 code points",
2977
466
  }),
2978
- [
2979
- Schema.Record(
2980
- Schema.String,
2981
- Schema.Json.annotate({ expected: "JSON value" }),
2982
- ),
2983
- ],
2984
- ).annotate({ title: "address_specs" }),
467
+ ),
2985
468
  ),
2986
- relationship: Schema.optionalKey(
2987
- Schema.StructWithRest(
2988
- Schema.Struct({
2989
- director: Schema.optionalKey(Schema.Boolean),
2990
- executive: Schema.optionalKey(Schema.Boolean),
2991
- owner: Schema.optionalKey(Schema.Boolean),
2992
- percent_ownership: Schema.optionalKey(
2993
- Schema.Union([Schema.Finite, Schema.Literal("")]),
2994
- ),
2995
- title: Schema.optionalKey(
2996
- Schema.String.check(
2997
- Schema.isMaxCodePoints(5000).annotate({
2998
- expected: "a string with at most 5000 code points",
2999
- }),
3000
- ),
3001
- ),
469
+ last_name_kana: Schema.optionalKey(
470
+ Schema.String.check(
471
+ Schema.isMaxCodePoints(5000).annotate({
472
+ expected: "a string with at most 5000 code points",
3002
473
  }),
3003
- [
3004
- Schema.Record(
3005
- Schema.String,
3006
- Schema.Json.annotate({ expected: "JSON value" }),
3007
- ),
3008
- ],
3009
- ).annotate({ title: "individual_relationship_specs" }),
474
+ ),
475
+ ),
476
+ last_name_kanji: Schema.optionalKey(
477
+ Schema.String.check(
478
+ Schema.isMaxCodePoints(5000).annotate({
479
+ expected: "a string with at most 5000 code points",
480
+ }),
481
+ ),
482
+ ),
483
+ maiden_name: Schema.optionalKey(
484
+ Schema.String.check(
485
+ Schema.isMaxCodePoints(5000).annotate({
486
+ expected: "a string with at most 5000 code points",
487
+ }),
488
+ ),
489
+ ),
490
+ metadata: Schema.optionalKey(
491
+ StripeV1AccountPropsSchemaInputResourceInputAlternatives_7,
492
+ ),
493
+ phone: Schema.optionalKey(Schema.String),
494
+ political_exposure: Schema.optionalKey(
495
+ StripeV1AccountPropsSchemaInputResourceInputAlternatives_8,
496
+ ),
497
+ registered_address: Schema.optionalKey(
498
+ StripeV1AccountPropsSchemaInputResourceInputProperties_17,
499
+ ),
500
+ relationship: Schema.optionalKey(
501
+ StripeV1AccountPropsSchemaInputResourceInputProperties_18,
3010
502
  ),
3011
503
  ssn_last_4: Schema.optionalKey(
3012
504
  Schema.String.check(
@@ -3093,29 +585,13 @@ export const StripeV1AccountPropsSchema = annotateResourceSchema(
3093
585
  }),
3094
586
  ),
3095
587
  metadata: Schema.optionalKey(
3096
- Schema.Union([
3097
- Schema.Record(Schema.String, Schema.String),
3098
- Schema.Literal(""),
3099
- ]).annotate({
3100
- description:
3101
- "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`.",
3102
- }),
588
+ StripeV1AccountPropsSchemaInputResourceInputAlternatives_9,
3103
589
  ),
3104
590
  settings: Schema.optionalKey(
3105
591
  Schema.StructWithRest(
3106
592
  Schema.Struct({
3107
593
  bacs_debit_payments: Schema.optionalKey(
3108
- Schema.StructWithRest(
3109
- Schema.Struct({
3110
- display_name: Schema.optionalKey(Schema.String),
3111
- }),
3112
- [
3113
- Schema.Record(
3114
- Schema.String,
3115
- Schema.Json.annotate({ expected: "JSON value" }),
3116
- ),
3117
- ],
3118
- ).annotate({ title: "bacs_debit_payments_specs" }),
594
+ StripeV1AccountPropsSchemaInputResourceInputProperties_19,
3119
595
  ),
3120
596
  branding: Schema.optionalKey(
3121
597
  Schema.StructWithRest(
@@ -3158,364 +634,28 @@ export const StripeV1AccountPropsSchema = annotateResourceSchema(
3158
634
  ).annotate({ title: "branding_settings_specs" }),
3159
635
  ),
3160
636
  card_issuing: Schema.optionalKey(
3161
- Schema.StructWithRest(
3162
- Schema.Struct({
3163
- tos_acceptance: Schema.optionalKey(
3164
- Schema.StructWithRest(
3165
- Schema.Struct({
3166
- date: Schema.optionalKey(
3167
- Schema.Number.annotate({ format: "unix-time" }).check(
3168
- Schema.isInt().annotate({ expected: "an integer" }),
3169
- ),
3170
- ),
3171
- ip: Schema.optionalKey(Schema.String),
3172
- user_agent: Schema.optionalKey(
3173
- Schema.Union([
3174
- Schema.String.check(
3175
- Schema.isMaxCodePoints(5000).annotate({
3176
- expected:
3177
- "a string with at most 5000 code points",
3178
- }),
3179
- ),
3180
- Schema.Literal(""),
3181
- ]),
3182
- ),
3183
- }),
3184
- [
3185
- Schema.Record(
3186
- Schema.String,
3187
- Schema.Json.annotate({ expected: "JSON value" }),
3188
- ),
3189
- ],
3190
- ).annotate({ title: "settings_terms_of_service_specs" }),
3191
- ),
3192
- }),
3193
- [
3194
- Schema.Record(
3195
- Schema.String,
3196
- Schema.Json.annotate({ expected: "JSON value" }),
3197
- ),
3198
- ],
3199
- ).annotate({ title: "card_issuing_settings_specs" }),
637
+ StripeV1AccountPropsSchemaInputResourceInputProperties_20,
3200
638
  ),
3201
639
  card_payments: Schema.optionalKey(
3202
- Schema.StructWithRest(
3203
- Schema.Struct({
3204
- decline_on: Schema.optionalKey(
3205
- Schema.StructWithRest(
3206
- Schema.Struct({
3207
- avs_failure: Schema.optionalKey(Schema.Boolean),
3208
- cvc_failure: Schema.optionalKey(Schema.Boolean),
3209
- }),
3210
- [
3211
- Schema.Record(
3212
- Schema.String,
3213
- Schema.Json.annotate({ expected: "JSON value" }),
3214
- ),
3215
- ],
3216
- ).annotate({ title: "decline_charge_on_specs" }),
3217
- ),
3218
- statement_descriptor_prefix: Schema.optionalKey(
3219
- Schema.String.check(
3220
- Schema.isMaxCodePoints(10).annotate({
3221
- expected: "a string with at most 10 code points",
3222
- }),
3223
- ),
3224
- ),
3225
- statement_descriptor_prefix_kana: Schema.optionalKey(
3226
- Schema.Union([
3227
- Schema.String.check(
3228
- Schema.isMaxCodePoints(10).annotate({
3229
- expected: "a string with at most 10 code points",
3230
- }),
3231
- ),
3232
- Schema.Literal(""),
3233
- ]),
3234
- ),
3235
- statement_descriptor_prefix_kanji: Schema.optionalKey(
3236
- Schema.Union([
3237
- Schema.String.check(
3238
- Schema.isMaxCodePoints(10).annotate({
3239
- expected: "a string with at most 10 code points",
3240
- }),
3241
- ),
3242
- Schema.Literal(""),
3243
- ]),
3244
- ),
3245
- }),
3246
- [
3247
- Schema.Record(
3248
- Schema.String,
3249
- Schema.Json.annotate({ expected: "JSON value" }),
3250
- ),
3251
- ],
3252
- ).annotate({ title: "card_payments_settings_specs" }),
640
+ StripeV1AccountPropsSchemaInputResourceInputProperties_21,
3253
641
  ),
3254
642
  invoices: Schema.optionalKey(
3255
- Schema.StructWithRest(
3256
- Schema.Struct({
3257
- hosted_payment_method_save: Schema.optionalKey(
3258
- Schema.Literals(["always", "never", "offer"]),
3259
- ),
3260
- }),
3261
- [
3262
- Schema.Record(
3263
- Schema.String,
3264
- Schema.Json.annotate({ expected: "JSON value" }),
3265
- ),
3266
- ],
3267
- ).annotate({ title: "invoices_settings_specs_create" }),
643
+ StripeV1AccountPropsSchemaInputResourceInputProperties_22,
3268
644
  ),
3269
645
  payments: Schema.optionalKey(
3270
- Schema.StructWithRest(
3271
- Schema.Struct({
3272
- statement_descriptor: Schema.optionalKey(
3273
- Schema.String.check(
3274
- Schema.isMaxCodePoints(22).annotate({
3275
- expected: "a string with at most 22 code points",
3276
- }),
3277
- ),
3278
- ),
3279
- statement_descriptor_kana: Schema.optionalKey(
3280
- Schema.String.check(
3281
- Schema.isMaxCodePoints(22).annotate({
3282
- expected: "a string with at most 22 code points",
3283
- }),
3284
- ),
3285
- ),
3286
- statement_descriptor_kanji: Schema.optionalKey(
3287
- Schema.String.check(
3288
- Schema.isMaxCodePoints(22).annotate({
3289
- expected: "a string with at most 22 code points",
3290
- }),
3291
- ),
3292
- ),
3293
- }),
3294
- [
3295
- Schema.Record(
3296
- Schema.String,
3297
- Schema.Json.annotate({ expected: "JSON value" }),
3298
- ),
3299
- ],
3300
- ).annotate({ title: "payments_settings_specs" }),
646
+ StripeV1AccountPropsSchemaInputResourceInputProperties_23,
3301
647
  ),
3302
648
  payouts: Schema.optionalKey(
3303
- Schema.StructWithRest(
3304
- Schema.Struct({
3305
- debit_negative_balances: Schema.optionalKey(Schema.Boolean),
3306
- schedule: Schema.optionalKey(
3307
- Schema.StructWithRest(
3308
- Schema.Struct({
3309
- delay_days: Schema.optionalKey(
3310
- Schema.Union([Schema.Literal("minimum"), Schema.Int]),
3311
- ),
3312
- interval: Schema.optionalKey(
3313
- Schema.Literals([
3314
- "daily",
3315
- "manual",
3316
- "monthly",
3317
- "weekly",
3318
- ]),
3319
- ),
3320
- monthly_anchor: Schema.optionalKey(Schema.Int),
3321
- monthly_payout_days: Schema.optionalKey(
3322
- Schema.Array(Schema.Int),
3323
- ),
3324
- weekly_anchor: Schema.optionalKey(
3325
- Schema.Literals([
3326
- "friday",
3327
- "monday",
3328
- "saturday",
3329
- "sunday",
3330
- "thursday",
3331
- "tuesday",
3332
- "wednesday",
3333
- ]),
3334
- ),
3335
- weekly_payout_days: Schema.optionalKey(
3336
- Schema.Array(
3337
- Schema.Literals([
3338
- "friday",
3339
- "monday",
3340
- "thursday",
3341
- "tuesday",
3342
- "wednesday",
3343
- ]),
3344
- ),
3345
- ),
3346
- }),
3347
- [
3348
- Schema.Record(
3349
- Schema.String,
3350
- Schema.Json.annotate({ expected: "JSON value" }),
3351
- ),
3352
- ],
3353
- ).annotate({ title: "transfer_schedule_specs" }),
3354
- ),
3355
- statement_descriptor: Schema.optionalKey(
3356
- Schema.String.check(
3357
- Schema.isMaxCodePoints(22).annotate({
3358
- expected: "a string with at most 22 code points",
3359
- }),
3360
- ),
3361
- ),
3362
- }),
3363
- [
3364
- Schema.Record(
3365
- Schema.String,
3366
- Schema.Json.annotate({ expected: "JSON value" }),
3367
- ),
3368
- ],
3369
- ).annotate({ title: "payout_settings_specs" }),
649
+ StripeV1AccountPropsSchemaInputResourceInputProperties_24,
3370
650
  ),
3371
651
  paypay_payments: Schema.optionalKey(
3372
- Schema.StructWithRest(
3373
- Schema.Struct({
3374
- additional_files: Schema.optionalKey(
3375
- Schema.Array(
3376
- Schema.String.check(
3377
- Schema.isMaxCodePoints(5000).annotate({
3378
- expected: "a string with at most 5000 code points",
3379
- }),
3380
- ),
3381
- ),
3382
- ),
3383
- goods_type: Schema.optionalKey(
3384
- Schema.Literals(["digital_content", "other"]),
3385
- ),
3386
- site: Schema.optionalKey(
3387
- Schema.StructWithRest(
3388
- Schema.Struct({
3389
- accessible: Schema.optionalKey(
3390
- Schema.Record(
3391
- Schema.String,
3392
- Schema.Json.annotate({ expected: "JSON value" }),
3393
- ).annotate({ title: "paypay_site_accessible_specs" }),
3394
- ),
3395
- in_development: Schema.optionalKey(
3396
- Schema.StructWithRest(
3397
- Schema.Struct({
3398
- password: Schema.String.check(
3399
- Schema.isMaxCodePoints(5000).annotate({
3400
- expected:
3401
- "a string with at most 5000 code points",
3402
- }),
3403
- ),
3404
- username: Schema.optionalKey(
3405
- Schema.String.check(
3406
- Schema.isMaxCodePoints(5000).annotate({
3407
- expected:
3408
- "a string with at most 5000 code points",
3409
- }),
3410
- ),
3411
- ),
3412
- }),
3413
- [
3414
- Schema.Record(
3415
- Schema.String,
3416
- Schema.Json.annotate({ expected: "JSON value" }),
3417
- ),
3418
- ],
3419
- ).annotate({
3420
- title: "paypay_site_in_development_specs",
3421
- }),
3422
- ),
3423
- restricted: Schema.optionalKey(
3424
- Schema.StructWithRest(
3425
- Schema.Struct({
3426
- payment_flow_file: Schema.optionalKey(
3427
- Schema.String.check(
3428
- Schema.isMaxCodePoints(5000).annotate({
3429
- expected:
3430
- "a string with at most 5000 code points",
3431
- }),
3432
- ),
3433
- ),
3434
- }),
3435
- [
3436
- Schema.Record(
3437
- Schema.String,
3438
- Schema.Json.annotate({ expected: "JSON value" }),
3439
- ),
3440
- ],
3441
- ).annotate({ title: "paypay_site_restricted_specs" }),
3442
- ),
3443
- type: Schema.optionalKey(
3444
- Schema.Literals([
3445
- "accessible",
3446
- "in_development",
3447
- "restricted",
3448
- ]),
3449
- ),
3450
- }),
3451
- [
3452
- Schema.Record(
3453
- Schema.String,
3454
- Schema.Json.annotate({ expected: "JSON value" }),
3455
- ),
3456
- ],
3457
- ).annotate({ title: "paypay_site_specs" }),
3458
- ),
3459
- }),
3460
- [
3461
- Schema.Record(
3462
- Schema.String,
3463
- Schema.Json.annotate({ expected: "JSON value" }),
3464
- ),
3465
- ],
3466
- ).annotate({ title: "paypay_payments_settings_specs" }),
652
+ StripeV1AccountPropsSchemaInputResourceInputProperties_25,
3467
653
  ),
3468
654
  sepa_debit_payments: Schema.optionalKey(
3469
- Schema.StructWithRest(
3470
- Schema.Struct({ creditor_id: Schema.optionalKey(Schema.String) }),
3471
- [
3472
- Schema.Record(
3473
- Schema.String,
3474
- Schema.Json.annotate({ expected: "JSON value" }),
3475
- ),
3476
- ],
3477
- ).annotate({ title: "sepa_debit_payments_specs" }),
655
+ StripeV1AccountPropsSchemaInputResourceInputProperties_26,
3478
656
  ),
3479
657
  treasury: Schema.optionalKey(
3480
- Schema.StructWithRest(
3481
- Schema.Struct({
3482
- tos_acceptance: Schema.optionalKey(
3483
- Schema.StructWithRest(
3484
- Schema.Struct({
3485
- date: Schema.optionalKey(
3486
- Schema.Number.annotate({ format: "unix-time" }).check(
3487
- Schema.isInt().annotate({ expected: "an integer" }),
3488
- ),
3489
- ),
3490
- ip: Schema.optionalKey(Schema.String),
3491
- user_agent: Schema.optionalKey(
3492
- Schema.Union([
3493
- Schema.String.check(
3494
- Schema.isMaxCodePoints(5000).annotate({
3495
- expected:
3496
- "a string with at most 5000 code points",
3497
- }),
3498
- ),
3499
- Schema.Literal(""),
3500
- ]),
3501
- ),
3502
- }),
3503
- [
3504
- Schema.Record(
3505
- Schema.String,
3506
- Schema.Json.annotate({ expected: "JSON value" }),
3507
- ),
3508
- ],
3509
- ).annotate({ title: "settings_terms_of_service_specs" }),
3510
- ),
3511
- }),
3512
- [
3513
- Schema.Record(
3514
- Schema.String,
3515
- Schema.Json.annotate({ expected: "JSON value" }),
3516
- ),
3517
- ],
3518
- ).annotate({ title: "treasury_settings_specs" }),
658
+ StripeV1AccountPropsSchemaInputResourceInputProperties_27,
3519
659
  ),
3520
660
  }),
3521
661
  [
@@ -3531,46 +671,10 @@ export const StripeV1AccountPropsSchema = annotateResourceSchema(
3531
671
  }),
3532
672
  ),
3533
673
  tos_acceptance: Schema.optionalKey(
3534
- Schema.StructWithRest(
3535
- Schema.Struct({
3536
- date: Schema.optionalKey(
3537
- Schema.Number.annotate({ format: "unix-time" }).check(
3538
- Schema.isInt().annotate({ expected: "an integer" }),
3539
- ),
3540
- ),
3541
- ip: Schema.optionalKey(Schema.String),
3542
- service_agreement: Schema.optionalKey(
3543
- Schema.String.check(
3544
- Schema.isMaxCodePoints(5000).annotate({
3545
- expected: "a string with at most 5000 code points",
3546
- }),
3547
- ),
3548
- ),
3549
- user_agent: Schema.optionalKey(
3550
- Schema.String.check(
3551
- Schema.isMaxCodePoints(5000).annotate({
3552
- expected: "a string with at most 5000 code points",
3553
- }),
3554
- ),
3555
- ),
3556
- }),
3557
- [
3558
- Schema.Record(
3559
- Schema.String,
3560
- Schema.Json.annotate({ expected: "JSON value" }),
3561
- ),
3562
- ],
3563
- ).annotate({
3564
- title: "tos_acceptance_specs",
3565
- description:
3566
- "Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.",
3567
- }),
674
+ StripeV1AccountPropsSchemaInputResourceInputProperties_28,
3568
675
  ),
3569
676
  type: Schema.optionalKey(
3570
- Schema.Literals(["custom", "express", "standard"]).annotate({
3571
- description:
3572
- "The `type` parameter is deprecated. Use [`controller`](/api/accounts/create#create_account-controller) instead to configure dashboard access, fee payer, loss liability, and requirement collection.",
3573
- }),
677
+ StripeV1AccountPropsSchemaInputResourceInputAlternatives_10,
3574
678
  ),
3575
679
  }),
3576
680
  StripeV1AccountResourceSchema,