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,285 @@
1
+ # Generation and resource execution
2
+
3
+ ## Provider definitions and application resources
4
+
5
+ Nomoss compiles provider definitions into typed resource declarations and clients. Application code passes related entities directly to provider.Resource(props). The relationship schema determines which entities are valid and which of their saved outputs supply the provider request.
6
+
7
+ A declaration returns its entity before the remote object exists. Core records the dependency and resolves the reference in the shared runtime. The contract applies across providers and inside nested objects and arrays, so a reference still identifies its source after replacement or recovery.
8
+
9
+ CloudFormation Registry defines which AWS properties an application controls and which identify a resource instance. For Stripe, discovery pairs a creation operation with a read that accepts the returned id. Source configuration supplies the application namespace and webhook exceptions. Both declaration validation and the selected request follow the provider's constraints. [source configuration](../../tools/stripe/openapi-source.json)
10
+
11
+ ## AWS resource declarations and operation clients
12
+
13
+ CloudFormation Registry defines a resource's properties, identity, and changes that require replacement. Smithy defines the service operations and their errors. Nomoss verifies the revision and checksum of the Registry definitions and service models selected in the manifests. The [native AWS generator procedure](../../tools/awsServiceResources/README.md) explains how to select and regenerate those inputs.
14
+
15
+ The declaration generator uses the Registry schema and imported relationships to produce a function that accepts resource properties. The function registers the resource with its logical ID and returns an entity that other declarations can reference before the provider assigns an ID.
16
+
17
+ Each resolved relationship identifies which output supplies a dependent property. Core records the dependency, waits for the source to apply, and supplies the validated output to the dependent request. The Registry still governs the resolved property value. The [resource graph contract](resource-graph.md) explains how references work across resources and providers.
18
+
19
+ The client generator uses Smithy to produce typed operations. A resource can have a declaration and client operations before Nomoss supports its lifecycle. See the [AWS coverage reference](aws-resource-coverage.md) for current support.
20
+
21
+ ## Provider contracts and resource metadata
22
+
23
+ Generation checks imported relationship metadata and lifecycle hints against the original Registry schemas. Corrections affect temporary import files. Generated validators use the original definitions so an alternative omitted by the importer remains valid. Import diagnostics identify corrections and unresolved relationships.
24
+
25
+ Stripe supplies OpenAPI directly. Nomoss converts AWS Smithy models to OpenAPI. The Stripe generator verifies the pinned specification and checks the expected source value for each correction. Resource metadata and client contracts derive from the same corrected document so declarations and requests enforce the same constraints.
26
+
27
+ Each resolved relationship names its allowed resource types and maps their applied outputs to request properties. Core uses that information to validate the entity and prepare the request. If discovery lacks a target or a required output, the catalog records the source location and reason. The relationship stays unresolved until that information exists.
28
+
29
+ ### AWS generation
30
+
31
+ <!-- The diagrams embed the theme colors so Markdown can render them independently of the website stylesheet. -->
32
+
33
+ AWS declarations obtain their properties from Registry schemas and their relationships from imported metadata. Operation clients use Smithy models. Both generators compile validation through Effect and preserve their metadata when they generate TypeScript.
34
+
35
+ #### Resource declarations
36
+
37
+ ```mermaid
38
+ ---
39
+ config:
40
+ theme: base
41
+ look: classic
42
+ fontFamily: "system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif"
43
+ themeVariables:
44
+ background: "#fafafa"
45
+ fontFamily: "system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif"
46
+ textColor: "#1e40af"
47
+ lineColor: "#757575"
48
+ edgeLabelBackground: "#fafafa"
49
+ themeCSS: |
50
+ .node *, .edgePath * { filter: none !important; box-shadow: none !important; }
51
+ ---
52
+ flowchart TB
53
+ Sources["Verified Registry schemas<br/>and AWS relationship records"] --> ResourceSchemas["Compile properties and outputs<br/>with imported relationships"]
54
+ ResourceSchemas --> ResourceGeneration["Generate declarations<br/>through TypeScript AST operations"]
55
+ ResourceGeneration --> ResourceModules["Generated AWS resource entities<br/>and schema registrations"]
56
+
57
+ classDef default fill:#eff6ff,stroke:#1d4ed8,color:#172554,stroke-width:1px
58
+ classDef data fill:#ecfdf5,stroke:#022c22,color:#022c22,stroke-width:1px
59
+ classDef decision fill:#fffbeb,stroke:#451a03,color:#451a03,stroke-width:1px
60
+ classDef failure fill:#fef2f2,stroke:#450a0a,color:#450a0a,stroke-width:1px
61
+ class Sources,ResourceModules data
62
+ linkStyle default stroke:#757575,stroke-width:2.5px
63
+ ```
64
+
65
+ #### API clients
66
+
67
+ ```mermaid
68
+ ---
69
+ config:
70
+ theme: base
71
+ look: classic
72
+ fontFamily: "system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif"
73
+ themeVariables:
74
+ background: "#fafafa"
75
+ fontFamily: "system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif"
76
+ textColor: "#1e40af"
77
+ lineColor: "#757575"
78
+ edgeLabelBackground: "#fafafa"
79
+ themeCSS: |
80
+ .node *, .edgePath * { filter: none !important; box-shadow: none !important; }
81
+ ---
82
+ flowchart TB
83
+ Smithy["Verified Smithy models"] --> Conversion["Convert to OpenAPI<br/>and retain protocol metadata"]
84
+ Conversion --> ClientSchemas["Compile request and response schemas<br/>through Effect"]
85
+ ClientSchemas --> ClientGeneration["Generate client methods<br/>through TypeScript AST operations"]
86
+ ClientGeneration --> ClientModules["Generated AWS API clients"]
87
+
88
+ classDef default fill:#eff6ff,stroke:#1d4ed8,color:#172554,stroke-width:1px
89
+ classDef data fill:#ecfdf5,stroke:#022c22,color:#022c22,stroke-width:1px
90
+ classDef decision fill:#fffbeb,stroke:#451a03,color:#451a03,stroke-width:1px
91
+ classDef failure fill:#fef2f2,stroke:#450a0a,color:#450a0a,stroke-width:1px
92
+ class Smithy,ClientModules data
93
+ linkStyle default stroke:#757575,stroke-width:2.5px
94
+ ```
95
+
96
+ The [AWS client generator](../../tools/awsServiceResources/operationGeneration.ts) retains protocol and request metadata alongside the compiled schemas. The [AWS declaration generator](../../tools/awsServiceResources/resourceDeclarations.ts) retains resource identity and relationship mappings. Registry property constraints continue to come from the original schemas.
97
+
98
+ ### Stripe generation
99
+
100
+ Stripe uses the corrected operation catalog for client generation and resource discovery. Checked hints select resource operations and supply decisions that the specification leaves unresolved. The [Stripe generator](../../tools/stripe/generator/stripeClientGenerator.ts) carries those operation bindings and relationship mappings into the generated modules.
101
+
102
+ ```mermaid
103
+ ---
104
+ config:
105
+ theme: base
106
+ look: classic
107
+ fontFamily: "system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif"
108
+ themeVariables:
109
+ background: "#fafafa"
110
+ fontFamily: "system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif"
111
+ textColor: "#1e40af"
112
+ lineColor: "#757575"
113
+ edgeLabelBackground: "#fafafa"
114
+ themeCSS: |
115
+ .node *, .edgePath * { filter: none !important; box-shadow: none !important; }
116
+ ---
117
+ flowchart TB
118
+ Specification["Verified and corrected<br/>Stripe OpenAPI specification"] --> Catalog["Build the operation catalog"]
119
+ Catalog --> ClientSchemas["Compile request and response schemas<br/>through Effect"]
120
+ ClientSchemas --> ClientGeneration["Generate client methods<br/>through TypeScript AST operations"]
121
+ ClientGeneration --> ClientModules["Generated Stripe API clients"]
122
+ Catalog --> Discovery["Discover resources<br/>and resolve relationships"]
123
+ Hints["Checked resource hints"] --> Discovery
124
+ Discovery --> ResourceSchemas["Compile resource properties<br/>and output schemas through Effect"]
125
+ ResourceSchemas --> ResourceGeneration["Generate declarations<br/>through TypeScript AST operations"]
126
+ ResourceGeneration --> ResourceModules["Generated Stripe resource entities<br/>and schema registrations"]
127
+
128
+ classDef default fill:#eff6ff,stroke:#1d4ed8,color:#172554,stroke-width:1px
129
+ classDef data fill:#ecfdf5,stroke:#022c22,color:#022c22,stroke-width:1px
130
+ classDef decision fill:#fffbeb,stroke:#451a03,color:#451a03,stroke-width:1px
131
+ classDef failure fill:#fef2f2,stroke:#450a0a,color:#450a0a,stroke-width:1px
132
+ class Specification,ClientModules,ResourceModules data
133
+ class Hints decision
134
+ linkStyle default stroke:#757575,stroke-width:2.5px
135
+ ```
136
+
137
+ ### Resource identity and lifecycle support
138
+
139
+ Registry defines AWS resource identity and property classifications. Smithy supplies operation contracts for native policies. A declaration can execute only when the runtime supplies a policy for its type.
140
+
141
+ Local declarations compile the selected fields directly from their canonical Effect schemas to preserve application validation. A local file resource saves its output path as its identity for later reads.
142
+
143
+ ## Discovery through the schema graph
144
+
145
+ The catalog retains array items, alternatives, and expansion targets from the source schema graph. Recursive references point to their original definitions. Each operation binding and relationship records where its request parameters and response fields came from. [OpenApiResourceGraph type](../../tools/codegen/resourceDiscoverySchemas.ts)
146
+
147
+ ```mermaid
148
+ ---
149
+ config:
150
+ theme: base
151
+ look: classic
152
+ fontFamily: "system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif"
153
+ themeVariables:
154
+ background: "#fafafa"
155
+ fontFamily: "system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif"
156
+ textColor: "#1e40af"
157
+ lineColor: "#757575"
158
+ edgeLabelBackground: "#fafafa"
159
+ themeCSS: |
160
+ .node *, .edgePath * { filter: none !important; box-shadow: none !important; }
161
+ ---
162
+ flowchart TB
163
+ Catalog["Corrected Stripe operation catalog"] --> Graph["Build the schema graph"]
164
+ Graph --> Candidates["Find collection creation and item reads"]
165
+ Graph --> Relationships["Follow matching property paths<br/>and response expansion targets"]
166
+ Candidates --> Resources["Prepare resource definitions<br/>and operation bindings"]
167
+ Relationships --> Resources
168
+ Hints["Checked resource hints"] --> Resources
169
+ Resources --> Definitions["Resource catalog<br/>with source references"]
170
+ Resources --> Issues["Retain unresolved relationships<br/>and operation issues"]
171
+ Resources -->|"unmatched hints or conflicting resource types"| Failure["Reject generation<br/>with ResourceSourceInvalid"]
172
+
173
+ classDef default fill:#eff6ff,stroke:#1d4ed8,color:#172554,stroke-width:1px
174
+ classDef data fill:#ecfdf5,stroke:#022c22,color:#022c22,stroke-width:1px
175
+ classDef decision fill:#fffbeb,stroke:#451a03,color:#451a03,stroke-width:1px
176
+ classDef failure fill:#fef2f2,stroke:#450a0a,color:#450a0a,stroke-width:1px
177
+ class Catalog,Definitions data
178
+ class Hints,Issues decision
179
+ class Failure failure
180
+ linkStyle default stroke:#757575,stroke-width:2.5px
181
+ ```
182
+
183
+ Unresolved relationships and operation issues remain available in the prepared catalog for inspection. An unmatched hint or conflicting resource type produces ResourceSourceInvalid and stops generation. The [resource catalog service](../../tools/codegen/resourceCatalogs.ts) preserves these outcomes so incomplete mappings remain visible.
184
+
185
+ Discovery pairs collection creation with an item read when their paths match and both return the same named schema with a required string id. The catalog records the creation schema and maps its returned identity to the read parameter, such as customer. When several pairs qualify, a hint selects one.
186
+
187
+ Discovery compares request and response paths through objects and arrays. Stripe's response expansion metadata identifies the allowed target types. The catalog retains every alternative and identifies targets with unresolved identity. A difference in property name or structure leaves the relationship unresolved until another source establishes it.
188
+
189
+ Output names remain compatible with saved records. Source titles and service namespaces distinguish versions that share a resource name. A retention hint names a required output that creation supplies but later reads can omit. For Stripe webhooks, Nomoss retains WebhookSigningSecret and validates it against Stripe's schema.
190
+
191
+ ## Generate lifecycle operations
192
+
193
+ The corrected specification governs request and response validation. A hint selects among candidate operations or defines a removal action the source leaves open. For Product, removal deactivates the object in Stripe. Its hint selects the update operation and supplies active: false, a value subject to the update request schema.
194
+
195
+ The schema compiler preserves the selected operation's input, response, and failure types. Callers can validate requests and handle declared failures. Effect infers each service's errors and dependencies from the application Layer graph that supplies them.
196
+
197
+ Shared services execute resource lifecycle operations from generated configuration. During replacement, Nomoss records each successful creation or removal before the next step. A retry can then resume with the correct owned objects and retained outputs. Dependent references resolve to the successor. Some lifecycle decisions still require handwritten policies. [resource lifecycle requirements](resource-operations.md)
198
+
199
+ A declaration can contain local lifecycle properties alongside its provider request. Generated configuration selects the request field and can name configuration entries for URL credentials. The shared service applies credentials only to outgoing requests. Saved declarations retain the original application URL.
200
+
201
+ ## Provider directory organization
202
+
203
+ AWS publishes one client package per service from [providers/aws/generated/clients](../../providers/aws/generated/clients/). Nomoss uses those packages to make AWS calls during stack operations. The [AWS provider guide](../../providers/aws/README.md) shows where to change a service's client, resource declarations, or lifecycle. See the [resource management development guide](../development/effect-native-development.md#develop-resource-management) for the requirements for definitions and type-based resolution.
204
+
205
+ A change to the provider directory layout preserves public imports, saved command identities, and output names. Generator imports and native schema registrations use the new locations, as do examples and fixtures. Regeneration and application execution thus use the same contracts.
206
+
207
+ A generated definition can replace handwritten code once the shared lifecycle handles the same requests, results, and failures. Keep provider decisions that still need code with the operation that owns them.
208
+
209
+ An integration case follows the managed object through its provider result, saved identity, and dependent outputs. It exercises recovery after failure and confirms removal at teardown. Review identifies which handwritten policies and overrides the generated operation replaces.
210
+
211
+ ## Declare resources, execute commands, and save state
212
+
213
+ Provider resource functions validate declarations and register canonical schemas internally. A declaration returns a typed entity with a stable identity before any provider mutation. Relationship properties accept compatible entities. Ordinary properties keep their provider constraints, and applications can read applied outputs directly.
214
+
215
+ A create or update uses one application Layer graph from declaration through output evaluation. The stack operations service owns the reviewed plan. The lifecycle service resolves dependencies and persists completed actions. If saved state changes after review, execution requires a new plan before it can change any provider resource. [stack operations service](../../src/core/stack/resourceStackOperations.ts) · [lifecycle service](../../src/core/stack/resourceStackLifecycle.ts)
216
+
217
+ ```mermaid
218
+ ---
219
+ config:
220
+ theme: base
221
+ look: classic
222
+ fontFamily: "system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif"
223
+ themeVariables:
224
+ background: "#fafafa"
225
+ fontFamily: "system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif"
226
+ textColor: "#1e40af"
227
+ lineColor: "#757575"
228
+ edgeLabelBackground: "#fafafa"
229
+ themeCSS: |
230
+ .node *, .edgePath * { filter: none !important; box-shadow: none !important; }
231
+ ---
232
+ flowchart TB
233
+ Application["Declare resources,<br/>relationships and local assets"] --> Graph["Register schemas<br/>and capture the resource graph"]
234
+ Graph --> Planning["Prepare local assets<br/>and select resource actions"]
235
+ State[("Saved resource state")] --> Planning
236
+ Planning --> Review["Review the plan"]
237
+ Review --> Apply["Check that saved state still matches<br/>and execute by dependency order"]
238
+ Apply --> Resolve["Resolve relationship values<br/>and validate each request"]
239
+ Resolve --> Required{"Provider work required?"}
240
+ Required -->|"yes"| Policy["Run the registered resource policy<br/>through its provider client"]
241
+ Policy --> Confirm["Confirm the provider result<br/>and validate returned outputs"]
242
+ Required -->|"unchanged update"| Retain["Retain the saved provider instance"]
243
+ Confirm --> Persist["Save the completed action"]
244
+ Retain --> Persist
245
+ Persist --> State
246
+ Persist --> Events["Publish the actual execution outcome"]
247
+ Events --> Progress["Render progress<br/>and accumulate completed outcomes"]
248
+ Persist -->|"after all actions finish"| Outputs["Evaluate application outputs"]
249
+ Progress --> Summary["Drain progress events<br/>and print duration and resource totals"]
250
+ Outputs --> Summary
251
+
252
+ classDef default fill:#eff6ff,stroke:#1d4ed8,color:#172554,stroke-width:1px
253
+ classDef data fill:#ecfdf5,stroke:#022c22,color:#022c22,stroke-width:1px
254
+ classDef decision fill:#fffbeb,stroke:#451a03,color:#451a03,stroke-width:1px
255
+ classDef failure fill:#fef2f2,stroke:#450a0a,color:#450a0a,stroke-width:1px
256
+ class Application,State,Outputs,Summary data
257
+ class Review,Required decision
258
+ linkStyle default stroke:#757575,stroke-width:2.5px
259
+ ```
260
+
261
+ Core prepares each declared asset when it constructs the plan. The Assets service builds or packages the source, records its SHA-256 digest in the resource properties, and retains the bytes for apply in the same runtime. A later edit requires a new plan to deploy the changed source. State inspection and deletion require no local build. [Assets service](../../src/core/asset.ts)
262
+
263
+ The dispatcher selects the resource policy from its registered metadata. AWS policies call generated service clients. Stripe policies call generated clients or native local resource operations. Each policy translates the declaration and determines when the provider operation has completed. [provider dispatcher](../../src/providers/resourceCommandPolicyLayer.ts)
264
+
265
+ The live renderer counts actual outcomes. If a dependent request resolves to its saved inputs, the resource counts as unchanged. After the application evaluates its outputs, the renderer writes the final events and totals. The timer starts after the plan and builds are complete and stops after the last progress write. [live renderer](../../src/core/stack/stackWorkflowRenderer.ts) · [CLI workflow](cli-workflow.md)
266
+
267
+ Core checks each entity's registered source and allowed type. It saves a serializable reference and request mapping, with the source properties in their own record. The reference identifies the source after a reload, replacement, or failed apply. [resource graph contract](resource-graph.md)
268
+
269
+ Apply waits for each source and resolves the dependent request from validated applied state. The mapping can require several outputs or a structured value. The dependent mutation proceeds only when the source exists, has a compatible type, and supplies values that satisfy the complete operation schema.
270
+
271
+ Resource clients, lifecycle services, and output reads share the application's provider configuration and schema registry. A policy interprets a response as an observation. ResourceModel validates its outputs and identity before persistence. An identity mismatch fails the read and preserves the previous record.
272
+
273
+ The registered policy determines which commands a resource supports. An explicit policy takes precedence over a generated registration for the same type. An unsupported command fails before any provider request. A declaration can therefore exist even if updates or removal still need an explicit policy.
274
+
275
+ When Stripe omits a webhook signing secret, Nomoss retains the saved value only after ResourceModel verifies the response identity. The currently registered output schema validates older records. Public output names stay compatible with those records.
276
+
277
+ The published catalog has one entry per resource type. Source references identify its creation operation, relationships, outputs, and other operation bindings. Request schemas and their shared components have one authoritative definition in the corrected provider document. [resource catalog](../../src/providers/stripe/client/generated/resourceCatalog.ts)
278
+
279
+ ## Current limits and acceptance
280
+
281
+ Generated Stripe declarations register canonical schemas internally and accept typed resource entities at resolved relationship paths. Core checks the source type, obtains its current applied values, and validates the completed request before mutation.
282
+
283
+ Discovery leaves a relationship unresolved if its target is unknown. Native AWS declarations accept entities where imported metadata identifies an unambiguous relationship. For Stripe, generated updates currently share the read identity mapping. A Customer hint defines how to recognize a deleted object, and the local file resource still needs a handwritten policy. During replacement, the reviewed plan orders ordinary lifecycle operations under generated rules. If a command fails, ResourceCommandExecutionFailed retains the underlying provider or validation error. [resource lifecycle requirements](resource-operations.md) · [unified tracker](../../attempts/dev-attempts_unified-resource-generation.md)
284
+
285
+ Acceptance exercises entity references through production services. An unrelated type fails before a dependent mutation. Compatible references resolve across providers and nested properties and survive reload or source replacement. Source comparisons check the allowed targets and request mappings throughout the catalog. [resource mapping specification](resource-mapping.md)
@@ -0,0 +1,37 @@
1
+ # Resource command policy
2
+
3
+ The stack lifecycle sends each resource command to its registered provider policy. The policy returns a result that core can validate and save. Core orders commands by dependency and returns their results to the application.
4
+
5
+ ## Requests and outcomes
6
+
7
+ The resource key identifies the instance, and the provider and type in its schema metadata identify the management definition. A command can use that metadata from saved state after the declaration disappears. If the definition is absent or lacks the requested operation, the caller receives a tagged failure.
8
+
9
+ ResourceObservation describes what a provider read found. PlanDecision records the action the planner selects from desired, saved, and observed state. ResourceCommandResult gives core one result to reconcile, persist, and expose as outputs. [resource model](../../src/core/resource/model.ts) · [lifecycle model](../../src/core/resource/lifecycle.ts)
10
+
11
+ ## Resource dependencies
12
+
13
+ Applications pass a resource entity into a relationship property. The contract specifies the allowed source types and which source values the dependent request needs. Nomoss checks both the supplied entity and its registered source before it accepts the dependency.
14
+
15
+ Before a dependent change, core resolves the relationship against the source's validated applied state and checks the complete provider request. An absent or incompatible source, an unresolved mapping, or an invalid value stops the change. Resolved Stripe inputs use this contract. AWS generation and unresolved provider relationships still need work. [resource graph contract](resource-graph.md)
16
+
17
+ A provider policy declares an explicit prerequisite when an operation depends on another resource but needs none of its output values. The graph records that dependency alongside entity relationships.
18
+
19
+ ## Provider behavior
20
+
21
+ The management definition selects provider operations, identifies the owned object, and defines what confirms a change. Shared lifecycle services execute those rules through the provider client. Where a provider requires a decision or sequence specific to a resource, the shared lifecycle calls a typed operation at that step. See the [resource management development guide](../development/effect-native-development.md#develop-resource-management).
22
+
23
+ A named public service method exposes each provider capability. It accepts domain inputs, owns the decisions that affect the call, and returns a result other services can use. [Effect development contract](../development/effect-native-development.md)
24
+
25
+ ## Plan and execute resource commands
26
+
27
+ The planner compares each desired or saved resource with its provider observation. When a declaration disappears, the saved identity still identifies the object to delete. The plan retains the provider and dependencies needed for that deletion.
28
+
29
+ The executor follows dependency order and applies the configured concurrency limit to independent actions. On success it returns the validated outputs and provider identity for later operations. A tagged failure stops dependent actions and retains the cause.
30
+
31
+ Provider policies receive validated domain values. The state service decodes saved records on read and encodes them on write. Both operations respect the resource's secret storage policy. [resource lifecycle specification](resource-lifecycle-tracker.md)
32
+
33
+ ## Application use
34
+
35
+ CLI and embedded applications can inspect the same plan and apply it through the same lifecycle. An AWS request needs the application's provider configuration and Layers. Local graph inspection needs only the services that evaluate the declaration.
36
+
37
+ The terminal displays the plan and reports progress. The planner and provider policies select the actions.
@@ -0,0 +1,45 @@
1
+ # Resource graph
2
+
3
+ An application declares a resource with provider.Resource(props) and passes its entity to any declaration that depends on it. Nomoss registers the schema and determines which outputs the dependent provider request needs.
4
+
5
+ Core records dependencies and request mappings for entities at any supported property path, even inside an array. Generated Stripe declarations use this contract wherever discovery resolves the target. AWS entity inputs remain incomplete. Unresolved relationships keep their existing value schemas.
6
+
7
+ ## Resource entities
8
+
9
+ Each declaration returns an entity with a stable identity and a provider-qualified resource type. Effect annotations on its canonical property schema identify the provider responsible for commands. Nomoss validates the properties and metadata before it registers the entity.
10
+
11
+ A reference schema restricts a relationship to compatible resource entities. TypeScript and runtime validation enforce the same type restriction. Nomoss also verifies the registered source, so a claimed type or a scalar identifier cannot stand in for the required entity. Applications can read ordinary outputs separately.
12
+
13
+ CloudFormation Registry governs AWS resource properties and outputs. Smithy governs AWS requests. Every provider supplies its relationship contract to the same core model so applications can connect compatible entities across providers. [AWS resource specification](aws-resource-lifecycle-management.md)
14
+
15
+ ## Relationships and request values
16
+
17
+ Provider metadata defines which source types a property accepts and how their applied outputs supply its value at the destination path. The application supplies only the entity. A request can require several source outputs or a structured value.
18
+
19
+ Direct and nested references follow the same rules. Nomoss records a dependency and saves a reference to the source. The source's own properties stay with its declaration.
20
+
21
+ After the source applies, Nomoss validates its state and resolves the dependent request. A mutation proceeds only if the source exists, its type is compatible, and the resolved values satisfy the provider operation schema. [output contract](resource-outputs.md)
22
+
23
+ An explicit prerequisite orders operations that share no output value. The planner and executor read these prerequisites and entity dependencies from the same Effect directed graph.
24
+
25
+ ## Prepared stacks and plans
26
+
27
+ A prepared stack keeps an immutable snapshot of its declarations and dependencies. An application can prepare another stack and still execute the first with its original graph.
28
+
29
+ Nomoss evaluates declarations serially, with an empty graph for each preparation. A failed or interrupted declaration releases partial registrations. The application uses one Layer graph and schema registry throughout the stack's lifetime.
30
+
31
+ The planner compares desired resources with the last applied state and orders changes by dependency. A new source may have no provider identity yet. If a source changes or moves to a replacement, apply resolves its current validated outputs immediately before the dependent request.
32
+
33
+ ## Saved state and recovery
34
+
35
+ The canonical state schemas preserve applied nodes and lifecycle records. Saved entity references retain their request mappings separately from previously resolved values. After a reload, recovery can therefore resolve the current source identity. [state schemas](../../src/core/state/resourceState.ts)
36
+
37
+ ResourceStateStore uses Effect's KeyValueStore schema support to validate reads and encode writes. File storage keeps one JSON document per stack under .nomoss/state. Tests use the same service with an in-memory KeyValueStore. The configured secret store governs protected outputs.
38
+
39
+ Reconciliation reads each managed object by its saved provider identity. Only values that pass the registered output schema can enter saved state or a dependent request.
40
+
41
+ ## Acceptance
42
+
43
+ Acceptance covers entity declarations through the production stack runtime. Compatible entities establish dependencies across providers and inside nested objects or arrays. An incompatible entity fails even if it would produce the same scalar type. A multi-value mapping preserves the complete request shape.
44
+
45
+ After reload, source replacement, or failure recovery, a dependent mutation uses the current validated source state. If a required value is unavailable, the mutation stops. Acceptance exercises the dependent request itself.
@@ -0,0 +1,43 @@
1
+ # Resource lifecycle contract
2
+
3
+ The lifecycle contract gives applications a plan they can inspect, apply, and resume after interruption. One Effect service graph compares the declaration with saved state and the provider's current observation.
4
+
5
+ ## Saved state across runs
6
+
7
+ A versioned resource record identifies the managed object and distinguishes desired properties from observed state and applied outputs. A later run uses its schema version to interpret those values and its lifecycle status or tagged failure to decide how to proceed.
8
+
9
+ A saved relationship identifies the source resource and type and retains the mapping for the dependent request. The source's properties stay in its own record. After reload or replacement, Nomoss resolves the reference against current validated source state because an earlier ID may identify the previous instance. Core persists these references. Compatibility across fresh runtimes remains under review. [unified tracker](../../attempts/dev-attempts_unified-resource-generation.md)
10
+
11
+ EnvironmentState groups resources and completed runs by environment. Lifecycle operations receive validated environment and resource records. The local store uses JSON files. Other stores share the same persistence contract.
12
+
13
+ Reconciliation compares the current declaration and the last applied request with a fresh provider observation. Each value stays distinct so the next action can account for both drift and application changes.
14
+
15
+ Core schemas define the common records. CloudFormation Registry defines AWS property constraints and lifecycle metadata. Smithy defines the operation contract used to generate and execute AWS requests. [AWS resource specification](aws-resource-lifecycle-management.md)
16
+
17
+ ## Secrets across runs
18
+
19
+ A provider may return a secret only once. Stripe returns a webhook signing secret at creation, but later updates still need it. Resource schemas annotate protected outputs so the configured secret service retains them across runs.
20
+
21
+ NOMOSS_STATE_SECRET_STORE=macos-keychain selects the macOS login Keychain. For each annotated value, saved state contains a NomossStateSecretRef that names the macos-keychain store and identifies the secret by stack, logical resource id, and output key. A state read restores the value in memory before its next use. The default configuration stores values in local state.
22
+
23
+ A Keychain entry uses service com.nomoss.state and the account identity in its reference. To migrate an existing value, create its entry and write that reference to state. Keep the secret out of repository files, command output, shell history, and CI variables.
24
+
25
+ The login Keychain is for local development. CI and shared deployments require the state-secret service and secret store selected for that environment.
26
+
27
+ ## Observations and planned actions
28
+
29
+ Reconciliation refreshes desired resources and any saved resources that still need a read. Provider services read in dependency order and report whether the object exists, is unreadable, or shows unmanaged drift. Their observations retain the evidence the resource policy needs for its decision.
30
+
31
+ A read requires the identity defined by the provider. Import uses the external identifier supplied for adoption. Provider services execute resource-specific reads through generated contracts.
32
+
33
+ The planner proposes creation for an absent desired resource, even if that object previously existed. For a property difference, lifecycle metadata determines whether to update or repair it. Removal from the declaration produces a delete decision for the saved object. Explicit teardown produces destroy decisions. Dependencies determine when an action can run and supply outputs. [command policy contract](resource-command-policy-stage.md)
34
+
35
+ ## Execute a plan and recover unfinished work
36
+
37
+ Nomoss saves each completed action. A failed action retains its cause and stops dependent work. A resumed run validates saved state and obtains fresh observations before it selects the next mutation.
38
+
39
+ During replacement, a logical resource can own several provider instances. Each keeps its lifecycle status and protected outputs. Recovery skips completed removals, which stay on record until the operation finishes. Teardown removes each instance the stack still owns. Older records without an instance generation identify generation zero, so their saved identities and secret references remain valid.
40
+
41
+ Each provider defines which values recovery needs and how long to retain them. For example, AWS may omit a generated name or an identifier for an unfinished replacement on subsequent reads.
42
+
43
+ CLI and embedded applications execute the selected plan against its captured graph and state snapshot. A change to a lifecycle record produces ResourcePlanInvalidated before any provider mutation. Application configuration selects the environment and provider context. [CLI contract](cli-workflow.md)
@@ -0,0 +1,112 @@
1
+ # Resource mapping
2
+
3
+ A resource mapping identifies the entities a property accepts and the values each entity supplies to a provider request. It also specifies how a later run identifies the object to read or change. The same contract applies to provider and local resources.
4
+
5
+ ## Example: declare a product and its price
6
+
7
+ An application can declare a Stripe product and its price before either exists in Stripe. The StripeResources service supplies both declarations. The Product declaration returns an entity, and Nomoss supplies its assigned ID when it creates the price.
8
+
9
+ ```ts
10
+ const stripe = yield* StripeResources;
11
+ const product = yield* stripe.Product({
12
+ logicalId: "Product",
13
+ props: { name: "Membership" },
14
+ });
15
+
16
+ const price = yield* stripe.Price({
17
+ logicalId: "MonthlyPrice",
18
+ props: {
19
+ product,
20
+ currency: "usd",
21
+ unit_amount: 2900,
22
+ recurring: { interval: "month" },
23
+ },
24
+ });
25
+ ```
26
+
27
+ Price.product accepts a Product registered in the application. A Customer, even one with a claimed Product type, fails validation before Stripe receives a request. Nomoss waits for the product to apply, reads its validated ProductId, and checks the complete price request against Stripe's schema.
28
+
29
+ The relationship contract extends to nested objects and arrays and to compatible entities across providers. Nomoss owns schema registration and dependency resolution. One application runtime gives declarations, provider calls, and output reads access to the same registered resources, configuration, and saved values. [resource graph specification](resource-graph.md)
30
+
31
+ After apply, the application can read price.PriceId directly. A read before the value exists fails with ResourceOutputResolutionMissing. Only validated provider outputs are available to applications and dependent requests. [output specification](resource-outputs.md)
32
+
33
+ ## Validate declarations against the provider's rules
34
+
35
+ A declaration rejects invalid inputs before a provider mutation. The same source governs TypeScript and runtime validation. For Stripe that source is OpenAPI. AWS uses CloudFormation Registry for resource properties and Smithy for requests to native service APIs. A local resource uses its registered Effect schema.
36
+
37
+ Registry classifications determine which AWS properties an application can set or change. AWS supplies read-only values. A change to a create-only property requires replacement. A write-only value needs a retention rule because provider reads omit it. Where Registry leaves mutability or retention open, the resource policy defines the rule before Nomoss applies a change or accepts an observation.
38
+
39
+ BillingConfigurationExport resolves resource references before the writer receives the document. The file contents and destination conform to its registered Effect schema. The resource saves outputPath as OutputPath so subsequent reads and removal address the published file.
40
+
41
+ ## Generate declarations that remain manageable on later runs
42
+
43
+ A later read uses the identity returned at creation. For Customer, POST /v1/customers returns id and GET /v1/customers/{customer} accepts that value as customer. Stripe discovery pairs these operations only when both describe the same model with a required string id.
44
+
45
+ When several operation pairs qualify, source configuration selects the intended pair. An operation or response model outside the candidate set produces ResourceSourceInvalid. An optional id or a read that needs unavailable inputs prevents a callable declaration. The catalog entry identifies the missing requirement.
46
+
47
+ A nested Stripe bank account needs both its own ID and the parent account ID. Creation uses /v1/accounts/{account}/external_accounts and the read adds /{id}. Support for this resource requires source configuration that identifies the declaration for each parent parameter and a saved read mapping that supplies both identities.
48
+
49
+ ## Specify relationships missing from provider definitions
50
+
51
+ Support for Payout.destination requires a bank account or card reference. The payout request takes BankAccountId from a bank account or CardId from a card. A Product fails validation before the payout request. Stripe's response definitions determine the allowed alternatives, even within nested objects and arrays. If discovery cannot establish a target's identity, the catalog retains the source and explains why the relationship is unavailable.
52
+
53
+ When a relationship is absent or its request and response paths differ, a reviewed hint connects the creation input to the allowed models in the provider document. Those definitions govern validation and identity. The Stripe guide applies this rule to an account relationship. [Stripe configuration guide](../../tools/stripe/README.md#configure-resource-relationships)
54
+
55
+ Stripe's external_account operation can return a bank account or a card. The responseSchema hint selects bank_account for BankAccount and card for Card. Each policy validates its selected model before it accepts outputs. A card returned for BankAccount fails validation and leaves previous state intact.
56
+
57
+ ## Retain the identities needed by later requests
58
+
59
+ Generated identity names can differ from provider parameter names. A Customer read passes CustomerId as customer. A Product read passes ProductId as id. The resource contract maps each saved output to the parameter and preserves the constraints of the source field or creation parameter.
60
+
61
+
62
+ A mapped read uses the identity from the last successful apply. A new declaration first needs a successful creation and saved identity. ResourceReadIdentityMissing identifies a read without that applied record. Invalid saved outputs stop the request locally. If the response identifies a different object, Nomoss reports ResourceIdentityMismatch and preserves the previous state.
63
+
64
+ The read mapping specifies both parameter name and request location. A path parameter and a header can share a name and still impose distinct constraints. The saved value satisfies the selected parameter's schema. A read that also requires a body or a constant remains unavailable until the integration defines its meaning and supplies it. The catalog records the reason and source selection.
65
+
66
+ ## Use current resource values after reload and replacement
67
+
68
+ A saved relationship identifies the source declaration and its allowed types. Its mapping defines where the current source outputs belong in the dependent input, even when the request needs several outputs or a structured value. The source's own properties stay in its record. After reload or replacement, Nomoss resolves the reference against validated source state immediately before the dependent mutation.
69
+
70
+ ## Preserve outputs that later provider reads omit
71
+
72
+ Stripe can omit WebhookSigningSecret after creation. Once Nomoss verifies the response identity, it uses a newly returned secret if available and otherwise retains the saved secret. Output validation fails if both are absent. Every optional output needs an explicit rule for absence before applications can rely on it.
73
+
74
+ Nomoss preserves saved state until a read confirms absence. For Customer, a 404 or a validated deleted-customer response establishes absence. The latter requires an identity match before Nomoss removes state. Authentication, permission, transport, and validation errors propagate to the caller. The output projection requires only the selected customer fields.
75
+
76
+ ## Apply the change the application requested
77
+
78
+ A Price amount change retires the old price, creates a replacement, and supplies its identity to dependents. Removal of a Product declaration deactivates the Stripe product. A provider offers each change only once its resource policy defines that behavior.
79
+
80
+ Each resource exposes the commands its policy supports. An unsupported change returns ResourceCommandUnsupported before any provider request and leaves saved state intact. The shared command and observation contracts give the planner, executor, and state service the same interpretation of that result.
81
+
82
+ ## Preserve validation when provider definitions change
83
+
84
+ Resource declarations and clients derive validation from the same corrected provider document and operation selection. A maintainer can trace a generated input, output, or relationship to its governing schema because each request or response reference retains the location of its resolved definition.
85
+
86
+ Every accepted creation response supplies the identity for a later read. An allOf model satisfies all constituent schemas. With anyOf or oneOf, every accepted alternative requires the identity, or configuration selects a specific alternative. An alias identifies the same resource, and an inherited base schema contributes validation to that resource's single declaration.
87
+
88
+ Generated outputs currently support top-level fields that are required or have a retention policy. If several branches define the same selected field, preparation fails because the generator cannot yet preserve their combined constraints. A saved parent identity retains its creation parameter's validation even when the response omits that parameter.
89
+
90
+ Generated types and runtime schemas agree on field constraints, optionality, and compatible entities. Discovery preserves shared and recursive references and terminates on recursive models. An absent definition stops preparation with the location of the broken reference. [generation architecture](generation-architecture.md)
91
+
92
+ ## Keep applications and saved state compatible
93
+
94
+ Regeneration preserves published output names and provider registration names. A standard identity output uses the resource name followed by Id. Versioned resources retain their source title and service namespace. A reviewed alias can name a selected response field or parent parameter. Unused aliases and name conflicts stop publication. A change to a saved identity or output's meaning requires an explicit migration decision.
95
+
96
+ Older records can omit identity field metadata. Nomoss validates those records with the currently registered resource contract. Regeneration preserves the meaning of saved records and provider observations so the state engine can reopen an existing stack. [resource command specification](resource-command-policy-stage.md)
97
+
98
+ Applications keep the last working client if source preparation, compilation, or lint fails. Publication replaces generated modules only after the candidates pass validation.
99
+
100
+ The published resource catalog explains which declarations a maintainer can use and why others remain unavailable. Each local or provider resource has a service-qualified entry that cites its definitions and identifies available or unresolved relationships, outputs, and operations. A resource stays in the catalog even if it lacks an executable creation or read request.
101
+
102
+ ## Evidence required for supported workflows
103
+
104
+ Small provider documents let maintainers check generated declarations and accepted entity types without credentials or a reference checkout. These cases also identify which missing requirements prevent generation. Source comparisons cover the AWS Queue Registry model, the corrected Stripe specification, and the BillingConfigurationExport schema. They establish compatibility of public names and validation as well as relationship, identity, and retention rules. An invalid output policy stops publication. [testing contract](../development/testing.md)
105
+
106
+ In the billing acceptance workflow, a later run reads the original Product and Price. After price replacement, dependent requests use the new identity. Production lifecycle and state coverage also exercises nested and cross-provider relationships, multi-value mappings, and recovery after reload or failure. An unrelated type stops the dependent mutation. Failed reads and teardown retries preserve the state and secrets needed for recovery. [testing contract](../development/testing.md)
107
+
108
+ ## Current limits
109
+
110
+ Generated Stripe inputs accept entities at resolved relationship paths. Unresolved targets retain their existing value schemas. AWS entity input generation remains incomplete. The contract permits multi-value request mappings, while the Stripe compiler currently selects one saved output per target. The tracker distinguishes these gaps from unavailable lifecycle operations. [resource mapping tracker](../../attempts/dev-attempts_resource-mapping.md)
111
+
112
+ Live Stripe coverage establishes linked Customer, Product, and Price creation and price replacement. The tracker retains separate acceptance work for webhook, portal, configuration export, account, and AWS workflows. External import, discovery without saved identity, credential replacement, and provider-wide lifecycle generation have separate scope.
@@ -0,0 +1,41 @@
1
+ # Resource lifecycle operations
2
+
3
+ The resource lifecycle contract defines how Nomoss turns a declaration into a validated provider request. The corrected provider specification governs requests and responses. A reviewed hint supplies a lifecycle decision the provider leaves open, such as whether removal deletes or deactivates the object.
4
+
5
+ ## Create a resource
6
+
7
+ Once the declaration's dependencies resolve, Nomoss validates the creation request, calls the provider, and saves the returned identity and outputs only after they pass validation. A hint selects the intended operation and response model when discovery finds several candidates. Output aliases preserve names already in saved records.
8
+
9
+ ## Read a saved resource
10
+
11
+ A read uses the saved identity. Nomoss verifies the returned object before it refreshes its outputs. For a creation-only output such as a webhook signing secret, the resource retains the saved value if the read omits it. A failed read leaves the identity and outputs available for retry.
12
+
13
+ Stripe treats HTTP 404 as confirmed absence. A Customer hint also permits a deleted-customer response after the policy validates it and matches its identity to the saved object. If authorization, transport, or validation fails, the stack retains ownership.
14
+
15
+ ## Update a resource
16
+
17
+ An update targets the saved object. Its mapping specifies which output supplies each identity parameter, even if the names differ. Nomoss validates the complete request and any required constants. If a declaration drops a property, the policy defines how to clear the provider value. Without such a rule, the change fails before mutation.
18
+
19
+ Generated Stripe updates currently use the same identity mapping as reads. StripeResourcePolicy returns ResourceCommandUnsupported if the update schema discards a changed field or the declaration drops a saved property. Other identity mappings, constant update values, and provider-specific property resets remain outstanding. A constant that conflicts with the saved identity is invalid.
20
+
21
+ ## Remove a resource
22
+
23
+ Removal uses the saved identity. Nomoss releases ownership only after the provider call succeeds. When HTTP DELETE does not express the intended action, a hint selects the operation and any constants its request requires.
24
+
25
+ A resource that manages part of a shared provider object removes the entries it owns and preserves unrelated entries. Its management definition identifies those entries and defines how to confirm their removal.
26
+
27
+ Product and BillingPortalConfiguration use a hint to select POST with active: false for removal. Discovery selects HTTP DELETE by default. Support for each additional removal operation requires an identity mapping and request values the shared service can execute when the declaration disappears.
28
+
29
+ ## Replace a resource
30
+
31
+ The plan identifies changes that require replacement and orders ordinary creation and removal according to the resource policy. Nomoss records each completed step. Recovery can then skip a successful creation and retain ownership of both objects until removal succeeds. Dependent requests use the successor's identity, and the resource's retention contract governs its outputs.
32
+
33
+ Where the provider leaves replacement behavior unspecified, hints identify the triggering properties and execution order. The reviewed plan shows that order. Price releases its lookup key when it retires the previous price, then creates its successor. Webhook rotation creates the successor first.
34
+
35
+ Each owned instance has its own lifecycle record and protected outputs. A completed removal remains on record until the operation finishes so a retry can skip it. Teardown during an unfinished operation removes every instance the stack still owns. Applied outputs remain available until Nomoss commits the successor.
36
+
37
+ ## Validate and execute generated operations
38
+
39
+ Generated configuration preserves the provider operation's input, output, and failure types. Effect infers service dependencies and errors from the application Layer graph. The schema compiler checks mappings and constants, and the runtime validates the completed request.
40
+
41
+ The management definition selects the operations and mappings for each supported change. A provider rule that needs its own decisions or sequence can call a typed operation within the shared lifecycle. An integration case follows the managed object and its saved identity through a change, then checks the outputs that dependents receive and the result of recovery or removal. See the [resource management development guide](../development/effect-native-development.md#develop-resource-management).