@blue-repository/types 0.18.0 → 0.19.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 (72) hide show
  1. package/README.md +1 -1
  2. package/dist/meta.d.ts +2 -2
  3. package/dist/meta.d.ts.map +1 -1
  4. package/dist/meta.js +1 -0
  5. package/dist/meta.js.map +1 -1
  6. package/dist/packages/paynote/blue-ids.d.ts +6 -7
  7. package/dist/packages/paynote/blue-ids.d.ts.map +1 -1
  8. package/dist/packages/paynote/blue-ids.js +6 -7
  9. package/dist/packages/paynote/blue-ids.js.map +1 -1
  10. package/dist/packages/paynote/contents/PayNoteDelivery.d.ts +1 -1
  11. package/dist/packages/paynote/contents/PayNoteDelivery.js +1 -1
  12. package/dist/packages/paynote/contents/PaymentMandate.d.ts +119 -6
  13. package/dist/packages/paynote/contents/PaymentMandate.d.ts.map +1 -1
  14. package/dist/packages/paynote/contents/PaymentMandate.js +119 -6
  15. package/dist/packages/paynote/contents/PaymentMandate.js.map +1 -1
  16. package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationRequested.d.ts +3 -9
  17. package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationRequested.d.ts.map +1 -1
  18. package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationRequested.js +3 -9
  19. package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationRequested.js.map +1 -1
  20. package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationResponded.d.ts +1 -1
  21. package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationResponded.js +1 -1
  22. package/dist/packages/paynote/contents/PaymentMandateSpendSettled.d.ts +12 -6
  23. package/dist/packages/paynote/contents/PaymentMandateSpendSettled.d.ts.map +1 -1
  24. package/dist/packages/paynote/contents/PaymentMandateSpendSettled.js +12 -6
  25. package/dist/packages/paynote/contents/PaymentMandateSpendSettled.js.map +1 -1
  26. package/dist/packages/paynote/contents/PaymentMandateSpendSettlementResponded.d.ts +7 -1
  27. package/dist/packages/paynote/contents/PaymentMandateSpendSettlementResponded.d.ts.map +1 -1
  28. package/dist/packages/paynote/contents/PaymentMandateSpendSettlementResponded.js +7 -1
  29. package/dist/packages/paynote/contents/PaymentMandateSpendSettlementResponded.js.map +1 -1
  30. package/dist/packages/paynote/contents/index.d.ts +1355 -1349
  31. package/dist/packages/paynote/contents/index.d.ts.map +1 -1
  32. package/dist/packages/paynote/contents/index.js +18 -21
  33. package/dist/packages/paynote/contents/index.js.map +1 -1
  34. package/dist/packages/paynote/index.d.ts +1427 -1520
  35. package/dist/packages/paynote/index.d.ts.map +1 -1
  36. package/dist/packages/paynote/meta.d.ts +24 -34
  37. package/dist/packages/paynote/meta.d.ts.map +1 -1
  38. package/dist/packages/paynote/meta.js +18 -29
  39. package/dist/packages/paynote/meta.js.map +1 -1
  40. package/dist/packages/paynote/schemas/PaymentMandate.d.ts +13 -18
  41. package/dist/packages/paynote/schemas/PaymentMandate.d.ts.map +1 -1
  42. package/dist/packages/paynote/schemas/PaymentMandate.js +21 -2
  43. package/dist/packages/paynote/schemas/PaymentMandate.js.map +1 -1
  44. package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationRequested.d.ts +3 -6
  45. package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationRequested.d.ts.map +1 -1
  46. package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationRequested.js +1 -2
  47. package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationRequested.js.map +1 -1
  48. package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationResponded.d.ts +3 -3
  49. package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationResponded.js +1 -1
  50. package/dist/packages/paynote/schemas/PaymentMandateSpendSettled.d.ts +6 -3
  51. package/dist/packages/paynote/schemas/PaymentMandateSpendSettled.d.ts.map +1 -1
  52. package/dist/packages/paynote/schemas/PaymentMandateSpendSettled.js +2 -1
  53. package/dist/packages/paynote/schemas/PaymentMandateSpendSettled.js.map +1 -1
  54. package/dist/packages/paynote/schemas/PaymentMandateSpendSettlementResponded.d.ts +6 -3
  55. package/dist/packages/paynote/schemas/PaymentMandateSpendSettlementResponded.d.ts.map +1 -1
  56. package/dist/packages/paynote/schemas/PaymentMandateSpendSettlementResponded.js +2 -1
  57. package/dist/packages/paynote/schemas/PaymentMandateSpendSettlementResponded.js.map +1 -1
  58. package/dist/packages/paynote/schemas/index.d.ts +37 -128
  59. package/dist/packages/paynote/schemas/index.d.ts.map +1 -1
  60. package/dist/packages/paynote/schemas/index.js +6 -9
  61. package/dist/packages/paynote/schemas/index.js.map +1 -1
  62. package/dist/repository.d.ts +1428 -1521
  63. package/dist/repository.d.ts.map +1 -1
  64. package/package.json +2 -2
  65. package/dist/packages/paynote/contents/PaymentMandateChargeAttemptState.d.ts +0 -113
  66. package/dist/packages/paynote/contents/PaymentMandateChargeAttemptState.d.ts.map +0 -1
  67. package/dist/packages/paynote/contents/PaymentMandateChargeAttemptState.js +0 -113
  68. package/dist/packages/paynote/contents/PaymentMandateChargeAttemptState.js.map +0 -1
  69. package/dist/packages/paynote/schemas/PaymentMandateChargeAttemptState.d.ts +0 -91
  70. package/dist/packages/paynote/schemas/PaymentMandateChargeAttemptState.d.ts.map +0 -1
  71. package/dist/packages/paynote/schemas/PaymentMandateChargeAttemptState.js +0 -28
  72. package/dist/packages/paynote/schemas/PaymentMandateChargeAttemptState.js.map +0 -1
package/README.md CHANGED
@@ -12,7 +12,7 @@ It contains:
12
12
  ## Repository Information
13
13
 
14
14
  - Repository name: **Blue Repository**
15
- - RepoBlueId: **9HWPEq8AoXuWtmsqgbxYqFqpuizJg1RdXmfEQA1qhsbi**
15
+ - RepoBlueId: **2X96EiMnmws7kmgtS3bgGm38NHGBwXeViAxmGqkxyiDT**
16
16
 
17
17
  ## Installation
