@blue-repository/types 0.15.0 → 0.17.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 (247) hide show
  1. package/README.md +1 -1
  2. package/dist/meta.d.ts +2 -2
  3. package/dist/meta.d.ts.map +1 -1
  4. package/dist/meta.js +2 -0
  5. package/dist/meta.js.map +1 -1
  6. package/dist/packages/conversation/blue-ids.d.ts +3 -2
  7. package/dist/packages/conversation/blue-ids.d.ts.map +1 -1
  8. package/dist/packages/conversation/blue-ids.js +3 -2
  9. package/dist/packages/conversation/blue-ids.js.map +1 -1
  10. package/dist/packages/conversation/contents/CustomerActionRequested.d.ts +11 -17
  11. package/dist/packages/conversation/contents/CustomerActionRequested.d.ts.map +1 -1
  12. package/dist/packages/conversation/contents/CustomerActionRequested.js +11 -17
  13. package/dist/packages/conversation/contents/CustomerActionRequested.js.map +1 -1
  14. package/dist/packages/conversation/contents/CustomerActionResponded.d.ts +23 -0
  15. package/dist/packages/conversation/contents/CustomerActionResponded.d.ts.map +1 -0
  16. package/dist/packages/conversation/contents/CustomerActionResponded.js +23 -0
  17. package/dist/packages/conversation/contents/CustomerActionResponded.js.map +1 -0
  18. package/dist/packages/conversation/contents/CustomerConsent.d.ts +0 -1
  19. package/dist/packages/conversation/contents/CustomerConsent.d.ts.map +1 -1
  20. package/dist/packages/conversation/contents/CustomerConsent.js +0 -1
  21. package/dist/packages/conversation/contents/CustomerConsent.js.map +1 -1
  22. package/dist/packages/conversation/contents/index.d.ts +87 -71
  23. package/dist/packages/conversation/contents/index.d.ts.map +1 -1
  24. package/dist/packages/conversation/contents/index.js +9 -6
  25. package/dist/packages/conversation/contents/index.js.map +1 -1
  26. package/dist/packages/conversation/index.d.ts +153 -95
  27. package/dist/packages/conversation/index.d.ts.map +1 -1
  28. package/dist/packages/conversation/meta.d.ts +18 -8
  29. package/dist/packages/conversation/meta.d.ts.map +1 -1
  30. package/dist/packages/conversation/meta.js +17 -6
  31. package/dist/packages/conversation/meta.js.map +1 -1
  32. package/dist/packages/conversation/schemas/CustomerActionRequested.d.ts +9 -12
  33. package/dist/packages/conversation/schemas/CustomerActionRequested.d.ts.map +1 -1
  34. package/dist/packages/conversation/schemas/CustomerActionRequested.js +4 -5
  35. package/dist/packages/conversation/schemas/CustomerActionRequested.js.map +1 -1
  36. package/dist/packages/conversation/schemas/CustomerActionResponded.d.ts +39 -0
  37. package/dist/packages/conversation/schemas/CustomerActionResponded.d.ts.map +1 -0
  38. package/dist/packages/conversation/schemas/CustomerActionResponded.js +13 -0
  39. package/dist/packages/conversation/schemas/CustomerActionResponded.js.map +1 -0
  40. package/dist/packages/conversation/schemas/DocumentBootstrapFailed.d.ts +2 -2
  41. package/dist/packages/conversation/schemas/DocumentBootstrapResponded.d.ts +2 -2
  42. package/dist/packages/conversation/schemas/index.d.ts +52 -18
  43. package/dist/packages/conversation/schemas/index.d.ts.map +1 -1
  44. package/dist/packages/conversation/schemas/index.js +5 -2
  45. package/dist/packages/conversation/schemas/index.js.map +1 -1
  46. package/dist/packages/myos/index.d.ts +18 -18
  47. package/dist/packages/myos/schemas/CallOperationFailed.d.ts +2 -2
  48. package/dist/packages/myos/schemas/LinkedDocumentsPermissionRejected.d.ts +2 -2
  49. package/dist/packages/myos/schemas/LinkedDocumentsPermissionRevoked.d.ts +2 -2
  50. package/dist/packages/myos/schemas/LinkedDocumentsPermissionRevokingInProgress.d.ts +2 -2
  51. package/dist/packages/myos/schemas/SingleDocumentPermissionGrantResponded.d.ts +2 -2
  52. package/dist/packages/myos/schemas/SingleDocumentPermissionRejected.d.ts +2 -2
  53. package/dist/packages/myos/schemas/SubscriptionToSessionFailed.d.ts +2 -2
  54. package/dist/packages/myos/schemas/SubscriptionToSessionRevoked.d.ts +2 -2
  55. package/dist/packages/myos/schemas/WorkerAgencyPermissionRejected.d.ts +2 -2
  56. package/dist/packages/myos/schemas/index.d.ts +18 -18
  57. package/dist/packages/paynote/blue-ids.d.ts +22 -5
  58. package/dist/packages/paynote/blue-ids.d.ts.map +1 -1
  59. package/dist/packages/paynote/blue-ids.js +22 -5
  60. package/dist/packages/paynote/blue-ids.js.map +1 -1
  61. package/dist/packages/paynote/contents/CardChargeCompleted.d.ts +32 -0
  62. package/dist/packages/paynote/contents/CardChargeCompleted.d.ts.map +1 -0
  63. package/dist/packages/paynote/contents/CardChargeCompleted.js +32 -0
  64. package/dist/packages/paynote/contents/CardChargeCompleted.js.map +1 -0
  65. package/dist/packages/paynote/contents/CardChargeResponded.d.ts +26 -0
  66. package/dist/packages/paynote/contents/CardChargeResponded.d.ts.map +1 -0
  67. package/dist/packages/paynote/contents/CardChargeResponded.js +26 -0
  68. package/dist/packages/paynote/contents/CardChargeResponded.js.map +1 -0
  69. package/dist/packages/paynote/contents/CardTransactionPayNote.d.ts +1 -1
  70. package/dist/packages/paynote/contents/CardTransactionPayNote.js +1 -1
  71. package/dist/packages/paynote/contents/CardTransactionReport.d.ts +6 -0
  72. package/dist/packages/paynote/contents/CardTransactionReport.d.ts.map +1 -1
  73. package/dist/packages/paynote/contents/CardTransactionReport.js +6 -0
  74. package/dist/packages/paynote/contents/CardTransactionReport.js.map +1 -1
  75. package/dist/packages/paynote/contents/LinkedCardChargeAndCaptureImmediatelyRequested.d.ts +23 -0
  76. package/dist/packages/paynote/contents/LinkedCardChargeAndCaptureImmediatelyRequested.d.ts.map +1 -0
  77. package/dist/packages/paynote/contents/LinkedCardChargeAndCaptureImmediatelyRequested.js +23 -0
  78. package/dist/packages/paynote/contents/LinkedCardChargeAndCaptureImmediatelyRequested.js.map +1 -0
  79. package/dist/packages/paynote/contents/LinkedCardChargeRequested.d.ts +23 -0
  80. package/dist/packages/paynote/contents/LinkedCardChargeRequested.d.ts.map +1 -0
  81. package/dist/packages/paynote/contents/LinkedCardChargeRequested.js +23 -0
  82. package/dist/packages/paynote/contents/LinkedCardChargeRequested.js.map +1 -0
  83. package/dist/packages/paynote/contents/LinkedPayNoteStartFailed.d.ts +14 -0
  84. package/dist/packages/paynote/contents/LinkedPayNoteStartFailed.d.ts.map +1 -0
  85. package/dist/packages/paynote/contents/LinkedPayNoteStartFailed.js +14 -0
  86. package/dist/packages/paynote/contents/LinkedPayNoteStartFailed.js.map +1 -0
  87. package/dist/packages/paynote/contents/LinkedPayNoteStartResponded.d.ts +20 -0
  88. package/dist/packages/paynote/contents/LinkedPayNoteStartResponded.d.ts.map +1 -0
  89. package/dist/packages/paynote/contents/LinkedPayNoteStartResponded.js +20 -0
  90. package/dist/packages/paynote/contents/LinkedPayNoteStartResponded.js.map +1 -0
  91. package/dist/packages/paynote/contents/LinkedPayNoteStarted.d.ts +20 -0
  92. package/dist/packages/paynote/contents/LinkedPayNoteStarted.d.ts.map +1 -0
  93. package/dist/packages/paynote/contents/LinkedPayNoteStarted.js +20 -0
  94. package/dist/packages/paynote/contents/LinkedPayNoteStarted.js.map +1 -0
  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/PayNote.d.ts +0 -3
  98. package/dist/packages/paynote/contents/PayNote.d.ts.map +1 -1
  99. package/dist/packages/paynote/contents/PayNote.js +0 -3
  100. package/dist/packages/paynote/contents/PayNote.js.map +1 -1
  101. package/dist/packages/paynote/contents/PayNoteDelivery.d.ts +12 -1
  102. package/dist/packages/paynote/contents/PayNoteDelivery.d.ts.map +1 -1
  103. package/dist/packages/paynote/contents/PayNoteDelivery.js +12 -1
  104. package/dist/packages/paynote/contents/PayNoteDelivery.js.map +1 -1
  105. package/dist/packages/paynote/contents/PaymentMandate.d.ts +390 -0
  106. package/dist/packages/paynote/contents/PaymentMandate.d.ts.map +1 -0
  107. package/dist/packages/paynote/contents/PaymentMandate.js +407 -0
  108. package/dist/packages/paynote/contents/PaymentMandate.js.map +1 -0
  109. package/dist/packages/paynote/contents/PaymentMandateAttached.d.ts +14 -0
  110. package/dist/packages/paynote/contents/PaymentMandateAttached.d.ts.map +1 -0
  111. package/dist/packages/paynote/contents/PaymentMandateAttached.js +14 -0
  112. package/dist/packages/paynote/contents/PaymentMandateAttached.js.map +1 -0
  113. package/dist/packages/paynote/contents/PaymentMandateAttachmentFailed.d.ts +14 -0
  114. package/dist/packages/paynote/contents/PaymentMandateAttachmentFailed.d.ts.map +1 -0
  115. package/dist/packages/paynote/contents/PaymentMandateAttachmentFailed.js +14 -0
  116. package/dist/packages/paynote/contents/PaymentMandateAttachmentFailed.js.map +1 -0
  117. package/dist/packages/paynote/contents/PaymentMandateChargeAttemptState.d.ts +113 -0
  118. package/dist/packages/paynote/contents/PaymentMandateChargeAttemptState.d.ts.map +1 -0
  119. package/dist/packages/paynote/contents/PaymentMandateChargeAttemptState.js +113 -0
  120. package/dist/packages/paynote/contents/PaymentMandateChargeAttemptState.js.map +1 -0
  121. package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationRequested.d.ts +62 -0
  122. package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationRequested.d.ts.map +1 -0
  123. package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationRequested.js +62 -0
  124. package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationRequested.js.map +1 -0
  125. package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationResponded.d.ts +38 -0
  126. package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationResponded.d.ts.map +1 -0
  127. package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationResponded.js +38 -0
  128. package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationResponded.js.map +1 -0
  129. package/dist/packages/paynote/contents/PaymentMandateSpendSettled.d.ts +56 -0
  130. package/dist/packages/paynote/contents/PaymentMandateSpendSettled.d.ts.map +1 -0
  131. package/dist/packages/paynote/contents/PaymentMandateSpendSettled.js +56 -0
  132. package/dist/packages/paynote/contents/PaymentMandateSpendSettled.js.map +1 -0
  133. package/dist/packages/paynote/contents/PaymentMandateSpendSettlementResponded.d.ts +44 -0
  134. package/dist/packages/paynote/contents/PaymentMandateSpendSettlementResponded.d.ts.map +1 -0
  135. package/dist/packages/paynote/contents/PaymentMandateSpendSettlementResponded.js +44 -0
  136. package/dist/packages/paynote/contents/PaymentMandateSpendSettlementResponded.js.map +1 -0
  137. package/dist/packages/paynote/contents/ReverseCardChargeAndCaptureImmediatelyRequested.d.ts +23 -0
  138. package/dist/packages/paynote/contents/ReverseCardChargeAndCaptureImmediatelyRequested.d.ts.map +1 -0
  139. package/dist/packages/paynote/contents/ReverseCardChargeAndCaptureImmediatelyRequested.js +23 -0
  140. package/dist/packages/paynote/contents/ReverseCardChargeAndCaptureImmediatelyRequested.js.map +1 -0
  141. package/dist/packages/paynote/contents/ReverseCardChargeRequested.d.ts +23 -0
  142. package/dist/packages/paynote/contents/ReverseCardChargeRequested.d.ts.map +1 -0
  143. package/dist/packages/paynote/contents/ReverseCardChargeRequested.js +23 -0
  144. package/dist/packages/paynote/contents/ReverseCardChargeRequested.js.map +1 -0
  145. package/dist/packages/paynote/contents/index.d.ts +1412 -463
  146. package/dist/packages/paynote/contents/index.d.ts.map +1 -1
  147. package/dist/packages/paynote/contents/index.js +64 -13
  148. package/dist/packages/paynote/contents/index.js.map +1 -1
  149. package/dist/packages/paynote/index.d.ts +3882 -1198
  150. package/dist/packages/paynote/index.d.ts.map +1 -1
  151. package/dist/packages/paynote/meta.d.ts +190 -20
  152. package/dist/packages/paynote/meta.d.ts.map +1 -1
  153. package/dist/packages/paynote/meta.js +202 -15
  154. package/dist/packages/paynote/meta.js.map +1 -1
  155. package/dist/packages/paynote/schemas/CaptureDeclined.d.ts +2 -2
  156. package/dist/packages/paynote/schemas/CaptureFailed.d.ts +2 -2
  157. package/dist/packages/paynote/schemas/CardChargeCompleted.d.ts +34 -0
  158. package/dist/packages/paynote/schemas/CardChargeCompleted.d.ts.map +1 -0
  159. package/dist/packages/paynote/schemas/CardChargeCompleted.js +13 -0
  160. package/dist/packages/paynote/schemas/CardChargeCompleted.js.map +1 -0
  161. package/dist/packages/paynote/schemas/CardChargeResponded.d.ts +31 -0
  162. package/dist/packages/paynote/schemas/CardChargeResponded.d.ts.map +1 -0
  163. package/dist/packages/paynote/schemas/CardChargeResponded.js +12 -0
  164. package/dist/packages/paynote/schemas/CardChargeResponded.js.map +1 -0
  165. package/dist/packages/paynote/schemas/CardTransactionCaptureLockChangeFailed.d.ts +2 -2
  166. package/dist/packages/paynote/schemas/CardTransactionMonitoringRequestRejected.d.ts +2 -2
  167. package/dist/packages/paynote/schemas/CardTransactionReport.d.ts +5 -2
  168. package/dist/packages/paynote/schemas/CardTransactionReport.d.ts.map +1 -1
  169. package/dist/packages/paynote/schemas/CardTransactionReport.js +1 -0
  170. package/dist/packages/paynote/schemas/CardTransactionReport.js.map +1 -1
  171. package/dist/packages/paynote/schemas/ChildPayNoteIssuanceDeclined.d.ts +2 -2
  172. package/dist/packages/paynote/schemas/LinkedCardChargeAndCaptureImmediatelyRequested.d.ts +31 -0
  173. package/dist/packages/paynote/schemas/LinkedCardChargeAndCaptureImmediatelyRequested.d.ts.map +1 -0
  174. package/dist/packages/paynote/schemas/LinkedCardChargeAndCaptureImmediatelyRequested.js +12 -0
  175. package/dist/packages/paynote/schemas/LinkedCardChargeAndCaptureImmediatelyRequested.js.map +1 -0
  176. package/dist/packages/paynote/schemas/LinkedCardChargeRequested.d.ts +31 -0
  177. package/dist/packages/paynote/schemas/LinkedCardChargeRequested.d.ts.map +1 -0
  178. package/dist/packages/paynote/schemas/LinkedCardChargeRequested.js +12 -0
  179. package/dist/packages/paynote/schemas/LinkedCardChargeRequested.js.map +1 -0
  180. package/dist/packages/paynote/schemas/LinkedPayNoteStartFailed.d.ts +25 -0
  181. package/dist/packages/paynote/schemas/LinkedPayNoteStartFailed.d.ts.map +1 -0
  182. package/dist/packages/paynote/schemas/LinkedPayNoteStartFailed.js +10 -0
  183. package/dist/packages/paynote/schemas/LinkedPayNoteStartFailed.js.map +1 -0
  184. package/dist/packages/paynote/schemas/LinkedPayNoteStartResponded.d.ts +28 -0
  185. package/dist/packages/paynote/schemas/LinkedPayNoteStartResponded.d.ts.map +1 -0
  186. package/dist/packages/paynote/schemas/LinkedPayNoteStartResponded.js +11 -0
  187. package/dist/packages/paynote/schemas/LinkedPayNoteStartResponded.js.map +1 -0
  188. package/dist/packages/paynote/schemas/LinkedPayNoteStarted.d.ts +28 -0
  189. package/dist/packages/paynote/schemas/LinkedPayNoteStarted.d.ts.map +1 -0
  190. package/dist/packages/paynote/schemas/LinkedPayNoteStarted.js +11 -0
  191. package/dist/packages/paynote/schemas/LinkedPayNoteStarted.js.map +1 -0
  192. package/dist/packages/paynote/schemas/PayNoteCancellationRejected.d.ts +2 -2
  193. package/dist/packages/paynote/schemas/PayNoteDelivery.d.ts +115 -0
  194. package/dist/packages/paynote/schemas/PayNoteDelivery.d.ts.map +1 -1
  195. package/dist/packages/paynote/schemas/PayNoteDelivery.js +1 -0
  196. package/dist/packages/paynote/schemas/PayNoteDelivery.js.map +1 -1
  197. package/dist/packages/paynote/schemas/PayNoteRejected.d.ts +2 -2
  198. package/dist/packages/paynote/schemas/PaymentMandate.d.ts +904 -0
  199. package/dist/packages/paynote/schemas/PaymentMandate.d.ts.map +1 -0
  200. package/dist/packages/paynote/schemas/PaymentMandate.js +56 -0
  201. package/dist/packages/paynote/schemas/PaymentMandate.js.map +1 -0
  202. package/dist/packages/paynote/schemas/PaymentMandateAttached.d.ts +19 -0
  203. package/dist/packages/paynote/schemas/PaymentMandateAttached.d.ts.map +1 -0
  204. package/dist/packages/paynote/schemas/PaymentMandateAttached.js +10 -0
  205. package/dist/packages/paynote/schemas/PaymentMandateAttached.js.map +1 -0
  206. package/dist/packages/paynote/schemas/PaymentMandateAttachmentFailed.d.ts +19 -0
  207. package/dist/packages/paynote/schemas/PaymentMandateAttachmentFailed.d.ts.map +1 -0
  208. package/dist/packages/paynote/schemas/PaymentMandateAttachmentFailed.js +10 -0
  209. package/dist/packages/paynote/schemas/PaymentMandateAttachmentFailed.js.map +1 -0
  210. package/dist/packages/paynote/schemas/PaymentMandateChargeAttemptState.d.ts +91 -0
  211. package/dist/packages/paynote/schemas/PaymentMandateChargeAttemptState.d.ts.map +1 -0
  212. package/dist/packages/paynote/schemas/PaymentMandateChargeAttemptState.js +28 -0
  213. package/dist/packages/paynote/schemas/PaymentMandateChargeAttemptState.js.map +1 -0
  214. package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationRequested.d.ts +65 -0
  215. package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationRequested.d.ts.map +1 -0
  216. package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationRequested.js +20 -0
  217. package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationRequested.js.map +1 -0
  218. package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationResponded.d.ts +45 -0
  219. package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationResponded.d.ts.map +1 -0
  220. package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationResponded.js +15 -0
  221. package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationResponded.js.map +1 -0
  222. package/dist/packages/paynote/schemas/PaymentMandateSpendSettled.d.ts +54 -0
  223. package/dist/packages/paynote/schemas/PaymentMandateSpendSettled.d.ts.map +1 -0
  224. package/dist/packages/paynote/schemas/PaymentMandateSpendSettled.js +18 -0
  225. package/dist/packages/paynote/schemas/PaymentMandateSpendSettled.js.map +1 -0
  226. package/dist/packages/paynote/schemas/PaymentMandateSpendSettlementResponded.d.ts +48 -0
  227. package/dist/packages/paynote/schemas/PaymentMandateSpendSettlementResponded.d.ts.map +1 -0
  228. package/dist/packages/paynote/schemas/PaymentMandateSpendSettlementResponded.js +16 -0
  229. package/dist/packages/paynote/schemas/PaymentMandateSpendSettlementResponded.js.map +1 -0
  230. package/dist/packages/paynote/schemas/ReservationDeclined.d.ts +2 -2
  231. package/dist/packages/paynote/schemas/ReservationReleaseDeclined.d.ts +2 -2
  232. package/dist/packages/paynote/schemas/ReverseCardChargeAndCaptureImmediatelyRequested.d.ts +31 -0
  233. package/dist/packages/paynote/schemas/ReverseCardChargeAndCaptureImmediatelyRequested.d.ts.map +1 -0
  234. package/dist/packages/paynote/schemas/ReverseCardChargeAndCaptureImmediatelyRequested.js +12 -0
  235. package/dist/packages/paynote/schemas/ReverseCardChargeAndCaptureImmediatelyRequested.js.map +1 -0
  236. package/dist/packages/paynote/schemas/ReverseCardChargeRequested.d.ts +31 -0
  237. package/dist/packages/paynote/schemas/ReverseCardChargeRequested.d.ts.map +1 -0
  238. package/dist/packages/paynote/schemas/ReverseCardChargeRequested.js +12 -0
  239. package/dist/packages/paynote/schemas/ReverseCardChargeRequested.js.map +1 -0
  240. package/dist/packages/paynote/schemas/SettlementAmountRejected.d.ts +2 -2
  241. package/dist/packages/paynote/schemas/index.d.ts +1645 -46
  242. package/dist/packages/paynote/schemas/index.d.ts.map +1 -1
  243. package/dist/packages/paynote/schemas/index.js +56 -5
  244. package/dist/packages/paynote/schemas/index.js.map +1 -1
  245. package/dist/repository.d.ts +4021 -1279
  246. package/dist/repository.d.ts.map +1 -1
  247. package/package.json +2 -2
