@blue-repository/types 0.4.0 → 0.5.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 (143) 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/common/blue-ids.d.ts +5 -0
  7. package/dist/packages/common/blue-ids.d.ts.map +1 -0
  8. package/dist/packages/common/blue-ids.js +5 -0
  9. package/dist/packages/common/blue-ids.js.map +1 -0
  10. package/dist/packages/common/contents/Timestamp.d.ts +8 -0
  11. package/dist/packages/common/contents/Timestamp.d.ts.map +1 -0
  12. package/dist/packages/common/contents/Timestamp.js +8 -0
  13. package/dist/packages/common/contents/Timestamp.js.map +1 -0
  14. package/dist/packages/common/contents/index.d.ts +11 -0
  15. package/dist/packages/common/contents/index.d.ts.map +1 -0
  16. package/dist/packages/common/contents/index.js +6 -0
  17. package/dist/packages/common/contents/index.js.map +1 -0
  18. package/dist/packages/common/contents.d.ts +3 -0
  19. package/dist/packages/common/contents.d.ts.map +1 -0
  20. package/dist/packages/common/contents.js +3 -0
  21. package/dist/packages/common/contents.js.map +1 -0
  22. package/dist/packages/common/index.d.ts +39 -0
  23. package/dist/packages/common/index.d.ts.map +1 -0
  24. package/dist/packages/common/index.js +6 -0
  25. package/dist/packages/common/index.js.map +1 -0
  26. package/dist/packages/common/meta.d.ts +19 -0
  27. package/dist/packages/common/meta.d.ts.map +1 -0
  28. package/dist/packages/common/meta.js +23 -0
  29. package/dist/packages/common/meta.js.map +1 -0
  30. package/dist/packages/common/schemas/Timestamp.d.ts +8 -0
  31. package/dist/packages/common/schemas/Timestamp.d.ts.map +1 -0
  32. package/dist/packages/common/schemas/Timestamp.js +5 -0
  33. package/dist/packages/common/schemas/Timestamp.js.map +1 -0
  34. package/dist/packages/common/schemas/index.d.ts +9 -0
  35. package/dist/packages/common/schemas/index.d.ts.map +1 -0
  36. package/dist/packages/common/schemas/index.js +6 -0
  37. package/dist/packages/common/schemas/index.js.map +1 -0
  38. package/dist/packages/common/schemas.d.ts +3 -0
  39. package/dist/packages/common/schemas.d.ts.map +1 -0
  40. package/dist/packages/common/schemas.js +3 -0
  41. package/dist/packages/common/schemas.js.map +1 -0
  42. package/dist/packages/index.d.ts +1 -0
  43. package/dist/packages/index.d.ts.map +1 -1
  44. package/dist/packages/index.js +1 -0
  45. package/dist/packages/index.js.map +1 -1
  46. package/dist/packages/paynote/blue-ids.d.ts +9 -0
  47. package/dist/packages/paynote/blue-ids.d.ts.map +1 -1
  48. package/dist/packages/paynote/blue-ids.js +9 -0
  49. package/dist/packages/paynote/blue-ids.js.map +1 -1
  50. package/dist/packages/paynote/contents/CardTransactionDetails.d.ts +29 -0
  51. package/dist/packages/paynote/contents/CardTransactionDetails.d.ts.map +1 -0
  52. package/dist/packages/paynote/contents/CardTransactionDetails.js +29 -0
  53. package/dist/packages/paynote/contents/CardTransactionDetails.js.map +1 -0
  54. package/dist/packages/paynote/contents/PayNoteAcceptedByClient.d.ts +14 -0
  55. package/dist/packages/paynote/contents/PayNoteAcceptedByClient.d.ts.map +1 -0
  56. package/dist/packages/paynote/contents/PayNoteAcceptedByClient.js +14 -0
  57. package/dist/packages/paynote/contents/PayNoteAcceptedByClient.js.map +1 -0
  58. package/dist/packages/paynote/contents/PayNoteClientDecisionDiscarded.d.ts +26 -0
  59. package/dist/packages/paynote/contents/PayNoteClientDecisionDiscarded.d.ts.map +1 -0
  60. package/dist/packages/paynote/contents/PayNoteClientDecisionDiscarded.js +26 -0
  61. package/dist/packages/paynote/contents/PayNoteClientDecisionDiscarded.js.map +1 -0
  62. package/dist/packages/paynote/contents/PayNoteDelivery.d.ts +636 -0
  63. package/dist/packages/paynote/contents/PayNoteDelivery.d.ts.map +1 -0
  64. package/dist/packages/paynote/contents/PayNoteDelivery.js +672 -0
  65. package/dist/packages/paynote/contents/PayNoteDelivery.js.map +1 -0
  66. package/dist/packages/paynote/contents/PayNoteDeliveryBootstrapRequested.d.ts +14 -0
  67. package/dist/packages/paynote/contents/PayNoteDeliveryBootstrapRequested.d.ts.map +1 -0
  68. package/dist/packages/paynote/contents/PayNoteDeliveryBootstrapRequested.js +14 -0
  69. package/dist/packages/paynote/contents/PayNoteDeliveryBootstrapRequested.js.map +1 -0
  70. package/dist/packages/paynote/contents/PayNoteDeliveryFailed.d.ts +14 -0
  71. package/dist/packages/paynote/contents/PayNoteDeliveryFailed.d.ts.map +1 -0
  72. package/dist/packages/paynote/contents/PayNoteDeliveryFailed.js +14 -0
  73. package/dist/packages/paynote/contents/PayNoteDeliveryFailed.js.map +1 -0
  74. package/dist/packages/paynote/contents/PayNoteRejectedByClient.d.ts +20 -0
  75. package/dist/packages/paynote/contents/PayNoteRejectedByClient.d.ts.map +1 -0
  76. package/dist/packages/paynote/contents/PayNoteRejectedByClient.js +20 -0
  77. package/dist/packages/paynote/contents/PayNoteRejectedByClient.js.map +1 -0
  78. package/dist/packages/paynote/contents/TransactionIdentificationFailed.d.ts +14 -0
  79. package/dist/packages/paynote/contents/TransactionIdentificationFailed.d.ts.map +1 -0
  80. package/dist/packages/paynote/contents/TransactionIdentificationFailed.js +14 -0
  81. package/dist/packages/paynote/contents/TransactionIdentificationFailed.js.map +1 -0
  82. package/dist/packages/paynote/contents/TransactionIdentified.d.ts +8 -0
  83. package/dist/packages/paynote/contents/TransactionIdentified.d.ts.map +1 -0
  84. package/dist/packages/paynote/contents/TransactionIdentified.js +8 -0
  85. package/dist/packages/paynote/contents/TransactionIdentified.js.map +1 -0
  86. package/dist/packages/paynote/contents/index.d.ts +775 -0
  87. package/dist/packages/paynote/contents/index.d.ts.map +1 -1
  88. package/dist/packages/paynote/contents/index.js +27 -0
  89. package/dist/packages/paynote/contents/index.js.map +1 -1
  90. package/dist/packages/paynote/index.d.ts +4176 -65
  91. package/dist/packages/paynote/index.d.ts.map +1 -1
  92. package/dist/packages/paynote/meta.d.ts +90 -0
  93. package/dist/packages/paynote/meta.d.ts.map +1 -1
  94. package/dist/packages/paynote/meta.js +99 -0
  95. package/dist/packages/paynote/meta.js.map +1 -1
  96. package/dist/packages/paynote/schemas/CardTransactionDetails.d.ts +25 -0
  97. package/dist/packages/paynote/schemas/CardTransactionDetails.d.ts.map +1 -0
  98. package/dist/packages/paynote/schemas/CardTransactionDetails.js +12 -0
  99. package/dist/packages/paynote/schemas/CardTransactionDetails.js.map +1 -0
  100. package/dist/packages/paynote/schemas/PayNoteAcceptedByClient.d.ts +27 -0
  101. package/dist/packages/paynote/schemas/PayNoteAcceptedByClient.d.ts.map +1 -0
  102. package/dist/packages/paynote/schemas/PayNoteAcceptedByClient.js +11 -0
  103. package/dist/packages/paynote/schemas/PayNoteAcceptedByClient.js.map +1 -0
  104. package/dist/packages/paynote/schemas/PayNoteClientDecisionDiscarded.d.ts +33 -0
  105. package/dist/packages/paynote/schemas/PayNoteClientDecisionDiscarded.d.ts.map +1 -0
  106. package/dist/packages/paynote/schemas/PayNoteClientDecisionDiscarded.js +13 -0
  107. package/dist/packages/paynote/schemas/PayNoteClientDecisionDiscarded.js.map +1 -0
  108. package/dist/packages/paynote/schemas/PayNoteDelivery.d.ts +1363 -0
  109. package/dist/packages/paynote/schemas/PayNoteDelivery.d.ts.map +1 -0
  110. package/dist/packages/paynote/schemas/PayNoteDelivery.js +42 -0
  111. package/dist/packages/paynote/schemas/PayNoteDelivery.js.map +1 -0
  112. package/dist/packages/paynote/schemas/PayNoteDeliveryBootstrapRequested.d.ts +1750 -0
  113. package/dist/packages/paynote/schemas/PayNoteDeliveryBootstrapRequested.d.ts.map +1 -0
  114. package/dist/packages/paynote/schemas/PayNoteDeliveryBootstrapRequested.js +11 -0
  115. package/dist/packages/paynote/schemas/PayNoteDeliveryBootstrapRequested.js.map +1 -0
  116. package/dist/packages/paynote/schemas/PayNoteDeliveryFailed.d.ts +19 -0
  117. package/dist/packages/paynote/schemas/PayNoteDeliveryFailed.d.ts.map +1 -0
  118. package/dist/packages/paynote/schemas/PayNoteDeliveryFailed.js +10 -0
  119. package/dist/packages/paynote/schemas/PayNoteDeliveryFailed.js.map +1 -0
  120. package/dist/packages/paynote/schemas/PayNoteRejectedByClient.d.ts +30 -0
  121. package/dist/packages/paynote/schemas/PayNoteRejectedByClient.d.ts.map +1 -0
  122. package/dist/packages/paynote/schemas/PayNoteRejectedByClient.js +12 -0
  123. package/dist/packages/paynote/schemas/PayNoteRejectedByClient.js.map +1 -0
  124. package/dist/packages/paynote/schemas/TransactionIdentificationFailed.d.ts +19 -0
  125. package/dist/packages/paynote/schemas/TransactionIdentificationFailed.d.ts.map +1 -0
  126. package/dist/packages/paynote/schemas/TransactionIdentificationFailed.js +10 -0
  127. package/dist/packages/paynote/schemas/TransactionIdentificationFailed.js.map +1 -0
  128. package/dist/packages/paynote/schemas/TransactionIdentified.d.ts +16 -0
  129. package/dist/packages/paynote/schemas/TransactionIdentified.d.ts.map +1 -0
  130. package/dist/packages/paynote/schemas/TransactionIdentified.js +9 -0
  131. package/dist/packages/paynote/schemas/TransactionIdentified.js.map +1 -0
  132. package/dist/packages/paynote/schemas/index.d.ts +3441 -177
  133. package/dist/packages/paynote/schemas/index.d.ts.map +1 -1
  134. package/dist/packages/paynote/schemas/index.js +27 -0
  135. package/dist/packages/paynote/schemas/index.js.map +1 -1
  136. package/dist/repository.d.ts +4607 -463
  137. package/dist/repository.d.ts.map +1 -1
  138. package/dist/repository.js +2 -0
  139. package/dist/repository.js.map +1 -1
  140. package/dist/type-aliases.d.ts.map +1 -1
  141. package/dist/type-aliases.js +2 -0
  142. package/dist/type-aliases.js.map +1 -1
  143. package/package.json +10 -2