18
18
 
package/dist/meta.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  export declare const name: "Blue Repository";
2
- export declare const repositoryVersions: readonly ["CQn9FCus2xkhgCdSZQqKQmKGRLKnqTboSyiJXn3pya68", "22xxEjtpjUSpttaRiHX5XbmGNcFhpgLipai685YMdMWv", "58apGqo2EExaKTQQJmjASbj8p7tHvrWkoQVjWeWzaox5", "C6oygUcsKjgqmSej2DMZkuDMqT7frfFL3t11gHGMFebY", "5FLaqPWQ7FJF5DFyCy1H4Ry9SHvX2ByfLbgJ2U3QTqUx", "EpNsiwie3wUf5Hqeo9fdiycvemBQm681hXEaWPEKNAuF", "EpCTtQtiyxppoVxqFbVZLiV7684165ENL3M2qwJigMFP", "9HWPEq8AoXuWtmsqgbxYqFqpuizJg1RdXmfEQA1qhsbi"];
2
+ export declare const repositoryVersions: readonly ["CQn9FCus2xkhgCdSZQqKQmKGRLKnqTboSyiJXn3pya68", "22xxEjtpjUSpttaRiHX5XbmGNcFhpgLipai685YMdMWv", "58apGqo2EExaKTQQJmjASbj8p7tHvrWkoQVjWeWzaox5", "C6oygUcsKjgqmSej2DMZkuDMqT7frfFL3t11gHGMFebY", "5FLaqPWQ7FJF5DFyCy1H4Ry9SHvX2ByfLbgJ2U3QTqUx", "EpNsiwie3wUf5Hqeo9fdiycvemBQm681hXEaWPEKNAuF", "EpCTtQtiyxppoVxqFbVZLiV7684165ENL3M2qwJigMFP", "9HWPEq8AoXuWtmsqgbxYqFqpuizJg1RdXmfEQA1qhsbi", "2X96EiMnmws7kmgtS3bgGm38NHGBwXeViAxmGqkxyiDT"];
3
3
  declare const _default: {
4
4
  readonly name: "Blue Repository";
5
- readonly repositoryVersions: readonly ["CQn9FCus2xkhgCdSZQqKQmKGRLKnqTboSyiJXn3pya68", "22xxEjtpjUSpttaRiHX5XbmGNcFhpgLipai685YMdMWv", "58apGqo2EExaKTQQJmjASbj8p7tHvrWkoQVjWeWzaox5", "C6oygUcsKjgqmSej2DMZkuDMqT7frfFL3t11gHGMFebY", "5FLaqPWQ7FJF5DFyCy1H4Ry9SHvX2ByfLbgJ2U3QTqUx", "EpNsiwie3wUf5Hqeo9fdiycvemBQm681hXEaWPEKNAuF", "EpCTtQtiyxppoVxqFbVZLiV7684165ENL3M2qwJigMFP", "9HWPEq8AoXuWtmsqgbxYqFqpuizJg1RdXmfEQA1qhsbi"];
5
+ readonly repositoryVersions: readonly ["CQn9FCus2xkhgCdSZQqKQmKGRLKnqTboSyiJXn3pya68", "22xxEjtpjUSpttaRiHX5XbmGNcFhpgLipai685YMdMWv", "58apGqo2EExaKTQQJmjASbj8p7tHvrWkoQVjWeWzaox5", "C6oygUcsKjgqmSej2DMZkuDMqT7frfFL3t11gHGMFebY", "5FLaqPWQ7FJF5DFyCy1H4Ry9SHvX2ByfLbgJ2U3QTqUx", "EpNsiwie3wUf5Hqeo9fdiycvemBQm681hXEaWPEKNAuF", "EpCTtQtiyxppoVxqFbVZLiV7684165ENL3M2qwJigMFP", "9HWPEq8AoXuWtmsqgbxYqFqpuizJg1RdXmfEQA1qhsbi", "2X96EiMnmws7kmgtS3bgGm38NHGBwXeViAxmGqkxyiDT"];
6
6
  };
7
7
  export default _default;
8
8
  //# sourceMappingURL=meta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../src/meta.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,EAAG,iBAA0B,CAAC;AAC/C,eAAO,MAAM,kBAAkB,2YASrB,CAAC;;;;;AACX,wBAAqD"}
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../src/meta.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,EAAG,iBAA0B,CAAC;AAC/C,eAAO,MAAM,kBAAkB,2bAUrB,CAAC;;;;;AACX,wBAAqD"}
package/dist/meta.js CHANGED
@@ -8,6 +8,7 @@ export const repositoryVersions = [
8
8
  'EpNsiwie3wUf5Hqeo9fdiycvemBQm681hXEaWPEKNAuF',
9
9
  'EpCTtQtiyxppoVxqFbVZLiV7684165ENL3M2qwJigMFP',
10
10
  '9HWPEq8AoXuWtmsqgbxYqFqpuizJg1RdXmfEQA1qhsbi',
11
+ '2X96EiMnmws7kmgtS3bgGm38NHGBwXeViAxmGqkxyiDT',
11
12
  ];
12
13
  export default { name, repositoryVersions };
13
14
  //# sourceMappingURL=meta.js.map
