@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
@@ -0,0 +1,390 @@
1
+ export declare const PaymentMandate: {
2
+ readonly allowedPaymentCounterparties: {
3
+ readonly description: "Optional payment counterparty allowlist. Missing list means wildcard (any counterparty is allowed).\n";
4
+ readonly itemType: {
5
+ readonly counterpartyId: {
6
+ readonly description: "Counterparty identifier interpreted according to counterpartyType.";
7
+ readonly type: {
8
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
9
+ };
10
+ };
11
+ readonly counterpartyType: {
12
+ readonly description: "Allowed payment counterparty identifier type:\n- merchantId\n- customerId\n- accountNumber\n";
13
+ readonly type: {
14
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
15
+ };
16
+ };
17
+ };
18
+ readonly type: {
19
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
20
+ };
21
+ };
22
+ readonly allowedPayNotes: {
23
+ 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";
24
+ readonly itemType: {
25
+ readonly documentBlueId: {
26
+ readonly description: "Optional blue-id of an allowed concrete PayNote document. Mutually exclusive with typeBlueId.\n";
27
+ readonly type: {
28
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
29
+ };
30
+ };
31
+ readonly typeBlueId: {
32
+ readonly description: "Optional blue-id of an allowed PayNote type. Mutually exclusive with documentBlueId.\n";
33
+ readonly type: {
34
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
35
+ };
36
+ };
37
+ };
38
+ readonly type: {
39
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
40
+ };
41
+ };
42
+ readonly allowLinkedPayNote: {
43
+ readonly description: "Whether this mandate allows linked PayNote startup after charge execution.";
44
+ readonly type: {
45
+ readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
46
+ };
47
+ };
48
+ readonly amountCaptured: {
49
+ readonly description: "Running captured amount in minor currency units. Increased after successful capture.\n";
50
+ readonly type: {
51
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
52
+ };
53
+ };
54
+ readonly amountLimit: {
55
+ readonly description: "Maximum amount in minor currency units allowed by this mandate.";
56
+ readonly type: {
57
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
58
+ };
59
+ };
60
+ readonly amountReserved: {
61
+ readonly description: "Running reserved amount in minor currency units. Increased after successful reserve/authorize, decreased after release/capture.\n";
62
+ readonly type: {
63
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
64
+ };
65
+ };
66
+ readonly chargeAttempts: {
67
+ readonly description: "Stateful map of chargeAttemptId -> attempt state (authorization + settlement).";
68
+ readonly keyType: {
69
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
70
+ };
71
+ readonly type: {
72
+ readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
73
+ };
74
+ readonly valueType: {
75
+ readonly blueId: "JADRqXZ7UWNDqPt9Zhnn6831Nz2X5yeSuyew4hu6ciVq";
76
+ };
77
+ };
78
+ readonly contracts: {
79
+ readonly authorizeSpend: {
80
+ readonly channel: {
81
+ readonly type: {
82
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
83
+ };
84
+ readonly value: "guarantorChannel";
85
+ };
86
+ readonly description: "Validate a charge attempt against mandate policy and reserve capacity.";
87
+ readonly request: {
88
+ readonly type: {
89
+ readonly blueId: "4STBHLJjxjCZVgeW2ScFfmsx8Vm16FenEbaNMyL8ZJUT";
90
+ };
91
+ };
92
+ readonly type: {
93
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
94
+ };
95
+ };
96
+ readonly authorizeSpendImpl: {
97
+ readonly operation: {
98
+ readonly type: {
99
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
100
+ };
101
+ readonly value: "authorizeSpend";
102
+ };
103
+ readonly steps: {
104
+ readonly items: readonly [{
105
+ readonly code: {
106
+ readonly type: {
107
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
108
+ };
109
+ 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";
110
+ };
111
+ readonly name: "Decide Spend Authorization";
112
+ readonly type: {
113
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
114
+ };
115
+ }, {
116
+ readonly changeset: {
117
+ readonly items: readonly [{
118
+ readonly op: {
119
+ readonly type: {
120
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
121
+ };
122
+ readonly value: "replace";
123
+ };
124
+ readonly path: {
125
+ readonly type: {
126
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
127
+ };
128
+ readonly value: "/chargeAttempts";
129
+ };
130
+ readonly val: {
131
+ readonly type: {
132
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
133
+ };
134
+ readonly value: "${steps['Decide Spend Authorization'].nextChargeAttempts}";
135
+ };
136
+ }, {
137
+ readonly op: {
138
+ readonly type: {
139
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
140
+ };
141
+ readonly value: "replace";
142
+ };
143
+ readonly path: {
144
+ readonly type: {
145
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
146
+ };
147
+ readonly value: "/amountReserved";
148
+ };
149
+ readonly val: {
150
+ readonly type: {
151
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
152
+ };
153
+ readonly value: "${steps['Decide Spend Authorization'].nextAmountReserved}";
154
+ };
155
+ }];
156
+ };
157
+ readonly name: "Persist Authorization Decision";
158
+ readonly type: {
159
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
160
+ };
161
+ }];
162
+ };
163
+ readonly type: {
164
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
165
+ };
166
+ };
167
+ readonly granteeChannel: {
168
+ readonly description: "Grantee timeline channel (party allowed to use the mandate).";
169
+ readonly type: {
170
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
171
+ };
172
+ };
173
+ readonly granterChannel: {
174
+ readonly description: "Granting party timeline channel.";
175
+ readonly type: {
176
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
177
+ };
178
+ };
179
+ readonly guarantorChannel: {
180
+ readonly description: "Bank/admin channel executing mandate checks and settlement updates.";
181
+ readonly type: {
182
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
183
+ };
184
+ };
185
+ readonly initialize: {
186
+ readonly channel: {
187
+ readonly type: {
188
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
189
+ };
190
+ readonly value: "initLifecycleChannel";
191
+ };
192
+ readonly steps: {
193
+ readonly items: readonly [{
194
+ readonly changeset: {
195
+ readonly items: readonly [{
196
+ readonly op: {
197
+ readonly type: {
198
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
199
+ };
200
+ readonly value: "replace";
201
+ };
202
+ readonly path: {
203
+ readonly type: {
204
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
205
+ };
206
+ readonly value: "/chargeAttempts";
207
+ };
208
+ readonly val: {};
209
+ }];
210
+ };
211
+ readonly name: "Initialize mandate runtime state";
212
+ readonly type: {
213
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
214
+ };
215
+ }];
216
+ };
217
+ readonly type: {
218
+ readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
219
+ };
220
+ };
221
+ readonly initLifecycleChannel: {
222
+ readonly event: {
223
+ readonly type: {
224
+ readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
225
+ };
226
+ };
227
+ readonly type: {
228
+ readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
229
+ };
230
+ };
231
+ readonly settleSpend: {
232
+ readonly channel: {
233
+ readonly type: {
234
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
235
+ };
236
+ readonly value: "guarantorChannel";
237
+ };
238
+ readonly description: "Apply final reserve/capture deltas for a previously authorized charge attempt.";
239
+ readonly request: {
240
+ readonly type: {
241
+ readonly blueId: "3TW3tRAQdYoMTFeeqmnWLR9JFibTVaJuiRJfJ3ggeVTJ";
242
+ };
243
+ };
244
+ readonly type: {
245
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
246
+ };
247
+ };
248
+ readonly settleSpendImpl: {
249
+ readonly operation: {
250
+ readonly type: {
251
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
252
+ };
253
+ readonly value: "settleSpend";
254
+ };
255
+ readonly steps: {
256
+ readonly items: readonly [{
257
+ readonly code: {
258
+ readonly type: {
259
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
260
+ };
261
+ 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";
262
+ };
263
+ readonly name: "Validate and Apply Settlement";
264
+ readonly type: {
265
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
266
+ };
267
+ }, {
268
+ readonly changeset: {
269
+ readonly items: readonly [{
270
+ readonly op: {
271
+ readonly type: {
272
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
273
+ };
274
+ readonly value: "replace";
275
+ };
276
+ readonly path: {
277
+ readonly type: {
278
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
279
+ };
280
+ readonly value: "/chargeAttempts";
281
+ };
282
+ readonly val: {
283
+ readonly type: {
284
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
285
+ };
286
+ readonly value: "${steps['Validate and Apply Settlement'].nextChargeAttempts}";
287
+ };
288
+ }, {
289
+ readonly op: {
290
+ readonly type: {
291
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
292
+ };
293
+ readonly value: "replace";
294
+ };
295
+ readonly path: {
296
+ readonly type: {
297
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
298
+ };
299
+ readonly value: "/amountReserved";
300
+ };
301
+ readonly val: {
302
+ readonly type: {
303
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
304
+ };
305
+ readonly value: "${steps['Validate and Apply Settlement'].nextAmountReserved}";
306
+ };
307
+ }, {
308
+ readonly op: {
309
+ readonly type: {
310
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
311
+ };
312
+ readonly value: "replace";
313
+ };
314
+ readonly path: {
315
+ readonly type: {
316
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
317
+ };
318
+ readonly value: "/amountCaptured";
319
+ };
320
+ readonly val: {
321
+ readonly type: {
322
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
323
+ };
324
+ readonly value: "${steps['Validate and Apply Settlement'].nextAmountCaptured}";
325
+ };
326
+ }];
327
+ };
328
+ readonly name: "Persist Settlement";
329
+ readonly type: {
330
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
331
+ };
332
+ }];
333
+ };
334
+ readonly type: {
335
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
336
+ };
337
+ };
338
+ };
339
+ readonly currency: {
340
+ readonly description: "Currency code used for amountLimit validation.";
341
+ readonly type: {
342
+ readonly blueId: "CBnZ7aaNetj9KEqXpUWj5jvjKbmviLivP98T2EiyxiYc";
343
+ };
344
+ };
345
+ 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";
346
+ readonly expiresAt: {
347
+ readonly description: "Optional mandate expiry timestamp.";
348
+ readonly type: {
349
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
350
+ };
351
+ };
352
+ readonly granteeId: {
353
+ readonly description: "Identifier interpreted according to granteeType.";
354
+ readonly type: {
355
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
356
+ };
357
+ };
358
+ readonly granteeType: {
359
+ readonly description: "Party allowed to invoke this mandate:\n- documentId\n- merchantId\n- customerId\n";
360
+ readonly type: {
361
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
362
+ };
363
+ };
364
+ readonly granterId: {
365
+ readonly description: "Identifier of the granting party:\n- merchantId when granterType is merchant\n- customerId (bank user id) when granterType is customer\n";
366
+ readonly type: {
367
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
368
+ };
369
+ };
370
+ readonly granterType: {
371
+ readonly description: "Party granting authority to use funds:\n- merchant\n- customer\n";
372
+ readonly type: {
373
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
374
+ };
375
+ };
376
+ readonly name: "Payment Mandate";
377
+ readonly revokedAt: {
378
+ readonly description: "Optional revocation timestamp. When set, mandate is inactive.";
379
+ readonly type: {
380
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
381
+ };
382
+ };
383
+ readonly sourceAccount: {
384
+ 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";
385
+ readonly type: {
386
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
387
+ };
388
+ };
389
+ };
390
+ //# sourceMappingURL=PaymentMandate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaymentMandate.d.ts","sourceRoot":"","sources":["../../../../src/packages/paynote/contents/PaymentMandate.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAibjB,CAAC"}