nomoss 0.0.1 → 0.0.5

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 (710) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/LICENSE +1 -1
  3. package/README.md +52 -26
  4. package/ROADMAP.md +19 -0
  5. package/docs/README.md +19 -0
  6. package/docs/application/aws-resource-coverage.md +26 -0
  7. package/docs/application/aws-resource-lifecycle-management.md +47 -0
  8. package/docs/application/cli-workflow.md +111 -0
  9. package/docs/application/engine-design.md +43 -0
  10. package/docs/application/generation-architecture.md +285 -0
  11. package/docs/application/resource-command-policy-stage.md +37 -0
  12. package/docs/application/resource-graph.md +45 -0
  13. package/docs/application/resource-lifecycle-tracker.md +43 -0
  14. package/docs/application/resource-mapping.md +112 -0
  15. package/docs/application/resource-operations.md +41 -0
  16. package/docs/application/resource-outputs.md +66 -0
  17. package/docs/application/tracing.md +27 -0
  18. package/docs/development/code-documentation.md +54 -0
  19. package/docs/development/commit-message-spec.md +9 -0
  20. package/docs/development/effect-native-development.md +89 -0
  21. package/docs/development/linting.md +39 -0
  22. package/docs/development/resource-graph-testing-approach.md +9 -0
  23. package/docs/development/review-code.md +73 -0
  24. package/docs/development/review-docs.md +27 -0
  25. package/docs/development/review-remediation-spec.md +40 -0
  26. package/docs/development/spec-writing.md +35 -0
  27. package/docs/development/testing.md +125 -0
  28. package/docs/development/unslop.md +55 -0
  29. package/docs/operations/observability-sop.md +32 -0
  30. package/docs/operations/releasing.md +7 -0
  31. package/examples/README.md +11 -0
  32. package/examples/cli.ts +15 -0
  33. package/examples/commands.ts +32 -0
  34. package/examples/http-echo/index.ts +54 -0
  35. package/examples/queue/application.ts +37 -0
  36. package/examples/state-machine/application.ts +57 -0
  37. package/examples/stripe-billing/application.ts +56 -0
  38. package/media/nomoss-http-demo.gif +0 -0
  39. package/package.json +63 -24
  40. package/providers/aws/README.md +21 -0
  41. package/providers/aws/awsEnvironment.ts +114 -0
  42. package/providers/aws/generated/managementRegistry.ts +136 -0
  43. package/providers/aws/generated/resources/apigatewayv2/api.ts +528 -0
  44. package/providers/aws/generated/resources/apigatewayv2/integration.ts +559 -0
  45. package/providers/aws/generated/resources/apigatewayv2/route.ts +421 -0
  46. package/providers/aws/generated/resources/apigatewayv2/stage.ts +366 -0
  47. package/providers/aws/generated/resources/iam/accesskey.ts +184 -0
  48. package/providers/aws/generated/resources/iam/group.ts +294 -0
  49. package/providers/aws/generated/resources/iam/grouppolicy.ts +244 -0
  50. package/providers/aws/generated/resources/iam/instanceprofile.ts +249 -0
  51. package/providers/aws/generated/resources/iam/managedpolicy.ts +518 -0
  52. package/providers/aws/generated/resources/iam/oidcprovider.ts +314 -0
  53. package/providers/aws/generated/resources/iam/policy.ts +264 -0
  54. package/providers/aws/generated/resources/iam/role.ts +444 -0
  55. package/providers/aws/generated/resources/iam/rolepolicy.ts +242 -0
  56. package/providers/aws/generated/resources/iam/samlprovider.ts +463 -0
  57. package/providers/aws/generated/resources/iam/servercertificate.ts +465 -0
  58. package/providers/aws/generated/resources/iam/servicelinkedrole.ts +187 -0
  59. package/providers/aws/generated/resources/iam/user.ts +435 -0
  60. package/providers/aws/generated/resources/iam/userpolicy.ts +242 -0
  61. package/providers/aws/generated/resources/iam/usertogroupaddition.ts +212 -0
  62. package/providers/aws/generated/resources/iam/virtualmfadevice.ts +298 -0
  63. package/providers/aws/generated/resources/kms/key.ts +552 -0
  64. package/providers/aws/generated/resources/lambda/function.ts +1924 -0
  65. package/providers/aws/generated/resources/lambda/permission.ts +913 -0
  66. package/providers/aws/generated/resources/s3/bucket.ts +3325 -0
  67. package/providers/aws/generated/resources/sns/topic.ts +536 -0
  68. package/providers/aws/generated/resources/sqs/queue.ts +476 -0
  69. package/providers/aws/generated/resources/stepfunctions/statemachine.ts +720 -0
  70. package/providers/aws/management/mappings/iam/group.ts +63 -0
  71. package/providers/aws/management/mappings/iam/iamIdentity.ts +41 -0
  72. package/providers/aws/management/mappings/iam/iamLifecycleSettings.ts +8 -0
  73. package/providers/aws/management/mappings/iam/inlinePolicies.ts +159 -0
  74. package/providers/aws/management/mappings/iam/instanceProfile.ts +77 -0
  75. package/providers/aws/management/mappings/iam/oidcProvider.ts +94 -0
  76. package/providers/aws/management/mappings/iam/role.ts +74 -0
  77. package/providers/aws/management/mappings/iam/samlProvider.ts +98 -0
  78. package/providers/aws/management/mappings/iam/serverCertificate.ts +72 -0
  79. package/providers/aws/management/mappings/iam/user.ts +61 -0
  80. package/providers/aws/management/mappings/iam/userToGroupAddition.ts +75 -0
  81. package/providers/aws/management/operations/iam/accessKey.ts +206 -0
  82. package/providers/aws/management/operations/iam/managedPolicy.ts +491 -0
  83. package/providers/aws/management/operations/iam/policy.ts +476 -0
  84. package/providers/aws/management/operations/iam/serviceLinkedRole.ts +172 -0
  85. package/providers/aws/management/operations/iam/virtualMfaDevice.ts +253 -0
  86. package/providers/aws/management/resourceAssociationConfiguration.ts +112 -0
  87. package/providers/aws/management/resourceAssociationRegistration.ts +349 -0
  88. package/providers/aws/management/resourceAssociations.ts +168 -0
  89. package/providers/aws/management/resourceConfiguration.ts +119 -0
  90. package/providers/aws/management/resourceLifecycleRegistration.ts +540 -0
  91. package/providers/aws/management/resourceManagementModule.ts +31 -0
  92. package/providers/aws/management/resourceManagementRegistry.ts +62 -0
  93. package/providers/aws/management/resourceMapping.ts +84 -0
  94. package/providers/aws/management/resourceOperation.ts +134 -0
  95. package/providers/aws/management/resourceTagOperations.ts +108 -0
  96. package/providers/aws/management/resourceTiming.ts +4 -0
  97. package/providers/aws/runtime.ts +52 -0
  98. package/src/cli.ts +31 -13
  99. package/src/cliCommand.ts +207 -170
  100. package/src/cliDiagnostics.ts +104 -0
  101. package/src/core/asset.ts +350 -0
  102. package/src/core/index.ts +61 -17
  103. package/src/core/{lifecycle.ts → resource/lifecycle.ts} +33 -3
  104. package/src/core/resource/model.ts +1168 -0
  105. package/src/core/resource/resourceCommandPolicy.ts +88 -0
  106. package/src/core/resource/resourceGraphBuilder.ts +319 -0
  107. package/src/core/resource/resourceGraphStore.ts +373 -0
  108. package/src/core/resource/resourceLifecycle.ts +644 -0
  109. package/src/core/resource/resourceOutputBinding.ts +113 -0
  110. package/src/core/resource/resourceOutputResolver.ts +365 -0
  111. package/src/core/resource/resourceRequest.ts +186 -0
  112. package/src/core/resource/resourceStabilization.ts +120 -0
  113. package/src/core/resource/resourceVersions.ts +102 -0
  114. package/src/core/runtime/stackRuntimeLayer.ts +16 -0
  115. package/src/core/runtime/tracing.ts +43 -0
  116. package/src/core/stack/planner.ts +663 -0
  117. package/src/core/stack/resourceDisplay.ts +213 -0
  118. package/src/core/stack/resourceStackDefinition.ts +32 -0
  119. package/src/core/stack/resourceStackLifecycle.ts +1229 -0
  120. package/src/core/stack/resourceStackOperations.ts +642 -0
  121. package/src/core/stack/resourceStackProgress.ts +169 -0
  122. package/src/core/stack/stackWorkflowRenderer.ts +756 -0
  123. package/src/core/state/localState.ts +18 -0
  124. package/src/core/state/resourceState.ts +77 -0
  125. package/src/core/{stateSecretService.ts → state/stateSecretService.ts} +183 -193
  126. package/src/core/state/stateStore.ts +600 -0
  127. package/src/providers/file/jsonFile.ts +94 -0
  128. package/src/providers/file/model.ts +29 -0
  129. package/src/providers/file/resourcePolicy.ts +271 -0
  130. package/src/providers/index.ts +0 -2
  131. package/src/providers/providerRuntimeLayer.ts +27 -113
  132. package/src/providers/resourceCommandPolicyLayer.ts +151 -200
  133. package/src/providers/stripe/client/generated/LICENSE +21 -0
  134. package/src/providers/stripe/client/generated/accounts.ts +14360 -0
  135. package/src/providers/stripe/client/generated/applePayDomains.ts +313 -0
  136. package/src/providers/stripe/client/generated/appsInstalls.ts +495 -0
  137. package/src/providers/stripe/client/generated/billingAlerts.ts +515 -0
  138. package/src/providers/stripe/client/generated/billingCreditGrants.ts +631 -0
  139. package/src/providers/stripe/client/generated/billingFeedbackOptions.ts +396 -0
  140. package/src/providers/stripe/client/generated/billingMeters.ts +688 -0
  141. package/src/providers/stripe/client/generated/billingPortalConfigurations.ts +1279 -0
  142. package/src/providers/stripe/client/generated/catalog.ts +18881 -0
  143. package/src/providers/stripe/client/generated/charges.ts +2637 -0
  144. package/src/providers/stripe/client/generated/checkoutSessions.ts +5692 -0
  145. package/src/providers/stripe/client/generated/climateOrders.ts +472 -0
  146. package/src/providers/stripe/client/generated/commerceProductCatalogImports.ts +268 -0
  147. package/src/providers/stripe/client/generated/configuration.ts +3 -0
  148. package/src/providers/stripe/client/generated/coreAccountTokens.ts +2492 -0
  149. package/src/providers/stripe/client/generated/coreEventDestinations.ts +684 -0
  150. package/src/providers/stripe/client/generated/coreVaultGbBankAccounts.ts +380 -0
  151. package/src/providers/stripe/client/generated/coreVaultUsBankAccounts.ts +648 -0
  152. package/src/providers/stripe/client/generated/coupons.ts +562 -0
  153. package/src/providers/stripe/client/generated/creditNotes.ts +1430 -0
  154. package/src/providers/stripe/client/generated/customers.ts +10712 -0
  155. package/src/providers/stripe/client/generated/entitlementsFeatures.ts +378 -0
  156. package/src/providers/stripe/client/generated/fileLinks.ts +383 -0
  157. package/src/providers/stripe/client/generated/financialConnectionsSessions.ts +297 -0
  158. package/src/providers/stripe/client/generated/forwardingRequests.ts +366 -0
  159. package/src/providers/stripe/client/generated/identityVerificationSessions.ts +780 -0
  160. package/src/providers/stripe/client/generated/index.ts +330 -0
  161. package/src/providers/stripe/client/generated/invoiceitems.ts +924 -0
  162. package/src/providers/stripe/client/generated/invoices.ts +8412 -0
  163. package/src/providers/stripe/client/generated/issuingCardholders.ts +4650 -0
  164. package/src/providers/stripe/client/generated/issuingCards.ts +4622 -0
  165. package/src/providers/stripe/client/generated/issuingDisputes.ts +1474 -0
  166. package/src/providers/stripe/client/generated/issuingPersonalizationDesigns.ts +634 -0
  167. package/src/providers/stripe/client/generated/models/accounts.ts +2808 -0
  168. package/src/providers/stripe/client/generated/models/billing.ts +2527 -0
  169. package/src/providers/stripe/client/generated/models/catalog.ts +3411 -0
  170. package/src/providers/stripe/client/generated/models/charges.ts +3616 -0
  171. package/src/providers/stripe/client/generated/models/common.ts +25024 -0
  172. package/src/providers/stripe/client/generated/models/customers.ts +1559 -0
  173. package/src/providers/stripe/client/generated/models/invoices.ts +3881 -0
  174. package/src/providers/stripe/client/generated/models/issuing.ts +7083 -0
  175. package/src/providers/stripe/client/generated/models/issuingCardholders.ts +2495 -0
  176. package/src/providers/stripe/client/generated/models/paymentIntents.ts +4148 -0
  177. package/src/providers/stripe/client/generated/models/paymentMethodDetails.ts +8128 -0
  178. package/src/providers/stripe/client/generated/models/paymentMethodOptions.ts +1684 -0
  179. package/src/providers/stripe/client/generated/models/paymentMethods.ts +3751 -0
  180. package/src/providers/stripe/client/generated/models/paymentSources.ts +1443 -0
  181. package/src/providers/stripe/client/generated/models/payments.ts +8558 -0
  182. package/src/providers/stripe/client/generated/models/setupIntents.ts +3344 -0
  183. package/src/providers/stripe/client/generated/models/sources.ts +1898 -0
  184. package/src/providers/stripe/client/generated/models/subscriptions.ts +3836 -0
  185. package/src/providers/stripe/client/generated/models/transfers.ts +1197 -0
  186. package/src/providers/stripe/client/generated/models/treasury.ts +3852 -0
  187. package/src/providers/stripe/client/generated/models/v2Accounts.ts +13649 -0
  188. package/src/providers/stripe/client/generated/models/v2Errors.ts +13829 -0
  189. package/src/providers/stripe/client/generated/moneyManagementFinancialAddresses.ts +317 -0
  190. package/src/providers/stripe/client/generated/moneyManagementInboundTransfers.ts +380 -0
  191. package/src/providers/stripe/client/generated/moneyManagementOutboundPayments.ts +828 -0
  192. package/src/providers/stripe/client/generated/moneyManagementOutboundSetupIntents.ts +596 -0
  193. package/src/providers/stripe/client/generated/moneyManagementPayoutIntents.ts +1149 -0
  194. package/src/providers/stripe/client/generated/moneyManagementRecipientVerifications.ts +226 -0
  195. package/src/providers/stripe/client/generated/paymentIntents.ts +17752 -0
  196. package/src/providers/stripe/client/generated/paymentLinks.ts +4199 -0
  197. package/src/providers/stripe/client/generated/paymentMethodConfigurations.ts +4835 -0
  198. package/src/providers/stripe/client/generated/paymentMethodDomains.ts +429 -0
  199. package/src/providers/stripe/client/generated/paymentMethods.ts +2372 -0
  200. package/src/providers/stripe/client/generated/payouts.ts +589 -0
  201. package/src/providers/stripe/client/generated/plans.ts +712 -0
  202. package/src/providers/stripe/client/generated/prices.ts +1045 -0
  203. package/src/providers/stripe/client/generated/productCatalogTrialOffers.ts +447 -0
  204. package/src/providers/stripe/client/generated/products.ts +1370 -0
  205. package/src/providers/stripe/client/generated/promotionCodes.ts +564 -0
  206. package/src/providers/stripe/client/generated/quotes.ts +1874 -0
  207. package/src/providers/stripe/client/generated/radarValueListItems.ts +367 -0
  208. package/src/providers/stripe/client/generated/radarValueLists.ts +496 -0
  209. package/src/providers/stripe/client/generated/refunds.ts +493 -0
  210. package/src/providers/stripe/client/generated/reportingReportRuns.ts +1615 -0
  211. package/src/providers/stripe/client/generated/resourceBindings/Account.ts +200 -0
  212. package/src/providers/stripe/client/generated/resourceBindings/AccountToken.ts +175 -0
  213. package/src/providers/stripe/client/generated/resourceBindings/ApplePayDomain.ts +173 -0
  214. package/src/providers/stripe/client/generated/resourceBindings/AppsInstall.ts +201 -0
  215. package/src/providers/stripe/client/generated/resourceBindings/BankAccount.ts +228 -0
  216. package/src/providers/stripe/client/generated/resourceBindings/BillingAlert.ts +174 -0
  217. package/src/providers/stripe/client/generated/resourceBindings/BillingConfigurationExport.ts +77 -0
  218. package/src/providers/stripe/client/generated/resourceBindings/BillingCreditGrant.ts +201 -0
  219. package/src/providers/stripe/client/generated/resourceBindings/BillingFeedbackOption.ts +197 -0
  220. package/src/providers/stripe/client/generated/resourceBindings/BillingMeter.ts +201 -0
  221. package/src/providers/stripe/client/generated/resourceBindings/BillingPortalConfiguration.ts +214 -0
  222. package/src/providers/stripe/client/generated/resourceBindings/Card.ts +231 -0
  223. package/src/providers/stripe/client/generated/resourceBindings/Charge.ts +202 -0
  224. package/src/providers/stripe/client/generated/resourceBindings/CheckoutSession.ts +199 -0
  225. package/src/providers/stripe/client/generated/resourceBindings/ClimateOrder.ts +201 -0
  226. package/src/providers/stripe/client/generated/resourceBindings/Coupon.ts +202 -0
  227. package/src/providers/stripe/client/generated/resourceBindings/CreditNote.ts +200 -0
  228. package/src/providers/stripe/client/generated/resourceBindings/Customer.ts +200 -0
  229. package/src/providers/stripe/client/generated/resourceBindings/EntitlementsFeature.ts +201 -0
  230. package/src/providers/stripe/client/generated/resourceBindings/EventDestination.ts +197 -0
  231. package/src/providers/stripe/client/generated/resourceBindings/FileLink.ts +200 -0
  232. package/src/providers/stripe/client/generated/resourceBindings/FinancialAddress.ts +177 -0
  233. package/src/providers/stripe/client/generated/resourceBindings/FinancialConnectionsSession.ts +180 -0
  234. package/src/providers/stripe/client/generated/resourceBindings/ForwardingRequest.ts +173 -0
  235. package/src/providers/stripe/client/generated/resourceBindings/GBBankAccount.ts +171 -0
  236. package/src/providers/stripe/client/generated/resourceBindings/IdentityVerificationSession.ts +214 -0
  237. package/src/providers/stripe/client/generated/resourceBindings/InboundTransfer.ts +177 -0
  238. package/src/providers/stripe/client/generated/resourceBindings/Invoice.ts +200 -0
  239. package/src/providers/stripe/client/generated/resourceBindings/Invoiceitem.ts +200 -0
  240. package/src/providers/stripe/client/generated/resourceBindings/IssuingCard.ts +201 -0
  241. package/src/providers/stripe/client/generated/resourceBindings/IssuingCardholder.ts +198 -0
  242. package/src/providers/stripe/client/generated/resourceBindings/IssuingDispute.ts +199 -0
  243. package/src/providers/stripe/client/generated/resourceBindings/IssuingPersonalizationDesign.ts +214 -0
  244. package/src/providers/stripe/client/generated/resourceBindings/OutboundPayment.ts +177 -0
  245. package/src/providers/stripe/client/generated/resourceBindings/OutboundSetupIntent.ts +206 -0
  246. package/src/providers/stripe/client/generated/resourceBindings/PaymentIntent.ts +200 -0
  247. package/src/providers/stripe/client/generated/resourceBindings/PaymentLink.ts +200 -0
  248. package/src/providers/stripe/client/generated/resourceBindings/PaymentMethod.ts +195 -0
  249. package/src/providers/stripe/client/generated/resourceBindings/PaymentMethodConfiguration.ts +214 -0
  250. package/src/providers/stripe/client/generated/resourceBindings/PaymentMethodDomain.ts +208 -0
  251. package/src/providers/stripe/client/generated/resourceBindings/Payout.ts +202 -0
  252. package/src/providers/stripe/client/generated/resourceBindings/PayoutIntent.ts +206 -0
  253. package/src/providers/stripe/client/generated/resourceBindings/Plan.ts +199 -0
  254. package/src/providers/stripe/client/generated/resourceBindings/Price.ts +199 -0
  255. package/src/providers/stripe/client/generated/resourceBindings/Product.ts +196 -0
  256. package/src/providers/stripe/client/generated/resourceBindings/ProductCatalogImport.ts +177 -0
  257. package/src/providers/stripe/client/generated/resourceBindings/ProductCatalogTrialOffer.ts +201 -0
  258. package/src/providers/stripe/client/generated/resourceBindings/PromotionCode.ts +195 -0
  259. package/src/providers/stripe/client/generated/resourceBindings/Quote.ts +199 -0
  260. package/src/providers/stripe/client/generated/resourceBindings/RadarValueList.ts +195 -0
  261. package/src/providers/stripe/client/generated/resourceBindings/RadarValueListItem.ts +175 -0
  262. package/src/providers/stripe/client/generated/resourceBindings/RecipientVerification.ts +177 -0
  263. package/src/providers/stripe/client/generated/resourceBindings/Refund.ts +202 -0
  264. package/src/providers/stripe/client/generated/resourceBindings/ReportingReportRun.ts +173 -0
  265. package/src/providers/stripe/client/generated/resourceBindings/SetupIntent.ts +201 -0
  266. package/src/providers/stripe/client/generated/resourceBindings/ShippingRate.ts +205 -0
  267. package/src/providers/stripe/client/generated/resourceBindings/Source.ts +202 -0
  268. package/src/providers/stripe/client/generated/resourceBindings/Subscription.ts +207 -0
  269. package/src/providers/stripe/client/generated/resourceBindings/SubscriptionItem.ts +199 -0
  270. package/src/providers/stripe/client/generated/resourceBindings/SubscriptionSchedule.ts +203 -0
  271. package/src/providers/stripe/client/generated/resourceBindings/TaxId.ts +172 -0
  272. package/src/providers/stripe/client/generated/resourceBindings/TaxLocation.ts +174 -0
  273. package/src/providers/stripe/client/generated/resourceBindings/TaxRate.ts +200 -0
  274. package/src/providers/stripe/client/generated/resourceBindings/TaxRegistration.ts +200 -0
  275. package/src/providers/stripe/client/generated/resourceBindings/TerminalConfiguration.ts +208 -0
  276. package/src/providers/stripe/client/generated/resourceBindings/TerminalLocation.ts +195 -0
  277. package/src/providers/stripe/client/generated/resourceBindings/TerminalReader.ts +199 -0
  278. package/src/providers/stripe/client/generated/resourceBindings/TestHelpersTestClock.ts +208 -0
  279. package/src/providers/stripe/client/generated/resourceBindings/ThreeDSecureAuthentication.ts +180 -0
  280. package/src/providers/stripe/client/generated/resourceBindings/Token.ts +172 -0
  281. package/src/providers/stripe/client/generated/resourceBindings/Topup.ts +199 -0
  282. package/src/providers/stripe/client/generated/resourceBindings/Transfer.ts +200 -0
  283. package/src/providers/stripe/client/generated/resourceBindings/TreasuryCreditReversal.ts +175 -0
  284. package/src/providers/stripe/client/generated/resourceBindings/TreasuryDebitReversal.ts +176 -0
  285. package/src/providers/stripe/client/generated/resourceBindings/TreasuryFinancialAccount.ts +209 -0
  286. package/src/providers/stripe/client/generated/resourceBindings/TreasuryInboundTransfer.ts +172 -0
  287. package/src/providers/stripe/client/generated/resourceBindings/TreasuryOutboundPayment.ts +172 -0
  288. package/src/providers/stripe/client/generated/resourceBindings/TreasuryOutboundTransfer.ts +175 -0
  289. package/src/providers/stripe/client/generated/resourceBindings/USBankAccount.ts +195 -0
  290. package/src/providers/stripe/client/generated/resourceBindings/V1Account.ts +200 -0
  291. package/src/providers/stripe/client/generated/resourceBindings/WebhookEndpoint.ts +233 -0
  292. package/src/providers/stripe/client/generated/resourceCatalog.ts +10160 -0
  293. package/src/providers/stripe/client/generated/resourceCommands.ts +2132 -0
  294. package/src/providers/stripe/client/generated/resourceDeclarations.ts +3738 -0
  295. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsEntitySchema.ts +5062 -0
  296. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsSchema.ts +5072 -0
  297. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsEntitySchema.ts +2450 -0
  298. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsSchema.ts +2461 -0
  299. package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsEntitySchema.ts +30 -0
  300. package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsSchema.ts +41 -0
  301. package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsEntitySchema.ts +70 -0
  302. package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsSchema.ts +81 -0
  303. package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsEntitySchema.ts +189 -0
  304. package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsSchema.ts +177 -0
  305. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsEntitySchema.ts +80 -0
  306. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsSchema.ts +105 -0
  307. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportDocumentSchema.ts +38 -0
  308. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsEntitySchema.ts +226 -0
  309. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsSchema.ts +65 -0
  310. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsEntitySchema.ts +204 -0
  311. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsSchema.ts +194 -0
  312. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsEntitySchema.ts +38 -0
  313. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsSchema.ts +48 -0
  314. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsEntitySchema.ts +117 -0
  315. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsSchema.ts +128 -0
  316. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsEntitySchema.ts +282 -0
  317. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsSchema.ts +516 -0
  318. package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsEntitySchema.ts +189 -0
  319. package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsSchema.ts +176 -0
  320. package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsEntitySchema.ts +533 -0
  321. package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsSchema.ts +501 -0
  322. package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsEntitySchema.ts +4486 -0
  323. package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsSchema.ts +4601 -0
  324. package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsEntitySchema.ts +93 -0
  325. package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsSchema.ts +104 -0
  326. package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsEntitySchema.ts +158 -0
  327. package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsSchema.ts +168 -0
  328. package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsEntitySchema.ts +326 -0
  329. package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsSchema.ts +300 -0
  330. package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsEntitySchema.ts +833 -0
  331. package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsSchema.ts +818 -0
  332. package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsEntitySchema.ts +54 -0
  333. package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsSchema.ts +64 -0
  334. package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsEntitySchema.ts +167 -0
  335. package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsSchema.ts +178 -0
  336. package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsEntitySchema.ts +74 -0
  337. package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsSchema.ts +66 -0
  338. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsEntitySchema.ts +62 -0
  339. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsSchema.ts +73 -0
  340. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsEntitySchema.ts +192 -0
  341. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsSchema.ts +198 -0
  342. package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsEntitySchema.ts +126 -0
  343. package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsSchema.ts +137 -0
  344. package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsEntitySchema.ts +52 -0
  345. package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsSchema.ts +63 -0
  346. package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsEntitySchema.ts +203 -0
  347. package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsSchema.ts +214 -0
  348. package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsEntitySchema.ts +104 -0
  349. package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsSchema.ts +115 -0
  350. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsEntitySchema.ts +1775 -0
  351. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsSchema.ts +1632 -0
  352. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsEntitySchema.ts +343 -0
  353. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsSchema.ts +311 -0
  354. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsEntitySchema.ts +2230 -0
  355. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsSchema.ts +2204 -0
  356. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsEntitySchema.ts +2152 -0
  357. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsSchema.ts +2191 -0
  358. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsEntitySchema.ts +178 -0
  359. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsSchema.ts +580 -0
  360. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsEntitySchema.ts +179 -0
  361. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsSchema.ts +166 -0
  362. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsEntitySchema.ts +253 -0
  363. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsSchema.ts +264 -0
  364. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsEntitySchema.ts +123 -0
  365. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsSchema.ts +133 -0
  366. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsEntitySchema.ts +5519 -0
  367. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsSchema.ts +5464 -0
  368. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsEntitySchema.ts +1775 -0
  369. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsSchema.ts +1967 -0
  370. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsEntitySchema.ts +2280 -0
  371. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsSchema.ts +2291 -0
  372. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsEntitySchema.ts +45 -0
  373. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsSchema.ts +55 -0
  374. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsEntitySchema.ts +1609 -0
  375. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsSchema.ts +1600 -0
  376. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsEntitySchema.ts +272 -0
  377. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsSchema.ts +283 -0
  378. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsEntitySchema.ts +141 -0
  379. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsSchema.ts +105 -0
  380. package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsEntitySchema.ts +225 -0
  381. package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsSchema.ts +304 -0
  382. package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsEntitySchema.ts +434 -0
  383. package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsSchema.ts +427 -0
  384. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsEntitySchema.ts +41 -0
  385. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsSchema.ts +51 -0
  386. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsEntitySchema.ts +129 -0
  387. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsSchema.ts +127 -0
  388. package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsEntitySchema.ts +365 -0
  389. package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsSchema.ts +375 -0
  390. package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsEntitySchema.ts +185 -0
  391. package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsSchema.ts +171 -0
  392. package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsEntitySchema.ts +700 -0
  393. package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsSchema.ts +627 -0
  394. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsEntitySchema.ts +46 -0
  395. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsSchema.ts +57 -0
  396. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsEntitySchema.ts +83 -0
  397. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsSchema.ts +94 -0
  398. package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsEntitySchema.ts +35 -0
  399. package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsSchema.ts +45 -0
  400. package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsEntitySchema.ts +175 -0
  401. package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsSchema.ts +130 -0
  402. package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsEntitySchema.ts +1363 -0
  403. package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsSchema.ts +1374 -0
  404. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives.ts +35 -0
  405. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_1.ts +35 -0
  406. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_10.ts +44 -0
  407. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_100.ts +35 -0
  408. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_101.ts +35 -0
  409. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_102.ts +35 -0
  410. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_103.ts +35 -0
  411. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_104.ts +35 -0
  412. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_105.ts +35 -0
  413. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_106.ts +35 -0
  414. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_107.ts +35 -0
  415. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_108.ts +35 -0
  416. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_11.ts +68 -0
  417. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_12.ts +35 -0
  418. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_13.ts +35 -0
  419. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_14.ts +35 -0
  420. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_15.ts +35 -0
  421. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_16.ts +35 -0
  422. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_17.ts +44 -0
  423. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_18.ts +35 -0
  424. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_19.ts +35 -0
  425. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_2.ts +35 -0
  426. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_20.ts +35 -0
  427. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_21.ts +35 -0
  428. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_22.ts +35 -0
  429. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_23.ts +35 -0
  430. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_24.ts +35 -0
  431. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_25.ts +35 -0
  432. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_26.ts +44 -0
  433. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_27.ts +35 -0
  434. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_28.ts +35 -0
  435. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_29.ts +35 -0
  436. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_3.ts +35 -0
  437. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_30.ts +35 -0
  438. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_31.ts +35 -0
  439. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_32.ts +35 -0
  440. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_33.ts +35 -0
  441. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_34.ts +35 -0
  442. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_35.ts +59 -0
  443. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_36.ts +35 -0
  444. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_37.ts +35 -0
  445. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_38.ts +35 -0
  446. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_39.ts +35 -0
  447. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_4.ts +35 -0
  448. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_40.ts +35 -0
  449. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_41.ts +111 -0
  450. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_42.ts +35 -0
  451. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_43.ts +77 -0
  452. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_44.ts +35 -0
  453. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_45.ts +35 -0
  454. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_46.ts +35 -0
  455. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_47.ts +35 -0
  456. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_48.ts +50 -0
  457. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_49.ts +35 -0
  458. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_5.ts +35 -0
  459. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_50.ts +83 -0
  460. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_51.ts +35 -0
  461. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_52.ts +50 -0
  462. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_53.ts +35 -0
  463. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_54.ts +74 -0
  464. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_55.ts +35 -0
  465. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_56.ts +65 -0
  466. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_57.ts +35 -0
  467. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_58.ts +79 -0
  468. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_59.ts +35 -0
  469. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_6.ts +35 -0
  470. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_60.ts +35 -0
  471. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_61.ts +35 -0
  472. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_62.ts +44 -0
  473. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_63.ts +35 -0
  474. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_64.ts +35 -0
  475. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_65.ts +44 -0
  476. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_66.ts +35 -0
  477. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_67.ts +35 -0
  478. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_68.ts +35 -0
  479. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_69.ts +35 -0
  480. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_7.ts +35 -0
  481. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_70.ts +35 -0
  482. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_71.ts +35 -0
  483. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_72.ts +35 -0
  484. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_73.ts +35 -0
  485. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_74.ts +35 -0
  486. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_75.ts +35 -0
  487. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_76.ts +35 -0
  488. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_77.ts +35 -0
  489. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_78.ts +44 -0
  490. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_79.ts +35 -0
  491. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_8.ts +35 -0
  492. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_80.ts +35 -0
  493. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_81.ts +39 -0
  494. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_82.ts +35 -0
  495. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_83.ts +35 -0
  496. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_84.ts +35 -0
  497. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_85.ts +35 -0
  498. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_86.ts +35 -0
  499. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_87.ts +35 -0
  500. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_88.ts +56 -0
  501. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_89.ts +35 -0
  502. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_9.ts +35 -0
  503. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_90.ts +35 -0
  504. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_91.ts +44 -0
  505. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_92.ts +35 -0
  506. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_93.ts +56 -0
  507. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_94.ts +35 -0
  508. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_95.ts +35 -0
  509. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_96.ts +35 -0
  510. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_97.ts +35 -0
  511. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_98.ts +35 -0
  512. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_99.ts +35 -0
  513. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems.ts +38 -0
  514. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_1.ts +39 -0
  515. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_2.ts +38 -0
  516. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_3.ts +154 -0
  517. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_4.ts +51 -0
  518. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_5.ts +120 -0
  519. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties.ts +32 -0
  520. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_1.ts +37 -0
  521. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_10.ts +125 -0
  522. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_11.ts +34 -0
  523. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_12.ts +34 -0
  524. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_13.ts +34 -0
  525. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_14.ts +34 -0
  526. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_15.ts +32 -0
  527. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_16.ts +37 -0
  528. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_17.ts +34 -0
  529. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_18.ts +130 -0
  530. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_19.ts +34 -0
  531. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_2.ts +39 -0
  532. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_20.ts +89 -0
  533. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_21.ts +34 -0
  534. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_22.ts +30 -0
  535. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_23.ts +34 -0
  536. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_24.ts +34 -0
  537. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_25.ts +34 -0
  538. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_26.ts +34 -0
  539. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_27.ts +97 -0
  540. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_28.ts +34 -0
  541. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_29.ts +34 -0
  542. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_3.ts +37 -0
  543. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_30.ts +34 -0
  544. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_31.ts +97 -0
  545. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_32.ts +34 -0
  546. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_33.ts +34 -0
  547. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_4.ts +37 -0
  548. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_5.ts +53 -0
  549. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_6.ts +42 -0
  550. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_7.ts +63 -0
  551. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_8.ts +94 -0
  552. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_9.ts +34 -0
  553. package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsEntitySchema.ts +2961 -0
  554. package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsSchema.ts +2914 -0
  555. package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsEntitySchema.ts +177 -0
  556. package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsSchema.ts +188 -0
  557. package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsEntitySchema.ts +556 -0
  558. package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsSchema.ts +566 -0
  559. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsEntitySchema.ts +259 -0
  560. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsSchema.ts +262 -0
  561. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsEntitySchema.ts +2128 -0
  562. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsSchema.ts +2048 -0
  563. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsEntitySchema.ts +698 -0
  564. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsSchema.ts +1347 -0
  565. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsEntitySchema.ts +355 -0
  566. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsSchema.ts +354 -0
  567. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsEntitySchema.ts +120 -0
  568. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsSchema.ts +131 -0
  569. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsEntitySchema.ts +166 -0
  570. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsSchema.ts +176 -0
  571. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsEntitySchema.ts +3328 -0
  572. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsSchema.ts +3339 -0
  573. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsEntitySchema.ts +992 -0
  574. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsSchema.ts +916 -0
  575. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsEntitySchema.ts +299 -0
  576. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsSchema.ts +310 -0
  577. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsEntitySchema.ts +89 -0
  578. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsSchema.ts +79 -0
  579. package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsEntitySchema.ts +55 -0
  580. package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsSchema.ts +65 -0
  581. package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsEntitySchema.ts +711 -0
  582. package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsSchema.ts +702 -0
  583. package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsEntitySchema.ts +2394 -0
  584. package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsSchema.ts +2404 -0
  585. package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsEntitySchema.ts +148 -0
  586. package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsSchema.ts +138 -0
  587. package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsEntitySchema.ts +129 -0
  588. package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsSchema.ts +97 -0
  589. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsEntitySchema.ts +44 -0
  590. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsSchema.ts +54 -0
  591. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsEntitySchema.ts +44 -0
  592. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsSchema.ts +54 -0
  593. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsEntitySchema.ts +284 -0
  594. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsSchema.ts +293 -0
  595. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsEntitySchema.ts +81 -0
  596. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsSchema.ts +91 -0
  597. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsEntitySchema.ts +348 -0
  598. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsSchema.ts +358 -0
  599. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsEntitySchema.ts +145 -0
  600. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsSchema.ts +155 -0
  601. package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsEntitySchema.ts +52 -0
  602. package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsSchema.ts +63 -0
  603. package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsEntitySchema.ts +3438 -0
  604. package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsSchema.ts +3577 -0
  605. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointDeclarationPropsEntitySchema.ts +22 -0
  606. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointDeclarationPropsSchema.ts +24 -0
  607. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointLocalPropsSchema.ts +10 -0
  608. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsEntitySchema.ts +891 -0
  609. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsSchema.ts +904 -0
  610. package/src/providers/stripe/client/generated/resourceOutputs.ts +873 -0
  611. package/src/providers/stripe/client/generated/setupIntents.ts +8854 -0
  612. package/src/providers/stripe/client/generated/shippingRates.ts +558 -0
  613. package/src/providers/stripe/client/generated/sources.ts +1482 -0
  614. package/src/providers/stripe/client/generated/subscriptionItems.ts +848 -0
  615. package/src/providers/stripe/client/generated/subscriptionSchedules.ts +3145 -0
  616. package/src/providers/stripe/client/generated/subscriptions.ts +5057 -0
  617. package/src/providers/stripe/client/generated/taxIds.ts +644 -0
  618. package/src/providers/stripe/client/generated/taxLocations.ts +348 -0
  619. package/src/providers/stripe/client/generated/taxRates.ts +620 -0
  620. package/src/providers/stripe/client/generated/taxRegistrations.ts +3646 -0
  621. package/src/providers/stripe/client/generated/terminalConfigurations.ts +2181 -0
  622. package/src/providers/stripe/client/generated/terminalLocations.ts +926 -0
  623. package/src/providers/stripe/client/generated/terminalReaders.ts +1488 -0
  624. package/src/providers/stripe/client/generated/testHelpersTestClocks.ts +400 -0
  625. package/src/providers/stripe/client/generated/threeDSecureAuthentications.ts +1141 -0
  626. package/src/providers/stripe/client/generated/tokens.ts +2498 -0
  627. package/src/providers/stripe/client/generated/topups.ts +556 -0
  628. package/src/providers/stripe/client/generated/transfers.ts +786 -0
  629. package/src/providers/stripe/client/generated/treasuryCreditReversals.ts +283 -0
  630. package/src/providers/stripe/client/generated/treasuryDebitReversals.ts +286 -0
  631. package/src/providers/stripe/client/generated/treasuryFinancialAccounts.ts +1320 -0
  632. package/src/providers/stripe/client/generated/treasuryInboundTransfers.ts +381 -0
  633. package/src/providers/stripe/client/generated/treasuryOutboundPayments.ts +689 -0
  634. package/src/providers/stripe/client/generated/treasuryOutboundTransfers.ts +453 -0
  635. package/src/providers/stripe/client/generated/v1Accounts.ts +13237 -0
  636. package/src/providers/stripe/client/generated/webhookEndpoints.ts +1817 -0
  637. package/src/providers/stripe/client/stripeClient.ts +212 -0
  638. package/src/providers/stripe/client/stripeClientConfig.ts +22 -0
  639. package/src/providers/stripe/client/stripeClientModel.ts +40 -0
  640. package/src/providers/stripe/index.ts +8 -15
  641. package/src/providers/stripe/management/resourceConfiguration.ts +53 -0
  642. package/src/providers/stripe/management/resourcePolicy.ts +500 -0
  643. package/src/providers/stripe/management/resources.ts +36 -0
  644. package/src/providers/stripe/runtime.ts +74 -0
  645. package/bin/nomoss +0 -13
  646. package/docs/code-documentation.md +0 -36
  647. package/docs/effect-native-development.md +0 -55
  648. package/docs/engine-design.md +0 -93
  649. package/docs/linting.md +0 -88
  650. package/docs/releasing.md +0 -13
  651. package/docs/resource-command-policy-stage.md +0 -71
  652. package/docs/resource-graph-mvp.md +0 -31
  653. package/docs/resource-graph-testing-approach.md +0 -11
  654. package/docs/resource-lifecycle-tracker.md +0 -93
  655. package/docs/testing.md +0 -86
  656. package/examples/upload-events/README.md +0 -41
  657. package/src/cliRuntimeLayer.ts +0 -49
  658. package/src/core/model.ts +0 -229
  659. package/src/core/physicalNameStore.ts +0 -226
  660. package/src/core/planner.ts +0 -645
  661. package/src/core/resourceCommandPolicy.ts +0 -79
  662. package/src/core/resourceGraphBuilder.ts +0 -167
  663. package/src/core/resourceGraphStore.ts +0 -288
  664. package/src/core/resourceOutputResolver.ts +0 -185
  665. package/src/core/resourcePolicy.ts +0 -77
  666. package/src/core/resourceStackDefinition.ts +0 -17
  667. package/src/core/resourceStackLifecycle.ts +0 -456
  668. package/src/core/resourceStackOperations.ts +0 -129
  669. package/src/core/runtimeLayer.ts +0 -73
  670. package/src/core/stackWorkflowRenderer.ts +0 -239
  671. package/src/core/stateStore.ts +0 -652
  672. package/src/core/tracing.ts +0 -26
  673. package/src/providers/aws/awsApply.ts +0 -132
  674. package/src/providers/aws/awsBucket.ts +0 -329
  675. package/src/providers/aws/awsBucketNotification.ts +0 -351
  676. package/src/providers/aws/awsBucketNotificationResourcePolicy.ts +0 -251
  677. package/src/providers/aws/awsBucketResourcePolicy.ts +0 -198
  678. package/src/providers/aws/awsProviderLayer.ts +0 -274
  679. package/src/providers/aws/awsQueue.ts +0 -346
  680. package/src/providers/aws/awsQueuePolicy.ts +0 -419
  681. package/src/providers/aws/awsQueuePolicyResourcePolicy.ts +0 -215
  682. package/src/providers/aws/awsQueueResourcePolicy.ts +0 -270
  683. package/src/providers/aws/awsReconciliation.ts +0 -92
  684. package/src/providers/aws/awsRefresh.ts +0 -50
  685. package/src/providers/aws/awsResourceLifecycle.ts +0 -118
  686. package/src/providers/aws/awsResourcePolicy.ts +0 -83
  687. package/src/providers/aws/awsResources.ts +0 -274
  688. package/src/providers/aws/awsRuntimeLayer.ts +0 -21
  689. package/src/providers/aws/awsSqsTransport.ts +0 -33
  690. package/src/providers/aws/awsStackLifecycle.ts +0 -272
  691. package/src/providers/aws/awsTagging.ts +0 -186
  692. package/src/providers/aws/constants.ts +0 -3
  693. package/src/providers/aws/index.ts +0 -22
  694. package/src/providers/aws/sampleStack.ts +0 -65
  695. package/src/providers/aws/stackWorkflow.ts +0 -443
  696. package/src/providers/stripe/stripeAccount.ts +0 -139
  697. package/src/providers/stripe/stripeBillingConfigurationExport.ts +0 -180
  698. package/src/providers/stripe/stripeBillingConfigurationExportResourcePolicy.ts +0 -178
  699. package/src/providers/stripe/stripeBillingPortalConfiguration.ts +0 -153
  700. package/src/providers/stripe/stripeBillingPortalConfigurationResourcePolicy.ts +0 -177
  701. package/src/providers/stripe/stripeCustomer.ts +0 -148
  702. package/src/providers/stripe/stripeCustomerResourcePolicy.ts +0 -160
  703. package/src/providers/stripe/stripePrice.ts +0 -218
  704. package/src/providers/stripe/stripePriceResourcePolicy.ts +0 -151
  705. package/src/providers/stripe/stripeProduct.ts +0 -171
  706. package/src/providers/stripe/stripeProductResourcePolicy.ts +0 -161
  707. package/src/providers/stripe/stripeResources.ts +0 -454
  708. package/src/providers/stripe/stripeRuntimeLayer.ts +0 -131
  709. package/src/providers/stripe/stripeWebhookEndpoint.ts +0 -293
  710. package/src/providers/stripe/stripeWebhookEndpointResourcePolicy.ts +0 -198
