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
@@ -1,400 +1,12 @@
1
- // This schema module comes from the selected resource contracts. Do not edit.
2
-
3
- // biome-ignore-all lint/complexity/useRegexLiterals: Preserve Effect's compiled regular expressions.
4
- import { Schema } from "effect";
5
1
  import {
6
2
  annotateResourceSchema,
7
3
  ResourceSchemaAnnotationSchema,
8
4
  } from "../../../../../core/resource/model.js";
5
+ import { StripeTokenPropsSchemaInputResourceInputProperties } from "./StripeTokenPropsValidators.js";
9
6
 
10
- export type StripeTokenProps = {
11
- readonly account?: {
12
- readonly business_type?:
13
- | "company"
14
- | "government_entity"
15
- | "individual"
16
- | "non_profit";
17
- readonly company?: {
18
- readonly address?: {
19
- readonly city?: string;
20
- readonly country?: string;
21
- readonly line1?: string;
22
- readonly line2?: string;
23
- readonly postal_code?: string;
24
- readonly state?: string;
25
- } & { readonly [x: string]: Schema.Json };
26
- readonly address_kana?: {
27
- readonly city?: string;
28
- readonly country?: string;
29
- readonly line1?: string;
30
- readonly line2?: string;
31
- readonly postal_code?: string;
32
- readonly state?: string;
33
- readonly town?: string;
34
- } & { readonly [x: string]: Schema.Json };
35
- readonly address_kanji?: {
36
- readonly city?: string;
37
- readonly country?: string;
38
- readonly line1?: string;
39
- readonly line2?: string;
40
- readonly postal_code?: string;
41
- readonly state?: string;
42
- readonly town?: string;
43
- } & { readonly [x: string]: Schema.Json };
44
- readonly administrative_address?: {
45
- readonly city?: string;
46
- readonly country?: string;
47
- readonly line1?: string;
48
- readonly line2?: string;
49
- readonly postal_code?: string;
50
- readonly state?: string;
51
- } & { readonly [x: string]: Schema.Json };
52
- readonly directors_provided?: boolean;
53
- readonly directorship_declaration?: {
54
- readonly date?: number;
55
- readonly ip?: string;
56
- readonly user_agent?: string;
57
- } & { readonly [x: string]: Schema.Json };
58
- readonly executives_provided?: boolean;
59
- readonly export_license_id?: string;
60
- readonly export_purpose_code?: string;
61
- readonly name?: string;
62
- readonly name_kana?: string;
63
- readonly name_kanji?: string;
64
- readonly owners_provided?: boolean;
65
- readonly ownership_declaration?: {
66
- readonly date?: number;
67
- readonly ip?: string;
68
- readonly user_agent?: string;
69
- } & { readonly [x: string]: Schema.Json };
70
- readonly ownership_declaration_shown_and_signed?: boolean;
71
- readonly ownership_exemption_reason?:
72
- | ""
73
- | "qualified_entity_exceeds_ownership_threshold"
74
- | "qualifies_as_financial_institution";
75
- readonly phone?: string;
76
- readonly physical_address?: {
77
- readonly city?: string;
78
- readonly country?: string;
79
- readonly line1?: string;
80
- readonly line2?: string;
81
- readonly postal_code?: string;
82
- readonly state?: string;
83
- } & { readonly [x: string]: Schema.Json };
84
- readonly principal_place_of_business?: {
85
- readonly city?: string;
86
- readonly country?: string;
87
- readonly line1?: string;
88
- readonly line2?: string;
89
- readonly postal_code?: string;
90
- readonly state?: string;
91
- } & { readonly [x: string]: Schema.Json };
92
- readonly registration_date?:
93
- | ({
94
- readonly day: number;
95
- readonly month: number;
96
- readonly year: number;
97
- } & { readonly [x: string]: Schema.Json })
98
- | "";
99
- readonly registration_number?: string;
100
- readonly representative_declaration?: {
101
- readonly date?: number;
102
- readonly ip?: string;
103
- readonly user_agent?: string;
104
- } & { readonly [x: string]: Schema.Json };
105
- readonly structure?:
106
- | ""
107
- | "free_zone_establishment"
108
- | "free_zone_llc"
109
- | "government_instrumentality"
110
- | "governmental_unit"
111
- | "incorporated_non_profit"
112
- | "incorporated_partnership"
113
- | "limited_liability_partnership"
114
- | "llc"
115
- | "multi_member_llc"
116
- | "private_company"
117
- | "private_corporation"
118
- | "private_partnership"
119
- | "public_company"
120
- | "public_corporation"
121
- | "public_partnership"
122
- | "registered_charity"
123
- | "single_member_llc"
124
- | "sole_establishment"
125
- | "sole_proprietorship"
126
- | "tax_exempt_government_instrumentality"
127
- | "unincorporated_association"
128
- | "unincorporated_non_profit"
129
- | "unincorporated_partnership";
130
- readonly tax_id?: string;
131
- readonly tax_id_registrar?: string;
132
- readonly vat_id?: string;
133
- readonly verification?: {
134
- readonly document?: {
135
- readonly back?: string;
136
- readonly front?: string;
137
- } & { readonly [x: string]: Schema.Json };
138
- } & { readonly [x: string]: Schema.Json };
139
- } & { readonly [x: string]: Schema.Json };
140
- readonly individual?: {
141
- readonly address?: {
142
- readonly city?: string;
143
- readonly country?: string;
144
- readonly line1?: string;
145
- readonly line2?: string;
146
- readonly postal_code?: string;
147
- readonly state?: string;
148
- } & { readonly [x: string]: Schema.Json };
149
- readonly address_kana?: {
150
- readonly city?: string;
151
- readonly country?: string;
152
- readonly line1?: string;
153
- readonly line2?: string;
154
- readonly postal_code?: string;
155
- readonly state?: string;
156
- readonly town?: string;
157
- } & { readonly [x: string]: Schema.Json };
158
- readonly address_kanji?: {
159
- readonly city?: string;
160
- readonly country?: string;
161
- readonly line1?: string;
162
- readonly line2?: string;
163
- readonly postal_code?: string;
164
- readonly state?: string;
165
- readonly town?: string;
166
- } & { readonly [x: string]: Schema.Json };
167
- readonly dob?:
168
- | ({
169
- readonly day: number;
170
- readonly month: number;
171
- readonly year: number;
172
- } & { readonly [x: string]: Schema.Json })
173
- | "";
174
- readonly email?: string;
175
- readonly first_name?: string;
176
- readonly first_name_kana?: string;
177
- readonly first_name_kanji?: string;
178
- readonly full_name_aliases?: ReadonlyArray<string> | "";
179
- readonly gender?: string;
180
- readonly id_number?: string;
181
- readonly id_number_secondary?: string;
182
- readonly last_name?: string;
183
- readonly last_name_kana?: string;
184
- readonly last_name_kanji?: string;
185
- readonly maiden_name?: string;
186
- readonly metadata?: { readonly [x: string]: string } | "";
187
- readonly phone?: string;
188
- readonly political_exposure?: "existing" | "none";
189
- readonly registered_address?: {
190
- readonly city?: string;
191
- readonly country?: string;
192
- readonly line1?: string;
193
- readonly line2?: string;
194
- readonly postal_code?: string;
195
- readonly state?: string;
196
- } & { readonly [x: string]: Schema.Json };
197
- readonly relationship?: {
198
- readonly director?: boolean;
199
- readonly executive?: boolean;
200
- readonly owner?: boolean;
201
- readonly percent_ownership?: number | "";
202
- readonly title?: string;
203
- } & { readonly [x: string]: Schema.Json };
204
- readonly ssn_last_4?: string;
205
- readonly verification?: {
206
- readonly additional_document?: {
207
- readonly back?: string;
208
- readonly front?: string;
209
- } & { readonly [x: string]: Schema.Json };
210
- readonly document?: {
211
- readonly back?: string;
212
- readonly front?: string;
213
- } & { readonly [x: string]: Schema.Json };
214
- } & { readonly [x: string]: Schema.Json };
215
- } & { readonly [x: string]: Schema.Json };
216
- readonly tos_shown_and_accepted?: boolean;
217
- } & { readonly [x: string]: Schema.Json };
218
- readonly bank_account?: {
219
- readonly account_holder_name?: string;
220
- readonly account_holder_type?: "company" | "individual";
221
- readonly account_number: string;
222
- readonly account_type?: "checking" | "futsu" | "savings" | "toza";
223
- readonly country: string;
224
- readonly currency?: string;
225
- readonly payment_method?: string;
226
- readonly routing_number?: string;
227
- } & { readonly [x: string]: Schema.Json };
228
- readonly card?:
229
- | ({
230
- readonly address_city?: string;
231
- readonly address_country?: string;
232
- readonly address_line1?: string;
233
- readonly address_line2?: string;
234
- readonly address_state?: string;
235
- readonly address_zip?: string;
236
- readonly currency?: string;
237
- readonly cvc?: string;
238
- readonly exp_month: string;
239
- readonly exp_year: string;
240
- readonly name?: string;
241
- readonly networks?: {
242
- readonly preferred?: "cartes_bancaires" | "mastercard" | "visa";
243
- } & { readonly [x: string]: Schema.Json };
244
- readonly number: string;
245
- } & { readonly [x: string]: Schema.Json })
246
- | string;
247
- readonly customer?: string;
248
- readonly cvc_update?: { readonly cvc: string } & {
249
- readonly [x: string]: Schema.Json;
250
- };
251
- readonly expand?: ReadonlyArray<string>;
252
- readonly person?: {
253
- readonly additional_tos_acceptances?: {
254
- readonly account?: {
255
- readonly date?: number;
256
- readonly ip?: string;
257
- readonly user_agent?: string | "";
258
- } & { readonly [x: string]: Schema.Json };
259
- } & { readonly [x: string]: Schema.Json };
260
- readonly address?: {
261
- readonly city?: string;
262
- readonly country?: string;
263
- readonly line1?: string;
264
- readonly line2?: string;
265
- readonly postal_code?: string;
266
- readonly state?: string;
267
- } & { readonly [x: string]: Schema.Json };
268
- readonly address_kana?: {
269
- readonly city?: string;
270
- readonly country?: string;
271
- readonly line1?: string;
272
- readonly line2?: string;
273
- readonly postal_code?: string;
274
- readonly state?: string;
275
- readonly town?: string;
276
- } & { readonly [x: string]: Schema.Json };
277
- readonly address_kanji?: {
278
- readonly city?: string;
279
- readonly country?: string;
280
- readonly line1?: string;
281
- readonly line2?: string;
282
- readonly postal_code?: string;
283
- readonly state?: string;
284
- readonly town?: string;
285
- } & { readonly [x: string]: Schema.Json };
286
- readonly dob?:
287
- | ({
288
- readonly day: number;
289
- readonly month: number;
290
- readonly year: number;
291
- } & { readonly [x: string]: Schema.Json })
292
- | "";
293
- readonly documents?: {
294
- readonly company_authorization?: {
295
- readonly files?: ReadonlyArray<string | "">;
296
- } & { readonly [x: string]: Schema.Json };
297
- readonly passport?: { readonly files?: ReadonlyArray<string | ""> } & {
298
- readonly [x: string]: Schema.Json;
299
- };
300
- readonly visa?: { readonly files?: ReadonlyArray<string | ""> } & {
301
- readonly [x: string]: Schema.Json;
302
- };
303
- } & { readonly [x: string]: Schema.Json };
304
- readonly email?: string;
305
- readonly first_name?: string;
306
- readonly first_name_kana?: string;
307
- readonly first_name_kanji?: string;
308
- readonly full_name_aliases?: ReadonlyArray<string> | "";
309
- readonly gender?: string;
310
- readonly id_number?: string;
311
- readonly id_number_secondary?: string;
312
- readonly last_name?: string;
313
- readonly last_name_kana?: string;
314
- readonly last_name_kanji?: string;
315
- readonly maiden_name?: string;
316
- readonly metadata?: { readonly [x: string]: string } | "";
317
- readonly nationality?: string;
318
- readonly phone?: string;
319
- readonly political_exposure?: "existing" | "none";
320
- readonly registered_address?: {
321
- readonly city?: string;
322
- readonly country?: string;
323
- readonly line1?: string;
324
- readonly line2?: string;
325
- readonly postal_code?: string;
326
- readonly state?: string;
327
- } & { readonly [x: string]: Schema.Json };
328
- readonly relationship?: {
329
- readonly authorizer?: boolean;
330
- readonly director?: boolean;
331
- readonly executive?: boolean;
332
- readonly legal_guardian?: boolean;
333
- readonly owner?: boolean;
334
- readonly percent_ownership?: number | "";
335
- readonly representative?: boolean;
336
- readonly title?: string;
337
- } & { readonly [x: string]: Schema.Json };
338
- readonly ssn_last_4?: string;
339
- readonly us_cfpb_data?: {
340
- readonly ethnicity_details?: {
341
- readonly ethnicity?: ReadonlyArray<
342
- | "cuban"
343
- | "hispanic_or_latino"
344
- | "mexican"
345
- | "not_hispanic_or_latino"
346
- | "other_hispanic_or_latino"
347
- | "prefer_not_to_answer"
348
- | "puerto_rican"
349
- >;
350
- readonly ethnicity_other?: string;
351
- } & { readonly [x: string]: Schema.Json };
352
- readonly race_details?: {
353
- readonly race?: ReadonlyArray<
354
- | "african_american"
355
- | "american_indian_or_alaska_native"
356
- | "asian"
357
- | "asian_indian"
358
- | "black_or_african_american"
359
- | "chinese"
360
- | "ethiopian"
361
- | "filipino"
362
- | "guamanian_or_chamorro"
363
- | "haitian"
364
- | "jamaican"
365
- | "japanese"
366
- | "korean"
367
- | "native_hawaiian"
368
- | "native_hawaiian_or_other_pacific_islander"
369
- | "nigerian"
370
- | "other_asian"
371
- | "other_black_or_african_american"
372
- | "other_pacific_islander"
373
- | "prefer_not_to_answer"
374
- | "samoan"
375
- | "somali"
376
- | "vietnamese"
377
- | "white"
378
- >;
379
- readonly race_other?: string;
380
- } & { readonly [x: string]: Schema.Json };
381
- readonly self_identified_gender?: string;
382
- } & { readonly [x: string]: Schema.Json };
383
- readonly verification?: {
384
- readonly additional_document?: {
385
- readonly back?: string;
386
- readonly front?: string;
387
- } & { readonly [x: string]: Schema.Json };
388
- readonly document?: {
389
- readonly back?: string;
390
- readonly front?: string;
391
- } & { readonly [x: string]: Schema.Json };
392
- } & { readonly [x: string]: Schema.Json };
393
- } & { readonly [x: string]: Schema.Json };
394
- readonly pii?: { readonly id_number?: string } & {
395
- readonly [x: string]: Schema.Json;
396
- };
397
- };
7
+ // This schema module comes from the selected resource contracts. Do not edit.
8
+ export type StripeTokenProps =
9
+ StripeTokenPropsSchemaInputResourceInputProperties;
398
10
 
