@cobre-npm/library-portal-core 0.58.0 → 0.59.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
CHANGED
|
@@ -617,6 +617,8 @@ import type {
|
|
|
617
617
|
consumers (`portal`, `core-portal-bff`, `util-portal-receipts`) — see `ICanonicalApprovalEvent`'s
|
|
618
618
|
doc comment for one case that's a superset of two non-overlapping shapes rather than a clean merge,
|
|
619
619
|
and revisit it once the real payload is confirmed.
|
|
620
|
+
- `ICanonicalAllowedActions.can_report_problem` is optional until `core-portal-bff` emits it (BLCK-32190); make it
|
|
621
|
+
required then. `ICanonicalParticipant.subclient` is present only when the movement was made on a subclient's behalf.
|
|
620
622
|
- **productType / nature** (i18n): `getProductTypes(lang)` / `getNatures(lang)` cover the 5 `product_type` and 6
|
|
621
623
|
`nature` values of the BFF's `rail-mapper.interface.ts` (the source of truth), and `CanonicalProductType` /
|
|
622
624
|
`CanonicalNature` are derived from them — `conversion`, `on_ramp` and `off_ramp` used to be missing. `en` labels
|
|
@@ -83,6 +83,10 @@ export interface ICanonicalBeneficiary {
|
|
|
83
83
|
chain: string | null;
|
|
84
84
|
token: string | null;
|
|
85
85
|
}
|
|
86
|
+
export interface ICanonicalSubclient {
|
|
87
|
+
id: string;
|
|
88
|
+
legal_name: string | null;
|
|
89
|
+
}
|
|
86
90
|
export interface ICanonicalOrderingInstrument {
|
|
87
91
|
value: string | null;
|
|
88
92
|
error_code: CanonicalErrorCode | null;
|
|
@@ -124,6 +128,7 @@ export interface ICanonicalParticipant {
|
|
|
124
128
|
beneficiary?: ICanonicalBeneficiary | null;
|
|
125
129
|
payer?: ICanonicalBeneficiary | null;
|
|
126
130
|
ordering_instrument?: ICanonicalOrderingInstrument | null;
|
|
131
|
+
subclient?: ICanonicalSubclient | null;
|
|
127
132
|
}
|
|
128
133
|
export interface ICanonicalParticipants {
|
|
129
134
|
source: ICanonicalParticipant | null;
|
|
@@ -178,6 +183,7 @@ export interface ICanonicalReferences {
|
|
|
178
183
|
internal_tracking_key: string | null;
|
|
179
184
|
destination_description: string | null;
|
|
180
185
|
account_reference: string | null;
|
|
186
|
+
settlement_type: string | null;
|
|
181
187
|
alerts: ICanonicalAlert[];
|
|
182
188
|
checkout: ICanonicalCheckout | null;
|
|
183
189
|
}
|
|
@@ -274,6 +280,7 @@ export interface ICanonicalAllowedActions {
|
|
|
274
280
|
can_decline: boolean;
|
|
275
281
|
can_return: boolean;
|
|
276
282
|
can_view_batch: boolean;
|
|
283
|
+
can_report_problem?: boolean;
|
|
277
284
|
}
|
|
278
285
|
export interface ICanonicalApprovals {
|
|
279
286
|
mm_approval_id: string | null;
|