@@ -0,0 +1,3738 @@
1
+ import { Effect, Predicate, Record, Schema } from "effect";
2
+ import type { ResourceKey } from "../../../../core/resource/model.js";
3
+ import { ResourceGraphBuilder } from "../../../../core/resource/resourceGraphBuilder.js";
4
+ import {
5
+ createStripeAccountDeclaration,
6
+ type StripeAccountResource,
7
+ } from "./resourceBindings/Account.js";
8
+ import {
9
+ createStripeAccountTokenDeclaration,
10
+ type StripeAccountTokenResource,
11
+ } from "./resourceBindings/AccountToken.js";
12
+ import {
13
+ createStripeApplePayDomainDeclaration,
14
+ type StripeApplePayDomainResource,
15
+ } from "./resourceBindings/ApplePayDomain.js";
16
+ import {
17
+ createStripeAppsInstallDeclaration,
18
+ type StripeAppsInstallResource,
19
+ } from "./resourceBindings/AppsInstall.js";
20
+ import {
21
+ createStripeBankAccountDeclaration,
22
+ type StripeBankAccountResource,
23
+ } from "./resourceBindings/BankAccount.js";
24
+ import {
25
+ createStripeBillingAlertDeclaration,
26
+ type StripeBillingAlertResource,
27
+ } from "./resourceBindings/BillingAlert.js";
28
+ import {
29
+ createStripeBillingConfigurationExportDeclaration,
30
+ type StripeBillingConfigurationExportResource,
31
+ } from "./resourceBindings/BillingConfigurationExport.js";
32
+ import {
33
+ createStripeBillingCreditGrantDeclaration,
34
+ type StripeBillingCreditGrantResource,
35
+ } from "./resourceBindings/BillingCreditGrant.js";
36
+ import {
37
+ createStripeBillingFeedbackOptionDeclaration,
38
+ type StripeBillingFeedbackOptionResource,
39
+ } from "./resourceBindings/BillingFeedbackOption.js";
40
+ import {
41
+ createStripeBillingMeterDeclaration,
42
+ type StripeBillingMeterResource,
43
+ } from "./resourceBindings/BillingMeter.js";
44
+ import {
45
+ createStripeBillingPortalConfigurationDeclaration,
46
+ type StripeBillingPortalConfigurationResource,
47
+ } from "./resourceBindings/BillingPortalConfiguration.js";
48
+ import {
49
+ createStripeCardDeclaration,
50
+ type StripeCardResource,
51
+ } from "./resourceBindings/Card.js";
52
+ import {
53
+ createStripeChargeDeclaration,
54
+ type StripeChargeResource,
55
+ } from "./resourceBindings/Charge.js";
56
+ import {
57
+ createStripeCheckoutSessionDeclaration,
58
+ type StripeCheckoutSessionResource,
59
+ } from "./resourceBindings/CheckoutSession.js";
60
+ import {
61
+ createStripeClimateOrderDeclaration,
62
+ type StripeClimateOrderResource,
63
+ } from "./resourceBindings/ClimateOrder.js";
64
+ import {
65
+ createStripeCouponDeclaration,
66
+ type StripeCouponResource,
67
+ } from "./resourceBindings/Coupon.js";
68
+ import {
69
+ createStripeCreditNoteDeclaration,
70
+ type StripeCreditNoteResource,
71
+ } from "./resourceBindings/CreditNote.js";
72
+ import {
73
+ createStripeCustomerDeclaration,
74
+ type StripeCustomerResource,
75
+ } from "./resourceBindings/Customer.js";
76
+ import {
77
+ createStripeEntitlementsFeatureDeclaration,
78
+ type StripeEntitlementsFeatureResource,
79
+ } from "./resourceBindings/EntitlementsFeature.js";
80
+ import {
81
+ createStripeEventDestinationDeclaration,
82
+ type StripeEventDestinationResource,
83
+ } from "./resourceBindings/EventDestination.js";
84
+ import {
85
+ createStripeFileLinkDeclaration,
86
+ type StripeFileLinkResource,
87
+ } from "./resourceBindings/FileLink.js";
88
+ import {
89
+ createStripeFinancialAddressDeclaration,
90
+ type StripeFinancialAddressResource,
91
+ } from "./resourceBindings/FinancialAddress.js";
92
+ import {
93
+ createStripeFinancialConnectionsSessionDeclaration,
94
+ type StripeFinancialConnectionsSessionResource,
95
+ } from "./resourceBindings/FinancialConnectionsSession.js";
96
+ import {
97
+ createStripeForwardingRequestDeclaration,
98
+ type StripeForwardingRequestResource,
99
+ } from "./resourceBindings/ForwardingRequest.js";
100
+ import {
101
+ createStripeGBBankAccountDeclaration,
102
+ type StripeGBBankAccountResource,
103
+ } from "./resourceBindings/GBBankAccount.js";
104
+ import {
105
+ createStripeIdentityVerificationSessionDeclaration,
106
+ type StripeIdentityVerificationSessionResource,
107
+ } from "./resourceBindings/IdentityVerificationSession.js";
108
+ import {
109
+ createStripeInboundTransferDeclaration,
110
+ type StripeInboundTransferResource,
111
+ } from "./resourceBindings/InboundTransfer.js";
112
+ import {
113
+ createStripeInvoiceDeclaration,
114
+ type StripeInvoiceResource,
115
+ } from "./resourceBindings/Invoice.js";
116
+ import {
117
+ createStripeInvoiceitemDeclaration,
118
+ type StripeInvoiceitemResource,
119
+ } from "./resourceBindings/Invoiceitem.js";
120
+ import {
121
+ createStripeIssuingCardDeclaration,
122
+ type StripeIssuingCardResource,
123
+ } from "./resourceBindings/IssuingCard.js";
124
+ import {
125
+ createStripeIssuingCardholderDeclaration,
126
+ type StripeIssuingCardholderResource,
127
+ } from "./resourceBindings/IssuingCardholder.js";
128
+ import {
129
+ createStripeIssuingDisputeDeclaration,
130
+ type StripeIssuingDisputeResource,
131
+ } from "./resourceBindings/IssuingDispute.js";
132
+ import {
133
+ createStripeIssuingPersonalizationDesignDeclaration,
134
+ type StripeIssuingPersonalizationDesignResource,
135
+ } from "./resourceBindings/IssuingPersonalizationDesign.js";
136
+ import {
137
+ createStripeOutboundPaymentDeclaration,
138
+ type StripeOutboundPaymentResource,
139
+ } from "./resourceBindings/OutboundPayment.js";
140
+ import {
141
+ createStripeOutboundSetupIntentDeclaration,
142
+ type StripeOutboundSetupIntentResource,
143
+ } from "./resourceBindings/OutboundSetupIntent.js";
144
+ import {
145
+ createStripePaymentIntentDeclaration,
146
+ type StripePaymentIntentResource,
147
+ } from "./resourceBindings/PaymentIntent.js";
148
+ import {
149
+ createStripePaymentLinkDeclaration,
150
+ type StripePaymentLinkResource,
151
+ } from "./resourceBindings/PaymentLink.js";
152
+ import {
153
+ createStripePaymentMethodDeclaration,
154
+ type StripePaymentMethodResource,
155
+ } from "./resourceBindings/PaymentMethod.js";
156
+ import {
157
+ createStripePaymentMethodConfigurationDeclaration,
158
+ type StripePaymentMethodConfigurationResource,
159
+ } from "./resourceBindings/PaymentMethodConfiguration.js";
160
+ import {
161
+ createStripePaymentMethodDomainDeclaration,
162
+ type StripePaymentMethodDomainResource,
163
+ } from "./resourceBindings/PaymentMethodDomain.js";
164
+ import {
165
+ createStripePayoutDeclaration,
166
+ type StripePayoutResource,
167
+ } from "./resourceBindings/Payout.js";
168
+ import {
169
+ createStripePayoutIntentDeclaration,
170
+ type StripePayoutIntentResource,
171
+ } from "./resourceBindings/PayoutIntent.js";
172
+ import {
173
+ createStripePlanDeclaration,
174
+ type StripePlanResource,
175
+ } from "./resourceBindings/Plan.js";
176
+ import {
177
+ createStripePriceDeclaration,
178
+ type StripePriceResource,
179
+ } from "./resourceBindings/Price.js";
180
+ import {
181
+ createStripeProductDeclaration,
182
+ type StripeProductResource,
183
+ } from "./resourceBindings/Product.js";
184
+ import {
185
+ createStripeProductCatalogImportDeclaration,
186
+ type StripeProductCatalogImportResource,
187
+ } from "./resourceBindings/ProductCatalogImport.js";
188
+ import {
189
+ createStripeProductCatalogTrialOfferDeclaration,
190
+ type StripeProductCatalogTrialOfferResource,
191
+ } from "./resourceBindings/ProductCatalogTrialOffer.js";
192
+ import {
193
+ createStripePromotionCodeDeclaration,
194
+ type StripePromotionCodeResource,
195
+ } from "./resourceBindings/PromotionCode.js";
196
+ import {
197
+ createStripeQuoteDeclaration,
198
+ type StripeQuoteResource,
199
+ } from "./resourceBindings/Quote.js";
200
+ import {
201
+ createStripeRadarValueListDeclaration,
202
+ type StripeRadarValueListResource,
203
+ } from "./resourceBindings/RadarValueList.js";
204
+ import {
205
+ createStripeRadarValueListItemDeclaration,
206
+ type StripeRadarValueListItemResource,
207
+ } from "./resourceBindings/RadarValueListItem.js";
208
+ import {
209
+ createStripeRecipientVerificationDeclaration,
210
+ type StripeRecipientVerificationResource,
211
+ } from "./resourceBindings/RecipientVerification.js";
212
+ import {
213
+ createStripeRefundDeclaration,
214
+ type StripeRefundResource,
215
+ } from "./resourceBindings/Refund.js";
216
+ import {
217
+ createStripeReportingReportRunDeclaration,
218
+ type StripeReportingReportRunResource,
219
+ } from "./resourceBindings/ReportingReportRun.js";
220
+ import {
221
+ createStripeSetupIntentDeclaration,
222
+ type StripeSetupIntentResource,
223
+ } from "./resourceBindings/SetupIntent.js";
224
+ import {
225
+ createStripeShippingRateDeclaration,
226
+ type StripeShippingRateResource,
227
+ } from "./resourceBindings/ShippingRate.js";
228
+ import {
229
+ createStripeSourceDeclaration,
230
+ type StripeSourceResource,
231
+ } from "./resourceBindings/Source.js";
232
+ import {
233
+ createStripeSubscriptionDeclaration,
234
+ type StripeSubscriptionResource,
235
+ } from "./resourceBindings/Subscription.js";
236
+ import {
237
+ createStripeSubscriptionItemDeclaration,
238
+ type StripeSubscriptionItemResource,
239
+ } from "./resourceBindings/SubscriptionItem.js";
240
+ import {
241
+ createStripeSubscriptionScheduleDeclaration,
242
+ type StripeSubscriptionScheduleResource,
243
+ } from "./resourceBindings/SubscriptionSchedule.js";
244
+ import {
245
+ createStripeTaxIdDeclaration,
246
+ type StripeTaxIdResource,
247
+ } from "./resourceBindings/TaxId.js";
248
+ import {
249
+ createStripeTaxLocationDeclaration,
250
+ type StripeTaxLocationResource,
251
+ } from "./resourceBindings/TaxLocation.js";
252
+ import {
253
+ createStripeTaxRateDeclaration,
254
+ type StripeTaxRateResource,
255
+ } from "./resourceBindings/TaxRate.js";
256
+ import {
257
+ createStripeTaxRegistrationDeclaration,
258
+ type StripeTaxRegistrationResource,
259
+ } from "./resourceBindings/TaxRegistration.js";
260
+ import {
261
+ createStripeTerminalConfigurationDeclaration,
262
+ type StripeTerminalConfigurationResource,
263
+ } from "./resourceBindings/TerminalConfiguration.js";
264
+ import {
265
+ createStripeTerminalLocationDeclaration,
266
+ type StripeTerminalLocationResource,
267
+ } from "./resourceBindings/TerminalLocation.js";
268
+ import {
269
+ createStripeTerminalReaderDeclaration,
270
+ type StripeTerminalReaderResource,
271
+ } from "./resourceBindings/TerminalReader.js";
272
+ import {
273
+ createStripeTestHelpersTestClockDeclaration,
274
+ type StripeTestHelpersTestClockResource,
275
+ } from "./resourceBindings/TestHelpersTestClock.js";
276
+ import {
277
+ createStripeThreeDSecureAuthenticationDeclaration,
278
+ type StripeThreeDSecureAuthenticationResource,
279
+ } from "./resourceBindings/ThreeDSecureAuthentication.js";
280
+ import {
281
+ createStripeTokenDeclaration,
282
+ type StripeTokenResource,
283
+ } from "./resourceBindings/Token.js";
284
+ import {
285
+ createStripeTopupDeclaration,
286
+ type StripeTopupResource,
287
+ } from "./resourceBindings/Topup.js";
288
+ import {
289
+ createStripeTransferDeclaration,
290
+ type StripeTransferResource,
291
+ } from "./resourceBindings/Transfer.js";
292
+ import {
293
+ createStripeTreasuryCreditReversalDeclaration,
294
+ type StripeTreasuryCreditReversalResource,
295
+ } from "./resourceBindings/TreasuryCreditReversal.js";
296
+ import {
297
+ createStripeTreasuryDebitReversalDeclaration,
298
+ type StripeTreasuryDebitReversalResource,
299
+ } from "./resourceBindings/TreasuryDebitReversal.js";
300
+ import {
301
+ createStripeTreasuryFinancialAccountDeclaration,
302
+ type StripeTreasuryFinancialAccountResource,
303
+ } from "./resourceBindings/TreasuryFinancialAccount.js";
304
+ import {
305
+ createStripeTreasuryInboundTransferDeclaration,
306
+ type StripeTreasuryInboundTransferResource,
307
+ } from "./resourceBindings/TreasuryInboundTransfer.js";
308
+ import {
309
+ createStripeTreasuryOutboundPaymentDeclaration,
310
+ type StripeTreasuryOutboundPaymentResource,
311
+ } from "./resourceBindings/TreasuryOutboundPayment.js";
312
+ import {
313
+ createStripeTreasuryOutboundTransferDeclaration,
314
+ type StripeTreasuryOutboundTransferResource,
315
+ } from "./resourceBindings/TreasuryOutboundTransfer.js";
316
+ import {
317
+ createStripeUSBankAccountDeclaration,
318
+ type StripeUSBankAccountResource,
319
+ } from "./resourceBindings/USBankAccount.js";
320
+ import {
321
+ createStripeV1AccountDeclaration,
322
+ type StripeV1AccountResource,
323
+ } from "./resourceBindings/V1Account.js";
324
+ import {
325
+ createStripeWebhookEndpointDeclaration,
326
+ type StripeWebhookEndpointResource,
327
+ } from "./resourceBindings/WebhookEndpoint.js";
328
+ import {
329
+ type StripeAccountPropsEntity,
330
+ StripeAccountPropsEntitySchema,
331
+ } from "./resourceInputs/StripeAccountPropsEntitySchema.js";
332
+ import { StripeAccountPropsSchema } from "./resourceInputs/StripeAccountPropsSchema.js";
333
+ import {
334
+ type StripeAccountTokenPropsEntity,
335
+ StripeAccountTokenPropsEntitySchema,
336
+ } from "./resourceInputs/StripeAccountTokenPropsEntitySchema.js";
337
+ import { StripeAccountTokenPropsSchema } from "./resourceInputs/StripeAccountTokenPropsSchema.js";
338
+ import {
339
+ type StripeApplePayDomainPropsEntity,
340
+ StripeApplePayDomainPropsEntitySchema,
341
+ } from "./resourceInputs/StripeApplePayDomainPropsEntitySchema.js";
342
+ import { StripeApplePayDomainPropsSchema } from "./resourceInputs/StripeApplePayDomainPropsSchema.js";
343
+ import {
344
+ type StripeAppsInstallPropsEntity,
345
+ StripeAppsInstallPropsEntitySchema,
346
+ } from "./resourceInputs/StripeAppsInstallPropsEntitySchema.js";
347
+ import { StripeAppsInstallPropsSchema } from "./resourceInputs/StripeAppsInstallPropsSchema.js";
348
+ import {
349
+ type StripeBankAccountPropsEntity,
350
+ StripeBankAccountPropsEntitySchema,
351
+ } from "./resourceInputs/StripeBankAccountPropsEntitySchema.js";
352
+ import { StripeBankAccountPropsSchema } from "./resourceInputs/StripeBankAccountPropsSchema.js";
353
+ import {
354
+ type StripeBillingAlertPropsEntity,
355
+ StripeBillingAlertPropsEntitySchema,
356
+ } from "./resourceInputs/StripeBillingAlertPropsEntitySchema.js";
357
+ import { StripeBillingAlertPropsSchema } from "./resourceInputs/StripeBillingAlertPropsSchema.js";
358
+ import {
359
+ type StripeBillingConfigurationExportPropsEntity,
360
+ StripeBillingConfigurationExportPropsEntitySchema,
361
+ } from "./resourceInputs/StripeBillingConfigurationExportPropsEntitySchema.js";
362
+ import { StripeBillingConfigurationExportPropsSchema } from "./resourceInputs/StripeBillingConfigurationExportPropsSchema.js";
363
+ import {
364
+ type StripeBillingCreditGrantPropsEntity,
365
+ StripeBillingCreditGrantPropsEntitySchema,
366
+ } from "./resourceInputs/StripeBillingCreditGrantPropsEntitySchema.js";
367
+ import { StripeBillingCreditGrantPropsSchema } from "./resourceInputs/StripeBillingCreditGrantPropsSchema.js";
368
+ import {
369
+ type StripeBillingFeedbackOptionPropsEntity,
370
+ StripeBillingFeedbackOptionPropsEntitySchema,
371
+ } from "./resourceInputs/StripeBillingFeedbackOptionPropsEntitySchema.js";
372
+ import { StripeBillingFeedbackOptionPropsSchema } from "./resourceInputs/StripeBillingFeedbackOptionPropsSchema.js";
373
+ import {
374
+ type StripeBillingMeterPropsEntity,
375
+ StripeBillingMeterPropsEntitySchema,
376
+ } from "./resourceInputs/StripeBillingMeterPropsEntitySchema.js";
377
+ import { StripeBillingMeterPropsSchema } from "./resourceInputs/StripeBillingMeterPropsSchema.js";
378
+ import {
379
+ type StripeBillingPortalConfigurationPropsEntity,
380
+ StripeBillingPortalConfigurationPropsEntitySchema,
381
+ } from "./resourceInputs/StripeBillingPortalConfigurationPropsEntitySchema.js";
382
+ import { StripeBillingPortalConfigurationPropsSchema } from "./resourceInputs/StripeBillingPortalConfigurationPropsSchema.js";
383
+ import {
384
+ type StripeCardPropsEntity,
385
+ StripeCardPropsEntitySchema,
386
+ } from "./resourceInputs/StripeCardPropsEntitySchema.js";
387
+ import { StripeCardPropsSchema } from "./resourceInputs/StripeCardPropsSchema.js";
388
+ import {
389
+ type StripeChargePropsEntity,
390
+ StripeChargePropsEntitySchema,
391
+ } from "./resourceInputs/StripeChargePropsEntitySchema.js";
392
+ import { StripeChargePropsSchema } from "./resourceInputs/StripeChargePropsSchema.js";
393
+ import {
394
+ type StripeCheckoutSessionPropsEntity,
395
+ StripeCheckoutSessionPropsEntitySchema,
396
+ } from "./resourceInputs/StripeCheckoutSessionPropsEntitySchema.js";
397
+ import { StripeCheckoutSessionPropsSchema } from "./resourceInputs/StripeCheckoutSessionPropsSchema.js";
398
+ import {
399
+ type StripeClimateOrderPropsEntity,
400
+ StripeClimateOrderPropsEntitySchema,
401
+ } from "./resourceInputs/StripeClimateOrderPropsEntitySchema.js";
402
+ import { StripeClimateOrderPropsSchema } from "./resourceInputs/StripeClimateOrderPropsSchema.js";
403
+ import {
404
+ type StripeCouponPropsEntity,
405
+ StripeCouponPropsEntitySchema,
406
+ } from "./resourceInputs/StripeCouponPropsEntitySchema.js";
407
+ import { StripeCouponPropsSchema } from "./resourceInputs/StripeCouponPropsSchema.js";
408
+ import {
409
+ type StripeCreditNotePropsEntity,
410
+ StripeCreditNotePropsEntitySchema,
411
+ } from "./resourceInputs/StripeCreditNotePropsEntitySchema.js";
412
+ import { StripeCreditNotePropsSchema } from "./resourceInputs/StripeCreditNotePropsSchema.js";
413
+ import {
414
+ type StripeCustomerPropsEntity,
415
+ StripeCustomerPropsEntitySchema,
416
+ } from "./resourceInputs/StripeCustomerPropsEntitySchema.js";
417
+ import { StripeCustomerPropsSchema } from "./resourceInputs/StripeCustomerPropsSchema.js";
418
+ import {
419
+ type StripeEntitlementsFeaturePropsEntity,
420
+ StripeEntitlementsFeaturePropsEntitySchema,
421
+ } from "./resourceInputs/StripeEntitlementsFeaturePropsEntitySchema.js";
422
+ import { StripeEntitlementsFeaturePropsSchema } from "./resourceInputs/StripeEntitlementsFeaturePropsSchema.js";
423
+ import {
424
+ type StripeEventDestinationPropsEntity,
425
+ StripeEventDestinationPropsEntitySchema,
426
+ } from "./resourceInputs/StripeEventDestinationPropsEntitySchema.js";
427
+ import { StripeEventDestinationPropsSchema } from "./resourceInputs/StripeEventDestinationPropsSchema.js";
428
+ import {
429
+ type StripeFileLinkPropsEntity,
430
+ StripeFileLinkPropsEntitySchema,
431
+ } from "./resourceInputs/StripeFileLinkPropsEntitySchema.js";
432
+ import { StripeFileLinkPropsSchema } from "./resourceInputs/StripeFileLinkPropsSchema.js";
433
+ import {
434
+ type StripeFinancialAddressPropsEntity,
435
+ StripeFinancialAddressPropsEntitySchema,
436
+ } from "./resourceInputs/StripeFinancialAddressPropsEntitySchema.js";
437
+ import { StripeFinancialAddressPropsSchema } from "./resourceInputs/StripeFinancialAddressPropsSchema.js";
438
+ import {
439
+ type StripeFinancialConnectionsSessionPropsEntity,
440
+ StripeFinancialConnectionsSessionPropsEntitySchema,
441
+ } from "./resourceInputs/StripeFinancialConnectionsSessionPropsEntitySchema.js";
442
+ import { StripeFinancialConnectionsSessionPropsSchema } from "./resourceInputs/StripeFinancialConnectionsSessionPropsSchema.js";
443
+ import {
444
+ type StripeForwardingRequestPropsEntity,
445
+ StripeForwardingRequestPropsEntitySchema,
446
+ } from "./resourceInputs/StripeForwardingRequestPropsEntitySchema.js";
447
+ import { StripeForwardingRequestPropsSchema } from "./resourceInputs/StripeForwardingRequestPropsSchema.js";
448
+ import {
449
+ type StripeGBBankAccountPropsEntity,
450
+ StripeGBBankAccountPropsEntitySchema,
451
+ } from "./resourceInputs/StripeGBBankAccountPropsEntitySchema.js";
452
+ import { StripeGBBankAccountPropsSchema } from "./resourceInputs/StripeGBBankAccountPropsSchema.js";
453
+ import {
454
+ type StripeIdentityVerificationSessionPropsEntity,
455
+ StripeIdentityVerificationSessionPropsEntitySchema,
456
+ } from "./resourceInputs/StripeIdentityVerificationSessionPropsEntitySchema.js";
457
+ import { StripeIdentityVerificationSessionPropsSchema } from "./resourceInputs/StripeIdentityVerificationSessionPropsSchema.js";
458
+ import {
459
+ type StripeInboundTransferPropsEntity,
460
+ StripeInboundTransferPropsEntitySchema,
461
+ } from "./resourceInputs/StripeInboundTransferPropsEntitySchema.js";
462
+ import { StripeInboundTransferPropsSchema } from "./resourceInputs/StripeInboundTransferPropsSchema.js";
463
+ import {
464
+ type StripeInvoiceitemPropsEntity,
465
+ StripeInvoiceitemPropsEntitySchema,
466
+ } from "./resourceInputs/StripeInvoiceitemPropsEntitySchema.js";
467
+ import { StripeInvoiceitemPropsSchema } from "./resourceInputs/StripeInvoiceitemPropsSchema.js";
468
+ import {
469
+ type StripeInvoicePropsEntity,
470
+ StripeInvoicePropsEntitySchema,
471
+ } from "./resourceInputs/StripeInvoicePropsEntitySchema.js";
472
+ import { StripeInvoicePropsSchema } from "./resourceInputs/StripeInvoicePropsSchema.js";
473
+ import {
474
+ type StripeIssuingCardholderPropsEntity,
475
+ StripeIssuingCardholderPropsEntitySchema,
476
+ } from "./resourceInputs/StripeIssuingCardholderPropsEntitySchema.js";
477
+ import { StripeIssuingCardholderPropsSchema } from "./resourceInputs/StripeIssuingCardholderPropsSchema.js";
478
+ import {
479
+ type StripeIssuingCardPropsEntity,
480
+ StripeIssuingCardPropsEntitySchema,
481
+ } from "./resourceInputs/StripeIssuingCardPropsEntitySchema.js";
482
+ import { StripeIssuingCardPropsSchema } from "./resourceInputs/StripeIssuingCardPropsSchema.js";
483
+ import {
484
+ type StripeIssuingDisputePropsEntity,
485
+ StripeIssuingDisputePropsEntitySchema,
486
+ } from "./resourceInputs/StripeIssuingDisputePropsEntitySchema.js";
487
+ import { StripeIssuingDisputePropsSchema } from "./resourceInputs/StripeIssuingDisputePropsSchema.js";
488
+ import {
489
+ type StripeIssuingPersonalizationDesignPropsEntity,
490
+ StripeIssuingPersonalizationDesignPropsEntitySchema,
491
+ } from "./resourceInputs/StripeIssuingPersonalizationDesignPropsEntitySchema.js";
492
+ import { StripeIssuingPersonalizationDesignPropsSchema } from "./resourceInputs/StripeIssuingPersonalizationDesignPropsSchema.js";
493
+ import {
494
+ type StripeOutboundPaymentPropsEntity,
495
+ StripeOutboundPaymentPropsEntitySchema,
496
+ } from "./resourceInputs/StripeOutboundPaymentPropsEntitySchema.js";
497
+ import { StripeOutboundPaymentPropsSchema } from "./resourceInputs/StripeOutboundPaymentPropsSchema.js";
498
+ import {
499
+ type StripeOutboundSetupIntentPropsEntity,
500
+ StripeOutboundSetupIntentPropsEntitySchema,
501
+ } from "./resourceInputs/StripeOutboundSetupIntentPropsEntitySchema.js";
502
+ import { StripeOutboundSetupIntentPropsSchema } from "./resourceInputs/StripeOutboundSetupIntentPropsSchema.js";
503
+ import {
504
+ type StripePaymentIntentPropsEntity,
505
+ StripePaymentIntentPropsEntitySchema,
506
+ } from "./resourceInputs/StripePaymentIntentPropsEntitySchema.js";
507
+ import { StripePaymentIntentPropsSchema } from "./resourceInputs/StripePaymentIntentPropsSchema.js";
508
+ import {
509
+ type StripePaymentLinkPropsEntity,
510
+ StripePaymentLinkPropsEntitySchema,
511
+ } from "./resourceInputs/StripePaymentLinkPropsEntitySchema.js";
512
+ import { StripePaymentLinkPropsSchema } from "./resourceInputs/StripePaymentLinkPropsSchema.js";
513
+ import {
514
+ type StripePaymentMethodConfigurationPropsEntity,
515
+ StripePaymentMethodConfigurationPropsEntitySchema,
516
+ } from "./resourceInputs/StripePaymentMethodConfigurationPropsEntitySchema.js";
517
+ import { StripePaymentMethodConfigurationPropsSchema } from "./resourceInputs/StripePaymentMethodConfigurationPropsSchema.js";
518
+ import {
519
+ type StripePaymentMethodDomainPropsEntity,
520
+ StripePaymentMethodDomainPropsEntitySchema,
521
+ } from "./resourceInputs/StripePaymentMethodDomainPropsEntitySchema.js";
522
+ import { StripePaymentMethodDomainPropsSchema } from "./resourceInputs/StripePaymentMethodDomainPropsSchema.js";
523
+ import {
524
+ type StripePaymentMethodPropsEntity,
525
+ StripePaymentMethodPropsEntitySchema,
526
+ } from "./resourceInputs/StripePaymentMethodPropsEntitySchema.js";
527
+ import { StripePaymentMethodPropsSchema } from "./resourceInputs/StripePaymentMethodPropsSchema.js";
528
+ import {
529
+ type StripePayoutIntentPropsEntity,
530
+ StripePayoutIntentPropsEntitySchema,
531
+ } from "./resourceInputs/StripePayoutIntentPropsEntitySchema.js";
532
+ import { StripePayoutIntentPropsSchema } from "./resourceInputs/StripePayoutIntentPropsSchema.js";
533
+ import {
534
+ type StripePayoutPropsEntity,
535
+ StripePayoutPropsEntitySchema,
536
+ } from "./resourceInputs/StripePayoutPropsEntitySchema.js";
537
+ import { StripePayoutPropsSchema } from "./resourceInputs/StripePayoutPropsSchema.js";
538
+ import {
539
+ type StripePlanPropsEntity,
540
+ StripePlanPropsEntitySchema,
541
+ } from "./resourceInputs/StripePlanPropsEntitySchema.js";
542
+ import { StripePlanPropsSchema } from "./resourceInputs/StripePlanPropsSchema.js";
543
+ import {
544
+ type StripePricePropsEntity,
545
+ StripePricePropsEntitySchema,
546
+ } from "./resourceInputs/StripePricePropsEntitySchema.js";
547
+ import { StripePricePropsSchema } from "./resourceInputs/StripePricePropsSchema.js";
548
+ import {
549
+ type StripeProductCatalogImportPropsEntity,
550
+ StripeProductCatalogImportPropsEntitySchema,
551
+ } from "./resourceInputs/StripeProductCatalogImportPropsEntitySchema.js";
552
+ import { StripeProductCatalogImportPropsSchema } from "./resourceInputs/StripeProductCatalogImportPropsSchema.js";
553
+ import {
554
+ type StripeProductCatalogTrialOfferPropsEntity,
555
+ StripeProductCatalogTrialOfferPropsEntitySchema,
556
+ } from "./resourceInputs/StripeProductCatalogTrialOfferPropsEntitySchema.js";
557
+ import { StripeProductCatalogTrialOfferPropsSchema } from "./resourceInputs/StripeProductCatalogTrialOfferPropsSchema.js";
558
+ import {
559
+ type StripeProductPropsEntity,
560
+ StripeProductPropsEntitySchema,
561
+ } from "./resourceInputs/StripeProductPropsEntitySchema.js";
562
+ import { StripeProductPropsSchema } from "./resourceInputs/StripeProductPropsSchema.js";
563
+ import {
564
+ type StripePromotionCodePropsEntity,
565
+ StripePromotionCodePropsEntitySchema,
566
+ } from "./resourceInputs/StripePromotionCodePropsEntitySchema.js";
567
+ import { StripePromotionCodePropsSchema } from "./resourceInputs/StripePromotionCodePropsSchema.js";
568
+ import {
569
+ type StripeQuotePropsEntity,
570
+ StripeQuotePropsEntitySchema,
571
+ } from "./resourceInputs/StripeQuotePropsEntitySchema.js";
572
+ import { StripeQuotePropsSchema } from "./resourceInputs/StripeQuotePropsSchema.js";
573
+ import {
574
+ type StripeRadarValueListItemPropsEntity,
575
+ StripeRadarValueListItemPropsEntitySchema,
576
+ } from "./resourceInputs/StripeRadarValueListItemPropsEntitySchema.js";
577
+ import { StripeRadarValueListItemPropsSchema } from "./resourceInputs/StripeRadarValueListItemPropsSchema.js";
578
+ import {
579
+ type StripeRadarValueListPropsEntity,
580
+ StripeRadarValueListPropsEntitySchema,
581
+ } from "./resourceInputs/StripeRadarValueListPropsEntitySchema.js";
582
+ import { StripeRadarValueListPropsSchema } from "./resourceInputs/StripeRadarValueListPropsSchema.js";
583
+ import {
584
+ type StripeRecipientVerificationPropsEntity,
585
+ StripeRecipientVerificationPropsEntitySchema,
586
+ } from "./resourceInputs/StripeRecipientVerificationPropsEntitySchema.js";
587
+ import { StripeRecipientVerificationPropsSchema } from "./resourceInputs/StripeRecipientVerificationPropsSchema.js";
588
+ import {
589
+ type StripeRefundPropsEntity,
590
+ StripeRefundPropsEntitySchema,
591
+ } from "./resourceInputs/StripeRefundPropsEntitySchema.js";
592
+ import { StripeRefundPropsSchema } from "./resourceInputs/StripeRefundPropsSchema.js";
593
+ import {
594
+ type StripeReportingReportRunPropsEntity,
595
+ StripeReportingReportRunPropsEntitySchema,
596
+ } from "./resourceInputs/StripeReportingReportRunPropsEntitySchema.js";
597
+ import { StripeReportingReportRunPropsSchema } from "./resourceInputs/StripeReportingReportRunPropsSchema.js";
598
+ import {
599
+ type StripeSetupIntentPropsEntity,
600
+ StripeSetupIntentPropsEntitySchema,
601
+ } from "./resourceInputs/StripeSetupIntentPropsEntitySchema.js";
602
+ import { StripeSetupIntentPropsSchema } from "./resourceInputs/StripeSetupIntentPropsSchema.js";
603
+ import {
604
+ type StripeShippingRatePropsEntity,
605
+ StripeShippingRatePropsEntitySchema,
606
+ } from "./resourceInputs/StripeShippingRatePropsEntitySchema.js";
607
+ import { StripeShippingRatePropsSchema } from "./resourceInputs/StripeShippingRatePropsSchema.js";
608
+ import {
609
+ type StripeSourcePropsEntity,
610
+ StripeSourcePropsEntitySchema,
611
+ } from "./resourceInputs/StripeSourcePropsEntitySchema.js";
612
+ import { StripeSourcePropsSchema } from "./resourceInputs/StripeSourcePropsSchema.js";
613
+ import {
614
+ type StripeSubscriptionItemPropsEntity,
615
+ StripeSubscriptionItemPropsEntitySchema,
616
+ } from "./resourceInputs/StripeSubscriptionItemPropsEntitySchema.js";
617
+ import { StripeSubscriptionItemPropsSchema } from "./resourceInputs/StripeSubscriptionItemPropsSchema.js";
618
+ import {
619
+ type StripeSubscriptionPropsEntity,
620
+ StripeSubscriptionPropsEntitySchema,
621
+ } from "./resourceInputs/StripeSubscriptionPropsEntitySchema.js";
622
+ import { StripeSubscriptionPropsSchema } from "./resourceInputs/StripeSubscriptionPropsSchema.js";
623
+ import {
624
+ type StripeSubscriptionSchedulePropsEntity,
625
+ StripeSubscriptionSchedulePropsEntitySchema,
626
+ } from "./resourceInputs/StripeSubscriptionSchedulePropsEntitySchema.js";
627
+ import { StripeSubscriptionSchedulePropsSchema } from "./resourceInputs/StripeSubscriptionSchedulePropsSchema.js";
628
+ import {
629
+ type StripeTaxIdPropsEntity,
630
+ StripeTaxIdPropsEntitySchema,
631
+ } from "./resourceInputs/StripeTaxIdPropsEntitySchema.js";
632
+ import { StripeTaxIdPropsSchema } from "./resourceInputs/StripeTaxIdPropsSchema.js";
633
+ import {
634
+ type StripeTaxLocationPropsEntity,
635
+ StripeTaxLocationPropsEntitySchema,
636
+ } from "./resourceInputs/StripeTaxLocationPropsEntitySchema.js";
637
+ import { StripeTaxLocationPropsSchema } from "./resourceInputs/StripeTaxLocationPropsSchema.js";
638
+ import {
639
+ type StripeTaxRatePropsEntity,
640
+ StripeTaxRatePropsEntitySchema,
641
+ } from "./resourceInputs/StripeTaxRatePropsEntitySchema.js";
642
+ import { StripeTaxRatePropsSchema } from "./resourceInputs/StripeTaxRatePropsSchema.js";
643
+ import {
644
+ type StripeTaxRegistrationPropsEntity,
645
+ StripeTaxRegistrationPropsEntitySchema,
646
+ } from "./resourceInputs/StripeTaxRegistrationPropsEntitySchema.js";
647
+ import { StripeTaxRegistrationPropsSchema } from "./resourceInputs/StripeTaxRegistrationPropsSchema.js";
648
+ import {
649
+ type StripeTerminalConfigurationPropsEntity,
650
+ StripeTerminalConfigurationPropsEntitySchema,
651
+ } from "./resourceInputs/StripeTerminalConfigurationPropsEntitySchema.js";
652
+ import { StripeTerminalConfigurationPropsSchema } from "./resourceInputs/StripeTerminalConfigurationPropsSchema.js";
653
+ import {
654
+ type StripeTerminalLocationPropsEntity,
655
+ StripeTerminalLocationPropsEntitySchema,
656
+ } from "./resourceInputs/StripeTerminalLocationPropsEntitySchema.js";
657
+ import { StripeTerminalLocationPropsSchema } from "./resourceInputs/StripeTerminalLocationPropsSchema.js";
658
+ import {
659
+ type StripeTerminalReaderPropsEntity,
660
+ StripeTerminalReaderPropsEntitySchema,
661
+ } from "./resourceInputs/StripeTerminalReaderPropsEntitySchema.js";
662
+ import { StripeTerminalReaderPropsSchema } from "./resourceInputs/StripeTerminalReaderPropsSchema.js";
663
+ import {
664
+ type StripeTestHelpersTestClockPropsEntity,
665
+ StripeTestHelpersTestClockPropsEntitySchema,
666
+ } from "./resourceInputs/StripeTestHelpersTestClockPropsEntitySchema.js";
667
+ import { StripeTestHelpersTestClockPropsSchema } from "./resourceInputs/StripeTestHelpersTestClockPropsSchema.js";
668
+ import {
669
+ type StripeThreeDSecureAuthenticationPropsEntity,
670
+ StripeThreeDSecureAuthenticationPropsEntitySchema,
671
+ } from "./resourceInputs/StripeThreeDSecureAuthenticationPropsEntitySchema.js";
672
+ import { StripeThreeDSecureAuthenticationPropsSchema } from "./resourceInputs/StripeThreeDSecureAuthenticationPropsSchema.js";
673
+ import {
674
+ type StripeTokenPropsEntity,
675
+ StripeTokenPropsEntitySchema,
676
+ } from "./resourceInputs/StripeTokenPropsEntitySchema.js";
677
+ import { StripeTokenPropsSchema } from "./resourceInputs/StripeTokenPropsSchema.js";
678
+ import {
679
+ type StripeTopupPropsEntity,
680
+ StripeTopupPropsEntitySchema,
681
+ } from "./resourceInputs/StripeTopupPropsEntitySchema.js";
682
+ import { StripeTopupPropsSchema } from "./resourceInputs/StripeTopupPropsSchema.js";
683
+ import {
684
+ type StripeTransferPropsEntity,
685
+ StripeTransferPropsEntitySchema,
686
+ } from "./resourceInputs/StripeTransferPropsEntitySchema.js";
687
+ import { StripeTransferPropsSchema } from "./resourceInputs/StripeTransferPropsSchema.js";
688
+ import {
689
+ type StripeTreasuryCreditReversalPropsEntity,
690
+ StripeTreasuryCreditReversalPropsEntitySchema,
691
+ } from "./resourceInputs/StripeTreasuryCreditReversalPropsEntitySchema.js";
692
+ import { StripeTreasuryCreditReversalPropsSchema } from "./resourceInputs/StripeTreasuryCreditReversalPropsSchema.js";
693
+ import {
694
+ type StripeTreasuryDebitReversalPropsEntity,
695
+ StripeTreasuryDebitReversalPropsEntitySchema,
696
+ } from "./resourceInputs/StripeTreasuryDebitReversalPropsEntitySchema.js";
697
+ import { StripeTreasuryDebitReversalPropsSchema } from "./resourceInputs/StripeTreasuryDebitReversalPropsSchema.js";
698
+ import {
699
+ type StripeTreasuryFinancialAccountPropsEntity,
700
+ StripeTreasuryFinancialAccountPropsEntitySchema,
701
+ } from "./resourceInputs/StripeTreasuryFinancialAccountPropsEntitySchema.js";
702
+ import { StripeTreasuryFinancialAccountPropsSchema } from "./resourceInputs/StripeTreasuryFinancialAccountPropsSchema.js";
703
+ import {
704
+ type StripeTreasuryInboundTransferPropsEntity,
705
+ StripeTreasuryInboundTransferPropsEntitySchema,
706
+ } from "./resourceInputs/StripeTreasuryInboundTransferPropsEntitySchema.js";
707
+ import { StripeTreasuryInboundTransferPropsSchema } from "./resourceInputs/StripeTreasuryInboundTransferPropsSchema.js";
708
+ import {
709
+ type StripeTreasuryOutboundPaymentPropsEntity,
710
+ StripeTreasuryOutboundPaymentPropsEntitySchema,
711
+ } from "./resourceInputs/StripeTreasuryOutboundPaymentPropsEntitySchema.js";
712
+ import { StripeTreasuryOutboundPaymentPropsSchema } from "./resourceInputs/StripeTreasuryOutboundPaymentPropsSchema.js";
713
+ import {
714
+ type StripeTreasuryOutboundTransferPropsEntity,
715
+ StripeTreasuryOutboundTransferPropsEntitySchema,
716
+ } from "./resourceInputs/StripeTreasuryOutboundTransferPropsEntitySchema.js";
717
+ import { StripeTreasuryOutboundTransferPropsSchema } from "./resourceInputs/StripeTreasuryOutboundTransferPropsSchema.js";
718
+ import {
719
+ type StripeUSBankAccountPropsEntity,
720
+ StripeUSBankAccountPropsEntitySchema,
721
+ } from "./resourceInputs/StripeUSBankAccountPropsEntitySchema.js";
722
+ import { StripeUSBankAccountPropsSchema } from "./resourceInputs/StripeUSBankAccountPropsSchema.js";
723
+ import {
724
+ type StripeV1AccountPropsEntity,
725
+ StripeV1AccountPropsEntitySchema,
726
+ } from "./resourceInputs/StripeV1AccountPropsEntitySchema.js";
727
+ import { StripeV1AccountPropsSchema } from "./resourceInputs/StripeV1AccountPropsSchema.js";
728
+ import {
729
+ type StripeWebhookEndpointDeclarationPropsEntity,
730
+ StripeWebhookEndpointDeclarationPropsEntitySchema,
731
+ } from "./resourceInputs/StripeWebhookEndpointDeclarationPropsEntitySchema.js";
732
+ import { StripeWebhookEndpointDeclarationPropsSchema } from "./resourceInputs/StripeWebhookEndpointDeclarationPropsSchema.js";
733
+ import {
734
+ StripeAccountOutputsSchema,
735
+ StripeAccountTokenOutputsSchema,
736
+ StripeApplePayDomainOutputsSchema,
737
+ StripeAppsInstallOutputsSchema,
738
+ StripeBankAccountOutputsSchema,
739
+ StripeBillingAlertOutputsSchema,
740
+ StripeBillingConfigurationExportOutputsSchema,
741
+ StripeBillingCreditGrantOutputsSchema,
742
+ StripeBillingFeedbackOptionOutputsSchema,
743
+ StripeBillingMeterOutputsSchema,
744
+ StripeBillingPortalConfigurationOutputsSchema,
745
+ StripeCardOutputsSchema,
746
+ StripeChargeOutputsSchema,
747
+ StripeCheckoutSessionOutputsSchema,
748
+ StripeClimateOrderOutputsSchema,
749
+ StripeCouponOutputsSchema,
750
+ StripeCreditNoteOutputsSchema,
751
+ StripeCustomerOutputsSchema,
752
+ StripeEntitlementsFeatureOutputsSchema,
753
+ StripeEventDestinationOutputsSchema,
754
+ StripeFileLinkOutputsSchema,
755
+ StripeFinancialAddressOutputsSchema,
756
+ StripeFinancialConnectionsSessionOutputsSchema,
757
+ StripeForwardingRequestOutputsSchema,
758
+ StripeGBBankAccountOutputsSchema,
759
+ StripeIdentityVerificationSessionOutputsSchema,
760
+ StripeInboundTransferOutputsSchema,
761
+ StripeInvoiceitemOutputsSchema,
762
+ StripeInvoiceOutputsSchema,
763
+ StripeIssuingCardholderOutputsSchema,
764
+ StripeIssuingCardOutputsSchema,
765
+ StripeIssuingDisputeOutputsSchema,
766
+ StripeIssuingPersonalizationDesignOutputsSchema,
767
+ StripeOutboundPaymentOutputsSchema,
768
+ StripeOutboundSetupIntentOutputsSchema,
769
+ StripePaymentIntentOutputsSchema,
770
+ StripePaymentLinkOutputsSchema,
771
+ StripePaymentMethodConfigurationOutputsSchema,
772
+ StripePaymentMethodDomainOutputsSchema,
773
+ StripePaymentMethodOutputsSchema,
774
+ StripePayoutIntentOutputsSchema,
775
+ StripePayoutOutputsSchema,
776
+ StripePlanOutputsSchema,
777
+ StripePriceOutputsSchema,
778
+ StripeProductCatalogImportOutputsSchema,
779
+ StripeProductCatalogTrialOfferOutputsSchema,
780
+ StripeProductOutputsSchema,
781
+ StripePromotionCodeOutputsSchema,
782
+ StripeQuoteOutputsSchema,
783
+ StripeRadarValueListItemOutputsSchema,
784
+ StripeRadarValueListOutputsSchema,
785
+ StripeRecipientVerificationOutputsSchema,
786
+ StripeRefundOutputsSchema,
787
+ StripeReportingReportRunOutputsSchema,
788
+ StripeSetupIntentOutputsSchema,
789
+ StripeShippingRateOutputsSchema,
790
+ StripeSourceOutputsSchema,
791
+ StripeSubscriptionItemOutputsSchema,
792
+ StripeSubscriptionOutputsSchema,
793
+ StripeSubscriptionScheduleOutputsSchema,
794
+ StripeTaxIdOutputsSchema,
795
+ StripeTaxLocationOutputsSchema,
796
+ StripeTaxRateOutputsSchema,
797
+ StripeTaxRegistrationOutputsSchema,
798
+ StripeTerminalConfigurationOutputsSchema,
799
+ StripeTerminalLocationOutputsSchema,
800
+ StripeTerminalReaderOutputsSchema,
801
+ StripeTestHelpersTestClockOutputsSchema,
802
+ StripeThreeDSecureAuthenticationOutputsSchema,
803
+ StripeTokenOutputsSchema,
804
+ StripeTopupOutputsSchema,
805
+ StripeTransferOutputsSchema,
806
+ StripeTreasuryCreditReversalOutputsSchema,
807
+ StripeTreasuryDebitReversalOutputsSchema,
808
+ StripeTreasuryFinancialAccountOutputsSchema,
809
+ StripeTreasuryInboundTransferOutputsSchema,
810
+ StripeTreasuryOutboundPaymentOutputsSchema,
811
+ StripeTreasuryOutboundTransferOutputsSchema,
812
+ StripeUSBankAccountOutputsSchema,
813
+ StripeV1AccountOutputsSchema,
814
+ StripeWebhookEndpointOutputsSchema,
815
+ } from "./resourceOutputs.js";
816
+
817
+ /**
818
+ * The makeStripeResourceDeclarations Effect supplies the declaration methods
819
+ * used by StripeResources. Run it in the stack's shared graph so declarations
820
+ * register schemas in the resource model that will validate applied outputs.
821
+ *
822
+ */
823
+ export const makeStripeResourceDeclarations = Effect.gen(function* () {
824
+ const graph = yield* ResourceGraphBuilder;
825
+
826
+ /**
827
+ * The V1Account declaration method registers a managed resource and its
828
+ * dependencies for the stack to apply. Relationship fields accept compatible
829
+ * resource entities before their applied values exist. The returned entity
830
+ * exposes output values after apply through the stack that owns the declaration.
831
+ */
832
+ const V1Account = Effect.fn("StripeResources.V1Account")(function* (input: {
833
+ readonly logicalId: string;
834
+ readonly props: StripeV1AccountPropsEntity;
835
+ }) {
836
+ const key: ResourceKey = { logicalId: input.logicalId };
837
+
838
+ const declaration = yield* graph.resource(key);
839
+
840
+ const props = yield* Schema.decodeEffect(
841
+ Schema.toType(StripeV1AccountPropsEntitySchema),
842
+ )(input.props);
843
+
844
+ yield* declaration.register({
845
+ propsSchema: StripeV1AccountPropsEntitySchema,
846
+ outputsSchema: StripeV1AccountOutputsSchema,
847
+ requestSchema: StripeV1AccountPropsSchema,
848
+ props,
849
+ });
850
+
851
+ const resource: StripeV1AccountResource = createStripeV1AccountDeclaration(
852
+ key,
853
+ props,
854
+ declaration.outputs,
855
+ );
856
+
857
+ return resource;
858
+ });
859
+
860
+ /**
861
+ * The BankAccount declaration method registers a managed resource and its
862
+ * dependencies for the stack to apply. Relationship fields accept compatible
863
+ * resource entities before their applied values exist. The returned entity
864
+ * exposes output values after apply through the stack that owns the declaration.
865
+ */
866
+ const BankAccount = Effect.fn("StripeResources.BankAccount")(
867
+ function* (input: {
868
+ readonly logicalId: string;
869
+ readonly props: StripeBankAccountPropsEntity;
870
+ }) {
871
+ const key: ResourceKey = { logicalId: input.logicalId };
872
+
873
+ const declaration = yield* graph.resource(key);
874
+
875
+ const props = yield* Schema.decodeEffect(
876
+ Schema.toType(StripeBankAccountPropsEntitySchema),
877
+ )(input.props);
878
+
879
+ yield* declaration.register({
880
+ propsSchema: StripeBankAccountPropsEntitySchema,
881
+ outputsSchema: StripeBankAccountOutputsSchema,
882
+ requestSchema: StripeBankAccountPropsSchema,
883
+ props,
884
+ });
885
+
886
+ const resource: StripeBankAccountResource =
887
+ createStripeBankAccountDeclaration(key, props, declaration.outputs);
888
+
889
+ return resource;
890
+ },
891
+ );
892
+
893
+ /**
894
+ * The Card declaration method registers a managed resource and its
895
+ * dependencies for the stack to apply. Relationship fields accept compatible
896
+ * resource entities before their applied values exist. The returned entity
897
+ * exposes output values after apply through the stack that owns the declaration.
898
+ */
899
+ const Card = Effect.fn("StripeResources.Card")(function* (input: {
900
+ readonly logicalId: string;
901
+ readonly props: StripeCardPropsEntity;
902
+ }) {
903
+ const key: ResourceKey = { logicalId: input.logicalId };
904
+
905
+ const declaration = yield* graph.resource(key);
906
+
907
+ const props = yield* Schema.decodeEffect(
908
+ Schema.toType(StripeCardPropsEntitySchema),
909
+ )(input.props);
910
+
911
+ yield* declaration.register({
912
+ propsSchema: StripeCardPropsEntitySchema,
913
+ outputsSchema: StripeCardOutputsSchema,
914
+ requestSchema: StripeCardPropsSchema,
915
+ props,
916
+ });
917
+
918
+ const resource: StripeCardResource = createStripeCardDeclaration(
919
+ key,
920
+ props,
921
+ declaration.outputs,
922
+ );
923
+
924
+ return resource;
925
+ });
926
+
927
+ /**
928
+ * The ApplePayDomain declaration method registers a managed resource and its
929
+ * dependencies for the stack to apply. Relationship fields accept compatible
930
+ * resource entities before their applied values exist. The returned entity
931
+ * exposes output values after apply through the stack that owns the declaration.
932
+ */
933
+ const ApplePayDomain = Effect.fn("StripeResources.ApplePayDomain")(
934
+ function* (input: {
935
+ readonly logicalId: string;
936
+ readonly props: StripeApplePayDomainPropsEntity;
937
+ }) {
938
+ const key: ResourceKey = { logicalId: input.logicalId };
939
+
940
+ const declaration = yield* graph.resource(key);
941
+
942
+ const props = yield* Schema.decodeEffect(
943
+ Schema.toType(StripeApplePayDomainPropsEntitySchema),
944
+ )(input.props);
945
+
946
+ yield* declaration.register({
947
+ propsSchema: StripeApplePayDomainPropsEntitySchema,
948
+ outputsSchema: StripeApplePayDomainOutputsSchema,
949
+ requestSchema: StripeApplePayDomainPropsSchema,
950
+ props,
951
+ });
952
+
953
+ const resource: StripeApplePayDomainResource =
954
+ createStripeApplePayDomainDeclaration(key, props, declaration.outputs);
955
+
956
+ return resource;
957
+ },
958
+ );
959
+
960
+ /**
961
+ * The AppsInstall declaration method registers a managed resource and its
962
+ * dependencies for the stack to apply. Relationship fields accept compatible
963
+ * resource entities before their applied values exist. The returned entity
964
+ * exposes output values after apply through the stack that owns the declaration.
965
+ */
966
+ const AppsInstall = Effect.fn("StripeResources.AppsInstall")(
967
+ function* (input: {
968
+ readonly logicalId: string;
969
+ readonly props: StripeAppsInstallPropsEntity;
970
+ }) {
971
+ const key: ResourceKey = { logicalId: input.logicalId };
972
+
973
+ const declaration = yield* graph.resource(key);
974
+
975
+ const props = yield* Schema.decodeEffect(
976
+ Schema.toType(StripeAppsInstallPropsEntitySchema),
977
+ )(input.props);
978
+
979
+ yield* declaration.register({
980
+ propsSchema: StripeAppsInstallPropsEntitySchema,
981
+ outputsSchema: StripeAppsInstallOutputsSchema,
982
+ requestSchema: StripeAppsInstallPropsSchema,
983
+ props,
984
+ });
985
+
986
+ const resource: StripeAppsInstallResource =
987
+ createStripeAppsInstallDeclaration(key, props, declaration.outputs);
988
+
989
+ return resource;
990
+ },
991
+ );
992
+
993
+ /**
994
+ * The BillingAlert declaration method registers a managed resource and its
995
+ * dependencies for the stack to apply. Relationship fields accept compatible
996
+ * resource entities before their applied values exist. The returned entity
997
+ * exposes output values after apply through the stack that owns the declaration.
998
+ */
999
+ const BillingAlert = Effect.fn("StripeResources.BillingAlert")(
1000
+ function* (input: {
1001
+ readonly logicalId: string;
1002
+ readonly props: StripeBillingAlertPropsEntity;
1003
+ }) {
1004
+ const key: ResourceKey = { logicalId: input.logicalId };
1005
+
1006
+ const declaration = yield* graph.resource(key);
1007
+
1008
+ const props = yield* Schema.decodeEffect(
1009
+ Schema.toType(StripeBillingAlertPropsEntitySchema),
1010
+ )(input.props);
1011
+
1012
+ yield* declaration.register({
1013
+ propsSchema: StripeBillingAlertPropsEntitySchema,
1014
+ outputsSchema: StripeBillingAlertOutputsSchema,
1015
+ requestSchema: StripeBillingAlertPropsSchema,
1016
+ props,
1017
+ });
1018
+
1019
+ const resource: StripeBillingAlertResource =
1020
+ createStripeBillingAlertDeclaration(key, props, declaration.outputs);
1021
+
1022
+ return resource;
1023
+ },
1024
+ );
1025
+
1026
+ /**
1027
+ * The BillingCreditGrant declaration method registers a managed resource and its
1028
+ * dependencies for the stack to apply. Relationship fields accept compatible
1029
+ * resource entities before their applied values exist. The returned entity
1030
+ * exposes output values after apply through the stack that owns the declaration.
1031
+ */
1032
+ const BillingCreditGrant = Effect.fn("StripeResources.BillingCreditGrant")(
1033
+ function* (input: {
1034
+ readonly logicalId: string;
1035
+ readonly props: StripeBillingCreditGrantPropsEntity;
1036
+ }) {
1037
+ const key: ResourceKey = { logicalId: input.logicalId };
1038
+
1039
+ const declaration = yield* graph.resource(key);
1040
+
1041
+ const props = yield* Schema.decodeEffect(
1042
+ Schema.toType(StripeBillingCreditGrantPropsEntitySchema),
1043
+ )(input.props);
1044
+
1045
+ yield* declaration.register({
1046
+ propsSchema: StripeBillingCreditGrantPropsEntitySchema,
1047
+ outputsSchema: StripeBillingCreditGrantOutputsSchema,
1048
+ requestSchema: StripeBillingCreditGrantPropsSchema,
1049
+ props,
1050
+ });
1051
+
1052
+ const resource: StripeBillingCreditGrantResource =
1053
+ createStripeBillingCreditGrantDeclaration(
1054
+ key,
1055
+ props,
1056
+ declaration.outputs,
1057
+ );
1058
+
1059
+ return resource;
1060
+ },
1061
+ );
1062
+
1063
+ /**
1064
+ * The BillingFeedbackOption declaration method registers a managed resource and its
1065
+ * dependencies for the stack to apply. Relationship fields accept compatible
1066
+ * resource entities before their applied values exist. The returned entity
1067
+ * exposes output values after apply through the stack that owns the declaration.
1068
+ */
1069
+ const BillingFeedbackOption = Effect.fn(
1070
+ "StripeResources.BillingFeedbackOption",
1071
+ )(function* (input: {
1072
+ readonly logicalId: string;
1073
+ readonly props: StripeBillingFeedbackOptionPropsEntity;
1074
+ }) {
1075
+ const key: ResourceKey = { logicalId: input.logicalId };
1076
+
1077
+ const declaration = yield* graph.resource(key);
1078
+
1079
+ const props = yield* Schema.decodeEffect(
1080
+ Schema.toType(StripeBillingFeedbackOptionPropsEntitySchema),
1081
+ )(input.props);
1082
+
1083
+ yield* declaration.register({
1084
+ propsSchema: StripeBillingFeedbackOptionPropsEntitySchema,
1085
+ outputsSchema: StripeBillingFeedbackOptionOutputsSchema,
1086
+ requestSchema: StripeBillingFeedbackOptionPropsSchema,
1087
+ props,
1088
+ });
1089
+
1090
+ const resource: StripeBillingFeedbackOptionResource =
1091
+ createStripeBillingFeedbackOptionDeclaration(
1092
+ key,
1093
+ props,
1094
+ declaration.outputs,
1095
+ );
1096
+
1097
+ return resource;
1098
+ });
1099
+
1100
+ /**
1101
+ * The BillingMeter declaration method registers a managed resource and its
1102
+ * dependencies for the stack to apply. Relationship fields accept compatible
1103
+ * resource entities before their applied values exist. The returned entity
1104
+ * exposes output values after apply through the stack that owns the declaration.
1105
+ */
1106
+ const BillingMeter = Effect.fn("StripeResources.BillingMeter")(
1107
+ function* (input: {
1108
+ readonly logicalId: string;
1109
+ readonly props: StripeBillingMeterPropsEntity;
1110
+ }) {
1111
+ const key: ResourceKey = { logicalId: input.logicalId };
1112
+
1113
+ const declaration = yield* graph.resource(key);
1114
+
1115
+ const props = yield* Schema.decodeEffect(
1116
+ Schema.toType(StripeBillingMeterPropsEntitySchema),
1117
+ )(input.props);
1118
+
1119
+ yield* declaration.register({
1120
+ propsSchema: StripeBillingMeterPropsEntitySchema,
1121
+ outputsSchema: StripeBillingMeterOutputsSchema,
1122
+ requestSchema: StripeBillingMeterPropsSchema,
1123
+ props,
1124
+ });
1125
+
1126
+ const resource: StripeBillingMeterResource =
1127
+ createStripeBillingMeterDeclaration(key, props, declaration.outputs);
1128
+
1129
+ return resource;
1130
+ },
1131
+ );
1132
+
1133
+ /**
1134
+ * The BillingPortalConfiguration declaration method registers a managed resource and its
1135
+ * dependencies for the stack to apply. Relationship fields accept compatible
1136
+ * resource entities before their applied values exist. The returned entity
1137
+ * exposes output values after apply through the stack that owns the declaration.
1138
+ */
1139
+ const BillingPortalConfiguration = Effect.fn(
1140
+ "StripeResources.BillingPortalConfiguration",
1141
+ )(function* (input: {
1142
+ readonly logicalId: string;
1143
+ readonly props: StripeBillingPortalConfigurationPropsEntity;
1144
+ }) {
1145
+ const key: ResourceKey = { logicalId: input.logicalId };
1146
+
1147
+ const declaration = yield* graph.resource(key);
1148
+
1149
+ const props = yield* Schema.decodeEffect(
1150
+ Schema.toType(StripeBillingPortalConfigurationPropsEntitySchema),
1151
+ )(input.props);
1152
+
1153
+ yield* declaration.register({
1154
+ propsSchema: StripeBillingPortalConfigurationPropsEntitySchema,
1155
+ outputsSchema: StripeBillingPortalConfigurationOutputsSchema,
1156
+ requestSchema: StripeBillingPortalConfigurationPropsSchema,
1157
+ props,
1158
+ });
1159
+
1160
+ const resource: StripeBillingPortalConfigurationResource =
1161
+ createStripeBillingPortalConfigurationDeclaration(
1162
+ key,
1163
+ props,
1164
+ declaration.outputs,
1165
+ );
1166
+
1167
+ return resource;
1168
+ });
1169
+
1170
+ /**
1171
+ * The Charge declaration method registers a managed resource and its
1172
+ * dependencies for the stack to apply. Relationship fields accept compatible
1173
+ * resource entities before their applied values exist. The returned entity
1174
+ * exposes output values after apply through the stack that owns the declaration.
1175
+ */
1176
+ const Charge = Effect.fn("StripeResources.Charge")(function* (input: {
1177
+ readonly logicalId: string;
1178
+ readonly props: StripeChargePropsEntity;
1179
+ }) {
1180
+ const key: ResourceKey = { logicalId: input.logicalId };
1181
+
1182
+ const declaration = yield* graph.resource(key);
1183
+
1184
+ const props = yield* Schema.decodeEffect(
1185
+ Schema.toType(StripeChargePropsEntitySchema),
1186
+ )(input.props);
1187
+
1188
+ yield* declaration.register({
1189
+ propsSchema: StripeChargePropsEntitySchema,
1190
+ outputsSchema: StripeChargeOutputsSchema,
1191
+ requestSchema: StripeChargePropsSchema,
1192
+ props,
1193
+ });
1194
+
1195
+ const resource: StripeChargeResource = createStripeChargeDeclaration(
1196
+ key,
1197
+ props,
1198
+ declaration.outputs,
1199
+ );
1200
+
1201
+ return resource;
1202
+ });
1203
+
1204
+ /**
1205
+ * The Refund declaration method registers a managed resource and its
1206
+ * dependencies for the stack to apply. Relationship fields accept compatible
1207
+ * resource entities before their applied values exist. The returned entity
1208
+ * exposes output values after apply through the stack that owns the declaration.
1209
+ */
1210
+ const Refund = Effect.fn("StripeResources.Refund")(function* (input: {
1211
+ readonly logicalId: string;
1212
+ readonly props: StripeRefundPropsEntity;
1213
+ }) {
1214
+ const key: ResourceKey = { logicalId: input.logicalId };
1215
+
1216
+ const declaration = yield* graph.resource(key);
1217
+
1218
+ const props = yield* Schema.decodeEffect(
1219
+ Schema.toType(StripeRefundPropsEntitySchema),
1220
+ )(input.props);
1221
+
1222
+ yield* declaration.register({
1223
+ propsSchema: StripeRefundPropsEntitySchema,
1224
+ outputsSchema: StripeRefundOutputsSchema,
1225
+ requestSchema: StripeRefundPropsSchema,
1226
+ props,
1227
+ });
1228
+
1229
+ const resource: StripeRefundResource = createStripeRefundDeclaration(
1230
+ key,
1231
+ props,
1232
+ declaration.outputs,
1233
+ );
1234
+
1235
+ return resource;
1236
+ });
1237
+
1238
+ /**
1239
+ * The CheckoutSession declaration method registers a managed resource and its
1240
+ * dependencies for the stack to apply. Relationship fields accept compatible
1241
+ * resource entities before their applied values exist. The returned entity
1242
+ * exposes output values after apply through the stack that owns the declaration.
1243
+ */
1244
+ const CheckoutSession = Effect.fn("StripeResources.CheckoutSession")(
1245
+ function* (input: {
1246
+ readonly logicalId: string;
1247
+ readonly props: StripeCheckoutSessionPropsEntity;
1248
+ }) {
1249
+ const key: ResourceKey = { logicalId: input.logicalId };
1250
+
1251
+ const declaration = yield* graph.resource(key);
1252
+
1253
+ const props = yield* Schema.decodeEffect(
1254
+ Schema.toType(StripeCheckoutSessionPropsEntitySchema),
1255
+ )(input.props);
1256
+
1257
+ yield* declaration.register({
1258
+ propsSchema: StripeCheckoutSessionPropsEntitySchema,
1259
+ outputsSchema: StripeCheckoutSessionOutputsSchema,
1260
+ requestSchema: StripeCheckoutSessionPropsSchema,
1261
+ props,
1262
+ });
1263
+
1264
+ const resource: StripeCheckoutSessionResource =
1265
+ createStripeCheckoutSessionDeclaration(key, props, declaration.outputs);
1266
+
1267
+ return resource;
1268
+ },
1269
+ );
1270
+
1271
+ /**
1272
+ * The ClimateOrder declaration method registers a managed resource and its
1273
+ * dependencies for the stack to apply. Relationship fields accept compatible
1274
+ * resource entities before their applied values exist. The returned entity
1275
+ * exposes output values after apply through the stack that owns the declaration.
1276
+ */
1277
+ const ClimateOrder = Effect.fn("StripeResources.ClimateOrder")(
1278
+ function* (input: {
1279
+ readonly logicalId: string;
1280
+ readonly props: StripeClimateOrderPropsEntity;
1281
+ }) {
1282
+ const key: ResourceKey = { logicalId: input.logicalId };
1283
+
1284
+ const declaration = yield* graph.resource(key);
1285
+
1286
+ const props = yield* Schema.decodeEffect(
1287
+ Schema.toType(StripeClimateOrderPropsEntitySchema),
1288
+ )(input.props);
1289
+
1290
+ yield* declaration.register({
1291
+ propsSchema: StripeClimateOrderPropsEntitySchema,
1292
+ outputsSchema: StripeClimateOrderOutputsSchema,
1293
+ requestSchema: StripeClimateOrderPropsSchema,
1294
+ props,
1295
+ });
1296
+
1297
+ const resource: StripeClimateOrderResource =
1298
+ createStripeClimateOrderDeclaration(key, props, declaration.outputs);
1299
+
1300
+ return resource;
1301
+ },
1302
+ );
1303
+
1304
+ /**
1305
+ * The Coupon declaration method registers a managed resource and its
1306
+ * dependencies for the stack to apply. Relationship fields accept compatible
1307
+ * resource entities before their applied values exist. The returned entity
1308
+ * exposes output values after apply through the stack that owns the declaration.
1309
+ */
1310
+ const Coupon = Effect.fn("StripeResources.Coupon")(function* (input: {
1311
+ readonly logicalId: string;
1312
+ readonly props: StripeCouponPropsEntity;
1313
+ }) {
1314
+ const key: ResourceKey = { logicalId: input.logicalId };
1315
+
1316
+ const declaration = yield* graph.resource(key);
1317
+
1318
+ const props = yield* Schema.decodeEffect(
1319
+ Schema.toType(StripeCouponPropsEntitySchema),
1320
+ )(input.props);
1321
+
1322
+ yield* declaration.register({
1323
+ propsSchema: StripeCouponPropsEntitySchema,
1324
+ outputsSchema: StripeCouponOutputsSchema,
1325
+ requestSchema: StripeCouponPropsSchema,
1326
+ props,
1327
+ });
1328
+
1329
+ const resource: StripeCouponResource = createStripeCouponDeclaration(
1330
+ key,
1331
+ props,
1332
+ declaration.outputs,
1333
+ );
1334
+
1335
+ return resource;
1336
+ });
1337
+
1338
+ /**
1339
+ * The CreditNote declaration method registers a managed resource and its
1340
+ * dependencies for the stack to apply. Relationship fields accept compatible
1341
+ * resource entities before their applied values exist. The returned entity
1342
+ * exposes output values after apply through the stack that owns the declaration.
1343
+ */
1344
+ const CreditNote = Effect.fn("StripeResources.CreditNote")(function* (input: {
1345
+ readonly logicalId: string;
1346
+ readonly props: StripeCreditNotePropsEntity;
1347
+ }) {
1348
+ const key: ResourceKey = { logicalId: input.logicalId };
1349
+
1350
+ const declaration = yield* graph.resource(key);
1351
+
1352
+ const props = yield* Schema.decodeEffect(
1353
+ Schema.toType(StripeCreditNotePropsEntitySchema),
1354
+ )(input.props);
1355
+
1356
+ yield* declaration.register({
1357
+ propsSchema: StripeCreditNotePropsEntitySchema,
1358
+ outputsSchema: StripeCreditNoteOutputsSchema,
1359
+ requestSchema: StripeCreditNotePropsSchema,
1360
+ props,
1361
+ });
1362
+
1363
+ const resource: StripeCreditNoteResource =
1364
+ createStripeCreditNoteDeclaration(key, props, declaration.outputs);
1365
+
1366
+ return resource;
1367
+ });
1368
+
1369
+ /**
1370
+ * The Customer declaration method registers a managed resource and its
1371
+ * dependencies for the stack to apply. Relationship fields accept compatible
1372
+ * resource entities before their applied values exist. The returned entity
1373
+ * exposes output values after apply through the stack that owns the declaration.
1374
+ */
1375
+ const Customer = Effect.fn("StripeResources.Customer")(function* (input: {
1376
+ readonly logicalId: string;
1377
+ readonly props: StripeCustomerPropsEntity;
1378
+ }) {
1379
+ const key: ResourceKey = { logicalId: input.logicalId };
1380
+
1381
+ const declaration = yield* graph.resource(key);
1382
+
1383
+ const props = yield* Schema.decodeEffect(
1384
+ Schema.toType(StripeCustomerPropsEntitySchema),
1385
+ )(input.props);
1386
+
1387
+ yield* declaration.register({
1388
+ propsSchema: StripeCustomerPropsEntitySchema,
1389
+ outputsSchema: StripeCustomerOutputsSchema,
1390
+ requestSchema: StripeCustomerPropsSchema,
1391
+ props,
1392
+ });
1393
+
1394
+ const resource: StripeCustomerResource = createStripeCustomerDeclaration(
1395
+ key,
1396
+ props,
1397
+ declaration.outputs,
1398
+ );
1399
+
1400
+ return resource;
1401
+ });
1402
+
1403
+ /**
1404
+ * The Subscription declaration method registers a managed resource and its
1405
+ * dependencies for the stack to apply. Relationship fields accept compatible
1406
+ * resource entities before their applied values exist. The returned entity
1407
+ * exposes output values after apply through the stack that owns the declaration.
1408
+ */
1409
+ const Subscription = Effect.fn("StripeResources.Subscription")(
1410
+ function* (input: {
1411
+ readonly logicalId: string;
1412
+ readonly props: StripeSubscriptionPropsEntity;
1413
+ }) {
1414
+ const key: ResourceKey = { logicalId: input.logicalId };
1415
+
1416
+ const declaration = yield* graph.resource(key);
1417
+
1418
+ const props = yield* Schema.decodeEffect(
1419
+ Schema.toType(StripeSubscriptionPropsEntitySchema),
1420
+ )(input.props);
1421
+
1422
+ yield* declaration.register({
1423
+ propsSchema: StripeSubscriptionPropsEntitySchema,
1424
+ outputsSchema: StripeSubscriptionOutputsSchema,
1425
+ requestSchema: StripeSubscriptionPropsSchema,
1426
+ props,
1427
+ });
1428
+
1429
+ const resource: StripeSubscriptionResource =
1430
+ createStripeSubscriptionDeclaration(key, props, declaration.outputs);
1431
+
1432
+ return resource;
1433
+ },
1434
+ );
1435
+
1436
+ /**
1437
+ * The TaxId declaration method registers a managed resource and its
1438
+ * dependencies for the stack to apply. Relationship fields accept compatible
1439
+ * resource entities before their applied values exist. The returned entity
1440
+ * exposes output values after apply through the stack that owns the declaration.
1441
+ */
1442
+ const TaxId = Effect.fn("StripeResources.TaxId")(function* (input: {
1443
+ readonly logicalId: string;
1444
+ readonly props: StripeTaxIdPropsEntity;
1445
+ }) {
1446
+ const key: ResourceKey = { logicalId: input.logicalId };
1447
+
1448
+ const declaration = yield* graph.resource(key);
1449
+
1450
+ const props = yield* Schema.decodeEffect(
1451
+ Schema.toType(StripeTaxIdPropsEntitySchema),
1452
+ )(input.props);
1453
+
1454
+ yield* declaration.register({
1455
+ propsSchema: StripeTaxIdPropsEntitySchema,
1456
+ outputsSchema: StripeTaxIdOutputsSchema,
1457
+ requestSchema: StripeTaxIdPropsSchema,
1458
+ props,
1459
+ });
1460
+
1461
+ const resource: StripeTaxIdResource = createStripeTaxIdDeclaration(
1462
+ key,
1463
+ props,
1464
+ declaration.outputs,
1465
+ );
1466
+
1467
+ return resource;
1468
+ });
1469
+
1470
+ /**
1471
+ * The EntitlementsFeature declaration method registers a managed resource and its
1472
+ * dependencies for the stack to apply. Relationship fields accept compatible
1473
+ * resource entities before their applied values exist. The returned entity
1474
+ * exposes output values after apply through the stack that owns the declaration.
1475
+ */
1476
+ const EntitlementsFeature = Effect.fn("StripeResources.EntitlementsFeature")(
1477
+ function* (input: {
1478
+ readonly logicalId: string;
1479
+ readonly props: StripeEntitlementsFeaturePropsEntity;
1480
+ }) {
1481
+ const key: ResourceKey = { logicalId: input.logicalId };
1482
+
1483
+ const declaration = yield* graph.resource(key);
1484
+
1485
+ const props = yield* Schema.decodeEffect(
1486
+ Schema.toType(StripeEntitlementsFeaturePropsEntitySchema),
1487
+ )(input.props);
1488
+
1489
+ yield* declaration.register({
1490
+ propsSchema: StripeEntitlementsFeaturePropsEntitySchema,
1491
+ outputsSchema: StripeEntitlementsFeatureOutputsSchema,
1492
+ requestSchema: StripeEntitlementsFeaturePropsSchema,
1493
+ props,
1494
+ });
1495
+
1496
+ const resource: StripeEntitlementsFeatureResource =
1497
+ createStripeEntitlementsFeatureDeclaration(
1498
+ key,
1499
+ props,
1500
+ declaration.outputs,
1501
+ );
1502
+
1503
+ return resource;
1504
+ },
1505
+ );
1506
+
1507
+ /**
1508
+ * The FileLink declaration method registers a managed resource and its
1509
+ * dependencies for the stack to apply. Relationship fields accept compatible
1510
+ * resource entities before their applied values exist. The returned entity
1511
+ * exposes output values after apply through the stack that owns the declaration.
1512
+ */
1513
+ const FileLink = Effect.fn("StripeResources.FileLink")(function* (input: {
1514
+ readonly logicalId: string;
1515
+ readonly props: StripeFileLinkPropsEntity;
1516
+ }) {
1517
+ const key: ResourceKey = { logicalId: input.logicalId };
1518
+
1519
+ const declaration = yield* graph.resource(key);
1520
+
1521
+ const props = yield* Schema.decodeEffect(
1522
+ Schema.toType(StripeFileLinkPropsEntitySchema),
1523
+ )(input.props);
1524
+
1525
+ yield* declaration.register({
1526
+ propsSchema: StripeFileLinkPropsEntitySchema,
1527
+ outputsSchema: StripeFileLinkOutputsSchema,
1528
+ requestSchema: StripeFileLinkPropsSchema,
1529
+ props,
1530
+ });
1531
+
1532
+ const resource: StripeFileLinkResource = createStripeFileLinkDeclaration(
1533
+ key,
1534
+ props,
1535
+ declaration.outputs,
1536
+ );
1537
+
1538
+ return resource;
1539
+ });
1540
+
1541
+ /**
1542
+ * The FinancialConnectionsSession declaration method registers a managed resource and its
1543
+ * dependencies for the stack to apply. Relationship fields accept compatible
1544
+ * resource entities before their applied values exist. The returned entity
1545
+ * exposes output values after apply through the stack that owns the declaration.
1546
+ */
1547
+ const FinancialConnectionsSession = Effect.fn(
1548
+ "StripeResources.FinancialConnectionsSession",
1549
+ )(function* (input: {
1550
+ readonly logicalId: string;
1551
+ readonly props: StripeFinancialConnectionsSessionPropsEntity;
1552
+ }) {
1553
+ const key: ResourceKey = { logicalId: input.logicalId };
1554
+
1555
+ const declaration = yield* graph.resource(key);
1556
+
1557
+ const props = yield* Schema.decodeEffect(
1558
+ Schema.toType(StripeFinancialConnectionsSessionPropsEntitySchema),
1559
+ )(input.props);
1560
+
1561
+ yield* declaration.register({
1562
+ propsSchema: StripeFinancialConnectionsSessionPropsEntitySchema,
1563
+ outputsSchema: StripeFinancialConnectionsSessionOutputsSchema,
1564
+ requestSchema: StripeFinancialConnectionsSessionPropsSchema,
1565
+ props,
1566
+ });
1567
+
1568
+ const resource: StripeFinancialConnectionsSessionResource =
1569
+ createStripeFinancialConnectionsSessionDeclaration(
1570
+ key,
1571
+ props,
1572
+ declaration.outputs,
1573
+ );
1574
+
1575
+ return resource;
1576
+ });
1577
+
1578
+ /**
1579
+ * The ForwardingRequest declaration method registers a managed resource and its
1580
+ * dependencies for the stack to apply. Relationship fields accept compatible
1581
+ * resource entities before their applied values exist. The returned entity
1582
+ * exposes output values after apply through the stack that owns the declaration.
1583
+ */
1584
+ const ForwardingRequest = Effect.fn("StripeResources.ForwardingRequest")(
1585
+ function* (input: {
1586
+ readonly logicalId: string;
1587
+ readonly props: StripeForwardingRequestPropsEntity;
1588
+ }) {
1589
+ const key: ResourceKey = { logicalId: input.logicalId };
1590
+
1591
+ const declaration = yield* graph.resource(key);
1592
+
1593
+ const props = yield* Schema.decodeEffect(
1594
+ Schema.toType(StripeForwardingRequestPropsEntitySchema),
1595
+ )(input.props);
1596
+
1597
+ yield* declaration.register({
1598
+ propsSchema: StripeForwardingRequestPropsEntitySchema,
1599
+ outputsSchema: StripeForwardingRequestOutputsSchema,
1600
+ requestSchema: StripeForwardingRequestPropsSchema,
1601
+ props,
1602
+ });
1603
+
1604
+ const resource: StripeForwardingRequestResource =
1605
+ createStripeForwardingRequestDeclaration(
1606
+ key,
1607
+ props,
1608
+ declaration.outputs,
1609
+ );
1610
+
1611
+ return resource;
1612
+ },
1613
+ );
1614
+
1615
+ /**
1616
+ * The IdentityVerificationSession declaration method registers a managed resource and its
1617
+ * dependencies for the stack to apply. Relationship fields accept compatible
1618
+ * resource entities before their applied values exist. The returned entity
1619
+ * exposes output values after apply through the stack that owns the declaration.
1620
+ */
1621
+ const IdentityVerificationSession = Effect.fn(
1622
+ "StripeResources.IdentityVerificationSession",
1623
+ )(function* (input: {
1624
+ readonly logicalId: string;
1625
+ readonly props: StripeIdentityVerificationSessionPropsEntity;
1626
+ }) {
1627
+ const key: ResourceKey = { logicalId: input.logicalId };
1628
+
1629
+ const declaration = yield* graph.resource(key);
1630
+
1631
+ const props = yield* Schema.decodeEffect(
1632
+ Schema.toType(StripeIdentityVerificationSessionPropsEntitySchema),
1633
+ )(input.props);
1634
+
1635
+ yield* declaration.register({
1636
+ propsSchema: StripeIdentityVerificationSessionPropsEntitySchema,
1637
+ outputsSchema: StripeIdentityVerificationSessionOutputsSchema,
1638
+ requestSchema: StripeIdentityVerificationSessionPropsSchema,
1639
+ props,
1640
+ });
1641
+
1642
+ const resource: StripeIdentityVerificationSessionResource =
1643
+ createStripeIdentityVerificationSessionDeclaration(
1644
+ key,
1645
+ props,
1646
+ declaration.outputs,
1647
+ );
1648
+
1649
+ return resource;
1650
+ });
1651
+
1652
+ /**
1653
+ * The Invoiceitem declaration method registers a managed resource and its
1654
+ * dependencies for the stack to apply. Relationship fields accept compatible
1655
+ * resource entities before their applied values exist. The returned entity
1656
+ * exposes output values after apply through the stack that owns the declaration.
1657
+ */
1658
+ const Invoiceitem = Effect.fn("StripeResources.Invoiceitem")(
1659
+ function* (input: {
1660
+ readonly logicalId: string;
1661
+ readonly props: StripeInvoiceitemPropsEntity;
1662
+ }) {
1663
+ const key: ResourceKey = { logicalId: input.logicalId };
1664
+
1665
+ const declaration = yield* graph.resource(key);
1666
+
1667
+ const props = yield* Schema.decodeEffect(
1668
+ Schema.toType(StripeInvoiceitemPropsEntitySchema),
1669
+ )(input.props);
1670
+
1671
+ yield* declaration.register({
1672
+ propsSchema: StripeInvoiceitemPropsEntitySchema,
1673
+ outputsSchema: StripeInvoiceitemOutputsSchema,
1674
+ requestSchema: StripeInvoiceitemPropsSchema,
1675
+ props,
1676
+ });
1677
+
1678
+ const resource: StripeInvoiceitemResource =
1679
+ createStripeInvoiceitemDeclaration(key, props, declaration.outputs);
1680
+
1681
+ return resource;
1682
+ },
1683
+ );
1684
+
1685
+ /**
1686
+ * The Invoice declaration method registers a managed resource and its
1687
+ * dependencies for the stack to apply. Relationship fields accept compatible
1688
+ * resource entities before their applied values exist. The returned entity
1689
+ * exposes output values after apply through the stack that owns the declaration.
1690
+ */
1691
+ const Invoice = Effect.fn("StripeResources.Invoice")(function* (input: {
1692
+ readonly logicalId: string;
1693
+ readonly props: StripeInvoicePropsEntity;
1694
+ }) {
1695
+ const key: ResourceKey = { logicalId: input.logicalId };
1696
+
1697
+ const declaration = yield* graph.resource(key);
1698
+
1699
+ const props = yield* Schema.decodeEffect(
1700
+ Schema.toType(StripeInvoicePropsEntitySchema),
1701
+ )(input.props);
1702
+
1703
+ yield* declaration.register({
1704
+ propsSchema: StripeInvoicePropsEntitySchema,
1705
+ outputsSchema: StripeInvoiceOutputsSchema,
1706
+ requestSchema: StripeInvoicePropsSchema,
1707
+ props,
1708
+ });
1709
+
1710
+ const resource: StripeInvoiceResource = createStripeInvoiceDeclaration(
1711
+ key,
1712
+ props,
1713
+ declaration.outputs,
1714
+ );
1715
+
1716
+ return resource;
1717
+ });
1718
+
1719
+ /**
1720
+ * The IssuingCardholder declaration method registers a managed resource and its
1721
+ * dependencies for the stack to apply. Relationship fields accept compatible
1722
+ * resource entities before their applied values exist. The returned entity
1723
+ * exposes output values after apply through the stack that owns the declaration.
1724
+ */
1725
+ const IssuingCardholder = Effect.fn("StripeResources.IssuingCardholder")(
1726
+ function* (input: {
1727
+ readonly logicalId: string;
1728
+ readonly props: StripeIssuingCardholderPropsEntity;
1729
+ }) {
1730
+ const key: ResourceKey = { logicalId: input.logicalId };
1731
+
1732
+ const declaration = yield* graph.resource(key);
1733
+
1734
+ const props = yield* Schema.decodeEffect(
1735
+ Schema.toType(StripeIssuingCardholderPropsEntitySchema),
1736
+ )(input.props);
1737
+
1738
+ yield* declaration.register({
1739
+ propsSchema: StripeIssuingCardholderPropsEntitySchema,
1740
+ outputsSchema: StripeIssuingCardholderOutputsSchema,
1741
+ requestSchema: StripeIssuingCardholderPropsSchema,
1742
+ props,
1743
+ });
1744
+
1745
+ const resource: StripeIssuingCardholderResource =
1746
+ createStripeIssuingCardholderDeclaration(
1747
+ key,
1748
+ props,
1749
+ declaration.outputs,
1750
+ );
1751
+
1752
+ return resource;
1753
+ },
1754
+ );
1755
+
1756
+ /**
1757
+ * The IssuingCard declaration method registers a managed resource and its
1758
+ * dependencies for the stack to apply. Relationship fields accept compatible
1759
+ * resource entities before their applied values exist. The returned entity
1760
+ * exposes output values after apply through the stack that owns the declaration.
1761
+ */
1762
+ const IssuingCard = Effect.fn("StripeResources.IssuingCard")(
1763
+ function* (input: {
1764
+ readonly logicalId: string;
1765
+ readonly props: StripeIssuingCardPropsEntity;
1766
+ }) {
1767
+ const key: ResourceKey = { logicalId: input.logicalId };
1768
+
1769
+ const declaration = yield* graph.resource(key);
1770
+
1771
+ const props = yield* Schema.decodeEffect(
1772
+ Schema.toType(StripeIssuingCardPropsEntitySchema),
1773
+ )(input.props);
1774
+
1775
+ yield* declaration.register({
1776
+ propsSchema: StripeIssuingCardPropsEntitySchema,
1777
+ outputsSchema: StripeIssuingCardOutputsSchema,
1778
+ requestSchema: StripeIssuingCardPropsSchema,
1779
+ props,
1780
+ });
1781
+
1782
+ const resource: StripeIssuingCardResource =
1783
+ createStripeIssuingCardDeclaration(key, props, declaration.outputs);
1784
+
1785
+ return resource;
1786
+ },
1787
+ );
1788
+
1789
+ /**
1790
+ * The IssuingDispute declaration method registers a managed resource and its
1791
+ * dependencies for the stack to apply. Relationship fields accept compatible
1792
+ * resource entities before their applied values exist. The returned entity
1793
+ * exposes output values after apply through the stack that owns the declaration.
1794
+ */
1795
+ const IssuingDispute = Effect.fn("StripeResources.IssuingDispute")(
1796
+ function* (input: {
1797
+ readonly logicalId: string;
1798
+ readonly props: StripeIssuingDisputePropsEntity;
1799
+ }) {
1800
+ const key: ResourceKey = { logicalId: input.logicalId };
1801
+
1802
+ const declaration = yield* graph.resource(key);
1803
+
1804
+ const props = yield* Schema.decodeEffect(
1805
+ Schema.toType(StripeIssuingDisputePropsEntitySchema),
1806
+ )(input.props);
1807
+
1808
+ yield* declaration.register({
1809
+ propsSchema: StripeIssuingDisputePropsEntitySchema,
1810
+ outputsSchema: StripeIssuingDisputeOutputsSchema,
1811
+ requestSchema: StripeIssuingDisputePropsSchema,
1812
+ props,
1813
+ });
1814
+
1815
+ const resource: StripeIssuingDisputeResource =
1816
+ createStripeIssuingDisputeDeclaration(key, props, declaration.outputs);
1817
+
1818
+ return resource;
1819
+ },
1820
+ );
1821
+
1822
+ /**
1823
+ * The IssuingPersonalizationDesign declaration method registers a managed resource and its
1824
+ * dependencies for the stack to apply. Relationship fields accept compatible
1825
+ * resource entities before their applied values exist. The returned entity
1826
+ * exposes output values after apply through the stack that owns the declaration.
1827
+ */
1828
+ const IssuingPersonalizationDesign = Effect.fn(
1829
+ "StripeResources.IssuingPersonalizationDesign",
1830
+ )(function* (input: {
1831
+ readonly logicalId: string;
1832
+ readonly props: StripeIssuingPersonalizationDesignPropsEntity;
1833
+ }) {
1834
+ const key: ResourceKey = { logicalId: input.logicalId };
1835
+
1836
+ const declaration = yield* graph.resource(key);
1837
+
1838
+ const props = yield* Schema.decodeEffect(
1839
+ Schema.toType(StripeIssuingPersonalizationDesignPropsEntitySchema),
1840
+ )(input.props);
1841
+
1842
+ yield* declaration.register({
1843
+ propsSchema: StripeIssuingPersonalizationDesignPropsEntitySchema,
1844
+ outputsSchema: StripeIssuingPersonalizationDesignOutputsSchema,
1845
+ requestSchema: StripeIssuingPersonalizationDesignPropsSchema,
1846
+ props,
1847
+ });
1848
+
1849
+ const resource: StripeIssuingPersonalizationDesignResource =
1850
+ createStripeIssuingPersonalizationDesignDeclaration(
1851
+ key,
1852
+ props,
1853
+ declaration.outputs,
1854
+ );
1855
+
1856
+ return resource;
1857
+ });
1858
+
1859
+ /**
1860
+ * The PaymentIntent declaration method registers a managed resource and its
1861
+ * dependencies for the stack to apply. Relationship fields accept compatible
1862
+ * resource entities before their applied values exist. The returned entity
1863
+ * exposes output values after apply through the stack that owns the declaration.
1864
+ */
1865
+ const PaymentIntent = Effect.fn("StripeResources.PaymentIntent")(
1866
+ function* (input: {
1867
+ readonly logicalId: string;
1868
+ readonly props: StripePaymentIntentPropsEntity;
1869
+ }) {
1870
+ const key: ResourceKey = { logicalId: input.logicalId };
1871
+
1872
+ const declaration = yield* graph.resource(key);
1873
+
1874
+ const props = yield* Schema.decodeEffect(
1875
+ Schema.toType(StripePaymentIntentPropsEntitySchema),
1876
+ )(input.props);
1877
+
1878
+ yield* declaration.register({
1879
+ propsSchema: StripePaymentIntentPropsEntitySchema,
1880
+ outputsSchema: StripePaymentIntentOutputsSchema,
1881
+ requestSchema: StripePaymentIntentPropsSchema,
1882
+ props,
1883
+ });
1884
+
1885
+ const resource: StripePaymentIntentResource =
1886
+ createStripePaymentIntentDeclaration(key, props, declaration.outputs);
1887
+
1888
+ return resource;
1889
+ },
1890
+ );
1891
+
1892
+ /**
1893
+ * The PaymentLink declaration method registers a managed resource and its
1894
+ * dependencies for the stack to apply. Relationship fields accept compatible
1895
+ * resource entities before their applied values exist. The returned entity
1896
+ * exposes output values after apply through the stack that owns the declaration.
1897
+ */
1898
+ const PaymentLink = Effect.fn("StripeResources.PaymentLink")(
1899
+ function* (input: {
1900
+ readonly logicalId: string;
1901
+ readonly props: StripePaymentLinkPropsEntity;
1902
+ }) {
1903
+ const key: ResourceKey = { logicalId: input.logicalId };
1904
+
1905
+ const declaration = yield* graph.resource(key);
1906
+
1907
+ const props = yield* Schema.decodeEffect(
1908
+ Schema.toType(StripePaymentLinkPropsEntitySchema),
1909
+ )(input.props);
1910
+
1911
+ yield* declaration.register({
1912
+ propsSchema: StripePaymentLinkPropsEntitySchema,
1913
+ outputsSchema: StripePaymentLinkOutputsSchema,
1914
+ requestSchema: StripePaymentLinkPropsSchema,
1915
+ props,
1916
+ });
1917
+
1918
+ const resource: StripePaymentLinkResource =
1919
+ createStripePaymentLinkDeclaration(key, props, declaration.outputs);
1920
+
1921
+ return resource;
1922
+ },
1923
+ );
1924
+
1925
+ /**
1926
+ * The PaymentMethodConfiguration declaration method registers a managed resource and its
1927
+ * dependencies for the stack to apply. Relationship fields accept compatible
1928
+ * resource entities before their applied values exist. The returned entity
1929
+ * exposes output values after apply through the stack that owns the declaration.
1930
+ */
1931
+ const PaymentMethodConfiguration = Effect.fn(
1932
+ "StripeResources.PaymentMethodConfiguration",
1933
+ )(function* (input: {
1934
+ readonly logicalId: string;
1935
+ readonly props: StripePaymentMethodConfigurationPropsEntity;
1936
+ }) {
1937
+ const key: ResourceKey = { logicalId: input.logicalId };
1938
+
1939
+ const declaration = yield* graph.resource(key);
1940
+
1941
+ const props = yield* Schema.decodeEffect(
1942
+ Schema.toType(StripePaymentMethodConfigurationPropsEntitySchema),
1943
+ )(input.props);
1944
+
1945
+ yield* declaration.register({
1946
+ propsSchema: StripePaymentMethodConfigurationPropsEntitySchema,
1947
+ outputsSchema: StripePaymentMethodConfigurationOutputsSchema,
1948
+ requestSchema: StripePaymentMethodConfigurationPropsSchema,
1949
+ props,
1950
+ });
1951
+
1952
+ const resource: StripePaymentMethodConfigurationResource =
1953
+ createStripePaymentMethodConfigurationDeclaration(
1954
+ key,
1955
+ props,
1956
+ declaration.outputs,
1957
+ );
1958
+
1959
+ return resource;
1960
+ });
1961
+
1962
+ /**
1963
+ * The PaymentMethodDomain declaration method registers a managed resource and its
1964
+ * dependencies for the stack to apply. Relationship fields accept compatible
1965
+ * resource entities before their applied values exist. The returned entity
1966
+ * exposes output values after apply through the stack that owns the declaration.
1967
+ */
1968
+ const PaymentMethodDomain = Effect.fn("StripeResources.PaymentMethodDomain")(
1969
+ function* (input: {
1970
+ readonly logicalId: string;
1971
+ readonly props: StripePaymentMethodDomainPropsEntity;
1972
+ }) {
1973
+ const key: ResourceKey = { logicalId: input.logicalId };
1974
+
1975
+ const declaration = yield* graph.resource(key);
1976
+
1977
+ const props = yield* Schema.decodeEffect(
1978
+ Schema.toType(StripePaymentMethodDomainPropsEntitySchema),
1979
+ )(input.props);
1980
+
1981
+ yield* declaration.register({
1982
+ propsSchema: StripePaymentMethodDomainPropsEntitySchema,
1983
+ outputsSchema: StripePaymentMethodDomainOutputsSchema,
1984
+ requestSchema: StripePaymentMethodDomainPropsSchema,
1985
+ props,
1986
+ });
1987
+
1988
+ const resource: StripePaymentMethodDomainResource =
1989
+ createStripePaymentMethodDomainDeclaration(
1990
+ key,
1991
+ props,
1992
+ declaration.outputs,
1993
+ );
1994
+
1995
+ return resource;
1996
+ },
1997
+ );
1998
+
1999
+ /**
2000
+ * The PaymentMethod declaration method registers a managed resource and its
2001
+ * dependencies for the stack to apply. Relationship fields accept compatible
2002
+ * resource entities before their applied values exist. The returned entity
2003
+ * exposes output values after apply through the stack that owns the declaration.
2004
+ */
2005
+ const PaymentMethod = Effect.fn("StripeResources.PaymentMethod")(
2006
+ function* (input: {
2007
+ readonly logicalId: string;
2008
+ readonly props: StripePaymentMethodPropsEntity;
2009
+ }) {
2010
+ const key: ResourceKey = { logicalId: input.logicalId };
2011
+
2012
+ const declaration = yield* graph.resource(key);
2013
+
2014
+ const props = yield* Schema.decodeEffect(
2015
+ Schema.toType(StripePaymentMethodPropsEntitySchema),
2016
+ )(input.props);
2017
+
2018
+ yield* declaration.register({
2019
+ propsSchema: StripePaymentMethodPropsEntitySchema,
2020
+ outputsSchema: StripePaymentMethodOutputsSchema,
2021
+ requestSchema: StripePaymentMethodPropsSchema,
2022
+ props,
2023
+ });
2024
+
2025
+ const resource: StripePaymentMethodResource =
2026
+ createStripePaymentMethodDeclaration(key, props, declaration.outputs);
2027
+
2028
+ return resource;
2029
+ },
2030
+ );
2031
+
2032
+ /**
2033
+ * The Payout declaration method registers a managed resource and its
2034
+ * dependencies for the stack to apply. Relationship fields accept compatible
2035
+ * resource entities before their applied values exist. The returned entity
2036
+ * exposes output values after apply through the stack that owns the declaration.
2037
+ */
2038
+ const Payout = Effect.fn("StripeResources.Payout")(function* (input: {
2039
+ readonly logicalId: string;
2040
+ readonly props: StripePayoutPropsEntity;
2041
+ }) {
2042
+ const key: ResourceKey = { logicalId: input.logicalId };
2043
+
2044
+ const declaration = yield* graph.resource(key);
2045
+
2046
+ const props = yield* Schema.decodeEffect(
2047
+ Schema.toType(StripePayoutPropsEntitySchema),
2048
+ )(input.props);
2049
+
2050
+ yield* declaration.register({
2051
+ propsSchema: StripePayoutPropsEntitySchema,
2052
+ outputsSchema: StripePayoutOutputsSchema,
2053
+ requestSchema: StripePayoutPropsSchema,
2054
+ props,
2055
+ });
2056
+
2057
+ const resource: StripePayoutResource = createStripePayoutDeclaration(
2058
+ key,
2059
+ props,
2060
+ declaration.outputs,
2061
+ );
2062
+
2063
+ return resource;
2064
+ });
2065
+
2066
+ /**
2067
+ * The Plan declaration method registers a managed resource and its
2068
+ * dependencies for the stack to apply. Relationship fields accept compatible
2069
+ * resource entities before their applied values exist. The returned entity
2070
+ * exposes output values after apply through the stack that owns the declaration.
2071
+ */
2072
+ const Plan = Effect.fn("StripeResources.Plan")(function* (input: {
2073
+ readonly logicalId: string;
2074
+ readonly props: StripePlanPropsEntity;
2075
+ }) {
2076
+ const key: ResourceKey = { logicalId: input.logicalId };
2077
+
2078
+ const declaration = yield* graph.resource(key);
2079
+
2080
+ const props = yield* Schema.decodeEffect(
2081
+ Schema.toType(StripePlanPropsEntitySchema),
2082
+ )(input.props);
2083
+
2084
+ yield* declaration.register({
2085
+ propsSchema: StripePlanPropsEntitySchema,
2086
+ outputsSchema: StripePlanOutputsSchema,
2087
+ requestSchema: StripePlanPropsSchema,
2088
+ props,
2089
+ });
2090
+
2091
+ const resource: StripePlanResource = createStripePlanDeclaration(
2092
+ key,
2093
+ props,
2094
+ declaration.outputs,
2095
+ );
2096
+
2097
+ return resource;
2098
+ });
2099
+
2100
+ /**
2101
+ * The Price declaration method registers a managed resource and its
2102
+ * dependencies for the stack to apply. Relationship fields accept compatible
2103
+ * resource entities before their applied values exist. The returned entity
2104
+ * exposes output values after apply through the stack that owns the declaration.
2105
+ */
2106
+ const Price = Effect.fn("StripeResources.Price")(function* (input: {
2107
+ readonly logicalId: string;
2108
+ readonly props: StripePricePropsEntity;
2109
+ }) {
2110
+ const key: ResourceKey = { logicalId: input.logicalId };
2111
+
2112
+ const declaration = yield* graph.resource(key);
2113
+
2114
+ const props = yield* Schema.decodeEffect(
2115
+ Schema.toType(StripePricePropsEntitySchema),
2116
+ )(input.props);
2117
+
2118
+ yield* declaration.register({
2119
+ propsSchema: StripePricePropsEntitySchema,
2120
+ outputsSchema: StripePriceOutputsSchema,
2121
+ requestSchema: StripePricePropsSchema,
2122
+ props,
2123
+ });
2124
+
2125
+ const resource: StripePriceResource = createStripePriceDeclaration(
2126
+ key,
2127
+ props,
2128
+ declaration.outputs,
2129
+ );
2130
+
2131
+ return resource;
2132
+ });
2133
+
2134
+ /**
2135
+ * The ProductCatalogTrialOffer declaration method registers a managed resource and its
2136
+ * dependencies for the stack to apply. Relationship fields accept compatible
2137
+ * resource entities before their applied values exist. The returned entity
2138
+ * exposes output values after apply through the stack that owns the declaration.
2139
+ */
2140
+ const ProductCatalogTrialOffer = Effect.fn(
2141
+ "StripeResources.ProductCatalogTrialOffer",
2142
+ )(function* (input: {
2143
+ readonly logicalId: string;
2144
+ readonly props: StripeProductCatalogTrialOfferPropsEntity;
2145
+ }) {
2146
+ const key: ResourceKey = { logicalId: input.logicalId };
2147
+
2148
+ const declaration = yield* graph.resource(key);
2149
+
2150
+ const props = yield* Schema.decodeEffect(
2151
+ Schema.toType(StripeProductCatalogTrialOfferPropsEntitySchema),
2152
+ )(input.props);
2153
+
2154
+ yield* declaration.register({
2155
+ propsSchema: StripeProductCatalogTrialOfferPropsEntitySchema,
2156
+ outputsSchema: StripeProductCatalogTrialOfferOutputsSchema,
2157
+ requestSchema: StripeProductCatalogTrialOfferPropsSchema,
2158
+ props,
2159
+ });
2160
+
2161
+ const resource: StripeProductCatalogTrialOfferResource =
2162
+ createStripeProductCatalogTrialOfferDeclaration(
2163
+ key,
2164
+ props,
2165
+ declaration.outputs,
2166
+ );
2167
+
2168
+ return resource;
2169
+ });
2170
+
2171
+ /**
2172
+ * The Product declaration method registers a managed resource and its
2173
+ * dependencies for the stack to apply. Relationship fields accept compatible
2174
+ * resource entities before their applied values exist. The returned entity
2175
+ * exposes output values after apply through the stack that owns the declaration.
2176
+ */
2177
+ const Product = Effect.fn("StripeResources.Product")(function* (input: {
2178
+ readonly logicalId: string;
2179
+ readonly props: StripeProductPropsEntity;
2180
+ }) {
2181
+ const key: ResourceKey = { logicalId: input.logicalId };
2182
+
2183
+ const declaration = yield* graph.resource(key);
2184
+
2185
+ const props = yield* Schema.decodeEffect(
2186
+ Schema.toType(StripeProductPropsEntitySchema),
2187
+ )(input.props);
2188
+
2189
+ yield* declaration.register({
2190
+ propsSchema: StripeProductPropsEntitySchema,
2191
+ outputsSchema: StripeProductOutputsSchema,
2192
+ requestSchema: StripeProductPropsSchema,
2193
+ props,
2194
+ });
2195
+
2196
+ const resource: StripeProductResource = createStripeProductDeclaration(
2197
+ key,
2198
+ props,
2199
+ declaration.outputs,
2200
+ );
2201
+
2202
+ return resource;
2203
+ });
2204
+
2205
+ /**
2206
+ * The PromotionCode declaration method registers a managed resource and its
2207
+ * dependencies for the stack to apply. Relationship fields accept compatible
2208
+ * resource entities before their applied values exist. The returned entity
2209
+ * exposes output values after apply through the stack that owns the declaration.
2210
+ */
2211
+ const PromotionCode = Effect.fn("StripeResources.PromotionCode")(
2212
+ function* (input: {
2213
+ readonly logicalId: string;
2214
+ readonly props: StripePromotionCodePropsEntity;
2215
+ }) {
2216
+ const key: ResourceKey = { logicalId: input.logicalId };
2217
+
2218
+ const declaration = yield* graph.resource(key);
2219
+
2220
+ const props = yield* Schema.decodeEffect(
2221
+ Schema.toType(StripePromotionCodePropsEntitySchema),
2222
+ )(input.props);
2223
+
2224
+ yield* declaration.register({
2225
+ propsSchema: StripePromotionCodePropsEntitySchema,
2226
+ outputsSchema: StripePromotionCodeOutputsSchema,
2227
+ requestSchema: StripePromotionCodePropsSchema,
2228
+ props,
2229
+ });
2230
+
2231
+ const resource: StripePromotionCodeResource =
2232
+ createStripePromotionCodeDeclaration(key, props, declaration.outputs);
2233
+
2234
+ return resource;
2235
+ },
2236
+ );
2237
+
2238
+ /**
2239
+ * The Quote declaration method registers a managed resource and its
2240
+ * dependencies for the stack to apply. Relationship fields accept compatible
2241
+ * resource entities before their applied values exist. The returned entity
2242
+ * exposes output values after apply through the stack that owns the declaration.
2243
+ */
2244
+ const Quote = Effect.fn("StripeResources.Quote")(function* (input: {
2245
+ readonly logicalId: string;
2246
+ readonly props: StripeQuotePropsEntity;
2247
+ }) {
2248
+ const key: ResourceKey = { logicalId: input.logicalId };
2249
+
2250
+ const declaration = yield* graph.resource(key);
2251
+
2252
+ const props = yield* Schema.decodeEffect(
2253
+ Schema.toType(StripeQuotePropsEntitySchema),
2254
+ )(input.props);
2255
+
2256
+ yield* declaration.register({
2257
+ propsSchema: StripeQuotePropsEntitySchema,
2258
+ outputsSchema: StripeQuoteOutputsSchema,
2259
+ requestSchema: StripeQuotePropsSchema,
2260
+ props,
2261
+ });
2262
+
2263
+ const resource: StripeQuoteResource = createStripeQuoteDeclaration(
2264
+ key,
2265
+ props,
2266
+ declaration.outputs,
2267
+ );
2268
+
2269
+ return resource;
2270
+ });
2271
+
2272
+ /**
2273
+ * The RadarValueListItem declaration method registers a managed resource and its
2274
+ * dependencies for the stack to apply. Relationship fields accept compatible
2275
+ * resource entities before their applied values exist. The returned entity
2276
+ * exposes output values after apply through the stack that owns the declaration.
2277
+ */
2278
+ const RadarValueListItem = Effect.fn("StripeResources.RadarValueListItem")(
2279
+ function* (input: {
2280
+ readonly logicalId: string;
2281
+ readonly props: StripeRadarValueListItemPropsEntity;
2282
+ }) {
2283
+ const key: ResourceKey = { logicalId: input.logicalId };
2284
+
2285
+ const declaration = yield* graph.resource(key);
2286
+
2287
+ const props = yield* Schema.decodeEffect(
2288
+ Schema.toType(StripeRadarValueListItemPropsEntitySchema),
2289
+ )(input.props);
2290
+
2291
+ yield* declaration.register({
2292
+ propsSchema: StripeRadarValueListItemPropsEntitySchema,
2293
+ outputsSchema: StripeRadarValueListItemOutputsSchema,
2294
+ requestSchema: StripeRadarValueListItemPropsSchema,
2295
+ props,
2296
+ });
2297
+
2298
+ const resource: StripeRadarValueListItemResource =
2299
+ createStripeRadarValueListItemDeclaration(
2300
+ key,
2301
+ props,
2302
+ declaration.outputs,
2303
+ );
2304
+
2305
+ return resource;
2306
+ },
2307
+ );
2308
+
2309
+ /**
2310
+ * The RadarValueList declaration method registers a managed resource and its
2311
+ * dependencies for the stack to apply. Relationship fields accept compatible
2312
+ * resource entities before their applied values exist. The returned entity
2313
+ * exposes output values after apply through the stack that owns the declaration.
2314
+ */
2315
+ const RadarValueList = Effect.fn("StripeResources.RadarValueList")(
2316
+ function* (input: {
2317
+ readonly logicalId: string;
2318
+ readonly props: StripeRadarValueListPropsEntity;
2319
+ }) {
2320
+ const key: ResourceKey = { logicalId: input.logicalId };
2321
+
2322
+ const declaration = yield* graph.resource(key);
2323
+
2324
+ const props = yield* Schema.decodeEffect(
2325
+ Schema.toType(StripeRadarValueListPropsEntitySchema),
2326
+ )(input.props);
2327
+
2328
+ yield* declaration.register({
2329
+ propsSchema: StripeRadarValueListPropsEntitySchema,
2330
+ outputsSchema: StripeRadarValueListOutputsSchema,
2331
+ requestSchema: StripeRadarValueListPropsSchema,
2332
+ props,
2333
+ });
2334
+
2335
+ const resource: StripeRadarValueListResource =
2336
+ createStripeRadarValueListDeclaration(key, props, declaration.outputs);
2337
+
2338
+ return resource;
2339
+ },
2340
+ );
2341
+
2342
+ /**
2343
+ * The ReportingReportRun declaration method registers a managed resource and its
2344
+ * dependencies for the stack to apply. Relationship fields accept compatible
2345
+ * resource entities before their applied values exist. The returned entity
2346
+ * exposes output values after apply through the stack that owns the declaration.
2347
+ */
2348
+ const ReportingReportRun = Effect.fn("StripeResources.ReportingReportRun")(
2349
+ function* (input: {
2350
+ readonly logicalId: string;
2351
+ readonly props: StripeReportingReportRunPropsEntity;
2352
+ }) {
2353
+ const key: ResourceKey = { logicalId: input.logicalId };
2354
+
2355
+ const declaration = yield* graph.resource(key);
2356
+
2357
+ const props = yield* Schema.decodeEffect(
2358
+ Schema.toType(StripeReportingReportRunPropsEntitySchema),
2359
+ )(input.props);
2360
+
2361
+ yield* declaration.register({
2362
+ propsSchema: StripeReportingReportRunPropsEntitySchema,
2363
+ outputsSchema: StripeReportingReportRunOutputsSchema,
2364
+ requestSchema: StripeReportingReportRunPropsSchema,
2365
+ props,
2366
+ });
2367
+
2368
+ const resource: StripeReportingReportRunResource =
2369
+ createStripeReportingReportRunDeclaration(
2370
+ key,
2371
+ props,
2372
+ declaration.outputs,
2373
+ );
2374
+
2375
+ return resource;
2376
+ },
2377
+ );
2378
+
2379
+ /**
2380
+ * The SetupIntent declaration method registers a managed resource and its
2381
+ * dependencies for the stack to apply. Relationship fields accept compatible
2382
+ * resource entities before their applied values exist. The returned entity
2383
+ * exposes output values after apply through the stack that owns the declaration.
2384
+ */
2385
+ const SetupIntent = Effect.fn("StripeResources.SetupIntent")(
2386
+ function* (input: {
2387
+ readonly logicalId: string;
2388
+ readonly props: StripeSetupIntentPropsEntity;
2389
+ }) {
2390
+ const key: ResourceKey = { logicalId: input.logicalId };
2391
+
2392
+ const declaration = yield* graph.resource(key);
2393
+
2394
+ const props = yield* Schema.decodeEffect(
2395
+ Schema.toType(StripeSetupIntentPropsEntitySchema),
2396
+ )(input.props);
2397
+
2398
+ yield* declaration.register({
2399
+ propsSchema: StripeSetupIntentPropsEntitySchema,
2400
+ outputsSchema: StripeSetupIntentOutputsSchema,
2401
+ requestSchema: StripeSetupIntentPropsSchema,
2402
+ props,
2403
+ });
2404
+
2405
+ const resource: StripeSetupIntentResource =
2406
+ createStripeSetupIntentDeclaration(key, props, declaration.outputs);
2407
+
2408
+ return resource;
2409
+ },
2410
+ );
2411
+
2412
+ /**
2413
+ * The ShippingRate declaration method registers a managed resource and its
2414
+ * dependencies for the stack to apply. Relationship fields accept compatible
2415
+ * resource entities before their applied values exist. The returned entity
2416
+ * exposes output values after apply through the stack that owns the declaration.
2417
+ */
2418
+ const ShippingRate = Effect.fn("StripeResources.ShippingRate")(
2419
+ function* (input: {
2420
+ readonly logicalId: string;
2421
+ readonly props: StripeShippingRatePropsEntity;
2422
+ }) {
2423
+ const key: ResourceKey = { logicalId: input.logicalId };
2424
+
2425
+ const declaration = yield* graph.resource(key);
2426
+
2427
+ const props = yield* Schema.decodeEffect(
2428
+ Schema.toType(StripeShippingRatePropsEntitySchema),
2429
+ )(input.props);
2430
+
2431
+ yield* declaration.register({
2432
+ propsSchema: StripeShippingRatePropsEntitySchema,
2433
+ outputsSchema: StripeShippingRateOutputsSchema,
2434
+ requestSchema: StripeShippingRatePropsSchema,
2435
+ props,
2436
+ });
2437
+
2438
+ const resource: StripeShippingRateResource =
2439
+ createStripeShippingRateDeclaration(key, props, declaration.outputs);
2440
+
2441
+ return resource;
2442
+ },
2443
+ );
2444
+
2445
+ /**
2446
+ * The Source declaration method registers a managed resource and its
2447
+ * dependencies for the stack to apply. Relationship fields accept compatible
2448
+ * resource entities before their applied values exist. The returned entity
2449
+ * exposes output values after apply through the stack that owns the declaration.
2450
+ */
2451
+ const Source = Effect.fn("StripeResources.Source")(function* (input: {
2452
+ readonly logicalId: string;
2453
+ readonly props: StripeSourcePropsEntity;
2454
+ }) {
2455
+ const key: ResourceKey = { logicalId: input.logicalId };
2456
+
2457
+ const declaration = yield* graph.resource(key);
2458
+
2459
+ const props = yield* Schema.decodeEffect(
2460
+ Schema.toType(StripeSourcePropsEntitySchema),
2461
+ )(input.props);
2462
+
2463
+ yield* declaration.register({
2464
+ propsSchema: StripeSourcePropsEntitySchema,
2465
+ outputsSchema: StripeSourceOutputsSchema,
2466
+ requestSchema: StripeSourcePropsSchema,
2467
+ props,
2468
+ });
2469
+
2470
+ const resource: StripeSourceResource = createStripeSourceDeclaration(
2471
+ key,
2472
+ props,
2473
+ declaration.outputs,
2474
+ );
2475
+
2476
+ return resource;
2477
+ });
2478
+
2479
+ /**
2480
+ * The SubscriptionItem declaration method registers a managed resource and its
2481
+ * dependencies for the stack to apply. Relationship fields accept compatible
2482
+ * resource entities before their applied values exist. The returned entity
2483
+ * exposes output values after apply through the stack that owns the declaration.
2484
+ */
2485
+ const SubscriptionItem = Effect.fn("StripeResources.SubscriptionItem")(
2486
+ function* (input: {
2487
+ readonly logicalId: string;
2488
+ readonly props: StripeSubscriptionItemPropsEntity;
2489
+ }) {
2490
+ const key: ResourceKey = { logicalId: input.logicalId };
2491
+
2492
+ const declaration = yield* graph.resource(key);
2493
+
2494
+ const props = yield* Schema.decodeEffect(
2495
+ Schema.toType(StripeSubscriptionItemPropsEntitySchema),
2496
+ )(input.props);
2497
+
2498
+ yield* declaration.register({
2499
+ propsSchema: StripeSubscriptionItemPropsEntitySchema,
2500
+ outputsSchema: StripeSubscriptionItemOutputsSchema,
2501
+ requestSchema: StripeSubscriptionItemPropsSchema,
2502
+ props,
2503
+ });
2504
+
2505
+ const resource: StripeSubscriptionItemResource =
2506
+ createStripeSubscriptionItemDeclaration(
2507
+ key,
2508
+ props,
2509
+ declaration.outputs,
2510
+ );
2511
+
2512
+ return resource;
2513
+ },
2514
+ );
2515
+
2516
+ /**
2517
+ * The SubscriptionSchedule declaration method registers a managed resource and its
2518
+ * dependencies for the stack to apply. Relationship fields accept compatible
2519
+ * resource entities before their applied values exist. The returned entity
2520
+ * exposes output values after apply through the stack that owns the declaration.
2521
+ */
2522
+ const SubscriptionSchedule = Effect.fn(
2523
+ "StripeResources.SubscriptionSchedule",
2524
+ )(function* (input: {
2525
+ readonly logicalId: string;
2526
+ readonly props: StripeSubscriptionSchedulePropsEntity;
2527
+ }) {
2528
+ const key: ResourceKey = { logicalId: input.logicalId };
2529
+
2530
+ const declaration = yield* graph.resource(key);
2531
+
2532
+ const props = yield* Schema.decodeEffect(
2533
+ Schema.toType(StripeSubscriptionSchedulePropsEntitySchema),
2534
+ )(input.props);
2535
+
2536
+ yield* declaration.register({
2537
+ propsSchema: StripeSubscriptionSchedulePropsEntitySchema,
2538
+ outputsSchema: StripeSubscriptionScheduleOutputsSchema,
2539
+ requestSchema: StripeSubscriptionSchedulePropsSchema,
2540
+ props,
2541
+ });
2542
+
2543
+ const resource: StripeSubscriptionScheduleResource =
2544
+ createStripeSubscriptionScheduleDeclaration(
2545
+ key,
2546
+ props,
2547
+ declaration.outputs,
2548
+ );
2549
+
2550
+ return resource;
2551
+ });
2552
+
2553
+ /**
2554
+ * The TaxLocation declaration method registers a managed resource and its
2555
+ * dependencies for the stack to apply. Relationship fields accept compatible
2556
+ * resource entities before their applied values exist. The returned entity
2557
+ * exposes output values after apply through the stack that owns the declaration.
2558
+ */
2559
+ const TaxLocation = Effect.fn("StripeResources.TaxLocation")(
2560
+ function* (input: {
2561
+ readonly logicalId: string;
2562
+ readonly props: StripeTaxLocationPropsEntity;
2563
+ }) {
2564
+ const key: ResourceKey = { logicalId: input.logicalId };
2565
+
2566
+ const declaration = yield* graph.resource(key);
2567
+
2568
+ const props = yield* Schema.decodeEffect(
2569
+ Schema.toType(StripeTaxLocationPropsEntitySchema),
2570
+ )(input.props);
2571
+
2572
+ yield* declaration.register({
2573
+ propsSchema: StripeTaxLocationPropsEntitySchema,
2574
+ outputsSchema: StripeTaxLocationOutputsSchema,
2575
+ requestSchema: StripeTaxLocationPropsSchema,
2576
+ props,
2577
+ });
2578
+
2579
+ const resource: StripeTaxLocationResource =
2580
+ createStripeTaxLocationDeclaration(key, props, declaration.outputs);
2581
+
2582
+ return resource;
2583
+ },
2584
+ );
2585
+
2586
+ /**
2587
+ * The TaxRegistration declaration method registers a managed resource and its
2588
+ * dependencies for the stack to apply. Relationship fields accept compatible
2589
+ * resource entities before their applied values exist. The returned entity
2590
+ * exposes output values after apply through the stack that owns the declaration.
2591
+ */
2592
+ const TaxRegistration = Effect.fn("StripeResources.TaxRegistration")(
2593
+ function* (input: {
2594
+ readonly logicalId: string;
2595
+ readonly props: StripeTaxRegistrationPropsEntity;
2596
+ }) {
2597
+ const key: ResourceKey = { logicalId: input.logicalId };
2598
+
2599
+ const declaration = yield* graph.resource(key);
2600
+
2601
+ const props = yield* Schema.decodeEffect(
2602
+ Schema.toType(StripeTaxRegistrationPropsEntitySchema),
2603
+ )(input.props);
2604
+
2605
+ yield* declaration.register({
2606
+ propsSchema: StripeTaxRegistrationPropsEntitySchema,
2607
+ outputsSchema: StripeTaxRegistrationOutputsSchema,
2608
+ requestSchema: StripeTaxRegistrationPropsSchema,
2609
+ props,
2610
+ });
2611
+
2612
+ const resource: StripeTaxRegistrationResource =
2613
+ createStripeTaxRegistrationDeclaration(key, props, declaration.outputs);
2614
+
2615
+ return resource;
2616
+ },
2617
+ );
2618
+
2619
+ /**
2620
+ * The TaxRate declaration method registers a managed resource and its
2621
+ * dependencies for the stack to apply. Relationship fields accept compatible
2622
+ * resource entities before their applied values exist. The returned entity
2623
+ * exposes output values after apply through the stack that owns the declaration.
2624
+ */
2625
+ const TaxRate = Effect.fn("StripeResources.TaxRate")(function* (input: {
2626
+ readonly logicalId: string;
2627
+ readonly props: StripeTaxRatePropsEntity;
2628
+ }) {
2629
+ const key: ResourceKey = { logicalId: input.logicalId };
2630
+
2631
+ const declaration = yield* graph.resource(key);
2632
+
2633
+ const props = yield* Schema.decodeEffect(
2634
+ Schema.toType(StripeTaxRatePropsEntitySchema),
2635
+ )(input.props);
2636
+
2637
+ yield* declaration.register({
2638
+ propsSchema: StripeTaxRatePropsEntitySchema,
2639
+ outputsSchema: StripeTaxRateOutputsSchema,
2640
+ requestSchema: StripeTaxRatePropsSchema,
2641
+ props,
2642
+ });
2643
+
2644
+ const resource: StripeTaxRateResource = createStripeTaxRateDeclaration(
2645
+ key,
2646
+ props,
2647
+ declaration.outputs,
2648
+ );
2649
+
2650
+ return resource;
2651
+ });
2652
+
2653
+ /**
2654
+ * The TerminalConfiguration declaration method registers a managed resource and its
2655
+ * dependencies for the stack to apply. Relationship fields accept compatible
2656
+ * resource entities before their applied values exist. The returned entity
2657
+ * exposes output values after apply through the stack that owns the declaration.
2658
+ */
2659
+ const TerminalConfiguration = Effect.fn(
2660
+ "StripeResources.TerminalConfiguration",
2661
+ )(function* (input: {
2662
+ readonly logicalId: string;
2663
+ readonly props: StripeTerminalConfigurationPropsEntity;
2664
+ }) {
2665
+ const key: ResourceKey = { logicalId: input.logicalId };
2666
+
2667
+ const declaration = yield* graph.resource(key);
2668
+
2669
+ const props = yield* Schema.decodeEffect(
2670
+ Schema.toType(StripeTerminalConfigurationPropsEntitySchema),
2671
+ )(input.props);
2672
+
2673
+ yield* declaration.register({
2674
+ propsSchema: StripeTerminalConfigurationPropsEntitySchema,
2675
+ outputsSchema: StripeTerminalConfigurationOutputsSchema,
2676
+ requestSchema: StripeTerminalConfigurationPropsSchema,
2677
+ props,
2678
+ });
2679
+
2680
+ const resource: StripeTerminalConfigurationResource =
2681
+ createStripeTerminalConfigurationDeclaration(
2682
+ key,
2683
+ props,
2684
+ declaration.outputs,
2685
+ );
2686
+
2687
+ return resource;
2688
+ });
2689
+
2690
+ /**
2691
+ * The TerminalLocation declaration method registers a managed resource and its
2692
+ * dependencies for the stack to apply. Relationship fields accept compatible
2693
+ * resource entities before their applied values exist. The returned entity
2694
+ * exposes output values after apply through the stack that owns the declaration.
2695
+ */
2696
+ const TerminalLocation = Effect.fn("StripeResources.TerminalLocation")(
2697
+ function* (input: {
2698
+ readonly logicalId: string;
2699
+ readonly props: StripeTerminalLocationPropsEntity;
2700
+ }) {
2701
+ const key: ResourceKey = { logicalId: input.logicalId };
2702
+
2703
+ const declaration = yield* graph.resource(key);
2704
+
2705
+ const props = yield* Schema.decodeEffect(
2706
+ Schema.toType(StripeTerminalLocationPropsEntitySchema),
2707
+ )(input.props);
2708
+
2709
+ yield* declaration.register({
2710
+ propsSchema: StripeTerminalLocationPropsEntitySchema,
2711
+ outputsSchema: StripeTerminalLocationOutputsSchema,
2712
+ requestSchema: StripeTerminalLocationPropsSchema,
2713
+ props,
2714
+ });
2715
+
2716
+ const resource: StripeTerminalLocationResource =
2717
+ createStripeTerminalLocationDeclaration(
2718
+ key,
2719
+ props,
2720
+ declaration.outputs,
2721
+ );
2722
+
2723
+ return resource;
2724
+ },
2725
+ );
2726
+
2727
+ /**
2728
+ * The TerminalReader declaration method registers a managed resource and its
2729
+ * dependencies for the stack to apply. Relationship fields accept compatible
2730
+ * resource entities before their applied values exist. The returned entity
2731
+ * exposes output values after apply through the stack that owns the declaration.
2732
+ */
2733
+ const TerminalReader = Effect.fn("StripeResources.TerminalReader")(
2734
+ function* (input: {
2735
+ readonly logicalId: string;
2736
+ readonly props: StripeTerminalReaderPropsEntity;
2737
+ }) {
2738
+ const key: ResourceKey = { logicalId: input.logicalId };
2739
+
2740
+ const declaration = yield* graph.resource(key);
2741
+
2742
+ const props = yield* Schema.decodeEffect(
2743
+ Schema.toType(StripeTerminalReaderPropsEntitySchema),
2744
+ )(input.props);
2745
+
2746
+ yield* declaration.register({
2747
+ propsSchema: StripeTerminalReaderPropsEntitySchema,
2748
+ outputsSchema: StripeTerminalReaderOutputsSchema,
2749
+ requestSchema: StripeTerminalReaderPropsSchema,
2750
+ props,
2751
+ });
2752
+
2753
+ const resource: StripeTerminalReaderResource =
2754
+ createStripeTerminalReaderDeclaration(key, props, declaration.outputs);
2755
+
2756
+ return resource;
2757
+ },
2758
+ );
2759
+
2760
+ /**
2761
+ * The TestHelpersTestClock declaration method registers a managed resource and its
2762
+ * dependencies for the stack to apply. Relationship fields accept compatible
2763
+ * resource entities before their applied values exist. The returned entity
2764
+ * exposes output values after apply through the stack that owns the declaration.
2765
+ */
2766
+ const TestHelpersTestClock = Effect.fn(
2767
+ "StripeResources.TestHelpersTestClock",
2768
+ )(function* (input: {
2769
+ readonly logicalId: string;
2770
+ readonly props: StripeTestHelpersTestClockPropsEntity;
2771
+ }) {
2772
+ const key: ResourceKey = { logicalId: input.logicalId };
2773
+
2774
+ const declaration = yield* graph.resource(key);
2775
+
2776
+ const props = yield* Schema.decodeEffect(
2777
+ Schema.toType(StripeTestHelpersTestClockPropsEntitySchema),
2778
+ )(input.props);
2779
+
2780
+ yield* declaration.register({
2781
+ propsSchema: StripeTestHelpersTestClockPropsEntitySchema,
2782
+ outputsSchema: StripeTestHelpersTestClockOutputsSchema,
2783
+ requestSchema: StripeTestHelpersTestClockPropsSchema,
2784
+ props,
2785
+ });
2786
+
2787
+ const resource: StripeTestHelpersTestClockResource =
2788
+ createStripeTestHelpersTestClockDeclaration(
2789
+ key,
2790
+ props,
2791
+ declaration.outputs,
2792
+ );
2793
+
2794
+ return resource;
2795
+ });
2796
+
2797
+ /**
2798
+ * The ThreeDSecureAuthentication declaration method registers a managed resource and its
2799
+ * dependencies for the stack to apply. Relationship fields accept compatible
2800
+ * resource entities before their applied values exist. The returned entity
2801
+ * exposes output values after apply through the stack that owns the declaration.
2802
+ */
2803
+ const ThreeDSecureAuthentication = Effect.fn(
2804
+ "StripeResources.ThreeDSecureAuthentication",
2805
+ )(function* (input: {
2806
+ readonly logicalId: string;
2807
+ readonly props: StripeThreeDSecureAuthenticationPropsEntity;
2808
+ }) {
2809
+ const key: ResourceKey = { logicalId: input.logicalId };
2810
+
2811
+ const declaration = yield* graph.resource(key);
2812
+
2813
+ const props = yield* Schema.decodeEffect(
2814
+ Schema.toType(StripeThreeDSecureAuthenticationPropsEntitySchema),
2815
+ )(input.props);
2816
+
2817
+ yield* declaration.register({
2818
+ propsSchema: StripeThreeDSecureAuthenticationPropsEntitySchema,
2819
+ outputsSchema: StripeThreeDSecureAuthenticationOutputsSchema,
2820
+ requestSchema: StripeThreeDSecureAuthenticationPropsSchema,
2821
+ props,
2822
+ });
2823
+
2824
+ const resource: StripeThreeDSecureAuthenticationResource =
2825
+ createStripeThreeDSecureAuthenticationDeclaration(
2826
+ key,
2827
+ props,
2828
+ declaration.outputs,
2829
+ );
2830
+
2831
+ return resource;
2832
+ });
2833
+
2834
+ /**
2835
+ * The Token declaration method registers a managed resource and its
2836
+ * dependencies for the stack to apply. Relationship fields accept compatible
2837
+ * resource entities before their applied values exist. The returned entity
2838
+ * exposes output values after apply through the stack that owns the declaration.
2839
+ */
2840
+ const Token = Effect.fn("StripeResources.Token")(function* (input: {
2841
+ readonly logicalId: string;
2842
+ readonly props: StripeTokenPropsEntity;
2843
+ }) {
2844
+ const key: ResourceKey = { logicalId: input.logicalId };
2845
+
2846
+ const declaration = yield* graph.resource(key);
2847
+
2848
+ const props = yield* Schema.decodeEffect(
2849
+ Schema.toType(StripeTokenPropsEntitySchema),
2850
+ )(input.props);
2851
+
2852
+ yield* declaration.register({
2853
+ propsSchema: StripeTokenPropsEntitySchema,
2854
+ outputsSchema: StripeTokenOutputsSchema,
2855
+ requestSchema: StripeTokenPropsSchema,
2856
+ props,
2857
+ });
2858
+
2859
+ const resource: StripeTokenResource = createStripeTokenDeclaration(
2860
+ key,
2861
+ props,
2862
+ declaration.outputs,
2863
+ );
2864
+
2865
+ return resource;
2866
+ });
2867
+
2868
+ /**
2869
+ * The Topup declaration method registers a managed resource and its
2870
+ * dependencies for the stack to apply. Relationship fields accept compatible
2871
+ * resource entities before their applied values exist. The returned entity
2872
+ * exposes output values after apply through the stack that owns the declaration.
2873
+ */
2874
+ const Topup = Effect.fn("StripeResources.Topup")(function* (input: {
2875
+ readonly logicalId: string;
2876
+ readonly props: StripeTopupPropsEntity;
2877
+ }) {
2878
+ const key: ResourceKey = { logicalId: input.logicalId };
2879
+
2880
+ const declaration = yield* graph.resource(key);
2881
+
2882
+ const props = yield* Schema.decodeEffect(
2883
+ Schema.toType(StripeTopupPropsEntitySchema),
2884
+ )(input.props);
2885
+
2886
+ yield* declaration.register({
2887
+ propsSchema: StripeTopupPropsEntitySchema,
2888
+ outputsSchema: StripeTopupOutputsSchema,
2889
+ requestSchema: StripeTopupPropsSchema,
2890
+ props,
2891
+ });
2892
+
2893
+ const resource: StripeTopupResource = createStripeTopupDeclaration(
2894
+ key,
2895
+ props,
2896
+ declaration.outputs,
2897
+ );
2898
+
2899
+ return resource;
2900
+ });
2901
+
2902
+ /**
2903
+ * The Transfer declaration method registers a managed resource and its
2904
+ * dependencies for the stack to apply. Relationship fields accept compatible
2905
+ * resource entities before their applied values exist. The returned entity
2906
+ * exposes output values after apply through the stack that owns the declaration.
2907
+ */
2908
+ const Transfer = Effect.fn("StripeResources.Transfer")(function* (input: {
2909
+ readonly logicalId: string;
2910
+ readonly props: StripeTransferPropsEntity;
2911
+ }) {
2912
+ const key: ResourceKey = { logicalId: input.logicalId };
2913
+
2914
+ const declaration = yield* graph.resource(key);
2915
+
2916
+ const props = yield* Schema.decodeEffect(
2917
+ Schema.toType(StripeTransferPropsEntitySchema),
2918
+ )(input.props);
2919
+
2920
+ yield* declaration.register({
2921
+ propsSchema: StripeTransferPropsEntitySchema,
2922
+ outputsSchema: StripeTransferOutputsSchema,
2923
+ requestSchema: StripeTransferPropsSchema,
2924
+ props,
2925
+ });
2926
+
2927
+ const resource: StripeTransferResource = createStripeTransferDeclaration(
2928
+ key,
2929
+ props,
2930
+ declaration.outputs,
2931
+ );
2932
+
2933
+ return resource;
2934
+ });
2935
+
2936
+ /**
2937
+ * The TreasuryCreditReversal declaration method registers a managed resource and its
2938
+ * dependencies for the stack to apply. Relationship fields accept compatible
2939
+ * resource entities before their applied values exist. The returned entity
2940
+ * exposes output values after apply through the stack that owns the declaration.
2941
+ */
2942
+ const TreasuryCreditReversal = Effect.fn(
2943
+ "StripeResources.TreasuryCreditReversal",
2944
+ )(function* (input: {
2945
+ readonly logicalId: string;
2946
+ readonly props: StripeTreasuryCreditReversalPropsEntity;
2947
+ }) {
2948
+ const key: ResourceKey = { logicalId: input.logicalId };
2949
+
2950
+ const declaration = yield* graph.resource(key);
2951
+
2952
+ const props = yield* Schema.decodeEffect(
2953
+ Schema.toType(StripeTreasuryCreditReversalPropsEntitySchema),
2954
+ )(input.props);
2955
+
2956
+ yield* declaration.register({
2957
+ propsSchema: StripeTreasuryCreditReversalPropsEntitySchema,
2958
+ outputsSchema: StripeTreasuryCreditReversalOutputsSchema,
2959
+ requestSchema: StripeTreasuryCreditReversalPropsSchema,
2960
+ props,
2961
+ });
2962
+
2963
+ const resource: StripeTreasuryCreditReversalResource =
2964
+ createStripeTreasuryCreditReversalDeclaration(
2965
+ key,
2966
+ props,
2967
+ declaration.outputs,
2968
+ );
2969
+
2970
+ return resource;
2971
+ });
2972
+
2973
+ /**
2974
+ * The TreasuryDebitReversal declaration method registers a managed resource and its
2975
+ * dependencies for the stack to apply. Relationship fields accept compatible
2976
+ * resource entities before their applied values exist. The returned entity
2977
+ * exposes output values after apply through the stack that owns the declaration.
2978
+ */
2979
+ const TreasuryDebitReversal = Effect.fn(
2980
+ "StripeResources.TreasuryDebitReversal",
2981
+ )(function* (input: {
2982
+ readonly logicalId: string;
2983
+ readonly props: StripeTreasuryDebitReversalPropsEntity;
2984
+ }) {
2985
+ const key: ResourceKey = { logicalId: input.logicalId };
2986
+
2987
+ const declaration = yield* graph.resource(key);
2988
+
2989
+ const props = yield* Schema.decodeEffect(
2990
+ Schema.toType(StripeTreasuryDebitReversalPropsEntitySchema),
2991
+ )(input.props);
2992
+
2993
+ yield* declaration.register({
2994
+ propsSchema: StripeTreasuryDebitReversalPropsEntitySchema,
2995
+ outputsSchema: StripeTreasuryDebitReversalOutputsSchema,
2996
+ requestSchema: StripeTreasuryDebitReversalPropsSchema,
2997
+ props,
2998
+ });
2999
+
3000
+ const resource: StripeTreasuryDebitReversalResource =
3001
+ createStripeTreasuryDebitReversalDeclaration(
3002
+ key,
3003
+ props,
3004
+ declaration.outputs,
3005
+ );
3006
+
3007
+ return resource;
3008
+ });
3009
+
3010
+ /**
3011
+ * The TreasuryFinancialAccount declaration method registers a managed resource and its
3012
+ * dependencies for the stack to apply. Relationship fields accept compatible
3013
+ * resource entities before their applied values exist. The returned entity
3014
+ * exposes output values after apply through the stack that owns the declaration.
3015
+ */
3016
+ const TreasuryFinancialAccount = Effect.fn(
3017
+ "StripeResources.TreasuryFinancialAccount",
3018
+ )(function* (input: {
3019
+ readonly logicalId: string;
3020
+ readonly props: StripeTreasuryFinancialAccountPropsEntity;
3021
+ }) {
3022
+ const key: ResourceKey = { logicalId: input.logicalId };
3023
+
3024
+ const declaration = yield* graph.resource(key);
3025
+
3026
+ const props = yield* Schema.decodeEffect(
3027
+ Schema.toType(StripeTreasuryFinancialAccountPropsEntitySchema),
3028
+ )(input.props);
3029
+
3030
+ yield* declaration.register({
3031
+ propsSchema: StripeTreasuryFinancialAccountPropsEntitySchema,
3032
+ outputsSchema: StripeTreasuryFinancialAccountOutputsSchema,
3033
+ requestSchema: StripeTreasuryFinancialAccountPropsSchema,
3034
+ props,
3035
+ });
3036
+
3037
+ const resource: StripeTreasuryFinancialAccountResource =
3038
+ createStripeTreasuryFinancialAccountDeclaration(
3039
+ key,
3040
+ props,
3041
+ declaration.outputs,
3042
+ );
3043
+
3044
+ return resource;
3045
+ });
3046
+
3047
+ /**
3048
+ * The TreasuryInboundTransfer declaration method registers a managed resource and its
3049
+ * dependencies for the stack to apply. Relationship fields accept compatible
3050
+ * resource entities before their applied values exist. The returned entity
3051
+ * exposes output values after apply through the stack that owns the declaration.
3052
+ */
3053
+ const TreasuryInboundTransfer = Effect.fn(
3054
+ "StripeResources.TreasuryInboundTransfer",
3055
+ )(function* (input: {
3056
+ readonly logicalId: string;
3057
+ readonly props: StripeTreasuryInboundTransferPropsEntity;
3058
+ }) {
3059
+ const key: ResourceKey = { logicalId: input.logicalId };
3060
+
3061
+ const declaration = yield* graph.resource(key);
3062
+
3063
+ const props = yield* Schema.decodeEffect(
3064
+ Schema.toType(StripeTreasuryInboundTransferPropsEntitySchema),
3065
+ )(input.props);
3066
+
3067
+ yield* declaration.register({
3068
+ propsSchema: StripeTreasuryInboundTransferPropsEntitySchema,
3069
+ outputsSchema: StripeTreasuryInboundTransferOutputsSchema,
3070
+ requestSchema: StripeTreasuryInboundTransferPropsSchema,
3071
+ props,
3072
+ });
3073
+
3074
+ const resource: StripeTreasuryInboundTransferResource =
3075
+ createStripeTreasuryInboundTransferDeclaration(
3076
+ key,
3077
+ props,
3078
+ declaration.outputs,
3079
+ );
3080
+
3081
+ return resource;
3082
+ });
3083
+
3084
+ /**
3085
+ * The TreasuryOutboundPayment declaration method registers a managed resource and its
3086
+ * dependencies for the stack to apply. Relationship fields accept compatible
3087
+ * resource entities before their applied values exist. The returned entity
3088
+ * exposes output values after apply through the stack that owns the declaration.
3089
+ */
3090
+ const TreasuryOutboundPayment = Effect.fn(
3091
+ "StripeResources.TreasuryOutboundPayment",
3092
+ )(function* (input: {
3093
+ readonly logicalId: string;
3094
+ readonly props: StripeTreasuryOutboundPaymentPropsEntity;
3095
+ }) {
3096
+ const key: ResourceKey = { logicalId: input.logicalId };
3097
+
3098
+ const declaration = yield* graph.resource(key);
3099
+
3100
+ const props = yield* Schema.decodeEffect(
3101
+ Schema.toType(StripeTreasuryOutboundPaymentPropsEntitySchema),
3102
+ )(input.props);
3103
+
3104
+ yield* declaration.register({
3105
+ propsSchema: StripeTreasuryOutboundPaymentPropsEntitySchema,
3106
+ outputsSchema: StripeTreasuryOutboundPaymentOutputsSchema,
3107
+ requestSchema: StripeTreasuryOutboundPaymentPropsSchema,
3108
+ props,
3109
+ });
3110
+
3111
+ const resource: StripeTreasuryOutboundPaymentResource =
3112
+ createStripeTreasuryOutboundPaymentDeclaration(
3113
+ key,
3114
+ props,
3115
+ declaration.outputs,
3116
+ );
3117
+
3118
+ return resource;
3119
+ });
3120
+
3121
+ /**
3122
+ * The TreasuryOutboundTransfer declaration method registers a managed resource and its
3123
+ * dependencies for the stack to apply. Relationship fields accept compatible
3124
+ * resource entities before their applied values exist. The returned entity
3125
+ * exposes output values after apply through the stack that owns the declaration.
3126
+ */
3127
+ const TreasuryOutboundTransfer = Effect.fn(
3128
+ "StripeResources.TreasuryOutboundTransfer",
3129
+ )(function* (input: {
3130
+ readonly logicalId: string;
3131
+ readonly props: StripeTreasuryOutboundTransferPropsEntity;
3132
+ }) {
3133
+ const key: ResourceKey = { logicalId: input.logicalId };
3134
+
3135
+ const declaration = yield* graph.resource(key);
3136
+
3137
+ const props = yield* Schema.decodeEffect(
3138
+ Schema.toType(StripeTreasuryOutboundTransferPropsEntitySchema),
3139
+ )(input.props);
3140
+
3141
+ yield* declaration.register({
3142
+ propsSchema: StripeTreasuryOutboundTransferPropsEntitySchema,
3143
+ outputsSchema: StripeTreasuryOutboundTransferOutputsSchema,
3144
+ requestSchema: StripeTreasuryOutboundTransferPropsSchema,
3145
+ props,
3146
+ });
3147
+
3148
+ const resource: StripeTreasuryOutboundTransferResource =
3149
+ createStripeTreasuryOutboundTransferDeclaration(
3150
+ key,
3151
+ props,
3152
+ declaration.outputs,
3153
+ );
3154
+
3155
+ return resource;
3156
+ });
3157
+
3158
+ /**
3159
+ * The WebhookEndpoint declaration method registers a managed resource and its
3160
+ * dependencies for the stack to apply. Relationship fields accept compatible
3161
+ * resource entities before their applied values exist. The returned entity
3162
+ * exposes output values after apply through the stack that owns the declaration.
3163
+ */
3164
+ const WebhookEndpoint = Effect.fn("StripeResources.WebhookEndpoint")(
3165
+ function* (
3166
+ input: {
3167
+ readonly logicalId: string;
3168
+ readonly props: StripeWebhookEndpointDeclarationPropsEntity["endpoint"];
3169
+ } & Omit<StripeWebhookEndpointDeclarationPropsEntity, "endpoint">,
3170
+ ) {
3171
+ const key: ResourceKey = { logicalId: input.logicalId };
3172
+
3173
+ const declaration = yield* graph.resource(key);
3174
+
3175
+ const props = yield* Schema.decodeUnknownEffect(
3176
+ Schema.toType(StripeWebhookEndpointDeclarationPropsEntitySchema),
3177
+ )(
3178
+ Record.filter(
3179
+ {
3180
+ endpoint: input.props,
3181
+ rotationKey: input.rotationKey,
3182
+ },
3183
+ Predicate.isNotUndefined,
3184
+ ),
3185
+ );
3186
+
3187
+ yield* declaration.register({
3188
+ propsSchema: StripeWebhookEndpointDeclarationPropsEntitySchema,
3189
+ outputsSchema: StripeWebhookEndpointOutputsSchema,
3190
+ requestSchema: StripeWebhookEndpointDeclarationPropsSchema,
3191
+ props,
3192
+ });
3193
+
3194
+ const resource: StripeWebhookEndpointResource =
3195
+ createStripeWebhookEndpointDeclaration(key, props, declaration.outputs);
3196
+
3197
+ return resource;
3198
+ },
3199
+ );
3200
+
3201
+ /**
3202
+ * The ProductCatalogImport declaration method registers a managed resource and its
3203
+ * dependencies for the stack to apply. Relationship fields accept compatible
3204
+ * resource entities before their applied values exist. The returned entity
3205
+ * exposes output values after apply through the stack that owns the declaration.
3206
+ */
3207
+ const ProductCatalogImport = Effect.fn(
3208
+ "StripeResources.ProductCatalogImport",
3209
+ )(function* (input: {
3210
+ readonly logicalId: string;
3211
+ readonly props: StripeProductCatalogImportPropsEntity;
3212
+ }) {
3213
+ const key: ResourceKey = { logicalId: input.logicalId };
3214
+
3215
+ const declaration = yield* graph.resource(key);
3216
+
3217
+ const props = yield* Schema.decodeEffect(
3218
+ Schema.toType(StripeProductCatalogImportPropsEntitySchema),
3219
+ )(input.props);
3220
+
3221
+ yield* declaration.register({
3222
+ propsSchema: StripeProductCatalogImportPropsEntitySchema,
3223
+ outputsSchema: StripeProductCatalogImportOutputsSchema,
3224
+ requestSchema: StripeProductCatalogImportPropsSchema,
3225
+ props,
3226
+ });
3227
+
3228
+ const resource: StripeProductCatalogImportResource =
3229
+ createStripeProductCatalogImportDeclaration(
3230
+ key,
3231
+ props,
3232
+ declaration.outputs,
3233
+ );
3234
+
3235
+ return resource;
3236
+ });
3237
+
3238
+ /**
3239
+ * The AccountToken declaration method registers a managed resource and its
3240
+ * dependencies for the stack to apply. Relationship fields accept compatible
3241
+ * resource entities before their applied values exist. The returned entity
3242
+ * exposes output values after apply through the stack that owns the declaration.
3243
+ */
3244
+ const AccountToken = Effect.fn("StripeResources.AccountToken")(
3245
+ function* (input: {
3246
+ readonly logicalId: string;
3247
+ readonly props: StripeAccountTokenPropsEntity;
3248
+ }) {
3249
+ const key: ResourceKey = { logicalId: input.logicalId };
3250
+
3251
+ const declaration = yield* graph.resource(key);
3252
+
3253
+ const props = yield* Schema.decodeEffect(
3254
+ Schema.toType(StripeAccountTokenPropsEntitySchema),
3255
+ )(input.props);
3256
+
3257
+ yield* declaration.register({
3258
+ propsSchema: StripeAccountTokenPropsEntitySchema,
3259
+ outputsSchema: StripeAccountTokenOutputsSchema,
3260
+ requestSchema: StripeAccountTokenPropsSchema,
3261
+ props,
3262
+ });
3263
+
3264
+ const resource: StripeAccountTokenResource =
3265
+ createStripeAccountTokenDeclaration(key, props, declaration.outputs);
3266
+
3267
+ return resource;
3268
+ },
3269
+ );
3270
+
3271
+ /**
3272
+ * The Account declaration method registers a managed resource and its
3273
+ * dependencies for the stack to apply. Relationship fields accept compatible
3274
+ * resource entities before their applied values exist. The returned entity
3275
+ * exposes output values after apply through the stack that owns the declaration.
3276
+ */
3277
+ const Account = Effect.fn("StripeResources.Account")(function* (input: {
3278
+ readonly logicalId: string;
3279
+ readonly props: StripeAccountPropsEntity;
3280
+ }) {
3281
+ const key: ResourceKey = { logicalId: input.logicalId };
3282
+
3283
+ const declaration = yield* graph.resource(key);
3284
+
3285
+ const props = yield* Schema.decodeEffect(
3286
+ Schema.toType(StripeAccountPropsEntitySchema),
3287
+ )(input.props);
3288
+
3289
+ yield* declaration.register({
3290
+ propsSchema: StripeAccountPropsEntitySchema,
3291
+ outputsSchema: StripeAccountOutputsSchema,
3292
+ requestSchema: StripeAccountPropsSchema,
3293
+ props,
3294
+ });
3295
+
3296
+ const resource: StripeAccountResource = createStripeAccountDeclaration(
3297
+ key,
3298
+ props,
3299
+ declaration.outputs,
3300
+ );
3301
+
3302
+ return resource;
3303
+ });
3304
+
3305
+ /**
3306
+ * The EventDestination declaration method registers a managed resource and its
3307
+ * dependencies for the stack to apply. Relationship fields accept compatible
3308
+ * resource entities before their applied values exist. The returned entity
3309
+ * exposes output values after apply through the stack that owns the declaration.
3310
+ */
3311
+ const EventDestination = Effect.fn("StripeResources.EventDestination")(
3312
+ function* (input: {
3313
+ readonly logicalId: string;
3314
+ readonly props: StripeEventDestinationPropsEntity;
3315
+ }) {
3316
+ const key: ResourceKey = { logicalId: input.logicalId };
3317
+
3318
+ const declaration = yield* graph.resource(key);
3319
+
3320
+ const props = yield* Schema.decodeEffect(
3321
+ Schema.toType(StripeEventDestinationPropsEntitySchema),
3322
+ )(input.props);
3323
+
3324
+ yield* declaration.register({
3325
+ propsSchema: StripeEventDestinationPropsEntitySchema,
3326
+ outputsSchema: StripeEventDestinationOutputsSchema,
3327
+ requestSchema: StripeEventDestinationPropsSchema,
3328
+ props,
3329
+ });
3330
+
3331
+ const resource: StripeEventDestinationResource =
3332
+ createStripeEventDestinationDeclaration(
3333
+ key,
3334
+ props,
3335
+ declaration.outputs,
3336
+ );
3337
+
3338
+ return resource;
3339
+ },
3340
+ );
3341
+
3342
+ /**
3343
+ * The GBBankAccount declaration method registers a managed resource and its
3344
+ * dependencies for the stack to apply. Relationship fields accept compatible
3345
+ * resource entities before their applied values exist. The returned entity
3346
+ * exposes output values after apply through the stack that owns the declaration.
3347
+ */
3348
+ const GBBankAccount = Effect.fn("StripeResources.GBBankAccount")(
3349
+ function* (input: {
3350
+ readonly logicalId: string;
3351
+ readonly props: StripeGBBankAccountPropsEntity;
3352
+ }) {
3353
+ const key: ResourceKey = { logicalId: input.logicalId };
3354
+
3355
+ const declaration = yield* graph.resource(key);
3356
+
3357
+ const props = yield* Schema.decodeEffect(
3358
+ Schema.toType(StripeGBBankAccountPropsEntitySchema),
3359
+ )(input.props);
3360
+
3361
+ yield* declaration.register({
3362
+ propsSchema: StripeGBBankAccountPropsEntitySchema,
3363
+ outputsSchema: StripeGBBankAccountOutputsSchema,
3364
+ requestSchema: StripeGBBankAccountPropsSchema,
3365
+ props,
3366
+ });
3367
+
3368
+ const resource: StripeGBBankAccountResource =
3369
+ createStripeGBBankAccountDeclaration(key, props, declaration.outputs);
3370
+
3371
+ return resource;
3372
+ },
3373
+ );
3374
+
3375
+ /**
3376
+ * The USBankAccount declaration method registers a managed resource and its
3377
+ * dependencies for the stack to apply. Relationship fields accept compatible
3378
+ * resource entities before their applied values exist. The returned entity
3379
+ * exposes output values after apply through the stack that owns the declaration.
3380
+ */
3381
+ const USBankAccount = Effect.fn("StripeResources.USBankAccount")(
3382
+ function* (input: {
3383
+ readonly logicalId: string;
3384
+ readonly props: StripeUSBankAccountPropsEntity;
3385
+ }) {
3386
+ const key: ResourceKey = { logicalId: input.logicalId };
3387
+
3388
+ const declaration = yield* graph.resource(key);
3389
+
3390
+ const props = yield* Schema.decodeEffect(
3391
+ Schema.toType(StripeUSBankAccountPropsEntitySchema),
3392
+ )(input.props);
3393
+
3394
+ yield* declaration.register({
3395
+ propsSchema: StripeUSBankAccountPropsEntitySchema,
3396
+ outputsSchema: StripeUSBankAccountOutputsSchema,
3397
+ requestSchema: StripeUSBankAccountPropsSchema,
3398
+ props,
3399
+ });
3400
+
3401
+ const resource: StripeUSBankAccountResource =
3402
+ createStripeUSBankAccountDeclaration(key, props, declaration.outputs);
3403
+
3404
+ return resource;
3405
+ },
3406
+ );
3407
+
3408
+ /**
3409
+ * The FinancialAddress declaration method registers a managed resource and its
3410
+ * dependencies for the stack to apply. Relationship fields accept compatible
3411
+ * resource entities before their applied values exist. The returned entity
3412
+ * exposes output values after apply through the stack that owns the declaration.
3413
+ */
3414
+ const FinancialAddress = Effect.fn("StripeResources.FinancialAddress")(
3415
+ function* (input: {
3416
+ readonly logicalId: string;
3417
+ readonly props: StripeFinancialAddressPropsEntity;
3418
+ }) {
3419
+ const key: ResourceKey = { logicalId: input.logicalId };
3420
+
3421
+ const declaration = yield* graph.resource(key);
3422
+
3423
+ const props = yield* Schema.decodeEffect(
3424
+ Schema.toType(StripeFinancialAddressPropsEntitySchema),
3425
+ )(input.props);
3426
+
3427
+ yield* declaration.register({
3428
+ propsSchema: StripeFinancialAddressPropsEntitySchema,
3429
+ outputsSchema: StripeFinancialAddressOutputsSchema,
3430
+ requestSchema: StripeFinancialAddressPropsSchema,
3431
+ props,
3432
+ });
3433
+
3434
+ const resource: StripeFinancialAddressResource =
3435
+ createStripeFinancialAddressDeclaration(
3436
+ key,
3437
+ props,
3438
+ declaration.outputs,
3439
+ );
3440
+
3441
+ return resource;
3442
+ },
3443
+ );
3444
+
3445
+ /**
3446
+ * The InboundTransfer declaration method registers a managed resource and its
3447
+ * dependencies for the stack to apply. Relationship fields accept compatible
3448
+ * resource entities before their applied values exist. The returned entity
3449
+ * exposes output values after apply through the stack that owns the declaration.
3450
+ */
3451
+ const InboundTransfer = Effect.fn("StripeResources.InboundTransfer")(
3452
+ function* (input: {
3453
+ readonly logicalId: string;
3454
+ readonly props: StripeInboundTransferPropsEntity;
3455
+ }) {
3456
+ const key: ResourceKey = { logicalId: input.logicalId };
3457
+
3458
+ const declaration = yield* graph.resource(key);
3459
+
3460
+ const props = yield* Schema.decodeEffect(
3461
+ Schema.toType(StripeInboundTransferPropsEntitySchema),
3462
+ )(input.props);
3463
+
3464
+ yield* declaration.register({
3465
+ propsSchema: StripeInboundTransferPropsEntitySchema,
3466
+ outputsSchema: StripeInboundTransferOutputsSchema,
3467
+ requestSchema: StripeInboundTransferPropsSchema,
3468
+ props,
3469
+ });
3470
+
3471
+ const resource: StripeInboundTransferResource =
3472
+ createStripeInboundTransferDeclaration(key, props, declaration.outputs);
3473
+
3474
+ return resource;
3475
+ },
3476
+ );
3477
+
3478
+ /**
3479
+ * The OutboundPayment declaration method registers a managed resource and its
3480
+ * dependencies for the stack to apply. Relationship fields accept compatible
3481
+ * resource entities before their applied values exist. The returned entity
3482
+ * exposes output values after apply through the stack that owns the declaration.
3483
+ */
3484
+ const OutboundPayment = Effect.fn("StripeResources.OutboundPayment")(
3485
+ function* (input: {
3486
+ readonly logicalId: string;
3487
+ readonly props: StripeOutboundPaymentPropsEntity;
3488
+ }) {
3489
+ const key: ResourceKey = { logicalId: input.logicalId };
3490
+
3491
+ const declaration = yield* graph.resource(key);
3492
+
3493
+ const props = yield* Schema.decodeEffect(
3494
+ Schema.toType(StripeOutboundPaymentPropsEntitySchema),
3495
+ )(input.props);
3496
+
3497
+ yield* declaration.register({
3498
+ propsSchema: StripeOutboundPaymentPropsEntitySchema,
3499
+ outputsSchema: StripeOutboundPaymentOutputsSchema,
3500
+ requestSchema: StripeOutboundPaymentPropsSchema,
3501
+ props,
3502
+ });
3503
+
3504
+ const resource: StripeOutboundPaymentResource =
3505
+ createStripeOutboundPaymentDeclaration(key, props, declaration.outputs);
3506
+
3507
+ return resource;
3508
+ },
3509
+ );
3510
+
3511
+ /**
3512
+ * The OutboundSetupIntent declaration method registers a managed resource and its
3513
+ * dependencies for the stack to apply. Relationship fields accept compatible
3514
+ * resource entities before their applied values exist. The returned entity
3515
+ * exposes output values after apply through the stack that owns the declaration.
3516
+ */
3517
+ const OutboundSetupIntent = Effect.fn("StripeResources.OutboundSetupIntent")(
3518
+ function* (input: {
3519
+ readonly logicalId: string;
3520
+ readonly props: StripeOutboundSetupIntentPropsEntity;
3521
+ }) {
3522
+ const key: ResourceKey = { logicalId: input.logicalId };
3523
+
3524
+ const declaration = yield* graph.resource(key);
3525
+
3526
+ const props = yield* Schema.decodeEffect(
3527
+ Schema.toType(StripeOutboundSetupIntentPropsEntitySchema),
3528
+ )(input.props);
3529
+
3530
+ yield* declaration.register({
3531
+ propsSchema: StripeOutboundSetupIntentPropsEntitySchema,
3532
+ outputsSchema: StripeOutboundSetupIntentOutputsSchema,
3533
+ requestSchema: StripeOutboundSetupIntentPropsSchema,
3534
+ props,
3535
+ });
3536
+
3537
+ const resource: StripeOutboundSetupIntentResource =
3538
+ createStripeOutboundSetupIntentDeclaration(
3539
+ key,
3540
+ props,
3541
+ declaration.outputs,
3542
+ );
3543
+
3544
+ return resource;
3545
+ },
3546
+ );
3547
+
3548
+ /**
3549
+ * The PayoutIntent declaration method registers a managed resource and its
3550
+ * dependencies for the stack to apply. Relationship fields accept compatible
3551
+ * resource entities before their applied values exist. The returned entity
3552
+ * exposes output values after apply through the stack that owns the declaration.
3553
+ */
3554
+ const PayoutIntent = Effect.fn("StripeResources.PayoutIntent")(
3555
+ function* (input: {
3556
+ readonly logicalId: string;
3557
+ readonly props: StripePayoutIntentPropsEntity;
3558
+ }) {
3559
+ const key: ResourceKey = { logicalId: input.logicalId };
3560
+
3561
+ const declaration = yield* graph.resource(key);
3562
+
3563
+ const props = yield* Schema.decodeEffect(
3564
+ Schema.toType(StripePayoutIntentPropsEntitySchema),
3565
+ )(input.props);
3566
+
3567
+ yield* declaration.register({
3568
+ propsSchema: StripePayoutIntentPropsEntitySchema,
3569
+ outputsSchema: StripePayoutIntentOutputsSchema,
3570
+ requestSchema: StripePayoutIntentPropsSchema,
3571
+ props,
3572
+ });
3573
+
3574
+ const resource: StripePayoutIntentResource =
3575
+ createStripePayoutIntentDeclaration(key, props, declaration.outputs);
3576
+
3577
+ return resource;
3578
+ },
3579
+ );
3580
+
3581
+ /**
3582
+ * The RecipientVerification declaration method registers a managed resource and its
3583
+ * dependencies for the stack to apply. Relationship fields accept compatible
3584
+ * resource entities before their applied values exist. The returned entity
3585
+ * exposes output values after apply through the stack that owns the declaration.
3586
+ */
3587
+ const RecipientVerification = Effect.fn(
3588
+ "StripeResources.RecipientVerification",
3589
+ )(function* (input: {
3590
+ readonly logicalId: string;
3591
+ readonly props: StripeRecipientVerificationPropsEntity;
3592
+ }) {
3593
+ const key: ResourceKey = { logicalId: input.logicalId };
3594
+
3595
+ const declaration = yield* graph.resource(key);
3596
+
3597
+ const props = yield* Schema.decodeEffect(
3598
+ Schema.toType(StripeRecipientVerificationPropsEntitySchema),
3599
+ )(input.props);
3600
+
3601
+ yield* declaration.register({
3602
+ propsSchema: StripeRecipientVerificationPropsEntitySchema,
3603
+ outputsSchema: StripeRecipientVerificationOutputsSchema,
3604
+ requestSchema: StripeRecipientVerificationPropsSchema,
3605
+ props,
3606
+ });
3607
+
3608
+ const resource: StripeRecipientVerificationResource =
3609
+ createStripeRecipientVerificationDeclaration(
3610
+ key,
3611
+ props,
3612
+ declaration.outputs,
3613
+ );
3614
+
3615
+ return resource;
3616
+ });
3617
+
3618
+ /**
3619
+ * The BillingConfigurationExport declaration method registers a managed resource and its
3620
+ * dependencies for the stack to apply. Relationship fields accept compatible
3621
+ * resource entities before their applied values exist. The returned entity
3622
+ * exposes output values after apply through the stack that owns the declaration.
3623
+ */
3624
+ const BillingConfigurationExport = Effect.fn(
3625
+ "StripeResources.BillingConfigurationExport",
3626
+ )(function* (input: {
3627
+ readonly logicalId: string;
3628
+ readonly props: StripeBillingConfigurationExportPropsEntity;
3629
+ }) {
3630
+ const key: ResourceKey = { logicalId: input.logicalId };
3631
+
3632
+ const declaration = yield* graph.resource(key);
3633
+
3634
+ const props = yield* Schema.decodeEffect(
3635
+ Schema.toType(StripeBillingConfigurationExportPropsEntitySchema),
3636
+ )(input.props);
3637
+
3638
+ yield* declaration.register({
3639
+ propsSchema: StripeBillingConfigurationExportPropsEntitySchema,
3640
+ outputsSchema: StripeBillingConfigurationExportOutputsSchema,
3641
+ requestSchema: StripeBillingConfigurationExportPropsSchema,
3642
+ props,
3643
+ });
3644
+
3645
+ const resource: StripeBillingConfigurationExportResource =
3646
+ createStripeBillingConfigurationExportDeclaration(
3647
+ key,
3648
+ props,
3649
+ declaration.outputs,
3650
+ );
3651
+
3652
+ return resource;
3653
+ });
3654
+
3655
+ return {
3656
+ V1Account,
3657
+ BankAccount,
3658
+ Card,
3659
+ ApplePayDomain,
3660
+ AppsInstall,
3661
+ BillingAlert,
3662
+ BillingCreditGrant,
3663
+ BillingFeedbackOption,
3664
+ BillingMeter,
3665
+ BillingPortalConfiguration,
3666
+ Charge,
3667
+ Refund,
3668
+ CheckoutSession,
3669
+ ClimateOrder,
3670
+ Coupon,
3671
+ CreditNote,
3672
+ Customer,
3673
+ Subscription,
3674
+ TaxId,
3675
+ EntitlementsFeature,
3676
+ FileLink,
3677
+ FinancialConnectionsSession,
3678
+ ForwardingRequest,
3679
+ IdentityVerificationSession,
3680
+ Invoiceitem,
3681
+ Invoice,
3682
+ IssuingCardholder,
3683
+ IssuingCard,
3684
+ IssuingDispute,
3685
+ IssuingPersonalizationDesign,
3686
+ PaymentIntent,
3687
+ PaymentLink,
3688
+ PaymentMethodConfiguration,
3689
+ PaymentMethodDomain,
3690
+ PaymentMethod,
3691
+ Payout,
3692
+ Plan,
3693
+ Price,
3694
+ ProductCatalogTrialOffer,
3695
+ Product,
3696
+ PromotionCode,
3697
+ Quote,
3698
+ RadarValueListItem,
3699
+ RadarValueList,
3700
+ ReportingReportRun,
3701
+ SetupIntent,
3702
+ ShippingRate,
3703
+ Source,
3704
+ SubscriptionItem,
3705
+ SubscriptionSchedule,
3706
+ TaxLocation,
3707
+ TaxRegistration,
3708
+ TaxRate,
3709
+ TerminalConfiguration,
3710
+ TerminalLocation,
3711
+ TerminalReader,
3712
+ TestHelpersTestClock,
3713
+ ThreeDSecureAuthentication,
3714
+ Token,
3715
+ Topup,
3716
+ Transfer,
3717
+ TreasuryCreditReversal,
3718
+ TreasuryDebitReversal,
3719
+ TreasuryFinancialAccount,
3720
+ TreasuryInboundTransfer,
3721
+ TreasuryOutboundPayment,
3722
+ TreasuryOutboundTransfer,
3723
+ WebhookEndpoint,
3724
+ ProductCatalogImport,
3725
+ AccountToken,
3726
+ Account,
3727
+ EventDestination,
3728
+ GBBankAccount,
3729
+ USBankAccount,
3730
+ FinancialAddress,
3731
+ InboundTransfer,
3732
+ OutboundPayment,
3733
+ OutboundSetupIntent,
3734
+ PayoutIntent,
3735
+ RecipientVerification,
3736
+ BillingConfigurationExport,
3737
+ };
3738
+ });