399
11
  export const StripeTokenResourceSchema = ResourceSchemaAnnotationSchema.make({
400
12
  provider: "stripe",
@@ -405,2000 +17,6 @@ export const StripeTokenResourceSchema = ResourceSchemaAnnotationSchema.make({
405
17
  primaryIdentifier: ["/properties/TokenId"],
406
18
  });
407
19
  export const StripeTokenPropsSchema = annotateResourceSchema(
408
- Schema.Struct({
409
- account: Schema.optionalKey(
410
- Schema.StructWithRest(
411
- Schema.Struct({
412
- business_type: Schema.optionalKey(
413
- Schema.Literals([
414
- "company",
415
- "government_entity",
416
- "individual",
417
- "non_profit",
418
- ]),
419
- ),
420
- company: Schema.optionalKey(
421
- Schema.StructWithRest(
422
- Schema.Struct({
423
- address: Schema.optionalKey(
424
- Schema.StructWithRest(
425
- Schema.Struct({
426
- city: Schema.optionalKey(
427
- Schema.String.check(
428
- Schema.isMaxCodePoints(100).annotate({
429
- expected: "a string with at most 100 code points",
430
- }),
431
- ),
432
- ),
433
- country: Schema.optionalKey(
434
- Schema.String.check(
435
- Schema.isMaxCodePoints(5000).annotate({
436
- expected: "a string with at most 5000 code points",
437
- }),
438
- ),
439
- ),
440
- line1: Schema.optionalKey(
441
- Schema.String.check(
442
- Schema.isMaxCodePoints(200).annotate({
443
- expected: "a string with at most 200 code points",
444
- }),
445
- ),
446
- ),
447
- line2: Schema.optionalKey(
448
- Schema.String.check(
449
- Schema.isMaxCodePoints(200).annotate({
450
- expected: "a string with at most 200 code points",
451
- }),
452
- ),
453
- ),
454
- postal_code: Schema.optionalKey(
455
- Schema.String.check(
456
- Schema.isMaxCodePoints(5000).annotate({
457
- expected: "a string with at most 5000 code points",
458
- }),
459
- ),
460
- ),
461
- state: Schema.optionalKey(
462
- Schema.String.check(
463
- Schema.isMaxCodePoints(5000).annotate({
464
- expected: "a string with at most 5000 code points",
465
- }),
466
- ),
467
- ),
468
- }),
469
- [
470
- Schema.Record(
471
- Schema.String,
472
- Schema.Json.annotate({ expected: "JSON value" }),
473
- ),
474
- ],
475
- ).annotate({ title: "legal_entity_and_kyc_address_specs" }),
476
- ),
477
- address_kana: Schema.optionalKey(
478
- Schema.StructWithRest(
479
- Schema.Struct({
480
- city: Schema.optionalKey(
481
- Schema.String.check(
482
- Schema.isMaxCodePoints(5000).annotate({
483
- expected: "a string with at most 5000 code points",
484
- }),
485
- ),
486
- ),
487
- country: Schema.optionalKey(
488
- Schema.String.check(
489
- Schema.isMaxCodePoints(5000).annotate({
490
- expected: "a string with at most 5000 code points",
491
- }),
492
- ),
493
- ),
494
- line1: Schema.optionalKey(
495
- Schema.String.check(
496
- Schema.isMaxCodePoints(5000).annotate({
497
- expected: "a string with at most 5000 code points",
498
- }),
499
- ),
500
- ),
501
- line2: Schema.optionalKey(
502
- Schema.String.check(
503
- Schema.isMaxCodePoints(5000).annotate({
504
- expected: "a string with at most 5000 code points",
505
- }),
506
- ),
507
- ),
508
- postal_code: Schema.optionalKey(
509
- Schema.String.check(
510
- Schema.isMaxCodePoints(5000).annotate({
511
- expected: "a string with at most 5000 code points",
512
- }),
513
- ),
514
- ),
515
- state: Schema.optionalKey(
516
- Schema.String.check(
517
- Schema.isMaxCodePoints(5000).annotate({
518
- expected: "a string with at most 5000 code points",
519
- }),
520
- ),
521
- ),
522
- town: Schema.optionalKey(
523
- Schema.String.check(
524
- Schema.isMaxCodePoints(5000).annotate({
525
- expected: "a string with at most 5000 code points",
526
- }),
527
- ),
528
- ),
529
- }),
530
- [
531
- Schema.Record(
532
- Schema.String,
533
- Schema.Json.annotate({ expected: "JSON value" }),
534
- ),
535
- ],
536
- ).annotate({ title: "japan_address_kana_specs" }),
537
- ),
538
- address_kanji: Schema.optionalKey(
539
- Schema.StructWithRest(
540
- Schema.Struct({
541
- city: Schema.optionalKey(
542
- Schema.String.check(
543
- Schema.isMaxCodePoints(5000).annotate({
544
- expected: "a string with at most 5000 code points",
545
- }),
546
- ),
547
- ),
548
- country: Schema.optionalKey(
549
- Schema.String.check(
550
- Schema.isMaxCodePoints(5000).annotate({
551
- expected: "a string with at most 5000 code points",
552
- }),
553
- ),
554
- ),
555
- line1: Schema.optionalKey(
556
- Schema.String.check(
557
- Schema.isMaxCodePoints(5000).annotate({
558
- expected: "a string with at most 5000 code points",
559
- }),
560
- ),
561
- ),
562
- line2: Schema.optionalKey(
563
- Schema.String.check(
564
- Schema.isMaxCodePoints(5000).annotate({
565
- expected: "a string with at most 5000 code points",
566
- }),
567
- ),
568
- ),
569
- postal_code: Schema.optionalKey(
570
- Schema.String.check(
571
- Schema.isMaxCodePoints(5000).annotate({
572
- expected: "a string with at most 5000 code points",
573
- }),
574
- ),
575
- ),
576
- state: Schema.optionalKey(
577
- Schema.String.check(
578
- Schema.isMaxCodePoints(5000).annotate({
579
- expected: "a string with at most 5000 code points",
580
- }),
581
- ),
582
- ),
583
- town: Schema.optionalKey(
584
- Schema.String.check(
585
- Schema.isMaxCodePoints(5000).annotate({
586
- expected: "a string with at most 5000 code points",
587
- }),
588
- ),
589
- ),
590
- }),
591
- [
592
- Schema.Record(
593
- Schema.String,
594
- Schema.Json.annotate({ expected: "JSON value" }),
595
- ),
596
- ],
597
- ).annotate({ title: "japan_address_kanji_specs" }),
598
- ),
599
- administrative_address: Schema.optionalKey(
600
- Schema.StructWithRest(
601
- Schema.Struct({
602
- city: Schema.optionalKey(
603
- Schema.String.check(
604
- Schema.isMaxCodePoints(100).annotate({
605
- expected: "a string with at most 100 code points",
606
- }),
607
- ),
608
- ),
609
- country: Schema.optionalKey(
610
- Schema.String.check(
611
- Schema.isMaxCodePoints(5000).annotate({
612
- expected: "a string with at most 5000 code points",
613
- }),
614
- ),
615
- ),
616
- line1: Schema.optionalKey(
617
- Schema.String.check(
618
- Schema.isMaxCodePoints(200).annotate({
619
- expected: "a string with at most 200 code points",
620
- }),
621
- ),
622
- ),
623
- line2: Schema.optionalKey(
624
- Schema.String.check(
625
- Schema.isMaxCodePoints(200).annotate({
626
- expected: "a string with at most 200 code points",
627
- }),
628
- ),
629
- ),
630
- postal_code: Schema.optionalKey(
631
- Schema.String.check(
632
- Schema.isMaxCodePoints(5000).annotate({
633
- expected: "a string with at most 5000 code points",
634
- }),
635
- ),
636
- ),
637
- state: Schema.optionalKey(
638
- Schema.String.check(
639
- Schema.isMaxCodePoints(5000).annotate({
640
- expected: "a string with at most 5000 code points",
641
- }),
642
- ),
643
- ),
644
- }),
645
- [
646
- Schema.Record(
647
- Schema.String,
648
- Schema.Json.annotate({ expected: "JSON value" }),
649
- ),
650
- ],
651
- ).annotate({ title: "address_specs" }),
652
- ),
653
- directors_provided: Schema.optionalKey(Schema.Boolean),
654
- directorship_declaration: Schema.optionalKey(
655
- Schema.StructWithRest(
656
- Schema.Struct({
657
- date: Schema.optionalKey(
658
- Schema.Number.annotate({ format: "unix-time" }).check(
659
- Schema.isInt().annotate({ expected: "an integer" }),
660
- ),
661
- ),
662
- ip: Schema.optionalKey(Schema.String),
663
- user_agent: Schema.optionalKey(
664
- Schema.String.check(
665
- Schema.isMaxCodePoints(5000).annotate({
666
- expected: "a string with at most 5000 code points",
667
- }),
668
- ),
669
- ),
670
- }),
671
- [
672
- Schema.Record(
673
- Schema.String,
674
- Schema.Json.annotate({ expected: "JSON value" }),
675
- ),
676
- ],
677
- ).annotate({ title: "company_directorship_declaration" }),
678
- ),
679
- executives_provided: Schema.optionalKey(Schema.Boolean),
680
- export_license_id: Schema.optionalKey(
681
- Schema.String.check(
682
- Schema.isMaxCodePoints(5000).annotate({
683
- expected: "a string with at most 5000 code points",
684
- }),
685
- ),
686
- ),
687
- export_purpose_code: Schema.optionalKey(
688
- Schema.String.check(
689
- Schema.isMaxCodePoints(5000).annotate({
690
- expected: "a string with at most 5000 code points",
691
- }),
692
- ),
693
- ),
694
- name: Schema.optionalKey(
695
- Schema.String.check(
696
- Schema.isMaxCodePoints(200).annotate({
697
- expected: "a string with at most 200 code points",
698
- }),
699
- ),
700
- ),
701
- name_kana: Schema.optionalKey(
702
- Schema.String.check(
703
- Schema.isMaxCodePoints(200).annotate({
704
- expected: "a string with at most 200 code points",
705
- }),
706
- ),
707
- ),
708
- name_kanji: Schema.optionalKey(
709
- Schema.String.check(
710
- Schema.isMaxCodePoints(200).annotate({
711
- expected: "a string with at most 200 code points",
712
- }),
713
- ),
714
- ),
715
- owners_provided: Schema.optionalKey(Schema.Boolean),
716
- ownership_declaration: Schema.optionalKey(
717
- Schema.StructWithRest(
718
- Schema.Struct({
719
- date: Schema.optionalKey(
720
- Schema.Number.annotate({ format: "unix-time" }).check(
721
- Schema.isInt().annotate({ expected: "an integer" }),
722
- ),
723
- ),
724
- ip: Schema.optionalKey(Schema.String),
725
- user_agent: Schema.optionalKey(
726
- Schema.String.check(
727
- Schema.isMaxCodePoints(5000).annotate({
728
- expected: "a string with at most 5000 code points",
729
- }),
730
- ),
731
- ),
732
- }),
733
- [
734
- Schema.Record(
735
- Schema.String,
736
- Schema.Json.annotate({ expected: "JSON value" }),
737
- ),
738
- ],
739
- ).annotate({ title: "company_ownership_declaration" }),
740
- ),
741
- ownership_declaration_shown_and_signed: Schema.optionalKey(
742
- Schema.Boolean,
743
- ),
744
- ownership_exemption_reason: Schema.optionalKey(
745
- Schema.Literals([
746
- "",
747
- "qualified_entity_exceeds_ownership_threshold",
748
- "qualifies_as_financial_institution",
749
- ]),
750
- ),
751
- phone: Schema.optionalKey(
752
- Schema.String.check(
753
- Schema.isMaxCodePoints(5000).annotate({
754
- expected: "a string with at most 5000 code points",
755
- }),
756
- ),
757
- ),
758
- physical_address: Schema.optionalKey(
759
- Schema.StructWithRest(
760
- Schema.Struct({
761
- city: Schema.optionalKey(
762
- Schema.String.check(
763
- Schema.isMaxCodePoints(100).annotate({
764
- expected: "a string with at most 100 code points",
765
- }),
766
- ),
767
- ),
768
- country: Schema.optionalKey(
769
- Schema.String.check(
770
- Schema.isMaxCodePoints(5000).annotate({
771
- expected: "a string with at most 5000 code points",
772
- }),
773
- ),
774
- ),
775
- line1: Schema.optionalKey(
776
- Schema.String.check(
777
- Schema.isMaxCodePoints(200).annotate({
778
- expected: "a string with at most 200 code points",
779
- }),
780
- ),
781
- ),
782
- line2: Schema.optionalKey(
783
- Schema.String.check(
784
- Schema.isMaxCodePoints(200).annotate({
785
- expected: "a string with at most 200 code points",
786
- }),
787
- ),
788
- ),
789
- postal_code: Schema.optionalKey(
790
- Schema.String.check(
791
- Schema.isMaxCodePoints(5000).annotate({
792
- expected: "a string with at most 5000 code points",
793
- }),
794
- ),
795
- ),
796
- state: Schema.optionalKey(
797
- Schema.String.check(
798
- Schema.isMaxCodePoints(5000).annotate({
799
- expected: "a string with at most 5000 code points",
800
- }),
801
- ),
802
- ),
803
- }),
804
- [
805
- Schema.Record(
806
- Schema.String,
807
- Schema.Json.annotate({ expected: "JSON value" }),
808
- ),
809
- ],
810
- ).annotate({ title: "address_specs" }),
811
- ),
812
- principal_place_of_business: Schema.optionalKey(
813
- Schema.StructWithRest(
814
- Schema.Struct({
815
- city: Schema.optionalKey(
816
- Schema.String.check(
817
- Schema.isMaxCodePoints(100).annotate({
818
- expected: "a string with at most 100 code points",
819
- }),
820
- ),
821
- ),
822
- country: Schema.optionalKey(
823
- Schema.String.check(
824
- Schema.isMaxCodePoints(5000).annotate({
825
- expected: "a string with at most 5000 code points",
826
- }),
827
- ),
828
- ),
829
- line1: 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
- line2: Schema.optionalKey(
837
- Schema.String.check(
838
- Schema.isMaxCodePoints(200).annotate({
839
- expected: "a string with at most 200 code points",
840
- }),
841
- ),
842
- ),
843
- postal_code: Schema.optionalKey(
844
- Schema.String.check(
845
- Schema.isMaxCodePoints(5000).annotate({
846
- expected: "a string with at most 5000 code points",
847
- }),
848
- ),
849
- ),
850
- state: Schema.optionalKey(
851
- Schema.String.check(
852
- Schema.isMaxCodePoints(5000).annotate({
853
- expected: "a string with at most 5000 code points",
854
- }),
855
- ),
856
- ),
857
- }),
858
- [
859
- Schema.Record(
860
- Schema.String,
861
- Schema.Json.annotate({ expected: "JSON value" }),
862
- ),
863
- ],
864
- ).annotate({ title: "address_specs" }),
865
- ),
866
- registration_date: Schema.optionalKey(
867
- Schema.Union([
868
- Schema.StructWithRest(
869
- Schema.Struct({
870
- day: Schema.Int,
871
- month: Schema.Int,
872
- year: Schema.Int,
873
- }),
874
- [
875
- Schema.Record(
876
- Schema.String,
877
- Schema.Json.annotate({ expected: "JSON value" }),
878
- ),
879
- ],
880
- ).annotate({ title: "registration_date_specs" }),
881
- Schema.Literal(""),
882
- ]),
883
- ),
884
- registration_number: Schema.optionalKey(
885
- Schema.String.check(
886
- Schema.isMaxCodePoints(5000).annotate({
887
- expected: "a string with at most 5000 code points",
888
- }),
889
- ),
890
- ),
891
- representative_declaration: Schema.optionalKey(
892
- Schema.StructWithRest(
893
- Schema.Struct({
894
- date: Schema.optionalKey(
895
- Schema.Number.annotate({ format: "unix-time" }).check(
896
- Schema.isInt().annotate({ expected: "an integer" }),
897
- ),
898
- ),
899
- ip: Schema.optionalKey(Schema.String),
900
- user_agent: Schema.optionalKey(
901
- Schema.String.check(
902
- Schema.isMaxCodePoints(5000).annotate({
903
- expected: "a string with at most 5000 code points",
904
- }),
905
- ),
906
- ),
907
- }),
908
- [
909
- Schema.Record(
910
- Schema.String,
911
- Schema.Json.annotate({ expected: "JSON value" }),
912
- ),
913
- ],
914
- ).annotate({ title: "company_representative_declaration" }),
915
- ),
916
- structure: Schema.optionalKey(
917
- Schema.Literals([
918
- "",
919
- "free_zone_establishment",
920
- "free_zone_llc",
921
- "government_instrumentality",
922
- "governmental_unit",
923
- "incorporated_non_profit",
924
- "incorporated_partnership",
925
- "limited_liability_partnership",
926
- "llc",
927
- "multi_member_llc",
928
- "private_company",
929
- "private_corporation",
930
- "private_partnership",
931
- "public_company",
932
- "public_corporation",
933
- "public_partnership",
934
- "registered_charity",
935
- "single_member_llc",
936
- "sole_establishment",
937
- "sole_proprietorship",
938
- "tax_exempt_government_instrumentality",
939
- "unincorporated_association",
940
- "unincorporated_non_profit",
941
- "unincorporated_partnership",
942
- ]),
943
- ),
944
- tax_id: Schema.optionalKey(
945
- Schema.String.check(
946
- Schema.isMaxCodePoints(5000).annotate({
947
- expected: "a string with at most 5000 code points",
948
- }),
949
- ),
950
- ),
951
- tax_id_registrar: Schema.optionalKey(
952
- Schema.String.check(
953
- Schema.isMaxCodePoints(5000).annotate({
954
- expected: "a string with at most 5000 code points",
955
- }),
956
- ),
957
- ),
958
- vat_id: Schema.optionalKey(
959
- Schema.String.check(
960
- Schema.isMaxCodePoints(5000).annotate({
961
- expected: "a string with at most 5000 code points",
962
- }),
963
- ),
964
- ),
965
- verification: Schema.optionalKey(
966
- Schema.StructWithRest(
967
- Schema.Struct({
968
- document: Schema.optionalKey(
969
- Schema.StructWithRest(
970
- Schema.Struct({
971
- back: Schema.optionalKey(
972
- Schema.String.check(
973
- Schema.isMaxCodePoints(500).annotate({
974
- expected:
975
- "a string with at most 500 code points",
976
- }),
977
- ),
978
- ),
979
- front: Schema.optionalKey(
980
- Schema.String.check(
981
- Schema.isMaxCodePoints(500).annotate({
982
- expected:
983
- "a string with at most 500 code points",
984
- }),
985
- ),
986
- ),
987
- }),
988
- [
989
- Schema.Record(
990
- Schema.String,
991
- Schema.Json.annotate({ expected: "JSON value" }),
992
- ),
993
- ],
994
- ).annotate({ title: "verification_document_specs" }),
995
- ),
996
- }),
997
- [
998
- Schema.Record(
999
- Schema.String,
1000
- Schema.Json.annotate({ expected: "JSON value" }),
1001
- ),
1002
- ],
1003
- ).annotate({ title: "verification_specs" }),
1004
- ),
1005
- }),
1006
- [
1007
- Schema.Record(
1008
- Schema.String,
1009
- Schema.Json.annotate({ expected: "JSON value" }),
1010
- ),
1011
- ],
1012
- ).annotate({ title: "connect_js_account_token_company_specs" }),
1013
- ),
1014
- individual: Schema.optionalKey(
1015
- Schema.StructWithRest(
1016
- Schema.Struct({
1017
- address: Schema.optionalKey(
1018
- Schema.StructWithRest(
1019
- Schema.Struct({
1020
- city: Schema.optionalKey(
1021
- Schema.String.check(
1022
- Schema.isMaxCodePoints(100).annotate({
1023
- expected: "a string with at most 100 code points",
1024
- }),
1025
- ),
1026
- ),
1027
- country: Schema.optionalKey(
1028
- Schema.String.check(
1029
- Schema.isMaxCodePoints(5000).annotate({
1030
- expected: "a string with at most 5000 code points",
1031
- }),
1032
- ),
1033
- ),
1034
- line1: Schema.optionalKey(
1035
- Schema.String.check(
1036
- Schema.isMaxCodePoints(200).annotate({
1037
- expected: "a string with at most 200 code points",
1038
- }),
1039
- ),
1040
- ),
1041
- line2: Schema.optionalKey(
1042
- Schema.String.check(
1043
- Schema.isMaxCodePoints(200).annotate({
1044
- expected: "a string with at most 200 code points",
1045
- }),
1046
- ),
1047
- ),
1048
- postal_code: Schema.optionalKey(
1049
- Schema.String.check(
1050
- Schema.isMaxCodePoints(5000).annotate({
1051
- expected: "a string with at most 5000 code points",
1052
- }),
1053
- ),
1054
- ),
1055
- state: Schema.optionalKey(
1056
- Schema.String.check(
1057
- Schema.isMaxCodePoints(5000).annotate({
1058
- expected: "a string with at most 5000 code points",
1059
- }),
1060
- ),
1061
- ),
1062
- }),
1063
- [
1064
- Schema.Record(
1065
- Schema.String,
1066
- Schema.Json.annotate({ expected: "JSON value" }),
1067
- ),
1068
- ],
1069
- ).annotate({ title: "address_specs" }),
1070
- ),
1071
- address_kana: Schema.optionalKey(
1072
- Schema.StructWithRest(
1073
- Schema.Struct({
1074
- city: Schema.optionalKey(
1075
- Schema.String.check(
1076
- Schema.isMaxCodePoints(5000).annotate({
1077
- expected: "a string with at most 5000 code points",
1078
- }),
1079
- ),
1080
- ),
1081
- country: Schema.optionalKey(
1082
- Schema.String.check(
1083
- Schema.isMaxCodePoints(5000).annotate({
1084
- expected: "a string with at most 5000 code points",
1085
- }),
1086
- ),
1087
- ),
1088
- line1: Schema.optionalKey(
1089
- Schema.String.check(
1090
- Schema.isMaxCodePoints(5000).annotate({
1091
- expected: "a string with at most 5000 code points",
1092
- }),
1093
- ),
1094
- ),
1095
- line2: Schema.optionalKey(
1096
- Schema.String.check(
1097
- Schema.isMaxCodePoints(5000).annotate({
1098
- expected: "a string with at most 5000 code points",
1099
- }),
1100
- ),
1101
- ),
1102
- postal_code: Schema.optionalKey(
1103
- Schema.String.check(
1104
- Schema.isMaxCodePoints(5000).annotate({
1105
- expected: "a string with at most 5000 code points",
1106
- }),
1107
- ),
1108
- ),
1109
- state: Schema.optionalKey(
1110
- Schema.String.check(
1111
- Schema.isMaxCodePoints(5000).annotate({
1112
- expected: "a string with at most 5000 code points",
1113
- }),
1114
- ),
1115
- ),
1116
- town: Schema.optionalKey(
1117
- Schema.String.check(
1118
- Schema.isMaxCodePoints(5000).annotate({
1119
- expected: "a string with at most 5000 code points",
1120
- }),
1121
- ),
1122
- ),
1123
- }),
1124
- [
1125
- Schema.Record(
1126
- Schema.String,
1127
- Schema.Json.annotate({ expected: "JSON value" }),
1128
- ),
1129
- ],
1130
- ).annotate({ title: "japan_address_kana_specs" }),
1131
- ),
1132
- address_kanji: Schema.optionalKey(
1133
- Schema.StructWithRest(
1134
- Schema.Struct({
1135
- city: Schema.optionalKey(
1136
- Schema.String.check(
1137
- Schema.isMaxCodePoints(5000).annotate({
1138
- expected: "a string with at most 5000 code points",
1139
- }),
1140
- ),
1141
- ),
1142
- country: Schema.optionalKey(
1143
- Schema.String.check(
1144
- Schema.isMaxCodePoints(5000).annotate({
1145
- expected: "a string with at most 5000 code points",
1146
- }),
1147
- ),
1148
- ),
1149
- line1: Schema.optionalKey(
1150
- Schema.String.check(
1151
- Schema.isMaxCodePoints(5000).annotate({
1152
- expected: "a string with at most 5000 code points",
1153
- }),
1154
- ),
1155
- ),
1156
- line2: Schema.optionalKey(
1157
- Schema.String.check(
1158
- Schema.isMaxCodePoints(5000).annotate({
1159
- expected: "a string with at most 5000 code points",
1160
- }),
1161
- ),
1162
- ),
1163
- postal_code: Schema.optionalKey(
1164
- Schema.String.check(
1165
- Schema.isMaxCodePoints(5000).annotate({
1166
- expected: "a string with at most 5000 code points",
1167
- }),
1168
- ),
1169
- ),
1170
- state: Schema.optionalKey(
1171
- Schema.String.check(
1172
- Schema.isMaxCodePoints(5000).annotate({
1173
- expected: "a string with at most 5000 code points",
1174
- }),
1175
- ),
1176
- ),
1177
- town: Schema.optionalKey(
1178
- Schema.String.check(
1179
- Schema.isMaxCodePoints(5000).annotate({
1180
- expected: "a string with at most 5000 code points",
1181
- }),
1182
- ),
1183
- ),
1184
- }),
1185
- [
1186
- Schema.Record(
1187
- Schema.String,
1188
- Schema.Json.annotate({ expected: "JSON value" }),
1189
- ),
1190
- ],
1191
- ).annotate({ title: "japan_address_kanji_specs" }),
1192
- ),
1193
- dob: Schema.optionalKey(
1194
- Schema.Union([
1195
- Schema.StructWithRest(
1196
- Schema.Struct({
1197
- day: Schema.Int,
1198
- month: Schema.Int,
1199
- year: Schema.Int,
1200
- }),
1201
- [
1202
- Schema.Record(
1203
- Schema.String,
1204
- Schema.Json.annotate({ expected: "JSON value" }),
1205
- ),
1206
- ],
1207
- ).annotate({ title: "date_of_birth_specs" }),
1208
- Schema.Literal(""),
1209
- ]),
1210
- ),
1211
- email: Schema.optionalKey(
1212
- Schema.String.check(
1213
- Schema.isMaxCodePoints(800).annotate({
1214
- expected: "a string with at most 800 code points",
1215
- }),
1216
- ),
1217
- ),
1218
- first_name: Schema.optionalKey(
1219
- Schema.String.check(
1220
- Schema.isMaxCodePoints(100).annotate({
1221
- expected: "a string with at most 100 code points",
1222
- }),
1223
- ),
1224
- ),
1225
- first_name_kana: Schema.optionalKey(
1226
- Schema.String.check(
1227
- Schema.isMaxCodePoints(5000).annotate({
1228
- expected: "a string with at most 5000 code points",
1229
- }),
1230
- ),
1231
- ),
1232
- first_name_kanji: Schema.optionalKey(
1233
- Schema.String.check(
1234
- Schema.isMaxCodePoints(5000).annotate({
1235
- expected: "a string with at most 5000 code points",
1236
- }),
1237
- ),
1238
- ),
1239
- full_name_aliases: Schema.optionalKey(
1240
- Schema.Union([
1241
- Schema.Array(
1242
- Schema.String.check(
1243
- Schema.isMaxCodePoints(300).annotate({
1244
- expected: "a string with at most 300 code points",
1245
- }),
1246
- ),
1247
- ),
1248
- Schema.Literal(""),
1249
- ]),
1250
- ),
1251
- gender: Schema.optionalKey(Schema.String),
1252
- id_number: Schema.optionalKey(
1253
- Schema.String.check(
1254
- Schema.isMaxCodePoints(5000).annotate({
1255
- expected: "a string with at most 5000 code points",
1256
- }),
1257
- ),
1258
- ),
1259
- id_number_secondary: Schema.optionalKey(
1260
- Schema.String.check(
1261
- Schema.isMaxCodePoints(5000).annotate({
1262
- expected: "a string with at most 5000 code points",
1263
- }),
1264
- ),
1265
- ),
1266
- last_name: Schema.optionalKey(
1267
- Schema.String.check(
1268
- Schema.isMaxCodePoints(100).annotate({
1269
- expected: "a string with at most 100 code points",
1270
- }),
1271
- ),
1272
- ),
1273
- last_name_kana: Schema.optionalKey(
1274
- Schema.String.check(
1275
- Schema.isMaxCodePoints(5000).annotate({
1276
- expected: "a string with at most 5000 code points",
1277
- }),
1278
- ),
1279
- ),
1280
- last_name_kanji: Schema.optionalKey(
1281
- Schema.String.check(
1282
- Schema.isMaxCodePoints(5000).annotate({
1283
- expected: "a string with at most 5000 code points",
1284
- }),
1285
- ),
1286
- ),
1287
- maiden_name: Schema.optionalKey(
1288
- Schema.String.check(
1289
- Schema.isMaxCodePoints(5000).annotate({
1290
- expected: "a string with at most 5000 code points",
1291
- }),
1292
- ),
1293
- ),
1294
- metadata: Schema.optionalKey(
1295
- Schema.Union([
1296
- Schema.Record(Schema.String, Schema.String),
1297
- Schema.Literal(""),
1298
- ]),
1299
- ),
1300
- phone: Schema.optionalKey(Schema.String),
1301
- political_exposure: Schema.optionalKey(
1302
- Schema.Literals(["existing", "none"]),
1303
- ),
1304
- registered_address: Schema.optionalKey(
1305
- Schema.StructWithRest(
1306
- Schema.Struct({
1307
- city: Schema.optionalKey(
1308
- Schema.String.check(
1309
- Schema.isMaxCodePoints(100).annotate({
1310
- expected: "a string with at most 100 code points",
1311
- }),
1312
- ),
1313
- ),
1314
- country: Schema.optionalKey(
1315
- Schema.String.check(
1316
- Schema.isMaxCodePoints(5000).annotate({
1317
- expected: "a string with at most 5000 code points",
1318
- }),
1319
- ),
1320
- ),
1321
- line1: Schema.optionalKey(
1322
- Schema.String.check(
1323
- Schema.isMaxCodePoints(200).annotate({
1324
- expected: "a string with at most 200 code points",
1325
- }),
1326
- ),
1327
- ),
1328
- line2: Schema.optionalKey(
1329
- Schema.String.check(
1330
- Schema.isMaxCodePoints(200).annotate({
1331
- expected: "a string with at most 200 code points",
1332
- }),
1333
- ),
1334
- ),
1335
- postal_code: Schema.optionalKey(
1336
- Schema.String.check(
1337
- Schema.isMaxCodePoints(5000).annotate({
1338
- expected: "a string with at most 5000 code points",
1339
- }),
1340
- ),
1341
- ),
1342
- state: Schema.optionalKey(
1343
- Schema.String.check(
1344
- Schema.isMaxCodePoints(5000).annotate({
1345
- expected: "a string with at most 5000 code points",
1346
- }),
1347
- ),
1348
- ),
1349
- }),
1350
- [
1351
- Schema.Record(
1352
- Schema.String,
1353
- Schema.Json.annotate({ expected: "JSON value" }),
1354
- ),
1355
- ],
1356
- ).annotate({ title: "address_specs" }),
1357
- ),
1358
- relationship: Schema.optionalKey(
1359
- Schema.StructWithRest(
1360
- Schema.Struct({
1361
- director: Schema.optionalKey(Schema.Boolean),
1362
- executive: Schema.optionalKey(Schema.Boolean),
1363
- owner: Schema.optionalKey(Schema.Boolean),
1364
- percent_ownership: Schema.optionalKey(
1365
- Schema.Union([Schema.Finite, Schema.Literal("")]),
1366
- ),
1367
- title: Schema.optionalKey(
1368
- Schema.String.check(
1369
- Schema.isMaxCodePoints(5000).annotate({
1370
- expected: "a string with at most 5000 code points",
1371
- }),
1372
- ),
1373
- ),
1374
- }),
1375
- [
1376
- Schema.Record(
1377
- Schema.String,
1378
- Schema.Json.annotate({ expected: "JSON value" }),
1379
- ),
1380
- ],
1381
- ).annotate({ title: "individual_relationship_specs" }),
1382
- ),
1383
- ssn_last_4: Schema.optionalKey(
1384
- Schema.String.check(
1385
- Schema.isMaxCodePoints(5000).annotate({
1386
- expected: "a string with at most 5000 code points",
1387
- }),
1388
- ),
1389
- ),
1390
- verification: Schema.optionalKey(
1391
- Schema.StructWithRest(
1392
- Schema.Struct({
1393
- additional_document: Schema.optionalKey(
1394
- Schema.StructWithRest(
1395
- Schema.Struct({
1396
- back: Schema.optionalKey(
1397
- Schema.String.check(
1398
- Schema.isMaxCodePoints(500).annotate({
1399
- expected:
1400
- "a string with at most 500 code points",
1401
- }),
1402
- ),
1403
- ),
1404
- front: Schema.optionalKey(
1405
- Schema.String.check(
1406
- Schema.isMaxCodePoints(500).annotate({
1407
- expected:
1408
- "a string with at most 500 code points",
1409
- }),
1410
- ),
1411
- ),
1412
- }),
1413
- [
1414
- Schema.Record(
1415
- Schema.String,
1416
- Schema.Json.annotate({ expected: "JSON value" }),
1417
- ),
1418
- ],
1419
- ).annotate({
1420
- title: "person_verification_document_specs",
1421
- }),
1422
- ),
1423
- document: Schema.optionalKey(
1424
- Schema.StructWithRest(
1425
- Schema.Struct({
1426
- back: Schema.optionalKey(
1427
- Schema.String.check(
1428
- Schema.isMaxCodePoints(500).annotate({
1429
- expected:
1430
- "a string with at most 500 code points",
1431
- }),
1432
- ),
1433
- ),
1434
- front: Schema.optionalKey(
1435
- Schema.String.check(
1436
- Schema.isMaxCodePoints(500).annotate({
1437
- expected:
1438
- "a string with at most 500 code points",
1439
- }),
1440
- ),
1441
- ),
1442
- }),
1443
- [
1444
- Schema.Record(
1445
- Schema.String,
1446
- Schema.Json.annotate({ expected: "JSON value" }),
1447
- ),
1448
- ],
1449
- ).annotate({
1450
- title: "person_verification_document_specs",
1451
- }),
1452
- ),
1453
- }),
1454
- [
1455
- Schema.Record(
1456
- Schema.String,
1457
- Schema.Json.annotate({ expected: "JSON value" }),
1458
- ),
1459
- ],
1460
- ).annotate({ title: "person_verification_specs" }),
1461
- ),
1462
- }),
1463
- [
1464
- Schema.Record(
1465
- Schema.String,
1466
- Schema.Json.annotate({ expected: "JSON value" }),
1467
- ),
1468
- ],
1469
- ).annotate({ title: "individual_specs" }),
1470
- ),
1471
- tos_shown_and_accepted: Schema.optionalKey(Schema.Boolean),
1472
- }),
1473
- [
1474
- Schema.Record(
1475
- Schema.String,
1476
- Schema.Json.annotate({ expected: "JSON value" }),
1477
- ),
1478
- ],
1479
- ).annotate({
1480
- title: "connect_js_account_token_specs",
1481
- description: "Information for the account this token represents.",
1482
- }),
1483
- ),
1484
- bank_account: Schema.optionalKey(
1485
- Schema.StructWithRest(
1486
- Schema.Struct({
1487
- account_holder_name: Schema.optionalKey(
1488
- Schema.String.check(
1489
- Schema.isMaxCodePoints(5000).annotate({
1490
- expected: "a string with at most 5000 code points",
1491
- }),
1492
- ),
1493
- ),
1494
- account_holder_type: Schema.optionalKey(
1495
- Schema.Literals(["company", "individual"]),
1496
- ),
1497
- account_number: Schema.String.check(
1498
- Schema.isMaxCodePoints(5000).annotate({
1499
- expected: "a string with at most 5000 code points",
1500
- }),
1501
- ),
1502
- account_type: Schema.optionalKey(
1503
- Schema.Literals(["checking", "futsu", "savings", "toza"]),
1504
- ),
1505
- country: Schema.String.check(
1506
- Schema.isMaxCodePoints(5000).annotate({
1507
- expected: "a string with at most 5000 code points",
1508
- }),
1509
- ),
1510
- currency: Schema.optionalKey(
1511
- Schema.String.annotate({ format: "currency" }),
1512
- ),
1513
- payment_method: Schema.optionalKey(
1514
- Schema.String.check(
1515
- Schema.isMaxCodePoints(5000).annotate({
1516
- expected: "a string with at most 5000 code points",
1517
- }),
1518
- ),
1519
- ),
1520
- routing_number: Schema.optionalKey(
1521
- Schema.String.check(
1522
- Schema.isMaxCodePoints(5000).annotate({
1523
- expected: "a string with at most 5000 code points",
1524
- }),
1525
- ),
1526
- ),
1527
- }),
1528
- [
1529
- Schema.Record(
1530
- Schema.String,
1531
- Schema.Json.annotate({ expected: "JSON value" }),
1532
- ),
1533
- ],
1534
- ).annotate({
1535
- title: "token_create_bank_account",
1536
- description: "The bank account this token will represent.",
1537
- }),
1538
- ),
1539
- card: Schema.optionalKey(
1540
- Schema.Union([
1541
- Schema.StructWithRest(
1542
- Schema.Struct({
1543
- address_city: Schema.optionalKey(
1544
- Schema.String.check(
1545
- Schema.isMaxCodePoints(5000).annotate({
1546
- expected: "a string with at most 5000 code points",
1547
- }),
1548
- ),
1549
- ),
1550
- address_country: Schema.optionalKey(
1551
- Schema.String.check(
1552
- Schema.isMaxCodePoints(5000).annotate({
1553
- expected: "a string with at most 5000 code points",
1554
- }),
1555
- ),
1556
- ),
1557
- address_line1: Schema.optionalKey(
1558
- Schema.String.check(
1559
- Schema.isMaxCodePoints(5000).annotate({
1560
- expected: "a string with at most 5000 code points",
1561
- }),
1562
- ),
1563
- ),
1564
- address_line2: Schema.optionalKey(
1565
- Schema.String.check(
1566
- Schema.isMaxCodePoints(5000).annotate({
1567
- expected: "a string with at most 5000 code points",
1568
- }),
1569
- ),
1570
- ),
1571
- address_state: Schema.optionalKey(
1572
- Schema.String.check(
1573
- Schema.isMaxCodePoints(5000).annotate({
1574
- expected: "a string with at most 5000 code points",
1575
- }),
1576
- ),
1577
- ),
1578
- address_zip: Schema.optionalKey(
1579
- Schema.String.check(
1580
- Schema.isMaxCodePoints(5000).annotate({
1581
- expected: "a string with at most 5000 code points",
1582
- }),
1583
- ),
1584
- ),
1585
- currency: Schema.optionalKey(
1586
- Schema.String.check(
1587
- Schema.isMaxCodePoints(5000).annotate({
1588
- expected: "a string with at most 5000 code points",
1589
- }),
1590
- ),
1591
- ),
1592
- cvc: Schema.optionalKey(
1593
- Schema.String.check(
1594
- Schema.isMaxCodePoints(5000).annotate({
1595
- expected: "a string with at most 5000 code points",
1596
- }),
1597
- ),
1598
- ),
1599
- exp_month: Schema.String.check(
1600
- Schema.isMaxCodePoints(5000).annotate({
1601
- expected: "a string with at most 5000 code points",
1602
- }),
1603
- ),
1604
- exp_year: Schema.String.check(
1605
- Schema.isMaxCodePoints(5000).annotate({
1606
- expected: "a string with at most 5000 code points",
1607
- }),
1608
- ),
1609
- name: Schema.optionalKey(
1610
- Schema.String.check(
1611
- Schema.isMaxCodePoints(5000).annotate({
1612
- expected: "a string with at most 5000 code points",
1613
- }),
1614
- ),
1615
- ),
1616
- networks: Schema.optionalKey(
1617
- Schema.StructWithRest(
1618
- Schema.Struct({
1619
- preferred: Schema.optionalKey(
1620
- Schema.Literals(["cartes_bancaires", "mastercard", "visa"]),
1621
- ),
1622
- }),
1623
- [
1624
- Schema.Record(
1625
- Schema.String,
1626
- Schema.Json.annotate({ expected: "JSON value" }),
1627
- ),
1628
- ],
1629
- ).annotate({ title: "networks_param_specs" }),
1630
- ),
1631
- number: Schema.String.check(
1632
- Schema.isMaxCodePoints(5000).annotate({
1633
- expected: "a string with at most 5000 code points",
1634
- }),
1635
- ),
1636
- }),
1637
- [
1638
- Schema.Record(
1639
- Schema.String,
1640
- Schema.Json.annotate({ expected: "JSON value" }),
1641
- ),
1642
- ],
1643
- ).annotate({ title: "credit_card_specs" }),
1644
- Schema.String.check(
1645
- Schema.isMaxCodePoints(5000).annotate({
1646
- expected: "a string with at most 5000 code points",
1647
- }),
1648
- ),
1649
- ]).annotate({
1650
- description:
1651
- "The card this token will represent. If you also pass in a customer, the card must be the ID of a card belonging to the customer. Otherwise, if you do not pass in a customer, this is a dictionary containing a user's credit card details, with the options described below.",
1652
- }),
1653
- ),
1654
- customer: Schema.optionalKey(
1655
- Schema.String.annotate({
1656
- description:
1657
- "Create a token for the customer, which is owned by the application's account. You can only use this with an [OAuth access token](https://docs.stripe.com/connect/standard-accounts) or [Stripe-Account header](https://docs.stripe.com/connect/authentication). Learn more about [cloning saved payment methods](https://docs.stripe.com/connect/cloning-saved-payment-methods).",
1658
- }).check(
1659
- Schema.isMaxCodePoints(5000).annotate({
1660
- expected: "a string with at most 5000 code points",
1661
- }),
1662
- ),
1663
- ),
1664
- cvc_update: Schema.optionalKey(
1665
- Schema.StructWithRest(
1666
- Schema.Struct({
1667
- cvc: Schema.String.check(
1668
- Schema.isMaxCodePoints(5000).annotate({
1669
- expected: "a string with at most 5000 code points",
1670
- }),
1671
- ),
1672
- }),
1673
- [
1674
- Schema.Record(
1675
- Schema.String,
1676
- Schema.Json.annotate({ expected: "JSON value" }),
1677
- ),
1678
- ],
1679
- ).annotate({
1680
- title: "cvc_params",
1681
- description: "The updated CVC value this token represents.",
1682
- }),
1683
- ),
1684
- expand: Schema.optionalKey(
1685
- Schema.Array(
1686
- Schema.String.check(
1687
- Schema.isMaxCodePoints(5000).annotate({
1688
- expected: "a string with at most 5000 code points",
1689
- }),
1690
- ),
1691
- ).annotate({
1692
- description:
1693
- "Specifies which fields in the response should be expanded.",
1694
- }),
1695
- ),
1696
- person: Schema.optionalKey(
1697
- Schema.StructWithRest(
1698
- Schema.Struct({
1699
- additional_tos_acceptances: Schema.optionalKey(
1700
- Schema.StructWithRest(
1701
- Schema.Struct({
1702
- account: Schema.optionalKey(
1703
- Schema.StructWithRest(
1704
- Schema.Struct({
1705
- date: Schema.optionalKey(
1706
- Schema.Number.annotate({ format: "unix-time" }).check(
1707
- Schema.isInt().annotate({ expected: "an integer" }),
1708
- ),
1709
- ),
1710
- ip: Schema.optionalKey(Schema.String),
1711
- user_agent: Schema.optionalKey(
1712
- Schema.Union([
1713
- Schema.String.check(
1714
- Schema.isMaxCodePoints(5000).annotate({
1715
- expected:
1716
- "a string with at most 5000 code points",
1717
- }),
1718
- ),
1719
- Schema.Literal(""),
1720
- ]),
1721
- ),
1722
- }),
1723
- [
1724
- Schema.Record(
1725
- Schema.String,
1726
- Schema.Json.annotate({ expected: "JSON value" }),
1727
- ),
1728
- ],
1729
- ).annotate({ title: "settings_terms_of_service_specs" }),
1730
- ),
1731
- }),
1732
- [
1733
- Schema.Record(
1734
- Schema.String,
1735
- Schema.Json.annotate({ expected: "JSON value" }),
1736
- ),
1737
- ],
1738
- ).annotate({ title: "person_additional_tos_acceptances_specs" }),
1739
- ),
1740
- address: Schema.optionalKey(
1741
- Schema.StructWithRest(
1742
- Schema.Struct({
1743
- city: Schema.optionalKey(
1744
- Schema.String.check(
1745
- Schema.isMaxCodePoints(100).annotate({
1746
- expected: "a string with at most 100 code points",
1747
- }),
1748
- ),
1749
- ),
1750
- country: Schema.optionalKey(
1751
- Schema.String.check(
1752
- Schema.isMaxCodePoints(5000).annotate({
1753
- expected: "a string with at most 5000 code points",
1754
- }),
1755
- ),
1756
- ),
1757
- line1: Schema.optionalKey(
1758
- Schema.String.check(
1759
- Schema.isMaxCodePoints(200).annotate({
1760
- expected: "a string with at most 200 code points",
1761
- }),
1762
- ),
1763
- ),
1764
- line2: Schema.optionalKey(
1765
- Schema.String.check(
1766
- Schema.isMaxCodePoints(200).annotate({
1767
- expected: "a string with at most 200 code points",
1768
- }),
1769
- ),
1770
- ),
1771
- postal_code: Schema.optionalKey(
1772
- Schema.String.check(
1773
- Schema.isMaxCodePoints(5000).annotate({
1774
- expected: "a string with at most 5000 code points",
1775
- }),
1776
- ),
1777
- ),
1778
- state: Schema.optionalKey(
1779
- Schema.String.check(
1780
- Schema.isMaxCodePoints(5000).annotate({
1781
- expected: "a string with at most 5000 code points",
1782
- }),
1783
- ),
1784
- ),
1785
- }),
1786
- [
1787
- Schema.Record(
1788
- Schema.String,
1789
- Schema.Json.annotate({ expected: "JSON value" }),
1790
- ),
1791
- ],
1792
- ).annotate({ title: "legal_entity_and_kyc_address_specs" }),
1793
- ),
1794
- address_kana: Schema.optionalKey(
1795
- Schema.StructWithRest(
1796
- Schema.Struct({
1797
- city: Schema.optionalKey(
1798
- Schema.String.check(
1799
- Schema.isMaxCodePoints(5000).annotate({
1800
- expected: "a string with at most 5000 code points",
1801
- }),
1802
- ),
1803
- ),
1804
- country: Schema.optionalKey(
1805
- Schema.String.check(
1806
- Schema.isMaxCodePoints(5000).annotate({
1807
- expected: "a string with at most 5000 code points",
1808
- }),
1809
- ),
1810
- ),
1811
- line1: Schema.optionalKey(
1812
- Schema.String.check(
1813
- Schema.isMaxCodePoints(5000).annotate({
1814
- expected: "a string with at most 5000 code points",
1815
- }),
1816
- ),
1817
- ),
1818
- line2: Schema.optionalKey(
1819
- Schema.String.check(
1820
- Schema.isMaxCodePoints(5000).annotate({
1821
- expected: "a string with at most 5000 code points",
1822
- }),
1823
- ),
1824
- ),
1825
- postal_code: Schema.optionalKey(
1826
- Schema.String.check(
1827
- Schema.isMaxCodePoints(5000).annotate({
1828
- expected: "a string with at most 5000 code points",
1829
- }),
1830
- ),
1831
- ),
1832
- state: Schema.optionalKey(
1833
- Schema.String.check(
1834
- Schema.isMaxCodePoints(5000).annotate({
1835
- expected: "a string with at most 5000 code points",
1836
- }),
1837
- ),
1838
- ),
1839
- town: Schema.optionalKey(
1840
- Schema.String.check(
1841
- Schema.isMaxCodePoints(5000).annotate({
1842
- expected: "a string with at most 5000 code points",
1843
- }),
1844
- ),
1845
- ),
1846
- }),
1847
- [
1848
- Schema.Record(
1849
- Schema.String,
1850
- Schema.Json.annotate({ expected: "JSON value" }),
1851
- ),
1852
- ],
1853
- ).annotate({ title: "japan_address_kana_specs" }),
1854
- ),
1855
- address_kanji: Schema.optionalKey(
1856
- Schema.StructWithRest(
1857
- Schema.Struct({
1858
- city: Schema.optionalKey(
1859
- Schema.String.check(
1860
- Schema.isMaxCodePoints(5000).annotate({
1861
- expected: "a string with at most 5000 code points",
1862
- }),
1863
- ),
1864
- ),
1865
- country: Schema.optionalKey(
1866
- Schema.String.check(
1867
- Schema.isMaxCodePoints(5000).annotate({
1868
- expected: "a string with at most 5000 code points",
1869
- }),
1870
- ),
1871
- ),
1872
- line1: Schema.optionalKey(
1873
- Schema.String.check(
1874
- Schema.isMaxCodePoints(5000).annotate({
1875
- expected: "a string with at most 5000 code points",
1876
- }),
1877
- ),
1878
- ),
1879
- line2: Schema.optionalKey(
1880
- Schema.String.check(
1881
- Schema.isMaxCodePoints(5000).annotate({
1882
- expected: "a string with at most 5000 code points",
1883
- }),
1884
- ),
1885
- ),
1886
- postal_code: Schema.optionalKey(
1887
- Schema.String.check(
1888
- Schema.isMaxCodePoints(5000).annotate({
1889
- expected: "a string with at most 5000 code points",
1890
- }),
1891
- ),
1892
- ),
1893
- state: Schema.optionalKey(
1894
- Schema.String.check(
1895
- Schema.isMaxCodePoints(5000).annotate({
1896
- expected: "a string with at most 5000 code points",
1897
- }),
1898
- ),
1899
- ),
1900
- town: Schema.optionalKey(
1901
- Schema.String.check(
1902
- Schema.isMaxCodePoints(5000).annotate({
1903
- expected: "a string with at most 5000 code points",
1904
- }),
1905
- ),
1906
- ),
1907
- }),
1908
- [
1909
- Schema.Record(
1910
- Schema.String,
1911
- Schema.Json.annotate({ expected: "JSON value" }),
1912
- ),
1913
- ],
1914
- ).annotate({ title: "japan_address_kanji_specs" }),
1915
- ),
1916
- dob: Schema.optionalKey(
1917
- Schema.Union([
1918
- Schema.StructWithRest(
1919
- Schema.Struct({
1920
- day: Schema.Int,
1921
- month: Schema.Int,
1922
- year: Schema.Int,
1923
- }),
1924
- [
1925
- Schema.Record(
1926
- Schema.String,
1927
- Schema.Json.annotate({ expected: "JSON value" }),
1928
- ),
1929
- ],
1930
- ).annotate({ title: "date_of_birth_specs" }),
1931
- Schema.Literal(""),
1932
- ]),
1933
- ),
1934
- documents: Schema.optionalKey(
1935
- Schema.StructWithRest(
1936
- Schema.Struct({
1937
- company_authorization: Schema.optionalKey(
1938
- Schema.StructWithRest(
1939
- Schema.Struct({
1940
- files: Schema.optionalKey(
1941
- Schema.Array(
1942
- Schema.Union([
1943
- Schema.String.check(
1944
- Schema.isMaxCodePoints(500).annotate({
1945
- expected:
1946
- "a string with at most 500 code points",
1947
- }),
1948
- ),
1949
- Schema.Literal(""),
1950
- ]),
1951
- ),
1952
- ),
1953
- }),
1954
- [
1955
- Schema.Record(
1956
- Schema.String,
1957
- Schema.Json.annotate({ expected: "JSON value" }),
1958
- ),
1959
- ],
1960
- ).annotate({ title: "documents_param" }),
1961
- ),
1962
- passport: Schema.optionalKey(
1963
- Schema.StructWithRest(
1964
- Schema.Struct({
1965
- files: Schema.optionalKey(
1966
- Schema.Array(
1967
- Schema.Union([
1968
- Schema.String.check(
1969
- Schema.isMaxCodePoints(500).annotate({
1970
- expected:
1971
- "a string with at most 500 code points",
1972
- }),
1973
- ),
1974
- Schema.Literal(""),
1975
- ]),
1976
- ),
1977
- ),
1978
- }),
1979
- [
1980
- Schema.Record(
1981
- Schema.String,
1982
- Schema.Json.annotate({ expected: "JSON value" }),
1983
- ),
1984
- ],
1985
- ).annotate({ title: "documents_param" }),
1986
- ),
1987
- visa: Schema.optionalKey(
1988
- Schema.StructWithRest(
1989
- Schema.Struct({
1990
- files: Schema.optionalKey(
1991
- Schema.Array(
1992
- Schema.Union([
1993
- Schema.String.check(
1994
- Schema.isMaxCodePoints(500).annotate({
1995
- expected:
1996
- "a string with at most 500 code points",
1997
- }),
1998
- ),
1999
- Schema.Literal(""),
2000
- ]),
2001
- ),
2002
- ),
2003
- }),
2004
- [
2005
- Schema.Record(
2006
- Schema.String,
2007
- Schema.Json.annotate({ expected: "JSON value" }),
2008
- ),
2009
- ],
2010
- ).annotate({ title: "documents_param" }),
2011
- ),
2012
- }),
2013
- [
2014
- Schema.Record(
2015
- Schema.String,
2016
- Schema.Json.annotate({ expected: "JSON value" }),
2017
- ),
2018
- ],
2019
- ).annotate({ title: "person_documents_specs" }),
2020
- ),
2021
- email: Schema.optionalKey(
2022
- Schema.String.check(
2023
- Schema.isMaxCodePoints(800).annotate({
2024
- expected: "a string with at most 800 code points",
2025
- }),
2026
- ),
2027
- ),
2028
- first_name: Schema.optionalKey(
2029
- Schema.String.check(
2030
- Schema.isMaxCodePoints(5000).annotate({
2031
- expected: "a string with at most 5000 code points",
2032
- }),
2033
- ),
2034
- ),
2035
- first_name_kana: Schema.optionalKey(
2036
- Schema.String.check(
2037
- Schema.isMaxCodePoints(5000).annotate({
2038
- expected: "a string with at most 5000 code points",
2039
- }),
2040
- ),
2041
- ),
2042
- first_name_kanji: Schema.optionalKey(
2043
- Schema.String.check(
2044
- Schema.isMaxCodePoints(5000).annotate({
2045
- expected: "a string with at most 5000 code points",
2046
- }),
2047
- ),
2048
- ),
2049
- full_name_aliases: Schema.optionalKey(
2050
- Schema.Union([
2051
- Schema.Array(
2052
- Schema.String.check(
2053
- Schema.isMaxCodePoints(5000).annotate({
2054
- expected: "a string with at most 5000 code points",
2055
- }),
2056
- ),
2057
- ),
2058
- Schema.Literal(""),
2059
- ]),
2060
- ),
2061
- gender: Schema.optionalKey(Schema.String),
2062
- id_number: Schema.optionalKey(
2063
- Schema.String.check(
2064
- Schema.isMaxCodePoints(5000).annotate({
2065
- expected: "a string with at most 5000 code points",
2066
- }),
2067
- ),
2068
- ),
2069
- id_number_secondary: Schema.optionalKey(
2070
- Schema.String.check(
2071
- Schema.isMaxCodePoints(5000).annotate({
2072
- expected: "a string with at most 5000 code points",
2073
- }),
2074
- ),
2075
- ),
2076
- last_name: Schema.optionalKey(
2077
- Schema.String.check(
2078
- Schema.isMaxCodePoints(5000).annotate({
2079
- expected: "a string with at most 5000 code points",
2080
- }),
2081
- ),
2082
- ),
2083
- last_name_kana: Schema.optionalKey(
2084
- Schema.String.check(
2085
- Schema.isMaxCodePoints(5000).annotate({
2086
- expected: "a string with at most 5000 code points",
2087
- }),
2088
- ),
2089
- ),
2090
- last_name_kanji: Schema.optionalKey(
2091
- Schema.String.check(
2092
- Schema.isMaxCodePoints(5000).annotate({
2093
- expected: "a string with at most 5000 code points",
2094
- }),
2095
- ),
2096
- ),
2097
- maiden_name: Schema.optionalKey(
2098
- Schema.String.check(
2099
- Schema.isMaxCodePoints(5000).annotate({
2100
- expected: "a string with at most 5000 code points",
2101
- }),
2102
- ),
2103
- ),
2104
- metadata: Schema.optionalKey(
2105
- Schema.Union([
2106
- Schema.Record(Schema.String, Schema.String),
2107
- Schema.Literal(""),
2108
- ]),
2109
- ),
2110
- nationality: Schema.optionalKey(
2111
- Schema.String.check(
2112
- Schema.isMaxCodePoints(5000).annotate({
2113
- expected: "a string with at most 5000 code points",
2114
- }),
2115
- ),
2116
- ),
2117
- phone: Schema.optionalKey(Schema.String),
2118
- political_exposure: Schema.optionalKey(
2119
- Schema.Literals(["existing", "none"]),
2120
- ),
2121
- registered_address: Schema.optionalKey(
2122
- Schema.StructWithRest(
2123
- Schema.Struct({
2124
- city: Schema.optionalKey(
2125
- Schema.String.check(
2126
- Schema.isMaxCodePoints(100).annotate({
2127
- expected: "a string with at most 100 code points",
2128
- }),
2129
- ),
2130
- ),
2131
- country: Schema.optionalKey(
2132
- Schema.String.check(
2133
- Schema.isMaxCodePoints(5000).annotate({
2134
- expected: "a string with at most 5000 code points",
2135
- }),
2136
- ),
2137
- ),
2138
- line1: Schema.optionalKey(
2139
- Schema.String.check(
2140
- Schema.isMaxCodePoints(200).annotate({
2141
- expected: "a string with at most 200 code points",
2142
- }),
2143
- ),
2144
- ),
2145
- line2: Schema.optionalKey(
2146
- Schema.String.check(
2147
- Schema.isMaxCodePoints(200).annotate({
2148
- expected: "a string with at most 200 code points",
2149
- }),
2150
- ),
2151
- ),
2152
- postal_code: Schema.optionalKey(
2153
- Schema.String.check(
2154
- Schema.isMaxCodePoints(5000).annotate({
2155
- expected: "a string with at most 5000 code points",
2156
- }),
2157
- ),
2158
- ),
2159
- state: Schema.optionalKey(
2160
- Schema.String.check(
2161
- Schema.isMaxCodePoints(5000).annotate({
2162
- expected: "a string with at most 5000 code points",
2163
- }),
2164
- ),
2165
- ),
2166
- }),
2167
- [
2168
- Schema.Record(
2169
- Schema.String,
2170
- Schema.Json.annotate({ expected: "JSON value" }),
2171
- ),
2172
- ],
2173
- ).annotate({ title: "address_specs" }),
2174
- ),
2175
- relationship: Schema.optionalKey(
2176
- Schema.StructWithRest(
2177
- Schema.Struct({
2178
- authorizer: Schema.optionalKey(Schema.Boolean),
2179
- director: Schema.optionalKey(Schema.Boolean),
2180
- executive: Schema.optionalKey(Schema.Boolean),
2181
- legal_guardian: Schema.optionalKey(Schema.Boolean),
2182
- owner: Schema.optionalKey(Schema.Boolean),
2183
- percent_ownership: Schema.optionalKey(
2184
- Schema.Union([Schema.Finite, Schema.Literal("")]),
2185
- ),
2186
- representative: Schema.optionalKey(Schema.Boolean),
2187
- title: Schema.optionalKey(
2188
- Schema.String.check(
2189
- Schema.isMaxCodePoints(5000).annotate({
2190
- expected: "a string with at most 5000 code points",
2191
- }),
2192
- ),
2193
- ),
2194
- }),
2195
- [
2196
- Schema.Record(
2197
- Schema.String,
2198
- Schema.Json.annotate({ expected: "JSON value" }),
2199
- ),
2200
- ],
2201
- ).annotate({ title: "relationship_specs" }),
2202
- ),
2203
- ssn_last_4: Schema.optionalKey(Schema.String),
2204
- us_cfpb_data: Schema.optionalKey(
2205
- Schema.StructWithRest(
2206
- Schema.Struct({
2207
- ethnicity_details: Schema.optionalKey(
2208
- Schema.StructWithRest(
2209
- Schema.Struct({
2210
- ethnicity: Schema.optionalKey(
2211
- Schema.Array(
2212
- Schema.Literals([
2213
- "cuban",
2214
- "hispanic_or_latino",
2215
- "mexican",
2216
- "not_hispanic_or_latino",
2217
- "other_hispanic_or_latino",
2218
- "prefer_not_to_answer",
2219
- "puerto_rican",
2220
- ]),
2221
- ),
2222
- ),
2223
- ethnicity_other: Schema.optionalKey(
2224
- Schema.String.check(
2225
- Schema.isMaxCodePoints(5000).annotate({
2226
- expected: "a string with at most 5000 code points",
2227
- }),
2228
- ),
2229
- ),
2230
- }),
2231
- [
2232
- Schema.Record(
2233
- Schema.String,
2234
- Schema.Json.annotate({ expected: "JSON value" }),
2235
- ),
2236
- ],
2237
- ).annotate({ title: "us_cfpb_ethnicity_details_specs" }),
2238
- ),
2239
- race_details: Schema.optionalKey(
2240
- Schema.StructWithRest(
2241
- Schema.Struct({
2242
- race: Schema.optionalKey(
2243
- Schema.Array(
2244
- Schema.Literals([
2245
- "african_american",
2246
- "american_indian_or_alaska_native",
2247
- "asian",
2248
- "asian_indian",
2249
- "black_or_african_american",
2250
- "chinese",
2251
- "ethiopian",
2252
- "filipino",
2253
- "guamanian_or_chamorro",
2254
- "haitian",
2255
- "jamaican",
2256
- "japanese",
2257
- "korean",
2258
- "native_hawaiian",
2259
- "native_hawaiian_or_other_pacific_islander",
2260
- "nigerian",
2261
- "other_asian",
2262
- "other_black_or_african_american",
2263
- "other_pacific_islander",
2264
- "prefer_not_to_answer",
2265
- "samoan",
2266
- "somali",
2267
- "vietnamese",
2268
- "white",
2269
- ]),
2270
- ),
2271
- ),
2272
- race_other: Schema.optionalKey(
2273
- Schema.String.check(
2274
- Schema.isMaxCodePoints(5000).annotate({
2275
- expected: "a string with at most 5000 code points",
2276
- }),
2277
- ),
2278
- ),
2279
- }),
2280
- [
2281
- Schema.Record(
2282
- Schema.String,
2283
- Schema.Json.annotate({ expected: "JSON value" }),
2284
- ),
2285
- ],
2286
- ).annotate({ title: "us_cfpb_race_details_specs" }),
2287
- ),
2288
- self_identified_gender: Schema.optionalKey(
2289
- Schema.String.check(
2290
- Schema.isMaxCodePoints(5000).annotate({
2291
- expected: "a string with at most 5000 code points",
2292
- }),
2293
- ),
2294
- ),
2295
- }),
2296
- [
2297
- Schema.Record(
2298
- Schema.String,
2299
- Schema.Json.annotate({ expected: "JSON value" }),
2300
- ),
2301
- ],
2302
- ).annotate({ title: "us_cfpb_data_specs" }),
2303
- ),
2304
- verification: Schema.optionalKey(
2305
- Schema.StructWithRest(
2306
- Schema.Struct({
2307
- additional_document: Schema.optionalKey(
2308
- Schema.StructWithRest(
2309
- Schema.Struct({
2310
- back: Schema.optionalKey(
2311
- Schema.String.check(
2312
- Schema.isMaxCodePoints(500).annotate({
2313
- expected: "a string with at most 500 code points",
2314
- }),
2315
- ),
2316
- ),
2317
- front: Schema.optionalKey(
2318
- Schema.String.check(
2319
- Schema.isMaxCodePoints(500).annotate({
2320
- expected: "a string with at most 500 code points",
2321
- }),
2322
- ),
2323
- ),
2324
- }),
2325
- [
2326
- Schema.Record(
2327
- Schema.String,
2328
- Schema.Json.annotate({ expected: "JSON value" }),
2329
- ),
2330
- ],
2331
- ).annotate({ title: "person_verification_document_specs" }),
2332
- ),
2333
- document: Schema.optionalKey(
2334
- Schema.StructWithRest(
2335
- Schema.Struct({
2336
- back: Schema.optionalKey(
2337
- Schema.String.check(
2338
- Schema.isMaxCodePoints(500).annotate({
2339
- expected: "a string with at most 500 code points",
2340
- }),
2341
- ),
2342
- ),
2343
- front: Schema.optionalKey(
2344
- Schema.String.check(
2345
- Schema.isMaxCodePoints(500).annotate({
2346
- expected: "a string with at most 500 code points",
2347
- }),
2348
- ),
2349
- ),
2350
- }),
2351
- [
2352
- Schema.Record(
2353
- Schema.String,
2354
- Schema.Json.annotate({ expected: "JSON value" }),
2355
- ),
2356
- ],
2357
- ).annotate({ title: "person_verification_document_specs" }),
2358
- ),
2359
- }),
2360
- [
2361
- Schema.Record(
2362
- Schema.String,
2363
- Schema.Json.annotate({ expected: "JSON value" }),
2364
- ),
2365
- ],
2366
- ).annotate({ title: "person_verification_specs" }),
2367
- ),
2368
- }),
2369
- [
2370
- Schema.Record(
2371
- Schema.String,
2372
- Schema.Json.annotate({ expected: "JSON value" }),
2373
- ),
2374
- ],
2375
- ).annotate({
2376
- title: "person_token_specs",
2377
- description: "Information for the person this token represents.",
2378
- }),
2379
- ),
2380
- pii: Schema.optionalKey(
2381
- Schema.StructWithRest(
2382
- Schema.Struct({
2383
- id_number: Schema.optionalKey(
2384
- Schema.String.check(
2385
- Schema.isMaxCodePoints(5000).annotate({
2386
- expected: "a string with at most 5000 code points",
2387
- }),
2388
- ),
2389
- ),
2390
- }),
2391
- [
2392
- Schema.Record(
2393
- Schema.String,
2394
- Schema.Json.annotate({ expected: "JSON value" }),
2395
- ),
2396
- ],
2397
- ).annotate({
2398
- title: "pii_token_specs",
2399
- description: "The PII this token represents.",
2400
- }),
2401
- ),
2402
- }),
20
+ StripeTokenPropsSchemaInputResourceInputProperties,
2403
21
  StripeTokenResourceSchema,
2404
22
  );