@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.
- package/README.md +1 -1
- package/dist/meta.d.ts +2 -2
- package/dist/meta.d.ts.map +1 -1
- package/dist/meta.js +1 -0
- package/dist/meta.js.map +1 -1
- package/dist/packages/paynote/blue-ids.d.ts +6 -7
- package/dist/packages/paynote/blue-ids.d.ts.map +1 -1
- package/dist/packages/paynote/blue-ids.js +6 -7
- package/dist/packages/paynote/blue-ids.js.map +1 -1
- package/dist/packages/paynote/contents/PayNoteDelivery.d.ts +1 -1
- package/dist/packages/paynote/contents/PayNoteDelivery.js +1 -1
- package/dist/packages/paynote/contents/PaymentMandate.d.ts +119 -6
- package/dist/packages/paynote/contents/PaymentMandate.d.ts.map +1 -1
- package/dist/packages/paynote/contents/PaymentMandate.js +119 -6
- package/dist/packages/paynote/contents/PaymentMandate.js.map +1 -1
- package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationRequested.d.ts +3 -9
- package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationRequested.d.ts.map +1 -1
- package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationRequested.js +3 -9
- package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationRequested.js.map +1 -1
- package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationResponded.d.ts +1 -1
- package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationResponded.js +1 -1
- package/dist/packages/paynote/contents/PaymentMandateSpendSettled.d.ts +12 -6
- package/dist/packages/paynote/contents/PaymentMandateSpendSettled.d.ts.map +1 -1
- package/dist/packages/paynote/contents/PaymentMandateSpendSettled.js +12 -6
- package/dist/packages/paynote/contents/PaymentMandateSpendSettled.js.map +1 -1
- package/dist/packages/paynote/contents/PaymentMandateSpendSettlementResponded.d.ts +7 -1
- package/dist/packages/paynote/contents/PaymentMandateSpendSettlementResponded.d.ts.map +1 -1
- package/dist/packages/paynote/contents/PaymentMandateSpendSettlementResponded.js +7 -1
- package/dist/packages/paynote/contents/PaymentMandateSpendSettlementResponded.js.map +1 -1
- package/dist/packages/paynote/contents/index.d.ts +1355 -1349
- package/dist/packages/paynote/contents/index.d.ts.map +1 -1
- package/dist/packages/paynote/contents/index.js +18 -21
- package/dist/packages/paynote/contents/index.js.map +1 -1
- package/dist/packages/paynote/index.d.ts +1427 -1520
- package/dist/packages/paynote/index.d.ts.map +1 -1
- package/dist/packages/paynote/meta.d.ts +24 -34
- package/dist/packages/paynote/meta.d.ts.map +1 -1
- package/dist/packages/paynote/meta.js +18 -29
- package/dist/packages/paynote/meta.js.map +1 -1
- package/dist/packages/paynote/schemas/PaymentMandate.d.ts +13 -18
- package/dist/packages/paynote/schemas/PaymentMandate.d.ts.map +1 -1
- package/dist/packages/paynote/schemas/PaymentMandate.js +21 -2
- package/dist/packages/paynote/schemas/PaymentMandate.js.map +1 -1
- package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationRequested.d.ts +3 -6
- package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationRequested.d.ts.map +1 -1
- package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationRequested.js +1 -2
- package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationRequested.js.map +1 -1
- package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationResponded.d.ts +3 -3
- package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationResponded.js +1 -1
- package/dist/packages/paynote/schemas/PaymentMandateSpendSettled.d.ts +6 -3
- package/dist/packages/paynote/schemas/PaymentMandateSpendSettled.d.ts.map +1 -1
- package/dist/packages/paynote/schemas/PaymentMandateSpendSettled.js +2 -1
- package/dist/packages/paynote/schemas/PaymentMandateSpendSettled.js.map +1 -1
- package/dist/packages/paynote/schemas/PaymentMandateSpendSettlementResponded.d.ts +6 -3
- package/dist/packages/paynote/schemas/PaymentMandateSpendSettlementResponded.d.ts.map +1 -1
- package/dist/packages/paynote/schemas/PaymentMandateSpendSettlementResponded.js +2 -1
- package/dist/packages/paynote/schemas/PaymentMandateSpendSettlementResponded.js.map +1 -1
- package/dist/packages/paynote/schemas/index.d.ts +37 -128
- package/dist/packages/paynote/schemas/index.d.ts.map +1 -1
- package/dist/packages/paynote/schemas/index.js +6 -9
- package/dist/packages/paynote/schemas/index.js.map +1 -1
- package/dist/repository.d.ts +1428 -1521
- package/dist/repository.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/packages/paynote/contents/PaymentMandateChargeAttemptState.d.ts +0 -113
- package/dist/packages/paynote/contents/PaymentMandateChargeAttemptState.d.ts.map +0 -1
- package/dist/packages/paynote/contents/PaymentMandateChargeAttemptState.js +0 -113
- package/dist/packages/paynote/contents/PaymentMandateChargeAttemptState.js.map +0 -1
- package/dist/packages/paynote/schemas/PaymentMandateChargeAttemptState.d.ts +0 -91
- package/dist/packages/paynote/schemas/PaymentMandateChargeAttemptState.d.ts.map +0 -1
- package/dist/packages/paynote/schemas/PaymentMandateChargeAttemptState.js +0 -28
- package/dist/packages/paynote/schemas/PaymentMandateChargeAttemptState.js.map +0 -1
|
@@ -64,7 +64,7 @@ export const PaymentMandate = {
|
|
|
64
64
|
},
|
|
65
65
|
},
|
|
66
66
|
chargeAttempts: {
|
|
67
|
-
description: 'Stateful map of
|
|
67
|
+
description: 'Stateful map of authorizationId -> authorization state (authorization + settlement).',
|
|
68
68
|
keyType: {
|
|
69
69
|
blueId: 'DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K',
|
|
70
70
|
},
|
|
@@ -72,7 +72,120 @@ export const PaymentMandate = {
|
|
|
72
72
|
blueId: 'G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj',
|
|
73
73
|
},
|
|
74
74
|
valueType: {
|
|
75
|
-
|
|
75
|
+
amountMinor: {
|
|
76
|
+
description: 'Requested amount in minor currency units.',
|
|
77
|
+
type: {
|
|
78
|
+
blueId: '5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1',
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
authorizationReason: {
|
|
82
|
+
description: 'Optional authorization rejection reason.',
|
|
83
|
+
type: {
|
|
84
|
+
blueId: 'DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K',
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
authorizationRespondedAt: {
|
|
88
|
+
description: 'Timestamp of authorization decision response.',
|
|
89
|
+
type: {
|
|
90
|
+
blueId: 'GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs',
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
authorizationStatus: {
|
|
94
|
+
description: 'Authorization decision status ("approved" | "rejected").',
|
|
95
|
+
type: {
|
|
96
|
+
blueId: 'DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K',
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
authorizedAmountMinor: {
|
|
100
|
+
description: 'Authorized amount reserved against mandate capacity for this attempt.',
|
|
101
|
+
type: {
|
|
102
|
+
blueId: '5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1',
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
capturedDeltaMinor: {
|
|
106
|
+
description: 'Captured delta applied for accepted settlement.',
|
|
107
|
+
type: {
|
|
108
|
+
blueId: '5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1',
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
chargeMode: {
|
|
112
|
+
description: 'Requested charge mode ("authorize_only" | "authorize_and_capture").',
|
|
113
|
+
type: {
|
|
114
|
+
blueId: 'DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K',
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
counterpartyId: {
|
|
118
|
+
description: 'Counterparty identifier interpreted according to counterpartyType.',
|
|
119
|
+
type: {
|
|
120
|
+
blueId: 'DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K',
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
counterpartyType: {
|
|
124
|
+
description: 'Counterparty identifier type ("merchantId" | "customerId" | "accountNumber").',
|
|
125
|
+
type: {
|
|
126
|
+
blueId: 'DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K',
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
currency: {
|
|
130
|
+
description: 'Requested currency.',
|
|
131
|
+
type: {
|
|
132
|
+
blueId: 'CBnZ7aaNetj9KEqXpUWj5jvjKbmviLivP98T2EiyxiYc',
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
holdId: {
|
|
136
|
+
description: 'Optional hold id associated with settlement.',
|
|
137
|
+
type: {
|
|
138
|
+
blueId: 'DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K',
|
|
139
|
+
},
|
|
140
|
+
},
|
|
141
|
+
lastSettlementId: {
|
|
142
|
+
description: 'Optional last applied settlement id for idempotency tracking.',
|
|
143
|
+
type: {
|
|
144
|
+
blueId: 'DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K',
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
lastSettlementProcessingStatus: {
|
|
148
|
+
description: 'Mandate processing status for last settlement ("accepted" | "rejected").',
|
|
149
|
+
type: {
|
|
150
|
+
blueId: 'DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K',
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
lastSettlementRequestStatus: {
|
|
154
|
+
description: 'Last settlement request status received from bank ("succeeded" | "failed").',
|
|
155
|
+
type: {
|
|
156
|
+
blueId: 'DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K',
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
reservedDeltaMinor: {
|
|
160
|
+
description: 'Reserved delta applied for accepted settlement.',
|
|
161
|
+
type: {
|
|
162
|
+
blueId: '5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1',
|
|
163
|
+
},
|
|
164
|
+
},
|
|
165
|
+
settled: {
|
|
166
|
+
description: 'Whether mandate accepted settlement for this attempt.',
|
|
167
|
+
type: {
|
|
168
|
+
blueId: '4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u',
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
settlementReason: {
|
|
172
|
+
description: 'Optional settlement rejection/info reason.',
|
|
173
|
+
type: {
|
|
174
|
+
blueId: 'DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K',
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
settlementRespondedAt: {
|
|
178
|
+
description: 'Timestamp of last settlement processing response.',
|
|
179
|
+
type: {
|
|
180
|
+
blueId: 'GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs',
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
transactionId: {
|
|
184
|
+
description: 'Optional transaction id associated with settlement.',
|
|
185
|
+
type: {
|
|
186
|
+
blueId: 'DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K',
|
|
187
|
+
},
|
|
188
|
+
},
|
|
76
189
|
},
|
|
77
190
|
},
|
|
78
191
|
contracts: {
|
|
@@ -86,7 +199,7 @@ export const PaymentMandate = {
|
|
|
86
199
|
description: 'Validate a charge attempt against mandate policy and reserve capacity.',
|
|
87
200
|
request: {
|
|
88
201
|
type: {
|
|
89
|
-
blueId: '
|
|
202
|
+
blueId: '7EKvVzbT63C2taKWfLf9J2BiVL7BCL6Ld86tH8b9kmxF',
|
|
90
203
|
},
|
|
91
204
|
},
|
|
92
205
|
type: {
|
|
@@ -107,7 +220,7 @@ export const PaymentMandate = {
|
|
|
107
220
|
type: {
|
|
108
221
|
blueId: 'DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K',
|
|
109
222
|
},
|
|
110
|
-
value: "const
|
|
223
|
+
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",
|
|
111
224
|
},
|
|
112
225
|
name: 'Decide Spend Authorization',
|
|
113
226
|
type: {
|
|
@@ -248,7 +361,7 @@ export const PaymentMandate = {
|
|
|
248
361
|
description: 'Apply final reserve/capture deltas for a previously authorized charge attempt.',
|
|
249
362
|
request: {
|
|
250
363
|
type: {
|
|
251
|
-
blueId: '
|
|
364
|
+
blueId: '6aPqmL9AQV31CCV576ZmEcUgysbdbQAfAig9J5VYeR6v',
|
|
252
365
|
},
|
|
253
366
|
},
|
|
254
367
|
type: {
|
|
@@ -269,7 +382,7 @@ export const PaymentMandate = {
|
|
|
269
382
|
type: {
|
|
270
383
|
blueId: 'DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K',
|
|
271
384
|
},
|
|
272
|
-
value: "const
|
|
385
|
+
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",
|
|
273
386
|
},
|
|
274
387
|
name: 'Validate and Apply Settlement',
|
|
275
388
|
type: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentMandate.js","sourceRoot":"","sources":["../../../../src/packages/paynote/contents/PaymentMandate.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,4BAA4B,EAAE;QAC5B,WAAW,EACT,uGAAuG;QACzG,QAAQ,EAAE;YACR,cAAc,EAAE;gBACd,WAAW,EACT,oEAAoE;gBACtE,IAAI,EAAE;oBACJ,MAAM,EAAE,8CAA8C;iBACvD;aACF;YACD,gBAAgB,EAAE;gBAChB,WAAW,EACT,8FAA8F;gBAChG,IAAI,EAAE;oBACJ,MAAM,EAAE,8CAA8C;iBACvD;aACF;SACF;QACD,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,eAAe,EAAE;QACf,WAAW,EACT,sNAAsN;QACxN,QAAQ,EAAE;YACR,cAAc,EAAE;gBACd,WAAW,EACT,iGAAiG;gBACnG,IAAI,EAAE;oBACJ,MAAM,EAAE,8CAA8C;iBACvD;aACF;YACD,UAAU,EAAE;gBACV,WAAW,EACT,wFAAwF;gBAC1F,IAAI,EAAE;oBACJ,MAAM,EAAE,8CAA8C;iBACvD;aACF;SACF;QACD,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,kBAAkB,EAAE;QAClB,WAAW,EACT,4EAA4E;QAC9E,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,cAAc,EAAE;QACd,WAAW,EACT,wFAAwF;QAC1F,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,WAAW,EAAE;QACX,WAAW,EACT,iEAAiE;QACnE,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,cAAc,EAAE;QACd,WAAW,EACT,mIAAmI;QACrI,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,cAAc,EAAE;QACd,WAAW,EACT,
|
|
1
|
+
{"version":3,"file":"PaymentMandate.js","sourceRoot":"","sources":["../../../../src/packages/paynote/contents/PaymentMandate.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,4BAA4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6BACF;yBACF;wBACD,IAAI,EAAE,oBAAoB;wBAC1B,IAAI,EAAE;4BACJ,MAAM,EAAE,8CAA8C;yBACvD;qBACF;iBACF;aACF;YACD,IAAI,EAAE;gBACJ,MAAM,EAAE,8CAA8C;aACvD;SACF;KACF;IACD,QAAQ,EAAE;QACR,WAAW,EAAE,gDAAgD;QAC7D,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,WAAW,EACT,mMAAmM;IACrM,SAAS,EAAE;QACT,WAAW,EAAE,oCAAoC;QACjD,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,SAAS,EAAE;QACT,WAAW,EAAE,kDAAkD;QAC/D,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,WAAW,EAAE;QACX,WAAW,EACT,mFAAmF;QACrF,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,SAAS,EAAE;QACT,WAAW,EACT,0IAA0I;QAC5I,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,WAAW,EAAE;QACX,WAAW,EACT,kEAAkE;QACpE,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,IAAI,EAAE,iBAAiB;IACvB,SAAS,EAAE;QACT,WAAW,EACT,+DAA+D;QACjE,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,aAAa,EAAE;QACb,WAAW,EACT,8JAA8J;QAChK,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;CACO,CAAC"}
|
|
@@ -5,14 +5,8 @@ export declare const PaymentMandateSpendAuthorizationRequested: {
|
|
|
5
5
|
readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
|
-
readonly
|
|
9
|
-
readonly description: "Correlation and idempotency key for a single
|
|
10
|
-
readonly type: {
|
|
11
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
readonly chargeMode: {
|
|
15
|
-
readonly description: "Requested charge execution mode (\"authorize_only\" | \"authorize_and_capture\").";
|
|
8
|
+
readonly authorizationId: {
|
|
9
|
+
readonly description: "Correlation and idempotency key for a single authorization lifecycle.";
|
|
16
10
|
readonly type: {
|
|
17
11
|
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
18
12
|
};
|
|
@@ -35,7 +29,7 @@ export declare const PaymentMandateSpendAuthorizationRequested: {
|
|
|
35
29
|
readonly blueId: "CBnZ7aaNetj9KEqXpUWj5jvjKbmviLivP98T2EiyxiYc";
|
|
36
30
|
};
|
|
37
31
|
};
|
|
38
|
-
readonly description: "Bank asks a Payment Mandate document to authorize a single
|
|
32
|
+
readonly description: "Bank asks a Payment Mandate document to authorize a single spend before reserve/capture execution.\n";
|
|
39
33
|
readonly name: "Payment Mandate Spend Authorization Requested";
|
|
40
34
|
readonly requestedAt: {
|
|
41
35
|
readonly description: "Timestamp when the authorization request was created.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentMandateSpendAuthorizationRequested.d.ts","sourceRoot":"","sources":["../../../../src/packages/paynote/contents/PaymentMandateSpendAuthorizationRequested.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yCAAyC
|
|
1
|
+
{"version":3,"file":"PaymentMandateSpendAuthorizationRequested.d.ts","sourceRoot":"","sources":["../../../../src/packages/paynote/contents/PaymentMandateSpendAuthorizationRequested.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2D5C,CAAC"}
|
|
@@ -5,14 +5,8 @@ export const PaymentMandateSpendAuthorizationRequested = {
|
|
|
5
5
|
blueId: '5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1',
|
|
6
6
|
},
|
|
7
7
|
},
|
|
8
|
-
|
|
9
|
-
description: 'Correlation and idempotency key for a single
|
|
10
|
-
type: {
|
|
11
|
-
blueId: 'DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K',
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
chargeMode: {
|
|
15
|
-
description: 'Requested charge execution mode ("authorize_only" | "authorize_and_capture").',
|
|
8
|
+
authorizationId: {
|
|
9
|
+
description: 'Correlation and idempotency key for a single authorization lifecycle.',
|
|
16
10
|
type: {
|
|
17
11
|
blueId: 'DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K',
|
|
18
12
|
},
|
|
@@ -35,7 +29,7 @@ export const PaymentMandateSpendAuthorizationRequested = {
|
|
|
35
29
|
blueId: 'CBnZ7aaNetj9KEqXpUWj5jvjKbmviLivP98T2EiyxiYc',
|
|
36
30
|
},
|
|
37
31
|
},
|
|
38
|
-
description: 'Bank asks a Payment Mandate document to authorize a single
|
|
32
|
+
description: 'Bank asks a Payment Mandate document to authorize a single spend before reserve/capture execution.\n',
|
|
39
33
|
name: 'Payment Mandate Spend Authorization Requested',
|
|
40
34
|
requestedAt: {
|
|
41
35
|
description: 'Timestamp when the authorization request was created.',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentMandateSpendAuthorizationRequested.js","sourceRoot":"","sources":["../../../../src/packages/paynote/contents/PaymentMandateSpendAuthorizationRequested.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,yCAAyC,GAAG;IACvD,WAAW,EAAE;QACX,WAAW,EAAE,2CAA2C;QACxD,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,eAAe,EAAE;QACf,WAAW,EACT,
|
|
1
|
+
{"version":3,"file":"PaymentMandateSpendAuthorizationRequested.js","sourceRoot":"","sources":["../../../../src/packages/paynote/contents/PaymentMandateSpendAuthorizationRequested.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,yCAAyC,GAAG;IACvD,WAAW,EAAE;QACX,WAAW,EAAE,2CAA2C;QACxD,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,eAAe,EAAE;QACf,WAAW,EACT,uEAAuE;QACzE,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,cAAc,EAAE;QACd,WAAW,EACT,oEAAoE;QACtE,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,gBAAgB,EAAE;QAChB,WAAW,EACT,+EAA+E;QACjF,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,QAAQ,EAAE;QACR,WAAW,EACT,+DAA+D;QACjE,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,WAAW,EACT,sGAAsG;IACxG,IAAI,EAAE,+CAA+C;IACrD,WAAW,EAAE;QACX,WAAW,EAAE,uDAAuD;QACpE,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,oBAAoB,EAAE;QACpB,WAAW,EAAE,wCAAwC;QACrD,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,mBAAmB,EAAE;QACnB,WAAW,EAAE,uCAAuC;QACpD,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,IAAI,EAAE;QACJ,MAAM,EAAE,8CAA8C;KACvD;CACO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const PaymentMandateSpendAuthorizationResponded: {
|
|
2
|
-
readonly
|
|
2
|
+
readonly authorizationId: {
|
|
3
3
|
readonly description: "Correlation key copied from Payment Mandate Spend Authorization Requested.";
|
|
4
4
|
readonly type: {
|
|
5
5
|
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export declare const PaymentMandateSpendSettled: {
|
|
2
|
-
readonly
|
|
3
|
-
readonly description: "
|
|
2
|
+
readonly authorizationId: {
|
|
3
|
+
readonly description: "Correlation key copied from Payment Mandate Spend Authorization Requested.";
|
|
4
4
|
readonly type: {
|
|
5
|
-
readonly blueId: "
|
|
5
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
|
-
readonly
|
|
9
|
-
readonly description: "
|
|
8
|
+
readonly capturedDeltaMinor: {
|
|
9
|
+
readonly description: "Net change to amountCaptured in minor units. Positive for successful capture.\n";
|
|
10
10
|
readonly type: {
|
|
11
|
-
readonly blueId: "
|
|
11
|
+
readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
readonly description: "Settlement update sent by bank to Payment Mandate after charge execution, used to apply deterministic reserved/captured deltas in mandate state. For approved authorizations, mandate may already reserve capacity at authorize step. Deltas should express net post-execution adjustment from current mandate state.\n";
|
|
@@ -37,6 +37,12 @@ export declare const PaymentMandateSpendSettled: {
|
|
|
37
37
|
readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
|
+
readonly settlementId: {
|
|
41
|
+
readonly description: "Optional settlement correlation id for idempotent settlement updates.";
|
|
42
|
+
readonly type: {
|
|
43
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
40
46
|
readonly status: {
|
|
41
47
|
readonly description: "Settlement status (\"succeeded\" | \"failed\").";
|
|
42
48
|
readonly type: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentMandateSpendSettled.d.ts","sourceRoot":"","sources":["../../../../src/packages/paynote/contents/PaymentMandateSpendSettled.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"PaymentMandateSpendSettled.d.ts","sourceRoot":"","sources":["../../../../src/packages/paynote/contents/PaymentMandateSpendSettled.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiE7B,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export const PaymentMandateSpendSettled = {
|
|
2
|
-
|
|
3
|
-
description: '
|
|
2
|
+
authorizationId: {
|
|
3
|
+
description: 'Correlation key copied from Payment Mandate Spend Authorization Requested.',
|
|
4
4
|
type: {
|
|
5
|
-
blueId: '
|
|
5
|
+
blueId: 'DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K',
|
|
6
6
|
},
|
|
7
7
|
},
|
|
8
|
-
|
|
9
|
-
description: '
|
|
8
|
+
capturedDeltaMinor: {
|
|
9
|
+
description: 'Net change to amountCaptured in minor units. Positive for successful capture.\n',
|
|
10
10
|
type: {
|
|
11
|
-
blueId: '
|
|
11
|
+
blueId: '5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1',
|
|
12
12
|
},
|
|
13
13
|
},
|
|
14
14
|
description: 'Settlement update sent by bank to Payment Mandate after charge execution, used to apply deterministic reserved/captured deltas in mandate state. For approved authorizations, mandate may already reserve capacity at authorize step. Deltas should express net post-execution adjustment from current mandate state.\n',
|
|
@@ -37,6 +37,12 @@ export const PaymentMandateSpendSettled = {
|
|
|
37
37
|
blueId: 'GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs',
|
|
38
38
|
},
|
|
39
39
|
},
|
|
40
|
+
settlementId: {
|
|
41
|
+
description: 'Optional settlement correlation id for idempotent settlement updates.',
|
|
42
|
+
type: {
|
|
43
|
+
blueId: 'DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K',
|
|
44
|
+
},
|
|
45
|
+
},
|
|
40
46
|
status: {
|
|
41
47
|
description: 'Settlement status ("succeeded" | "failed").',
|
|
42
48
|
type: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentMandateSpendSettled.js","sourceRoot":"","sources":["../../../../src/packages/paynote/contents/PaymentMandateSpendSettled.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,
|
|
1
|
+
{"version":3,"file":"PaymentMandateSpendSettled.js","sourceRoot":"","sources":["../../../../src/packages/paynote/contents/PaymentMandateSpendSettled.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,eAAe,EAAE;QACf,WAAW,EACT,4EAA4E;QAC9E,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,kBAAkB,EAAE;QAClB,WAAW,EACT,iFAAiF;QACnF,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,WAAW,EACT,yTAAyT;IAC3T,MAAM,EAAE;QACN,WAAW,EAAE,iDAAiD;QAC9D,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,IAAI,EAAE,+BAA+B;IACrC,MAAM,EAAE;QACN,WAAW,EAAE,0BAA0B;QACvC,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,kBAAkB,EAAE;QAClB,WAAW,EACT,gNAAgN;QAClN,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,SAAS,EAAE;QACT,WAAW,EAAE,+CAA+C;QAC5D,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,YAAY,EAAE;QACZ,WAAW,EACT,uEAAuE;QACzE,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,MAAM,EAAE;QACN,WAAW,EAAE,6CAA6C;QAC1D,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,aAAa,EAAE;QACb,WAAW,EAAE,wDAAwD;QACrE,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,IAAI,EAAE;QACJ,MAAM,EAAE,8CAA8C;KACvD;CACO,CAAC"}
|
|
@@ -11,7 +11,7 @@ export declare const PaymentMandateSpendSettlementResponded: {
|
|
|
11
11
|
readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
readonly
|
|
14
|
+
readonly authorizationId: {
|
|
15
15
|
readonly description: "Correlation key copied from Payment Mandate Spend Settled.";
|
|
16
16
|
readonly type: {
|
|
17
17
|
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
@@ -31,6 +31,12 @@ export declare const PaymentMandateSpendSettlementResponded: {
|
|
|
31
31
|
readonly blueId: "GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs";
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
|
+
readonly settlementId: {
|
|
35
|
+
readonly description: "Optional settlement correlation id copied from settlement request.";
|
|
36
|
+
readonly type: {
|
|
37
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
38
|
+
};
|
|
39
|
+
};
|
|
34
40
|
readonly status: {
|
|
35
41
|
readonly description: "Settlement processing status (\"accepted\" | \"rejected\").";
|
|
36
42
|
readonly type: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentMandateSpendSettlementResponded.d.ts","sourceRoot":"","sources":["../../../../src/packages/paynote/contents/PaymentMandateSpendSettlementResponded.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sCAAsC
|
|
1
|
+
{"version":3,"file":"PaymentMandateSpendSettlementResponded.d.ts","sourceRoot":"","sources":["../../../../src/packages/paynote/contents/PaymentMandateSpendSettlementResponded.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDzC,CAAC"}
|
|
@@ -11,7 +11,7 @@ export const PaymentMandateSpendSettlementResponded = {
|
|
|
11
11
|
blueId: '5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1',
|
|
12
12
|
},
|
|
13
13
|
},
|
|
14
|
-
|
|
14
|
+
authorizationId: {
|
|
15
15
|
description: 'Correlation key copied from Payment Mandate Spend Settled.',
|
|
16
16
|
type: {
|
|
17
17
|
blueId: 'DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K',
|
|
@@ -31,6 +31,12 @@ export const PaymentMandateSpendSettlementResponded = {
|
|
|
31
31
|
blueId: 'GQaGqFxHDz64L1c9QkCbz52ths6bMVtpHnw4QDngzQYs',
|
|
32
32
|
},
|
|
33
33
|
},
|
|
34
|
+
settlementId: {
|
|
35
|
+
description: 'Optional settlement correlation id copied from settlement request.',
|
|
36
|
+
type: {
|
|
37
|
+
blueId: 'DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K',
|
|
38
|
+
},
|
|
39
|
+
},
|
|
34
40
|
status: {
|
|
35
41
|
description: 'Settlement processing status ("accepted" | "rejected").',
|
|
36
42
|
type: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentMandateSpendSettlementResponded.js","sourceRoot":"","sources":["../../../../src/packages/paynote/contents/PaymentMandateSpendSettlementResponded.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,sCAAsC,GAAG;IACpD,cAAc,EAAE;QACd,WAAW,EACT,0EAA0E;QAC5E,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,cAAc,EAAE;QACd,WAAW,EACT,0EAA0E;QAC5E,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,eAAe,EAAE;QACf,WAAW,EAAE,4DAA4D;QACzE,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,WAAW,EACT,oFAAoF;IACtF,IAAI,EAAE,4CAA4C;IAClD,MAAM,EAAE;QACN,WAAW,EAAE,6CAA6C;QAC1D,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,WAAW,EAAE;QACX,WAAW,EAAE,8DAA8D;QAC3E,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,MAAM,EAAE;QACN,WAAW,EAAE,yDAAyD;QACtE,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,IAAI,EAAE;QACJ,MAAM,EAAE,8CAA8C;KACvD;CACO,CAAC"}
|
|
1
|
+
{"version":3,"file":"PaymentMandateSpendSettlementResponded.js","sourceRoot":"","sources":["../../../../src/packages/paynote/contents/PaymentMandateSpendSettlementResponded.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,sCAAsC,GAAG;IACpD,cAAc,EAAE;QACd,WAAW,EACT,0EAA0E;QAC5E,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,cAAc,EAAE;QACd,WAAW,EACT,0EAA0E;QAC5E,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,eAAe,EAAE;QACf,WAAW,EAAE,4DAA4D;QACzE,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,WAAW,EACT,oFAAoF;IACtF,IAAI,EAAE,4CAA4C;IAClD,MAAM,EAAE;QACN,WAAW,EAAE,6CAA6C;QAC1D,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,WAAW,EAAE;QACX,WAAW,EAAE,8DAA8D;QAC3E,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,YAAY,EAAE;QACZ,WAAW,EACT,oEAAoE;QACtE,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,MAAM,EAAE;QACN,WAAW,EAAE,yDAAyD;QACtE,IAAI,EAAE;YACJ,MAAM,EAAE,8CAA8C;SACvD;KACF;IACD,IAAI,EAAE;QACJ,MAAM,EAAE,8CAA8C;KACvD;CACO,CAAC"}
|