@blue-repository/types 0.10.0 → 0.12.0

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 (239) hide show
  1. package/README.md +1 -1
  2. package/dist/meta.d.ts +2 -2
  3. package/dist/meta.d.ts.map +1 -1
  4. package/dist/meta.js +2 -3
  5. package/dist/meta.js.map +1 -1
  6. package/dist/packages/common/blue-ids.d.ts +1 -0
  7. package/dist/packages/common/blue-ids.d.ts.map +1 -1
  8. package/dist/packages/common/blue-ids.js +1 -0
  9. package/dist/packages/common/blue-ids.js.map +1 -1
  10. package/dist/packages/common/contents/Currency.d.ts +8 -0
  11. package/dist/packages/common/contents/Currency.d.ts.map +1 -0
  12. package/dist/packages/common/contents/Currency.js +8 -0
  13. package/dist/packages/common/contents/Currency.js.map +1 -0
  14. package/dist/packages/common/contents/index.d.ts +8 -0
  15. package/dist/packages/common/contents/index.d.ts.map +1 -1
  16. package/dist/packages/common/contents/index.js +3 -0
  17. package/dist/packages/common/contents/index.js.map +1 -1
  18. package/dist/packages/common/index.d.ts +22 -0
  19. package/dist/packages/common/index.d.ts.map +1 -1
  20. package/dist/packages/common/meta.d.ts +10 -0
  21. package/dist/packages/common/meta.d.ts.map +1 -1
  22. package/dist/packages/common/meta.js +11 -0
  23. package/dist/packages/common/meta.js.map +1 -1
  24. package/dist/packages/common/schemas/Currency.d.ts +8 -0
  25. package/dist/packages/common/schemas/Currency.d.ts.map +1 -0
  26. package/dist/packages/common/schemas/Currency.js +5 -0
  27. package/dist/packages/common/schemas/Currency.js.map +1 -0
  28. package/dist/packages/common/schemas/index.d.ts +6 -0
  29. package/dist/packages/common/schemas/index.d.ts.map +1 -1
  30. package/dist/packages/common/schemas/index.js +3 -0
  31. package/dist/packages/common/schemas/index.js.map +1 -1
  32. package/dist/packages/conversation/blue-ids.d.ts +10 -7
  33. package/dist/packages/conversation/blue-ids.d.ts.map +1 -1
  34. package/dist/packages/conversation/blue-ids.js +10 -7
  35. package/dist/packages/conversation/blue-ids.js.map +1 -1
  36. package/dist/packages/conversation/contents/AcceptChangeWorkflow.d.ts +1 -1
  37. package/dist/packages/conversation/contents/AcceptChangeWorkflow.js +1 -1
  38. package/dist/packages/conversation/contents/AcceptChangeWorkflow.js.map +1 -1
  39. package/dist/packages/conversation/contents/ChangeOperation.d.ts +1 -1
  40. package/dist/packages/conversation/contents/ChangeOperation.js +1 -1
  41. package/dist/packages/conversation/contents/ChangeRequest.d.ts +8 -8
  42. package/dist/packages/conversation/contents/ChangeRequest.js +8 -8
  43. package/dist/packages/conversation/contents/ChangeRequest.js.map +1 -1
  44. package/dist/packages/conversation/contents/ChangeWorkflow.d.ts +2 -2
  45. package/dist/packages/conversation/contents/ChangeWorkflow.js +2 -2
  46. package/dist/packages/conversation/contents/ChangeWorkflow.js.map +1 -1
  47. package/dist/packages/conversation/contents/CustomerActionRequested.d.ts +44 -0
  48. package/dist/packages/conversation/contents/CustomerActionRequested.d.ts.map +1 -0
  49. package/dist/packages/conversation/contents/CustomerActionRequested.js +44 -0
  50. package/dist/packages/conversation/contents/CustomerActionRequested.js.map +1 -0
  51. package/dist/packages/conversation/contents/CustomerConsent.d.ts +233 -0
  52. package/dist/packages/conversation/contents/CustomerConsent.d.ts.map +1 -0
  53. package/dist/packages/conversation/contents/CustomerConsent.js +244 -0
  54. package/dist/packages/conversation/contents/CustomerConsent.js.map +1 -0
  55. package/dist/packages/conversation/contents/CustomerConsentRevoked.d.ts +17 -0
  56. package/dist/packages/conversation/contents/CustomerConsentRevoked.d.ts.map +1 -0
  57. package/dist/packages/conversation/contents/CustomerConsentRevoked.js +17 -0
  58. package/dist/packages/conversation/contents/CustomerConsentRevoked.js.map +1 -0
  59. package/dist/packages/conversation/contents/ProposeChangeOperation.d.ts +1 -1
  60. package/dist/packages/conversation/contents/ProposeChangeOperation.js +1 -1
  61. package/dist/packages/conversation/contents/ProposeChangeWorkflow.d.ts +2 -2
  62. package/dist/packages/conversation/contents/ProposeChangeWorkflow.js +2 -2
  63. package/dist/packages/conversation/contents/ProposeChangeWorkflow.js.map +1 -1
  64. package/dist/packages/conversation/contents/RejectChangeWorkflow.d.ts +1 -1
  65. package/dist/packages/conversation/contents/RejectChangeWorkflow.js +1 -1
  66. package/dist/packages/conversation/contents/RejectChangeWorkflow.js.map +1 -1
  67. package/dist/packages/conversation/contents/index.d.ts +482 -188
  68. package/dist/packages/conversation/contents/index.d.ts.map +1 -1
  69. package/dist/packages/conversation/contents/index.js +30 -21
  70. package/dist/packages/conversation/contents/index.js.map +1 -1
  71. package/dist/packages/conversation/index.d.ts +1319 -390
  72. package/dist/packages/conversation/index.d.ts.map +1 -1
  73. package/dist/packages/conversation/meta.d.ts +57 -27
  74. package/dist/packages/conversation/meta.d.ts.map +1 -1
  75. package/dist/packages/conversation/meta.js +53 -20
  76. package/dist/packages/conversation/meta.js.map +1 -1
  77. package/dist/packages/conversation/schemas/ChangeOperation.d.ts +5 -5
  78. package/dist/packages/conversation/schemas/ChangeRequest.d.ts +3 -3
  79. package/dist/packages/conversation/schemas/ChangeRequest.js +1 -1
  80. package/dist/packages/conversation/schemas/ChangeRequest.js.map +1 -1
  81. package/dist/packages/conversation/schemas/ChangeWorkflow.d.ts +5 -5
  82. package/dist/packages/conversation/schemas/CustomerActionRequested.d.ts +40 -0
  83. package/dist/packages/conversation/schemas/CustomerActionRequested.d.ts.map +1 -0
  84. package/dist/packages/conversation/schemas/CustomerActionRequested.js +15 -0
  85. package/dist/packages/conversation/schemas/CustomerActionRequested.js.map +1 -0
  86. package/dist/packages/conversation/schemas/CustomerConsent.d.ts +548 -0
  87. package/dist/packages/conversation/schemas/CustomerConsent.d.ts.map +1 -0
  88. package/dist/packages/conversation/schemas/CustomerConsent.js +31 -0
  89. package/dist/packages/conversation/schemas/CustomerConsent.js.map +1 -0
  90. package/dist/packages/conversation/schemas/CustomerConsentRevoked.d.ts +29 -0
  91. package/dist/packages/conversation/schemas/CustomerConsentRevoked.d.ts.map +1 -0
  92. package/dist/packages/conversation/schemas/CustomerConsentRevoked.js +11 -0
  93. package/dist/packages/conversation/schemas/CustomerConsentRevoked.js.map +1 -0
  94. package/dist/packages/conversation/schemas/DocumentBootstrapFailed.d.ts +2 -2
  95. package/dist/packages/conversation/schemas/DocumentBootstrapResponded.d.ts +2 -2
  96. package/dist/packages/conversation/schemas/ProposeChangeOperation.d.ts +5 -5
  97. package/dist/packages/conversation/schemas/ProposeChangeWorkflow.d.ts +5 -5
  98. package/dist/packages/conversation/schemas/index.d.ts +645 -34
  99. package/dist/packages/conversation/schemas/index.d.ts.map +1 -1
  100. package/dist/packages/conversation/schemas/index.js +16 -7
  101. package/dist/packages/conversation/schemas/index.js.map +1 -1
  102. package/dist/packages/myos/index.d.ts +284 -284
  103. package/dist/packages/myos/schemas/AddingParticipantRequested.d.ts +4 -4
  104. package/dist/packages/myos/schemas/AddingParticipantResponded.d.ts +6 -6
  105. package/dist/packages/myos/schemas/CallOperationFailed.d.ts +2 -2
  106. package/dist/packages/myos/schemas/ChatGPTConnectorAgent.d.ts +6 -6
  107. package/dist/packages/myos/schemas/DocumentSessionBootstrap.d.ts +4 -4
  108. package/dist/packages/myos/schemas/LinkedDocumentsPermissionGrantToAccount.d.ts +60 -60
  109. package/dist/packages/myos/schemas/LinkedDocumentsPermissionGrantToDocument.d.ts +34 -34
  110. package/dist/packages/myos/schemas/LinkedDocumentsPermissionRejected.d.ts +2 -2
  111. package/dist/packages/myos/schemas/LinkedDocumentsPermissionRevokeRequested.d.ts +2 -2
  112. package/dist/packages/myos/schemas/LinkedDocumentsPermissionRevoked.d.ts +2 -2
  113. package/dist/packages/myos/schemas/LinkedDocumentsPermissionRevokingInProgress.d.ts +2 -2
  114. package/dist/packages/myos/schemas/MyOSAdminBase.d.ts +6 -6
  115. package/dist/packages/myos/schemas/MyOSTimelineChannel.d.ts +2 -2
  116. package/dist/packages/myos/schemas/Participant.d.ts +2 -2
  117. package/dist/packages/myos/schemas/ParticipantActivated.d.ts +4 -4
  118. package/dist/packages/myos/schemas/ParticipantResolved.d.ts +4 -4
  119. package/dist/packages/myos/schemas/SingleDocumentPermissionGrantResponded.d.ts +2 -2
  120. package/dist/packages/myos/schemas/SingleDocumentPermissionGrantToAccount.d.ts +60 -60
  121. package/dist/packages/myos/schemas/SingleDocumentPermissionGrantToDocument.d.ts +34 -34
  122. package/dist/packages/myos/schemas/SingleDocumentPermissionRejected.d.ts +2 -2
  123. package/dist/packages/myos/schemas/SingleDocumentPermissionRevokeRequested.d.ts +2 -2
  124. package/dist/packages/myos/schemas/SubscriptionToSessionFailed.d.ts +2 -2
  125. package/dist/packages/myos/schemas/SubscriptionToSessionRevoked.d.ts +2 -2
  126. package/dist/packages/myos/schemas/WorkerAgencyPermissionGrant.d.ts +34 -34
  127. package/dist/packages/myos/schemas/WorkerAgencyPermissionRejected.d.ts +2 -2
  128. package/dist/packages/myos/schemas/WorkerAgencyPermissionRevokeRequested.d.ts +2 -2
  129. package/dist/packages/myos/schemas/index.d.ts +284 -284
  130. package/dist/packages/paynote/blue-ids.d.ts +10 -2
  131. package/dist/packages/paynote/blue-ids.d.ts.map +1 -1
  132. package/dist/packages/paynote/blue-ids.js +10 -2
  133. package/dist/packages/paynote/blue-ids.js.map +1 -1
  134. package/dist/packages/paynote/contents/CardTransactionMonitoringRequestRejected.d.ts +34 -0
  135. package/dist/packages/paynote/contents/CardTransactionMonitoringRequestRejected.d.ts.map +1 -0
  136. package/dist/packages/paynote/contents/CardTransactionMonitoringRequestRejected.js +34 -0
  137. package/dist/packages/paynote/contents/CardTransactionMonitoringRequestRejected.js.map +1 -0
  138. package/dist/packages/paynote/contents/CardTransactionMonitoringStarted.d.ts +38 -0
  139. package/dist/packages/paynote/contents/CardTransactionMonitoringStarted.d.ts.map +1 -0
  140. package/dist/packages/paynote/contents/CardTransactionMonitoringStarted.js +38 -0
  141. package/dist/packages/paynote/contents/CardTransactionMonitoringStarted.js.map +1 -0
  142. package/dist/packages/paynote/contents/CardTransactionMonitoringStopped.d.ts +30 -0
  143. package/dist/packages/paynote/contents/CardTransactionMonitoringStopped.d.ts.map +1 -0
  144. package/dist/packages/paynote/contents/CardTransactionMonitoringStopped.js +30 -0
  145. package/dist/packages/paynote/contents/CardTransactionMonitoringStopped.js.map +1 -0
  146. package/dist/packages/paynote/contents/CardTransactionPayNote.d.ts +13 -0
  147. package/dist/packages/paynote/contents/CardTransactionPayNote.d.ts.map +1 -0
  148. package/dist/packages/paynote/contents/CardTransactionPayNote.js +13 -0
  149. package/dist/packages/paynote/contents/CardTransactionPayNote.js.map +1 -0
  150. package/dist/packages/paynote/contents/CardTransactionReport.d.ts +43 -0
  151. package/dist/packages/paynote/contents/CardTransactionReport.d.ts.map +1 -0
  152. package/dist/packages/paynote/contents/CardTransactionReport.js +43 -0
  153. package/dist/packages/paynote/contents/CardTransactionReport.js.map +1 -0
  154. package/dist/packages/paynote/contents/MerchantToCustomerPayNote.d.ts +8 -0
  155. package/dist/packages/paynote/contents/MerchantToCustomerPayNote.d.ts.map +1 -0
  156. package/dist/packages/paynote/contents/MerchantToCustomerPayNote.js +8 -0
  157. package/dist/packages/paynote/contents/MerchantToCustomerPayNote.js.map +1 -0
  158. package/dist/packages/paynote/contents/PayNote.d.ts +44 -0
  159. package/dist/packages/paynote/contents/PayNote.d.ts.map +1 -1
  160. package/dist/packages/paynote/contents/PayNote.js +46 -0
  161. package/dist/packages/paynote/contents/PayNote.js.map +1 -1
  162. package/dist/packages/paynote/contents/PayNoteDelivery.d.ts +4 -10
  163. package/dist/packages/paynote/contents/PayNoteDelivery.d.ts.map +1 -1
  164. package/dist/packages/paynote/contents/PayNoteDelivery.js +4 -10
  165. package/dist/packages/paynote/contents/PayNoteDelivery.js.map +1 -1
  166. package/dist/packages/paynote/contents/StartCardTransactionMonitoringRequested.d.ts +28 -0
  167. package/dist/packages/paynote/contents/StartCardTransactionMonitoringRequested.d.ts.map +1 -0
  168. package/dist/packages/paynote/contents/StartCardTransactionMonitoringRequested.js +28 -0
  169. package/dist/packages/paynote/contents/StartCardTransactionMonitoringRequested.js.map +1 -0
  170. package/dist/packages/paynote/contents/TransactionStatus.d.ts +26 -0
  171. package/dist/packages/paynote/contents/TransactionStatus.d.ts.map +1 -0
  172. package/dist/packages/paynote/contents/TransactionStatus.js +26 -0
  173. package/dist/packages/paynote/contents/TransactionStatus.js.map +1 -0
  174. package/dist/packages/paynote/contents/index.d.ts +590 -332
  175. package/dist/packages/paynote/contents/index.d.ts.map +1 -1
  176. package/dist/packages/paynote/contents/index.js +30 -6
  177. package/dist/packages/paynote/contents/index.js.map +1 -1
  178. package/dist/packages/paynote/index.d.ts +2383 -792
  179. package/dist/packages/paynote/index.d.ts.map +1 -1
  180. package/dist/packages/paynote/meta.d.ts +87 -7
  181. package/dist/packages/paynote/meta.d.ts.map +1 -1
  182. package/dist/packages/paynote/meta.js +93 -5
  183. package/dist/packages/paynote/meta.js.map +1 -1
  184. package/dist/packages/paynote/schemas/CaptureDeclined.d.ts +2 -2
  185. package/dist/packages/paynote/schemas/CaptureFailed.d.ts +2 -2
  186. package/dist/packages/paynote/schemas/CardTransactionCaptureLockChangeFailed.d.ts +2 -2
  187. package/dist/packages/paynote/schemas/CardTransactionMonitoringRequestRejected.d.ts +34 -0
  188. package/dist/packages/paynote/schemas/CardTransactionMonitoringRequestRejected.d.ts.map +1 -0
  189. package/dist/packages/paynote/schemas/CardTransactionMonitoringRequestRejected.js +13 -0
  190. package/dist/packages/paynote/schemas/CardTransactionMonitoringRequestRejected.js.map +1 -0
  191. package/dist/packages/paynote/schemas/CardTransactionMonitoringStarted.d.ts +37 -0
  192. package/dist/packages/paynote/schemas/CardTransactionMonitoringStarted.d.ts.map +1 -0
  193. package/dist/packages/paynote/schemas/CardTransactionMonitoringStarted.js +14 -0
  194. package/dist/packages/paynote/schemas/CardTransactionMonitoringStarted.js.map +1 -0
  195. package/dist/packages/paynote/schemas/CardTransactionMonitoringStopped.d.ts +27 -0
  196. package/dist/packages/paynote/schemas/CardTransactionMonitoringStopped.d.ts.map +1 -0
  197. package/dist/packages/paynote/schemas/CardTransactionMonitoringStopped.js +12 -0
  198. package/dist/packages/paynote/schemas/CardTransactionMonitoringStopped.js.map +1 -0
  199. package/dist/packages/paynote/schemas/CardTransactionPayNote.d.ts +473 -0
  200. package/dist/packages/paynote/schemas/CardTransactionPayNote.d.ts.map +1 -0
  201. package/dist/packages/paynote/schemas/CardTransactionPayNote.js +11 -0
  202. package/dist/packages/paynote/schemas/CardTransactionPayNote.js.map +1 -0
  203. package/dist/packages/paynote/schemas/CardTransactionReport.d.ts +85 -0
  204. package/dist/packages/paynote/schemas/CardTransactionReport.d.ts.map +1 -0
  205. package/dist/packages/paynote/schemas/CardTransactionReport.js +18 -0
  206. package/dist/packages/paynote/schemas/CardTransactionReport.js.map +1 -0
  207. package/dist/packages/paynote/schemas/ChildPayNoteIssuanceDeclined.d.ts +2 -2
  208. package/dist/packages/paynote/schemas/MerchantToCustomerPayNote.d.ts +435 -0
  209. package/dist/packages/paynote/schemas/MerchantToCustomerPayNote.d.ts.map +1 -0
  210. package/dist/packages/paynote/schemas/MerchantToCustomerPayNote.js +9 -0
  211. package/dist/packages/paynote/schemas/MerchantToCustomerPayNote.js.map +1 -0
  212. package/dist/packages/paynote/schemas/PayNote.d.ts +200 -0
  213. package/dist/packages/paynote/schemas/PayNote.d.ts.map +1 -1
  214. package/dist/packages/paynote/schemas/PayNote.js +6 -0
  215. package/dist/packages/paynote/schemas/PayNote.js.map +1 -1
  216. package/dist/packages/paynote/schemas/PayNoteCancellationRejected.d.ts +2 -2
  217. package/dist/packages/paynote/schemas/PayNoteDelivery.d.ts +58 -128
  218. package/dist/packages/paynote/schemas/PayNoteDelivery.d.ts.map +1 -1
  219. package/dist/packages/paynote/schemas/PayNoteDelivery.js +0 -1
  220. package/dist/packages/paynote/schemas/PayNoteDelivery.js.map +1 -1
  221. package/dist/packages/paynote/schemas/PayNoteRejected.d.ts +2 -2
  222. package/dist/packages/paynote/schemas/ReservationDeclined.d.ts +2 -2
  223. package/dist/packages/paynote/schemas/ReservationReleaseDeclined.d.ts +2 -2
  224. package/dist/packages/paynote/schemas/SettlementAmountRejected.d.ts +2 -2
  225. package/dist/packages/paynote/schemas/StartCardTransactionMonitoringRequested.d.ts +31 -0
  226. package/dist/packages/paynote/schemas/StartCardTransactionMonitoringRequested.d.ts.map +1 -0
  227. package/dist/packages/paynote/schemas/StartCardTransactionMonitoringRequested.js +12 -0
  228. package/dist/packages/paynote/schemas/StartCardTransactionMonitoringRequested.js.map +1 -0
  229. package/dist/packages/paynote/schemas/TransactionStatus.d.ts +33 -0
  230. package/dist/packages/paynote/schemas/TransactionStatus.d.ts.map +1 -0
  231. package/dist/packages/paynote/schemas/TransactionStatus.js +13 -0
  232. package/dist/packages/paynote/schemas/TransactionStatus.js.map +1 -0
  233. package/dist/packages/paynote/schemas/index.d.ts +1508 -239
  234. package/dist/packages/paynote/schemas/index.d.ts.map +1 -1
  235. package/dist/packages/paynote/schemas/index.js +26 -2
  236. package/dist/packages/paynote/schemas/index.js.map +1 -1
  237. package/dist/repository.d.ts +5577 -3035
  238. package/dist/repository.d.ts.map +1 -1
  239. package/package.json +2 -2
