@blue-repository/types 0.30.0 → 1.0.0-rc.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 (114) 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 +1 -0
  5. package/dist/meta.js.map +1 -1
  6. package/dist/packages/conversation/blue-ids.d.ts +9 -9
  7. package/dist/packages/conversation/blue-ids.js +9 -9
  8. package/dist/packages/conversation/contents/index.d.ts +473 -473
  9. package/dist/packages/conversation/contents/index.d.ts.map +1 -1
  10. package/dist/packages/conversation/contents/index.js +27 -27
  11. package/dist/packages/conversation/contents/index.js.map +1 -1
  12. package/dist/packages/conversation/index.d.ts +517 -501
  13. package/dist/packages/conversation/index.d.ts.map +1 -1
  14. package/dist/packages/conversation/meta.d.ts +44 -28
  15. package/dist/packages/conversation/meta.d.ts.map +1 -1
  16. package/dist/packages/conversation/meta.js +39 -19
  17. package/dist/packages/conversation/meta.js.map +1 -1
  18. package/dist/packages/conversation/schemas/index.d.ts +9 -9
  19. package/dist/packages/conversation/schemas/index.js +9 -9
  20. package/dist/packages/conversation/schemas/index.js.map +1 -1
  21. package/dist/packages/myos/blue-ids.d.ts +29 -29
  22. package/dist/packages/myos/blue-ids.d.ts.map +1 -1
  23. package/dist/packages/myos/blue-ids.js +29 -29
  24. package/dist/packages/myos/blue-ids.js.map +1 -1
  25. package/dist/packages/myos/contents/DocumentSessionBootstrap.d.ts +2 -2
  26. package/dist/packages/myos/contents/DocumentSessionBootstrap.js +2 -2
  27. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantRequested.d.ts +1 -1
  28. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantRequested.js +1 -1
  29. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantToAccount.d.ts +2 -2
  30. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantToAccount.js +2 -2
  31. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantToDocument.d.ts +2 -2
  32. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantToDocument.js +2 -2
  33. package/dist/packages/myos/contents/LinkedDocumentsPermissionGranted.d.ts +1 -1
  34. package/dist/packages/myos/contents/LinkedDocumentsPermissionGranted.js +1 -1
  35. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantingInProgress.d.ts +1 -1
  36. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantingInProgress.js +1 -1
  37. package/dist/packages/myos/contents/LinkedDocumentsPermissionRejected.d.ts +1 -1
  38. package/dist/packages/myos/contents/LinkedDocumentsPermissionRejected.js +1 -1
  39. package/dist/packages/myos/contents/LinkedDocumentsPermissionRevoked.d.ts +1 -1
  40. package/dist/packages/myos/contents/LinkedDocumentsPermissionRevoked.js +1 -1
  41. package/dist/packages/myos/contents/LinkedDocumentsPermissionRevokingInProgress.d.ts +1 -1
  42. package/dist/packages/myos/contents/LinkedDocumentsPermissionRevokingInProgress.js +1 -1
  43. package/dist/packages/myos/contents/LinkedDocumentsPermissionSet.d.ts +1 -1
  44. package/dist/packages/myos/contents/LinkedDocumentsPermissionSet.js +1 -1
  45. package/dist/packages/myos/contents/SingleDocumentPermissionGrantRequested.d.ts +1 -1
  46. package/dist/packages/myos/contents/SingleDocumentPermissionGrantRequested.js +1 -1
  47. package/dist/packages/myos/contents/SingleDocumentPermissionGrantResponded.d.ts +1 -1
  48. package/dist/packages/myos/contents/SingleDocumentPermissionGrantResponded.js +1 -1
  49. package/dist/packages/myos/contents/SingleDocumentPermissionGrantToAccount.d.ts +2 -2
  50. package/dist/packages/myos/contents/SingleDocumentPermissionGrantToAccount.js +2 -2
  51. package/dist/packages/myos/contents/SingleDocumentPermissionGrantToDocument.d.ts +2 -2
  52. package/dist/packages/myos/contents/SingleDocumentPermissionGrantToDocument.js +2 -2
  53. package/dist/packages/myos/contents/SingleDocumentPermissionGranted.d.ts +1 -1
  54. package/dist/packages/myos/contents/SingleDocumentPermissionGranted.js +1 -1
  55. package/dist/packages/myos/contents/SingleDocumentPermissionGrantingInProgress.d.ts +1 -1
  56. package/dist/packages/myos/contents/SingleDocumentPermissionGrantingInProgress.js +1 -1
  57. package/dist/packages/myos/contents/SingleDocumentPermissionRejected.d.ts +1 -1
  58. package/dist/packages/myos/contents/SingleDocumentPermissionRejected.js +1 -1
  59. package/dist/packages/myos/contents/SingleDocumentPermissionRevokingInProgress.d.ts +1 -1
  60. package/dist/packages/myos/contents/SingleDocumentPermissionRevokingInProgress.js +1 -1
  61. package/dist/packages/myos/contents/WorkerAgencyPermission.d.ts +1 -1
  62. package/dist/packages/myos/contents/WorkerAgencyPermission.js +1 -1
  63. package/dist/packages/myos/contents/WorkerAgencyPermissionGrant.d.ts +2 -2
  64. package/dist/packages/myos/contents/WorkerAgencyPermissionGrant.js +2 -2
  65. package/dist/packages/myos/contents/WorkerAgencyPermissionGrantRequested.d.ts +1 -1
  66. package/dist/packages/myos/contents/WorkerAgencyPermissionGrantRequested.js +1 -1
  67. package/dist/packages/myos/contents/WorkerAgencyPermissionGranted.d.ts +1 -1
  68. package/dist/packages/myos/contents/WorkerAgencyPermissionGranted.js +1 -1
  69. package/dist/packages/myos/contents/WorkerAgencyPermissionGrantingInProgress.d.ts +1 -1
  70. package/dist/packages/myos/contents/WorkerAgencyPermissionGrantingInProgress.js +1 -1
  71. package/dist/packages/myos/contents/WorkerAgencyPermissionRejected.d.ts +1 -1
  72. package/dist/packages/myos/contents/WorkerAgencyPermissionRejected.js +1 -1
  73. package/dist/packages/myos/contents/WorkerAgencyPermissionRevokingInProgress.d.ts +1 -1
  74. package/dist/packages/myos/contents/WorkerAgencyPermissionRevokingInProgress.js +1 -1
  75. package/dist/packages/myos/contents/index.d.ts +1477 -1477
  76. package/dist/packages/myos/contents/index.d.ts.map +1 -1
  77. package/dist/packages/myos/contents/index.js +75 -75
  78. package/dist/packages/myos/contents/index.js.map +1 -1
  79. package/dist/packages/myos/index.d.ts +1759 -1703
  80. package/dist/packages/myos/index.d.ts.map +1 -1
  81. package/dist/packages/myos/meta.d.ts +144 -88
  82. package/dist/packages/myos/meta.d.ts.map +1 -1
  83. package/dist/packages/myos/meta.js +129 -59
  84. package/dist/packages/myos/meta.js.map +1 -1
  85. package/dist/packages/myos/schemas/LinkedDocumentsPermissionGrantToAccount.d.ts +24 -24
  86. package/dist/packages/myos/schemas/SingleDocumentPermissionGrantToAccount.d.ts +24 -24
  87. package/dist/packages/myos/schemas/index.d.ts +77 -77
  88. package/dist/packages/myos/schemas/index.d.ts.map +1 -1
  89. package/dist/packages/myos/schemas/index.js +29 -29
  90. package/dist/packages/myos/schemas/index.js.map +1 -1
  91. package/dist/packages/paynote/blue-ids.d.ts +5 -5
  92. package/dist/packages/paynote/blue-ids.js +5 -5
  93. package/dist/packages/paynote/contents/CardTransactionPayNote.d.ts +1 -1
  94. package/dist/packages/paynote/contents/CardTransactionPayNote.js +1 -1
  95. package/dist/packages/paynote/contents/MerchantToCustomerPayNote.d.ts +1 -1
  96. package/dist/packages/paynote/contents/MerchantToCustomerPayNote.js +1 -1
  97. package/dist/packages/paynote/contents/PayNoteDelivery.d.ts +4 -4
  98. package/dist/packages/paynote/contents/PayNoteDelivery.js +4 -4
  99. package/dist/packages/paynote/contents/index.d.ts +3156 -3156
  100. package/dist/packages/paynote/contents/index.d.ts.map +1 -1
  101. package/dist/packages/paynote/contents/index.js +15 -15
  102. package/dist/packages/paynote/contents/index.js.map +1 -1
  103. package/dist/packages/paynote/index.d.ts +3310 -3310
  104. package/dist/packages/paynote/meta.d.ts +20 -20
  105. package/dist/packages/paynote/meta.js +15 -15
  106. package/dist/packages/paynote/meta.js.map +1 -1
  107. package/dist/packages/paynote/schemas/CardTransactionPayNote.d.ts +28 -28
  108. package/dist/packages/paynote/schemas/MerchantToCustomerPayNote.d.ts +28 -28
  109. package/dist/packages/paynote/schemas/PayNote.d.ts +28 -28
  110. package/dist/packages/paynote/schemas/PayNoteDelivery.d.ts +36 -36
  111. package/dist/packages/paynote/schemas/index.d.ts +125 -125
  112. package/dist/packages/paynote/schemas/index.js +5 -5
  113. package/dist/packages/paynote/schemas/index.js.map +1 -1
  114. package/package.json +2 -2
@@ -150,7 +150,24 @@ declare const _default: {
150
150
  readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
151
151
  };
152
152
  };