@@ -1,125 +1,118 @@
1
+ export { CardTransactionReport } from './CardTransactionReport.js';
1
2
  export { CardTransactionCaptureLockChangeFailed } from './CardTransactionCaptureLockChangeFailed.js';
3
+ export { LinkedCardChargeAndCaptureImmediatelyRequested } from './LinkedCardChargeAndCaptureImmediatelyRequested.js';
4
+ export { PayNoteDelivery } from './PayNoteDelivery.js';
2
5
  export { CardTransactionPayNote } from './CardTransactionPayNote.js';
3
6
  export { SettlementAmountRejected } from './SettlementAmountRejected.js';
7
+ export { PaymentMandateSpendSettled } from './PaymentMandateSpendSettled.js';
4
8
  export { ReserveFundsAndCaptureImmediatelyRequested } from './ReserveFundsAndCaptureImmediatelyRequested.js';
5
9
  export { ReserveFundsRequested } from './ReserveFundsRequested.js';
10
+ export { PaymentMandateAttached } from './PaymentMandateAttached.js';
6
11
  export { SettlementAmountSpecified } from './SettlementAmountSpecified.js';
12
+ export { PaymentMandateSpendAuthorizationRequested } from './PaymentMandateSpendAuthorizationRequested.js';
7
13
  export { ReservationDeclined } from './ReservationDeclined.js';
8
14
  export { CardTransactionCaptureUnlockRequested } from './CardTransactionCaptureUnlockRequested.js';
9
15
  export { IssueChildPayNoteRequested } from './IssueChildPayNoteRequested.js';
10
16
  export { StartCardTransactionMonitoringRequested } from './StartCardTransactionMonitoringRequested.js';
11
17
  export { ReservationReleaseDeclined } from './ReservationReleaseDeclined.js';
12
18
  export { TransactionIdentified } from './TransactionIdentified.js';
13
- export { PayNote } from './PayNote.js';
19
+ export { PaymentMandateSpendSettlementResponded } from './PaymentMandateSpendSettlementResponded.js';
20
+ export { LinkedPayNoteStarted } from './LinkedPayNoteStarted.js';
14
21
  export { PayNoteAcceptedByClient } from './PayNoteAcceptedByClient.js';
15
- export { MerchantToCustomerPayNote } from './MerchantToCustomerPayNote.js';
22
+ export { LinkedPayNoteStartFailed } from './LinkedPayNoteStartFailed.js';
23
+ export { PaymentMandateSpendAuthorizationResponded } from './PaymentMandateSpendAuthorizationResponded.js';
16
24
  export { PayNoteCancelled } from './PayNoteCancelled.js';
17
- export { PayNoteDelivery } from './PayNoteDelivery.js';
25
+ export { MerchantToCustomerPayNote } from './MerchantToCustomerPayNote.js';
18
26
  export { PayNoteRejected } from './PayNoteRejected.js';
19
27
  export { FundsReserved } from './FundsReserved.js';
28
+ export { LinkedCardChargeRequested } from './LinkedCardChargeRequested.js';
20
29
  export { CardTransactionMonitoringRequestRejected } from './CardTransactionMonitoringRequestRejected.js';
21
30
  export { FundsCaptured } from './FundsCaptured.js';
31
+ export { LinkedPayNoteStartResponded } from './LinkedPayNoteStartResponded.js';
22
32
  export { PayeeAssignmentRequested } from './PayeeAssignmentRequested.js';
23
33
  export { CardTransactionMonitoringStopped } from './CardTransactionMonitoringStopped.js';
34
+ export { PaymentMandate } from './PaymentMandate.js';
35
+ export { CardChargeResponded } from './CardChargeResponded.js';
24
36
  export { ReservationReleased } from './ReservationReleased.js';
25
37
  export { PayNoteClientDecisionDiscarded } from './PayNoteClientDecisionDiscarded.js';
26
38
  export { ChildPayNoteIssuanceDeclined } from './ChildPayNoteIssuanceDeclined.js';
39
+ export { PayNote } from './PayNote.js';
27
40
  export { CardTransactionCaptureLockRequested } from './CardTransactionCaptureLockRequested.js';
28
41
  export { CardTransactionCaptureUnlocked } from './CardTransactionCaptureUnlocked.js';
29
42
  export { PayNoteCancellationRequested } from './PayNoteCancellationRequested.js';
30
43
  export { CaptureFundsRequested } from './CaptureFundsRequested.js';
31
44
  export { PayNoteRejectedByClient } from './PayNoteRejectedByClient.js';
32
45
  export { CardTransactionCaptureLocked } from './CardTransactionCaptureLocked.js';
46
+ export { ReverseCardChargeAndCaptureImmediatelyRequested } from './ReverseCardChargeAndCaptureImmediatelyRequested.js';
33
47
  export { ChildPayNoteIssued } from './ChildPayNoteIssued.js';
48
+ export { ReverseCardChargeRequested } from './ReverseCardChargeRequested.js';
34
49
  export { CaptureFailed } from './CaptureFailed.js';
35
50
  export { TransactionStatus } from './TransactionStatus.js';
36
51
  export { CaptureDeclined } from './CaptureDeclined.js';
37
52
  export { PayNoteCancellationRejected } from './PayNoteCancellationRejected.js';
38
53
  export { CardTransactionMonitoringStarted } from './CardTransactionMonitoringStarted.js';
39
- export { CardTransactionReport } from './CardTransactionReport.js';
40
54
  export { PayNoteDeliveryFailed } from './PayNoteDeliveryFailed.js';
55
+ export { PaymentMandateAttachmentFailed } from './PaymentMandateAttachmentFailed.js';
41
56
  export { ReservationReleaseRequested } from './ReservationReleaseRequested.js';
42
57
  export { TransactionIdentificationFailed } from './TransactionIdentificationFailed.js';
43
58
  export { CardTransactionDetails } from './CardTransactionDetails.js';
44
59
  export { PayNoteApproved } from './PayNoteApproved.js';