package/dist/meta.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../src/meta.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG,iBAA0B,CAAC;AAC/C,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;CACtC,CAAC;AACX,eAAe,EAAE,IAAI,EAAE,kBAAkB,EAAW,CAAC"}
1
+ {"version":3,"file":"meta.js","sourceRoot":"","sources":["../src/meta.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG,iBAA0B,CAAC;AAC/C,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;CACtC,CAAC;AACX,eAAe,EAAE,IAAI,EAAE,kBAAkB,EAAW,CAAC"}
@@ -27,14 +27,13 @@ export declare const blueIds: {
27
27
  readonly 'PayNote/Linked PayNote Started': "6vnMMWuq6qJ1hxLqL1P2ckCqC9JtJF3QNW8s7rMTgZ4Q";
28
28
  readonly 'PayNote/Merchant To Customer PayNote': "9dJ3W19EJ8MqtTJR8oidX8eRrkeB8xNQyqeTZeqBHZjo";
29
29
  readonly 'PayNote/Payee Assignment Requested': "BVLMcTzag3D2rvg8LoKQ3Htgoqsh77EAoiTLTxH5aVBE";
30
- readonly 'PayNote/Payment Mandate': "Cb8EjAE531e9RVa9RgFJzKmN9h6z8Xp3tAYaBFgqfHoP";
30
+ readonly 'PayNote/Payment Mandate': "BKKgKnHFhLmmUxq4WRvhV7HYZNu6ngDEce1LvHjZimJr";
31
31
  readonly 'PayNote/Payment Mandate Attached': "49TYrHpnk2gepJiGduJP3afrnT2DJ6kDxqF4Y9M4C4t7";
32
32
  readonly 'PayNote/Payment Mandate Attachment Failed': "GTwsVrbVb31sMub1vvU2KyY2nA8ekKWYDoqNAB1m4Vh2";
33
- readonly 'PayNote/Payment Mandate Charge Attempt State': "JADRqXZ7UWNDqPt9Zhnn6831Nz2X5yeSuyew4hu6ciVq";
34
- readonly 'PayNote/Payment Mandate Spend Authorization Requested': "4STBHLJjxjCZVgeW2ScFfmsx8Vm16FenEbaNMyL8ZJUT";
35
- readonly 'PayNote/Payment Mandate Spend Authorization Responded': "8qdhLemMQ5MFtu9Aebpd9gKfKuLuRBEnT6yTTzr9F78E";
36
- readonly 'PayNote/Payment Mandate Spend Settled': "3TW3tRAQdYoMTFeeqmnWLR9JFibTVaJuiRJfJ3ggeVTJ";
37
- readonly 'PayNote/Payment Mandate Spend Settlement Responded': "6P1iVKFwG9jgWV7Ye3Co6pWByuu5QpR4tpqu9oVVvawY";
33
+ readonly 'PayNote/Payment Mandate Spend Authorization Requested': "7EKvVzbT63C2taKWfLf9J2BiVL7BCL6Ld86tH8b9kmxF";
34
+ readonly 'PayNote/Payment Mandate Spend Authorization Responded': "6UFd89oNox3PCpeVFaaCXwbGDp3k3Qc56e4DktnK3F8P";
35
+ readonly 'PayNote/Payment Mandate Spend Settled': "6aPqmL9AQV31CCV576ZmEcUgysbdbQAfAig9J5VYeR6v";
36
+ readonly 'PayNote/Payment Mandate Spend Settlement Responded': "CoGAMipt8rhmnkMgKsyZ5aendkHvFc4muC6pVgrUT1rJ";
38
37
  readonly 'PayNote/PayNote': "Dh2LtUN8Umc478kif8VWsNM1FrL5usVEeevv2GKnKP4F";
39
38
  readonly 'PayNote/PayNote Accepted By Client': "6VQC585V4SdpyA5hCeQQGM178bbeW3D2WcKt8ZCWK9s3";
40
39
  readonly 'PayNote/PayNote Approved': "HQTUxErobqhSuhWo9DAC1WwaG9oYdjfmdKprGtV4TeEK";
@@ -42,7 +41,7 @@ export declare const blueIds: {
42
41
  readonly 'PayNote/PayNote Cancellation Requested': "DqiwzsNLbHCh6PaDF6wy6ZqBSF5JV5nAQSKFKTPRTbGB";
43
42
  readonly 'PayNote/PayNote Cancelled': "96buyUXwhkak8xKoCR5nAW9tMuwzkevJFdELVvwKxR6Y";
44
43
  readonly 'PayNote/PayNote Client Decision Discarded': "Da7ZSyWgvMyTfwDVhAgCkGf3H8dwHhouHsHgNzg3DZ2j";
45
- readonly 'PayNote/PayNote Delivery': "2QkcYqeXBPfAzjYtasCrt91CKjQjcfdjfnHpZ3EX132g";
44
+ readonly 'PayNote/PayNote Delivery': "FLTwmZbvgDuFodwUAqh16PBu3a8aU7Pu4cssCGqVCRh2";
46
45
  readonly 'PayNote/PayNote Delivery Failed': "GtFG4Nt2fAamUZi9fSZNotab3BEUuv236LuPAcErVj5y";
47
46
  readonly 'PayNote/PayNote Rejected': "AdKfkwRfzRUxUKSzhRfYANsaUBNnz4u6JFWR66qhzyZe";
48
47
  readonly 'PayNote/PayNote Rejected By Client': "EGRRGwNnReqfQQhKnML28DWz9MvvC3B5JgbBrCUxrZ3G";
@@ -1 +1 @@
1
- {"version":3,"file":"blue-ids.d.ts","sourceRoot":"","sources":["../../../src/packages/paynote/blue-ids.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgHV,CAAC;AACX,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"blue-ids.d.ts","sourceRoot":"","sources":["../../../src/packages/paynote/blue-ids.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8GV,CAAC;AACX,eAAe,OAAO,CAAC"}
@@ -27,14 +27,13 @@ export const blueIds = {
27
27
  'PayNote/Linked PayNote Started': '6vnMMWuq6qJ1hxLqL1P2ckCqC9JtJF3QNW8s7rMTgZ4Q',
28
28
  'PayNote/Merchant To Customer PayNote': '9dJ3W19EJ8MqtTJR8oidX8eRrkeB8xNQyqeTZeqBHZjo',
29
29
  'PayNote/Payee Assignment Requested': 'BVLMcTzag3D2rvg8LoKQ3Htgoqsh77EAoiTLTxH5aVBE',
30
- 'PayNote/Payment Mandate': 'Cb8EjAE531e9RVa9RgFJzKmN9h6z8Xp3tAYaBFgqfHoP',
30
+ 'PayNote/Payment Mandate': 'BKKgKnHFhLmmUxq4WRvhV7HYZNu6ngDEce1LvHjZimJr',
31
31
  'PayNote/Payment Mandate Attached': '49TYrHpnk2gepJiGduJP3afrnT2DJ6kDxqF4Y9M4C4t7',
32
32
  'PayNote/Payment Mandate Attachment Failed': 'GTwsVrbVb31sMub1vvU2KyY2nA8ekKWYDoqNAB1m4Vh2',
33
- 'PayNote/Payment Mandate Charge Attempt State': 'JADRqXZ7UWNDqPt9Zhnn6831Nz2X5yeSuyew4hu6ciVq',
34
- 'PayNote/Payment Mandate Spend Authorization Requested': '4STBHLJjxjCZVgeW2ScFfmsx8Vm16FenEbaNMyL8ZJUT',
35
- 'PayNote/Payment Mandate Spend Authorization Responded': '8qdhLemMQ5MFtu9Aebpd9gKfKuLuRBEnT6yTTzr9F78E',
36
- 'PayNote/Payment Mandate Spend Settled': '3TW3tRAQdYoMTFeeqmnWLR9JFibTVaJuiRJfJ3ggeVTJ',
37
- 'PayNote/Payment Mandate Spend Settlement Responded': '6P1iVKFwG9jgWV7Ye3Co6pWByuu5QpR4tpqu9oVVvawY',
33
+ 'PayNote/Payment Mandate Spend Authorization Requested': '7EKvVzbT63C2taKWfLf9J2BiVL7BCL6Ld86tH8b9kmxF',
34
+ 'PayNote/Payment Mandate Spend Authorization Responded': '6UFd89oNox3PCpeVFaaCXwbGDp3k3Qc56e4DktnK3F8P',
35
+ 'PayNote/Payment Mandate Spend Settled': '6aPqmL9AQV31CCV576ZmEcUgysbdbQAfAig9J5VYeR6v',
36
+ 'PayNote/Payment Mandate Spend Settlement Responded': 'CoGAMipt8rhmnkMgKsyZ5aendkHvFc4muC6pVgrUT1rJ',
38
37
  'PayNote/PayNote': 'Dh2LtUN8Umc478kif8VWsNM1FrL5usVEeevv2GKnKP4F',
39
38
  'PayNote/PayNote Accepted By Client': '6VQC585V4SdpyA5hCeQQGM178bbeW3D2WcKt8ZCWK9s3',
40
39
  'PayNote/PayNote Approved': 'HQTUxErobqhSuhWo9DAC1WwaG9oYdjfmdKprGtV4TeEK',
@@ -42,7 +41,7 @@ export const blueIds = {
42
41
  'PayNote/PayNote Cancellation Requested': 'DqiwzsNLbHCh6PaDF6wy6ZqBSF5JV5nAQSKFKTPRTbGB',
43
42
  'PayNote/PayNote Cancelled': '96buyUXwhkak8xKoCR5nAW9tMuwzkevJFdELVvwKxR6Y',
44
43
  'PayNote/PayNote Client Decision Discarded': 'Da7ZSyWgvMyTfwDVhAgCkGf3H8dwHhouHsHgNzg3DZ2j',
45
- 'PayNote/PayNote Delivery': '2QkcYqeXBPfAzjYtasCrt91CKjQjcfdjfnHpZ3EX132g',
44
+ 'PayNote/PayNote Delivery': 'FLTwmZbvgDuFodwUAqh16PBu3a8aU7Pu4cssCGqVCRh2',
46
45
  'PayNote/PayNote Delivery Failed': 'GtFG4Nt2fAamUZi9fSZNotab3BEUuv236LuPAcErVj5y',
47
46
  'PayNote/PayNote Rejected': 'AdKfkwRfzRUxUKSzhRfYANsaUBNnz4u6JFWR66qhzyZe',
48
47
  'PayNote/PayNote Rejected By Client': 'EGRRGwNnReqfQQhKnML28DWz9MvvC3B5JgbBrCUxrZ3G',
@@ -1 +1 @@
1
- {"version":3,"file":"blue-ids.js","sourceRoot":"","sources":["../../../src/packages/paynote/blue-ids.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,0BAA0B,EAAE,8CAA8C;IAC1E,wBAAwB,EAAE,8CAA8C;IACxE,iCAAiC,EAC/B,8CAA8C;IAChD,+BAA+B,EAC7B,8CAA8C;IAChD,+BAA+B,EAC7B,8CAA8C;IAChD,qDAAqD,EACnD,8CAA8C;IAChD,iDAAiD,EAC/C,8CAA8C;IAChD,yCAAyC,EACvC,8CAA8C;IAChD,mDAAmD,EACjD,8CAA8C;IAChD,2CAA2C,EACzC,8CAA8C;IAChD,kCAAkC,EAChC,8CAA8C;IAChD,sDAAsD,EACpD,8CAA8C;IAChD,6CAA6C,EAC3C,8CAA8C;IAChD,6CAA6C,EAC3C,8CAA8C;IAChD,kCAAkC,EAChC,8CAA8C;IAChD,iCAAiC,EAC/B,8CAA8C;IAChD,yCAAyC,EACvC,8CAA8C;IAChD,8BAA8B,EAC5B,8CAA8C;IAChD,wBAAwB,EAAE,8CAA8C;IACxE,wBAAwB,EAAE,8CAA8C;IACxE,uCAAuC,EACrC,8CAA8C;IAChD,8DAA8D,EAC5D,8CAA8C;IAChD,sCAAsC,EACpC,8CAA8C;IAChD,qCAAqC,EACnC,8CAA8C;IAChD,wCAAwC,EACtC,8CAA8C;IAChD,gCAAgC,EAC9B,8CAA8C;IAChD,sCAAsC,EACpC,8CAA8C;IAChD,oCAAoC,EAClC,8CAA8C;IAChD,yBAAyB,EAAE,8CAA8C;IACzE,kCAAkC,EAChC,8CAA8C;IAChD,2CAA2C,EACzC,8CAA8C;IAChD,8CAA8C,EAC5C,8CAA8C;IAChD,uDAAuD,EACrD,8CAA8C;IAChD,uDAAuD,EACrD,8CAA8C;IAChD,uCAAuC,EACrC,8CAA8C;IAChD,oDAAoD,EAClD,8CAA8C;IAChD,iBAAiB,EAAE,8CAA8C;IACjE,oCAAoC,EAClC,8CAA8C;IAChD,0BAA0B,EAAE,8CAA8C;IAC1E,uCAAuC,EACrC,8CAA8C;IAChD,wCAAwC,EACtC,8CAA8C;IAChD,2BAA2B,EAAE,8CAA8C;IAC3E,2CAA2C,EACzC,8CAA8C;IAChD,0BAA0B,EAAE,8CAA8C;IAC1E,iCAAiC,EAC/B,8CAA8C;IAChD,0BAA0B,EAAE,8CAA8C;IAC1E,oCAAoC,EAClC,8CAA8C;IAChD,8BAA8B,EAC5B,8CAA8C;IAChD,sCAAsC,EACpC,8CAA8C;IAChD,uCAAuC,EACrC,8CAA8C;IAChD,8BAA8B,EAC5B,8CAA8C;IAChD,yDAAyD,EACvD,8CAA8C;IAChD,iCAAiC,EAC/B,8CAA8C;IAChD,+DAA+D,EAC7D,8CAA8C;IAChD,uCAAuC,EACrC,8CAA8C;IAChD,oCAAoC,EAClC,8CAA8C;IAChD,qCAAqC,EACnC,8CAA8C;IAChD,qDAAqD,EACnD,8CAA8C;IAChD,2CAA2C,EACzC,8CAA8C;IAChD,gCAAgC,EAC9B,8CAA8C;IAChD,4BAA4B,EAAE,8CAA8C;CACpE,CAAC;AACX,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"blue-ids.js","sourceRoot":"","sources":["../../../src/packages/paynote/blue-ids.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,0BAA0B,EAAE,8CAA8C;IAC1E,wBAAwB,EAAE,8CAA8C;IACxE,iCAAiC,EAC/B,8CAA8C;IAChD,+BAA+B,EAC7B,8CAA8C;IAChD,+BAA+B,EAC7B,8CAA8C;IAChD,qDAAqD,EACnD,8CAA8C;IAChD,iDAAiD,EAC/C,8CAA8C;IAChD,yCAAyC,EACvC,8CAA8C;IAChD,mDAAmD,EACjD,8CAA8C;IAChD,2CAA2C,EACzC,8CAA8C;IAChD,kCAAkC,EAChC,8CAA8C;IAChD,sDAAsD,EACpD,8CAA8C;IAChD,6CAA6C,EAC3C,8CAA8C;IAChD,6CAA6C,EAC3C,8CAA8C;IAChD,kCAAkC,EAChC,8CAA8C;IAChD,iCAAiC,EAC/B,8CAA8C;IAChD,yCAAyC,EACvC,8CAA8C;IAChD,8BAA8B,EAC5B,8CAA8C;IAChD,wBAAwB,EAAE,8CAA8C;IACxE,wBAAwB,EAAE,8CAA8C;IACxE,uCAAuC,EACrC,8CAA8C;IAChD,8DAA8D,EAC5D,8CAA8C;IAChD,sCAAsC,EACpC,8CAA8C;IAChD,qCAAqC,EACnC,8CAA8C;IAChD,wCAAwC,EACtC,8CAA8C;IAChD,gCAAgC,EAC9B,8CAA8C;IAChD,sCAAsC,EACpC,8CAA8C;IAChD,oCAAoC,EAClC,8CAA8C;IAChD,yBAAyB,EAAE,8CAA8C;IACzE,kCAAkC,EAChC,8CAA8C;IAChD,2CAA2C,EACzC,8CAA8C;IAChD,uDAAuD,EACrD,8CAA8C;IAChD,uDAAuD,EACrD,8CAA8C;IAChD,uCAAuC,EACrC,8CAA8C;IAChD,oDAAoD,EAClD,8CAA8C;IAChD,iBAAiB,EAAE,8CAA8C;IACjE,oCAAoC,EAClC,8CAA8C;IAChD,0BAA0B,EAAE,8CAA8C;IAC1E,uCAAuC,EACrC,8CAA8C;IAChD,wCAAwC,EACtC,8CAA8C;IAChD,2BAA2B,EAAE,8CAA8C;IAC3E,2CAA2C,EACzC,8CAA8C;IAChD,0BAA0B,EAAE,8CAA8C;IAC1E,iCAAiC,EAC/B,8CAA8C;IAChD,0BAA0B,EAAE,8CAA8C;IAC1E,oCAAoC,EAClC,8CAA8C;IAChD,8BAA8B,EAC5B,8CAA8C;IAChD,sCAAsC,EACpC,8CAA8C;IAChD,uCAAuC,EACrC,8CAA8C;IAChD,8BAA8B,EAC5B,8CAA8C;IAChD,yDAAyD,EACvD,8CAA8C;IAChD,iCAAiC,EAC/B,8CAA8C;IAChD,+DAA+D,EAC7D,8CAA8C;IAChD,uCAAuC,EACrC,8CAA8C;IAChD,oCAAoC,EAClC,8CAA8C;IAChD,qCAAqC,EACnC,8CAA8C;IAChD,qDAAqD,EACnD,8CAA8C;IAChD,2CAA2C,EACzC,8CAA8C;IAChD,gCAAgC,EAC9B,8CAA8C;IAChD,4BAA4B,EAAE,8CAA8C;CACpE,CAAC;AACX,eAAe,OAAO,CAAC"}
@@ -618,7 +618,7 @@ export declare const PayNoteDelivery: {
618
618
  readonly description: "Optional Payment Mandate bootstrap request details for Delivery flows that require mandate attachment before proposal exposure.";
619
619
  readonly document: {
620
620
  readonly type: {
621
- readonly blueId: "Cb8EjAE531e9RVa9RgFJzKmN9h6z8Xp3tAYaBFgqfHoP";
621
+ readonly blueId: "BKKgKnHFhLmmUxq4WRvhV7HYZNu6ngDEce1LvHjZimJr";
622
622
  };
623
623
  };
624
624
  readonly type: {
@@ -654,7 +654,7 @@ export const PayNoteDelivery = {
654
654
  description: 'Optional Payment Mandate bootstrap request details for Delivery flows that require mandate attachment before proposal exposure.',
655
655
  document: {
656
656
  type: {
657
- blueId: 'Cb8EjAE531e9RVa9RgFJzKmN9h6z8Xp3tAYaBFgqfHoP',
657
+ blueId: 'BKKgKnHFhLmmUxq4WRvhV7HYZNu6ngDEce1LvHjZimJr',
658
658
  },
659
659
  },
660
660
  type: {
@@ -64,7 +64,7 @@ export declare const PaymentMandate: {
64
64
  };
65
65
  };
66
66
  readonly chargeAttempts: {
67
- readonly description: "Stateful map of chargeAttemptId -> attempt state (authorization + settlement).";
67
+ readonly description: "Stateful map of authorizationId -> authorization state (authorization + settlement).";
68
68
  readonly keyType: {
69
69
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
70
70
  };
@@ -72,7 +72,120 @@ export declare const PaymentMandate: {
72
72
  readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
73
73
  };
74
74
  readonly valueType: {
75
- readonly blueId: "JADRqXZ7UWNDqPt9Zhnn6831Nz2X5yeSuyew4hu6ciVq";
75
+ readonly amountMinor: {
76
+ readonly description: "Requested amount in minor currency units.";
77
+ readonly type: {
78
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
79
+ };
80
+ };
81
+ readonly authorizationReason: {
82
+ readonly description: "Optional authorization rejection reason.";
83
+ readonly type: {
84
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
85
+ };
86
+ };
87
+ readonly authorizationRespondedAt: {
88
+ readonly description: "Timestamp of authorization decision response.";
89
+ readonly type: {
90
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
91
+ };
92
+ };
93
+ readonly authorizationStatus: {
94
+ readonly description: "Authorization decision status (\"approved\" | \"rejected\").";
95
+ readonly type: {
96
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
97
+ };
98
+ };
99
+ readonly authorizedAmountMinor: {
100
+ readonly description: "Authorized amount reserved against mandate capacity for this attempt.";
101
+ readonly type: {
102
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
103
+ };
104
+ };
105
+ readonly capturedDeltaMinor: {
106
+ readonly description: "Captured delta applied for accepted settlement.";
107
+ readonly type: {
108
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
109
+ };
110
+ };
111
+ readonly chargeMode: {
112
+ readonly description: "Requested charge mode (\"authorize_only\" | \"authorize_and_capture\").";
113
+ readonly type: {
114
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
115
+ };
116
+ };
117
+ readonly counterpartyId: {
118
+ readonly description: "Counterparty identifier interpreted according to counterpartyType.";
119
+ readonly type: {
120
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
121
+ };
122
+ };
123
+ readonly counterpartyType: {
124
+ readonly description: "Counterparty identifier type (\"merchantId\" | \"customerId\" | \"accountNumber\").";
125
+ readonly type: {
126
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
127
+ };
128
+ };
129
+ readonly currency: {
130
+ readonly description: "Requested currency.";
131
+ readonly type: {
132
+ readonly blueId: "CBnZ7aaNetj9KEqXpUWj5jvjKbmviLivP98T2EiyxiYc";
133
+ };
134
+ };
135
+ readonly holdId: {
136
+ readonly description: "Optional hold id associated with settlement.";
137
+ readonly type: {
138
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
139
+ };
140
+ };
141
+ readonly lastSettlementId: {
142
+ readonly description: "Optional last applied settlement id for idempotency tracking.";
143
+ readonly type: {
144
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
145
+ };
146
+ };
147
+ readonly lastSettlementProcessingStatus: {
148
+ readonly description: "Mandate processing status for last settlement (\"accepted\" | \"rejected\").";
149
+ readonly type: {
150
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
151
+ };
152
+ };
153
+ readonly lastSettlementRequestStatus: {
154
+ readonly description: "Last settlement request status received from bank (\"succeeded\" | \"failed\").";
155
+ readonly type: {
156
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
157
+ };
158
+ };
159
+ readonly reservedDeltaMinor: {
160
+ readonly description: "Reserved delta applied for accepted settlement.";
161
+ readonly type: {
162
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
163
+ };
164
+ };
165
+ readonly settled: {
166
+ readonly description: "Whether mandate accepted settlement for this attempt.";
167
+ readonly type: {
168
+ readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
169
+ };
170
+ };
171
+ readonly settlementReason: {
172
+ readonly description: "Optional settlement rejection/info reason.";
173
+ readonly type: {
174
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
175
+ };
176
+ };
177
+ readonly settlementRespondedAt: {
178
+ readonly description: "Timestamp of last settlement processing response.";
179
+ readonly type: {
180
+ readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
181
+ };
182
+ };
183
+ readonly transactionId: {
184
+ readonly description: "Optional transaction id associated with settlement.";
185
+ readonly type: {
186
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
187
+ };
188
+ };
76
189
  };
77
190
  };
78
191
  readonly contracts: {
@@ -86,7 +199,7 @@ export declare const PaymentMandate: {
86
199
  readonly description: "Validate a charge attempt against mandate policy and reserve capacity.";
87
200
  readonly request: {
88
201
  readonly type: {
89
- readonly blueId: "4STBHLJjxjCZVgeW2ScFfmsx8Vm16FenEbaNMyL8ZJUT";
202
+ readonly blueId: "7EKvVzbT63C2taKWfLf9J2BiVL7BCL6Ld86tH8b9kmxF";
90
203
  };
91
204
  };
92
205
  readonly type: {
@@ -106,7 +219,7 @@ export declare const PaymentMandate: {
106
219
  readonly type: {
107
220
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
108
221
  };
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";
222
+ readonly value: "const documentCanonical = document.canonical('/');\nconst requestCanonical = eventCanonical\n ? canon.at(eventCanonical, '/message/request')\n : undefined;\n\nconst requestedAtNode = requestCanonical\n ? canon.at(requestCanonical, '/requestedAt')\n : undefined;\nconst requestedAtRaw = requestedAtNode ? canon.unwrap(requestedAtNode) : '';\nconst requestedAt = typeof requestedAtRaw === 'string' ? requestedAtRaw : '';\nconst nowIso =\n requestedAt ||\n (typeof event.timestamp === 'string' ? 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 authorizationIdNode = requestCanonical\n ? canon.at(requestCanonical, '/authorizationId')\n : undefined;\nconst authorizationIdRaw = authorizationIdNode\n ? canon.unwrap(authorizationIdNode)\n : '';\nconst authorizationId =\n typeof authorizationIdRaw === 'string' ? authorizationIdRaw : '';\n\nconst amountMinorNode = requestCanonical\n ? canon.at(requestCanonical, '/amountMinor')\n : undefined;\nconst amountMinorRaw = amountMinorNode ? canon.unwrap(amountMinorNode) : 0;\nconst amountMinor = typeof amountMinorRaw === 'number' ? amountMinorRaw : 0;\n\nconst counterpartyTypeNode = requestCanonical\n ? canon.at(requestCanonical, '/counterpartyType')\n : undefined;\nconst counterpartyTypeRaw = counterpartyTypeNode\n ? canon.unwrap(counterpartyTypeNode)\n : '';\nconst counterpartyType =\n typeof counterpartyTypeRaw === 'string' ? counterpartyTypeRaw : '';\n\nconst counterpartyIdNode = requestCanonical\n ? canon.at(requestCanonical, '/counterpartyId')\n : undefined;\nconst counterpartyIdRaw = counterpartyIdNode\n ? canon.unwrap(counterpartyIdNode)\n : '';\nconst counterpartyId =\n typeof counterpartyIdRaw === 'string' ? counterpartyIdRaw : '';\n\nconst requestedCurrencyNode = requestCanonical\n ? canon.at(requestCanonical, '/currency')\n : undefined;\nconst requestedCurrencyRaw = requestedCurrencyNode\n ? canon.unwrap(requestedCurrencyNode)\n : '';\nconst requestedCurrency =\n typeof requestedCurrencyRaw === 'string' ? requestedCurrencyRaw : '';\n\nconst chargeAttemptsNode = canon.at(documentCanonical, '/chargeAttempts');\nconst chargeAttemptsRaw = chargeAttemptsNode\n ? canon.unwrap(chargeAttemptsNode)\n : {};\nconst chargeAttempts =\n chargeAttemptsRaw &&\n typeof chargeAttemptsRaw === 'object' &&\n !Array.isArray(chargeAttemptsRaw)\n ? chargeAttemptsRaw\n : {};\nconst nextChargeAttempts = { ...chargeAttempts };\n\nconst existingAttemptRaw = authorizationId\n ? chargeAttempts[authorizationId]\n : undefined;\nconst existingAttempt =\n existingAttemptRaw &&\n typeof existingAttemptRaw === 'object' &&\n !Array.isArray(existingAttemptRaw)\n ? existingAttemptRaw\n : null;\nconst existingDecision =\n existingAttempt &&\n typeof existingAttempt.authorizationStatus === 'string'\n ? existingAttempt.authorizationStatus\n : '';\nconst existingReason =\n existingAttempt && typeof existingAttempt.authorizationReason === 'string'\n ? existingAttempt.authorizationReason\n : '';\n\nconst amountLimitNode = canon.at(documentCanonical, '/amountLimit');\nconst amountLimitRaw = amountLimitNode ? canon.unwrap(amountLimitNode) : 0;\nconst amountLimit = typeof amountLimitRaw === 'number' ? amountLimitRaw : 0;\n\nconst amountReservedNode = canon.at(documentCanonical, '/amountReserved');\nconst amountReservedRaw = amountReservedNode\n ? canon.unwrap(amountReservedNode)\n : 0;\nconst amountReserved =\n typeof amountReservedRaw === 'number' ? amountReservedRaw : 0;\n\nconst amountCapturedNode = canon.at(documentCanonical, '/amountCaptured');\nconst amountCapturedRaw = amountCapturedNode\n ? canon.unwrap(amountCapturedNode)\n : 0;\nconst amountCaptured =\n typeof amountCapturedRaw === 'number' ? amountCapturedRaw : 0;\n\nconst mandateCurrencyNode = canon.at(documentCanonical, '/currency');\nconst mandateCurrencyRaw = mandateCurrencyNode\n ? canon.unwrap(mandateCurrencyNode)\n : '';\nconst mandateCurrency =\n typeof mandateCurrencyRaw === 'string' ? mandateCurrencyRaw : '';\n\nconst expiresAtNode = canon.at(documentCanonical, '/expiresAt');\nconst expiresAtRaw = expiresAtNode ? canon.unwrap(expiresAtNode) : '';\nconst expiresAt = typeof expiresAtRaw === 'string' ? expiresAtRaw : '';\n\nconst revokedAtNode = canon.at(documentCanonical, '/revokedAt');\nconst revokedAtRaw = revokedAtNode ? canon.unwrap(revokedAtNode) : '';\nconst revokedAt = typeof revokedAtRaw === 'string' ? revokedAtRaw : '';\n\nconst nowComparable = normalizeTimestamp(nowIso);\n\nconst allowedCounterpartiesNode = canon.at(\n documentCanonical,\n '/allowedPaymentCounterparties'\n);\nconst allowedCounterpartiesRaw = allowedCounterpartiesNode\n ? canon.unwrap(allowedCounterpartiesNode)\n : [];\nconst allowedCounterparties = Array.isArray(allowedCounterpartiesRaw)\n ? allowedCounterpartiesRaw\n : [];\nconst isCounterpartyAllowed =\n allowedCounterparties.length === 0 ||\n allowedCounterparties.some(function (item) {\n const itemType =\n item && typeof item.counterpartyType === 'string'\n ? item.counterpartyType\n : '';\n const itemId =\n item && typeof item.counterpartyId === 'string'\n ? item.counterpartyId\n : '';\n return (\n item &&\n itemType === counterpartyType &&\n itemId === 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 (!authorizationId) {\n reason = 'Missing authorizationId.';\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 (authorizationId && !existingDecision) {\n const chargeModeNode = requestCanonical\n ? canon.at(requestCanonical, '/chargeMode')\n : undefined;\n const chargeModeRaw = chargeModeNode ? canon.unwrap(chargeModeNode) : '';\n const chargeMode = typeof chargeModeRaw === 'string' ? chargeModeRaw : '';\n\n nextChargeAttempts[authorizationId] = {\n amountMinor,\n currency: requestedCurrency,\n counterpartyType,\n counterpartyId,\n 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 authorizationId,\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
223
  };
111
224
  readonly name: "Decide Spend Authorization";
112
225
  readonly type: {
@@ -238,7 +351,7 @@ export declare const PaymentMandate: {
238
351
  readonly description: "Apply final reserve/capture deltas for a previously authorized charge attempt.";
239
352
  readonly request: {
240
353
  readonly type: {
241
- readonly blueId: "3TW3tRAQdYoMTFeeqmnWLR9JFibTVaJuiRJfJ3ggeVTJ";
354
+ readonly blueId: "6aPqmL9AQV31CCV576ZmEcUgysbdbQAfAig9J5VYeR6v";
242
355
  };
243
356
  };
244
357
  readonly type: {
@@ -258,7 +371,7 @@ export declare const PaymentMandate: {
258
371
  readonly type: {
259
372
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
260
373
  };
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";
374
+ readonly value: "const documentCanonical = document.canonical('/');\nconst requestCanonical = eventCanonical\n ? canon.at(eventCanonical, '/message/request')\n : undefined;\n\nconst settledAtNode = requestCanonical\n ? canon.at(requestCanonical, '/settledAt')\n : undefined;\nconst settledAtRaw = settledAtNode ? canon.unwrap(settledAtNode) : '';\nconst settledAt = typeof settledAtRaw === 'string' ? settledAtRaw : '';\nconst nowIso =\n settledAt || (typeof event.timestamp === 'string' ? event.timestamp : '');\n\nconst authorizationIdNode = requestCanonical\n ? canon.at(requestCanonical, '/authorizationId')\n : undefined;\nconst authorizationIdRaw = authorizationIdNode\n ? canon.unwrap(authorizationIdNode)\n : '';\nconst authorizationId =\n typeof authorizationIdRaw === 'string' ? authorizationIdRaw : '';\n\nconst settlementStatusNode = requestCanonical\n ? canon.at(requestCanonical, '/status')\n : undefined;\nconst settlementStatusRaw = settlementStatusNode\n ? canon.unwrap(settlementStatusNode)\n : '';\nconst settlementStatus =\n typeof settlementStatusRaw === 'string' ? settlementStatusRaw : '';\n\nconst reservedDeltaNode = requestCanonical\n ? canon.at(requestCanonical, '/reservedDeltaMinor')\n : undefined;\nconst reservedDeltaRaw = reservedDeltaNode ? canon.unwrap(reservedDeltaNode) : 0;\nconst reservedDeltaMinor =\n typeof reservedDeltaRaw === 'number' ? reservedDeltaRaw : 0;\n\nconst capturedDeltaNode = requestCanonical\n ? canon.at(requestCanonical, '/capturedDeltaMinor')\n : undefined;\nconst capturedDeltaRaw = capturedDeltaNode ? canon.unwrap(capturedDeltaNode) : 0;\nconst capturedDeltaMinor =\n typeof capturedDeltaRaw === 'number' ? capturedDeltaRaw : 0;\n\nconst amountLimitNode = canon.at(documentCanonical, '/amountLimit');\nconst amountLimitRaw = amountLimitNode ? canon.unwrap(amountLimitNode) : 0;\nconst amountLimit = typeof amountLimitRaw === 'number' ? amountLimitRaw : 0;\n\nconst amountReservedNode = canon.at(documentCanonical, '/amountReserved');\nconst amountReservedRaw = amountReservedNode\n ? canon.unwrap(amountReservedNode)\n : 0;\nconst amountReserved =\n typeof amountReservedRaw === 'number' ? amountReservedRaw : 0;\n\nconst amountCapturedNode = canon.at(documentCanonical, '/amountCaptured');\nconst amountCapturedRaw = amountCapturedNode\n ? canon.unwrap(amountCapturedNode)\n : 0;\nconst amountCaptured =\n typeof amountCapturedRaw === 'number' ? amountCapturedRaw : 0;\n\nconst chargeAttemptsNode = canon.at(documentCanonical, '/chargeAttempts');\nconst chargeAttemptsRaw = chargeAttemptsNode\n ? canon.unwrap(chargeAttemptsNode)\n : {};\nconst chargeAttempts =\n chargeAttemptsRaw &&\n typeof chargeAttemptsRaw === 'object' &&\n !Array.isArray(chargeAttemptsRaw)\n ? chargeAttemptsRaw\n : {};\nconst nextChargeAttempts = { ...chargeAttempts };\n\nconst existingAttemptRaw = authorizationId\n ? chargeAttempts[authorizationId]\n : undefined;\nconst existingAttempt =\n existingAttemptRaw &&\n typeof existingAttemptRaw === 'object' &&\n !Array.isArray(existingAttemptRaw)\n ? existingAttemptRaw\n : null;\n\nconst alreadySettled = !!existingAttempt && existingAttempt.settled === true;\nconst approved =\n !!existingAttempt &&\n typeof existingAttempt.authorizationStatus === 'string' &&\n existingAttempt.authorizationStatus === 'approved';\nconst authorizedAmount =\n existingAttempt && typeof existingAttempt.authorizedAmountMinor === 'number'\n ? existingAttempt.authorizedAmountMinor\n : 0;\n\nconst holdIdNode = requestCanonical\n ? canon.at(requestCanonical, '/holdId')\n : undefined;\nconst holdIdRaw = holdIdNode ? canon.unwrap(holdIdNode) : '';\nconst holdId = typeof holdIdRaw === 'string' ? holdIdRaw : '';\n\nconst transactionIdNode = requestCanonical\n ? canon.at(requestCanonical, '/transactionId')\n : undefined;\nconst transactionIdRaw = transactionIdNode\n ? canon.unwrap(transactionIdNode)\n : '';\nconst transactionId =\n typeof transactionIdRaw === 'string' ? transactionIdRaw : '';\n\nconst settlementIdNode = requestCanonical\n ? canon.at(requestCanonical, '/settlementId')\n : undefined;\nconst settlementIdRaw = settlementIdNode\n ? canon.unwrap(settlementIdNode)\n : '';\nconst settlementId =\n typeof settlementIdRaw === 'string' ? settlementIdRaw : '';\n\nconst requestReasonNode = requestCanonical\n ? canon.at(requestCanonical, '/reason')\n : undefined;\nconst requestReasonRaw = requestReasonNode\n ? canon.unwrap(requestReasonNode)\n : '';\nconst requestReason =\n typeof requestReasonRaw === 'string' ? requestReasonRaw : '';\n\nlet status = 'rejected';\nlet reason = '';\nlet nextAmountReserved = amountReserved;\nlet nextAmountCaptured = amountCaptured;\nlet nextAttempt = existingAttempt ? { ...existingAttempt } : null;\n\nif (!authorizationId) {\n reason = 'Missing authorizationId.';\n} else if (alreadySettled) {\n status = 'accepted';\n reason = 'Authorization already settled.';\n} else if (!approved) {\n reason = 'Authorization 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 = { ...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 nextAttempt.lastSettlementId = settlementId;\n nextChargeAttempts[authorizationId] = nextAttempt;\n }\n}\n\nif (nextAttempt && status === 'rejected') {\n nextAttempt = { ...nextAttempt };\n nextAttempt.lastSettlementRequestStatus = settlementStatus;\n nextAttempt.lastSettlementProcessingStatus = 'rejected';\n nextAttempt.settlementReason = reason;\n nextAttempt.settlementRespondedAt = nowIso;\n nextAttempt.lastSettlementId = settlementId;\n nextChargeAttempts[authorizationId] = nextAttempt;\n}\n\nconst responseEvent = {\n type: 'PayNote/Payment Mandate Spend Settlement Responded',\n authorizationId,\n settlementId,\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
375
  };
263
376
  readonly name: "Validate and Apply Settlement";
264
377
  readonly type: {
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentMandate.d.ts","sourceRoot":"","sources":["../../../../src/packages/paynote/contents/PaymentMandate.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAibjB,CAAC"}
1
+ {"version":3,"file":"PaymentMandate.d.ts","sourceRoot":"","sources":["../../../../src/packages/paynote/contents/PaymentMandate.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyiBjB,CAAC"}