@@ -4,7 +4,10 @@ export { ReserveFundsRequested } from './ReserveFundsRequested.js';
4
4
  export { SettlementAmountSpecified } from './SettlementAmountSpecified.js';
5
5
  export { ReservationDeclined } from './ReservationDeclined.js';
6
6
  export { IssueChildPayNoteRequested } from './IssueChildPayNoteRequested.js';
7
+ export { PayNoteDeliveryBootstrapRequested } from './PayNoteDeliveryBootstrapRequested.js';
7
8
  export { ReservationReleaseDeclined } from './ReservationReleaseDeclined.js';
9
+ export { TransactionIdentified } from './TransactionIdentified.js';
10
+ export { PayNoteAcceptedByClient } from './PayNoteAcceptedByClient.js';
8
11
  export { PayNoteCancelled } from './PayNoteCancelled.js';
9
12
  export { PayNoteRejected } from './PayNoteRejected.js';
10
13
  export { FundsReserved } from './FundsReserved.js';
@@ -12,14 +15,20 @@ export { FundsCaptured } from './FundsCaptured.js';
12
15
  export { PayeeAssignmentRequested } from './PayeeAssignmentRequested.js';
13
16
  export { PayNote } from './PayNote.js';
14
17
  export { ReservationReleased } from './ReservationReleased.js';