60
+ export { CardChargeCompleted } from './CardChargeCompleted.js';
61
+ export { PaymentMandateChargeAttemptState } from './PaymentMandateChargeAttemptState.js';
45
62
  export declare const contents: {
46
- readonly '2LFkmyxDFSdNqM8mr6Md3LF54V15fFGL1s5fTnUfCpUH': {
47
- readonly description: "Card transaction capture lock change failed.";
48
- readonly name: "Card Transaction Capture Lock Change Failed";
49
- readonly reason: {
50
- readonly description: "Failure reason.";
63
+ readonly '2ibvMNB7oxcpkYpxpag2HLC81sRs3PUBFtqjbqN7ET8X': {
64
+ readonly amountMinor: {
65
+ readonly description: "Purchase amount in minor currency units.";
51
66
  readonly type: {
52
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
67
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
53
68
  };
54
69
  };
55
- readonly type: {
56
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
57
- };
58
- };
59
- readonly '31FeauChLTApQ7FmwwUPuYnYPtgPC9kiu737UkbgK495': {
60
70
  readonly cardTransactionDetails: {
61
71
  readonly type: {
62
72
  readonly blueId: "GZLRe2fEsvs1v7dVcg9kEnCrWEdM3cUZYhFH4XqN5jQT";
63
73
  };
64
74
  };
65
- readonly description: "PayNote tied to a specific card transaction via ISO scheme identifiers.";
66
- readonly name: "Card Transaction PayNote";
67
- readonly type: {
68
- readonly blueId: "6HxvsQMTdbmynxNgqtxcNuCr2RhiLHowVinyD5h3fXmE";
75
+ readonly currency: {
76
+ readonly description: "ISO 4217 currency code.";
77
+ readonly type: {
78
+ readonly blueId: "CBnZ7aaNetj9KEqXpUWj5jvjKbmviLivP98T2EiyxiYc";
79
+ };
69
80
  };
70
- };
71
- readonly '3b3ePGPg5GzS6KYfqoDfgjWbjccXVnGzytbpFS53x4HM': {
72
- readonly description: "The Guarantor rejects the proposed settlement amount.";
73
- readonly name: "Settlement Amount Rejected";
74
- readonly reason: {
81
+ readonly description: "Bank reports a posted card transaction into the requesting contract timeline.";
82
+ readonly merchantId: {
83
+ readonly description: "External merchant identifier for the purchase.";
75
84
  readonly type: {
76
85
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
77
86
  };
78
87
  };
79
- readonly type: {
80
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
81
- };
82
- };
83
- readonly '3XstDYFkqsUP5PdM6Z6mwspPzgdQMFtUpNyMsKPK2o6N': {
84
- readonly amount: {
88
+ readonly name: "Card Transaction Report";
89
+ readonly occurredAt: {
90
+ readonly description: "Timestamp when the transaction occurred.";
85
91
  readonly type: {
86
- readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
92
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
87
93
  };
88
94
  };
89
- readonly description: "Equivalent of Reserve Funds Requested + Capture Funds Requested";
90
- readonly name: "Reserve Funds and Capture Immediately Requested";
91
- readonly type: {
92
- readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
93
- };
94
- };
95
- readonly '3Y3TYmSfZMmPYKmF5i3eR8YcVPNP5Sic2bZN8xRnvMWm': {
96
- readonly amount: {
95
+ readonly status: {
96
+ readonly description: "Transaction status (\"authorized\" | \"partially captured\" | \"captured\").";
97
97
  readonly type: {
98
- readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
98
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
99
99
  };
100
100
  };
101
- readonly description: "A participant requests the Guarantor to reserve (hold) a specific amount.";
102
- readonly name: "Reserve Funds Requested";
103
- readonly type: {
104
- readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
105
- };
106
- };
107
- readonly '4pVAdZo93FHRRkAkshqCZW4pUvvV1ccczJZ2Lu4jkD1D': {
108
- readonly description: "The Guarantor confirms the final settlement amount, which may differ from the initial total.";
109
- readonly finalAmount: {
101
+ readonly transactionId: {
102
+ readonly description: "Unique transaction identifier used for idempotency.";
110
103
  readonly type: {
111
- readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
104
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
112
105
  };
113
106
  };
114
- readonly name: "Settlement Amount Specified";
115
107
  readonly type: {
116
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
108
+ readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
117
109
  };
118
110
  };
119
- readonly '4xS8bmZQBGPENmaPfsrtYguYfq4hTtaZAXrefdyFNkKq': {
120
- readonly description: "The Guarantor could not reserve the requested funds.";
121
- readonly name: "Reservation Declined";
111
+ readonly '2LFkmyxDFSdNqM8mr6Md3LF54V15fFGL1s5fTnUfCpUH': {
112
+ readonly description: "Card transaction capture lock change failed.";
113
+ readonly name: "Card Transaction Capture Lock Change Failed";
122
114
  readonly reason: {
115
+ readonly description: "Failure reason.";
123
116
  readonly type: {
124
117
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
125
118
  };
@@ -128,123 +121,79 @@ export declare const contents: {
128
121
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
129
122
  };
130
123
  };
131
- readonly '531sxtH5rD9ter3EzwBTcn9GMdA7RAYFwmSQRzxCru8z': {
132
- readonly cardTransactionDetails: {
124
+ readonly '2LqGeXL7WWYQJMqviyseKCekpY3wYdB6K1f9sqakBUY7': {
125
+ readonly amount: {
126
+ readonly description: "Charge amount in minor currency units.";
133
127
  readonly type: {
134
- readonly blueId: "GZLRe2fEsvs1v7dVcg9kEnCrWEdM3cUZYhFH4XqN5jQT";
128
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
135
129
  };
136
130
  };
137
- readonly description: "Request to the card issuer to process any following card transaction capture requests.";
138
- readonly name: "Card Transaction Capture Unlock Requested";
139
- readonly type: {
140
- readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
131
+ readonly description: "Request to create a linked card charge and capture it immediately.";
132
+ readonly name: "Linked Card Charge and Capture Immediately Requested";
133
+ readonly paymentMandateDocumentId: {
134
+ readonly description: "Optional Payment Mandate document id used to authorize charge execution.";
135
+ readonly type: {
136
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
137
+ };
141
138
  };
142
- };
143
- readonly '53Dir2sGy1NHuCQXF6suGoDMxYacNhbcy23AKD89SghD': {
144
- readonly childPayNote: {
145
- readonly description: "Complete PayNote";
139
+ readonly paynote: {
140
+ readonly description: "Optional PayNote document to bootstrap for the created charge context.";
146
141
  };
147
- readonly description: "The Payer requests to issue a new PayNote.\nThe requested PayNote must have amount/total specified and in the same currency as this PayNote.\nIf approved by Guarator, amount/total of this PayNote will be deducted by this value.\nIf child PayNote is later cancelled, or captured value is smaller than the total, the funds will be added back to amount/total.\n";
148
- readonly name: "Issue Child PayNote Requested";
149
142
  readonly type: {
150
143
  readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
151
144
  };
152
145
  };
153
- readonly '649PKUqAakwi2JwDwHyypfWb4VmrrBAeEqzSU6FDWfgm': {
154
- readonly description: "Request to start monitoring card events for a target merchant.";
155
- readonly events: {
156
- readonly description: "Requested card event categories.\nFor now:\n- transaction\n";
157
- readonly itemType: {
158
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
159
- };
146
+ readonly '2QkcYqeXBPfAzjYtasCrt91CKjQjcfdjfnHpZ3EX132g': {
147
+ readonly cardTransactionDetails: {
148
+ readonly description: "Card network identifiers used to match processor and issuer records.";
160
149
  readonly type: {
161
- readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
150
+ readonly blueId: "GZLRe2fEsvs1v7dVcg9kEnCrWEdM3cUZYhFH4XqN5jQT";
162
151
  };
163
152
  };
164
- readonly name: "Start Card Transaction Monitoring Requested";
165
- readonly requestedAt: {
166
- readonly description: "Timestamp (microseconds since epoch).";
153
+ readonly clientAcceptedAt: {
154
+ readonly description: "Timestamp when the client accepted.";
167
155
  readonly type: {
168
- readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
156
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
169
157
  };
170
158
  };
171
- readonly targetMerchantId: {
159
+ readonly clientDecisionStatus: {
160
+ readonly description: "Client decision (pending, accepted, rejected).";
172
161
  readonly type: {
173
162
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
174
163
  };
175
164
  };
176
- readonly type: {
177
- readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
178
- };
179
- };
180
- readonly '653sCbbRH3RiKhGjmVxh6wFVs4rn54wJRKDXRMKBZtjA': {
181
- readonly description: "The Guarantor failed to release the reserved funds.";
182
- readonly name: "Reservation Release Declined";
183
- readonly reason: {
165
+ readonly clientRejectedAt: {
166
+ readonly description: "Timestamp when the client rejected.";
184
167
  readonly type: {
185
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
186
- };
187
- };
188
- readonly type: {
189
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
190
- };
191
- };
192
- readonly '6gQWKeJHZEbBo13Vvyf2nsdg7TA9kLSYdzMaJgySPG7V': {
193
- readonly description: "The deliverer identified the card transaction.";
194
- readonly name: "Transaction Identified";
195
- readonly type: {
196
- readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
197
- };
198
- };
199
- readonly '6HxvsQMTdbmynxNgqtxcNuCr2RhiLHowVinyD5h3fXmE': {
200
- readonly amount: {
201
- readonly captured: {
202
- readonly description: "The amount that has been successfully captured.";
203
- readonly type: {
204
- readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
205
- };
206
- readonly value: 0;
207
- };
208
- readonly description: "The amounts associated with this PayNote.";
209
- readonly reserved: {
210
- readonly description: "The amount currently reserved by the Guarantor.";
211
- readonly type: {
212
- readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
213
- };
214
- readonly value: 0;
215
- };
216
- readonly total: {
217
- readonly description: "The maximum total value of this PayNote.";
218
- readonly type: {
219
- readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
220
- };
168
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
221
169
  };
222
170
  };
223
171
  readonly contracts: {
224
- readonly guarantorChannel: {
225
- readonly type: {
226
- readonly blueId: "EvuCWsG1E6WJQg8QXmk6rwMANYTZjoLWVZ1vYQWUwdTH";
227
- };
228
- };
229
- readonly guarantorUpdate: {
172
+ readonly acceptPayNote: {
230
173
  readonly channel: {
231
174
  readonly type: {
232
175
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
233
176
  };
234
- readonly value: "guarantorChannel";
177
+ readonly value: "payNoteDeliverer";
178
+ };
179
+ readonly request: {
180
+ readonly acceptedAt: {
181
+ readonly description: "Timestamp when the client accepted.";
182
+ readonly type: {
183
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
184
+ };
185
+ };
235
186
  };
236
- readonly description: "Standard operation used by the guarantor (bank) to deliver events into the document.";
237
187
  readonly type: {
238
188
  readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
239
189
  };
240
190
  };
241
- readonly guarantorUpdateImpl: {
242
- readonly description: "Re-emits provided events (MyOS-admin style).";
191
+ readonly acceptPayNoteImpl: {
243
192
  readonly operation: {
244
193
  readonly type: {
245
194
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
246
195
  };
247
- readonly value: "guarantorUpdate";
196
+ readonly value: "acceptPayNote";
248
197
  };
249
198
  readonly steps: {
250
199
  readonly items: readonly [{
@@ -252,153 +201,9 @@ export declare const contents: {
252
201
  readonly type: {
253
202
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
254
203
  };
255
- readonly value: "return { events: event.message.request };\n";
204
+ 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');\nconst payNoteBootstrapRequest = document('/payNoteBootstrapRequest');\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 payNoteBootstrapRequest\n ]\n : [\n {\n type: \"PayNote/PayNote Client Decision Discarded\",\n decision: \"accepted\",\n reason: discardReason,\n decisionAt: acceptedAt\n }\n ]\n};\n";
256
205
  };
257
- readonly name: "EmitGuarantorEvents";
258
- readonly type: {
259
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
260
- };
261
- }];
262
- };
263
- readonly type: {
264
- readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
265
- };
266
- };
267
- readonly payeeChannel: {
268
- readonly type: {
269
- readonly blueId: "EvuCWsG1E6WJQg8QXmk6rwMANYTZjoLWVZ1vYQWUwdTH";
270
- };
271
- };
272
- readonly payerChannel: {
273
- readonly type: {
274
- readonly blueId: "EvuCWsG1E6WJQg8QXmk6rwMANYTZjoLWVZ1vYQWUwdTH";
275
- };
276
- };
277
- };
278
- readonly currency: {
279
- readonly description: "The ISO 4217 currency code for the transaction.";
280
- readonly type: {
281
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
282
- };
283
- };
284
- readonly description: "A verifiable instrument for managing a commitment of value between a Payer, Payee, and Guarantor.";
285
- readonly name: "PayNote";
286
- readonly payNoteInitialStateDescription: {
287
- readonly details: {
288
- readonly description: "Complete text description of the PayNote, with everything significant explained.\nMarkdown format suggested.\n";
289
- readonly type: {
290
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
291
- };
292
- };
293
- readonly summary: {
294
- readonly description: "General information about the PayNote. It should capture the most important\ninformation, most critical or non-standard elements should be covered here.\nMarkdown format suggested.\n";
295
- readonly type: {
296
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
297
- };
298
- };
299
- };
300
- readonly status: {
301
- readonly description: "The current state of the PayNote (e.g., Pending, Approved, Reserved, Captured, Released, Rejected).";
302
- readonly type: {
303
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
304
- };
305
- readonly value: "Pending";
306
- };
307
- readonly transactionStatus: {
308
- readonly description: "Optional status snapshot. If present in proposal, bank validates it; if missing bank sets it at bootstrap.";
309
- readonly type: {
310
- readonly blueId: "FutWoAEUEb3wkmEm4YP4JGFPtu3B3PQ3m71BmnRFFnsQ";
311
- };
312
- };
313
- };
314
- readonly '6VQC585V4SdpyA5hCeQQGM178bbeW3D2WcKt8ZCWK9s3': {
315
- readonly acceptedAt: {
316
- readonly description: "Timestamp when the client accepted.";
317
- readonly type: {
318
- readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
319
- };
320
- };
321
- readonly description: "The client accepted the PayNote.";
322
- readonly name: "PayNote Accepted By Client";
323
- readonly type: {
324
- readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
325
- };
326
- };
327
- readonly '7d7HJZ39tANAtmeRus31iSpNEidCdAsMLd33S1FEy7zA': {
328
- readonly description: "Base PayNote where payer is merchant and payee is customer. Bank sets/validates payer channel bindings.";
329
- readonly name: "Merchant To Customer PayNote";
330
- readonly type: {
331
- readonly blueId: "6HxvsQMTdbmynxNgqtxcNuCr2RhiLHowVinyD5h3fXmE";
332
- };
333
- };
334
- readonly '96buyUXwhkak8xKoCR5nAW9tMuwzkevJFdELVvwKxR6Y': {
335
- readonly description: "The Guarantor confirms PayNote cancellation requested by Payer.";
336
- readonly name: "PayNote Cancelled";
337
- readonly type: {
338
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
339
- };
340
- };
341
- readonly '9jxRnexZ3DMoBAn1xZmjfV7pD1hkrd75qQ1p9a4Eeg4Y': {
342
- readonly cardTransactionDetails: {
343
- readonly description: "Card network identifiers used to match processor and issuer records.";
344
- readonly type: {
345
- readonly blueId: "GZLRe2fEsvs1v7dVcg9kEnCrWEdM3cUZYhFH4XqN5jQT";
346
- };
347
- };
348
- readonly clientAcceptedAt: {
349
- readonly description: "Timestamp when the client accepted.";
350
- readonly type: {
351
- readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
352
- };
353
- };
354
- readonly clientDecisionStatus: {
355
- readonly description: "Client decision (pending, accepted, rejected).";
356
- readonly type: {
357
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
358
- };
359
- };
360
- readonly clientRejectedAt: {
361
- readonly description: "Timestamp when the client rejected.";
362
- readonly type: {
363
- readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
364
- };
365
- };
366
- readonly contracts: {
367
- readonly acceptPayNote: {
368
- readonly channel: {
369
- readonly type: {
370
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
371
- };
372
- readonly value: "payNoteDeliverer";
373
- };
374
- readonly request: {
375
- readonly acceptedAt: {
376
- readonly description: "Timestamp when the client accepted.";
377
- readonly type: {
378
- readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
379
- };
380
- };
381
- };
382
- readonly type: {
383
- readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
384
- };
385
- };
386
- readonly acceptPayNoteImpl: {
387
- readonly operation: {
388
- readonly type: {
389
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
390
- };
391
- readonly value: "acceptPayNote";
392
- };
393
- readonly steps: {
394
- readonly items: readonly [{
395
- readonly code: {
396
- readonly type: {
397
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
398
- };
399
- 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');\nconst payNoteBootstrapRequest = document('/payNoteBootstrapRequest');\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 payNoteBootstrapRequest\n ]\n : [\n {\n type: \"PayNote/PayNote Client Decision Discarded\",\n decision: \"accepted\",\n reason: discardReason,\n decisionAt: acceptedAt\n }\n ]\n};\n";
400
- };
401
- readonly name: "Capture Acceptance Timestamp";
206
+ readonly name: "Capture Acceptance Timestamp";
402
207
  readonly type: {
403
208
  readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
404
209
  };
@@ -745,29 +550,904 @@ export declare const contents: {
745
550
  readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
746
551
  };
747
552
  };
748
- readonly reportDeliveryError: {
553
+ readonly reportDeliveryError: {
554
+ readonly channel: {
555
+ readonly type: {
556
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
557
+ };
558
+ readonly value: "payNoteDeliverer";
559
+ };
560
+ readonly request: {
561
+ readonly description: "Delivery error reason.";
562
+ readonly type: {
563
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
564
+ };
565
+ };
566
+ readonly type: {
567
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
568
+ };
569
+ };
570
+ readonly reportDeliveryErrorImpl: {
571
+ readonly operation: {
572
+ readonly type: {
573
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
574
+ };
575
+ readonly value: "reportDeliveryError";
576
+ };
577
+ readonly steps: {
578
+ readonly items: readonly [{
579
+ readonly code: {
580
+ readonly type: {
581
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
582
+ };
583
+ 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";
584
+ };
585
+ readonly name: "Capture Delivery Failure Reason";
586
+ readonly type: {
587
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
588
+ };
589
+ }, {
590
+ readonly changeset: {
591
+ readonly items: readonly [{
592
+ readonly op: {
593
+ readonly type: {
594
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
595
+ };
596
+ readonly value: "replace";
597
+ };
598
+ readonly path: {
599
+ readonly type: {
600
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
601
+ };
602
+ readonly value: "/deliveryStatus";
603
+ };
604
+ readonly val: {
605
+ readonly type: {
606
+ readonly blueId: "Guus3kHbivXvy5G93yhiKs3Pc8sxCc4XVvSo7CqLsQEc";
607
+ };
608
+ };
609
+ }, {
610
+ readonly op: {
611
+ readonly type: {
612
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
613
+ };
614
+ readonly value: "replace";
615
+ };
616
+ readonly path: {
617
+ readonly type: {
618
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
619
+ };
620
+ readonly value: "/deliveryError";
621
+ };
622
+ readonly val: {
623
+ readonly type: {
624
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
625
+ };
626
+ readonly value: "${steps['Capture Delivery Failure Reason'].reason}";
627
+ };
628
+ }];
629
+ };
630
+ readonly name: "Apply Delivery Failure";
631
+ readonly type: {
632
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
633
+ };
634
+ }];
635
+ };
636
+ readonly type: {
637
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
638
+ };
639
+ };
640
+ readonly updateTransactionIdentificationStatus: {
641
+ readonly channel: {
642
+ readonly type: {
643
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
644
+ };
645
+ readonly value: "payNoteDeliverer";
646
+ };
647
+ readonly request: {
648
+ readonly description: "True when the transaction is identified.";
649
+ readonly type: {
650
+ readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
651
+ };
652
+ };
653
+ readonly type: {
654
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
655
+ };
656
+ };
657
+ readonly updateTransactionIdentificationStatusImpl: {
658
+ readonly operation: {
659
+ readonly type: {
660
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
661
+ };
662
+ readonly value: "updateTransactionIdentificationStatus";
663
+ };
664
+ readonly steps: {
665
+ readonly items: readonly [{
666
+ readonly code: {
667
+ readonly type: {
668
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
669
+ };
670
+ 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";
671
+ };
672
+ readonly name: "Classify Identification Result";
673
+ readonly type: {
674
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
675
+ };
676
+ }, {
677
+ readonly changeset: {
678
+ readonly items: readonly [{
679
+ readonly op: {
680
+ readonly type: {
681
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
682
+ };
683
+ readonly value: "replace";
684
+ };
685
+ readonly path: {
686
+ readonly type: {
687
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
688
+ };
689
+ readonly value: "/transactionIdentificationStatus";
690
+ };
691
+ readonly val: {
692
+ readonly type: {
693
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
694
+ };
695
+ readonly value: "${steps['Classify Identification Result'].identificationStatus}";
696
+ };
697
+ }, {
698
+ readonly op: {
699
+ readonly type: {
700
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
701
+ };
702
+ readonly value: "replace";
703
+ };
704
+ readonly path: {
705
+ readonly type: {
706
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
707
+ };
708
+ readonly value: "/deliveryStatus";
709
+ };
710
+ readonly val: {
711
+ readonly type: {
712
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
713
+ };
714
+ readonly value: "${steps['Classify Identification Result'].deliveryStatus}";
715
+ };
716
+ }, {
717
+ readonly op: {
718
+ readonly type: {
719
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
720
+ };
721
+ readonly value: "replace";
722
+ };
723
+ readonly path: {
724
+ readonly type: {
725
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
726
+ };
727
+ readonly value: "/deliveryError";
728
+ };
729
+ readonly val: {
730
+ readonly type: {
731
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
732
+ };
733
+ readonly value: "${steps['Classify Identification Result'].deliveryError}";
734
+ };
735
+ }];
736
+ };
737
+ readonly name: "Apply Identification Update";
738
+ readonly type: {
739
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
740
+ };
741
+ }];
742
+ };
743
+ readonly type: {
744
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
745
+ };
746
+ };
747
+ };
748
+ readonly deliveryError: {
749
+ readonly description: "Error message when delivery fails.";
750
+ readonly type: {
751
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
752
+ };
753
+ };
754
+ readonly deliveryStatus: {
755
+ readonly description: "High-level delivery status.";
756
+ readonly type: {
757
+ readonly blueId: "58B8orsFkxxy7bWqjLXJmtBs2b5rwnNQNbeoAbGhPkJc";
758
+ };
759
+ };
760
+ readonly description: "Tracks delivery of a PayNote through a deliverer (e.g., bank) to a receiver (payer - client).";
761
+ readonly name: "PayNote Delivery";
762
+ readonly paymentMandateBootstrapRequest: {
763
+ readonly description: "Optional Payment Mandate bootstrap request details for Delivery flows that require mandate attachment before proposal exposure.";
764
+ readonly document: {
765
+ readonly type: {
766
+ readonly blueId: "Cb8EjAE531e9RVa9RgFJzKmN9h6z8Xp3tAYaBFgqfHoP";
767
+ };
768
+ };
769
+ readonly type: {
770
+ readonly blueId: "7JqBn4KcmZbHBBiQf3CAfpHBNaTKS1qhtkATsF7f6Sxg";
771
+ };
772
+ };
773
+ readonly payNoteBootstrapRequest: {
774
+ readonly description: "PayNote bootstrap request details.";
775
+ readonly document: {
776
+ readonly type: {
777
+ readonly blueId: "Dh2LtUN8Umc478kif8VWsNM1FrL5usVEeevv2GKnKP4F";
778
+ };
779
+ };
780
+ readonly type: {
781
+ readonly blueId: "7JqBn4KcmZbHBBiQf3CAfpHBNaTKS1qhtkATsF7f6Sxg";
782
+ };
783
+ };
784
+ readonly transactionIdentificationStatus: {
785
+ readonly description: "Identification state (pending, identified, failed).";
786
+ readonly type: {
787
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
788
+ };
789
+ };
790
+ };
791
+ readonly '2wqxtvdRHf7Z3qNNKnycnu3SBVqw4BenK8et9xeT7n86': {
792
+ readonly cardTransactionDetails: {
793
+ readonly type: {
794
+ readonly blueId: "GZLRe2fEsvs1v7dVcg9kEnCrWEdM3cUZYhFH4XqN5jQT";
795
+ };
796
+ };
797
+ readonly description: "PayNote tied to a specific card transaction via ISO scheme identifiers.";
798
+ readonly name: "Card Transaction PayNote";
799
+ readonly type: {
800
+ readonly blueId: "Dh2LtUN8Umc478kif8VWsNM1FrL5usVEeevv2GKnKP4F";
801
+ };
802
+ };
803
+ readonly '3b3ePGPg5GzS6KYfqoDfgjWbjccXVnGzytbpFS53x4HM': {
804
+ readonly description: "The Guarantor rejects the proposed settlement amount.";
805
+ readonly name: "Settlement Amount Rejected";
806
+ readonly reason: {
807
+ readonly type: {
808
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
809
+ };
810
+ };
811
+ readonly type: {
812
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
813
+ };
814
+ };
815
+ readonly '3TW3tRAQdYoMTFeeqmnWLR9JFibTVaJuiRJfJ3ggeVTJ': {
816
+ readonly capturedDeltaMinor: {
817
+ readonly description: "Net change to amountCaptured in minor units. Positive for successful capture.\n";
818
+ readonly type: {
819
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
820
+ };
821
+ };
822
+ readonly chargeAttemptId: {
823
+ readonly description: "Correlation key copied from Payment Mandate Spend Authorization Requested.";
824
+ readonly type: {
825
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
826
+ };
827
+ };
828
+ readonly description: "Settlement update sent by bank to Payment Mandate after charge execution, used to apply deterministic reserved/captured deltas in mandate state. For approved authorizations, mandate may already reserve capacity at authorize step. Deltas should express net post-execution adjustment from current mandate state.\n";
829
+ readonly holdId: {
830
+ readonly description: "Optional hold id produced by banking execution.";
831
+ readonly type: {
832
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
833
+ };
834
+ };
835
+ readonly name: "Payment Mandate Spend Settled";
836
+ readonly reason: {
837
+ readonly description: "Optional failure reason.";
838
+ readonly type: {
839
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
840
+ };
841
+ };
842
+ readonly reservedDeltaMinor: {
843
+ readonly description: "Net change to amountReserved in minor units. Positive for new reserve, negative for release/capture settlement. For authorize-only success this is typically 0 when authorization already reserved capacity.\n";
844
+ readonly type: {
845
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
846
+ };
847
+ };
848
+ readonly settledAt: {
849
+ readonly description: "Timestamp when settlement result was emitted.";
850
+ readonly type: {
851
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
852
+ };
853
+ };
854
+ readonly status: {
855
+ readonly description: "Settlement status (\"succeeded\" | \"failed\").";
856
+ readonly type: {
857
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
858
+ };
859
+ };
860
+ readonly transactionId: {
861
+ readonly description: "Optional transaction id produced by banking execution.";
862
+ readonly type: {
863
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
864
+ };
865
+ };
866
+ readonly type: {
867
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
868
+ };
869
+ };
870
+ readonly '3XstDYFkqsUP5PdM6Z6mwspPzgdQMFtUpNyMsKPK2o6N': {
871
+ readonly amount: {
872
+ readonly type: {
873
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
874
+ };
875
+ };
876
+ readonly description: "Equivalent of Reserve Funds Requested + Capture Funds Requested";
877
+ readonly name: "Reserve Funds and Capture Immediately Requested";
878
+ readonly type: {
879
+ readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
880
+ };
881
+ };
882
+ readonly '3Y3TYmSfZMmPYKmF5i3eR8YcVPNP5Sic2bZN8xRnvMWm': {
883
+ readonly amount: {
884
+ readonly type: {
885
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
886
+ };
887
+ };
888
+ readonly description: "A participant requests the Guarantor to reserve (hold) a specific amount.";
889
+ readonly name: "Reserve Funds Requested";
890
+ readonly type: {
891
+ readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
892
+ };
893
+ };
894
+ readonly '49TYrHpnk2gepJiGduJP3afrnT2DJ6kDxqF4Y9M4C4t7': {
895
+ readonly description: "Payment Mandate was successfully attached to the PayNote context.";
896
+ readonly name: "Payment Mandate Attached";
897
+ readonly paymentMandateDocumentId: {
898
+ readonly description: "Document id of the attached Payment Mandate.";
899
+ readonly type: {
900
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
901
+ };
902
+ };
903
+ readonly type: {
904
+ readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
905
+ };
906
+ };
907
+ readonly '4pVAdZo93FHRRkAkshqCZW4pUvvV1ccczJZ2Lu4jkD1D': {
908
+ readonly description: "The Guarantor confirms the final settlement amount, which may differ from the initial total.";
909
+ readonly finalAmount: {
910
+ readonly type: {
911
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
912
+ };
913
+ };
914
+ readonly name: "Settlement Amount Specified";
915
+ readonly type: {
916
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
917
+ };
918
+ };
919
+ readonly '4STBHLJjxjCZVgeW2ScFfmsx8Vm16FenEbaNMyL8ZJUT': {
920
+ readonly amountMinor: {
921
+ readonly description: "Requested amount in minor currency units.";
922
+ readonly type: {
923
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
924
+ };
925
+ };
926
+ readonly chargeAttemptId: {
927
+ readonly description: "Correlation and idempotency key for a single charge attempt. Must be stable across retries of the same attempt.\n";
928
+ readonly type: {
929
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
930
+ };
931
+ };
932
+ readonly chargeMode: {
933
+ readonly description: "Requested charge execution mode (\"authorize_only\" | \"authorize_and_capture\").";
934
+ readonly type: {
935
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
936
+ };
937
+ };
938
+ readonly counterpartyId: {
939
+ readonly description: "Counterparty identifier interpreted according to counterpartyType.";
940
+ readonly type: {
941
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
942
+ };
943
+ };
944
+ readonly counterpartyType: {
945
+ readonly description: "Counterparty identifier type (\"merchantId\" | \"customerId\" | \"accountNumber\").";
946
+ readonly type: {
947
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
948
+ };
949
+ };
950
+ readonly currency: {
951
+ readonly description: "Currency used to validate amountMinor against mandate limits.";
952
+ readonly type: {
953
+ readonly blueId: "CBnZ7aaNetj9KEqXpUWj5jvjKbmviLivP98T2EiyxiYc";
954
+ };
955
+ };
956
+ readonly description: "Bank asks a Payment Mandate document to authorize a single charge attempt before reserve/capture execution.\n";
957
+ readonly name: "Payment Mandate Spend Authorization Requested";
958
+ readonly requestedAt: {
959
+ readonly description: "Timestamp when the authorization request was created.";
960
+ readonly type: {
961
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
962
+ };
963
+ };
964
+ readonly requestingDocumentId: {
965
+ readonly description: "Document id that requested the charge.";
966
+ readonly type: {
967
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
968
+ };
969
+ };
970
+ readonly requestingSessionId: {
971
+ readonly description: "Session id that requested the charge.";
972
+ readonly type: {
973
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
974
+ };
975
+ };
976
+ readonly type: {
977
+ readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
978
+ };
979
+ };
980
+ readonly '4xS8bmZQBGPENmaPfsrtYguYfq4hTtaZAXrefdyFNkKq': {
981
+ readonly description: "The Guarantor could not reserve the requested funds.";
982
+ readonly name: "Reservation Declined";
983
+ readonly reason: {
984
+ readonly type: {
985
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
986
+ };
987
+ };
988
+ readonly type: {
989
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
990
+ };
991
+ };
992
+ readonly '531sxtH5rD9ter3EzwBTcn9GMdA7RAYFwmSQRzxCru8z': {
993
+ readonly cardTransactionDetails: {
994
+ readonly type: {
995
+ readonly blueId: "GZLRe2fEsvs1v7dVcg9kEnCrWEdM3cUZYhFH4XqN5jQT";
996
+ };
997
+ };
998
+ readonly description: "Request to the card issuer to process any following card transaction capture requests.";
999
+ readonly name: "Card Transaction Capture Unlock Requested";
1000
+ readonly type: {
1001
+ readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1002
+ };
1003
+ };
1004
+ readonly '53Dir2sGy1NHuCQXF6suGoDMxYacNhbcy23AKD89SghD': {
1005
+ readonly childPayNote: {
1006
+ readonly description: "Complete PayNote";
1007
+ };
1008
+ readonly description: "The Payer requests to issue a new PayNote.\nThe requested PayNote must have amount/total specified and in the same currency as this PayNote.\nIf approved by Guarator, amount/total of this PayNote will be deducted by this value.\nIf child PayNote is later cancelled, or captured value is smaller than the total, the funds will be added back to amount/total.\n";
1009
+ readonly name: "Issue Child PayNote Requested";
1010
+ readonly type: {
1011
+ readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1012
+ };
1013
+ };
1014
+ readonly '649PKUqAakwi2JwDwHyypfWb4VmrrBAeEqzSU6FDWfgm': {
1015
+ readonly description: "Request to start monitoring card events for a target merchant.";
1016
+ readonly events: {
1017
+ readonly description: "Requested card event categories.\nFor now:\n- transaction\n";
1018
+ readonly itemType: {
1019
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1020
+ };
1021
+ readonly type: {
1022
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
1023
+ };
1024
+ };
1025
+ readonly name: "Start Card Transaction Monitoring Requested";
1026
+ readonly requestedAt: {
1027
+ readonly description: "Timestamp (microseconds since epoch).";
1028
+ readonly type: {
1029
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1030
+ };
1031
+ };
1032
+ readonly targetMerchantId: {
1033
+ readonly type: {
1034
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1035
+ };
1036
+ };
1037
+ readonly type: {
1038
+ readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1039
+ };
1040
+ };
1041
+ readonly '653sCbbRH3RiKhGjmVxh6wFVs4rn54wJRKDXRMKBZtjA': {
1042
+ readonly description: "The Guarantor failed to release the reserved funds.";
1043
+ readonly name: "Reservation Release Declined";
1044
+ readonly reason: {
1045
+ readonly type: {
1046
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1047
+ };
1048
+ };
1049
+ readonly type: {
1050
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1051
+ };
1052
+ };
1053
+ readonly '6gQWKeJHZEbBo13Vvyf2nsdg7TA9kLSYdzMaJgySPG7V': {
1054
+ readonly description: "The deliverer identified the card transaction.";
1055
+ readonly name: "Transaction Identified";
1056
+ readonly type: {
1057
+ readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
1058
+ };
1059
+ };
1060
+ readonly '6P1iVKFwG9jgWV7Ye3Co6pWByuu5QpR4tpqu9oVVvawY': {
1061
+ readonly amountCaptured: {
1062
+ readonly description: "Current mandate amountCaptured after applying (or rejecting) settlement.";
1063
+ readonly type: {
1064
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1065
+ };
1066
+ };
1067
+ readonly amountReserved: {
1068
+ readonly description: "Current mandate amountReserved after applying (or rejecting) settlement.";
1069
+ readonly type: {
1070
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1071
+ };
1072
+ };
1073
+ readonly chargeAttemptId: {
1074
+ readonly description: "Correlation key copied from Payment Mandate Spend Settled.";
1075
+ readonly type: {
1076
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1077
+ };
1078
+ };
1079
+ readonly description: "Validation result emitted by Payment Mandate after processing a settlement update.";
1080
+ readonly name: "Payment Mandate Spend Settlement Responded";
1081
+ readonly reason: {
1082
+ readonly description: "Optional rejection or informational reason.";
1083
+ readonly type: {
1084
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1085
+ };
1086
+ };
1087
+ readonly respondedAt: {
1088
+ readonly description: "Timestamp when mandate emitted settlement processing result.";
1089
+ readonly type: {
1090
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
1091
+ };
1092
+ };
1093
+ readonly status: {
1094
+ readonly description: "Settlement processing status (\"accepted\" | \"rejected\").";
1095
+ readonly type: {
1096
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1097
+ };
1098
+ };
1099
+ readonly type: {
1100
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1101
+ };
1102
+ };
1103
+ readonly '6vnMMWuq6qJ1hxLqL1P2ckCqC9JtJF3QNW8s7rMTgZ4Q': {
1104
+ readonly description: "Confirmation that linked PayNote startup was requested successfully.";
1105
+ readonly name: "Linked PayNote Started";
1106
+ readonly payNoteDocumentId: {
1107
+ readonly description: "Document id of the bootstrapped linked PayNote when available.";
1108
+ readonly type: {
1109
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1110
+ };
1111
+ };
1112
+ readonly payNoteSessionId: {
1113
+ readonly description: "Session id of the bootstrapped linked PayNote document.";
1114
+ readonly type: {
1115
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1116
+ };
1117
+ };
1118
+ readonly type: {
1119
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1120
+ };
1121
+ };
1122
+ readonly '6VQC585V4SdpyA5hCeQQGM178bbeW3D2WcKt8ZCWK9s3': {
1123
+ readonly acceptedAt: {
1124
+ readonly description: "Timestamp when the client accepted.";
1125
+ readonly type: {
1126
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
1127
+ };
1128
+ };
1129
+ readonly description: "The client accepted the PayNote.";
1130
+ readonly name: "PayNote Accepted By Client";
1131
+ readonly type: {
1132
+ readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
1133
+ };
1134
+ };
1135
+ readonly '8dggwonfALwrTSRhg8g8ncXFXierke2mogtEZQXHab64': {
1136
+ readonly description: "Linked PayNote startup failed after charge processing.";
1137
+ readonly name: "Linked PayNote Start Failed";
1138
+ readonly reason: {
1139
+ readonly description: "Failure reason.";
1140
+ readonly type: {
1141
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1142
+ };
1143
+ };
1144
+ readonly type: {
1145
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1146
+ };
1147
+ };
1148
+ readonly '8qdhLemMQ5MFtu9Aebpd9gKfKuLuRBEnT6yTTzr9F78E': {
1149
+ readonly chargeAttemptId: {
1150
+ readonly description: "Correlation key copied from Payment Mandate Spend Authorization Requested.";
1151
+ readonly type: {
1152
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1153
+ };
1154
+ };
1155
+ readonly description: "Decision from Payment Mandate for a spend authorization request.";
1156
+ readonly name: "Payment Mandate Spend Authorization Responded";
1157
+ readonly reason: {
1158
+ readonly description: "Optional rejection reason.";
1159
+ readonly type: {
1160
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1161
+ };
1162
+ };
1163
+ readonly remainingAmountMinor: {
1164
+ readonly description: "Optional remaining mandate capacity in minor currency units after decision.";
1165
+ readonly type: {
1166
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1167
+ };
1168
+ };
1169
+ readonly respondedAt: {
1170
+ readonly description: "Timestamp when the decision was emitted.";
1171
+ readonly type: {
1172
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
1173
+ };
1174
+ };
1175
+ readonly status: {
1176
+ readonly description: "Decision status (\"approved\" | \"rejected\").";
1177
+ readonly type: {
1178
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1179
+ };
1180
+ };
1181
+ readonly type: {
1182
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1183
+ };
1184
+ };
1185
+ readonly '96buyUXwhkak8xKoCR5nAW9tMuwzkevJFdELVvwKxR6Y': {
1186
+ readonly description: "The Guarantor confirms PayNote cancellation requested by Payer.";
1187
+ readonly name: "PayNote Cancelled";
1188
+ readonly type: {
1189
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1190
+ };
1191
+ };
1192
+ readonly '9dJ3W19EJ8MqtTJR8oidX8eRrkeB8xNQyqeTZeqBHZjo': {
1193
+ readonly description: "Base PayNote where payer is merchant and payee is customer. Bank sets/validates payer channel bindings.";
1194
+ readonly name: "Merchant To Customer PayNote";
1195
+ readonly type: {
1196
+ readonly blueId: "Dh2LtUN8Umc478kif8VWsNM1FrL5usVEeevv2GKnKP4F";
1197
+ };
1198
+ };
1199
+ readonly AdKfkwRfzRUxUKSzhRfYANsaUBNnz4u6JFWR66qhzyZe: {
1200
+ readonly description: "The Guarantor denies the creation of the PayNote.";
1201
+ readonly name: "PayNote Rejected";
1202
+ readonly reason: {
1203
+ readonly type: {
1204
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1205
+ };
1206
+ };
1207
+ readonly type: {
1208
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1209
+ };
1210
+ };
1211
+ readonly AopfdGqnwcxsw4mJzXbmjDMnASRtkce9BZB1n6QSRNXX: {
1212
+ readonly amountReserved: {
1213
+ readonly type: {
1214
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1215
+ };
1216
+ };
1217
+ readonly description: "The Guarantor confirms that funds have been successfully reserved (held).";
1218
+ readonly name: "Funds Reserved";
1219
+ readonly type: {
1220
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1221
+ };
1222
+ };
1223
+ readonly Aq4dNFtLHLWYfCS7aqAgWwGi48MgbQmp2EZJtDBN7FSg: {
1224
+ readonly amount: {
1225
+ readonly description: "Charge amount in minor currency units.";
1226
+ readonly type: {
1227
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1228
+ };
1229
+ };
1230
+ readonly description: "Request to create a new card charge linked to the root card transaction context.";
1231
+ readonly name: "Linked Card Charge Requested";
1232
+ readonly paymentMandateDocumentId: {
1233
+ readonly description: "Optional Payment Mandate document id used to authorize charge execution.";
1234
+ readonly type: {
1235
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1236
+ };
1237
+ };
1238
+ readonly paynote: {
1239
+ readonly description: "Optional PayNote document to bootstrap for the created charge context.";
1240
+ };
1241
+ readonly type: {
1242
+ readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1243
+ };
1244
+ };
1245
+ readonly B2iherBskP5f4x7x31GahNmsJtyzian6ZN92b8kE1E5q: {
1246
+ readonly description: "Notification that card transaction monitoring was rejected.";
1247
+ readonly events: {
1248
+ readonly itemType: {
1249
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1250
+ };
1251
+ readonly type: {
1252
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
1253
+ };
1254
+ };
1255
+ readonly name: "Card Transaction Monitoring Request Rejected";
1256
+ readonly reason: {
1257
+ readonly description: "Reason monitoring was rejected.";
1258
+ readonly type: {
1259
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1260
+ };
1261
+ };
1262
+ readonly rejectedAt: {
1263
+ readonly description: "Timestamp (microseconds since epoch) when monitoring was rejected.";
1264
+ readonly type: {
1265
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1266
+ };
1267
+ };
1268
+ readonly targetMerchantId: {
1269
+ readonly description: "External merchant identifier requested for monitoring.";
1270
+ readonly type: {
1271
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1272
+ };
1273
+ };
1274
+ readonly type: {
1275
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1276
+ };
1277
+ };
1278
+ readonly BJvjorbC5ed5KTV7SxoV3CvrJXjrFPcFxY9QT4jHBbXi: {
1279
+ readonly amountCaptured: {
1280
+ readonly type: {
1281
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1282
+ };
1283
+ };
1284
+ readonly description: "The Guarantor confirms that funds have been successfully transferred to the Payee.";
1285
+ readonly name: "Funds Captured";
1286
+ readonly type: {
1287
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1288
+ };
1289
+ };
1290
+ readonly BQioEtRPYv2fWVryRsSYQc1Vnp9eyX3CYDrNY1hEy1Ye: {
1291
+ readonly description: "Decision response for starting a linked PayNote after successful charge.";
1292
+ readonly name: "Linked PayNote Start Responded";
1293
+ readonly reason: {
1294
+ readonly description: "Optional rejection reason.";
1295
+ readonly type: {
1296
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1297
+ };
1298
+ };
1299
+ readonly status: {
1300
+ readonly description: "Decision status (\"accepted\" | \"rejected\").";
1301
+ readonly type: {
1302
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1303
+ };
1304
+ };
1305
+ readonly type: {
1306
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1307
+ };
1308
+ };
1309
+ readonly BVLMcTzag3D2rvg8LoKQ3Htgoqsh77EAoiTLTxH5aVBE: {
1310
+ readonly description: "The Payer requests to assign or change the Payee.";
1311
+ readonly name: "Payee Assignment Requested";
1312
+ readonly payeeEmail: {
1313
+ readonly type: {
1314
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1315
+ };
1316
+ };
1317
+ readonly type: {
1318
+ readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1319
+ };
1320
+ };
1321
+ readonly BYdTyyLphWQNKo1GBcnE1jQuaPyXexNnfzkXhMiRqmUr: {
1322
+ readonly events: {
1323
+ readonly itemType: {
1324
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1325
+ };
1326
+ readonly type: {
1327
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
1328
+ };
1329
+ };
1330
+ readonly name: "Card Transaction Monitoring Stopped";
1331
+ readonly reason: {
1332
+ readonly type: {
1333
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1334
+ };
1335
+ };
1336
+ readonly stoppedAt: {
1337
+ readonly type: {
1338
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1339
+ };
1340
+ };
1341
+ readonly targetMerchantId: {
1342
+ readonly type: {
1343
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1344
+ };
1345
+ };
1346
+ readonly type: {
1347
+ readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
1348
+ };
1349
+ };
1350
+ readonly Cb8EjAE531e9RVa9RgFJzKmN9h6z8Xp3tAYaBFgqfHoP: {
1351
+ readonly allowedPaymentCounterparties: {
1352
+ readonly description: "Optional payment counterparty allowlist. Missing list means wildcard (any counterparty is allowed).\n";
1353
+ readonly itemType: {
1354
+ readonly counterpartyId: {
1355
+ readonly description: "Counterparty identifier interpreted according to counterpartyType.";
1356
+ readonly type: {
1357
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1358
+ };
1359
+ };
1360
+ readonly counterpartyType: {
1361
+ readonly description: "Allowed payment counterparty identifier type:\n- merchantId\n- customerId\n- accountNumber\n";
1362
+ readonly type: {
1363
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1364
+ };
1365
+ };
1366
+ };
1367
+ readonly type: {
1368
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
1369
+ };
1370
+ };
1371
+ readonly allowedPayNotes: {
1372
+ readonly description: "Optional linked PayNote allowlist. Used only when allowLinkedPayNote is true. Missing list means wildcard (any linked PayNote is allowed). Each entry must set exactly one selector: typeBlueId or documentBlueId.\n";
1373
+ readonly itemType: {
1374
+ readonly documentBlueId: {
1375
+ readonly description: "Optional blue-id of an allowed concrete PayNote document. Mutually exclusive with typeBlueId.\n";
1376
+ readonly type: {
1377
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1378
+ };
1379
+ };
1380
+ readonly typeBlueId: {
1381
+ readonly description: "Optional blue-id of an allowed PayNote type. Mutually exclusive with documentBlueId.\n";
1382
+ readonly type: {
1383
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1384
+ };
1385
+ };
1386
+ };
1387
+ readonly type: {
1388
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
1389
+ };
1390
+ };
1391
+ readonly allowLinkedPayNote: {
1392
+ readonly description: "Whether this mandate allows linked PayNote startup after charge execution.";
1393
+ readonly type: {
1394
+ readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
1395
+ };
1396
+ };
1397
+ readonly amountCaptured: {
1398
+ readonly description: "Running captured amount in minor currency units. Increased after successful capture.\n";
1399
+ readonly type: {
1400
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1401
+ };
1402
+ };
1403
+ readonly amountLimit: {
1404
+ readonly description: "Maximum amount in minor currency units allowed by this mandate.";
1405
+ readonly type: {
1406
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1407
+ };
1408
+ };
1409
+ readonly amountReserved: {
1410
+ readonly description: "Running reserved amount in minor currency units. Increased after successful reserve/authorize, decreased after release/capture.\n";
1411
+ readonly type: {
1412
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1413
+ };
1414
+ };
1415
+ readonly chargeAttempts: {
1416
+ readonly description: "Stateful map of chargeAttemptId -> attempt state (authorization + settlement).";
1417
+ readonly keyType: {
1418
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1419
+ };
1420
+ readonly type: {
1421
+ readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
1422
+ };
1423
+ readonly valueType: {
1424
+ readonly blueId: "JADRqXZ7UWNDqPt9Zhnn6831Nz2X5yeSuyew4hu6ciVq";
1425
+ };
1426
+ };
1427
+ readonly contracts: {
1428
+ readonly authorizeSpend: {
749
1429
  readonly channel: {
750
1430
  readonly type: {
751
1431
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
752
1432
  };
753
- readonly value: "payNoteDeliverer";
1433
+ readonly value: "guarantorChannel";
754
1434
  };
1435
+ readonly description: "Validate a charge attempt against mandate policy and reserve capacity.";
755
1436
  readonly request: {
756
- readonly description: "Delivery error reason.";
757
1437
  readonly type: {
758
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1438
+ readonly blueId: "4STBHLJjxjCZVgeW2ScFfmsx8Vm16FenEbaNMyL8ZJUT";
759
1439
  };
760
1440
  };
761
1441
  readonly type: {
762
1442
  readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
763
1443
  };
764
1444
  };
765
- readonly reportDeliveryErrorImpl: {
1445
+ readonly authorizeSpendImpl: {
766
1446
  readonly operation: {
767
1447
  readonly type: {
768
1448
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
769
1449
  };
770
- readonly value: "reportDeliveryError";
1450
+ readonly value: "authorizeSpend";
771
1451
  };
772
1452
  readonly steps: {
773
1453
  readonly items: readonly [{
@@ -775,9 +1455,9 @@ export declare const contents: {
775
1455
  readonly type: {
776
1456
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
777
1457
  };
778
- 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";
1458
+ readonly value: "const request =\n event && event.message && event.message.request\n ? event.message.request\n : {};\n\nconst unwrapNodeValue = function (value) {\n if (\n value &&\n typeof value === 'object' &&\n Object.prototype.hasOwnProperty.call(value, 'value')\n ) {\n return value.value;\n }\n return value;\n};\n\nconst toText = function (value) {\n const unwrapped = unwrapNodeValue(value);\n return typeof unwrapped === 'string' ? unwrapped : '';\n};\n\nconst toTimestampText = function (value) {\n const unwrapped = unwrapNodeValue(value);\n if (typeof unwrapped === 'string') {\n return unwrapped;\n }\n if (typeof unwrapped === 'number') {\n return String(unwrapped);\n }\n return '';\n};\n\nconst nowIso =\n toText(request.requestedAt) ||\n toTimestampText(event && event.timestamp ? event.timestamp : '');\n\nconst normalizeTimestamp = function (value) {\n if (typeof value !== 'string' || !value) {\n return '';\n }\n let digits = '';\n let index = 0;\n while (index < value.length) {\n const code = value.charCodeAt(index);\n if (code >= 48 && code <= 57) {\n digits += value.charAt(index);\n }\n index += 1;\n }\n if (digits.length < 14) {\n return '';\n }\n return digits.slice(0, 14);\n};\n\nconst toInteger = function (value, fallback) {\n const safeFallback =\n typeof fallback === 'number' && Number.isFinite(fallback)\n ? Math.trunc(fallback)\n : 0;\n const unwrapped = unwrapNodeValue(value);\n if (typeof unwrapped === 'number' && Number.isFinite(unwrapped)) {\n return Math.trunc(unwrapped);\n }\n if (typeof unwrapped !== 'string' || !unwrapped) {\n return safeFallback;\n }\n const parsed = Number(unwrapped);\n return Number.isFinite(parsed) ? Math.trunc(parsed) : safeFallback;\n};\n\nconst cloneObject = function (value) {\n const source = value && typeof value === 'object' ? value : {};\n const clone = {};\n Object.keys(source).forEach(function (key) {\n clone[key] = source[key];\n });\n return clone;\n};\n\nconst chargeAttemptId = toText(request.chargeAttemptId);\nconst amountMinor = toInteger(request.amountMinor, 0);\nconst counterpartyType = toText(request.counterpartyType);\nconst counterpartyId = toText(request.counterpartyId);\nconst requestedCurrency = toText(request.currency);\n\nconst chargeAttempts = document.canonical('/chargeAttempts') || {};\nconst nextChargeAttempts = cloneObject(chargeAttempts);\n\nconst existingAttempt =\n chargeAttemptId &&\n chargeAttempts[chargeAttemptId] &&\n typeof chargeAttempts[chargeAttemptId] === 'object'\n ? chargeAttempts[chargeAttemptId]\n : null;\nconst existingDecision =\n existingAttempt ? toText(existingAttempt.authorizationStatus) : '';\nconst existingReason =\n existingAttempt ? toText(existingAttempt.authorizationReason) : '';\n\nconst amountLimit = toInteger(document('/amountLimit'), 0);\nconst amountReserved = toInteger(document('/amountReserved'), 0);\nconst amountCaptured = toInteger(document('/amountCaptured'), 0);\nconst mandateCurrency = toText(document('/currency'));\nconst expiresAt = toText(document('/expiresAt'));\nconst revokedAt = toText(document('/revokedAt'));\nconst nowComparable = normalizeTimestamp(nowIso);\n\nconst allowedCounterparties = document.canonical('/allowedPaymentCounterparties');\nconst isCounterpartyAllowed =\n !Array.isArray(allowedCounterparties) ||\n allowedCounterparties.length === 0 ||\n allowedCounterparties.some(function (item) {\n return (\n item &&\n toText(item.counterpartyType) === counterpartyType &&\n toText(item.counterpartyId) === counterpartyId\n );\n });\n\nlet status = 'rejected';\nlet reason = '';\nlet nextAmountReserved = amountReserved;\n\nif (existingDecision === 'approved' || existingDecision === 'rejected') {\n status = existingDecision;\n reason = existingDecision === 'rejected' ? existingReason : '';\n} else if (!chargeAttemptId) {\n reason = 'Missing chargeAttemptId.';\n} else if (amountMinor <= 0) {\n reason = 'Amount must be greater than zero.';\n} else if (!requestedCurrency || requestedCurrency !== mandateCurrency) {\n reason = 'Currency does not match mandate currency.';\n} else if (revokedAt) {\n reason = 'Mandate is revoked.';\n} else if (\n expiresAt &&\n normalizeTimestamp(expiresAt) &&\n nowComparable &&\n normalizeTimestamp(expiresAt) < nowComparable\n) {\n reason = 'Mandate is expired.';\n} else if (!isCounterpartyAllowed) {\n reason = 'Counterparty is not allowed by mandate.';\n} else if (amountReserved + amountCaptured + amountMinor > amountLimit) {\n reason = 'Mandate amount limit exceeded.';\n} else {\n status = 'approved';\n nextAmountReserved = amountReserved + amountMinor;\n}\n\nif (chargeAttemptId && !existingDecision) {\n nextChargeAttempts[chargeAttemptId] = {\n amountMinor,\n currency: requestedCurrency,\n counterpartyType,\n counterpartyId,\n chargeMode:\n toText(request.chargeMode),\n authorizationStatus: status,\n authorizationReason: reason,\n authorizationRespondedAt: nowIso,\n authorizedAmountMinor: status === 'approved' ? amountMinor : 0,\n settled: false,\n lastSettlementRequestStatus: '',\n lastSettlementProcessingStatus: '',\n settlementReason: '',\n settlementRespondedAt: '',\n reservedDeltaMinor: 0,\n capturedDeltaMinor: 0,\n holdId: '',\n transactionId: ''\n };\n}\n\nconst remainingAmountMinor = Math.max(\n 0,\n amountLimit - (nextAmountReserved + amountCaptured)\n);\n\nconst responseEvent = {\n type: 'PayNote/Payment Mandate Spend Authorization Responded',\n chargeAttemptId,\n status,\n remainingAmountMinor,\n respondedAt: nowIso\n};\n\nif (reason) {\n responseEvent.reason = reason;\n}\n\nreturn {\n nextChargeAttempts: nextChargeAttempts,\n nextAmountReserved: nextAmountReserved,\n events: [responseEvent]\n};\n";
779
1459
  };
780
- readonly name: "Capture Delivery Failure Reason";
1460
+ readonly name: "Decide Spend Authorization";
781
1461
  readonly type: {
782
1462
  readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
783
1463
  };
@@ -794,12 +1474,13 @@ export declare const contents: {
794
1474
  readonly type: {
795
1475
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
796
1476
  };
797
- readonly value: "/deliveryStatus";
1477
+ readonly value: "/chargeAttempts";
798
1478
  };
799
1479
  readonly val: {
800
1480
  readonly type: {
801
- readonly blueId: "Guus3kHbivXvy5G93yhiKs3Pc8sxCc4XVvSo7CqLsQEc";
1481
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
802
1482
  };
1483
+ readonly value: "${steps['Decide Spend Authorization'].nextChargeAttempts}";
803
1484
  };
804
1485
  }, {
805
1486
  readonly op: {
@@ -812,17 +1493,17 @@ export declare const contents: {
812
1493
  readonly type: {
813
1494
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
814
1495
  };
815
- readonly value: "/deliveryError";
1496
+ readonly value: "/amountReserved";
816
1497
  };
817
1498
  readonly val: {
818
1499
  readonly type: {
819
1500
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
820
1501
  };
821
- readonly value: "${steps['Capture Delivery Failure Reason'].reason}";
1502
+ readonly value: "${steps['Decide Spend Authorization'].nextAmountReserved}";
822
1503
  };
823
1504
  }];
824
1505
  };
825
- readonly name: "Apply Delivery Failure";
1506
+ readonly name: "Persist Authorization Decision";
826
1507
  readonly type: {
827
1508
  readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
828
1509
  };
@@ -832,29 +1513,93 @@ export declare const contents: {
832
1513
  readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
833
1514
  };
834
1515
  };
835
- readonly updateTransactionIdentificationStatus: {
1516
+ readonly granteeChannel: {
1517
+ readonly description: "Grantee timeline channel (party allowed to use the mandate).";
1518
+ readonly type: {
1519
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
1520
+ };
1521
+ };
1522
+ readonly granterChannel: {
1523
+ readonly description: "Granting party timeline channel.";
1524
+ readonly type: {
1525
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
1526
+ };
1527
+ };
1528
+ readonly guarantorChannel: {
1529
+ readonly description: "Bank/admin channel executing mandate checks and settlement updates.";
1530
+ readonly type: {
1531
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
1532
+ };
1533
+ };
1534
+ readonly initialize: {
836
1535
  readonly channel: {
837
1536
  readonly type: {
838
1537
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
839
1538
  };
840
- readonly value: "payNoteDeliverer";
1539
+ readonly value: "initLifecycleChannel";
1540
+ };
1541
+ readonly steps: {
1542
+ readonly items: readonly [{
1543
+ readonly changeset: {
1544
+ readonly items: readonly [{
1545
+ readonly op: {
1546
+ readonly type: {
1547
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1548
+ };
1549
+ readonly value: "replace";
1550
+ };
1551
+ readonly path: {
1552
+ readonly type: {
1553
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1554
+ };
1555
+ readonly value: "/chargeAttempts";
1556
+ };
1557
+ readonly val: {};
1558
+ }];
1559
+ };
1560
+ readonly name: "Initialize mandate runtime state";
1561
+ readonly type: {
1562
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
1563
+ };
1564
+ }];
1565
+ };
1566
+ readonly type: {
1567
+ readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
1568
+ };
1569
+ };
1570
+ readonly initLifecycleChannel: {
1571
+ readonly event: {
1572
+ readonly type: {
1573
+ readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
1574
+ };
1575
+ };
1576
+ readonly type: {
1577
+ readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
841
1578
  };
1579
+ };
1580
+ readonly settleSpend: {
1581
+ readonly channel: {
1582
+ readonly type: {
1583
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1584
+ };
1585
+ readonly value: "guarantorChannel";
1586
+ };
1587
+ readonly description: "Apply final reserve/capture deltas for a previously authorized charge attempt.";
842
1588
  readonly request: {
843
- readonly description: "True when the transaction is identified.";
844
1589
  readonly type: {
845
- readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
1590
+ readonly blueId: "3TW3tRAQdYoMTFeeqmnWLR9JFibTVaJuiRJfJ3ggeVTJ";
846
1591
  };
847
1592
  };
848
1593
  readonly type: {
849
1594
  readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
850
1595
  };
851
1596
  };
852
- readonly updateTransactionIdentificationStatusImpl: {
1597
+ readonly settleSpendImpl: {
853
1598
  readonly operation: {
854
1599
  readonly type: {
855
1600
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
856
1601
  };
857
- readonly value: "updateTransactionIdentificationStatus";
1602
+ readonly value: "settleSpend";
858
1603
  };
859
1604
  readonly steps: {
860
1605
  readonly items: readonly [{
@@ -862,9 +1607,9 @@ export declare const contents: {
862
1607
  readonly type: {
863
1608
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
864
1609
  };
865
- 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";
1610
+ readonly value: "const request =\n event && event.message && event.message.request\n ? event.message.request\n : {};\n\nconst unwrapNodeValue = function (value) {\n if (\n value &&\n typeof value === 'object' &&\n Object.prototype.hasOwnProperty.call(value, 'value')\n ) {\n return value.value;\n }\n return value;\n};\n\nconst toText = function (value) {\n const unwrapped = unwrapNodeValue(value);\n return typeof unwrapped === 'string' ? unwrapped : '';\n};\n\nconst toTimestampText = function (value) {\n const unwrapped = unwrapNodeValue(value);\n if (typeof unwrapped === 'string') {\n return unwrapped;\n }\n if (typeof unwrapped === 'number') {\n return String(unwrapped);\n }\n return '';\n};\n\nconst nowIso =\n toText(request.settledAt) ||\n toTimestampText(event && event.timestamp ? event.timestamp : '');\n\nconst toInteger = function (value, fallback) {\n const safeFallback =\n typeof fallback === 'number' && Number.isFinite(fallback)\n ? Math.trunc(fallback)\n : 0;\n const unwrapped = unwrapNodeValue(value);\n if (typeof unwrapped === 'number' && Number.isFinite(unwrapped)) {\n return Math.trunc(unwrapped);\n }\n if (typeof unwrapped !== 'string' || !unwrapped) {\n return safeFallback;\n }\n const parsed = Number(unwrapped);\n return Number.isFinite(parsed) ? Math.trunc(parsed) : safeFallback;\n};\n\nconst cloneObject = function (value) {\n const source = value && typeof value === 'object' ? value : {};\n const clone = {};\n Object.keys(source).forEach(function (key) {\n clone[key] = source[key];\n });\n return clone;\n};\n\nconst chargeAttemptId = toText(request.chargeAttemptId);\nconst settlementStatus = toText(request.status);\nconst reservedDeltaMinor = toInteger(request.reservedDeltaMinor, 0);\nconst capturedDeltaMinor = toInteger(request.capturedDeltaMinor, 0);\n\nconst amountLimit = toInteger(document('/amountLimit'), 0);\nconst amountReserved = toInteger(document('/amountReserved'), 0);\nconst amountCaptured = toInteger(document('/amountCaptured'), 0);\n\nconst chargeAttempts = document.canonical('/chargeAttempts') || {};\nconst nextChargeAttempts = cloneObject(chargeAttempts);\nconst existingAttempt =\n chargeAttemptId &&\n chargeAttempts[chargeAttemptId] &&\n typeof chargeAttempts[chargeAttemptId] === 'object'\n ? chargeAttempts[chargeAttemptId]\n : null;\n\nconst alreadySettled = !!existingAttempt && existingAttempt.settled === true;\nconst approved =\n !!existingAttempt && toText(existingAttempt.authorizationStatus) === 'approved';\nconst authorizedAmount = toInteger(\n existingAttempt ? existingAttempt.authorizedAmountMinor : 0,\n 0\n);\n\nconst holdId = toText(request.holdId);\nconst transactionId = toText(request.transactionId);\nconst requestReason = toText(request.reason);\n\nlet status = 'rejected';\nlet reason = '';\nlet nextAmountReserved = amountReserved;\nlet nextAmountCaptured = amountCaptured;\nlet nextAttempt = existingAttempt ? cloneObject(existingAttempt) : null;\n\nif (!chargeAttemptId) {\n reason = 'Missing chargeAttemptId.';\n} else if (alreadySettled) {\n status = 'accepted';\n reason = 'Charge attempt already settled.';\n} else if (!approved) {\n reason = 'Charge attempt is not approved.';\n} else if (\n settlementStatus !== 'succeeded' &&\n settlementStatus !== 'failed'\n) {\n reason = 'Unsupported settlement status.';\n} else if (capturedDeltaMinor < 0) {\n reason = 'capturedDeltaMinor cannot be negative.';\n} else if (\n settlementStatus === 'failed' &&\n capturedDeltaMinor !== 0\n) {\n reason = 'capturedDeltaMinor must be 0 for failed settlement.';\n} else if (capturedDeltaMinor > authorizedAmount) {\n reason = 'capturedDeltaMinor exceeds authorized amount.';\n} else {\n const candidateAmountReserved = amountReserved + reservedDeltaMinor;\n const candidateAmountCaptured = amountCaptured + capturedDeltaMinor;\n const candidateUsed = candidateAmountReserved + candidateAmountCaptured;\n\n if (candidateAmountReserved < 0) {\n reason = 'Settlement would make amountReserved negative.';\n } else if (candidateAmountCaptured < 0) {\n reason = 'Settlement would make amountCaptured negative.';\n } else if (candidateUsed > amountLimit) {\n reason = 'Settlement would exceed amountLimit.';\n } else {\n status = 'accepted';\n nextAmountReserved = candidateAmountReserved;\n nextAmountCaptured = candidateAmountCaptured;\n nextAttempt = cloneObject(existingAttempt);\n nextAttempt.settled = true;\n nextAttempt.lastSettlementRequestStatus = settlementStatus;\n nextAttempt.lastSettlementProcessingStatus = 'accepted';\n nextAttempt.settlementReason = requestReason;\n nextAttempt.settlementRespondedAt = nowIso;\n nextAttempt.reservedDeltaMinor = reservedDeltaMinor;\n nextAttempt.capturedDeltaMinor = capturedDeltaMinor;\n nextAttempt.holdId = holdId;\n nextAttempt.transactionId = transactionId;\n nextChargeAttempts[chargeAttemptId] = nextAttempt;\n }\n}\n\nif (nextAttempt && status === 'rejected') {\n nextAttempt = cloneObject(nextAttempt);\n nextAttempt.lastSettlementRequestStatus = settlementStatus;\n nextAttempt.lastSettlementProcessingStatus = 'rejected';\n nextAttempt.settlementReason = reason;\n nextAttempt.settlementRespondedAt = nowIso;\n nextChargeAttempts[chargeAttemptId] = nextAttempt;\n}\n\nconst responseEvent = {\n type: 'PayNote/Payment Mandate Spend Settlement Responded',\n chargeAttemptId,\n status,\n amountReserved: nextAmountReserved,\n amountCaptured: nextAmountCaptured,\n respondedAt: nowIso\n};\n\nif (reason) {\n responseEvent.reason = reason;\n}\n\nreturn {\n nextChargeAttempts: nextChargeAttempts,\n nextAmountReserved: nextAmountReserved,\n nextAmountCaptured: nextAmountCaptured,\n events: [responseEvent]\n};\n";
866
1611
  };
867
- readonly name: "Classify Identification Result";
1612
+ readonly name: "Validate and Apply Settlement";
868
1613
  readonly type: {
869
1614
  readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
870
1615
  };
@@ -881,13 +1626,13 @@ export declare const contents: {
881
1626
  readonly type: {
882
1627
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
883
1628
  };
884
- readonly value: "/transactionIdentificationStatus";
1629
+ readonly value: "/chargeAttempts";
885
1630
  };
886
1631
  readonly val: {
887
1632
  readonly type: {
888
1633
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
889
1634
  };
890
- readonly value: "${steps['Classify Identification Result'].identificationStatus}";
1635
+ readonly value: "${steps['Validate and Apply Settlement'].nextChargeAttempts}";
891
1636
  };
892
1637
  }, {
893
1638
  readonly op: {
@@ -900,13 +1645,13 @@ export declare const contents: {
900
1645
  readonly type: {
901
1646
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
902
1647
  };
903
- readonly value: "/deliveryStatus";
1648
+ readonly value: "/amountReserved";
904
1649
  };
905
1650
  readonly val: {
906
1651
  readonly type: {
907
1652
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
908
1653
  };
909
- readonly value: "${steps['Classify Identification Result'].deliveryStatus}";
1654
+ readonly value: "${steps['Validate and Apply Settlement'].nextAmountReserved}";
910
1655
  };
911
1656
  }, {
912
1657
  readonly op: {
@@ -919,17 +1664,17 @@ export declare const contents: {
919
1664
  readonly type: {
920
1665
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
921
1666
  };
922
- readonly value: "/deliveryError";
1667
+ readonly value: "/amountCaptured";
923
1668
  };
924
1669
  readonly val: {
925
1670
  readonly type: {
926
1671
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
927
1672
  };
928
- readonly value: "${steps['Classify Identification Result'].deliveryError}";
1673
+ readonly value: "${steps['Validate and Apply Settlement'].nextAmountCaptured}";
929
1674
  };
930
1675
  }];
931
1676
  };
932
- readonly name: "Apply Identification Update";
1677
+ readonly name: "Persist Settlement";
933
1678
  readonly type: {
934
1679
  readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
935
1680
  };
@@ -940,42 +1685,74 @@ export declare const contents: {
940
1685
  };
941
1686
  };
942
1687
  };
943
- readonly deliveryError: {
944
- readonly description: "Error message when delivery fails.";
1688
+ readonly currency: {
1689
+ readonly description: "Currency code used for amountLimit validation.";
1690
+ readonly type: {
1691
+ readonly blueId: "CBnZ7aaNetj9KEqXpUWj5jvjKbmviLivP98T2EiyxiYc";
1692
+ };
1693
+ };
1694
+ readonly description: "Payment mandate authorizing a grantee to execute payment requests on behalf of a granter, under explicit limits, with deterministic spend tracking and optional linked PayNote bootstrap rules.\n";
1695
+ readonly expiresAt: {
1696
+ readonly description: "Optional mandate expiry timestamp.";
1697
+ readonly type: {
1698
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
1699
+ };
1700
+ };
1701
+ readonly granteeId: {
1702
+ readonly description: "Identifier interpreted according to granteeType.";
945
1703
  readonly type: {
946
1704
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
947
1705
  };
948
1706
  };
949
- readonly deliveryStatus: {
950
- readonly description: "High-level delivery status.";
1707
+ readonly granteeType: {
1708
+ readonly description: "Party allowed to invoke this mandate:\n- documentId\n- merchantId\n- customerId\n";
951
1709
  readonly type: {
952
- readonly blueId: "58B8orsFkxxy7bWqjLXJmtBs2b5rwnNQNbeoAbGhPkJc";
1710
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
953
1711
  };
954
1712
  };
955
- readonly description: "Tracks delivery of a PayNote through a deliverer (e.g., bank) to a receiver (payer - client).";
956
- readonly name: "PayNote Delivery";
957
- readonly payNoteBootstrapRequest: {
958
- readonly description: "PayNote bootstrap request details.";
959
- readonly document: {
960
- readonly type: {
961
- readonly blueId: "6HxvsQMTdbmynxNgqtxcNuCr2RhiLHowVinyD5h3fXmE";
962
- };
1713
+ readonly granterId: {
1714
+ readonly description: "Identifier of the granting party:\n- merchantId when granterType is merchant\n- customerId (bank user id) when granterType is customer\n";
1715
+ readonly type: {
1716
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
963
1717
  };
1718
+ };
1719
+ readonly granterType: {
1720
+ readonly description: "Party granting authority to use funds:\n- merchant\n- customer\n";
964
1721
  readonly type: {
965
- readonly blueId: "7JqBn4KcmZbHBBiQf3CAfpHBNaTKS1qhtkATsF7f6Sxg";
1722
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
966
1723
  };
967
1724
  };
968
- readonly transactionIdentificationStatus: {
969
- readonly description: "Identification state (pending, identified, failed).";
1725
+ readonly name: "Payment Mandate";
1726
+ readonly revokedAt: {
1727
+ readonly description: "Optional revocation timestamp. When set, mandate is inactive.";
1728
+ readonly type: {
1729
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
1730
+ };
1731
+ };
1732
+ readonly sourceAccount: {
1733
+ readonly description: "Funds source to use when this mandate executes: - root (uses root account context; for merchant this maps to active credit line) - specific account number\n";
970
1734
  readonly type: {
971
1735
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
972
1736
  };
973
1737
  };
974
1738
  };
975
- readonly AdKfkwRfzRUxUKSzhRfYANsaUBNnz4u6JFWR66qhzyZe: {
976
- readonly description: "The Guarantor denies the creation of the PayNote.";
977
- readonly name: "PayNote Rejected";
1739
+ readonly CFoaaYn29o7Mg7VaN7bkM87KrfE8fvnVYWkGXd6YnQ7S: {
1740
+ readonly description: "Decision response for a card charge request.";
1741
+ readonly name: "Card Charge Responded";
1742
+ readonly paymentMandateDocumentId: {
1743
+ readonly description: "Payment Mandate document id used for this charge decision when available.";
1744
+ readonly type: {
1745
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1746
+ };
1747
+ };
978
1748
  readonly reason: {
1749
+ readonly description: "Optional explanation for rejected or pending decisions.";
1750
+ readonly type: {
1751
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1752
+ };
1753
+ };
1754
+ readonly status: {
1755
+ readonly description: "Request decision status (\"accepted\" | \"rejected\" | \"pending\").";
979
1756
  readonly type: {
980
1757
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
981
1758
  };
@@ -984,152 +1761,166 @@ export declare const contents: {
984
1761
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
985
1762
  };
986
1763
  };
987
- readonly AopfdGqnwcxsw4mJzXbmjDMnASRtkce9BZB1n6QSRNXX: {
988
- readonly amountReserved: {
1764
+ readonly CFqiZigjKE5JatANkaAkWw2NbgvEmb2BVEVPf3ckUrWg: {
1765
+ readonly amountReleased: {
989
1766
  readonly type: {
990
1767
  readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
991
1768
  };
992
1769
  };
993
- readonly description: "The Guarantor confirms that funds have been successfully reserved (held).";
994
- readonly name: "Funds Reserved";
1770
+ readonly description: "The Guarantor confirms that previously reserved funds have been released.";
1771
+ readonly name: "Reservation Released";
995
1772
  readonly type: {
996
1773
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
997
1774
  };
998
1775
  };
999
- readonly B2iherBskP5f4x7x31GahNmsJtyzian6ZN92b8kE1E5q: {
1000
- readonly description: "Notification that card transaction monitoring was rejected.";
1001
- readonly events: {
1002
- readonly itemType: {
1003
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1004
- };
1005
- readonly type: {
1006
- readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
1007
- };
1008
- };
1009
- readonly name: "Card Transaction Monitoring Request Rejected";
1010
- readonly reason: {
1011
- readonly description: "Reason monitoring was rejected.";
1776
+ readonly Da7ZSyWgvMyTfwDVhAgCkGf3H8dwHhouHsHgNzg3DZ2j: {
1777
+ readonly decision: {
1778
+ readonly description: "Attempted decision (accepted or rejected).";
1012
1779
  readonly type: {
1013
1780
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1014
1781
  };
1015
1782
  };
1016
- readonly rejectedAt: {
1017
- readonly description: "Timestamp (microseconds since epoch) when monitoring was rejected.";
1783
+ readonly decisionAt: {
1784
+ readonly description: "Timestamp provided with the decision, if any.";
1018
1785
  readonly type: {
1019
- readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1786
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
1020
1787
  };
1021
1788
  };
1022
- readonly targetMerchantId: {
1023
- readonly description: "External merchant identifier requested for monitoring.";
1789
+ readonly description: "The client's decision was discarded because it could not be applied in the current delivery state.";
1790
+ readonly name: "PayNote Client Decision Discarded";
1791
+ readonly reason: {
1792
+ readonly description: "Validation reason for discarding the decision.";
1024
1793
  readonly type: {
1025
1794
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1026
1795
  };
1027
1796
  };
1028
1797
  readonly type: {
1029
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1798
+ readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
1030
1799
  };
1031
1800
  };
1032
- readonly BJvjorbC5ed5KTV7SxoV3CvrJXjrFPcFxY9QT4jHBbXi: {
1033
- readonly amountCaptured: {
1801
+ readonly DFKVw43E36kimqj64FyiiVxE9yNuB22SETFx5M4WAi9m: {
1802
+ readonly description: "The Guarantor declined the request to issue a Child PayNote.";
1803
+ readonly name: "Child PayNote Issuance Declined";
1804
+ readonly reason: {
1034
1805
  readonly type: {
1035
- readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1806
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1036
1807
  };
1037
1808
  };
1038
- readonly description: "The Guarantor confirms that funds have been successfully transferred to the Payee.";
1039
- readonly name: "Funds Captured";
1040
1809
  readonly type: {
1041
1810
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1042
1811
  };
1043
1812
  };
1044
- readonly BVLMcTzag3D2rvg8LoKQ3Htgoqsh77EAoiTLTxH5aVBE: {
1045
- readonly description: "The Payer requests to assign or change the Payee.";
1046
- readonly name: "Payee Assignment Requested";
1047
- readonly payeeEmail: {
1048
- readonly type: {
1049
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1813
+ readonly Dh2LtUN8Umc478kif8VWsNM1FrL5usVEeevv2GKnKP4F: {
1814
+ readonly amount: {
1815
+ readonly captured: {
1816
+ readonly description: "The amount that has been successfully captured.";
1817
+ readonly type: {
1818
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1819
+ };
1820
+ };
1821
+ readonly description: "The amounts associated with this PayNote.";
1822
+ readonly reserved: {
1823
+ readonly description: "The amount currently reserved by the Guarantor.";
1824
+ readonly type: {
1825
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1826
+ };
1827
+ };
1828
+ readonly total: {
1829
+ readonly description: "The maximum total value of this PayNote.";
1830
+ readonly type: {
1831
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1832
+ };
1050
1833
  };
1051
1834
  };
1052
- readonly type: {
1053
- readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1054
- };
1055
- };
1056
- readonly BYdTyyLphWQNKo1GBcnE1jQuaPyXexNnfzkXhMiRqmUr: {
1057
- readonly events: {
1058
- readonly itemType: {
1059
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1835
+ readonly contracts: {
1836
+ readonly guarantorChannel: {
1837
+ readonly type: {
1838
+ readonly blueId: "EvuCWsG1E6WJQg8QXmk6rwMANYTZjoLWVZ1vYQWUwdTH";
1839
+ };
1060
1840
  };
1061
- readonly type: {
1062
- readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
1841
+ readonly guarantorUpdate: {
1842
+ readonly channel: {
1843
+ readonly type: {
1844
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1845
+ };
1846
+ readonly value: "guarantorChannel";
1847
+ };
1848
+ readonly description: "Standard operation used by the guarantor (bank) to deliver events into the document.";
1849
+ readonly type: {
1850
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
1851
+ };
1852
+ };
1853
+ readonly guarantorUpdateImpl: {
1854
+ readonly description: "Re-emits provided events (MyOS-admin style).";
1855
+ readonly operation: {
1856
+ readonly type: {
1857
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1858
+ };
1859
+ readonly value: "guarantorUpdate";
1860
+ };
1861
+ readonly steps: {
1862
+ readonly items: readonly [{
1863
+ readonly code: {
1864
+ readonly type: {
1865
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1866
+ };
1867
+ readonly value: "return { events: event.message.request };\n";
1868
+ };
1869
+ readonly name: "EmitGuarantorEvents";
1870
+ readonly type: {
1871
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1872
+ };
1873
+ }];
1874
+ };
1875
+ readonly type: {
1876
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
1877
+ };
1063
1878
  };
1064
- };
1065
- readonly name: "Card Transaction Monitoring Stopped";
1066
- readonly reason: {
1067
- readonly type: {
1068
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1879
+ readonly payeeChannel: {
1880
+ readonly type: {
1881
+ readonly blueId: "EvuCWsG1E6WJQg8QXmk6rwMANYTZjoLWVZ1vYQWUwdTH";
1882
+ };
1069
1883
  };
1070
- };
1071
- readonly stoppedAt: {
1072
- readonly type: {
1073
- readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1884
+ readonly payerChannel: {
1885
+ readonly type: {
1886
+ readonly blueId: "EvuCWsG1E6WJQg8QXmk6rwMANYTZjoLWVZ1vYQWUwdTH";
1887
+ };
1074
1888
  };
1075
1889
  };
1076
- readonly targetMerchantId: {
1890
+ readonly currency: {
1891
+ readonly description: "The ISO 4217 currency code for the transaction.";
1077
1892
  readonly type: {
1078
1893
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1079
1894
  };
1080
1895
  };
1081
- readonly type: {
1082
- readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
1083
- };
1084
- };
1085
- readonly CFqiZigjKE5JatANkaAkWw2NbgvEmb2BVEVPf3ckUrWg: {
1086
- readonly amountReleased: {
1087
- readonly type: {
1088
- readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1089
- };
1090
- };
1091
- readonly description: "The Guarantor confirms that previously reserved funds have been released.";
1092
- readonly name: "Reservation Released";
1093
- readonly type: {
1094
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1095
- };
1096
- };
1097
- readonly Da7ZSyWgvMyTfwDVhAgCkGf3H8dwHhouHsHgNzg3DZ2j: {
1098
- readonly decision: {
1099
- readonly description: "Attempted decision (accepted or rejected).";
1100
- readonly type: {
1101
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1896
+ readonly description: "A verifiable instrument for managing a commitment of value between a Payer, Payee, and Guarantor.";
1897
+ readonly name: "PayNote";
1898
+ readonly payNoteInitialStateDescription: {
1899
+ readonly details: {
1900
+ readonly description: "Complete text description of the PayNote, with everything significant explained.\nMarkdown format suggested.\n";
1901
+ readonly type: {
1902
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1903
+ };
1102
1904
  };
1103
- };
1104
- readonly decisionAt: {
1105
- readonly description: "Timestamp provided with the decision, if any.";
1106
- readonly type: {
1107
- readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
1905
+ readonly summary: {
1906
+ readonly description: "General information about the PayNote. It should capture the most important\ninformation, most critical or non-standard elements should be covered here.\nMarkdown format suggested.\n";
1907
+ readonly type: {
1908
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1909
+ };
1108
1910
  };
1109
1911
  };
1110
- readonly description: "The client's decision was discarded because it could not be applied in the current delivery state.";
1111
- readonly name: "PayNote Client Decision Discarded";
1112
- readonly reason: {
1113
- readonly description: "Validation reason for discarding the decision.";
1912
+ readonly status: {
1913
+ readonly description: "The current state of the PayNote (e.g., Pending, Approved, Reserved, Captured, Released, Rejected).";
1114
1914
  readonly type: {
1115
1915
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1116
1916
  };
1117
1917
  };
1118
- readonly type: {
1119
- readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
1120
- };
1121
- };
1122
- readonly DFKVw43E36kimqj64FyiiVxE9yNuB22SETFx5M4WAi9m: {
1123
- readonly description: "The Guarantor declined the request to issue a Child PayNote.";
1124
- readonly name: "Child PayNote Issuance Declined";
1125
- readonly reason: {
1918
+ readonly transactionStatus: {
1919
+ readonly description: "Optional status snapshot. If present in proposal, bank validates it; if missing bank sets it at bootstrap.";
1126
1920
  readonly type: {
1127
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1921
+ readonly blueId: "FutWoAEUEb3wkmEm4YP4JGFPtu3B3PQ3m71BmnRFFnsQ";
1128
1922
  };
1129
1923
  };
1130
- readonly type: {
1131
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1132
- };
1133
1924
  };
1134
1925
  readonly DhxGBjA6Gow9E6ZKZ49SdziihHZ4PeXxFNatSqmesKZu: {
1135
1926
  readonly cardTransactionDetails: {
@@ -1210,6 +2001,28 @@ export declare const contents: {
1210
2001
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1211
2002
  };
1212
2003
  };
2004
+ readonly F4gfZeY8P8dkfwNSbEfq7xQ8axiHdfqgzGQQr3HLDyzC: {
2005
+ readonly amount: {
2006
+ readonly description: "Charge amount in minor currency units.";
2007
+ readonly type: {
2008
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
2009
+ };
2010
+ };
2011
+ readonly description: "Request to create a reverse-direction card charge and capture it immediately.";
2012
+ readonly name: "Reverse Card Charge and Capture Immediately Requested";
2013
+ readonly paymentMandateDocumentId: {
2014
+ readonly description: "Optional Payment Mandate document id used to authorize charge execution.";
2015
+ readonly type: {
2016
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2017
+ };
2018
+ };
2019
+ readonly paynote: {
2020
+ readonly description: "Optional PayNote document to bootstrap for the created charge context.";
2021
+ };
2022
+ readonly type: {
2023
+ readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
2024
+ };
2025
+ };
1213
2026
  readonly FAZCx2s5eq9zPV64LdHNFYbjjxD3ci1ZqyTcQk5WhXAs: {
1214
2027
  readonly childPayNote: {
1215
2028
  readonly description: "Content of the issued PayNote";
@@ -1220,6 +2033,28 @@ export declare const contents: {
1220
2033
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1221
2034
  };
1222
2035
  };
2036
+ readonly Fg5CEPi8Dbr1vBwGjzf8PbQNfuWfPP7HcLFChYwpRJq5: {
2037
+ readonly amount: {
2038
+ readonly description: "Charge amount in minor currency units.";
2039
+ readonly type: {
2040
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
2041
+ };
2042
+ };
2043
+ readonly description: "Request to create a reverse-direction card charge (merchant to card owner) in root context.";
2044
+ readonly name: "Reverse Card Charge Requested";
2045
+ readonly paymentMandateDocumentId: {
2046
+ readonly description: "Optional Payment Mandate document id used to authorize charge execution.";
2047
+ readonly type: {
2048
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2049
+ };
2050
+ };
2051
+ readonly paynote: {
2052
+ readonly description: "Optional PayNote document to bootstrap for the created charge context.";
2053
+ };
2054
+ readonly type: {
2055
+ readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
2056
+ };
2057
+ };
1223
2058
  readonly FUh3TARSh4TjnWKAkM5ydjFWLWEmrFByKMBQzcgQfqRW: {
1224
2059
  readonly description: "The Guarantor attempted the transfer, but it failed for a technical reason.";
1225
2060
  readonly name: "Capture Failed";
@@ -1318,40 +2153,11 @@ export declare const contents: {
1318
2153
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1319
2154
  };
1320
2155
  };
1321
- readonly GHjSaPm9ceTkRZn2QGxRkzptkiyVYi7AvF8LRgvWzVc2: {
1322
- readonly amountMinor: {
1323
- readonly description: "Purchase amount in minor currency units.";
1324
- readonly type: {
1325
- readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1326
- };
1327
- };
1328
- readonly cardTransactionDetails: {
1329
- readonly type: {
1330
- readonly blueId: "GZLRe2fEsvs1v7dVcg9kEnCrWEdM3cUZYhFH4XqN5jQT";
1331
- };
1332
- };
1333
- readonly currency: {
1334
- readonly description: "ISO 4217 currency code.";
1335
- readonly type: {
1336
- readonly blueId: "CBnZ7aaNetj9KEqXpUWj5jvjKbmviLivP98T2EiyxiYc";
1337
- };
1338
- };
1339
- readonly description: "Bank reports a posted card transaction into the requesting contract timeline.";
1340
- readonly merchantId: {
1341
- readonly description: "External merchant identifier for the purchase.";
1342
- readonly type: {
1343
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1344
- };
1345
- };
1346
- readonly name: "Card Transaction Report";
1347
- readonly occurredAt: {
1348
- readonly description: "Timestamp when the transaction occurred.";
1349
- readonly type: {
1350
- readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
1351
- };
1352
- };
1353
- readonly transactionId: {
1354
- readonly description: "Unique transaction identifier used for idempotency.";
2156
+ readonly GtFG4Nt2fAamUZi9fSZNotab3BEUuv236LuPAcErVj5y: {
2157
+ readonly description: "Delivery failed for a non-identification reason.";
2158
+ readonly name: "PayNote Delivery Failed";
2159
+ readonly reason: {
2160
+ readonly description: "Failure reason.";
1355
2161
  readonly type: {
1356
2162
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1357
2163
  };
@@ -1360,11 +2166,11 @@ export declare const contents: {
1360
2166
  readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
1361
2167
  };
1362
2168
  };
1363
- readonly GtFG4Nt2fAamUZi9fSZNotab3BEUuv236LuPAcErVj5y: {
1364
- readonly description: "Delivery failed for a non-identification reason.";
1365
- readonly name: "PayNote Delivery Failed";
2169
+ readonly GTwsVrbVb31sMub1vvU2KyY2nA8ekKWYDoqNAB1m4Vh2: {
2170
+ readonly description: "Payment Mandate attachment to PayNote failed.";
2171
+ readonly name: "Payment Mandate Attachment Failed";
1366
2172
  readonly reason: {
1367
- readonly description: "Failure reason.";
2173
+ readonly description: "Failure reason explaining why attachment failed.";
1368
2174
  readonly type: {
1369
2175
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1370
2176
  };
@@ -1433,5 +2239,148 @@ export declare const contents: {
1433
2239
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1434
2240
  };
1435
2241
  };
2242
+ readonly Hrz9kzWXTXDfK2XEkRJtHqdKzHaQq919NcRL8QMAvEEQ: {
2243
+ readonly description: "Final outcome for a card charge request.";
2244
+ readonly holdId: {
2245
+ readonly description: "Hold id created for authorize-only or authorize+capture flows.";
2246
+ readonly type: {
2247
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2248
+ };
2249
+ };
2250
+ readonly name: "Card Charge Completed";
2251
+ readonly reason: {
2252
+ readonly description: "Optional failure reason.";
2253
+ readonly type: {
2254
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2255
+ };
2256
+ };
2257
+ readonly status: {
2258
+ readonly description: "Completion status (\"succeeded\" | \"failed\").";
2259
+ readonly type: {
2260
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2261
+ };
2262
+ };
2263
+ readonly transactionId: {
2264
+ readonly description: "Resulting transaction id when available.";
2265
+ readonly type: {
2266
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2267
+ };
2268
+ };
2269
+ readonly type: {
2270
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2271
+ };
2272
+ };
2273
+ readonly JADRqXZ7UWNDqPt9Zhnn6831Nz2X5yeSuyew4hu6ciVq: {
2274
+ readonly amountMinor: {
2275
+ readonly description: "Requested amount in minor currency units.";
2276
+ readonly type: {
2277
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
2278
+ };
2279
+ };
2280
+ readonly authorizationReason: {
2281
+ readonly description: "Optional authorization rejection reason.";
2282
+ readonly type: {
2283
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2284
+ };
2285
+ };
2286
+ readonly authorizationRespondedAt: {
2287
+ readonly description: "Timestamp of authorization decision response.";
2288
+ readonly type: {
2289
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
2290
+ };
2291
+ };
2292
+ readonly authorizationStatus: {
2293
+ readonly description: "Authorization decision status (\"approved\" | \"rejected\").";
2294
+ readonly type: {
2295
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2296
+ };
2297
+ };
2298
+ readonly authorizedAmountMinor: {
2299
+ readonly description: "Authorized amount reserved against mandate capacity for this attempt.";
2300
+ readonly type: {
2301
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
2302
+ };
2303
+ };
2304
+ readonly capturedDeltaMinor: {
2305
+ readonly description: "Captured delta applied for accepted settlement.";
2306
+ readonly type: {
2307
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
2308
+ };
2309
+ };
2310
+ readonly chargeMode: {
2311
+ readonly description: "Requested charge mode (\"authorize_only\" | \"authorize_and_capture\").";
2312
+ readonly type: {
2313
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2314
+ };
2315
+ };
2316
+ readonly counterpartyId: {
2317
+ readonly description: "Counterparty identifier interpreted according to counterpartyType.";
2318
+ readonly type: {
2319
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2320
+ };
2321
+ };
2322
+ readonly counterpartyType: {
2323
+ readonly description: "Counterparty identifier type (\"merchantId\" | \"customerId\" | \"accountNumber\").";
2324
+ readonly type: {
2325
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2326
+ };
2327
+ };
2328
+ readonly currency: {
2329
+ readonly description: "Requested currency.";
2330
+ readonly type: {
2331
+ readonly blueId: "CBnZ7aaNetj9KEqXpUWj5jvjKbmviLivP98T2EiyxiYc";
2332
+ };
2333
+ };
2334
+ readonly description: "Stateful record for a single charge attempt tracked by Payment Mandate.";
2335
+ readonly holdId: {
2336
+ readonly description: "Optional hold id associated with settlement.";
2337
+ readonly type: {
2338
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2339
+ };
2340
+ };
2341
+ readonly lastSettlementProcessingStatus: {
2342
+ readonly description: "Mandate processing status for last settlement (\"accepted\" | \"rejected\").";
2343
+ readonly type: {
2344
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2345
+ };
2346
+ };
2347
+ readonly lastSettlementRequestStatus: {
2348
+ readonly description: "Last settlement request status received from bank (\"succeeded\" | \"failed\").";
2349
+ readonly type: {
2350
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2351
+ };
2352
+ };
2353
+ readonly name: "Payment Mandate Charge Attempt State";
2354
+ readonly reservedDeltaMinor: {
2355
+ readonly description: "Reserved delta applied for accepted settlement.";
2356
+ readonly type: {
2357
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
2358
+ };
2359
+ };
2360
+ readonly settled: {
2361
+ readonly description: "Whether mandate accepted settlement for this attempt.";
2362
+ readonly type: {
2363
+ readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
2364
+ };
2365
+ };
2366
+ readonly settlementReason: {
2367
+ readonly description: "Optional settlement rejection/info reason.";
2368
+ readonly type: {
2369
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2370
+ };
2371
+ };
2372
+ readonly settlementRespondedAt: {
2373
+ readonly description: "Timestamp of last settlement processing response.";
2374
+ readonly type: {
2375
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
2376
+ };
2377
+ };
2378
+ readonly transactionId: {
2379
+ readonly description: "Optional transaction id associated with settlement.";
2380
+ readonly type: {
2381
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2382
+ };
2383
+ };
2384
+ };
1436
2385
  };
1437
2386
  //# sourceMappingURL=index.d.ts.map