153
- readonly '4pFvBSYyitoq8rWqTmY5rLywU2tpZsivDUCAo5vwoAT9': {
153
+ readonly '4T5AmhKAXSJAAHDEjtVJ2FQgCyz2qyd9qG5uoh627Ux6': {
154
+ readonly description: "Operation to reject a previously proposed change.";
155
+ readonly name: "Reject Change Operation";
156
+ readonly type: {
157
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
158
+ };
159
+ };
160
+ readonly '58B8orsFkxxy7bWqjLXJmtBs2b5rwnNQNbeoAbGhPkJc': {
161
+ readonly description: "The base type for all document status indicators.";
162
+ readonly mode: {
163
+ readonly description: "Defines the high-level phase of the document's lifecycle. Must be one of:\n pending: The document is waiting for a pre-condition before its core logic begins.\n active: The document is in its main operational phase, actively processing events.\n terminated: The document has reached a final, conclusive state.\n";
164
+ readonly type: {
165
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
166
+ };
167
+ };
168
+ readonly name: "Document Status";
169
+ };
170
+ readonly '5cwVBvBpQWLmYmpAMfXVt7mGrrZDZinBkdgJ61oT2FGR': {
154
171
  readonly description: "Applies a requested changeset immediately to the document.";
155
172
  readonly name: "Change Workflow";
156
173
  readonly request: {
@@ -188,328 +205,93 @@ declare const _default: {
188
205
  readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
189
206
  };
190
207
  };
191
- readonly '4T5AmhKAXSJAAHDEjtVJ2FQgCyz2qyd9qG5uoh627Ux6': {
192
- readonly description: "Operation to reject a previously proposed change.";
193
- readonly name: "Reject Change Operation";
194
- readonly type: {
195
- readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
196
- };
197
- };
198
- readonly '56Lhu3Z2oF3kuYG41eZAK8TvgVtRNevkbRi4D31kKWZm': {
199
- readonly description: "Represents active processing of the document, often used for processes that involve\nmultiple steps over time.\n";
208
+ readonly '5w8XTussoHoaLUy6gwou9Rz5Zxuh9yums9YDNjGdLCKV': {
209
+ readonly description: "A final state indicating that the document encountered an unrecoverable\nerror and could not complete its process.\n";
200
210
  readonly mode: {
201
211
  readonly type: {
202
212
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
203
213
  };
204
- readonly value: "active";
214
+ readonly value: "terminated";
205
215
  };
206
- readonly name: "Status In Progress";
216
+ readonly name: "Status Failed";
207
217
  readonly type: {
208
218
  readonly blueId: "58B8orsFkxxy7bWqjLXJmtBs2b5rwnNQNbeoAbGhPkJc";
209
219
  };
210
220
  };
211
- readonly '58B8orsFkxxy7bWqjLXJmtBs2b5rwnNQNbeoAbGhPkJc': {
212
- readonly description: "The base type for all document status indicators.";
213
- readonly mode: {
214
- readonly description: "Defines the high-level phase of the document's lifecycle. Must be one of:\n pending: The document is waiting for a pre-condition before its core logic begins.\n active: The document is in its main operational phase, actively processing events.\n terminated: The document has reached a final, conclusive state.\n";
215
- readonly type: {
216
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
217
- };
221
+ readonly '5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we': {
222
+ 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";
223
+ readonly name: "Event";
224
+ };
225
+ readonly '5YZEAtUaHhNfnVnwtSsyBnBakpcSwdL75UcgtrtnqeYn': {
226
+ readonly description: "A type of event that signals a significant change in a document's lifecycle.";
227
+ readonly name: "Lifecycle Event";
228
+ readonly type: {
229
+ readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
218
230
  };
219
- readonly name: "Document Status";
220
231
  };
221
- readonly '5UeiZ6EC1y3KMafuX6ioNqHHM62S5Xf3ULrC9L3m7MJx': {
222
- readonly consentDetails: {
223
- readonly description: "Generic scope details (merchant id, event categories, requesting contract refs, etc.).";
224
- readonly keyType: {
225
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
226
- };
232
+ readonly '6ADCPYXkusrp4dL1FC126L2ccuzYfqGdBf1w6EXh2hnC': {
233
+ readonly description: "Base type describing how a request reached the timeline provider.";
234
+ readonly name: "Source";
235
+ };
236
+ readonly '6CtkPkPVtmiQJJienGdzvZf2qGTRQntLXfh8PYeMfxBX': {
237
+ readonly description: "A successful final state. The document has achieved its goal and its\nprocess has finished as expected.\n";
238
+ readonly mode: {
227
239
  readonly type: {
228
- readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
229
- };
230
- readonly valueType: {
231
240
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
232
241
  };
242
+ readonly value: "terminated";
233
243
  };
234
- readonly consentKind: {
235
- readonly description: "Classification of the consent (e.g., cardTransactionMonitoring).";
236
- readonly type: {
237
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
238
- };
244
+ readonly name: "Status Completed";
245
+ readonly type: {
246
+ readonly blueId: "58B8orsFkxxy7bWqjLXJmtBs2b5rwnNQNbeoAbGhPkJc";
239
247
  };
240
- readonly consentStatus: {
241
- readonly description: "Consent state (granted, revoked).";
248
+ };
249
+ readonly '6FDVZRQwuhXdXtnXq8kRg3f3DM8SUdbN3TT8rSGJcS2U': {
250
+ readonly description: "Policy marker that restricts /contracts mutations to explicit sectionChanges and rejects JSON Patch entries targeting /contracts.\n";
251
+ readonly name: "Contracts Change Policy";
252
+ readonly requireSectionChanges: {
253
+ readonly description: "Policy flag; when present and not false, /contracts changes must use sectionChanges. Set false to allow direct changeset edits.";
242
254
  readonly type: {
243
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
255
+ readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
244
256
  };
245
257
  };
246
- readonly contracts: {
247
- readonly granteeChannel: {
248
- readonly description: "Grantee (e.g., merchant MyOS timeline).";
249
- readonly type: {
250
- readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
251
- };
252
- };
253
- readonly granterChannel: {
254
- readonly description: "Granter (customer represented by the bank; customer has no MyOS account).";
255
- readonly type: {
256
- readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
257
- };
258
- };
259
- readonly guarantorChannel: {
260
- readonly description: "Bank/admin channel.";
261
- readonly type: {
262
- readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
263
- };
264
- };
265
- readonly initialize: {
266
- readonly channel: {
258
+ readonly type: {
259
+ readonly blueId: "7QACj919YMRvFCTELCf6jfQTp41RVhtHdE6bPazLUZQ6";
260
+ };
261
+ };
262
+ readonly '6ZLHE59mb1ytEjW78jmYCU3DXxj4Fzfjea7tz3VEkwyX': {
263
+ readonly actions: {
264
+ readonly description: "List of available user actions for this pending action request.";
265
+ readonly itemType: {
266
+ readonly inputPlaceholder: {
267
+ readonly description: "Optional placeholder/help text shown in the action input control.";
267
268
  readonly type: {
268
269
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
269
270
  };
270
- readonly value: "initLifecycleChannel";
271
- };
272
- readonly steps: {
273
- readonly items: readonly [{
274
- readonly changeset: {
275
- readonly items: readonly [{
276
- readonly op: {
277
- readonly type: {
278
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
279
- };
280
- readonly value: "replace";
281
- };
282
- readonly path: {
283
- readonly type: {
284
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
285
- };
286
- readonly value: "/consentStatus";
287
- };
288
- readonly val: {
289
- readonly type: {
290
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
291
- };
292
- readonly value: "granted";
293
- };
294
- }];
295
- };
296
- readonly name: "Initialize";
297
- readonly type: {
298
- readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
299
- };
300
- }];
301
- };
302
- readonly type: {
303
- readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
304
271
  };
305
- };
306
- readonly initLifecycleChannel: {
307
- readonly event: {
272
+ readonly inputRequired: {
273
+ readonly description: "Optional flag indicating whether input is required for this action.";
308
274
  readonly type: {
309
- readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
275
+ readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
310
276
  };
311
277
  };
312
- readonly type: {
313
- readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
278
+ readonly inputSchema: {
279
+ readonly description: "Optional input schema. If present, the selected action may collect user input.";
314
280
  };
315
- };
316
- readonly revokeConsent: {
317
- readonly channel: {
281
+ readonly inputTitle: {
282
+ readonly description: "Optional title displayed above the action input control.";
318
283
  readonly type: {
319
284
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
320
285
  };
321
- readonly value: "granterChannel";
322
286
  };
323
- readonly description: "Customer revokes the consent.";
324
- readonly request: {
325
- readonly reason: {
326
- readonly type: {
327
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
328
- };
329
- };
330
- readonly revokedAt: {
331
- readonly type: {
332
- readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
333
- };
287
+ readonly label: {
288
+ readonly description: "User-facing action label shown in the pending action card.";
289
+ readonly type: {
290
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
334
291
  };
335
292
  };
336
- readonly type: {
337
- readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
338
- };
339
- };
340
- readonly revokeConsentImpl: {
341
- readonly operation: {
342
- readonly type: {
343
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
344
- };
345
- readonly value: "revokeConsent";
346
- };
347
- readonly steps: {
348
- readonly items: readonly [{
349
- readonly code: {
350
- readonly type: {
351
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
352
- };
353
- 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";
354
- };
355
- readonly name: "Capture";
356
- readonly type: {
357
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
358
- };
359
- }, {
360
- readonly changeset: {
361
- readonly items: readonly [{
362
- readonly op: {
363
- readonly type: {
364
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
365
- };
366
- readonly value: "replace";
367
- };
368
- readonly path: {
369
- readonly type: {
370
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
371
- };
372
- readonly value: "/consentStatus";
373
- };
374
- readonly val: {
375
- readonly type: {
376
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
377
- };
378
- readonly value: "revoked";
379
- };
380
- }, {
381
- readonly op: {
382
- readonly type: {
383
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
384
- };
385
- readonly value: "replace";
386
- };
387
- readonly path: {
388
- readonly type: {
389
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
390
- };
391
- readonly value: "/revocationReason";
392
- };
393
- readonly val: {
394
- readonly type: {
395
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
396
- };
397
- readonly value: "${steps['Capture'].reason}";
398
- };
399
- }, {
400
- readonly op: {
401
- readonly type: {
402
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
403
- };
404
- readonly value: "replace";
405
- };
406
- readonly path: {
407
- readonly type: {
408
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
409
- };
410
- readonly value: "/revokedAt";
411
- };
412
- readonly val: {
413
- readonly type: {
414
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
415
- };
416
- readonly value: "${steps['Capture'].revokedAt}";
417
- };
418
- }];
419
- };
420
- readonly name: "Apply";
421
- readonly type: {
422
- readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
423
- };
424
- }];
425
- };
426
- readonly type: {
427
- readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
428
- };
429
- };
430
- };
431
- readonly description: "Generic customer consent granted to a grantee (e.g., merchant).";
432
- readonly grantedAt: {
433
- readonly description: "Timestamp when consent was granted.";
434
- readonly type: {
435
- readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
436
- };
437
- };
438
- readonly name: "Customer Consent";
439
- readonly revocationReason: {
440
- readonly description: "Reason for revocation.";
441
- readonly type: {
442
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
443
- };
444
- };
445
- readonly revokedAt: {
446
- readonly description: "Timestamp when consent was revoked.";
447
- readonly type: {
448
- readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
449
- };
450
- };
451
- };
452
- readonly '5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we': {
453
- 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";
454
- readonly name: "Event";
455
- };
456
- readonly '5YZEAtUaHhNfnVnwtSsyBnBakpcSwdL75UcgtrtnqeYn': {
457
- readonly description: "A type of event that signals a significant change in a document's lifecycle.";
458
- readonly name: "Lifecycle Event";
459
- readonly type: {
460
- readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
461
- };
462
- };
463
- readonly '6ADCPYXkusrp4dL1FC126L2ccuzYfqGdBf1w6EXh2hnC': {
464
- readonly description: "Base type describing how a request reached the timeline provider.";
465
- readonly name: "Source";
466
- };
467
- readonly '6FDVZRQwuhXdXtnXq8kRg3f3DM8SUdbN3TT8rSGJcS2U': {
468
- readonly description: "Policy marker that restricts /contracts mutations to explicit sectionChanges and rejects JSON Patch entries targeting /contracts.\n";
469
- readonly name: "Contracts Change Policy";
470
- readonly requireSectionChanges: {
471
- readonly description: "Policy flag; when present and not false, /contracts changes must use sectionChanges. Set false to allow direct changeset edits.";
472
- readonly type: {
473
- readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
474
- };
475
- };
476
- readonly type: {
477
- readonly blueId: "7QACj919YMRvFCTELCf6jfQTp41RVhtHdE6bPazLUZQ6";
478
- };
479
- };
480
- readonly '6ZLHE59mb1ytEjW78jmYCU3DXxj4Fzfjea7tz3VEkwyX': {
481
- readonly actions: {
482
- readonly description: "List of available user actions for this pending action request.";
483
- readonly itemType: {
484
- readonly inputPlaceholder: {
485
- readonly description: "Optional placeholder/help text shown in the action input control.";
486
- readonly type: {
487
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
488
- };
489
- };
490
- readonly inputRequired: {
491
- readonly description: "Optional flag indicating whether input is required for this action.";
492
- readonly type: {
493
- readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
494
- };
495
- };
496
- readonly inputSchema: {
497
- readonly description: "Optional input schema. If present, the selected action may collect user input.";
498
- };
499
- readonly inputTitle: {
500
- readonly description: "Optional title displayed above the action input control.";
501
- readonly type: {
502
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
503
- };
504
- };
505
- readonly label: {
506
- readonly description: "User-facing action label shown in the pending action card.";
507
- readonly type: {
508
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
509
- };
510
- };
511
- readonly variant: {
512
- readonly description: "Optional button style variant. Supported values: primary | secondary | reject.";
293
+ readonly variant: {
294
+ readonly description: "Optional button style variant. Supported values: primary | secondary | reject.";
513
295
  readonly type: {
514
296
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
515
297
  };
@@ -537,50 +319,6 @@ declare const _default: {
537
319
  readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
538
320
  };
539
321
  };
540
- readonly '7icTT1chbH3UA2ybXgpfSSyNEAR4Wmm3EkbdGFaZSydo': {
541
- readonly description: "Stores a proposed change under /proposedChange{postfix}.";
542
- readonly name: "Propose Change Workflow";
543
- readonly postfix: {
544
- readonly description: "Optional postfix used while building proposed change state key.";
545
- readonly type: {
546
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
547
- };
548
- };
549
- readonly request: {
550
- readonly description: "Expected request payload for this workflow.";
551
- readonly type: {
552
- readonly blueId: "FW7iYkzig4fepCdwfCdgNJw4DQ1fKwnAUf3YpjgfTPmG";
553
- };
554
- };
555
- readonly steps: {
556
- readonly items: readonly [{
557
- readonly code: {
558
- readonly type: {
559
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
560
- };
561
- 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 postfixNode = canon.at(currentContractCanonical, '/postfix');\nconst postfixValue =\n typeof postfixNode?.value === 'string' ? postfixNode.value : '';\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";
562
- };
563
- readonly name: "Prepare";
564
- readonly type: {
565
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
566
- };
567
- }, {
568
- readonly changeset: {
569
- readonly type: {
570
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
571
- };
572
- readonly value: "${steps.Prepare.changeset}";
573
- };
574
- readonly name: "Apply";
575
- readonly type: {
576
- readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
577
- };
578
- }];
579
- };
580
- readonly type: {
581
- readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
582
- };
583
- };
584
322
  readonly '7jZFAkmthHTeg6zAu5kBCDHswd2J5HNVnYPo9y435sin': {
585
323
  readonly description: "Source describing a request triggered by document workflow execution.";
586
324
  readonly documentId: {
@@ -749,67 +487,336 @@ declare const _default: {
749
487
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
750
488
  };
751
489
  };
752
- readonly type: {
753
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
754
- };
755
- };
756
- readonly BeiedmmcKDhStxDnnQqUaXDJLofWSnqX6CazKTvVpfbW: {
757
- readonly description: "Operation to propose a document change for later acceptance or rejection.";
758
- readonly name: "Propose Change Operation";
759
- readonly request: {
490
+ readonly type: {
491
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
492
+ };
493
+ };
494
+ readonly BAYbnfs8WkdH33UwCvmsuoAq6MyU6ha4KSTZPaeMp9kN: {
495
+ readonly description: "Applies a previously proposed change and removes its proposal state.";
496
+ readonly name: "Accept Change Workflow";
497
+ readonly postfix: {
498
+ readonly description: "Optional postfix used while building proposed change state key.";
499
+ readonly type: {
500
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
501
+ };
502
+ };
503
+ readonly steps: {
504
+ readonly items: readonly [{
505
+ readonly code: {
506
+ readonly type: {
507
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
508
+ };
509
+ readonly value: "const invalid = (reason) => ({\n changeset: [],\n events: [{ type: 'Conversation/Proposed Change Invalid', reason }]\n});\n\nconst isArray = Array.isArray;\n\nconst postfixNode = canon.at(currentContractCanonical, '/postfix');\nconst postfixValue =\n typeof postfixNode?.value === 'string' ? postfixNode.value : '';\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";
510
+ };
511
+ readonly name: "Prepare";
512
+ readonly type: {
513
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
514
+ };
515
+ }, {
516
+ readonly changeset: {
517
+ readonly type: {
518
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
519
+ };
520
+ readonly value: "${steps.Prepare.changeset}";
521
+ };
522
+ readonly name: "Apply";
523
+ readonly type: {
524
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
525
+ };
526
+ }];
527
+ };
528
+ readonly type: {
529
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
530
+ };
531
+ };
532
+ readonly BeiedmmcKDhStxDnnQqUaXDJLofWSnqX6CazKTvVpfbW: {
533
+ readonly description: "Operation to propose a document change for later acceptance or rejection.";
534
+ readonly name: "Propose Change Operation";
535
+ readonly request: {
536
+ readonly type: {
537
+ readonly blueId: "FW7iYkzig4fepCdwfCdgNJw4DQ1fKwnAUf3YpjgfTPmG";
538
+ };
539
+ };
540
+ readonly type: {
541
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
542
+ };
543
+ };
544
+ readonly BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC: {
545
+ readonly channel: {
546
+ readonly description: "Contracts-map key of the Channel in this scope on which Operation Request events are sent to invoke this operation.\n";
547
+ readonly type: {
548
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
549
+ };
550
+ };
551
+ readonly description: "Conversation contract a document exposes. Defines the action’s request schema and the channel over which callers invoke it.\n";
552
+ readonly name: "Operation";
553
+ readonly request: {
554
+ readonly description: "The request schema for this operation (any Blue node). Invocation payloads MUST conform to this shape.\n";
555
+ };
556
+ readonly type: {
557
+ readonly blueId: "7QACj919YMRvFCTELCf6jfQTp41RVhtHdE6bPazLUZQ6";
558
+ };
559
+ };
560
+ readonly C48nKSkbxraMSv4gCiGYVHKFjmtK12k63Yasn95zknWE: {
561
+ readonly description: "An event indicating that the document's status has transitioned.";
562
+ readonly name: "Status Change";
563
+ readonly status: {
564
+ readonly description: "The new status node.";
565
+ readonly type: {
566
+ readonly blueId: "58B8orsFkxxy7bWqjLXJmtBs2b5rwnNQNbeoAbGhPkJc";
567
+ };
568
+ };
569
+ readonly type: {
570
+ readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
571
+ };
572
+ };
573
+ readonly CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv: {
574
+ readonly description: "Conversation handler pattern for implementing an Operation as a sequential workflow. Binds to the operation’s invocation channel and runs the configured steps when the operation is called.\n";
575
+ readonly name: "Sequential Workflow Operation";
576
+ readonly operation: {
577
+ readonly description: "The name of the Operation this handler implements. Must reference an Operation defined in the same scope.\n";
578
+ readonly type: {
579
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
580
+ };
581
+ };
582
+ readonly type: {
583
+ readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
584
+ };
585
+ };
586
+ readonly CN5efWVizJbRsMCw8YWRfT2q9vM9XfeGDN9wFvYcvMnQ: {
587
+ readonly description: "Conversation type for attributing timeline entries to a person, service, or system. Intended solely for display/attribution; carries no runtime behavior.\n";
588
+ readonly name: "Actor";
589
+ };
590
+ readonly CZBP6a8kS4bKpA2f29oAfBpKVmw6PDLYXDyg8Ttx2ceE: {
591
+ readonly consentDetails: {
592
+ readonly description: "Generic scope details (merchant id, event categories, requesting contract refs, etc.).";
593
+ readonly keyType: {
594
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
595
+ };
596
+ readonly type: {
597
+ readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
598
+ };
599
+ readonly valueType: {
600
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
601
+ };
602
+ };
603
+ readonly consentKind: {
604
+ readonly description: "Classification of the consent (e.g., cardTransactionMonitoring).";
605
+ readonly type: {
606
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
607
+ };
608
+ };
609
+ readonly consentStatus: {
610
+ readonly description: "Consent state (granted, revoked).";
611
+ readonly type: {
612
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
613
+ };
614
+ };
615
+ readonly contracts: {
616
+ readonly granteeChannel: {
617
+ readonly description: "Grantee (e.g., merchant MyOS timeline).";
618
+ readonly type: {
619
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
620
+ };
621
+ };
622
+ readonly granterChannel: {
623
+ readonly description: "Granter (customer represented by the bank; customer has no MyOS account).";
624
+ readonly type: {
625
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
626
+ };
627
+ };
628
+ readonly guarantorChannel: {
629
+ readonly description: "Bank/admin channel.";
630
+ readonly type: {
631
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
632
+ };
633
+ };
634
+ readonly initialize: {
635
+ readonly channel: {
636
+ readonly type: {
637
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
638
+ };
639
+ readonly value: "initLifecycleChannel";
640
+ };
641
+ readonly steps: {
642
+ readonly items: readonly [{
643
+ readonly changeset: {
644
+ readonly items: readonly [{
645
+ readonly op: {
646
+ readonly type: {
647
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
648
+ };
649
+ readonly value: "replace";
650
+ };
651
+ readonly path: {
652
+ readonly type: {
653
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
654
+ };
655
+ readonly value: "/consentStatus";
656
+ };
657
+ readonly val: {
658
+ readonly type: {
659
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
660
+ };
661
+ readonly value: "granted";
662
+ };
663
+ }];
664
+ };
665
+ readonly name: "Initialize";
666
+ readonly type: {
667
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
668
+ };
669
+ }];
670
+ };
671
+ readonly type: {
672
+ readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
673
+ };
674
+ };
675
+ readonly initLifecycleChannel: {
676
+ readonly event: {
677
+ readonly type: {
678
+ readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
679
+ };
680
+ };
681
+ readonly type: {
682
+ readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
683
+ };
684
+ };
685
+ readonly revokeConsent: {
686
+ readonly channel: {
687
+ readonly type: {
688
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
689
+ };
690
+ readonly value: "granterChannel";
691
+ };
692
+ readonly description: "Customer revokes the consent.";
693
+ readonly request: {
694
+ readonly reason: {
695
+ readonly type: {
696
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
697
+ };
698
+ };
699
+ readonly revokedAt: {
700
+ readonly type: {
701
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
702
+ };
703
+ };
704
+ };
705
+ readonly type: {
706
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
707
+ };
708
+ };
709
+ readonly revokeConsentImpl: {
710
+ readonly operation: {
711
+ readonly type: {
712
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
713
+ };
714
+ readonly value: "revokeConsent";
715
+ };
716
+ readonly steps: {
717
+ readonly items: readonly [{
718
+ readonly code: {
719
+ readonly type: {
720
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
721
+ };
722
+ 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";
723
+ };
724
+ readonly name: "Capture";
725
+ readonly type: {
726
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
727
+ };
728
+ }, {
729
+ readonly changeset: {
730
+ readonly items: readonly [{
731
+ readonly op: {
732
+ readonly type: {
733
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
734
+ };
735
+ readonly value: "replace";
736
+ };
737
+ readonly path: {
738
+ readonly type: {
739
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
740
+ };
741
+ readonly value: "/consentStatus";
742
+ };
743
+ readonly val: {
744
+ readonly type: {
745
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
746
+ };
747
+ readonly value: "revoked";
748
+ };
749
+ }, {
750
+ readonly op: {
751
+ readonly type: {
752
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
753
+ };
754
+ readonly value: "replace";
755
+ };
756
+ readonly path: {
757
+ readonly type: {
758
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
759
+ };
760
+ readonly value: "/revocationReason";
761
+ };
762
+ readonly val: {
763
+ readonly type: {
764
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
765
+ };
766
+ readonly value: "${steps['Capture'].reason}";
767
+ };
768
+ }, {
769
+ readonly op: {
770
+ readonly type: {
771
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
772
+ };
773
+ readonly value: "replace";
774
+ };
775
+ readonly path: {
776
+ readonly type: {
777
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
778
+ };
779
+ readonly value: "/revokedAt";
780
+ };
781
+ readonly val: {
782
+ readonly type: {
783
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
784
+ };
785
+ readonly value: "${steps['Capture'].revokedAt}";
786
+ };
787
+ }];
788
+ };
789
+ readonly name: "Apply";
790
+ readonly type: {
791
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
792
+ };
793
+ }];
794
+ };
795
+ readonly type: {
796
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
797
+ };
798
+ };
799
+ };
800
+ readonly description: "Generic customer consent granted to a grantee (e.g., merchant).";
801
+ readonly grantedAt: {
802
+ readonly description: "Timestamp when consent was granted.";
760
803
  readonly type: {
761
- readonly blueId: "FW7iYkzig4fepCdwfCdgNJw4DQ1fKwnAUf3YpjgfTPmG";
804
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
762
805
  };
763
806
  };
764
- readonly type: {
765
- readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
766
- };
767
- };
768
- readonly BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC: {
769
- readonly channel: {
770
- readonly description: "Contracts-map key of the Channel in this scope on which Operation Request events are sent to invoke this operation.\n";
807
+ readonly name: "Customer Consent";
808
+ readonly revocationReason: {
809
+ readonly description: "Reason for revocation.";
771
810
  readonly type: {
772
811
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
773
812
  };
774
813
  };
775
- readonly description: "Conversation contract a document exposes. Defines the action’s request schema and the channel over which callers invoke it.\n";
776
- readonly name: "Operation";
777
- readonly request: {
778
- readonly description: "The request schema for this operation (any Blue node). Invocation payloads MUST conform to this shape.\n";
779
- };
780
- readonly type: {
781
- readonly blueId: "7QACj919YMRvFCTELCf6jfQTp41RVhtHdE6bPazLUZQ6";
782
- };
783
- };
784
- readonly C48nKSkbxraMSv4gCiGYVHKFjmtK12k63Yasn95zknWE: {
785
- readonly description: "An event indicating that the document's status has transitioned.";
786
- readonly name: "Status Change";
787
- readonly status: {
788
- readonly description: "The new status node.";
789
- readonly type: {
790
- readonly blueId: "58B8orsFkxxy7bWqjLXJmtBs2b5rwnNQNbeoAbGhPkJc";
791
- };
792
- };
793
- readonly type: {
794
- readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
795
- };
796
- };
797
- readonly CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv: {
798
- readonly description: "Conversation handler pattern for implementing an Operation as a sequential workflow. Binds to the operation’s invocation channel and runs the configured steps when the operation is called.\n";
799
- readonly name: "Sequential Workflow Operation";
800
- readonly operation: {
801
- readonly description: "The name of the Operation this handler implements. Must reference an Operation defined in the same scope.\n";
814
+ readonly revokedAt: {
815
+ readonly description: "Timestamp when consent was revoked.";
802
816
  readonly type: {
803
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
817
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
804
818
  };
805
819
  };
806
- readonly type: {
807
- readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
808
- };
809
- };
810
- readonly CN5efWVizJbRsMCw8YWRfT2q9vM9XfeGDN9wFvYcvMnQ: {
811
- readonly description: "Conversation type for attributing timeline entries to a person, service, or system. Intended solely for display/attribution; carries no runtime behavior.\n";
812
- readonly name: "Actor";
813
820
  };
814
821
  readonly DEmFwGa1sWm2BKhrN98LREKiB8j8B8kFAo7KBkkaojnN: {
815
822
  readonly add: {
@@ -842,44 +849,6 @@ declare const _default: {
842
849
  };
843
850
  };
844
851
  };
845
- readonly DUjCaEniHH5oDXU3Ss5jWWft3pT9TUcNhv7HoCDU1NTB: {
846
- readonly description: "Discards a previously proposed change by removing its proposal state.";
847
- readonly name: "Reject Change Workflow";
848
- readonly postfix: {
849
- readonly description: "Optional postfix used while building proposed change state key.";
850
- readonly type: {
851
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
852
- };
853
- };
854
- readonly steps: {
855
- readonly items: readonly [{
856
- readonly code: {
857
- readonly type: {
858
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
859
- };
860
- readonly value: "const invalid = (reason) => ({\n changeset: [],\n events: [{ type: 'Conversation/Proposed Change Invalid', reason }]\n});\n\nconst postfixNode = canon.at(currentContractCanonical, '/postfix');\nconst postfixValue =\n typeof postfixNode?.value === 'string' ? postfixNode.value : '';\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";
861
- };
862
- readonly name: "Prepare";
863
- readonly type: {
864
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
865
- };
866
- }, {
867
- readonly changeset: {
868
- readonly type: {
869
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
870
- };
871
- readonly value: "${steps.Prepare.changeset}";
872
- };
873
- readonly name: "Apply";
874
- readonly type: {
875
- readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
876
- };
877
- }];
878
- };
879
- readonly type: {
880
- readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
881
- };
882
- };
883
852
  readonly EbGQYtYR9UNAxcn7auCCujXmnz6DWxMpqVcgYSsKE85M: {
884
853
  readonly description: "Emitted when a proposed change operation cannot be applied.";
885
854
  readonly name: "Proposed Change Invalid";
@@ -929,22 +898,28 @@ declare const _default: {
929
898
  readonly blueId: "7QACj919YMRvFCTELCf6jfQTp41RVhtHdE6bPazLUZQ6";
930
899
  };
931
900
  };
932
- readonly Eh2y8JypsGTdFMpEGEK64vBdGtaJ9Q7Q5t7ChqHafwCV: {
933
- readonly description: "Applies a previously proposed change and removes its proposal state.";
934
- readonly name: "Accept Change Workflow";
901
+ readonly ELAgjQ99vBZLGfY6tJMuPRnm3avxpByyZsXc65aKQmi4: {
902
+ readonly description: "Stores a proposed change under /proposedChange{postfix}.";
903
+ readonly name: "Propose Change Workflow";
935
904
  readonly postfix: {
936
905
  readonly description: "Optional postfix used while building proposed change state key.";
937
906
  readonly type: {
938
907
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
939
908
  };
940
909
  };
910
+ readonly request: {
911
+ readonly description: "Expected request payload for this workflow.";
912
+ readonly type: {
913
+ readonly blueId: "FW7iYkzig4fepCdwfCdgNJw4DQ1fKwnAUf3YpjgfTPmG";
914
+ };
915
+ };
941
916
  readonly steps: {
942
917
  readonly items: readonly [{
943
918
  readonly code: {
944
919
  readonly type: {
945
920
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
946
921
  };
947
- readonly value: "const invalid = (reason) => ({\n changeset: [],\n events: [{ type: 'Conversation/Proposed Change Invalid', reason }]\n});\n\nconst isArray = Array.isArray;\n\nconst postfixNode = canon.at(currentContractCanonical, '/postfix');\nconst postfixValue =\n typeof postfixNode?.value === 'string' ? postfixNode.value : '';\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";
922
+ 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 postfixNode = canon.at(currentContractCanonical, '/postfix');\nconst postfixValue =\n typeof postfixNode?.value === 'string' ? postfixNode.value : '';\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";
948
923
  };
949
924
  readonly name: "Prepare";
950
925
  readonly type: {
@@ -967,56 +942,81 @@ declare const _default: {
967
942
  readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
968
943
  };
969
944
  };
970
- readonly EhPFqrRCreg7StsZEcW8fRQ1FQVdqYSsMSis2CHHJZ1G: {
971
- readonly description: "A successful final state. The document has achieved its goal and its\nprocess has finished as expected.\n";
972
- readonly mode: {
945
+ readonly EvuCWsG1E6WJQg8QXmk6rwMANYTZjoLWVZ1vYQWUwdTH: {
946
+ readonly description: "Conversation channel.\nDelivers events that belong to a specific Timeline\n";
947
+ readonly name: "Timeline Channel";
948
+ readonly timelineId: {
949
+ readonly description: "The `timelineId` whose entries this channel delivers.";
973
950
  readonly type: {
974
951
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
975
952
  };
976
- readonly value: "terminated";
977
953
  };
978
- readonly name: "Status Completed";
979
954
  readonly type: {
980
- readonly blueId: "58B8orsFkxxy7bWqjLXJmtBs2b5rwnNQNbeoAbGhPkJc";
955
+ readonly blueId: "DcoJyCh7XXxy1nR5xjy7qfkUgQ1GiZnKKSxh8DJusBSr";
981
956
  };
982
957
  };
983
- readonly ETAPjwZVyYEfPUWvXkCWAuybBhYUayg4hKC2V7mLXmsv: {
984
- readonly description: "A generic initial state. The document is waiting for an initial action\nor condition to be met before it becomes active.\n";
985
- readonly mode: {
958
+ readonly ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS: {
959
+ readonly code: {
960
+ readonly description: "JavaScript source to execute for this step.";
986
961
  readonly type: {
987
962
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
988
963
  };
989
- readonly value: "pending";
990
964
  };
991
- readonly name: "Status Pending";
965
+ readonly description: "Conversation workflow step that executes provided JavaScript source as part of a sequential workflow.\n- Deterministic JavaScript runtime (QuickJS in Wasm):\n - Only deterministic APIs are available. Date, Math.random, eval/Function,\n Promise/async, RegExp, Proxy, ArrayBuffer/typed arrays, WebAssembly,\n console, JSON.parse/stringify, and Array.prototype.sort are disabled.\n - Values passed into and returned from the VM must be DV-compatible\n (null, boolean, number, string, array, object with string keys).\n- Gas accounting (when and what is charged):\n - JavaScript execution is metered by the QuickJS VM. The VM reports wasm\n fuel used; the processor converts it to host gas with:\n hostGas = ceil(wasmFuel / 1700)\n (calibration factor currently 1700 fuel per host gas unit).\n - Document snapshot reads (via document(<pointer>) inside the code):\n 8 + depth(pointer) + ceil(snapshotBytes/100) per call, where:\n - depth(\"/\") = 0, depth(\"/a/b\") = 2 (number of path segments),\n - snapshotBytes is the canonical JSON size of the retrieved snapshot.\n - Event emissions (if the returned result contains events: [...]):\n 20 + ceil(eventBytes/100) per emitted event, where eventBytes is the\n canonical JSON size of that event. (Delivery/handling of those events may incur\n additional charges elsewhere, outside this step.)\n- JavaScript bindings available to the code:\n - `event`: triggering event rendered via the `'simple'` JSON strategy (plain\n values/arrays, no metadata).\n - `eventCanonical`: triggering event rendered via the `'official'` strategy.\n - `currentContract`: the current handler contract rendered via the `'simple'`\n JSON strategy.\n - `currentContractCanonical`: current handler contract rendered via the\n `'official'` strategy.\n - `document(pointer?)`: document snapshot (absolute path or scope-relative) rendered\n with the `'simple'` strategy; defaults to `/` when omitted.\n - `document.canonical(pointer?)`: snapshot rendered using the `'official'`\n strategy for canonical metadata.\n - `steps`: results of previously executed steps.\n - `canon.unwrap(canonical, deep=true)`: converts canonical JSON back to plain values.\n - `canon.at(canonical, pointer)`: JSON Pointer navigation helper for canonical\n JSON objects.\n";
966
+ readonly name: "JavaScript Code";
992
967
  readonly type: {
993
- readonly blueId: "58B8orsFkxxy7bWqjLXJmtBs2b5rwnNQNbeoAbGhPkJc";
968
+ readonly blueId: "HYsLiqsqk7t98d5fK6YxKEQGeqBaHNVjM4rRNdxK4yUW";
994
969
  };
995
970
  };
996
- readonly EvuCWsG1E6WJQg8QXmk6rwMANYTZjoLWVZ1vYQWUwdTH: {
997
- readonly description: "Conversation channel.\nDelivers events that belong to a specific Timeline\n";
998
- readonly name: "Timeline Channel";
999
- readonly timelineId: {
1000
- readonly description: "The `timelineId` whose entries this channel delivers.";
971
+ readonly FbCbhWAeTsbLsBNn4Fvy3hyqPXFo5166rVwQVYCrtDE5: {
972
+ readonly description: "Discards a previously proposed change by removing its proposal state.";
973
+ readonly name: "Reject Change Workflow";
974
+ readonly postfix: {
975
+ readonly description: "Optional postfix used while building proposed change state key.";
1001
976
  readonly type: {
1002
977
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1003
978
  };
1004
979
  };
980
+ readonly steps: {
981
+ readonly items: readonly [{
982
+ readonly code: {
983
+ readonly type: {
984
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
985
+ };
986
+ readonly value: "const invalid = (reason) => ({\n changeset: [],\n events: [{ type: 'Conversation/Proposed Change Invalid', reason }]\n});\n\nconst postfixNode = canon.at(currentContractCanonical, '/postfix');\nconst postfixValue =\n typeof postfixNode?.value === 'string' ? postfixNode.value : '';\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";
987
+ };
988
+ readonly name: "Prepare";
989
+ readonly type: {
990
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
991
+ };
992
+ }, {
993
+ readonly changeset: {
994
+ readonly type: {
995
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
996
+ };
997
+ readonly value: "${steps.Prepare.changeset}";
998
+ };
999
+ readonly name: "Apply";
1000
+ readonly type: {
1001
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
1002
+ };
1003
+ }];
1004
+ };
1005
1005
  readonly type: {
1006
- readonly blueId: "DcoJyCh7XXxy1nR5xjy7qfkUgQ1GiZnKKSxh8DJusBSr";
1006
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
1007
1007
  };
1008
1008
  };
1009
- readonly ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS: {
1010
- readonly code: {
1011
- readonly description: "JavaScript source to execute for this step.";
1009
+ readonly FDEV1Q9rBZwaponjfRmZ4HsUHRwPC4gvmeHiRqvkLAkY: {
1010
+ readonly description: "Represents active processing of the document, often used for processes that involve\nmultiple steps over time.\n";
1011
+ readonly mode: {
1012
1012
  readonly type: {
1013
1013
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1014
1014
  };
1015
+ readonly value: "active";
1015
1016
  };
1016
- readonly description: "Conversation workflow step that executes provided JavaScript source as part of a sequential workflow.\n- Deterministic JavaScript runtime (QuickJS in Wasm):\n - Only deterministic APIs are available. Date, Math.random, eval/Function,\n Promise/async, RegExp, Proxy, ArrayBuffer/typed arrays, WebAssembly,\n console, JSON.parse/stringify, and Array.prototype.sort are disabled.\n - Values passed into and returned from the VM must be DV-compatible\n (null, boolean, number, string, array, object with string keys).\n- Gas accounting (when and what is charged):\n - JavaScript execution is metered by the QuickJS VM. The VM reports wasm\n fuel used; the processor converts it to host gas with:\n hostGas = ceil(wasmFuel / 1700)\n (calibration factor currently 1700 fuel per host gas unit).\n - Document snapshot reads (via document(<pointer>) inside the code):\n 8 + depth(pointer) + ceil(snapshotBytes/100) per call, where:\n - depth(\"/\") = 0, depth(\"/a/b\") = 2 (number of path segments),\n - snapshotBytes is the canonical JSON size of the retrieved snapshot.\n - Event emissions (if the returned result contains events: [...]):\n 20 + ceil(eventBytes/100) per emitted event, where eventBytes is the\n canonical JSON size of that event. (Delivery/handling of those events may incur\n additional charges elsewhere, outside this step.)\n- JavaScript bindings available to the code:\n - `event`: triggering event rendered via the `'simple'` JSON strategy (plain\n values/arrays, no metadata).\n - `eventCanonical`: triggering event rendered via the `'official'` strategy.\n - `currentContract`: the current handler contract rendered via the `'simple'`\n JSON strategy.\n - `currentContractCanonical`: current handler contract rendered via the\n `'official'` strategy.\n - `document(pointer?)`: document snapshot (absolute path or scope-relative) rendered\n with the `'simple'` strategy; defaults to `/` when omitted.\n - `document.canonical(pointer?)`: snapshot rendered using the `'official'`\n strategy for canonical metadata.\n - `steps`: results of previously executed steps.\n - `canon.unwrap(canonical, deep=true)`: converts canonical JSON back to plain values.\n - `canon.at(canonical, pointer)`: JSON Pointer navigation helper for canonical\n JSON objects.\n";
1017
- readonly name: "JavaScript Code";
1017
+ readonly name: "Status In Progress";
1018
1018
  readonly type: {
1019
- readonly blueId: "HYsLiqsqk7t98d5fK6YxKEQGeqBaHNVjM4rRNdxK4yUW";
1019
+ readonly blueId: "58B8orsFkxxy7bWqjLXJmtBs2b5rwnNQNbeoAbGhPkJc";
1020
1020
  };
1021
1021
  };
1022
1022
  readonly FM1K89eMHRDN6vHtHfGwFNojmgvSnACuYdtc3qQ6qPYB: {
@@ -1101,19 +1101,6 @@ declare const _default: {
1101
1101
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1102
1102
  };
1103
1103
  };
1104
- readonly Guus3kHbivXvy5G93yhiKs3Pc8sxCc4XVvSo7CqLsQEc: {
1105
- readonly description: "A final state indicating that the document encountered an unrecoverable\nerror and could not complete its process.\n";
1106
- readonly mode: {
1107
- readonly type: {
1108
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1109
- };
1110
- readonly value: "terminated";
1111
- };
1112
- readonly name: "Status Failed";
1113
- readonly type: {
1114
- readonly blueId: "58B8orsFkxxy7bWqjLXJmtBs2b5rwnNQNbeoAbGhPkJc";
1115
- };
1116
- };
1117
1104
  readonly HCTXeqkKBbVbsa3WfN2bPFSX7mthbtZ6ZhzByf9VDJJs: {
1118
1105
  readonly apiKeyId: {
1119
1106
  readonly description: "Identifier of the API credential used for the request.";
@@ -1190,6 +1177,19 @@ declare const _default: {
1190
1177
  readonly blueId: "DcoJyCh7XXxy1nR5xjy7qfkUgQ1GiZnKKSxh8DJusBSr";
1191
1178
  };
1192
1179
  };
1180
+ readonly HTTYTqakRbb53umfjRvryunCRm5QQm3mMArTrgUF5DxL: {
1181
+ readonly description: "A generic initial state. The document is waiting for an initial action\nor condition to be met before it becomes active.\n";
1182
+ readonly mode: {
1183
+ readonly type: {
1184
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1185
+ };
1186
+ readonly value: "pending";
1187
+ };
1188
+ readonly name: "Status Pending";
1189
+ readonly type: {
1190
+ readonly blueId: "58B8orsFkxxy7bWqjLXJmtBs2b5rwnNQNbeoAbGhPkJc";
1191
+ };
1192
+ };
1193
1193
  readonly HYsLiqsqk7t98d5fK6YxKEQGeqBaHNVjM4rRNdxK4yUW: {
1194
1194
  readonly description: "Conversation package type. Abstract base for a single step in a Sequential Workflow. Concrete step types (e.g., JavaScript Code, Trigger Event, Update Document) refine behavior.\n";
1195
1195
  readonly name: "Sequential Workflow Step";
@@ -1261,7 +1261,7 @@ declare const _default: {
1261
1261
  channel?: string | undefined;
1262
1262
  request?: import("@blue-labs/language").BlueNode | undefined;
1263
1263
  }>;
1264
- readonly Eh2y8JypsGTdFMpEGEK64vBdGtaJ9Q7Q5t7ChqHafwCV: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
1264
+ readonly BAYbnfs8WkdH33UwCvmsuoAq6MyU6ha4KSTZPaeMp9kN: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
1265
1265
  description: import("zod").ZodOptional<import("zod").ZodString>;
1266
1266
  name: import("zod").ZodOptional<import("zod").ZodString>;
1267
1267
  order: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -2344,7 +2344,7 @@ declare const _default: {
2344
2344
  remove?: string[] | undefined;
2345
2345
  } | undefined;
2346
2346
  }>;
2347
- readonly '4pFvBSYyitoq8rWqTmY5rLywU2tpZsivDUCAo5vwoAT9': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
2347
+ readonly '5cwVBvBpQWLmYmpAMfXVt7mGrrZDZinBkdgJ61oT2FGR': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
2348
2348
  description: import("zod").ZodOptional<import("zod").ZodString>;
2349
2349
  name: import("zod").ZodOptional<import("zod").ZodString>;
2350
2350
  order: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -3054,7 +3054,7 @@ declare const _default: {
3054
3054
  [x: string]: any;
3055
3055
  } | undefined;
3056
3056
  }>;
3057
- readonly '5UeiZ6EC1y3KMafuX6ioNqHHM62S5Xf3ULrC9L3m7MJx': import("zod").ZodObject<{
3057
+ readonly CZBP6a8kS4bKpA2f29oAfBpKVmw6PDLYXDyg8Ttx2ceE: import("zod").ZodObject<{
3058
3058
  consentDetails: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
3059
3059
  consentKind: import("zod").ZodOptional<import("zod").ZodString>;
3060
3060
  consentStatus: import("zod").ZodOptional<import("zod").ZodString>;
@@ -4837,7 +4837,7 @@ declare const _default: {
4837
4837
  } | undefined;
4838
4838
  } | undefined;
4839
4839
  }>;
4840
- readonly '7icTT1chbH3UA2ybXgpfSSyNEAR4Wmm3EkbdGFaZSydo': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
4840
+ readonly ELAgjQ99vBZLGfY6tJMuPRnm3avxpByyZsXc65aKQmi4: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
4841
4841
  description: import("zod").ZodOptional<import("zod").ZodString>;
4842
4842
  name: import("zod").ZodOptional<import("zod").ZodString>;
4843
4843
  order: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -5432,7 +5432,7 @@ declare const _default: {
5432
5432
  channel?: string | undefined;
5433
5433
  request?: import("@blue-labs/language").BlueNode | undefined;
5434
5434
  }>;
5435
- readonly DUjCaEniHH5oDXU3Ss5jWWft3pT9TUcNhv7HoCDU1NTB: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
5435
+ readonly FbCbhWAeTsbLsBNn4Fvy3hyqPXFo5166rVwQVYCrtDE5: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
5436
5436
  description: import("zod").ZodOptional<import("zod").ZodString>;
5437
5437
  name: import("zod").ZodOptional<import("zod").ZodString>;
5438
5438
  order: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -5662,7 +5662,7 @@ declare const _default: {
5662
5662
  description?: string | undefined;
5663
5663
  name?: string | undefined;
5664
5664
  }>;
5665
- readonly EhPFqrRCreg7StsZEcW8fRQ1FQVdqYSsMSis2CHHJZ1G: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
5665
+ readonly '6CtkPkPVtmiQJJienGdzvZf2qGTRQntLXfh8PYeMfxBX': import("zod").ZodObject<import("zod").objectUtil.extendShape<{
5666
5666
  description: import("zod").ZodOptional<import("zod").ZodString>;
5667
5667
  mode: import("zod").ZodOptional<import("zod").ZodString>;
5668
5668
  name: import("zod").ZodOptional<import("zod").ZodString>;
@@ -5679,7 +5679,7 @@ declare const _default: {
5679
5679
  name?: string | undefined;
5680
5680
  mode?: string | undefined;
5681
5681
  }>;
5682
- readonly Guus3kHbivXvy5G93yhiKs3Pc8sxCc4XVvSo7CqLsQEc: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
5682
+ readonly '5w8XTussoHoaLUy6gwou9Rz5Zxuh9yums9YDNjGdLCKV': import("zod").ZodObject<import("zod").objectUtil.extendShape<{
5683
5683
  description: import("zod").ZodOptional<import("zod").ZodString>;
5684
5684
  mode: import("zod").ZodOptional<import("zod").ZodString>;
5685
5685
  name: import("zod").ZodOptional<import("zod").ZodString>;
@@ -5696,7 +5696,7 @@ declare const _default: {
5696
5696
  name?: string | undefined;
5697
5697
  mode?: string | undefined;
5698
5698
  }>;
5699
- readonly '56Lhu3Z2oF3kuYG41eZAK8TvgVtRNevkbRi4D31kKWZm': import("zod").ZodObject<import("zod").objectUtil.extendShape<{
5699
+ readonly FDEV1Q9rBZwaponjfRmZ4HsUHRwPC4gvmeHiRqvkLAkY: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
5700
5700
  description: import("zod").ZodOptional<import("zod").ZodString>;
5701
5701
  mode: import("zod").ZodOptional<import("zod").ZodString>;
5702
5702
  name: import("zod").ZodOptional<import("zod").ZodString>;
@@ -5713,7 +5713,7 @@ declare const _default: {
5713
5713
  name?: string | undefined;
5714
5714
  mode?: string | undefined;
5715
5715
  }>;
5716
- readonly ETAPjwZVyYEfPUWvXkCWAuybBhYUayg4hKC2V7mLXmsv: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
5716
+ readonly HTTYTqakRbb53umfjRvryunCRm5QQm3mMArTrgUF5DxL: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
5717
5717
  description: import("zod").ZodOptional<import("zod").ZodString>;
5718
5718
  mode: import("zod").ZodOptional<import("zod").ZodString>;
5719
5719
  name: import("zod").ZodOptional<import("zod").ZodString>;
@@ -5896,7 +5896,7 @@ declare const _default: {
5896
5896
  };
5897
5897
  readonly aliases: {
5898
5898
  readonly 'Conversation/Accept Change Operation': "APk3siB8g9pvWLG3qyqtGjRNNGB7RDpFWQtG4epj5Avv";
5899
- readonly 'Conversation/Accept Change Workflow': "Eh2y8JypsGTdFMpEGEK64vBdGtaJ9Q7Q5t7ChqHafwCV";
5899
+ readonly 'Conversation/Accept Change Workflow': "BAYbnfs8WkdH33UwCvmsuoAq6MyU6ha4KSTZPaeMp9kN";
5900
5900
  readonly 'Conversation/Actor': "CN5efWVizJbRsMCw8YWRfT2q9vM9XfeGDN9wFvYcvMnQ";
5901
5901
  readonly 'Conversation/Actor Policy': "EeWqP1Tw9WXo5nq8kx93FuTw9HRqpv34mbWFjH72nR7o";
5902
5902
  readonly 'Conversation/Agent Actor': "FM1K89eMHRDN6vHtHfGwFNojmgvSnACuYdtc3qQ6qPYB";
@@ -5904,13 +5904,13 @@ declare const _default: {
5904
5904
  readonly 'Conversation/Browser Session': "8UVUYbhSVBAx7BAupgjSeeFuuyrgdFcGbaXBitEZD9B1";
5905
5905
  readonly 'Conversation/Change Operation': "Hd5uuFjqxyw5mrFPgJf2mcatij8ddtmGAMJu9ij5K1tc";
5906
5906
  readonly 'Conversation/Change Request': "FW7iYkzig4fepCdwfCdgNJw4DQ1fKwnAUf3YpjgfTPmG";
5907
- readonly 'Conversation/Change Workflow': "4pFvBSYyitoq8rWqTmY5rLywU2tpZsivDUCAo5vwoAT9";
5907
+ readonly 'Conversation/Change Workflow': "5cwVBvBpQWLmYmpAMfXVt7mGrrZDZinBkdgJ61oT2FGR";
5908
5908
  readonly 'Conversation/Chat Message': "AkUKoKY1hHY1CytCrAXDPKCd4md1QGmn1WNcQtWBsyAD";
5909
5909
  readonly 'Conversation/Composite Timeline Channel': "HsNatiPt2YvmkWQoqtfrFCbdp75ZUBLBUkWeq84WTfnr";
5910
5910
  readonly 'Conversation/Contracts Change Policy': "6FDVZRQwuhXdXtnXq8kRg3f3DM8SUdbN3TT8rSGJcS2U";
5911
5911
  readonly 'Conversation/Customer Action Requested': "6ZLHE59mb1ytEjW78jmYCU3DXxj4Fzfjea7tz3VEkwyX";
5912
5912
  readonly 'Conversation/Customer Action Responded': "GFyes2Px1cY5Yfk2oiA1qpzhz2purMED3g1L74Bu1Ho6";
5913
- readonly 'Conversation/Customer Consent': "5UeiZ6EC1y3KMafuX6ioNqHHM62S5Xf3ULrC9L3m7MJx";
5913
+ readonly 'Conversation/Customer Consent': "CZBP6a8kS4bKpA2f29oAfBpKVmw6PDLYXDyg8Ttx2ceE";
5914
5914
  readonly 'Conversation/Customer Consent Revoked': "9h1AhEexkxxKLYv1NHbEESYCPtvW7Nt51msGtuQC5jWK";
5915
5915
  readonly 'Conversation/Document Bootstrap Completed': "HH5u8PwvdXrARNkT4oyWR4QjgkwhKfPWGnNtEwfUBiUg";
5916
5916
  readonly 'Conversation/Document Bootstrap Failed': "B8b1ayXMrAYbwkqaJfAS6Aspp2kZyJda8ay9QeFkZ9MH";
@@ -5929,10 +5929,10 @@ declare const _default: {
5929
5929
  readonly 'Conversation/Operation Request': "HM4Ku4LFcjC5MxnhPMRwQ8w3BbHmJKKZfHTTzsd4jbJq";
5930
5930
  readonly 'Conversation/Principal Actor': "FqipbF4UATjCRTqovGdREPAoaxj59NECb9xtnWRW1SWi";
5931
5931
  readonly 'Conversation/Propose Change Operation': "BeiedmmcKDhStxDnnQqUaXDJLofWSnqX6CazKTvVpfbW";
5932
- readonly 'Conversation/Propose Change Workflow': "7icTT1chbH3UA2ybXgpfSSyNEAR4Wmm3EkbdGFaZSydo";
5932
+ readonly 'Conversation/Propose Change Workflow': "ELAgjQ99vBZLGfY6tJMuPRnm3avxpByyZsXc65aKQmi4";
5933
5933
  readonly 'Conversation/Proposed Change Invalid': "EbGQYtYR9UNAxcn7auCCujXmnz6DWxMpqVcgYSsKE85M";
5934
5934
  readonly 'Conversation/Reject Change Operation': "4T5AmhKAXSJAAHDEjtVJ2FQgCyz2qyd9qG5uoh627Ux6";
5935
- readonly 'Conversation/Reject Change Workflow': "DUjCaEniHH5oDXU3Ss5jWWft3pT9TUcNhv7HoCDU1NTB";
5935
+ readonly 'Conversation/Reject Change Workflow': "FbCbhWAeTsbLsBNn4Fvy3hyqPXFo5166rVwQVYCrtDE5";
5936
5936
  readonly 'Conversation/Request': "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
5937
5937
  readonly 'Conversation/Response': "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
5938
5938
  readonly 'Conversation/Sequential Workflow': "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
@@ -5940,10 +5940,10 @@ declare const _default: {
5940
5940
  readonly 'Conversation/Sequential Workflow Step': "HYsLiqsqk7t98d5fK6YxKEQGeqBaHNVjM4rRNdxK4yUW";
5941
5941
  readonly 'Conversation/Source': "6ADCPYXkusrp4dL1FC126L2ccuzYfqGdBf1w6EXh2hnC";
5942
5942
  readonly 'Conversation/Status Change': "C48nKSkbxraMSv4gCiGYVHKFjmtK12k63Yasn95zknWE";
5943
- readonly 'Conversation/Status Completed': "EhPFqrRCreg7StsZEcW8fRQ1FQVdqYSsMSis2CHHJZ1G";
5944
- readonly 'Conversation/Status Failed': "Guus3kHbivXvy5G93yhiKs3Pc8sxCc4XVvSo7CqLsQEc";
5945
- readonly 'Conversation/Status In Progress': "56Lhu3Z2oF3kuYG41eZAK8TvgVtRNevkbRi4D31kKWZm";
5946
- readonly 'Conversation/Status Pending': "ETAPjwZVyYEfPUWvXkCWAuybBhYUayg4hKC2V7mLXmsv";
5943
+ readonly 'Conversation/Status Completed': "6CtkPkPVtmiQJJienGdzvZf2qGTRQntLXfh8PYeMfxBX";
5944
+ readonly 'Conversation/Status Failed': "5w8XTussoHoaLUy6gwou9Rz5Zxuh9yums9YDNjGdLCKV";
5945
+ readonly 'Conversation/Status In Progress': "FDEV1Q9rBZwaponjfRmZ4HsUHRwPC4gvmeHiRqvkLAkY";
5946
+ readonly 'Conversation/Status Pending': "HTTYTqakRbb53umfjRvryunCRm5QQm3mMArTrgUF5DxL";
5947
5947
  readonly 'Conversation/Timeline': "3Ge54FsGJaaeZmm8nTKJdS6HVdYhiR3g18fDwg3Ev1Sa";
5948
5948
  readonly 'Conversation/Timeline Channel': "EvuCWsG1E6WJQg8QXmk6rwMANYTZjoLWVZ1vYQWUwdTH";
5949
5949
  readonly 'Conversation/Timeline Entry': "29tcU8MkrV3KL5HqH6DHJDPPfJMheoqwiKJsaHnrp9hT";
@@ -5961,12 +5961,12 @@ declare const _default: {
5961
5961
  readonly attributesAdded: readonly [];
5962
5962
  }];
5963
5963
  };
5964
- readonly Eh2y8JypsGTdFMpEGEK64vBdGtaJ9Q7Q5t7ChqHafwCV: {
5964
+ readonly BAYbnfs8WkdH33UwCvmsuoAq6MyU6ha4KSTZPaeMp9kN: {
5965
5965
  readonly status: "dev";
5966
5966
  readonly name: "Accept Change Workflow";
5967
5967
  readonly versions: readonly [{
5968
- readonly repositoryVersionIndex: 0;
5969
- readonly typeBlueId: "Eh2y8JypsGTdFMpEGEK64vBdGtaJ9Q7Q5t7ChqHafwCV";
5968
+ readonly repositoryVersionIndex: 9;
5969
+ readonly typeBlueId: "BAYbnfs8WkdH33UwCvmsuoAq6MyU6ha4KSTZPaeMp9kN";
5970
5970
  readonly attributesAdded: readonly [];
5971
5971
  }];
5972
5972
  };
@@ -6033,12 +6033,12 @@ declare const _default: {
6033
6033
  readonly attributesAdded: readonly [];
6034
6034
  }];
6035
6035
  };
6036
- readonly '4pFvBSYyitoq8rWqTmY5rLywU2tpZsivDUCAo5vwoAT9': {
6036
+ readonly '5cwVBvBpQWLmYmpAMfXVt7mGrrZDZinBkdgJ61oT2FGR': {
6037
6037
  readonly status: "dev";
6038
6038
  readonly name: "Change Workflow";
6039
6039
  readonly versions: readonly [{
6040
- readonly repositoryVersionIndex: 0;
6041
- readonly typeBlueId: "4pFvBSYyitoq8rWqTmY5rLywU2tpZsivDUCAo5vwoAT9";
6040
+ readonly repositoryVersionIndex: 9;
6041
+ readonly typeBlueId: "5cwVBvBpQWLmYmpAMfXVt7mGrrZDZinBkdgJ61oT2FGR";
6042
6042
  readonly attributesAdded: readonly [];
6043
6043
  }];
6044
6044
  };
@@ -6087,12 +6087,12 @@ declare const _default: {
6087
6087
  readonly attributesAdded: readonly [];
6088
6088
  }];
6089
6089
  };
6090
- readonly '5UeiZ6EC1y3KMafuX6ioNqHHM62S5Xf3ULrC9L3m7MJx': {
6090
+ readonly CZBP6a8kS4bKpA2f29oAfBpKVmw6PDLYXDyg8Ttx2ceE: {
6091
6091
  readonly status: "dev";
6092
6092
  readonly name: "Customer Consent";
6093
6093
  readonly versions: readonly [{
6094
- readonly repositoryVersionIndex: 0;
6095
- readonly typeBlueId: "5UeiZ6EC1y3KMafuX6ioNqHHM62S5Xf3ULrC9L3m7MJx";
6094
+ readonly repositoryVersionIndex: 9;
6095
+ readonly typeBlueId: "CZBP6a8kS4bKpA2f29oAfBpKVmw6PDLYXDyg8Ttx2ceE";
6096
6096
  readonly attributesAdded: readonly [];
6097
6097
  }];
6098
6098
  };
@@ -6258,12 +6258,12 @@ declare const _default: {
6258
6258
  readonly attributesAdded: readonly [];
6259
6259
  }];
6260
6260
  };
6261
- readonly '7icTT1chbH3UA2ybXgpfSSyNEAR4Wmm3EkbdGFaZSydo': {
6261
+ readonly ELAgjQ99vBZLGfY6tJMuPRnm3avxpByyZsXc65aKQmi4: {
6262
6262
  readonly status: "dev";
6263
6263
  readonly name: "Propose Change Workflow";
6264
6264
  readonly versions: readonly [{
6265
- readonly repositoryVersionIndex: 0;
6266
- readonly typeBlueId: "7icTT1chbH3UA2ybXgpfSSyNEAR4Wmm3EkbdGFaZSydo";
6265
+ readonly repositoryVersionIndex: 9;
6266
+ readonly typeBlueId: "ELAgjQ99vBZLGfY6tJMuPRnm3avxpByyZsXc65aKQmi4";
6267
6267
  readonly attributesAdded: readonly [];
6268
6268
  }];
6269
6269
  };
@@ -6285,12 +6285,12 @@ declare const _default: {
6285
6285
  readonly attributesAdded: readonly [];
6286
6286
  }];
6287
6287
  };
6288
- readonly DUjCaEniHH5oDXU3Ss5jWWft3pT9TUcNhv7HoCDU1NTB: {
6288
+ readonly FbCbhWAeTsbLsBNn4Fvy3hyqPXFo5166rVwQVYCrtDE5: {
6289
6289
  readonly status: "dev";
6290
6290
  readonly name: "Reject Change Workflow";
6291
6291
  readonly versions: readonly [{
6292
- readonly repositoryVersionIndex: 0;
6293
- readonly typeBlueId: "DUjCaEniHH5oDXU3Ss5jWWft3pT9TUcNhv7HoCDU1NTB";
6292
+ readonly repositoryVersionIndex: 9;
6293
+ readonly typeBlueId: "FbCbhWAeTsbLsBNn4Fvy3hyqPXFo5166rVwQVYCrtDE5";
6294
6294
  readonly attributesAdded: readonly [];
6295
6295
  }];
6296
6296
  };
@@ -6357,40 +6357,56 @@ declare const _default: {
6357
6357
  readonly attributesAdded: readonly [];
6358
6358
  }];
6359
6359
  };
6360
- readonly EhPFqrRCreg7StsZEcW8fRQ1FQVdqYSsMSis2CHHJZ1G: {
6360
+ readonly '6CtkPkPVtmiQJJienGdzvZf2qGTRQntLXfh8PYeMfxBX': {
6361
6361
  readonly status: "stable";
6362
6362
  readonly name: "Status Completed";
6363
6363
  readonly versions: readonly [{
6364
6364
  readonly repositoryVersionIndex: 0;
6365
6365
  readonly typeBlueId: "EhPFqrRCreg7StsZEcW8fRQ1FQVdqYSsMSis2CHHJZ1G";
6366
6366
  readonly attributesAdded: readonly [];
6367
+ }, {
6368
+ readonly repositoryVersionIndex: 9;
6369
+ readonly typeBlueId: "6CtkPkPVtmiQJJienGdzvZf2qGTRQntLXfh8PYeMfxBX";
6370
+ readonly attributesAdded: readonly [];
6367
6371
  }];
6368
6372
  };
6369
- readonly Guus3kHbivXvy5G93yhiKs3Pc8sxCc4XVvSo7CqLsQEc: {
6373
+ readonly '5w8XTussoHoaLUy6gwou9Rz5Zxuh9yums9YDNjGdLCKV': {
6370
6374
  readonly status: "stable";
6371
6375
  readonly name: "Status Failed";
6372
6376
  readonly versions: readonly [{
6373
6377
  readonly repositoryVersionIndex: 0;
6374
6378
  readonly typeBlueId: "Guus3kHbivXvy5G93yhiKs3Pc8sxCc4XVvSo7CqLsQEc";
6375
6379
  readonly attributesAdded: readonly [];
6380
+ }, {
6381
+ readonly repositoryVersionIndex: 9;
6382
+ readonly typeBlueId: "5w8XTussoHoaLUy6gwou9Rz5Zxuh9yums9YDNjGdLCKV";
6383
+ readonly attributesAdded: readonly [];
6376
6384
  }];
6377
6385
  };
6378
- readonly '56Lhu3Z2oF3kuYG41eZAK8TvgVtRNevkbRi4D31kKWZm': {
6386
+ readonly FDEV1Q9rBZwaponjfRmZ4HsUHRwPC4gvmeHiRqvkLAkY: {
6379
6387
  readonly status: "stable";
6380
6388
  readonly name: "Status In Progress";
6381
6389
  readonly versions: readonly [{
6382
6390
  readonly repositoryVersionIndex: 0;
6383
6391
  readonly typeBlueId: "56Lhu3Z2oF3kuYG41eZAK8TvgVtRNevkbRi4D31kKWZm";
6384
6392
  readonly attributesAdded: readonly [];
6393
+ }, {
6394
+ readonly repositoryVersionIndex: 9;
6395
+ readonly typeBlueId: "FDEV1Q9rBZwaponjfRmZ4HsUHRwPC4gvmeHiRqvkLAkY";
6396
+ readonly attributesAdded: readonly [];
6385
6397
  }];
6386
6398
  };
6387
- readonly ETAPjwZVyYEfPUWvXkCWAuybBhYUayg4hKC2V7mLXmsv: {
6399
+ readonly HTTYTqakRbb53umfjRvryunCRm5QQm3mMArTrgUF5DxL: {
6388
6400
  readonly status: "stable";
6389
6401
  readonly name: "Status Pending";
6390
6402
  readonly versions: readonly [{
6391
6403
  readonly repositoryVersionIndex: 0;
6392
6404
  readonly typeBlueId: "ETAPjwZVyYEfPUWvXkCWAuybBhYUayg4hKC2V7mLXmsv";
6393
6405
  readonly attributesAdded: readonly [];
6406
+ }, {
6407
+ readonly repositoryVersionIndex: 9;
6408
+ readonly typeBlueId: "HTTYTqakRbb53umfjRvryunCRm5QQm3mMArTrgUF5DxL";
6409
+ readonly attributesAdded: readonly [];
6394
6410
  }];
6395
6411
  };
6396
6412
  readonly '3Ge54FsGJaaeZmm8nTKJdS6HVdYhiR3g18fDwg3Ev1Sa': {