18
+ export { PayNoteClientDecisionDiscarded } from './PayNoteClientDecisionDiscarded.js';
15
19
  export { ChildPayNoteIssuanceDeclined } from './ChildPayNoteIssuanceDeclined.js';
16
20
  export { PayNoteCancellationRequested } from './PayNoteCancellationRequested.js';
17
21
  export { CaptureFundsRequested } from './CaptureFundsRequested.js';
22
+ export { PayNoteRejectedByClient } from './PayNoteRejectedByClient.js';
23
+ export { PayNoteDelivery } from './PayNoteDelivery.js';
18
24
  export { ChildPayNoteIssued } from './ChildPayNoteIssued.js';
19
25
  export { CaptureFailed } from './CaptureFailed.js';
20
26
  export { CaptureDeclined } from './CaptureDeclined.js';
21
27
  export { PayNoteCancellationRejected } from './PayNoteCancellationRejected.js';
28
+ export { PayNoteDeliveryFailed } from './PayNoteDeliveryFailed.js';
22
29
  export { ReservationReleaseRequested } from './ReservationReleaseRequested.js';
30
+ export { TransactionIdentificationFailed } from './TransactionIdentificationFailed.js';
31
+ export { CardTransactionDetails } from './CardTransactionDetails.js';
23
32
  export { PayNoteApproved } from './PayNoteApproved.js';