@@ -22,6 +22,44 @@ declare const _default: {
22
22
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
23
23
  };
24
24
  };
25
+ readonly '29xcoYKf9p47xagTDwGLuQyFrT9WBN3Sd7FaPtqLvydy': {
26
+ readonly description: "Applies a previously proposed change and removes its proposal state.";
27
+ readonly name: "Accept Change Workflow";
28
+ readonly postfix: {
29
+ readonly description: "Optional postfix used while building proposed change state key.";
30
+ readonly type: {
31
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
32
+ };
33
+ };
34
+ readonly steps: {
35
+ readonly items: readonly [{
36
+ readonly code: {
37
+ readonly type: {
38
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
39
+ };
40
+ readonly value: "const invalid = (reason) => ({\n changeset: [],\n events: [{ type: 'Conversation/Proposed Change Invalid', reason }]\n});\n\nconst isArray = Array.isArray;\n\nconst postfixValue = currentContract?.postfix || '';\nconst proposedPath = '/proposedChange' + postfixValue;\n\nconst change = document(proposedPath);\nif (!change) {\n return invalid('no proposed change at ' + proposedPath);\n}\n\nconst requestChangeset = isArray(change?.changeset) ? change.changeset : [];\nconst sectionChanges = change.sectionChanges;\n\nconst entryPath = (entry) => `${entry?.path || ''}`;\nconst isContractsPath = (p) => p === '/contracts' || p.startsWith('/contracts/');\nconst isProposedChangePath = (p) => p.startsWith('/proposedChange');\n\nconst contracts = document('/contracts') || {};\nconst policy = Object.values(contracts).find((c) => c?.requireSectionChanges !== undefined);\nconst policyEnabled = !!policy && policy.requireSectionChanges !== false;\n\nif (\n policyEnabled &&\n requestChangeset.some((e) => isContractsPath(entryPath(e)))\n) {\n return invalid('changeset cannot modify /contracts when Contracts Change Policy is enabled');\n}\n\nif (requestChangeset.some((e) => isProposedChangePath(entryPath(e)))) {\n return invalid('changeset cannot modify /proposedChange');\n}\n\nconst escapePointer = (value) =>\n `${value}`.split('~').join('~0').split('/').join('~1');\n\nconst contractPtr = (key) => '/contracts/' + escapePointer(key);\n\nconst isMetaKey = (key) =>\n key === 'type' || key === 'keyType' || key === 'valueType' || key === 'description';\n\nconst contractKeysFromMap = (contractsMap) =>\n Object.keys(contractsMap || {}).filter((k) => !isMetaKey(k));\n\nconst normalizeSection = (section, contractKeys) => ({\n ...(section || {}),\n type: 'Conversation/Document Section',\n relatedContracts: (section?.relatedContracts?.length ? section.relatedContracts : contractKeys)\n});\n\nconst hasMatchingRelatedContracts = (section, contractKeys) => {\n const related = isArray(section?.relatedContracts)\n ? section.relatedContracts.map((value) => `${value}`)\n : [];\n if (!related.length) {\n return true;\n }\n if (related.length !== contractKeys.length) {\n return false;\n }\n const relatedMap = {};\n for (const value of related) {\n const key = `${value}`;\n relatedMap[key] = (relatedMap[key] || 0) + 1;\n }\n if (Object.keys(relatedMap).length !== contractKeys.length) {\n return false;\n }\n for (const key of contractKeys) {\n if (!relatedMap[key]) {\n return false;\n }\n }\n return true;\n};\n\nconst sectionChangeset = [];\nconst seenSectionKeys = {};\nconst seenContractKeys = {};\nconst existingContractKeys = {};\nfor (const key of Object.keys(contracts || {}).filter((k) => !isMetaKey(k))) {\n existingContractKeys[key] = true;\n}\n\nconst trackSectionKey = (sectionKey) => {\n if (seenSectionKeys[sectionKey]) {\n return invalid(`section key duplicated in sectionChanges: ${sectionKey}`);\n }\n seenSectionKeys[sectionKey] = true;\n return null;\n};\n\nconst trackContractKey = (sectionKey, contractKey) => {\n const existingSection = seenContractKeys[contractKey];\n if (existingSection && existingSection !== sectionKey) {\n return invalid(`contract key used by multiple sections in request: ${contractKey}`);\n }\n seenContractKeys[contractKey] = sectionKey;\n return null;\n};\n\nconst addList = isArray(sectionChanges?.add) ? sectionChanges.add : [];\nfor (const entry of addList) {\n const sectionKey = `${entry?.sectionKey || ''}`;\n if (!sectionKey) return invalid('sectionChanges.add is missing sectionKey');\n\n const sectionKeyDup = trackSectionKey(sectionKey);\n if (sectionKeyDup) return sectionKeyDup;\n\n if (existingContractKeys[sectionKey]) {\n return invalid(`contract key already exists at ${contractPtr(sectionKey)}`);\n }\n\n const contractsMap = entry?.contracts || {};\n const contractKeys = contractKeysFromMap(contractsMap).map((key) => `${key}`);\n\n if (!hasMatchingRelatedContracts(entry?.section, contractKeys)) {\n return invalid('relatedContracts must match contracts');\n }\n\n for (const key of contractKeys) {\n if (existingContractKeys[key]) {\n return invalid(`contract key already exists at ${contractPtr(key)}`);\n }\n const dup = trackContractKey(sectionKey, key);\n if (dup) return dup;\n }\n\n for (const key of contractKeys) {\n sectionChangeset.push({ op: 'add', path: contractPtr(key), val: contractsMap[key] });\n }\n\n sectionChangeset.push({\n op: 'add',\n path: contractPtr(sectionKey),\n val: normalizeSection(entry?.section, contractKeys)\n });\n}\n\nconst modifyList = isArray(sectionChanges?.modify) ? sectionChanges.modify : [];\nfor (const entry of modifyList) {\n const sectionKey = `${entry?.sectionKey || ''}`;\n if (!sectionKey) return invalid('sectionChanges.modify is missing sectionKey');\n\n const sectionKeyDup = trackSectionKey(sectionKey);\n if (sectionKeyDup) return sectionKeyDup;\n\n const existingRelated = isArray(contracts?.[sectionKey]?.relatedContracts)\n ? contracts[sectionKey].relatedContracts.map((value) => `${value}`)\n : [];\n const existingRelatedMap = {};\n for (const value of existingRelated) {\n existingRelatedMap[`${value}`] = true;\n }\n\n const contractsMap = entry?.contracts || {};\n const contractKeys = contractKeysFromMap(contractsMap).map((key) => `${key}`);\n\n if (!hasMatchingRelatedContracts(entry?.section, contractKeys)) {\n return invalid('relatedContracts must match contracts');\n }\n\n for (const key of contractKeys) {\n const dup = trackContractKey(sectionKey, key);\n if (dup) return dup;\n if (existingContractKeys[key] && !existingRelatedMap[key]) {\n return invalid(`contract key already exists at ${contractPtr(key)}`);\n }\n }\n\n for (const key of contractKeys) {\n sectionChangeset.push({ op: 'add', path: contractPtr(key), val: contractsMap[key] });\n }\n\n for (const oldKey of existingRelated) {\n if (contractKeys.indexOf(oldKey) === -1) {\n sectionChangeset.push({ op: 'remove', path: contractPtr(oldKey) });\n }\n }\n\n sectionChangeset.push({\n op: 'add',\n path: contractPtr(sectionKey),\n val: normalizeSection(entry?.section, contractKeys)\n });\n}\n\nconst removeList = isArray(sectionChanges?.remove) ? sectionChanges.remove : [];\nfor (const entry of removeList) {\n const sectionKey = `${entry?.sectionKey || entry || ''}`;\n if (!sectionKey) return invalid('sectionChanges.remove is missing sectionKey');\n\n const related = isArray(contracts?.[sectionKey]?.relatedContracts)\n ? contracts[sectionKey].relatedContracts\n : [];\n\n for (const key of related) {\n sectionChangeset.push({ op: 'remove', path: contractPtr(key) });\n }\n sectionChangeset.push({ op: 'remove', path: contractPtr(sectionKey) });\n}\n\nconst combined = sectionChangeset.concat(requestChangeset);\n\nif (combined.length === 0) {\n return invalid('no changes provided');\n}\n\nreturn {\n changeset: combined.concat({ op: 'remove', path: proposedPath })\n};\n";
41
+ };
42
+ readonly name: "Prepare";
43
+ readonly type: {
44
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
45
+ };
46
+ }, {
47
+ readonly changeset: {
48
+ readonly type: {
49
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
50
+ };
51
+ readonly value: "${steps.Prepare.changeset}";
52
+ };
53
+ readonly name: "Apply";
54
+ readonly type: {
55
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
56
+ };
57
+ }];
58
+ };
59
+ readonly type: {
60
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
61
+ };
62
+ };
25
63
  readonly '2bSWEoMSZwzf32Hnr4BDVsuq8NRjrWEpnhZvMZAJGhh2': {
26
64
  readonly description: "Conversation workflow step that enqueues an event as part of the workflow.\n- Gas accounting (when and what is charged):\n - Base step charge (once per run of this step): 30.\n - Expression/template resolution under \"/event\" (if present):\n - Expressions run in the deterministic QuickJS VM (same sandbox and\n bindings as the JavaScript Code step).\n - VM gas is converted to host gas as:\n hostGas = ceil(wasmFuel / 1700)\n (calibration factor currently 1700 fuel per host gas unit).\n - Any document(<pointer>) used inside expressions/templates charges\n per call: 8 + depth(pointer) + ceil(snapshotBytes/100).\n - Event emission (enqueue): 20 + ceil(eventBytes/100) for the final event\n payload after expression resolution.\n";
27
65
  readonly event: {
@@ -32,16 +70,42 @@ declare const _default: {
32
70
  readonly blueId: "HYsLiqsqk7t98d5fK6YxKEQGeqBaHNVjM4rRNdxK4yUW";
33
71
  };
34
72
  };
35
- readonly '2mJhqggRy7YTHK5bSeAitqhhjynpe8mApvQXXpcwPCxx': {
36
- readonly description: "Operation to propose a document change for later acceptance or rejection.";
37
- readonly name: "Propose Change Operation";
73
+ readonly '2jSne57MeM1HvhrQscpbDqhR46TwpmpiEpfG6h8PfMZP': {
74
+ readonly description: "Applies a requested changeset immediately to the document.";
75
+ readonly name: "Change Workflow";
38
76
  readonly request: {
77
+ readonly description: "Expected request payload for this workflow.";
39
78
  readonly type: {
40
- readonly blueId: "9KDfK6k1HBAyHckj5VuWXFMLkgY5cJBESKT4eoq1bnrw";
79
+ readonly blueId: "6KZwmcsyYNiJhn2pAfS9LAFTxTRHcDw4yzPwV3A3SSQp";
41
80
  };
42
81
  };
82
+ readonly steps: {
83
+ readonly items: readonly [{
84
+ readonly code: {
85
+ readonly type: {
86
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
87
+ };
88
+ readonly value: "const invalid = (reason) => ({\n changeset: [],\n events: [{ type: 'Conversation/Proposed Change Invalid', reason }]\n});\n\nconst isArray = Array.isArray;\n\nconst change = event.message.request;\n\nconst summary = change?.summary;\nif (!summary || typeof summary !== 'string') {\n return invalid('summary is missing');\n}\n\nconst requestChangeset = isArray(change?.changeset) ? change.changeset : [];\nconst sectionChanges = change.sectionChanges;\n\nconst entryPath = (entry) => `${entry?.path || ''}`;\nconst isContractsPath = (p) => p === '/contracts' || p.startsWith('/contracts/');\nconst isProposedChangePath = (p) => p.startsWith('/proposedChange');\n\nconst contracts = document('/contracts') || {};\nconst policy = Object.values(contracts).find((c) => c?.requireSectionChanges !== undefined);\nconst policyEnabled = !!policy && policy.requireSectionChanges !== false;\n\nif (\n policyEnabled &&\n requestChangeset.some((e) => isContractsPath(entryPath(e)))\n) {\n return invalid('changeset cannot modify /contracts when Contracts Change Policy is enabled');\n}\n\nif (requestChangeset.some((e) => isProposedChangePath(entryPath(e)))) {\n return invalid('changeset cannot modify /proposedChange');\n}\n\nconst escapePointer = (value) =>\n `${value}`.split('~').join('~0').split('/').join('~1');\n\nconst contractPtr = (key) => '/contracts/' + escapePointer(key);\n\nconst isMetaKey = (key) =>\n key === 'type' || key === 'keyType' || key === 'valueType' || key === 'description';\n\nconst contractKeysFromMap = (contractsMap) =>\n Object.keys(contractsMap || {}).filter((k) => !isMetaKey(k));\n\nconst normalizeSection = (section, contractKeys) => ({\n ...(section || {}),\n type: 'Conversation/Document Section',\n relatedContracts: (section?.relatedContracts?.length ? section.relatedContracts : contractKeys)\n});\n\nconst hasMatchingRelatedContracts = (section, contractKeys) => {\n const related = isArray(section?.relatedContracts)\n ? section.relatedContracts.map((value) => `${value}`)\n : [];\n if (!related.length) {\n return true;\n }\n if (related.length !== contractKeys.length) {\n return false;\n }\n const relatedMap = {};\n for (const value of related) {\n const key = `${value}`;\n relatedMap[key] = (relatedMap[key] || 0) + 1;\n }\n if (Object.keys(relatedMap).length !== contractKeys.length) {\n return false;\n }\n for (const key of contractKeys) {\n if (!relatedMap[key]) {\n return false;\n }\n }\n return true;\n};\n\nconst sectionChangeset = [];\nconst seenSectionKeys = {};\nconst seenContractKeys = {};\nconst existingContractKeys = {};\nfor (const key of Object.keys(contracts || {}).filter((k) => !isMetaKey(k))) {\n existingContractKeys[key] = true;\n}\n\nconst trackSectionKey = (sectionKey) => {\n if (seenSectionKeys[sectionKey]) {\n return invalid(`section key duplicated in sectionChanges: ${sectionKey}`);\n }\n seenSectionKeys[sectionKey] = true;\n return null;\n};\n\nconst trackContractKey = (sectionKey, contractKey) => {\n const existingSection = seenContractKeys[contractKey];\n if (existingSection && existingSection !== sectionKey) {\n return invalid(`contract key used by multiple sections in request: ${contractKey}`);\n }\n seenContractKeys[contractKey] = sectionKey;\n return null;\n};\n\nconst addList = isArray(sectionChanges?.add) ? sectionChanges.add : [];\nfor (const entry of addList) {\n const sectionKey = `${entry?.sectionKey || ''}`;\n if (!sectionKey) return invalid('sectionChanges.add is missing sectionKey');\n\n const sectionKeyDup = trackSectionKey(sectionKey);\n if (sectionKeyDup) return sectionKeyDup;\n\n if (existingContractKeys[sectionKey]) {\n return invalid(`contract key already exists at ${contractPtr(sectionKey)}`);\n }\n\n const contractsMap = entry?.contracts || {};\n const contractKeys = contractKeysFromMap(contractsMap).map((key) => `${key}`);\n\n if (!hasMatchingRelatedContracts(entry?.section, contractKeys)) {\n return invalid('relatedContracts must match contracts');\n }\n\n for (const key of contractKeys) {\n if (existingContractKeys[key]) {\n return invalid(`contract key already exists at ${contractPtr(key)}`);\n }\n const dup = trackContractKey(sectionKey, key);\n if (dup) return dup;\n }\n\n for (const key of contractKeys) {\n sectionChangeset.push({ op: 'add', path: contractPtr(key), val: contractsMap[key] });\n }\n\n sectionChangeset.push({\n op: 'add',\n path: contractPtr(sectionKey),\n val: normalizeSection(entry?.section, contractKeys)\n });\n}\n\nconst modifyList = isArray(sectionChanges?.modify) ? sectionChanges.modify : [];\nfor (const entry of modifyList) {\n const sectionKey = `${entry?.sectionKey || ''}`;\n if (!sectionKey) return invalid('sectionChanges.modify is missing sectionKey');\n\n const sectionKeyDup = trackSectionKey(sectionKey);\n if (sectionKeyDup) return sectionKeyDup;\n\n const existingRelated = isArray(contracts?.[sectionKey]?.relatedContracts)\n ? contracts[sectionKey].relatedContracts.map((value) => `${value}`)\n : [];\n const existingRelatedMap = {};\n for (const value of existingRelated) {\n existingRelatedMap[`${value}`] = true;\n }\n\n const contractsMap = entry?.contracts || {};\n const contractKeys = contractKeysFromMap(contractsMap).map((key) => `${key}`);\n\n if (!hasMatchingRelatedContracts(entry?.section, contractKeys)) {\n return invalid('relatedContracts must match contracts');\n }\n\n for (const key of contractKeys) {\n const dup = trackContractKey(sectionKey, key);\n if (dup) return dup;\n if (existingContractKeys[key] && !existingRelatedMap[key]) {\n return invalid(`contract key already exists at ${contractPtr(key)}`);\n }\n }\n\n for (const key of contractKeys) {\n sectionChangeset.push({ op: 'add', path: contractPtr(key), val: contractsMap[key] });\n }\n\n for (const oldKey of existingRelated) {\n if (contractKeys.indexOf(oldKey) === -1) {\n sectionChangeset.push({ op: 'remove', path: contractPtr(oldKey) });\n }\n }\n\n sectionChangeset.push({\n op: 'add',\n path: contractPtr(sectionKey),\n val: normalizeSection(entry?.section, contractKeys)\n });\n}\n\nconst removeList = isArray(sectionChanges?.remove) ? sectionChanges.remove : [];\nfor (const entry of removeList) {\n const sectionKey = `${entry?.sectionKey || entry || ''}`;\n if (!sectionKey) return invalid('sectionChanges.remove is missing sectionKey');\n\n const related = isArray(contracts?.[sectionKey]?.relatedContracts)\n ? contracts[sectionKey].relatedContracts\n : [];\n\n for (const key of related) {\n sectionChangeset.push({ op: 'remove', path: contractPtr(key) });\n }\n sectionChangeset.push({ op: 'remove', path: contractPtr(sectionKey) });\n}\n\nconst combined = sectionChangeset.concat(requestChangeset);\n\nif (combined.length === 0) {\n return invalid('no changes provided');\n}\n\nreturn { changeset: combined };\n";
89
+ };
90
+ readonly name: "Prepare";
91
+ readonly type: {
92
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
93
+ };
94
+ }, {
95
+ readonly changeset: {
96
+ readonly type: {
97
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
98
+ };
99
+ readonly value: "${steps.Prepare.changeset}";
100
+ };
101
+ readonly name: "Apply";
102
+ readonly type: {
103
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
104
+ };
105
+ }];
106
+ };
43
107
  readonly type: {
44
- readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
108
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
45
109
  };
46
110
  };
47
111
  readonly '36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp': {
@@ -106,6 +170,50 @@ declare const _default: {
106
170
  };
107
171
  readonly name: "Document Status";
108
172
  };
173
+ readonly '5Ptp4ykWNiYNCmSbYEDpxjE21DGpBxdDR6CQeAaZUSva': {
174
+ readonly description: "Stores a proposed change under /proposedChange{postfix}.";
175
+ readonly name: "Propose Change Workflow";
176
+ readonly postfix: {
177
+ readonly description: "Optional postfix used while building proposed change state key.";
178
+ readonly type: {
179
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
180
+ };
181
+ };
182
+ readonly request: {
183
+ readonly description: "Expected request payload for this workflow.";
184
+ readonly type: {
185
+ readonly blueId: "6KZwmcsyYNiJhn2pAfS9LAFTxTRHcDw4yzPwV3A3SSQp";
186
+ };
187
+ };
188
+ readonly steps: {
189
+ readonly items: readonly [{
190
+ readonly code: {
191
+ readonly type: {
192
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
193
+ };
194
+ readonly value: "const invalid = (reason) => ({\n changeset: [],\n events: [{ type: 'Conversation/Proposed Change Invalid', reason }]\n});\n\nconst request = event.message.request;\n\nconst summary = request?.summary;\nif (!summary || typeof summary !== 'string') {\n return invalid('summary is missing');\n}\n\nconst postfixValue = currentContract?.postfix || '';\nconst path = '/proposedChange' + postfixValue;\n\nif (document(path)) {\n return invalid('proposed change already exists at ' + path);\n}\n\nreturn {\n changeset: [{ op: 'add', path, val: request }]\n};\n";
195
+ };
196
+ readonly name: "Prepare";
197
+ readonly type: {
198
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
199
+ };
200
+ }, {
201
+ readonly changeset: {
202
+ readonly type: {
203
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
204
+ };
205
+ readonly value: "${steps.Prepare.changeset}";
206
+ };
207
+ readonly name: "Apply";
208
+ readonly type: {
209
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
210
+ };
211
+ }];
212
+ };
213
+ readonly type: {
214
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
215
+ };
216
+ };
109
217
  readonly '5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we': {
110
218
  readonly description: "Conversation package type. Abstract base for domain events (payload nodes delivered via channels). Not a contract; carries no runtime behavior by itself.\n";
111
219
  readonly name: "Event";
@@ -130,6 +238,263 @@ declare const _default: {
130
238
  readonly blueId: "7QACj919YMRvFCTELCf6jfQTp41RVhtHdE6bPazLUZQ6";
131
239
  };
132
240
  };
241
+ readonly '6KZwmcsyYNiJhn2pAfS9LAFTxTRHcDw4yzPwV3A3SSQp': {
242
+ readonly changeset: {
243
+ readonly description: "RFC 6902 patch entries outside /contracts (blocked by policy if it touches /contracts).";
244
+ readonly itemType: {
245
+ readonly blueId: "Bz49DbfqKC1yJeCfv5RYPZUKTfb7rtZnmreCaz4RsXn5";
246
+ };
247
+ readonly type: {
248
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
249
+ };
250
+ };
251
+ readonly description: "Payload for propose/make change operations.";
252
+ readonly name: "Change Request";
253
+ readonly sectionChanges: {
254
+ readonly description: "Section-based /contracts mutations (required when Contracts Change Policy is enabled).";
255
+ readonly type: {
256
+ readonly blueId: "DEmFwGa1sWm2BKhrN98LREKiB8j8B8kFAo7KBkkaojnN";
257
+ };
258
+ };
259
+ readonly summary: {
260
+ readonly description: "Human-readable summary of the requested change. Required when proposal is created.";
261
+ readonly type: {
262
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
263
+ };
264
+ };
265
+ };
266
+ readonly '7czpW4QyEqJy3d2X8dqsxcu3Q1G2CftTJUCTTyJSY6J8': {
267
+ readonly consentDetails: {
268
+ readonly description: "Generic scope details (merchant id, event categories, requesting contract refs, etc.).";
269
+ readonly keyType: {
270
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
271
+ };
272
+ readonly type: {
273
+ readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
274
+ };
275
+ readonly valueType: {
276
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
277
+ };
278
+ };
279
+ readonly consentKind: {
280
+ readonly description: "Classification of the consent (e.g., cardTransactionMonitoring).";
281
+ readonly type: {
282
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
283
+ };
284
+ };
285
+ readonly consentStatus: {
286
+ readonly description: "Consent state (granted, revoked).";
287
+ readonly type: {
288
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
289
+ };
290
+ readonly value: "granted";
291
+ };
292
+ readonly contracts: {
293
+ readonly granteeChannel: {
294
+ readonly description: "Grantee (e.g., merchant MyOS timeline).";
295
+ readonly type: {
296
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
297
+ };
298
+ };
299
+ readonly granterChannel: {
300
+ readonly description: "Granter (customer represented by the bank; customer has no MyOS account).";
301
+ readonly type: {
302
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
303
+ };
304
+ };
305
+ readonly guarantorChannel: {
306
+ readonly description: "Bank/admin channel.";
307
+ readonly type: {
308
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
309
+ };
310
+ };
311
+ readonly initialize: {
312
+ readonly channel: {
313
+ readonly type: {
314
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
315
+ };
316
+ readonly value: "initLifecycleChannel";
317
+ };
318
+ readonly steps: {
319
+ readonly items: readonly [{
320
+ readonly changeset: {
321
+ readonly items: readonly [{
322
+ readonly op: {
323
+ readonly type: {
324
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
325
+ };
326
+ readonly value: "replace";
327
+ };
328
+ readonly path: {
329
+ readonly type: {
330
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
331
+ };
332
+ readonly value: "/consentStatus";
333
+ };
334
+ readonly val: {
335
+ readonly type: {
336
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
337
+ };
338
+ readonly value: "granted";
339
+ };
340
+ }];
341
+ };
342
+ readonly name: "Initialize";
343
+ readonly type: {
344
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
345
+ };
346
+ }];
347
+ };
348
+ readonly type: {
349
+ readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
350
+ };
351
+ };
352
+ readonly initLifecycleChannel: {
353
+ readonly event: {
354
+ readonly type: {
355
+ readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
356
+ };
357
+ };
358
+ readonly type: {
359
+ readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
360
+ };
361
+ };
362
+ readonly revokeConsent: {
363
+ readonly channel: {
364
+ readonly type: {
365
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
366
+ };
367
+ readonly value: "granterChannel";
368
+ };
369
+ readonly description: "Customer revokes the consent.";
370
+ readonly request: {
371
+ readonly reason: {
372
+ readonly type: {
373
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
374
+ };
375
+ };
376
+ readonly revokedAt: {
377
+ readonly type: {
378
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
379
+ };
380
+ };
381
+ };
382
+ readonly type: {
383
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
384
+ };
385
+ };
386
+ readonly revokeConsentImpl: {
387
+ readonly operation: {
388
+ readonly type: {
389
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
390
+ };
391
+ readonly value: "revokeConsent";
392
+ };
393
+ readonly steps: {
394
+ readonly items: readonly [{
395
+ readonly code: {
396
+ readonly type: {
397
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
398
+ };
399
+ readonly value: "const request = event?.message?.request || {};\nconst reason = request.reason || \"\";\nconst revokedAt = request.revokedAt || \"\";\nconst canRevoke = document('/consentStatus') === \"granted\";\n\nreturn {\n reason,\n revokedAt,\n canRevoke,\n events: canRevoke\n ? [{ type: \"Conversation/Customer Consent Revoked\", reason, revokedAt }]\n : []\n};\n";
400
+ };
401
+ readonly name: "Capture";
402
+ readonly type: {
403
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
404
+ };
405
+ }, {
406
+ readonly changeset: {
407
+ readonly items: readonly [{
408
+ readonly op: {
409
+ readonly type: {
410
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
411
+ };
412
+ readonly value: "replace";
413
+ };
414
+ readonly path: {
415
+ readonly type: {
416
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
417
+ };
418
+ readonly value: "/consentStatus";
419
+ };
420
+ readonly val: {
421
+ readonly type: {
422
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
423
+ };
424
+ readonly value: "revoked";
425
+ };
426
+ }, {
427
+ readonly op: {
428
+ readonly type: {
429
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
430
+ };
431
+ readonly value: "replace";
432
+ };
433
+ readonly path: {
434
+ readonly type: {
435
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
436
+ };
437
+ readonly value: "/revocationReason";
438
+ };
439
+ readonly val: {
440
+ readonly type: {
441
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
442
+ };
443
+ readonly value: "${steps['Capture'].reason}";
444
+ };
445
+ }, {
446
+ readonly op: {
447
+ readonly type: {
448
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
449
+ };
450
+ readonly value: "replace";
451
+ };
452
+ readonly path: {
453
+ readonly type: {
454
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
455
+ };
456
+ readonly value: "/revokedAt";
457
+ };
458
+ readonly val: {
459
+ readonly type: {
460
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
461
+ };
462
+ readonly value: "${steps['Capture'].revokedAt}";
463
+ };
464
+ }];
465
+ };
466
+ readonly name: "Apply";
467
+ readonly type: {
468
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
469
+ };
470
+ }];
471
+ };
472
+ readonly type: {
473
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
474
+ };
475
+ };
476
+ };
477
+ readonly description: "Generic customer consent granted to a grantee (e.g., merchant).";
478
+ readonly grantedAt: {
479
+ readonly description: "Timestamp when consent was granted.";
480
+ readonly type: {
481
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
482
+ };
483
+ };
484
+ readonly name: "Customer Consent";
485
+ readonly revocationReason: {
486
+ readonly description: "Reason for revocation.";
487
+ readonly type: {
488
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
489
+ };
490
+ };
491
+ readonly revokedAt: {
492
+ readonly description: "Timestamp when consent was revoked.";
493
+ readonly type: {
494
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
495
+ };
496
+ };
497
+ };
133
498
  readonly '7JqBn4KcmZbHBBiQf3CAfpHBNaTKS1qhtkATsF7f6Sxg': {
134
499
  readonly bootstrapAssignee: {
135
500
  readonly description: "Channel name of a participant in the requesting document which is asked to bootstrap the requested document";
@@ -242,30 +607,59 @@ declare const _default: {
242
607
  readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
243
608
  };
244
609
  };
245
- readonly '9KDfK6k1HBAyHckj5VuWXFMLkgY5cJBESKT4eoq1bnrw': {
246
- readonly changeDescription: {
247
- readonly description: "Required human-readable summary used for review and audit.";
610
+ readonly '9fnXwi4Za8hjEj6zDSEjhbA5dLrDzs7sxoDMGLmRT2Gz': {
611
+ readonly description: "Discards a previously proposed change by removing its proposal state.";
612
+ readonly name: "Reject Change Workflow";
613
+ readonly postfix: {
614
+ readonly description: "Optional postfix used while building proposed change state key.";
248
615
  readonly type: {
249
616
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
250
617
  };
251
618
  };
252
- readonly changeset: {
253
- readonly description: "RFC 6902 patch entries outside /contracts (blocked by policy when touching /contracts).";
254
- readonly itemType: {
255
- readonly blueId: "Bz49DbfqKC1yJeCfv5RYPZUKTfb7rtZnmreCaz4RsXn5";
256
- };
619
+ readonly steps: {
620
+ readonly items: readonly [{
621
+ readonly code: {
622
+ readonly type: {
623
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
624
+ };
625
+ readonly value: "const invalid = (reason) => ({\n changeset: [],\n events: [{ type: 'Conversation/Proposed Change Invalid', reason }]\n});\n\nconst postfixValue = currentContract?.postfix || '';\nconst path = '/proposedChange' + postfixValue;\n\nif (!document(path)) {\n return invalid('no proposed change at ' + path);\n}\n\nreturn {\n changeset: [{ op: 'remove', path }]\n};\n";
626
+ };
627
+ readonly name: "Prepare";
628
+ readonly type: {
629
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
630
+ };
631
+ }, {
632
+ readonly changeset: {
633
+ readonly type: {
634
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
635
+ };
636
+ readonly value: "${steps.Prepare.changeset}";
637
+ };
638
+ readonly name: "Apply";
639
+ readonly type: {
640
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
641
+ };
642
+ }];
643
+ };
644
+ readonly type: {
645
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
646
+ };
647
+ };
648
+ readonly '9h1AhEexkxxKLYv1NHbEESYCPtvW7Nt51msGtuQC5jWK': {
649
+ readonly name: "Customer Consent Revoked";
650
+ readonly reason: {
257
651
  readonly type: {
258
- readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
652
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
259
653
  };
260
654
  };
261
- readonly description: "Payload for propose/make change operations (changeset + sectionChanges).";
262
- readonly name: "Change Request";
263
- readonly sectionChanges: {
264
- readonly description: "Section-based /contracts mutations (required when Contracts Change Policy is enabled).";
655
+ readonly revokedAt: {
265
656
  readonly type: {
266
- readonly blueId: "DEmFwGa1sWm2BKhrN98LREKiB8j8B8kFAo7KBkkaojnN";
657
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
267
658
  };
268
659
  };
660
+ readonly type: {
661
+ readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
662
+ };
269
663
  };
270
664
  readonly '9xv7YjqsSn7W7P8rnUhSpdWGfSrgL4Jt3cmiACJT5VQs': {
271
665
  readonly contracts: {
@@ -295,42 +689,59 @@ declare const _default: {
295
689
  };
296
690
  };
297
691
  };
298
- readonly AKNj5zwzgAkXZo3psikJfoVxUcNfMBVgDrf4HDGWL1gm: {
299
- readonly description: "Applies a requested changeset immediately to the document.";
300
- readonly name: "Change Workflow";
692
+ readonly A3jjsMRLxrKo5pyPgLoT6e9jPGWfFPdkMs2wjyYMRpXk: {
693
+ readonly description: "Operation that applies a changeset immediately without proposal/accept.";
694
+ readonly name: "Change Operation";
301
695
  readonly request: {
302
- readonly description: "Expected request payload for this workflow.";
303
696
  readonly type: {
304
- readonly blueId: "9KDfK6k1HBAyHckj5VuWXFMLkgY5cJBESKT4eoq1bnrw";
697
+ readonly blueId: "6KZwmcsyYNiJhn2pAfS9LAFTxTRHcDw4yzPwV3A3SSQp";
305
698
  };
306
699
  };
307
- readonly steps: {
308
- readonly items: readonly [{
309
- readonly code: {
310
- readonly type: {
311
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
312
- };
313
- readonly value: "const issues = [];\n\nconst request = event.message.request || {};\n\nconst changeDescription = request.changeDescription;\nconst rawChangeset = request.changeset;\nconst rawSectionChanges = request.sectionChanges;\nconst requestSectionChanges = rawSectionChanges || {};\n\nconst toText = (value) => {\n const raw = value && value.value ? value.value : value;\n return raw && raw.trim ? raw.trim() : '';\n};\nconst asList = (value) => Array.isArray(value) ? value : [];\nconst hasType = (value) => value && value.type;\nconst escapePointer = (value) => {\n const text = toText(value);\n return text.split('~').join('~0').split('/').join('~1');\n};\nconst requestChangeset = asList(rawChangeset);\n\nconst uniqueKeys = (values, label) => {\n const seen = new Set();\n const output = [];\n for (const value of values) {\n const key = toText(value);\n if (!key) {\n issues.push(label + ' contains invalid key');\n continue;\n }\n if (seen.has(key)) {\n issues.push(label + ' contains duplicate key: ' + key);\n continue;\n }\n seen.add(key);\n output.push(key);\n }\n return output;\n};\n\nconst sameStringSet = (left, right) => {\n if (left.length !== right.length) return false;\n const set = new Set(left);\n if (set.size !== right.length) return false;\n for (const value of right) {\n if (!set.has(value)) return false;\n }\n return true;\n};\n\nconst contracts = Object(document('/contracts') || {});\n\nconst isDocumentSection = (contract) =>\n !!contract && Array.isArray(contract.relatedContracts);\n\nconst isContractsChangePolicy = (contract) => {\n if (!contract) return false;\n return 'requireSectionChanges' in contract;\n};\n\nconst findPolicy = () => {\n for (const key of Object.keys(contracts)) {\n const contract = contracts[key];\n if (isContractsChangePolicy(contract)) {\n return contract;\n }\n }\n return null;\n};\n\nconst policy = findPolicy();\nconst policyEnabled = !!policy && policy.requireSectionChanges !== false;\n\nif (!toText(changeDescription)) {\n issues.push('changeDescription is missing');\n}\n\nconst hasChangeset = !!rawChangeset;\nconst hasSectionChanges = !!rawSectionChanges;\n\nif (!hasChangeset && !hasSectionChanges) {\n issues.push('changeset or sectionChanges is required');\n}\n\nconst isContractsPath = (path) => {\n const value = toText(path);\n return value === '/contracts' || value.startsWith('/contracts/');\n};\nif (policyEnabled && hasChangeset) {\n for (const entry of requestChangeset) {\n if (entry && isContractsPath(entry.path)) {\n issues.push('changeset cannot modify /contracts when Contracts Change Policy is enabled');\n break;\n }\n }\n}\nconst isProposedChangePath = (path) =>\n toText(path).startsWith('/proposedChange');\nif (hasChangeset) {\n for (const entry of requestChangeset) {\n if (entry && isProposedChangePath(entry.path)) {\n issues.push('changeset cannot modify /proposedChange');\n break;\n }\n }\n}\n\nconst existingSections = {};\nfor (const key of Object.keys(contracts)) {\n const contract = contracts[key];\n if (isDocumentSection(contract)) {\n existingSections[key] = contract;\n }\n}\n\nconst contractIndex = {};\nfor (const sectionKey of Object.keys(existingSections)) {\n const section = existingSections[sectionKey];\n const related = asList(section.relatedContracts);\n for (const relatedKey of related) {\n const contractKey = toText(relatedKey);\n if (!contractKey) continue;\n if (contractIndex[contractKey] && contractIndex[contractKey] !== sectionKey) {\n contractIndex[contractKey] = null;\n } else if (!contractIndex[contractKey]) {\n contractIndex[contractKey] = sectionKey;\n }\n }\n}\n\nconst normalizeSectionDefinition = (sectionDef, label) => {\n if (!sectionDef) {\n issues.push(label + ' entry must be an object');\n return null;\n }\n const sectionKey = toText(sectionDef.sectionKey);\n if (!sectionKey) {\n issues.push(label + ' sectionKey is missing');\n return null;\n }\n const section = sectionDef.section;\n if (!section) {\n issues.push(label + ' section is missing');\n return null;\n }\n\n const rawContractsMap = sectionDef.contracts && sectionDef.contracts.value\n ? sectionDef.contracts.value\n : sectionDef.contracts || {};\n const contractDefs = [];\n const contractKeys = [];\n for (const [rawKey, contract] of Object.entries(rawContractsMap)) {\n if (\n rawKey === 'type' ||\n rawKey === 'keyType' ||\n rawKey === 'valueType' ||\n rawKey === 'description'\n ) {\n continue;\n }\n const key = toText(rawKey);\n if (!key) {\n issues.push(label + ' contract key is missing');\n continue;\n }\n if (!contract) {\n issues.push(label + ' contract ' + key + ' is missing or invalid');\n continue;\n }\n if (!hasType(contract)) {\n issues.push(label + ' contract ' + key + ' is missing type');\n }\n contractDefs.push({ key, contract });\n contractKeys.push(key);\n }\n\n if (!hasType(section)) {\n issues.push(label + ' section ' + sectionKey + ' is missing type');\n }\n\n const related = section.relatedContracts\n ? uniqueKeys(asList(section.relatedContracts), label + ' section ' + sectionKey + ' relatedContracts')\n : null;\n if (related && !sameStringSet(related, contractKeys)) {\n issues.push(label + ' section ' + sectionKey + ' relatedContracts must match contracts');\n }\n\n const normalizedRelated = related || contractKeys;\n const normalizedSection = Object.assign({}, section, {\n type: 'Conversation/Document Section',\n relatedContracts: normalizedRelated\n });\n\n return {\n sectionKey,\n section: normalizedSection,\n contractDefs,\n contractKeys\n };\n};\n\nconst sectionChangeset = [];\nconst seenSectionKeys = new Set();\nconst seenContractKeys = new Set();\n\nconst addList = asList(requestSectionChanges.add);\nconst modifyList = asList(requestSectionChanges.modify);\nconst removeList = asList(requestSectionChanges.remove);\n\nfor (const entry of addList) {\n const normalized = normalizeSectionDefinition(entry, 'sectionChanges.add');\n if (!normalized) continue;\n const sectionKey = normalized.sectionKey;\n if (seenSectionKeys.has(sectionKey)) {\n issues.push('section key duplicated in sectionChanges: ' + sectionKey);\n continue;\n }\n seenSectionKeys.add(sectionKey);\n\n if (contracts[sectionKey]) {\n issues.push('section key already exists at /contracts/' + sectionKey);\n }\n\n for (const contractKey of normalized.contractKeys) {\n if (seenContractKeys.has(contractKey)) {\n issues.push('contract key used by multiple sections in request: ' + contractKey);\n continue;\n }\n seenContractKeys.add(contractKey);\n if (contracts[contractKey]) {\n issues.push('contract key already exists at /contracts/' + contractKey);\n }\n }\n\n for (const contractDef of normalized.contractDefs) {\n sectionChangeset.push({\n op: 'add',\n path: '/contracts/' + escapePointer(contractDef.key),\n val: contractDef.contract\n });\n }\n sectionChangeset.push({\n op: 'add',\n path: '/contracts/' + escapePointer(sectionKey),\n val: normalized.section\n });\n}\n\nfor (const entry of modifyList) {\n const normalized = normalizeSectionDefinition(entry, 'sectionChanges.modify');\n if (!normalized) continue;\n const sectionKey = normalized.sectionKey;\n if (seenSectionKeys.has(sectionKey)) {\n issues.push('section key duplicated in sectionChanges: ' + sectionKey);\n continue;\n }\n seenSectionKeys.add(sectionKey);\n\n const existingSection = contracts[sectionKey];\n if (!existingSection) {\n issues.push('section key does not exist at /contracts/' + sectionKey);\n } else if (!isDocumentSection(existingSection)) {\n issues.push('existing section at /contracts/' + sectionKey + ' is not a Document Section');\n }\n\n const existingRelated =\n existingSection && existingSection.relatedContracts\n ? asList(existingSection.relatedContracts)\n : [];\n if (existingSection && !existingSection.relatedContracts) {\n issues.push('existing section ' + sectionKey + ' is missing relatedContracts');\n }\n\n for (const contractKey of normalized.contractKeys) {\n if (seenContractKeys.has(contractKey)) {\n issues.push('contract key used by multiple sections in request: ' + contractKey);\n continue;\n }\n seenContractKeys.add(contractKey);\n if (contractIndex[contractKey] && contractIndex[contractKey] !== sectionKey) {\n issues.push('contract key ' + contractKey + ' is linked to another section');\n }\n }\n\n for (const contractDef of normalized.contractDefs) {\n const op = contracts[contractDef.key] ? 'replace' : 'add';\n sectionChangeset.push({\n op,\n path: '/contracts/' + escapePointer(contractDef.key),\n val: contractDef.contract\n });\n }\n\n const toRemove = uniqueKeys(existingRelated, 'sectionChanges.modify remove list').filter(\n (key) => !normalized.contractKeys.includes(key)\n );\n for (const contractKey of toRemove) {\n if (contractIndex[contractKey] && contractIndex[contractKey] !== sectionKey) {\n issues.push('contract key ' + contractKey + ' is linked to another section');\n continue;\n }\n sectionChangeset.push({\n op: 'remove',\n path: '/contracts/' + escapePointer(contractKey)\n });\n }\n\n sectionChangeset.push({\n op: 'replace',\n path: '/contracts/' + escapePointer(sectionKey),\n val: normalized.section\n });\n}\n\nconst removeKeys = uniqueKeys(removeList, 'sectionChanges.remove');\nfor (const sectionKey of removeKeys) {\n if (seenSectionKeys.has(sectionKey)) {\n issues.push('section key duplicated in sectionChanges: ' + sectionKey);\n continue;\n }\n seenSectionKeys.add(sectionKey);\n\n const existingSection = contracts[sectionKey];\n if (!existingSection) {\n issues.push('section key does not exist at /contracts/' + sectionKey);\n continue;\n }\n if (!isDocumentSection(existingSection)) {\n issues.push('existing section at /contracts/' + sectionKey + ' is not a Document Section');\n continue;\n }\n\n const related = existingSection.relatedContracts\n ? uniqueKeys(asList(existingSection.relatedContracts), 'sectionChanges.remove relatedContracts')\n : [];\n if (!existingSection.relatedContracts) {\n issues.push('existing section ' + sectionKey + ' is missing relatedContracts');\n }\n\n for (const contractKey of related) {\n if (contractIndex[contractKey] && contractIndex[contractKey] !== sectionKey) {\n issues.push('contract key ' + contractKey + ' is linked to another section');\n continue;\n }\n sectionChangeset.push({\n op: 'remove',\n path: '/contracts/' + escapePointer(contractKey)\n });\n }\n sectionChangeset.push({\n op: 'remove',\n path: '/contracts/' + escapePointer(sectionKey)\n });\n}\nconst combinedChangeset = sectionChangeset.concat(hasChangeset ? requestChangeset : []);\n\nif (combinedChangeset.length === 0) {\n issues.push('no changes provided');\n}\n\nif (issues.length > 0) {\n return {\n changeset: [],\n events: [\n {\n type: \"Conversation/Proposed Change Invalid\",\n reason: issues.join('; ')\n }\n ]\n }\n}\n\nreturn {\n changeset: combinedChangeset\n};\n";
314
- };
315
- readonly name: "Prepare";
316
- readonly type: {
317
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
318
- };
319
- }, {
320
- readonly changeset: {
321
- readonly type: {
322
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
323
- };
324
- readonly value: "${steps.Prepare.changeset}";
325
- };
326
- readonly name: "Apply";
327
- readonly type: {
328
- readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
329
- };
330
- }];
700
+ readonly type: {
701
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
702
+ };
703
+ };
704
+ readonly AemAG9Bb3XUZm6hLPMipUeYmpFFG6X4CUYZFSLC88WjV: {
705
+ readonly actionId: {
706
+ readonly description: "Optional idempotency key for the action request.";
707
+ readonly type: {
708
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
709
+ };
710
+ };
711
+ readonly actionType: {
712
+ readonly description: "consentApproval | callOperation | informational";
713
+ readonly type: {
714
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
715
+ };
716
+ };
717
+ readonly description: "A document suggests that the bank should ask the customer to take a specific action in the bank UI.";
718
+ readonly message: {
719
+ readonly description: "Human-readable message describing what is expected.";
720
+ readonly type: {
721
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
722
+ };
723
+ };
724
+ readonly name: "Customer Action Requested";
725
+ readonly operationName: {
726
+ readonly description: "Optional contract operation to execute (used for callOperation).";
727
+ readonly type: {
728
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
729
+ };
730
+ };
731
+ readonly prefillRequestJson: {
732
+ readonly description: "Optional JSON string to prefill the operation request form.";
733
+ readonly type: {
734
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
735
+ };
736
+ };
737
+ readonly title: {
738
+ readonly description: "Short title for the pending action.";
739
+ readonly type: {
740
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
741
+ };
331
742
  };
332
743
  readonly type: {
333
- readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
744
+ readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
334
745
  };
335
746
  };
336
747
  readonly AkUKoKY1hHY1CytCrAXDPKCd4md1QGmn1WNcQtWBsyAD: {
@@ -382,18 +793,6 @@ declare const _default: {
382
793
  readonly blueId: "7QACj919YMRvFCTELCf6jfQTp41RVhtHdE6bPazLUZQ6";
383
794
  };
384
795
  };
385
- readonly BoyJNkH7CAzjuuzbZFpxB7HguZVtLCxpBLnuYY5k1eqB: {
386
- readonly description: "Operation that applies a changeset immediately without proposal/accept.";
387
- readonly name: "Change Operation";
388
- readonly request: {
389
- readonly type: {
390
- readonly blueId: "9KDfK6k1HBAyHckj5VuWXFMLkgY5cJBESKT4eoq1bnrw";
391
- };
392
- };
393
- readonly type: {
394
- readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
395
- };
396
- };
397
796
  readonly C48nKSkbxraMSv4gCiGYVHKFjmtK12k63Yasn95zknWE: {
398
797
  readonly description: "An event indicating that the document's status has transitioned.";
399
798
  readonly name: "Status Change";
@@ -468,50 +867,6 @@ declare const _default: {
468
867
  readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
469
868
  };
470
869
  };
471
- readonly Ecj8Y7rb7kMCkNFfvyZ36CNB2JjCWrqy7BiHcvcNELEL: {
472
- readonly description: "Stores a proposed change under /proposedChange{postfix}.";
473
- readonly name: "Propose Change Workflow";
474
- readonly postfix: {
475
- readonly description: "Optional postfix used while building proposed change state key.";
476
- readonly type: {
477
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
478
- };
479
- };
480
- readonly request: {
481
- readonly description: "Expected request payload for this workflow.";
482
- readonly type: {
483
- readonly blueId: "9KDfK6k1HBAyHckj5VuWXFMLkgY5cJBESKT4eoq1bnrw";
484
- };
485
- };
486
- readonly steps: {
487
- readonly items: readonly [{
488
- readonly code: {
489
- readonly type: {
490
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
491
- };
492
- readonly value: "const issues = [];\n\nconst request = event.message.request || {};\n\nconst changeDescription = request.changeDescription;\nconst rawChangeset = request.changeset;\nconst rawSectionChanges = request.sectionChanges;\nconst requestSectionChanges = rawSectionChanges || {};\n\nconst toText = (value) => {\n const raw = value && value.value ? value.value : value;\n return raw && raw.trim ? raw.trim() : '';\n};\nconst asList = (value) => Array.isArray(value) ? value : [];\nconst hasType = (value) => value && value.type;\nconst escapePointer = (value) => {\n const text = toText(value);\n return text.split('~').join('~0').split('/').join('~1');\n};\nconst requestChangeset = asList(rawChangeset);\n\nconst uniqueKeys = (values, label) => {\n const seen = new Set();\n const output = [];\n for (const value of values) {\n const key = toText(value);\n if (!key) {\n issues.push(label + ' contains invalid key');\n continue;\n }\n if (seen.has(key)) {\n issues.push(label + ' contains duplicate key: ' + key);\n continue;\n }\n seen.add(key);\n output.push(key);\n }\n return output;\n};\n\nconst sameStringSet = (left, right) => {\n if (left.length !== right.length) return false;\n const set = new Set(left);\n if (set.size !== right.length) return false;\n for (const value of right) {\n if (!set.has(value)) return false;\n }\n return true;\n};\n\nconst contracts = Object(document('/contracts') || {});\n\nconst isDocumentSection = (contract) =>\n !!contract && Array.isArray(contract.relatedContracts);\n\nconst isContractsChangePolicy = (contract) => {\n if (!contract) return false;\n return 'requireSectionChanges' in contract;\n};\n\nconst findPolicy = () => {\n for (const key of Object.keys(contracts)) {\n const contract = contracts[key];\n if (isContractsChangePolicy(contract)) {\n return contract;\n }\n }\n return null;\n};\n\nconst policy = findPolicy();\nconst policyEnabled = !!policy && policy.requireSectionChanges !== false;\n\nif (!toText(changeDescription)) {\n issues.push('changeDescription is missing');\n}\n\nconst hasChangeset = !!rawChangeset;\nconst hasSectionChanges = !!rawSectionChanges;\n\nif (!hasChangeset && !hasSectionChanges) {\n issues.push('changeset or sectionChanges is required');\n}\n\nconst isContractsPath = (path) => {\n const value = toText(path);\n return value === '/contracts' || value.startsWith('/contracts/');\n};\nif (policyEnabled && hasChangeset) {\n for (const entry of requestChangeset) {\n if (entry && isContractsPath(entry.path)) {\n issues.push('changeset cannot modify /contracts when Contracts Change Policy is enabled');\n break;\n }\n }\n}\nconst isProposedChangePath = (path) =>\n toText(path).startsWith('/proposedChange');\nif (hasChangeset) {\n for (const entry of requestChangeset) {\n if (entry && isProposedChangePath(entry.path)) {\n issues.push('changeset cannot modify /proposedChange');\n break;\n }\n }\n}\n\nconst existingSections = {};\nfor (const key of Object.keys(contracts)) {\n const contract = contracts[key];\n if (isDocumentSection(contract)) {\n existingSections[key] = contract;\n }\n}\n\nconst contractIndex = {};\nfor (const sectionKey of Object.keys(existingSections)) {\n const section = existingSections[sectionKey];\n const related = asList(section.relatedContracts);\n for (const relatedKey of related) {\n const contractKey = toText(relatedKey);\n if (!contractKey) continue;\n if (contractIndex[contractKey] && contractIndex[contractKey] !== sectionKey) {\n contractIndex[contractKey] = null;\n } else if (!contractIndex[contractKey]) {\n contractIndex[contractKey] = sectionKey;\n }\n }\n}\n\nconst normalizeSectionDefinition = (sectionDef, label) => {\n if (!sectionDef) {\n issues.push(label + ' entry must be an object');\n return null;\n }\n const sectionKey = toText(sectionDef.sectionKey);\n if (!sectionKey) {\n issues.push(label + ' sectionKey is missing');\n return null;\n }\n const section = sectionDef.section;\n if (!section) {\n issues.push(label + ' section is missing');\n return null;\n }\n\n const rawContractsMap = sectionDef.contracts && sectionDef.contracts.value\n ? sectionDef.contracts.value\n : sectionDef.contracts || {};\n const contractDefs = [];\n const contractKeys = [];\n for (const [rawKey, contract] of Object.entries(rawContractsMap)) {\n if (\n rawKey === 'type' ||\n rawKey === 'keyType' ||\n rawKey === 'valueType' ||\n rawKey === 'description'\n ) {\n continue;\n }\n const key = toText(rawKey);\n if (!key) {\n issues.push(label + ' contract key is missing');\n continue;\n }\n if (!contract) {\n issues.push(label + ' contract ' + key + ' is missing or invalid');\n continue;\n }\n if (!hasType(contract)) {\n issues.push(label + ' contract ' + key + ' is missing type');\n }\n contractDefs.push({ key, contract });\n contractKeys.push(key);\n }\n\n if (!hasType(section)) {\n issues.push(label + ' section ' + sectionKey + ' is missing type');\n }\n\n const related = section.relatedContracts\n ? uniqueKeys(asList(section.relatedContracts), label + ' section ' + sectionKey + ' relatedContracts')\n : null;\n if (related && !sameStringSet(related, contractKeys)) {\n issues.push(label + ' section ' + sectionKey + ' relatedContracts must match contracts');\n }\n\n const normalizedRelated = related || contractKeys;\n const normalizedSection = Object.assign({}, section, {\n type: 'Conversation/Document Section',\n relatedContracts: normalizedRelated\n });\n\n return {\n sectionKey,\n section: normalizedSection,\n contractDefs,\n contractKeys\n };\n};\n\nconst sectionChangeset = [];\nconst seenSectionKeys = new Set();\nconst seenContractKeys = new Set();\n\nconst addList = asList(requestSectionChanges.add);\nconst modifyList = asList(requestSectionChanges.modify);\nconst removeList = asList(requestSectionChanges.remove);\n\nfor (const entry of addList) {\n const normalized = normalizeSectionDefinition(entry, 'sectionChanges.add');\n if (!normalized) continue;\n const sectionKey = normalized.sectionKey;\n if (seenSectionKeys.has(sectionKey)) {\n issues.push('section key duplicated in sectionChanges: ' + sectionKey);\n continue;\n }\n seenSectionKeys.add(sectionKey);\n\n if (contracts[sectionKey]) {\n issues.push('section key already exists at /contracts/' + sectionKey);\n }\n\n for (const contractKey of normalized.contractKeys) {\n if (seenContractKeys.has(contractKey)) {\n issues.push('contract key used by multiple sections in request: ' + contractKey);\n continue;\n }\n seenContractKeys.add(contractKey);\n if (contracts[contractKey]) {\n issues.push('contract key already exists at /contracts/' + contractKey);\n }\n }\n\n for (const contractDef of normalized.contractDefs) {\n sectionChangeset.push({\n op: 'add',\n path: '/contracts/' + escapePointer(contractDef.key),\n val: contractDef.contract\n });\n }\n sectionChangeset.push({\n op: 'add',\n path: '/contracts/' + escapePointer(sectionKey),\n val: normalized.section\n });\n}\n\nfor (const entry of modifyList) {\n const normalized = normalizeSectionDefinition(entry, 'sectionChanges.modify');\n if (!normalized) continue;\n const sectionKey = normalized.sectionKey;\n if (seenSectionKeys.has(sectionKey)) {\n issues.push('section key duplicated in sectionChanges: ' + sectionKey);\n continue;\n }\n seenSectionKeys.add(sectionKey);\n\n const existingSection = contracts[sectionKey];\n if (!existingSection) {\n issues.push('section key does not exist at /contracts/' + sectionKey);\n } else if (!isDocumentSection(existingSection)) {\n issues.push('existing section at /contracts/' + sectionKey + ' is not a Document Section');\n }\n\n const existingRelated =\n existingSection && existingSection.relatedContracts\n ? asList(existingSection.relatedContracts)\n : [];\n if (existingSection && !existingSection.relatedContracts) {\n issues.push('existing section ' + sectionKey + ' is missing relatedContracts');\n }\n\n for (const contractKey of normalized.contractKeys) {\n if (seenContractKeys.has(contractKey)) {\n issues.push('contract key used by multiple sections in request: ' + contractKey);\n continue;\n }\n seenContractKeys.add(contractKey);\n if (contractIndex[contractKey] && contractIndex[contractKey] !== sectionKey) {\n issues.push('contract key ' + contractKey + ' is linked to another section');\n }\n }\n\n for (const contractDef of normalized.contractDefs) {\n const op = contracts[contractDef.key] ? 'replace' : 'add';\n sectionChangeset.push({\n op,\n path: '/contracts/' + escapePointer(contractDef.key),\n val: contractDef.contract\n });\n }\n\n const toRemove = uniqueKeys(existingRelated, 'sectionChanges.modify remove list').filter(\n (key) => !normalized.contractKeys.includes(key)\n );\n for (const contractKey of toRemove) {\n if (contractIndex[contractKey] && contractIndex[contractKey] !== sectionKey) {\n issues.push('contract key ' + contractKey + ' is linked to another section');\n continue;\n }\n sectionChangeset.push({\n op: 'remove',\n path: '/contracts/' + escapePointer(contractKey)\n });\n }\n\n sectionChangeset.push({\n op: 'replace',\n path: '/contracts/' + escapePointer(sectionKey),\n val: normalized.section\n });\n}\n\nconst removeKeys = uniqueKeys(removeList, 'sectionChanges.remove');\nfor (const sectionKey of removeKeys) {\n if (seenSectionKeys.has(sectionKey)) {\n issues.push('section key duplicated in sectionChanges: ' + sectionKey);\n continue;\n }\n seenSectionKeys.add(sectionKey);\n\n const existingSection = contracts[sectionKey];\n if (!existingSection) {\n issues.push('section key does not exist at /contracts/' + sectionKey);\n continue;\n }\n if (!isDocumentSection(existingSection)) {\n issues.push('existing section at /contracts/' + sectionKey + ' is not a Document Section');\n continue;\n }\n\n const related = existingSection.relatedContracts\n ? uniqueKeys(asList(existingSection.relatedContracts), 'sectionChanges.remove relatedContracts')\n : [];\n if (!existingSection.relatedContracts) {\n issues.push('existing section ' + sectionKey + ' is missing relatedContracts');\n }\n\n for (const contractKey of related) {\n if (contractIndex[contractKey] && contractIndex[contractKey] !== sectionKey) {\n issues.push('contract key ' + contractKey + ' is linked to another section');\n continue;\n }\n sectionChangeset.push({\n op: 'remove',\n path: '/contracts/' + escapePointer(contractKey)\n });\n }\n sectionChangeset.push({\n op: 'remove',\n path: '/contracts/' + escapePointer(sectionKey)\n });\n}\nconst combinedChangeset = sectionChangeset.concat(hasChangeset ? requestChangeset : []);\n\nif (combinedChangeset.length === 0) {\n issues.push('no changes provided');\n}\n\nif (issues.length > 0) {\n return {\n changeset: [],\n events: [\n {\n type: \"Conversation/Proposed Change Invalid\",\n reason: issues.join('; ')\n }\n ]\n }\n}\n\nconst postfixValue = currentContract.postfix || '';\nconst path = '/proposedChange' + postfixValue;\n\nif (document(path)) {\n return {\n changeset: [],\n events: [\n {\n type: \"Conversation/Proposed Change Invalid\",\n reason: \"Can not propose change when it already exists at \" + path\n }\n ]\n }\n}\n\nconst proposedPayload = {\n changeDescription\n};\n\nproposedPayload.preparedChangeset = combinedChangeset;\n\nif (hasChangeset) {\n proposedPayload.changeset = requestChangeset;\n}\n\nconst hasSectionChangesData = addList.length || modifyList.length || removeList.length;\nif (hasSectionChangesData) {\n proposedPayload.sectionChanges = rawSectionChanges;\n}\n\nreturn {\n changeset: [{\n op: 'add',\n path,\n val: proposedPayload\n }]\n};\n";
493
- };
494
- readonly name: "Prepare";
495
- readonly type: {
496
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
497
- };
498
- }, {
499
- readonly changeset: {
500
- readonly type: {
501
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
502
- };
503
- readonly value: "${steps.Prepare.changeset}";
504
- };
505
- readonly name: "Apply";
506
- readonly type: {
507
- readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
508
- };
509
- }];
510
- };
511
- readonly type: {
512
- readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
513
- };
514
- };
515
870
  readonly EhPFqrRCreg7StsZEcW8fRQ1FQVdqYSsMSis2CHHJZ1G: {
516
871
  readonly description: "A successful final state. The document has achieved its goal and its\nprocess has finished as expected.\n";
517
872
  readonly mode: {
@@ -607,82 +962,6 @@ declare const _default: {
607
962
  readonly blueId: "HYsLiqsqk7t98d5fK6YxKEQGeqBaHNVjM4rRNdxK4yUW";
608
963
  };
609
964
  };
610
- readonly G6GMCB3AQvH2xR12RiDvaCiEbCjgz4uhjKssDMRXbCTG: {
611
- readonly description: "Applies a previously proposed change and removes its proposal state.";
612
- readonly name: "Accept Change Workflow";
613
- readonly postfix: {
614
- readonly description: "Optional postfix used while building proposed change state key.";
615
- readonly type: {
616
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
617
- };
618
- };
619
- readonly steps: {
620
- readonly items: readonly [{
621
- readonly code: {
622
- readonly type: {
623
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
624
- };
625
- readonly value: "const postfix = currentContract.postfix || '';\nconst path = '/proposedChange' + postfix;\n\nconst proposedChange = document(path);\nif (!proposedChange) {\n return {\n changeset: [],\n events: [\n {\n type: \"Conversation/Proposed Change Invalid\",\n reason: \"Proposed change does not exist at \" + path\n }\n ]\n };\n}\n\nconst preparedChangeset = proposedChange.preparedChangeset;\nif (!preparedChangeset || preparedChangeset.length === 0) {\n return {\n changeset: [],\n events: [\n {\n type: \"Conversation/Proposed Change Invalid\",\n reason: \"Proposed change is missing prepared changeset at \" + path\n }\n ]\n };\n}\n\nreturn {\n changeset: preparedChangeset.concat({ op: 'remove', path })\n};\n";
626
- };
627
- readonly name: "Prepare";
628
- readonly type: {
629
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
630
- };
631
- }, {
632
- readonly changeset: {
633
- readonly type: {
634
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
635
- };
636
- readonly value: "${steps.Prepare.changeset}";
637
- };
638
- readonly name: "Apply";
639
- readonly type: {
640
- readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
641
- };
642
- }];
643
- };
644
- readonly type: {
645
- readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
646
- };
647
- };
648
- readonly GfqZJJtSJfd69v3pJ67XURdzhC4byWJZAstCh6i4X6MZ: {
649
- readonly description: "Discards a previously proposed change by removing its proposal state.";
650
- readonly name: "Reject Change Workflow";
651
- readonly postfix: {
652
- readonly description: "Optional postfix used while building proposed change state key.";
653
- readonly type: {
654
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
655
- };
656
- };
657
- readonly steps: {
658
- readonly items: readonly [{
659
- readonly code: {
660
- readonly type: {
661
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
662
- };
663
- readonly value: "const postfix = currentContract.postfix || ''\nconst path = '/proposedChange' + postfix\n\nconst proposedChange = document(path)\nif (proposedChange) {\n return {\n changeset: [{ op: 'remove', path }]\n }\n}\n\nreturn {\n changeset: [],\n events: [\n {\n type: \"Conversation/Proposed Change Invalid\",\n reason: \"Proposed change does not exist at \" + path\n }\n ]\n};\n";
664
- };
665
- readonly name: "Prepare";
666
- readonly type: {
667
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
668
- };
669
- }, {
670
- readonly changeset: {
671
- readonly type: {
672
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
673
- };
674
- readonly value: "${steps.Prepare.changeset}";
675
- };
676
- readonly name: "Apply";
677
- readonly type: {
678
- readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
679
- };
680
- }];
681
- };
682
- readonly type: {
683
- readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
684
- };
685
- };
686
965
  readonly Guus3kHbivXvy5G93yhiKs3Pc8sxCc4XVvSo7CqLsQEc: {
687
966
  readonly description: "A final state indicating that the document encountered an unrecoverable\nerror and could not complete its process.\n";
688
967
  readonly mode: {
@@ -696,6 +975,18 @@ declare const _default: {
696
975
  readonly blueId: "58B8orsFkxxy7bWqjLXJmtBs2b5rwnNQNbeoAbGhPkJc";
697
976
  };
698
977
  };
978
+ readonly GzA8QNJnfYyFpFKmeM2HWzXJxYXoWgW6PtbyCAHhgoy4: {
979
+ readonly description: "Operation to propose a document change for later acceptance or rejection.";
980
+ readonly name: "Propose Change Operation";
981
+ readonly request: {
982
+ readonly type: {
983
+ readonly blueId: "6KZwmcsyYNiJhn2pAfS9LAFTxTRHcDw4yzPwV3A3SSQp";
984
+ };
985
+ };
986
+ readonly type: {
987
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
988
+ };
989
+ };
699
990
  readonly HH5u8PwvdXrARNkT4oyWR4QjgkwhKfPWGnNtEwfUBiUg: {
700
991
  readonly description: "Response event confirming completion of the document bootstrap.";
701
992
  readonly documentId: {
@@ -818,7 +1109,7 @@ declare const _default: {
818
1109
  channel?: string | undefined;
819
1110
  request?: import("@blue-labs/language").BlueNode | undefined;
820
1111
  }>;
821
- readonly G6GMCB3AQvH2xR12RiDvaCiEbCjgz4uhjKssDMRXbCTG: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
1112
+ readonly '29xcoYKf9p47xagTDwGLuQyFrT9WBN3Sd7FaPtqLvydy': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
822
1113
  description: import("zod").ZodOptional<import("zod").ZodString>;
823
1114
  name: import("zod").ZodOptional<import("zod").ZodString>;
824
1115
  order: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -878,7 +1169,7 @@ declare const _default: {
878
1169
  description?: string | undefined;
879
1170
  name?: string | undefined;
880
1171
  }>;
881
- readonly BoyJNkH7CAzjuuzbZFpxB7HguZVtLCxpBLnuYY5k1eqB: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
1172
+ readonly A3jjsMRLxrKo5pyPgLoT6e9jPGWfFPdkMs2wjyYMRpXk: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
882
1173
  description: import("zod").ZodOptional<import("zod").ZodString>;
883
1174
  name: import("zod").ZodOptional<import("zod").ZodString>;
884
1175
  order: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -894,7 +1185,6 @@ declare const _default: {
894
1185
  description: import("zod").ZodOptional<import("zod").ZodString>;
895
1186
  name: import("zod").ZodOptional<import("zod").ZodString>;
896
1187
  request: import("zod").ZodOptional<import("zod").ZodObject<{
897
- changeDescription: import("zod").ZodOptional<import("zod").ZodString>;
898
1188
  changeset: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
899
1189
  description: import("zod").ZodOptional<import("zod").ZodString>;
900
1190
  name: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1175,10 +1465,11 @@ declare const _default: {
1175
1465
  }[] | undefined;
1176
1466
  remove?: string[] | undefined;
1177
1467
  }>>;
1468
+ summary: import("zod").ZodOptional<import("zod").ZodString>;
1178
1469
  }, "strip", import("zod").ZodTypeAny, {
1179
1470
  description?: string | undefined;
1180
1471
  name?: string | undefined;
1181
- changeDescription?: string | undefined;
1472
+ summary?: string | undefined;
1182
1473
  changeset?: {
1183
1474
  path?: string | undefined;
1184
1475
  description?: string | undefined;
@@ -1232,7 +1523,7 @@ declare const _default: {
1232
1523
  }, {
1233
1524
  description?: string | undefined;
1234
1525
  name?: string | undefined;
1235
- changeDescription?: string | undefined;
1526
+ summary?: string | undefined;
1236
1527
  changeset?: {
1237
1528
  path?: string | undefined;
1238
1529
  description?: string | undefined;
@@ -1292,7 +1583,7 @@ declare const _default: {
1292
1583
  request?: {
1293
1584
  description?: string | undefined;
1294
1585
  name?: string | undefined;
1295
- changeDescription?: string | undefined;
1586
+ summary?: string | undefined;
1296
1587
  changeset?: {
1297
1588
  path?: string | undefined;
1298
1589
  description?: string | undefined;
@@ -1352,7 +1643,7 @@ declare const _default: {
1352
1643
  request?: {
1353
1644
  description?: string | undefined;
1354
1645
  name?: string | undefined;
1355
- changeDescription?: string | undefined;
1646
+ summary?: string | undefined;
1356
1647
  changeset?: {
1357
1648
  path?: string | undefined;
1358
1649
  description?: string | undefined;
@@ -1405,8 +1696,7 @@ declare const _default: {
1405
1696
  } | undefined;
1406
1697
  } | undefined;
1407
1698
  }>;
1408
- readonly '9KDfK6k1HBAyHckj5VuWXFMLkgY5cJBESKT4eoq1bnrw': import("zod").ZodObject<{
1409
- changeDescription: import("zod").ZodOptional<import("zod").ZodString>;
1699
+ readonly '6KZwmcsyYNiJhn2pAfS9LAFTxTRHcDw4yzPwV3A3SSQp': import("zod").ZodObject<{
1410
1700
  changeset: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1411
1701
  description: import("zod").ZodOptional<import("zod").ZodString>;
1412
1702
  name: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1687,10 +1977,11 @@ declare const _default: {
1687
1977
  }[] | undefined;
1688
1978
  remove?: string[] | undefined;
1689
1979
  }>>;
1980
+ summary: import("zod").ZodOptional<import("zod").ZodString>;
1690
1981
  }, "strip", import("zod").ZodTypeAny, {
1691
1982
  description?: string | undefined;
1692
1983
  name?: string | undefined;
1693
- changeDescription?: string | undefined;
1984
+ summary?: string | undefined;
1694
1985
  changeset?: {
1695
1986
  path?: string | undefined;
1696
1987
  description?: string | undefined;
@@ -1744,7 +2035,7 @@ declare const _default: {
1744
2035
  }, {
1745
2036
  description?: string | undefined;
1746
2037
  name?: string | undefined;
1747
- changeDescription?: string | undefined;
2038
+ summary?: string | undefined;
1748
2039
  changeset?: {
1749
2040
  path?: string | undefined;
1750
2041
  description?: string | undefined;
@@ -1796,7 +2087,7 @@ declare const _default: {
1796
2087
  remove?: string[] | undefined;
1797
2088
  } | undefined;
1798
2089
  }>;
1799
- readonly AKNj5zwzgAkXZo3psikJfoVxUcNfMBVgDrf4HDGWL1gm: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
2090
+ readonly '2jSne57MeM1HvhrQscpbDqhR46TwpmpiEpfG6h8PfMZP': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
1800
2091
  description: import("zod").ZodOptional<import("zod").ZodString>;
1801
2092
  name: import("zod").ZodOptional<import("zod").ZodString>;
1802
2093
  order: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -1826,7 +2117,6 @@ declare const _default: {
1826
2117
  description: import("zod").ZodOptional<import("zod").ZodString>;
1827
2118
  name: import("zod").ZodOptional<import("zod").ZodString>;
1828
2119
  request: import("zod").ZodOptional<import("zod").ZodObject<{
1829
- changeDescription: import("zod").ZodOptional<import("zod").ZodString>;
1830
2120
  changeset: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1831
2121
  description: import("zod").ZodOptional<import("zod").ZodString>;
1832
2122
  name: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2107,10 +2397,11 @@ declare const _default: {
2107
2397
  }[] | undefined;
2108
2398
  remove?: string[] | undefined;
2109
2399
  }>>;
2400
+ summary: import("zod").ZodOptional<import("zod").ZodString>;
2110
2401
  }, "strip", import("zod").ZodTypeAny, {
2111
2402
  description?: string | undefined;
2112
2403
  name?: string | undefined;
2113
- changeDescription?: string | undefined;
2404
+ summary?: string | undefined;
2114
2405
  changeset?: {
2115
2406
  path?: string | undefined;
2116
2407
  description?: string | undefined;
@@ -2164,7 +2455,68 @@ declare const _default: {
2164
2455
  }, {
2165
2456
  description?: string | undefined;
2166
2457
  name?: string | undefined;
2167
- changeDescription?: string | undefined;
2458
+ summary?: string | undefined;
2459
+ changeset?: {
2460
+ path?: string | undefined;
2461
+ description?: string | undefined;
2462
+ name?: string | undefined;
2463
+ op?: string | undefined;
2464
+ val?: import("@blue-labs/language").BlueNode | undefined;
2465
+ }[] | undefined;
2466
+ sectionChanges?: {
2467
+ description?: string | undefined;
2468
+ name?: string | undefined;
2469
+ add?: {
2470
+ description?: string | undefined;
2471
+ name?: string | undefined;
2472
+ contracts?: Record<string, {
2473
+ description?: string | undefined;
2474
+ name?: string | undefined;
2475
+ order?: number | undefined;
2476
+ }> | undefined;
2477
+ section?: {
2478
+ description?: string | undefined;
2479
+ name?: string | undefined;
2480
+ order?: number | undefined;
2481
+ relatedContracts?: string[] | undefined;
2482
+ relatedFields?: string[] | undefined;
2483
+ summary?: string | undefined;
2484
+ title?: string | undefined;
2485
+ } | undefined;
2486
+ sectionKey?: string | undefined;
2487
+ }[] | undefined;
2488
+ modify?: {
2489
+ description?: string | undefined;
2490
+ name?: string | undefined;
2491
+ contracts?: Record<string, {
2492
+ description?: string | undefined;
2493
+ name?: string | undefined;
2494
+ order?: number | undefined;
2495
+ }> | undefined;
2496
+ section?: {
2497
+ description?: string | undefined;
2498
+ name?: string | undefined;
2499
+ order?: number | undefined;
2500
+ relatedContracts?: string[] | undefined;
2501
+ relatedFields?: string[] | undefined;
2502
+ summary?: string | undefined;
2503
+ title?: string | undefined;
2504
+ } | undefined;
2505
+ sectionKey?: string | undefined;
2506
+ }[] | undefined;
2507
+ remove?: string[] | undefined;
2508
+ } | undefined;
2509
+ }>>;
2510
+ steps: import("zod").ZodOptional<import("zod").ZodType<import("@blue-labs/language").BlueNode, import("zod").ZodTypeDef, import("@blue-labs/language").BlueNode>>;
2511
+ }>, "strip", import("zod").ZodTypeAny, {
2512
+ description?: string | undefined;
2513
+ name?: string | undefined;
2514
+ order?: number | undefined;
2515
+ channel?: string | undefined;
2516
+ request?: {
2517
+ description?: string | undefined;
2518
+ name?: string | undefined;
2519
+ summary?: string | undefined;
2168
2520
  changeset?: {
2169
2521
  path?: string | undefined;
2170
2522
  description?: string | undefined;
@@ -2215,197 +2567,744 @@ declare const _default: {
2215
2567
  }[] | undefined;
2216
2568
  remove?: string[] | undefined;
2217
2569
  } | undefined;
2570
+ } | undefined;
2571
+ event?: import("@blue-labs/language").BlueNode | undefined;
2572
+ steps?: import("@blue-labs/language").BlueNode | undefined;
2573
+ operation?: string | undefined;
2574
+ }, {
2575
+ description?: string | undefined;
2576
+ name?: string | undefined;
2577
+ order?: number | undefined;
2578
+ channel?: string | undefined;
2579
+ request?: {
2580
+ description?: string | undefined;
2581
+ name?: string | undefined;
2582
+ summary?: string | undefined;
2583
+ changeset?: {
2584
+ path?: string | undefined;
2585
+ description?: string | undefined;
2586
+ name?: string | undefined;
2587
+ op?: string | undefined;
2588
+ val?: import("@blue-labs/language").BlueNode | undefined;
2589
+ }[] | undefined;
2590
+ sectionChanges?: {
2591
+ description?: string | undefined;
2592
+ name?: string | undefined;
2593
+ add?: {
2594
+ description?: string | undefined;
2595
+ name?: string | undefined;
2596
+ contracts?: Record<string, {
2597
+ description?: string | undefined;
2598
+ name?: string | undefined;
2599
+ order?: number | undefined;
2600
+ }> | undefined;
2601
+ section?: {
2602
+ description?: string | undefined;
2603
+ name?: string | undefined;
2604
+ order?: number | undefined;
2605
+ relatedContracts?: string[] | undefined;
2606
+ relatedFields?: string[] | undefined;
2607
+ summary?: string | undefined;
2608
+ title?: string | undefined;
2609
+ } | undefined;
2610
+ sectionKey?: string | undefined;
2611
+ }[] | undefined;
2612
+ modify?: {
2613
+ description?: string | undefined;
2614
+ name?: string | undefined;
2615
+ contracts?: Record<string, {
2616
+ description?: string | undefined;
2617
+ name?: string | undefined;
2618
+ order?: number | undefined;
2619
+ }> | undefined;
2620
+ section?: {
2621
+ description?: string | undefined;
2622
+ name?: string | undefined;
2623
+ order?: number | undefined;
2624
+ relatedContracts?: string[] | undefined;
2625
+ relatedFields?: string[] | undefined;
2626
+ summary?: string | undefined;
2627
+ title?: string | undefined;
2628
+ } | undefined;
2629
+ sectionKey?: string | undefined;
2630
+ }[] | undefined;
2631
+ remove?: string[] | undefined;
2632
+ } | undefined;
2633
+ } | undefined;
2634
+ event?: import("@blue-labs/language").BlueNode | undefined;
2635
+ steps?: import("@blue-labs/language").BlueNode | undefined;
2636
+ operation?: string | undefined;
2637
+ }>;
2638
+ readonly AkUKoKY1hHY1CytCrAXDPKCd4md1QGmn1WNcQtWBsyAD: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
2639
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2640
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2641
+ }, {
2642
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2643
+ message: import("zod").ZodOptional<import("zod").ZodString>;
2644
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2645
+ }>, "strip", import("zod").ZodTypeAny, {
2646
+ message?: string | undefined;
2647
+ description?: string | undefined;
2648
+ name?: string | undefined;
2649
+ }, {
2650
+ message?: string | undefined;
2651
+ description?: string | undefined;
2652
+ name?: string | undefined;
2653
+ }>;
2654
+ readonly HsNatiPt2YvmkWQoqtfrFCbdp75ZUBLBUkWeq84WTfnr: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
2655
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2656
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2657
+ order: import("zod").ZodOptional<import("zod").ZodNumber>;
2658
+ }, {
2659
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2660
+ event: import("zod").ZodOptional<import("zod").ZodType<import("@blue-labs/language").BlueNode, import("zod").ZodTypeDef, import("@blue-labs/language").BlueNode>>;
2661
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2662
+ }>, {
2663
+ channels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
2664
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2665
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2666
+ }>, "strip", import("zod").ZodTypeAny, {
2667
+ description?: string | undefined;
2668
+ name?: string | undefined;
2669
+ order?: number | undefined;
2670
+ event?: import("@blue-labs/language").BlueNode | undefined;
2671
+ channels?: string[] | undefined;
2672
+ }, {
2673
+ description?: string | undefined;
2674
+ name?: string | undefined;
2675
+ order?: number | undefined;
2676
+ event?: import("@blue-labs/language").BlueNode | undefined;
2677
+ channels?: string[] | undefined;
2678
+ }>;
2679
+ readonly '6FDVZRQwuhXdXtnXq8kRg3f3DM8SUdbN3TT8rSGJcS2U': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
2680
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2681
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2682
+ order: import("zod").ZodOptional<import("zod").ZodNumber>;
2683
+ }, {
2684
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2685
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2686
+ }>, {
2687
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2688
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2689
+ requireSectionChanges: import("zod").ZodOptional<import("zod").ZodBoolean>;
2690
+ }>, "strip", import("zod").ZodTypeAny, {
2691
+ description?: string | undefined;
2692
+ name?: string | undefined;
2693
+ order?: number | undefined;
2694
+ requireSectionChanges?: boolean | undefined;
2695
+ }, {
2696
+ description?: string | undefined;
2697
+ name?: string | undefined;
2698
+ order?: number | undefined;
2699
+ requireSectionChanges?: boolean | undefined;
2700
+ }>;
2701
+ readonly AemAG9Bb3XUZm6hLPMipUeYmpFFG6X4CUYZFSLC88WjV: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
2702
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2703
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2704
+ }, {
2705
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2706
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2707
+ requestId: import("zod").ZodOptional<import("zod").ZodString>;
2708
+ }>, {
2709
+ actionId: import("zod").ZodOptional<import("zod").ZodString>;
2710
+ actionType: import("zod").ZodOptional<import("zod").ZodString>;
2711
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2712
+ message: import("zod").ZodOptional<import("zod").ZodString>;
2713
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2714
+ operationName: import("zod").ZodOptional<import("zod").ZodString>;
2715
+ prefillRequestJson: import("zod").ZodOptional<import("zod").ZodString>;
2716
+ title: import("zod").ZodOptional<import("zod").ZodString>;
2717
+ }>, "strip", import("zod").ZodTypeAny, {
2718
+ message?: string | undefined;
2719
+ description?: string | undefined;
2720
+ name?: string | undefined;
2721
+ title?: string | undefined;
2722
+ requestId?: string | undefined;
2723
+ actionId?: string | undefined;
2724
+ actionType?: string | undefined;
2725
+ operationName?: string | undefined;
2726
+ prefillRequestJson?: string | undefined;
2727
+ }, {
2728
+ message?: string | undefined;
2729
+ description?: string | undefined;
2730
+ name?: string | undefined;
2731
+ title?: string | undefined;
2732
+ requestId?: string | undefined;
2733
+ actionId?: string | undefined;
2734
+ actionType?: string | undefined;
2735
+ operationName?: string | undefined;
2736
+ prefillRequestJson?: string | undefined;
2737
+ }>;
2738
+ readonly '7czpW4QyEqJy3d2X8dqsxcu3Q1G2CftTJUCTTyJSY6J8': import("zod").ZodObject<{
2739
+ consentDetails: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
2740
+ consentKind: import("zod").ZodOptional<import("zod").ZodString>;
2741
+ consentStatus: import("zod").ZodOptional<import("zod").ZodString>;
2742
+ contracts: import("zod").ZodOptional<import("zod").ZodObject<{
2743
+ granteeChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
2744
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2745
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2746
+ order: import("zod").ZodOptional<import("zod").ZodNumber>;
2747
+ }, {
2748
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2749
+ event: import("zod").ZodOptional<import("zod").ZodType<import("@blue-labs/language").BlueNode, import("zod").ZodTypeDef, import("@blue-labs/language").BlueNode>>;
2750
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2751
+ }>, {
2752
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2753
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2754
+ timelineId: import("zod").ZodOptional<import("zod").ZodString>;
2755
+ }>, {
2756
+ accountId: import("zod").ZodOptional<import("zod").ZodString>;
2757
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2758
+ email: import("zod").ZodOptional<import("zod").ZodString>;
2759
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2760
+ }>, "strip", import("zod").ZodTypeAny, {
2761
+ description?: string | undefined;
2762
+ name?: string | undefined;
2763
+ order?: number | undefined;
2764
+ event?: import("@blue-labs/language").BlueNode | undefined;
2765
+ timelineId?: string | undefined;
2766
+ accountId?: string | undefined;
2767
+ email?: string | undefined;
2768
+ }, {
2769
+ description?: string | undefined;
2770
+ name?: string | undefined;
2771
+ order?: number | undefined;
2772
+ event?: import("@blue-labs/language").BlueNode | undefined;
2773
+ timelineId?: string | undefined;
2774
+ accountId?: string | undefined;
2775
+ email?: string | undefined;
2776
+ }>>;
2777
+ granterChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
2778
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2779
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2780
+ order: import("zod").ZodOptional<import("zod").ZodNumber>;
2781
+ }, {
2782
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2783
+ event: import("zod").ZodOptional<import("zod").ZodType<import("@blue-labs/language").BlueNode, import("zod").ZodTypeDef, import("@blue-labs/language").BlueNode>>;
2784
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2785
+ }>, {
2786
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2787
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2788
+ timelineId: import("zod").ZodOptional<import("zod").ZodString>;
2789
+ }>, {
2790
+ accountId: import("zod").ZodOptional<import("zod").ZodString>;
2791
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2792
+ email: import("zod").ZodOptional<import("zod").ZodString>;
2793
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2794
+ }>, "strip", import("zod").ZodTypeAny, {
2795
+ description?: string | undefined;
2796
+ name?: string | undefined;
2797
+ order?: number | undefined;
2798
+ event?: import("@blue-labs/language").BlueNode | undefined;
2799
+ timelineId?: string | undefined;
2800
+ accountId?: string | undefined;
2801
+ email?: string | undefined;
2802
+ }, {
2803
+ description?: string | undefined;
2804
+ name?: string | undefined;
2805
+ order?: number | undefined;
2806
+ event?: import("@blue-labs/language").BlueNode | undefined;
2807
+ timelineId?: string | undefined;
2808
+ accountId?: string | undefined;
2809
+ email?: string | undefined;
2810
+ }>>;
2811
+ guarantorChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
2812
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2813
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2814
+ order: import("zod").ZodOptional<import("zod").ZodNumber>;
2815
+ }, {
2816
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2817
+ event: import("zod").ZodOptional<import("zod").ZodType<import("@blue-labs/language").BlueNode, import("zod").ZodTypeDef, import("@blue-labs/language").BlueNode>>;
2818
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2819
+ }>, {
2820
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2821
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2822
+ timelineId: import("zod").ZodOptional<import("zod").ZodString>;
2823
+ }>, {
2824
+ accountId: import("zod").ZodOptional<import("zod").ZodString>;
2825
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2826
+ email: import("zod").ZodOptional<import("zod").ZodString>;
2827
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2828
+ }>, "strip", import("zod").ZodTypeAny, {
2829
+ description?: string | undefined;
2830
+ name?: string | undefined;
2831
+ order?: number | undefined;
2832
+ event?: import("@blue-labs/language").BlueNode | undefined;
2833
+ timelineId?: string | undefined;
2834
+ accountId?: string | undefined;
2835
+ email?: string | undefined;
2836
+ }, {
2837
+ description?: string | undefined;
2838
+ name?: string | undefined;
2839
+ order?: number | undefined;
2840
+ event?: import("@blue-labs/language").BlueNode | undefined;
2841
+ timelineId?: string | undefined;
2842
+ accountId?: string | undefined;
2843
+ email?: string | undefined;
2844
+ }>>;
2845
+ initialize: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
2846
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2847
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2848
+ order: import("zod").ZodOptional<import("zod").ZodNumber>;
2849
+ }, {
2850
+ channel: import("zod").ZodOptional<import("zod").ZodString>;
2851
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2852
+ event: import("zod").ZodOptional<import("zod").ZodType<import("@blue-labs/language").BlueNode, import("zod").ZodTypeDef, import("@blue-labs/language").BlueNode>>;
2853
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2854
+ }>, {
2855
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2856
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2857
+ steps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2858
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2859
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2860
+ }, "strip", import("zod").ZodTypeAny, {
2861
+ description?: string | undefined;
2862
+ name?: string | undefined;
2863
+ }, {
2864
+ description?: string | undefined;
2865
+ name?: string | undefined;
2866
+ }>, "many">>;
2867
+ }>, "strip", import("zod").ZodTypeAny, {
2868
+ description?: string | undefined;
2869
+ name?: string | undefined;
2870
+ order?: number | undefined;
2871
+ channel?: string | undefined;
2872
+ event?: import("@blue-labs/language").BlueNode | undefined;
2873
+ steps?: {
2874
+ description?: string | undefined;
2875
+ name?: string | undefined;
2876
+ }[] | undefined;
2877
+ }, {
2878
+ description?: string | undefined;
2879
+ name?: string | undefined;
2880
+ order?: number | undefined;
2881
+ channel?: string | undefined;
2882
+ event?: import("@blue-labs/language").BlueNode | undefined;
2883
+ steps?: {
2884
+ description?: string | undefined;
2885
+ name?: string | undefined;
2886
+ }[] | undefined;
2887
+ }>>;
2888
+ initLifecycleChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
2889
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2890
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2891
+ order: import("zod").ZodOptional<import("zod").ZodNumber>;
2892
+ }, {
2893
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2894
+ event: import("zod").ZodOptional<import("zod").ZodType<import("@blue-labs/language").BlueNode, import("zod").ZodTypeDef, import("@blue-labs/language").BlueNode>>;
2895
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2896
+ }>, {
2897
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2898
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2899
+ }>, "strip", import("zod").ZodTypeAny, {
2900
+ description?: string | undefined;
2901
+ name?: string | undefined;
2902
+ order?: number | undefined;
2903
+ event?: import("@blue-labs/language").BlueNode | undefined;
2904
+ }, {
2905
+ description?: string | undefined;
2906
+ name?: string | undefined;
2907
+ order?: number | undefined;
2908
+ event?: import("@blue-labs/language").BlueNode | undefined;
2909
+ }>>;
2910
+ revokeConsent: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
2911
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2912
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2913
+ order: import("zod").ZodOptional<import("zod").ZodNumber>;
2914
+ }, {
2915
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2916
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2917
+ }>, {
2918
+ channel: import("zod").ZodOptional<import("zod").ZodString>;
2919
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2920
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2921
+ request: import("zod").ZodOptional<import("zod").ZodType<import("@blue-labs/language").BlueNode, import("zod").ZodTypeDef, import("@blue-labs/language").BlueNode>>;
2922
+ }>, "strip", import("zod").ZodTypeAny, {
2923
+ description?: string | undefined;
2924
+ name?: string | undefined;
2925
+ order?: number | undefined;
2926
+ channel?: string | undefined;
2927
+ request?: import("@blue-labs/language").BlueNode | undefined;
2928
+ }, {
2929
+ description?: string | undefined;
2930
+ name?: string | undefined;
2931
+ order?: number | undefined;
2932
+ channel?: string | undefined;
2933
+ request?: import("@blue-labs/language").BlueNode | undefined;
2934
+ }>>;
2935
+ revokeConsentImpl: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
2936
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2937
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2938
+ order: import("zod").ZodOptional<import("zod").ZodNumber>;
2939
+ }, {
2940
+ channel: import("zod").ZodOptional<import("zod").ZodString>;
2941
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2942
+ event: import("zod").ZodOptional<import("zod").ZodType<import("@blue-labs/language").BlueNode, import("zod").ZodTypeDef, import("@blue-labs/language").BlueNode>>;
2943
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2944
+ }>, {
2945
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2946
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2947
+ steps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2948
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2949
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2950
+ }, "strip", import("zod").ZodTypeAny, {
2951
+ description?: string | undefined;
2952
+ name?: string | undefined;
2953
+ }, {
2954
+ description?: string | undefined;
2955
+ name?: string | undefined;
2956
+ }>, "many">>;
2957
+ }>, {
2958
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2959
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2960
+ operation: import("zod").ZodOptional<import("zod").ZodString>;
2961
+ }>, "strip", import("zod").ZodTypeAny, {
2962
+ description?: string | undefined;
2963
+ name?: string | undefined;
2964
+ order?: number | undefined;
2965
+ channel?: string | undefined;
2966
+ event?: import("@blue-labs/language").BlueNode | undefined;
2967
+ steps?: {
2968
+ description?: string | undefined;
2969
+ name?: string | undefined;
2970
+ }[] | undefined;
2971
+ operation?: string | undefined;
2972
+ }, {
2973
+ description?: string | undefined;
2974
+ name?: string | undefined;
2975
+ order?: number | undefined;
2976
+ channel?: string | undefined;
2977
+ event?: import("@blue-labs/language").BlueNode | undefined;
2978
+ steps?: {
2979
+ description?: string | undefined;
2980
+ name?: string | undefined;
2981
+ }[] | undefined;
2982
+ operation?: string | undefined;
2983
+ }>>;
2984
+ }, "strip", import("zod").ZodTypeAny, {
2985
+ initLifecycleChannel?: {
2986
+ description?: string | undefined;
2987
+ name?: string | undefined;
2988
+ order?: number | undefined;
2989
+ event?: import("@blue-labs/language").BlueNode | undefined;
2990
+ } | undefined;
2991
+ granterChannel?: {
2992
+ description?: string | undefined;
2993
+ name?: string | undefined;
2994
+ order?: number | undefined;
2995
+ event?: import("@blue-labs/language").BlueNode | undefined;
2996
+ timelineId?: string | undefined;
2997
+ accountId?: string | undefined;
2998
+ email?: string | undefined;
2999
+ } | undefined;
3000
+ revokeConsent?: {
3001
+ description?: string | undefined;
3002
+ name?: string | undefined;
3003
+ order?: number | undefined;
3004
+ channel?: string | undefined;
3005
+ request?: import("@blue-labs/language").BlueNode | undefined;
3006
+ } | undefined;
3007
+ granteeChannel?: {
3008
+ description?: string | undefined;
3009
+ name?: string | undefined;
3010
+ order?: number | undefined;
3011
+ event?: import("@blue-labs/language").BlueNode | undefined;
3012
+ timelineId?: string | undefined;
3013
+ accountId?: string | undefined;
3014
+ email?: string | undefined;
3015
+ } | undefined;
3016
+ guarantorChannel?: {
3017
+ description?: string | undefined;
3018
+ name?: string | undefined;
3019
+ order?: number | undefined;
3020
+ event?: import("@blue-labs/language").BlueNode | undefined;
3021
+ timelineId?: string | undefined;
3022
+ accountId?: string | undefined;
3023
+ email?: string | undefined;
3024
+ } | undefined;
3025
+ initialize?: {
3026
+ description?: string | undefined;
3027
+ name?: string | undefined;
3028
+ order?: number | undefined;
3029
+ channel?: string | undefined;
3030
+ event?: import("@blue-labs/language").BlueNode | undefined;
3031
+ steps?: {
3032
+ description?: string | undefined;
3033
+ name?: string | undefined;
3034
+ }[] | undefined;
3035
+ } | undefined;
3036
+ revokeConsentImpl?: {
3037
+ description?: string | undefined;
3038
+ name?: string | undefined;
3039
+ order?: number | undefined;
3040
+ channel?: string | undefined;
3041
+ event?: import("@blue-labs/language").BlueNode | undefined;
3042
+ steps?: {
3043
+ description?: string | undefined;
3044
+ name?: string | undefined;
3045
+ }[] | undefined;
3046
+ operation?: string | undefined;
3047
+ } | undefined;
3048
+ }, {
3049
+ initLifecycleChannel?: {
3050
+ description?: string | undefined;
3051
+ name?: string | undefined;
3052
+ order?: number | undefined;
3053
+ event?: import("@blue-labs/language").BlueNode | undefined;
3054
+ } | undefined;
3055
+ granterChannel?: {
3056
+ description?: string | undefined;
3057
+ name?: string | undefined;
3058
+ order?: number | undefined;
3059
+ event?: import("@blue-labs/language").BlueNode | undefined;
3060
+ timelineId?: string | undefined;
3061
+ accountId?: string | undefined;
3062
+ email?: string | undefined;
3063
+ } | undefined;
3064
+ revokeConsent?: {
3065
+ description?: string | undefined;
3066
+ name?: string | undefined;
3067
+ order?: number | undefined;
3068
+ channel?: string | undefined;
3069
+ request?: import("@blue-labs/language").BlueNode | undefined;
3070
+ } | undefined;
3071
+ granteeChannel?: {
3072
+ description?: string | undefined;
3073
+ name?: string | undefined;
3074
+ order?: number | undefined;
3075
+ event?: import("@blue-labs/language").BlueNode | undefined;
3076
+ timelineId?: string | undefined;
3077
+ accountId?: string | undefined;
3078
+ email?: string | undefined;
3079
+ } | undefined;
3080
+ guarantorChannel?: {
3081
+ description?: string | undefined;
3082
+ name?: string | undefined;
3083
+ order?: number | undefined;
3084
+ event?: import("@blue-labs/language").BlueNode | undefined;
3085
+ timelineId?: string | undefined;
3086
+ accountId?: string | undefined;
3087
+ email?: string | undefined;
3088
+ } | undefined;
3089
+ initialize?: {
3090
+ description?: string | undefined;
3091
+ name?: string | undefined;
3092
+ order?: number | undefined;
3093
+ channel?: string | undefined;
3094
+ event?: import("@blue-labs/language").BlueNode | undefined;
3095
+ steps?: {
3096
+ description?: string | undefined;
3097
+ name?: string | undefined;
3098
+ }[] | undefined;
3099
+ } | undefined;
3100
+ revokeConsentImpl?: {
3101
+ description?: string | undefined;
3102
+ name?: string | undefined;
3103
+ order?: number | undefined;
3104
+ channel?: string | undefined;
3105
+ event?: import("@blue-labs/language").BlueNode | undefined;
3106
+ steps?: {
3107
+ description?: string | undefined;
3108
+ name?: string | undefined;
3109
+ }[] | undefined;
3110
+ operation?: string | undefined;
3111
+ } | undefined;
3112
+ }>>;
3113
+ description: import("zod").ZodOptional<import("zod").ZodString>;
3114
+ grantedAt: import("zod").ZodOptional<import("zod").ZodObject<any, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
3115
+ [x: string]: any;
3116
+ }, {
3117
+ [x: string]: any;
2218
3118
  }>>;
2219
- steps: import("zod").ZodOptional<import("zod").ZodType<import("@blue-labs/language").BlueNode, import("zod").ZodTypeDef, import("@blue-labs/language").BlueNode>>;
2220
- }>, "strip", import("zod").ZodTypeAny, {
3119
+ name: import("zod").ZodOptional<import("zod").ZodString>;
3120
+ revocationReason: import("zod").ZodOptional<import("zod").ZodString>;
3121
+ revokedAt: import("zod").ZodOptional<import("zod").ZodObject<any, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
3122
+ [x: string]: any;
3123
+ }, {
3124
+ [x: string]: any;
3125
+ }>>;
3126
+ }, "strip", import("zod").ZodTypeAny, {
2221
3127
  description?: string | undefined;
2222
3128
  name?: string | undefined;
2223
- order?: number | undefined;
2224
- channel?: string | undefined;
2225
- request?: {
2226
- description?: string | undefined;
2227
- name?: string | undefined;
2228
- changeDescription?: string | undefined;
2229
- changeset?: {
2230
- path?: string | undefined;
3129
+ contracts?: {
3130
+ initLifecycleChannel?: {
2231
3131
  description?: string | undefined;
2232
3132
  name?: string | undefined;
2233
- op?: string | undefined;
2234
- val?: import("@blue-labs/language").BlueNode | undefined;
2235
- }[] | undefined;
2236
- sectionChanges?: {
3133
+ order?: number | undefined;
3134
+ event?: import("@blue-labs/language").BlueNode | undefined;
3135
+ } | undefined;
3136
+ granterChannel?: {
2237
3137
  description?: string | undefined;
2238
3138
  name?: string | undefined;
2239
- add?: {
3139
+ order?: number | undefined;
3140
+ event?: import("@blue-labs/language").BlueNode | undefined;
3141
+ timelineId?: string | undefined;
3142
+ accountId?: string | undefined;
3143
+ email?: string | undefined;
3144
+ } | undefined;
3145
+ revokeConsent?: {
3146
+ description?: string | undefined;
3147
+ name?: string | undefined;
3148
+ order?: number | undefined;
3149
+ channel?: string | undefined;
3150
+ request?: import("@blue-labs/language").BlueNode | undefined;
3151
+ } | undefined;
3152
+ granteeChannel?: {
3153
+ description?: string | undefined;
3154
+ name?: string | undefined;
3155
+ order?: number | undefined;
3156
+ event?: import("@blue-labs/language").BlueNode | undefined;
3157
+ timelineId?: string | undefined;
3158
+ accountId?: string | undefined;
3159
+ email?: string | undefined;
3160
+ } | undefined;
3161
+ guarantorChannel?: {
3162
+ description?: string | undefined;
3163
+ name?: string | undefined;
3164
+ order?: number | undefined;
3165
+ event?: import("@blue-labs/language").BlueNode | undefined;
3166
+ timelineId?: string | undefined;
3167
+ accountId?: string | undefined;
3168
+ email?: string | undefined;
3169
+ } | undefined;
3170
+ initialize?: {
3171
+ description?: string | undefined;
3172
+ name?: string | undefined;
3173
+ order?: number | undefined;
3174
+ channel?: string | undefined;
3175
+ event?: import("@blue-labs/language").BlueNode | undefined;
3176
+ steps?: {
2240
3177
  description?: string | undefined;
2241
3178
  name?: string | undefined;
2242
- contracts?: Record<string, {
2243
- description?: string | undefined;
2244
- name?: string | undefined;
2245
- order?: number | undefined;
2246
- }> | undefined;
2247
- section?: {
2248
- description?: string | undefined;
2249
- name?: string | undefined;
2250
- order?: number | undefined;
2251
- relatedContracts?: string[] | undefined;
2252
- relatedFields?: string[] | undefined;
2253
- summary?: string | undefined;
2254
- title?: string | undefined;
2255
- } | undefined;
2256
- sectionKey?: string | undefined;
2257
3179
  }[] | undefined;
2258
- modify?: {
3180
+ } | undefined;
3181
+ revokeConsentImpl?: {
3182
+ description?: string | undefined;
3183
+ name?: string | undefined;
3184
+ order?: number | undefined;
3185
+ channel?: string | undefined;
3186
+ event?: import("@blue-labs/language").BlueNode | undefined;
3187
+ steps?: {
2259
3188
  description?: string | undefined;
2260
3189
  name?: string | undefined;
2261
- contracts?: Record<string, {
2262
- description?: string | undefined;
2263
- name?: string | undefined;
2264
- order?: number | undefined;
2265
- }> | undefined;
2266
- section?: {
2267
- description?: string | undefined;
2268
- name?: string | undefined;
2269
- order?: number | undefined;
2270
- relatedContracts?: string[] | undefined;
2271
- relatedFields?: string[] | undefined;
2272
- summary?: string | undefined;
2273
- title?: string | undefined;
2274
- } | undefined;
2275
- sectionKey?: string | undefined;
2276
3190
  }[] | undefined;
2277
- remove?: string[] | undefined;
3191
+ operation?: string | undefined;
2278
3192
  } | undefined;
2279
3193
  } | undefined;
2280
- event?: import("@blue-labs/language").BlueNode | undefined;
2281
- steps?: import("@blue-labs/language").BlueNode | undefined;
2282
- operation?: string | undefined;
3194
+ consentDetails?: Record<string, string> | undefined;
3195
+ consentKind?: string | undefined;
3196
+ consentStatus?: string | undefined;
3197
+ grantedAt?: {
3198
+ [x: string]: any;
3199
+ } | undefined;
3200
+ revocationReason?: string | undefined;
3201
+ revokedAt?: {
3202
+ [x: string]: any;
3203
+ } | undefined;
2283
3204
  }, {
2284
3205
  description?: string | undefined;
2285
3206
  name?: string | undefined;
2286
- order?: number | undefined;
2287
- channel?: string | undefined;
2288
- request?: {
2289
- description?: string | undefined;
2290
- name?: string | undefined;
2291
- changeDescription?: string | undefined;
2292
- changeset?: {
2293
- path?: string | undefined;
3207
+ contracts?: {
3208
+ initLifecycleChannel?: {
2294
3209
  description?: string | undefined;
2295
3210
  name?: string | undefined;
2296
- op?: string | undefined;
2297
- val?: import("@blue-labs/language").BlueNode | undefined;
2298
- }[] | undefined;
2299
- sectionChanges?: {
3211
+ order?: number | undefined;
3212
+ event?: import("@blue-labs/language").BlueNode | undefined;
3213
+ } | undefined;
3214
+ granterChannel?: {
2300
3215
  description?: string | undefined;
2301
3216
  name?: string | undefined;
2302
- add?: {
3217
+ order?: number | undefined;
3218
+ event?: import("@blue-labs/language").BlueNode | undefined;
3219
+ timelineId?: string | undefined;
3220
+ accountId?: string | undefined;
3221
+ email?: string | undefined;
3222
+ } | undefined;
3223
+ revokeConsent?: {
3224
+ description?: string | undefined;
3225
+ name?: string | undefined;
3226
+ order?: number | undefined;
3227
+ channel?: string | undefined;
3228
+ request?: import("@blue-labs/language").BlueNode | undefined;
3229
+ } | undefined;
3230
+ granteeChannel?: {
3231
+ description?: string | undefined;
3232
+ name?: string | undefined;
3233
+ order?: number | undefined;
3234
+ event?: import("@blue-labs/language").BlueNode | undefined;
3235
+ timelineId?: string | undefined;
3236
+ accountId?: string | undefined;
3237
+ email?: string | undefined;
3238
+ } | undefined;
3239
+ guarantorChannel?: {
3240
+ description?: string | undefined;
3241
+ name?: string | undefined;
3242
+ order?: number | undefined;
3243
+ event?: import("@blue-labs/language").BlueNode | undefined;
3244
+ timelineId?: string | undefined;
3245
+ accountId?: string | undefined;
3246
+ email?: string | undefined;
3247
+ } | undefined;
3248
+ initialize?: {
3249
+ description?: string | undefined;
3250
+ name?: string | undefined;
3251
+ order?: number | undefined;
3252
+ channel?: string | undefined;
3253
+ event?: import("@blue-labs/language").BlueNode | undefined;
3254
+ steps?: {
2303
3255
  description?: string | undefined;
2304
3256
  name?: string | undefined;
2305
- contracts?: Record<string, {
2306
- description?: string | undefined;
2307
- name?: string | undefined;
2308
- order?: number | undefined;
2309
- }> | undefined;
2310
- section?: {
2311
- description?: string | undefined;
2312
- name?: string | undefined;
2313
- order?: number | undefined;
2314
- relatedContracts?: string[] | undefined;
2315
- relatedFields?: string[] | undefined;
2316
- summary?: string | undefined;
2317
- title?: string | undefined;
2318
- } | undefined;
2319
- sectionKey?: string | undefined;
2320
3257
  }[] | undefined;
2321
- modify?: {
3258
+ } | undefined;
3259
+ revokeConsentImpl?: {
3260
+ description?: string | undefined;
3261
+ name?: string | undefined;
3262
+ order?: number | undefined;
3263
+ channel?: string | undefined;
3264
+ event?: import("@blue-labs/language").BlueNode | undefined;
3265
+ steps?: {
2322
3266
  description?: string | undefined;
2323
3267
  name?: string | undefined;
2324
- contracts?: Record<string, {
2325
- description?: string | undefined;
2326
- name?: string | undefined;
2327
- order?: number | undefined;
2328
- }> | undefined;
2329
- section?: {
2330
- description?: string | undefined;
2331
- name?: string | undefined;
2332
- order?: number | undefined;
2333
- relatedContracts?: string[] | undefined;
2334
- relatedFields?: string[] | undefined;
2335
- summary?: string | undefined;
2336
- title?: string | undefined;
2337
- } | undefined;
2338
- sectionKey?: string | undefined;
2339
3268
  }[] | undefined;
2340
- remove?: string[] | undefined;
3269
+ operation?: string | undefined;
2341
3270
  } | undefined;
2342
3271
  } | undefined;
2343
- event?: import("@blue-labs/language").BlueNode | undefined;
2344
- steps?: import("@blue-labs/language").BlueNode | undefined;
2345
- operation?: string | undefined;
2346
- }>;
2347
- readonly AkUKoKY1hHY1CytCrAXDPKCd4md1QGmn1WNcQtWBsyAD: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
2348
- description: import("zod").ZodOptional<import("zod").ZodString>;
2349
- name: import("zod").ZodOptional<import("zod").ZodString>;
2350
- }, {
2351
- description: import("zod").ZodOptional<import("zod").ZodString>;
2352
- message: import("zod").ZodOptional<import("zod").ZodString>;
2353
- name: import("zod").ZodOptional<import("zod").ZodString>;
2354
- }>, "strip", import("zod").ZodTypeAny, {
2355
- message?: string | undefined;
2356
- description?: string | undefined;
2357
- name?: string | undefined;
2358
- }, {
2359
- message?: string | undefined;
2360
- description?: string | undefined;
2361
- name?: string | undefined;
2362
- }>;
2363
- readonly HsNatiPt2YvmkWQoqtfrFCbdp75ZUBLBUkWeq84WTfnr: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
2364
- description: import("zod").ZodOptional<import("zod").ZodString>;
2365
- name: import("zod").ZodOptional<import("zod").ZodString>;
2366
- order: import("zod").ZodOptional<import("zod").ZodNumber>;
2367
- }, {
2368
- description: import("zod").ZodOptional<import("zod").ZodString>;
2369
- event: import("zod").ZodOptional<import("zod").ZodType<import("@blue-labs/language").BlueNode, import("zod").ZodTypeDef, import("@blue-labs/language").BlueNode>>;
2370
- name: import("zod").ZodOptional<import("zod").ZodString>;
2371
- }>, {
2372
- channels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
2373
- description: import("zod").ZodOptional<import("zod").ZodString>;
2374
- name: import("zod").ZodOptional<import("zod").ZodString>;
2375
- }>, "strip", import("zod").ZodTypeAny, {
2376
- description?: string | undefined;
2377
- name?: string | undefined;
2378
- order?: number | undefined;
2379
- event?: import("@blue-labs/language").BlueNode | undefined;
2380
- channels?: string[] | undefined;
2381
- }, {
2382
- description?: string | undefined;
2383
- name?: string | undefined;
2384
- order?: number | undefined;
2385
- event?: import("@blue-labs/language").BlueNode | undefined;
2386
- channels?: string[] | undefined;
3272
+ consentDetails?: Record<string, string> | undefined;
3273
+ consentKind?: string | undefined;
3274
+ consentStatus?: string | undefined;
3275
+ grantedAt?: {
3276
+ [x: string]: any;
3277
+ } | undefined;
3278
+ revocationReason?: string | undefined;
3279
+ revokedAt?: {
3280
+ [x: string]: any;
3281
+ } | undefined;
2387
3282
  }>;
2388
- readonly '6FDVZRQwuhXdXtnXq8kRg3f3DM8SUdbN3TT8rSGJcS2U': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
3283
+ readonly '9h1AhEexkxxKLYv1NHbEESYCPtvW7Nt51msGtuQC5jWK': import("zod").ZodObject<import("zod").objectUtil.extendShape<{
2389
3284
  description: import("zod").ZodOptional<import("zod").ZodString>;
2390
3285
  name: import("zod").ZodOptional<import("zod").ZodString>;
2391
- order: import("zod").ZodOptional<import("zod").ZodNumber>;
2392
3286
  }, {
2393
- description: import("zod").ZodOptional<import("zod").ZodString>;
2394
- name: import("zod").ZodOptional<import("zod").ZodString>;
2395
- }>, {
2396
- description: import("zod").ZodOptional<import("zod").ZodString>;
2397
3287
  name: import("zod").ZodOptional<import("zod").ZodString>;
2398
- requireSectionChanges: import("zod").ZodOptional<import("zod").ZodBoolean>;
3288
+ reason: import("zod").ZodOptional<import("zod").ZodString>;
3289
+ revokedAt: import("zod").ZodOptional<import("zod").ZodObject<any, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
3290
+ [x: string]: any;
3291
+ }, {
3292
+ [x: string]: any;
3293
+ }>>;
2399
3294
  }>, "strip", import("zod").ZodTypeAny, {
2400
3295
  description?: string | undefined;
2401
3296
  name?: string | undefined;
2402
- order?: number | undefined;
2403
- requireSectionChanges?: boolean | undefined;
3297
+ revokedAt?: {
3298
+ [x: string]: any;
3299
+ } | undefined;
3300
+ reason?: string | undefined;
2404
3301
  }, {
2405
3302
  description?: string | undefined;
2406
3303
  name?: string | undefined;
2407
- order?: number | undefined;
2408
- requireSectionChanges?: boolean | undefined;
3304
+ revokedAt?: {
3305
+ [x: string]: any;
3306
+ } | undefined;
3307
+ reason?: string | undefined;
2409
3308
  }>;
2410
3309
  readonly HH5u8PwvdXrARNkT4oyWR4QjgkwhKfPWGnNtEwfUBiUg: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
2411
3310
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2443,13 +3342,13 @@ declare const _default: {
2443
3342
  }>, "strip", import("zod").ZodTypeAny, {
2444
3343
  description?: string | undefined;
2445
3344
  name?: string | undefined;
2446
- inResponseTo?: import("@blue-labs/language").BlueNode | undefined;
2447
3345
  reason?: string | undefined;
3346
+ inResponseTo?: import("@blue-labs/language").BlueNode | undefined;
2448
3347
  }, {
2449
3348
  description?: string | undefined;
2450
3349
  name?: string | undefined;
2451
- inResponseTo?: import("@blue-labs/language").BlueNode | undefined;
2452
3350
  reason?: string | undefined;
3351
+ inResponseTo?: import("@blue-labs/language").BlueNode | undefined;
2453
3352
  }>;
2454
3353
  readonly '7JqBn4KcmZbHBBiQf3CAfpHBNaTKS1qhtkATsF7f6Sxg': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
2455
3354
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2546,14 +3445,14 @@ declare const _default: {
2546
3445
  status?: string | undefined;
2547
3446
  description?: string | undefined;
2548
3447
  name?: string | undefined;
2549
- inResponseTo?: import("@blue-labs/language").BlueNode | undefined;
2550
3448
  reason?: string | undefined;
3449
+ inResponseTo?: import("@blue-labs/language").BlueNode | undefined;
2551
3450
  }, {
2552
3451
  status?: string | undefined;
2553
3452
  description?: string | undefined;
2554
3453
  name?: string | undefined;
2555
- inResponseTo?: import("@blue-labs/language").BlueNode | undefined;
2556
3454
  reason?: string | undefined;
3455
+ inResponseTo?: import("@blue-labs/language").BlueNode | undefined;
2557
3456
  }>;
2558
3457
  readonly JBfupL6eyZsqj7CYbReFaS5ga784SLT8aP8r9W64vbLm: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
2559
3458
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -3057,7 +3956,7 @@ declare const _default: {
3057
3956
  document?: import("@blue-labs/language").BlueNode | undefined;
3058
3957
  allowNewerVersion?: boolean | undefined;
3059
3958
  }>;
3060
- readonly '2mJhqggRy7YTHK5bSeAitqhhjynpe8mApvQXXpcwPCxx': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
3959
+ readonly GzA8QNJnfYyFpFKmeM2HWzXJxYXoWgW6PtbyCAHhgoy4: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
3061
3960
  description: import("zod").ZodOptional<import("zod").ZodString>;
3062
3961
  name: import("zod").ZodOptional<import("zod").ZodString>;
3063
3962
  order: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -3073,7 +3972,6 @@ declare const _default: {
3073
3972
  description: import("zod").ZodOptional<import("zod").ZodString>;
3074
3973
  name: import("zod").ZodOptional<import("zod").ZodString>;
3075
3974
  request: import("zod").ZodOptional<import("zod").ZodObject<{
3076
- changeDescription: import("zod").ZodOptional<import("zod").ZodString>;
3077
3975
  changeset: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3078
3976
  description: import("zod").ZodOptional<import("zod").ZodString>;
3079
3977
  name: import("zod").ZodOptional<import("zod").ZodString>;
@@ -3354,10 +4252,11 @@ declare const _default: {
3354
4252
  }[] | undefined;
3355
4253
  remove?: string[] | undefined;
3356
4254
  }>>;
4255
+ summary: import("zod").ZodOptional<import("zod").ZodString>;
3357
4256
  }, "strip", import("zod").ZodTypeAny, {
3358
4257
  description?: string | undefined;
3359
4258
  name?: string | undefined;
3360
- changeDescription?: string | undefined;
4259
+ summary?: string | undefined;
3361
4260
  changeset?: {
3362
4261
  path?: string | undefined;
3363
4262
  description?: string | undefined;
@@ -3411,7 +4310,7 @@ declare const _default: {
3411
4310
  }, {
3412
4311
  description?: string | undefined;
3413
4312
  name?: string | undefined;
3414
- changeDescription?: string | undefined;
4313
+ summary?: string | undefined;
3415
4314
  changeset?: {
3416
4315
  path?: string | undefined;
3417
4316
  description?: string | undefined;
@@ -3471,7 +4370,7 @@ declare const _default: {
3471
4370
  request?: {
3472
4371
  description?: string | undefined;
3473
4372
  name?: string | undefined;
3474
- changeDescription?: string | undefined;
4373
+ summary?: string | undefined;
3475
4374
  changeset?: {
3476
4375
  path?: string | undefined;
3477
4376
  description?: string | undefined;
@@ -3531,7 +4430,7 @@ declare const _default: {
3531
4430
  request?: {
3532
4431
  description?: string | undefined;
3533
4432
  name?: string | undefined;
3534
- changeDescription?: string | undefined;
4433
+ summary?: string | undefined;
3535
4434
  changeset?: {
3536
4435
  path?: string | undefined;
3537
4436
  description?: string | undefined;
@@ -3584,7 +4483,7 @@ declare const _default: {
3584
4483
  } | undefined;
3585
4484
  } | undefined;
3586
4485
  }>;
3587
- readonly Ecj8Y7rb7kMCkNFfvyZ36CNB2JjCWrqy7BiHcvcNELEL: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
4486
+ readonly '5Ptp4ykWNiYNCmSbYEDpxjE21DGpBxdDR6CQeAaZUSva': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
3588
4487
  description: import("zod").ZodOptional<import("zod").ZodString>;
3589
4488
  name: import("zod").ZodOptional<import("zod").ZodString>;
3590
4489
  order: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -3615,7 +4514,6 @@ declare const _default: {
3615
4514
  name: import("zod").ZodOptional<import("zod").ZodString>;
3616
4515
  postfix: import("zod").ZodOptional<import("zod").ZodString>;
3617
4516
  request: import("zod").ZodOptional<import("zod").ZodObject<{
3618
- changeDescription: import("zod").ZodOptional<import("zod").ZodString>;
3619
4517
  changeset: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3620
4518
  description: import("zod").ZodOptional<import("zod").ZodString>;
3621
4519
  name: import("zod").ZodOptional<import("zod").ZodString>;
@@ -3896,10 +4794,11 @@ declare const _default: {
3896
4794
  }[] | undefined;
3897
4795
  remove?: string[] | undefined;
3898
4796
  }>>;
4797
+ summary: import("zod").ZodOptional<import("zod").ZodString>;
3899
4798
  }, "strip", import("zod").ZodTypeAny, {
3900
4799
  description?: string | undefined;
3901
4800
  name?: string | undefined;
3902
- changeDescription?: string | undefined;
4801
+ summary?: string | undefined;
3903
4802
  changeset?: {
3904
4803
  path?: string | undefined;
3905
4804
  description?: string | undefined;
@@ -3953,7 +4852,7 @@ declare const _default: {
3953
4852
  }, {
3954
4853
  description?: string | undefined;
3955
4854
  name?: string | undefined;
3956
- changeDescription?: string | undefined;
4855
+ summary?: string | undefined;
3957
4856
  changeset?: {
3958
4857
  path?: string | undefined;
3959
4858
  description?: string | undefined;
@@ -4014,7 +4913,7 @@ declare const _default: {
4014
4913
  request?: {
4015
4914
  description?: string | undefined;
4016
4915
  name?: string | undefined;
4017
- changeDescription?: string | undefined;
4916
+ summary?: string | undefined;
4018
4917
  changeset?: {
4019
4918
  path?: string | undefined;
4020
4919
  description?: string | undefined;
@@ -4078,7 +4977,7 @@ declare const _default: {
4078
4977
  request?: {
4079
4978
  description?: string | undefined;
4080
4979
  name?: string | undefined;
4081
- changeDescription?: string | undefined;
4980
+ summary?: string | undefined;
4082
4981
  changeset?: {
4083
4982
  path?: string | undefined;
4084
4983
  description?: string | undefined;
@@ -4179,7 +5078,7 @@ declare const _default: {
4179
5078
  channel?: string | undefined;
4180
5079
  request?: import("@blue-labs/language").BlueNode | undefined;
4181
5080
  }>;
4182
- readonly GfqZJJtSJfd69v3pJ67XURdzhC4byWJZAstCh6i4X6MZ: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
5081
+ readonly '9fnXwi4Za8hjEj6zDSEjhbA5dLrDzs7sxoDMGLmRT2Gz': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
4183
5082
  description: import("zod").ZodOptional<import("zod").ZodString>;
4184
5083
  name: import("zod").ZodOptional<import("zod").ZodString>;
4185
5084
  order: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -4630,14 +5529,17 @@ declare const _default: {
4630
5529
  };
4631
5530
  readonly aliases: {
4632
5531
  readonly 'Conversation/Accept Change Operation': "APk3siB8g9pvWLG3qyqtGjRNNGB7RDpFWQtG4epj5Avv";
4633
- readonly 'Conversation/Accept Change Workflow': "G6GMCB3AQvH2xR12RiDvaCiEbCjgz4uhjKssDMRXbCTG";
5532
+ readonly 'Conversation/Accept Change Workflow': "29xcoYKf9p47xagTDwGLuQyFrT9WBN3Sd7FaPtqLvydy";
4634
5533
  readonly 'Conversation/Actor': "CN5efWVizJbRsMCw8YWRfT2q9vM9XfeGDN9wFvYcvMnQ";
4635
- readonly 'Conversation/Change Operation': "BoyJNkH7CAzjuuzbZFpxB7HguZVtLCxpBLnuYY5k1eqB";
4636
- readonly 'Conversation/Change Request': "9KDfK6k1HBAyHckj5VuWXFMLkgY5cJBESKT4eoq1bnrw";
4637
- readonly 'Conversation/Change Workflow': "AKNj5zwzgAkXZo3psikJfoVxUcNfMBVgDrf4HDGWL1gm";
5534
+ readonly 'Conversation/Change Operation': "A3jjsMRLxrKo5pyPgLoT6e9jPGWfFPdkMs2wjyYMRpXk";
5535
+ readonly 'Conversation/Change Request': "6KZwmcsyYNiJhn2pAfS9LAFTxTRHcDw4yzPwV3A3SSQp";
5536
+ readonly 'Conversation/Change Workflow': "2jSne57MeM1HvhrQscpbDqhR46TwpmpiEpfG6h8PfMZP";
4638
5537
  readonly 'Conversation/Chat Message': "AkUKoKY1hHY1CytCrAXDPKCd4md1QGmn1WNcQtWBsyAD";
4639
5538
  readonly 'Conversation/Composite Timeline Channel': "HsNatiPt2YvmkWQoqtfrFCbdp75ZUBLBUkWeq84WTfnr";
4640
5539
  readonly 'Conversation/Contracts Change Policy': "6FDVZRQwuhXdXtnXq8kRg3f3DM8SUdbN3TT8rSGJcS2U";
5540
+ readonly 'Conversation/Customer Action Requested': "AemAG9Bb3XUZm6hLPMipUeYmpFFG6X4CUYZFSLC88WjV";
5541
+ readonly 'Conversation/Customer Consent': "7czpW4QyEqJy3d2X8dqsxcu3Q1G2CftTJUCTTyJSY6J8";
5542
+ readonly 'Conversation/Customer Consent Revoked': "9h1AhEexkxxKLYv1NHbEESYCPtvW7Nt51msGtuQC5jWK";
4641
5543
  readonly 'Conversation/Document Bootstrap Completed': "HH5u8PwvdXrARNkT4oyWR4QjgkwhKfPWGnNtEwfUBiUg";
4642
5544
  readonly 'Conversation/Document Bootstrap Failed': "B8b1ayXMrAYbwkqaJfAS6Aspp2kZyJda8ay9QeFkZ9MH";
4643
5545
  readonly 'Conversation/Document Bootstrap Requested': "7JqBn4KcmZbHBBiQf3CAfpHBNaTKS1qhtkATsF7f6Sxg";
@@ -4652,11 +5554,11 @@ declare const _default: {
4652
5554
  readonly 'Conversation/Lifecycle Event': "5YZEAtUaHhNfnVnwtSsyBnBakpcSwdL75UcgtrtnqeYn";
4653
5555
  readonly 'Conversation/Operation': "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
4654
5556
  readonly 'Conversation/Operation Request': "HM4Ku4LFcjC5MxnhPMRwQ8w3BbHmJKKZfHTTzsd4jbJq";
4655
- readonly 'Conversation/Propose Change Operation': "2mJhqggRy7YTHK5bSeAitqhhjynpe8mApvQXXpcwPCxx";
4656
- readonly 'Conversation/Propose Change Workflow': "Ecj8Y7rb7kMCkNFfvyZ36CNB2JjCWrqy7BiHcvcNELEL";
5557
+ readonly 'Conversation/Propose Change Operation': "GzA8QNJnfYyFpFKmeM2HWzXJxYXoWgW6PtbyCAHhgoy4";
5558
+ readonly 'Conversation/Propose Change Workflow': "5Ptp4ykWNiYNCmSbYEDpxjE21DGpBxdDR6CQeAaZUSva";
4657
5559
  readonly 'Conversation/Proposed Change Invalid': "EbGQYtYR9UNAxcn7auCCujXmnz6DWxMpqVcgYSsKE85M";
4658
5560
  readonly 'Conversation/Reject Change Operation': "4T5AmhKAXSJAAHDEjtVJ2FQgCyz2qyd9qG5uoh627Ux6";
4659
- readonly 'Conversation/Reject Change Workflow': "GfqZJJtSJfd69v3pJ67XURdzhC4byWJZAstCh6i4X6MZ";
5561
+ readonly 'Conversation/Reject Change Workflow': "9fnXwi4Za8hjEj6zDSEjhbA5dLrDzs7sxoDMGLmRT2Gz";
4660
5562
  readonly 'Conversation/Request': "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
4661
5563
  readonly 'Conversation/Response': "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
4662
5564
  readonly 'Conversation/Sequential Workflow': "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
@@ -4684,12 +5586,12 @@ declare const _default: {
4684
5586
  readonly attributesAdded: readonly [];
4685
5587
  }];
4686
5588
  };
4687
- readonly G6GMCB3AQvH2xR12RiDvaCiEbCjgz4uhjKssDMRXbCTG: {
5589
+ readonly '29xcoYKf9p47xagTDwGLuQyFrT9WBN3Sd7FaPtqLvydy': {
4688
5590
  readonly status: "dev";
4689
5591
  readonly name: "Accept Change Workflow";
4690
5592
  readonly versions: readonly [{
4691
5593
  readonly repositoryVersionIndex: 1;
4692
- readonly typeBlueId: "G6GMCB3AQvH2xR12RiDvaCiEbCjgz4uhjKssDMRXbCTG";
5594
+ readonly typeBlueId: "29xcoYKf9p47xagTDwGLuQyFrT9WBN3Sd7FaPtqLvydy";
4693
5595
  readonly attributesAdded: readonly [];
4694
5596
  }];
4695
5597
  };
@@ -4702,30 +5604,30 @@ declare const _default: {
4702
5604
  readonly attributesAdded: readonly [];
4703
5605
  }];
4704
5606
  };
4705
- readonly BoyJNkH7CAzjuuzbZFpxB7HguZVtLCxpBLnuYY5k1eqB: {
5607
+ readonly A3jjsMRLxrKo5pyPgLoT6e9jPGWfFPdkMs2wjyYMRpXk: {
4706
5608
  readonly status: "dev";
4707
5609
  readonly name: "Change Operation";
4708
5610
  readonly versions: readonly [{
4709
5611
  readonly repositoryVersionIndex: 1;
4710
- readonly typeBlueId: "BoyJNkH7CAzjuuzbZFpxB7HguZVtLCxpBLnuYY5k1eqB";
5612
+ readonly typeBlueId: "A3jjsMRLxrKo5pyPgLoT6e9jPGWfFPdkMs2wjyYMRpXk";
4711
5613
  readonly attributesAdded: readonly [];
4712
5614
  }];
4713
5615
  };
4714
- readonly '9KDfK6k1HBAyHckj5VuWXFMLkgY5cJBESKT4eoq1bnrw': {
5616
+ readonly '6KZwmcsyYNiJhn2pAfS9LAFTxTRHcDw4yzPwV3A3SSQp': {
4715
5617
  readonly status: "dev";
4716
5618
  readonly name: "Change Request";
4717
5619
  readonly versions: readonly [{
4718
5620
  readonly repositoryVersionIndex: 1;
4719
- readonly typeBlueId: "9KDfK6k1HBAyHckj5VuWXFMLkgY5cJBESKT4eoq1bnrw";
5621
+ readonly typeBlueId: "6KZwmcsyYNiJhn2pAfS9LAFTxTRHcDw4yzPwV3A3SSQp";
4720
5622
  readonly attributesAdded: readonly [];
4721
5623
  }];
4722
5624
  };
4723
- readonly AKNj5zwzgAkXZo3psikJfoVxUcNfMBVgDrf4HDGWL1gm: {
5625
+ readonly '2jSne57MeM1HvhrQscpbDqhR46TwpmpiEpfG6h8PfMZP': {
4724
5626
  readonly status: "dev";
4725
5627
  readonly name: "Change Workflow";
4726
5628
  readonly versions: readonly [{
4727
- readonly repositoryVersionIndex: 2;
4728
- readonly typeBlueId: "AKNj5zwzgAkXZo3psikJfoVxUcNfMBVgDrf4HDGWL1gm";
5629
+ readonly repositoryVersionIndex: 1;
5630
+ readonly typeBlueId: "2jSne57MeM1HvhrQscpbDqhR46TwpmpiEpfG6h8PfMZP";
4729
5631
  readonly attributesAdded: readonly [];
4730
5632
  }];
4731
5633
  };
@@ -4751,11 +5653,38 @@ declare const _default: {
4751
5653
  readonly status: "dev";
4752
5654
  readonly name: "Contracts Change Policy";
4753
5655
  readonly versions: readonly [{
4754
- readonly repositoryVersionIndex: 1;
5656
+ readonly repositoryVersionIndex: 0;
4755
5657
  readonly typeBlueId: "6FDVZRQwuhXdXtnXq8kRg3f3DM8SUdbN3TT8rSGJcS2U";
4756
5658
  readonly attributesAdded: readonly [];
4757
5659
  }];
4758
5660
  };
5661
+ readonly AemAG9Bb3XUZm6hLPMipUeYmpFFG6X4CUYZFSLC88WjV: {
5662
+ readonly status: "dev";
5663
+ readonly name: "Customer Action Requested";
5664
+ readonly versions: readonly [{
5665
+ readonly repositoryVersionIndex: 0;
5666
+ readonly typeBlueId: "AemAG9Bb3XUZm6hLPMipUeYmpFFG6X4CUYZFSLC88WjV";
5667
+ readonly attributesAdded: readonly [];
5668
+ }];
5669
+ };
5670
+ readonly '7czpW4QyEqJy3d2X8dqsxcu3Q1G2CftTJUCTTyJSY6J8': {
5671
+ readonly status: "dev";
5672
+ readonly name: "Customer Consent";
5673
+ readonly versions: readonly [{
5674
+ readonly repositoryVersionIndex: 0;
5675
+ readonly typeBlueId: "7czpW4QyEqJy3d2X8dqsxcu3Q1G2CftTJUCTTyJSY6J8";
5676
+ readonly attributesAdded: readonly [];
5677
+ }];
5678
+ };
5679
+ readonly '9h1AhEexkxxKLYv1NHbEESYCPtvW7Nt51msGtuQC5jWK': {
5680
+ readonly status: "dev";
5681
+ readonly name: "Customer Consent Revoked";
5682
+ readonly versions: readonly [{
5683
+ readonly repositoryVersionIndex: 0;
5684
+ readonly typeBlueId: "9h1AhEexkxxKLYv1NHbEESYCPtvW7Nt51msGtuQC5jWK";
5685
+ readonly attributesAdded: readonly [];
5686
+ }];
5687
+ };
4759
5688
  readonly HH5u8PwvdXrARNkT4oyWR4QjgkwhKfPWGnNtEwfUBiUg: {
4760
5689
  readonly status: "dev";
4761
5690
  readonly name: "Document Bootstrap Completed";
@@ -4796,7 +5725,7 @@ declare const _default: {
4796
5725
  readonly status: "dev";
4797
5726
  readonly name: "Document Section";
4798
5727
  readonly versions: readonly [{
4799
- readonly repositoryVersionIndex: 1;
5728
+ readonly repositoryVersionIndex: 0;
4800
5729
  readonly typeBlueId: "JBfupL6eyZsqj7CYbReFaS5ga784SLT8aP8r9W64vbLm";
4801
5730
  readonly attributesAdded: readonly [];
4802
5731
  }];
@@ -4805,7 +5734,7 @@ declare const _default: {
4805
5734
  readonly status: "dev";
4806
5735
  readonly name: "Document Section Change Entry";
4807
5736
  readonly versions: readonly [{
4808
- readonly repositoryVersionIndex: 1;
5737
+ readonly repositoryVersionIndex: 0;
4809
5738
  readonly typeBlueId: "9xv7YjqsSn7W7P8rnUhSpdWGfSrgL4Jt3cmiACJT5VQs";
4810
5739
  readonly attributesAdded: readonly [];
4811
5740
  }];
@@ -4814,7 +5743,7 @@ declare const _default: {
4814
5743
  readonly status: "dev";
4815
5744
  readonly name: "Document Section Changes";
4816
5745
  readonly versions: readonly [{
4817
- readonly repositoryVersionIndex: 1;
5746
+ readonly repositoryVersionIndex: 0;
4818
5747
  readonly typeBlueId: "DEmFwGa1sWm2BKhrN98LREKiB8j8B8kFAo7KBkkaojnN";
4819
5748
  readonly attributesAdded: readonly [];
4820
5749
  }];
@@ -4882,21 +5811,21 @@ declare const _default: {
4882
5811
  readonly attributesAdded: readonly [];
4883
5812
  }];
4884
5813
  };
4885
- readonly '2mJhqggRy7YTHK5bSeAitqhhjynpe8mApvQXXpcwPCxx': {
5814
+ readonly GzA8QNJnfYyFpFKmeM2HWzXJxYXoWgW6PtbyCAHhgoy4: {
4886
5815
  readonly status: "dev";
4887
5816
  readonly name: "Propose Change Operation";
4888
5817
  readonly versions: readonly [{
4889
5818
  readonly repositoryVersionIndex: 1;
4890
- readonly typeBlueId: "2mJhqggRy7YTHK5bSeAitqhhjynpe8mApvQXXpcwPCxx";
5819
+ readonly typeBlueId: "GzA8QNJnfYyFpFKmeM2HWzXJxYXoWgW6PtbyCAHhgoy4";
4891
5820
  readonly attributesAdded: readonly [];
4892
5821
  }];
4893
5822
  };
4894
- readonly Ecj8Y7rb7kMCkNFfvyZ36CNB2JjCWrqy7BiHcvcNELEL: {
5823
+ readonly '5Ptp4ykWNiYNCmSbYEDpxjE21DGpBxdDR6CQeAaZUSva': {
4895
5824
  readonly status: "dev";
4896
5825
  readonly name: "Propose Change Workflow";
4897
5826
  readonly versions: readonly [{
4898
- readonly repositoryVersionIndex: 2;
4899
- readonly typeBlueId: "Ecj8Y7rb7kMCkNFfvyZ36CNB2JjCWrqy7BiHcvcNELEL";
5827
+ readonly repositoryVersionIndex: 1;
5828
+ readonly typeBlueId: "5Ptp4ykWNiYNCmSbYEDpxjE21DGpBxdDR6CQeAaZUSva";
4900
5829
  readonly attributesAdded: readonly [];
4901
5830
  }];
4902
5831
  };
@@ -4918,12 +5847,12 @@ declare const _default: {
4918
5847
  readonly attributesAdded: readonly [];
4919
5848
  }];
4920
5849
  };
4921
- readonly GfqZJJtSJfd69v3pJ67XURdzhC4byWJZAstCh6i4X6MZ: {
5850
+ readonly '9fnXwi4Za8hjEj6zDSEjhbA5dLrDzs7sxoDMGLmRT2Gz': {
4922
5851
  readonly status: "dev";
4923
5852
  readonly name: "Reject Change Workflow";
4924
5853
  readonly versions: readonly [{
4925
5854
  readonly repositoryVersionIndex: 1;
4926
- readonly typeBlueId: "GfqZJJtSJfd69v3pJ67XURdzhC4byWJZAstCh6i4X6MZ";
5855
+ readonly typeBlueId: "9fnXwi4Za8hjEj6zDSEjhbA5dLrDzs7sxoDMGLmRT2Gz";
4927
5856
  readonly attributesAdded: readonly [];
4928
5857
  }];
4929
5858
  };