24
33
  export declare const contents: {
25
34
  readonly '3b3ePGPg5GzS6KYfqoDfgjWbjccXVnGzytbpFS53x4HM': {
@@ -92,6 +101,19 @@ export declare const contents: {
92
101
  readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
93
102
  };
94
103
  };
104
+ readonly '5dMaJQ2nrVQLFB6VT3RGRHJC1nKxzj89cji86TJo7YMr': {
105
+ readonly delivery: {
106
+ readonly description: "Delivery payload to bootstrap.";
107
+ readonly type: {
108
+ readonly blueId: "F55Gk1KTHsAfWVjfP4LH7bB558tJ5DL6FUu4as3g5mY1";
109
+ };
110
+ };
111
+ readonly description: "Request to bootstrap a PayNote Delivery session.";
112
+ readonly name: "PayNote Delivery Bootstrap Requested";
113
+ readonly type: {
114
+ readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
115
+ };
116
+ };
95
117
  readonly '653sCbbRH3RiKhGjmVxh6wFVs4rn54wJRKDXRMKBZtjA': {
96
118
  readonly description: "The Guarantor failed to release the reserved funds.";
97
119
  readonly name: "Reservation Release Declined";
@@ -104,6 +126,26 @@ export declare const contents: {
104
126
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
105
127
  };
106
128
  };
129
+ readonly '6gQWKeJHZEbBo13Vvyf2nsdg7TA9kLSYdzMaJgySPG7V': {
130
+ readonly description: "The deliverer identified the card transaction.";
131
+ readonly name: "Transaction Identified";
132
+ readonly type: {
133
+ readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
134
+ };
135
+ };
136
+ readonly '6VQC585V4SdpyA5hCeQQGM178bbeW3D2WcKt8ZCWK9s3': {
137
+ readonly acceptedAt: {
138
+ readonly description: "Timestamp when the client accepted.";
139
+ readonly type: {
140
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
141
+ };
142
+ };
143
+ readonly description: "The client accepted the PayNote.";
144
+ readonly name: "PayNote Accepted By Client";
145
+ readonly type: {
146
+ readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
147
+ };
148
+ };
107
149
  readonly '96buyUXwhkak8xKoCR5nAW9tMuwzkevJFdELVvwKxR6Y': {
108
150
  readonly description: "The Guarantor confirms PayNote cancellation requested by Payer.";
109
151
  readonly name: "PayNote Cancelled";
@@ -242,6 +284,31 @@ export declare const contents: {
242
284
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
243
285
  };
244
286
  };
287
+ readonly Da7ZSyWgvMyTfwDVhAgCkGf3H8dwHhouHsHgNzg3DZ2j: {
288
+ readonly decision: {
289
+ readonly description: "Attempted decision (accepted or rejected).";
290
+ readonly type: {
291
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
292
+ };
293
+ };
294
+ readonly decisionAt: {
295
+ readonly description: "Timestamp provided with the decision, if any.";
296
+ readonly type: {
297
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
298
+ };
299
+ };
300
+ readonly description: "The client's decision was discarded because it could not be applied in the current delivery state.";
301
+ readonly name: "PayNote Client Decision Discarded";
302
+ readonly reason: {
303
+ readonly description: "Validation reason for discarding the decision.";
304
+ readonly type: {
305
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
306
+ };
307
+ };
308
+ readonly type: {
309
+ readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
310
+ };
311
+ };
245
312
  readonly DFKVw43E36kimqj64FyiiVxE9yNuB22SETFx5M4WAi9m: {
246
313
  readonly description: "The Guarantor declined the request to issue a Child PayNote.";
247
314
  readonly name: "Child PayNote Issuance Declined";
@@ -276,6 +343,660 @@ export declare const contents: {
276
343
  readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
277
344
  };
278
345
  };
346
+ readonly EGRRGwNnReqfQQhKnML28DWz9MvvC3B5JgbBrCUxrZ3G: {
347
+ readonly description: "The client rejected the PayNote.";
348
+ readonly name: "PayNote Rejected By Client";
349
+ readonly reason: {
350
+ readonly description: "Optional rejection reason.";
351
+ readonly type: {
352
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
353
+ };
354
+ };
355
+ readonly rejectedAt: {
356
+ readonly description: "Timestamp when the client rejected.";
357
+ readonly type: {
358
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
359
+ };
360
+ };
361
+ readonly type: {
362
+ readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
363
+ };
364
+ };
365
+ readonly F55Gk1KTHsAfWVjfP4LH7bB558tJ5DL6FUu4as3g5mY1: {
366
+ readonly cardTransactionDetails: {
367
+ readonly description: "Card network identifiers used to match processor and issuer records.";
368
+ readonly type: {
369
+ readonly blueId: "GZLRe2fEsvs1v7dVcg9kEnCrWEdM3cUZYhFH4XqN5jQT";
370
+ };
371
+ };
372
+ readonly clientAcceptedAt: {
373
+ readonly description: "Timestamp when the client accepted.";
374
+ readonly type: {
375
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
376
+ };
377
+ };
378
+ readonly clientDecisionStatus: {
379
+ readonly description: "Client decision (pending, accepted, rejected).";
380
+ readonly type: {
381
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
382
+ };
383
+ };
384
+ readonly clientRejectedAt: {
385
+ readonly description: "Timestamp when the client rejected.";
386
+ readonly type: {
387
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
388
+ };
389
+ };
390
+ readonly contracts: {
391
+ readonly initialize: {
392
+ readonly channel: {
393
+ readonly type: {
394
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
395
+ };
396
+ readonly value: "initLifecycleChannel";
397
+ };
398
+ readonly steps: {
399
+ readonly items: readonly [{
400
+ readonly changeset: {
401
+ readonly items: readonly [{
402
+ readonly op: {
403
+ readonly type: {
404
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
405
+ };
406
+ readonly value: "replace";
407
+ };
408
+ readonly path: {
409
+ readonly type: {
410
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
411
+ };
412
+ readonly value: "/deliveryStatus";
413
+ };
414
+ readonly val: {
415
+ readonly type: {
416
+ readonly blueId: "ETAPjwZVyYEfPUWvXkCWAuybBhYUayg4hKC2V7mLXmsv";
417
+ };
418
+ };
419
+ }, {
420
+ readonly op: {
421
+ readonly type: {
422
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
423
+ };
424
+ readonly value: "replace";
425
+ };
426
+ readonly path: {
427
+ readonly type: {
428
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
429
+ };
430
+ readonly value: "/transactionIdentificationStatus";
431
+ };
432
+ readonly val: {
433
+ readonly type: {
434
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
435
+ };
436
+ readonly value: "pending";
437
+ };
438
+ }, {
439
+ readonly op: {
440
+ readonly type: {
441
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
442
+ };
443
+ readonly value: "replace";
444
+ };
445
+ readonly path: {
446
+ readonly type: {
447
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
448
+ };
449
+ readonly value: "/clientDecisionStatus";
450
+ };
451
+ readonly val: {
452
+ readonly type: {
453
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
454
+ };
455
+ readonly value: "pending";
456
+ };
457
+ }, {
458
+ readonly op: {
459
+ readonly type: {
460
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
461
+ };
462
+ readonly value: "replace";
463
+ };
464
+ readonly path: {
465
+ readonly type: {
466
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
467
+ };
468
+ readonly value: "/deliveryError";
469
+ };
470
+ readonly val: {
471
+ readonly type: {
472
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
473
+ };
474
+ readonly value: "";
475
+ };
476
+ }];
477
+ };
478
+ readonly name: "Initialize Delivery State";
479
+ readonly type: {
480
+ readonly blueId: "BnnNLCnKF49TUJ1bRfZ5rSMaFw8SVfUNfnE4kJFG7HtM";
481
+ };
482
+ }];
483
+ };
484
+ readonly type: {
485
+ readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
486
+ };
487
+ };
488
+ readonly initLifecycleChannel: {
489
+ readonly event: {
490
+ readonly type: {
491
+ readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
492
+ };
493
+ };
494
+ readonly type: {
495
+ readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
496
+ };
497
+ };
498
+ readonly markPayNoteAcceptedByClient: {
499
+ readonly channel: {
500
+ readonly type: {
501
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
502
+ };
503
+ readonly value: "payNoteDeliverer";
504
+ };
505
+ readonly request: {
506
+ readonly acceptedAt: {
507
+ readonly description: "Timestamp when the client accepted.";
508
+ readonly type: {
509
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
510
+ };
511
+ };
512
+ };
513
+ readonly type: {
514
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
515
+ };
516
+ };
517
+ readonly markPayNoteAcceptedByClientImpl: {
518
+ readonly operation: {
519
+ readonly type: {
520
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
521
+ };
522
+ readonly value: "markPayNoteAcceptedByClient";
523
+ };
524
+ readonly steps: {
525
+ readonly items: readonly [{
526
+ readonly code: {
527
+ readonly type: {
528
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
529
+ };
530
+ readonly value: "const request =\n event && event.message ? event.message.request : null;\nconst acceptedAt =\n request && typeof request.acceptedAt === \"string\"\n ? request.acceptedAt\n : \"\";\nconst currentDecisionStatus = document('/clientDecisionStatus');\nconst alreadyAccepted = currentDecisionStatus === \"accepted\";\nconst alreadyRejected = currentDecisionStatus === \"rejected\";\nconst alreadyDecided = alreadyAccepted || alreadyRejected;\nconst transactionStatus = document('/transactionIdentificationStatus');\nconst canAccept =\n transactionStatus === \"identified\" &&\n currentDecisionStatus === \"pending\";\nconst discardReason = canAccept\n ? \"\"\n : alreadyDecided\n ? `PayNote already ${currentDecisionStatus}`\n : transactionStatus === \"failed\"\n ? \"Transaction identification failed\"\n : \"Transaction not identified\";\nconst currentAcceptedAt = document('/clientAcceptedAt');\nconst currentDeliveryStatus =\n document.canonical('/deliveryStatus') || {\n type: \"Conversation/Status Pending\"\n };\nconst currentDeliveryError = document('/deliveryError');\n\nconst nextDecisionStatus = canAccept\n ? \"accepted\"\n : typeof currentDecisionStatus === \"string\"\n ? currentDecisionStatus\n : \"pending\";\nconst nextAcceptedAt = canAccept\n ? acceptedAt\n : typeof currentAcceptedAt === \"string\"\n ? currentAcceptedAt\n : \"\";\nconst nextDeliveryStatus = canAccept\n ? { type: \"Conversation/Status Completed\" }\n : currentDeliveryStatus;\nconst nextDeliveryError = canAccept\n ? \"\"\n : typeof currentDeliveryError === \"string\"\n ? currentDeliveryError\n : \"\";\n\nreturn {\n acceptedAt,\n nextDecisionStatus,\n nextAcceptedAt,\n nextDeliveryStatus,\n nextDeliveryError,\n events: canAccept\n ? [\n {\n type: \"PayNote/PayNote Accepted By Client\",\n acceptedAt\n }\n ]\n : [\n {\n type: \"PayNote/PayNote Client Decision Discarded\",\n decision: \"accepted\",\n reason: discardReason,\n decisionAt: acceptedAt\n }\n ]\n};\n";
531
+ };
532
+ readonly name: "Capture Acceptance Timestamp";
533
+ readonly type: {
534
+ readonly blueId: "3hYcmWMtMUPAzXBLFLb7BpuG9537tuTJPCr7pxWXvTZK";
535
+ };
536
+ }, {
537
+ readonly changeset: {
538
+ readonly items: readonly [{
539
+ readonly op: {
540
+ readonly type: {
541
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
542
+ };
543
+ readonly value: "replace";
544
+ };
545
+ readonly path: {
546
+ readonly type: {
547
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
548
+ };
549
+ readonly value: "/clientDecisionStatus";
550
+ };
551
+ readonly val: {
552
+ readonly type: {
553
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
554
+ };
555
+ readonly value: "${steps['Capture Acceptance Timestamp'].nextDecisionStatus}";
556
+ };
557
+ }, {
558
+ readonly op: {
559
+ readonly type: {
560
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
561
+ };
562
+ readonly value: "replace";
563
+ };
564
+ readonly path: {
565
+ readonly type: {
566
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
567
+ };
568
+ readonly value: "/clientAcceptedAt";
569
+ };
570
+ readonly val: {
571
+ readonly type: {
572
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
573
+ };
574
+ readonly value: "${steps['Capture Acceptance Timestamp'].nextAcceptedAt}";
575
+ };
576
+ }, {
577
+ readonly op: {
578
+ readonly type: {
579
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
580
+ };
581
+ readonly value: "replace";
582
+ };
583
+ readonly path: {
584
+ readonly type: {
585
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
586
+ };
587
+ readonly value: "/deliveryStatus";
588
+ };
589
+ readonly val: {
590
+ readonly type: {
591
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
592
+ };
593
+ readonly value: "${steps['Capture Acceptance Timestamp'].nextDeliveryStatus}";
594
+ };
595
+ }, {
596
+ readonly op: {
597
+ readonly type: {
598
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
599
+ };
600
+ readonly value: "replace";
601
+ };
602
+ readonly path: {
603
+ readonly type: {
604
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
605
+ };
606
+ readonly value: "/deliveryError";
607
+ };
608
+ readonly val: {
609
+ readonly type: {
610
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
611
+ };
612
+ readonly value: "${steps['Capture Acceptance Timestamp'].nextDeliveryError}";
613
+ };
614
+ }];
615
+ };
616
+ readonly name: "Apply Acceptance Update";
617
+ readonly type: {
618
+ readonly blueId: "BnnNLCnKF49TUJ1bRfZ5rSMaFw8SVfUNfnE4kJFG7HtM";
619
+ };
620
+ }];
621
+ };
622
+ readonly type: {
623
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
624
+ };
625
+ };
626
+ readonly markPayNoteRejectedByClient: {
627
+ readonly channel: {
628
+ readonly type: {
629
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
630
+ };
631
+ readonly value: "payNoteDeliverer";
632
+ };
633
+ readonly request: {
634
+ readonly reason: {
635
+ readonly description: "Optional rejection reason.";
636
+ readonly type: {
637
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
638
+ };
639
+ };
640
+ readonly rejectedAt: {
641
+ readonly description: "Timestamp when the client rejected.";
642
+ readonly type: {
643
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
644
+ };
645
+ };
646
+ };
647
+ readonly type: {
648
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
649
+ };
650
+ };
651
+ readonly markPayNoteRejectedByClientImpl: {
652
+ readonly operation: {
653
+ readonly type: {
654
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
655
+ };
656
+ readonly value: "markPayNoteRejectedByClient";
657
+ };
658
+ readonly steps: {
659
+ readonly items: readonly [{
660
+ readonly code: {
661
+ readonly type: {
662
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
663
+ };
664
+ readonly value: "const request =\n event && event.message ? event.message.request : null;\nconst safeReason =\n typeof request === \"string\"\n ? request\n : request && typeof request.reason === \"string\"\n ? request.reason\n : \"\";\nconst rejectedAt =\n request && typeof request.rejectedAt === \"string\"\n ? request.rejectedAt\n : \"\";\nconst currentDecisionStatus = document('/clientDecisionStatus');\nconst alreadyAccepted = currentDecisionStatus === \"accepted\";\nconst alreadyRejected = currentDecisionStatus === \"rejected\";\nconst alreadyDecided = alreadyAccepted || alreadyRejected;\nconst transactionStatus = document('/transactionIdentificationStatus');\nconst canReject =\n transactionStatus === \"identified\" &&\n currentDecisionStatus === \"pending\";\nconst discardReason = canReject\n ? \"\"\n : alreadyDecided\n ? `PayNote already ${currentDecisionStatus}`\n : transactionStatus === \"failed\"\n ? \"Transaction identification failed\"\n : \"Transaction not identified\";\n\nconst currentRejectedAt = document('/clientRejectedAt');\nconst currentDeliveryStatus =\n document.canonical('/deliveryStatus') || {\n type: \"Conversation/Status Pending\"\n };\nconst currentDeliveryError = document('/deliveryError');\n\nconst nextDecisionStatus = canReject\n ? \"rejected\"\n : typeof currentDecisionStatus === \"string\"\n ? currentDecisionStatus\n : \"pending\";\nconst nextRejectedAt = canReject\n ? rejectedAt\n : typeof currentRejectedAt === \"string\"\n ? currentRejectedAt\n : \"\";\nconst nextDeliveryStatus = canReject\n ? { type: \"Conversation/Status Failed\" }\n : currentDeliveryStatus;\nconst nextDeliveryError = canReject\n ? safeReason\n : typeof currentDeliveryError === \"string\"\n ? currentDeliveryError\n : \"\";\n\nreturn {\n reason: safeReason,\n rejectedAt,\n nextDecisionStatus,\n nextRejectedAt,\n nextDeliveryStatus,\n nextDeliveryError,\n events: canReject\n ? [\n {\n type: \"PayNote/PayNote Rejected By Client\",\n reason: safeReason,\n rejectedAt\n }\n ]\n : [\n {\n type: \"PayNote/PayNote Client Decision Discarded\",\n decision: \"rejected\",\n reason: discardReason,\n decisionAt: rejectedAt\n }\n ]\n};\n";
665
+ };
666
+ readonly name: "Capture Rejection Reason";
667
+ readonly type: {
668
+ readonly blueId: "3hYcmWMtMUPAzXBLFLb7BpuG9537tuTJPCr7pxWXvTZK";
669
+ };
670
+ }, {
671
+ readonly changeset: {
672
+ readonly items: readonly [{
673
+ readonly op: {
674
+ readonly type: {
675
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
676
+ };
677
+ readonly value: "replace";
678
+ };
679
+ readonly path: {
680
+ readonly type: {
681
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
682
+ };
683
+ readonly value: "/clientDecisionStatus";
684
+ };
685
+ readonly val: {
686
+ readonly type: {
687
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
688
+ };
689
+ readonly value: "${steps['Capture Rejection Reason'].nextDecisionStatus}";
690
+ };
691
+ }, {
692
+ readonly op: {
693
+ readonly type: {
694
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
695
+ };
696
+ readonly value: "replace";
697
+ };
698
+ readonly path: {
699
+ readonly type: {
700
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
701
+ };
702
+ readonly value: "/clientRejectedAt";
703
+ };
704
+ readonly val: {
705
+ readonly type: {
706
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
707
+ };
708
+ readonly value: "${steps['Capture Rejection Reason'].nextRejectedAt}";
709
+ };
710
+ }, {
711
+ readonly op: {
712
+ readonly type: {
713
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
714
+ };
715
+ readonly value: "replace";
716
+ };
717
+ readonly path: {
718
+ readonly type: {
719
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
720
+ };
721
+ readonly value: "/deliveryStatus";
722
+ };
723
+ readonly val: {
724
+ readonly type: {
725
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
726
+ };
727
+ readonly value: "${steps['Capture Rejection Reason'].nextDeliveryStatus}";
728
+ };
729
+ }, {
730
+ readonly op: {
731
+ readonly type: {
732
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
733
+ };
734
+ readonly value: "replace";
735
+ };
736
+ readonly path: {
737
+ readonly type: {
738
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
739
+ };
740
+ readonly value: "/deliveryError";
741
+ };
742
+ readonly val: {
743
+ readonly type: {
744
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
745
+ };
746
+ readonly value: "${steps['Capture Rejection Reason'].nextDeliveryError}";
747
+ };
748
+ }];
749
+ };
750
+ readonly name: "Apply Rejection Update";
751
+ readonly type: {
752
+ readonly blueId: "BnnNLCnKF49TUJ1bRfZ5rSMaFw8SVfUNfnE4kJFG7HtM";
753
+ };
754
+ }];
755
+ };
756
+ readonly type: {
757
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
758
+ };
759
+ };
760
+ readonly payNoteDeliverer: {
761
+ readonly description: "Participant delivering and reporting status (e.g., bank).";
762
+ readonly type: {
763
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
764
+ };
765
+ };
766
+ readonly payNoteReceiver: {
767
+ readonly description: "Participant receiving the PayNote delivery (payer).";
768
+ readonly type: {
769
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
770
+ };
771
+ };
772
+ readonly payNoteSender: {
773
+ readonly description: "Participant submitting the PayNote delivery (merchant or processor).";
774
+ readonly type: {
775
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
776
+ };
777
+ };
778
+ readonly reportDeliveryError: {
779
+ readonly channel: {
780
+ readonly type: {
781
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
782
+ };
783
+ readonly value: "payNoteDeliverer";
784
+ };
785
+ readonly request: {
786
+ readonly description: "Delivery error reason.";
787
+ readonly type: {
788
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
789
+ };
790
+ };
791
+ readonly type: {
792
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
793
+ };
794
+ };
795
+ readonly reportDeliveryErrorImpl: {
796
+ readonly operation: {
797
+ readonly type: {
798
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
799
+ };
800
+ readonly value: "reportDeliveryError";
801
+ };
802
+ readonly steps: {
803
+ readonly items: readonly [{
804
+ readonly code: {
805
+ readonly type: {
806
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
807
+ };
808
+ readonly value: "const reason =\n event && event.message ? event.message.request : \"\";\nconst safeReason = typeof reason === \"string\" ? reason : \"\";\n\nreturn {\n reason: safeReason,\n events: [\n {\n type: \"PayNote/PayNote Delivery Failed\",\n reason: safeReason\n }\n ]\n};\n";
809
+ };
810
+ readonly name: "Capture Delivery Failure Reason";
811
+ readonly type: {
812
+ readonly blueId: "3hYcmWMtMUPAzXBLFLb7BpuG9537tuTJPCr7pxWXvTZK";
813
+ };
814
+ }, {
815
+ readonly changeset: {
816
+ readonly items: readonly [{
817
+ readonly op: {
818
+ readonly type: {
819
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
820
+ };
821
+ readonly value: "replace";
822
+ };
823
+ readonly path: {
824
+ readonly type: {
825
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
826
+ };
827
+ readonly value: "/deliveryStatus";
828
+ };
829
+ readonly val: {
830
+ readonly type: {
831
+ readonly blueId: "Guus3kHbivXvy5G93yhiKs3Pc8sxCc4XVvSo7CqLsQEc";
832
+ };
833
+ };
834
+ }, {
835
+ readonly op: {
836
+ readonly type: {
837
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
838
+ };
839
+ readonly value: "replace";
840
+ };
841
+ readonly path: {
842
+ readonly type: {
843
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
844
+ };
845
+ readonly value: "/deliveryError";
846
+ };
847
+ readonly val: {
848
+ readonly type: {
849
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
850
+ };
851
+ readonly value: "${steps['Capture Delivery Failure Reason'].reason}";
852
+ };
853
+ }];
854
+ };
855
+ readonly name: "Apply Delivery Failure";
856
+ readonly type: {
857
+ readonly blueId: "BnnNLCnKF49TUJ1bRfZ5rSMaFw8SVfUNfnE4kJFG7HtM";
858
+ };
859
+ }];
860
+ };
861
+ readonly type: {
862
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
863
+ };
864
+ };
865
+ readonly updateTransactionIdentificationStatus: {
866
+ readonly channel: {
867
+ readonly type: {
868
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
869
+ };
870
+ readonly value: "payNoteDeliverer";
871
+ };
872
+ readonly request: {
873
+ readonly description: "True when the transaction is identified.";
874
+ readonly type: {
875
+ readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
876
+ };
877
+ };
878
+ readonly type: {
879
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
880
+ };
881
+ };
882
+ readonly updateTransactionIdentificationStatusImpl: {
883
+ readonly operation: {
884
+ readonly type: {
885
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
886
+ };
887
+ readonly value: "updateTransactionIdentificationStatus";
888
+ };
889
+ readonly steps: {
890
+ readonly items: readonly [{
891
+ readonly code: {
892
+ readonly type: {
893
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
894
+ };
895
+ readonly value: "const request =\n event && event.message ? event.message.request : null;\nconst identified = request === true;\nconst currentStatus = document('/transactionIdentificationStatus');\nconst canUpdate =\n currentStatus !== \"identified\" && currentStatus !== \"failed\";\nconst identificationStatus = canUpdate\n ? identified\n ? \"identified\"\n : \"failed\"\n : currentStatus;\nconst currentDeliveryStatus =\n document.canonical('/deliveryStatus') || {\n type: \"Conversation/Status Pending\"\n };\nconst deliveryStatus = canUpdate\n ? identified\n ? { type: \"Conversation/Status In Progress\" }\n : { type: \"Conversation/Status Failed\" }\n : currentDeliveryStatus;\nconst currentDeliveryError = document('/deliveryError');\nconst deliveryError = canUpdate\n ? identified\n ? \"\"\n : \"Transaction identification failed\"\n : typeof currentDeliveryError === \"string\"\n ? currentDeliveryError\n : \"\";\nconst eventType = identified\n ? \"PayNote/Transaction Identified\"\n : \"PayNote/Transaction Identification Failed\";\n\nreturn {\n identificationStatus,\n deliveryStatus,\n deliveryError,\n events: canUpdate ? [{ type: eventType }] : []\n};\n";
896
+ };
897
+ readonly name: "Classify Identification Result";
898
+ readonly type: {
899
+ readonly blueId: "3hYcmWMtMUPAzXBLFLb7BpuG9537tuTJPCr7pxWXvTZK";
900
+ };
901
+ }, {
902
+ readonly changeset: {
903
+ readonly items: readonly [{
904
+ readonly op: {
905
+ readonly type: {
906
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
907
+ };
908
+ readonly value: "replace";
909
+ };
910
+ readonly path: {
911
+ readonly type: {
912
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
913
+ };
914
+ readonly value: "/transactionIdentificationStatus";
915
+ };
916
+ readonly val: {
917
+ readonly type: {
918
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
919
+ };
920
+ readonly value: "${steps['Classify Identification Result'].identificationStatus}";
921
+ };
922
+ }, {
923
+ readonly op: {
924
+ readonly type: {
925
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
926
+ };
927
+ readonly value: "replace";
928
+ };
929
+ readonly path: {
930
+ readonly type: {
931
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
932
+ };
933
+ readonly value: "/deliveryStatus";
934
+ };
935
+ readonly val: {
936
+ readonly type: {
937
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
938
+ };
939
+ readonly value: "${steps['Classify Identification Result'].deliveryStatus}";
940
+ };
941
+ }, {
942
+ readonly op: {
943
+ readonly type: {
944
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
945
+ };
946
+ readonly value: "replace";
947
+ };
948
+ readonly path: {
949
+ readonly type: {
950
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
951
+ };
952
+ readonly value: "/deliveryError";
953
+ };
954
+ readonly val: {
955
+ readonly type: {
956
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
957
+ };
958
+ readonly value: "${steps['Classify Identification Result'].deliveryError}";
959
+ };
960
+ }];
961
+ };
962
+ readonly name: "Apply Identification Update";
963
+ readonly type: {
964
+ readonly blueId: "BnnNLCnKF49TUJ1bRfZ5rSMaFw8SVfUNfnE4kJFG7HtM";
965
+ };
966
+ }];
967
+ };
968
+ readonly type: {
969
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
970
+ };
971
+ };
972
+ };
973
+ readonly deliveryError: {
974
+ readonly description: "Error message when delivery fails.";
975
+ readonly type: {
976
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
977
+ };
978
+ };
979
+ readonly deliveryStatus: {
980
+ readonly description: "High-level delivery status.";
981
+ readonly type: {
982
+ readonly blueId: "58B8orsFkxxy7bWqjLXJmtBs2b5rwnNQNbeoAbGhPkJc";
983
+ };
984
+ };
985
+ readonly description: "Tracks delivery of a PayNote through a deliverer (e.g., bank) to a receiver (payer).";
986
+ readonly name: "PayNote Delivery";
987
+ readonly payNote: {
988
+ readonly description: "PayNote being delivered.";
989
+ readonly type: {
990
+ readonly blueId: "CDMVLRyodD2WhScu2PPRgGquEArMNGXxvZCYiJXg2YjT";
991
+ };
992
+ };
993
+ readonly transactionIdentificationStatus: {
994
+ readonly description: "Identification state (pending, identified, failed).";
995
+ readonly type: {
996
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
997
+ };
998
+ };
999
+ };
279
1000
  readonly FAZCx2s5eq9zPV64LdHNFYbjjxD3ci1ZqyTcQk5WhXAs: {
280
1001
  readonly childPayNote: {
281
1002
  readonly description: "Content of the issued PayNote";
@@ -322,6 +1043,19 @@ export declare const contents: {
322
1043
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
323
1044
  };
324
1045
  };
1046
+ readonly GtFG4Nt2fAamUZi9fSZNotab3BEUuv236LuPAcErVj5y: {
1047
+ readonly description: "Delivery failed for a non-identification reason.";
1048
+ readonly name: "PayNote Delivery Failed";
1049
+ readonly reason: {
1050
+ readonly description: "Failure reason.";
1051
+ readonly type: {
1052
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1053
+ };
1054
+ };
1055
+ readonly type: {
1056
+ readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
1057
+ };
1058
+ };
325
1059
  readonly GU8nkSnUuMs6632rHQyBndRtjDcMB9ZSbgwkGYcfGt97: {
326
1060
  readonly amount: {
327
1061
  readonly type: {
@@ -334,6 +1068,47 @@ export declare const contents: {
334
1068
  readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
335
1069
  };
336
1070
  };
1071
+ readonly GvFQ71MZS1CrHvSopnTkSz8DBX2is4meMR5tpF5WmwCC: {
1072
+ readonly description: "The deliverer could not identify the card transaction.";
1073
+ readonly name: "Transaction Identification Failed";
1074
+ readonly reason: {
1075
+ readonly description: "Optional failure reason.";
1076
+ readonly type: {
1077
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1078
+ };
1079
+ };
1080
+ readonly type: {
1081
+ readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
1082
+ };
1083
+ };
1084
+ readonly GZLRe2fEsvs1v7dVcg9kEnCrWEdM3cUZYhFH4XqN5jQT: {
1085
+ readonly authorizationCode: {
1086
+ readonly description: "ISO 8583 DE38 Authorization Identification Response (authorization code).";
1087
+ readonly type: {
1088
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1089
+ };
1090
+ };
1091
+ readonly description: "Card network identifiers used by processor and issuer to match the same transaction (ISO 8583).";
1092
+ readonly name: "Card Transaction Details";
1093
+ readonly retrievalReferenceNumber: {
1094
+ readonly description: "ISO 8583 DE37 Retrieval Reference Number (RRN) for cross-network traceability.";
1095
+ readonly type: {
1096
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1097
+ };
1098
+ };
1099
+ readonly systemTraceAuditNumber: {
1100
+ readonly description: "ISO 8583 DE11 System Trace Audit Number (STAN).";
1101
+ readonly type: {
1102
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1103
+ };
1104
+ };
1105
+ readonly transmissionDateTime: {
1106
+ readonly description: "ISO 8583 DE7 Transmission Date and Time (MMDDhhmmss).";
1107
+ readonly type: {
1108
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1109
+ };
1110
+ };
1111
+ };
337
1112
  readonly HQTUxErobqhSuhWo9DAC1WwaG9oYdjfmdKprGtV4TeEK: {
338
1113
  readonly description: "The Guarantor confirms the PayNote is valid and ready for further action.";
339
1114
  readonly name: "PayNote Approved";