@cobre-npm/library-portal-core 0.26.2 → 0.27.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
@@ -42,6 +42,7 @@ import { getCountries } from "@cobre-npm/library-portal-core/countries"
42
42
  | `@cobre-npm/library-portal-core/documentTypes` | Document types (definition + per-country applicability) |
43
43
  | `@cobre-npm/library-portal-core/currencies` | Currencies |
44
44
  | `@cobre-npm/library-portal-core/transactions` | Transaction interfaces |
45
+ | `@cobre-npm/library-portal-core/canonicalTransactions` | Canonical transaction/money-movement detail interfaces |
45
46
  | `@cobre-npm/library-portal-core/search` | Search / aggregation interfaces |
46
47
  | `@cobre-npm/library-portal-core/trustedSessions` | Trusted session (OTP elevation window) interfaces |
47
48
  | `@cobre-npm/library-portal-core/lang` | Supported locales (`Locale`, defaults) |
@@ -260,6 +261,31 @@ import type { TrustedSessionStatus } from "@cobre-npm/library-portal-core/truste
260
261
  `TrustedSessionStatus` is the contract of `/trusted-sessions`: the OTP elevation window that lets a
261
262
  caller stop attaching an `otp_token` per request while the window is active.
262
263
 
264
+ ### `canonicalTransactions`
265
+
266
+ Interfaces only (pure types). This is the single source of truth for the canonical money-movement /
267
+ transaction detail — built by `core-portal-bff`'s transaction-canonical BFF, consumed as-is by the
268
+ `portal` MFE (`CanonicalMoneyMovement`), and narrowed with `Pick` by the receipts-generation service:
269
+
270
+ ```ts
271
+ import type {
272
+ ICanonicalTransactionDetail, ICanonicalReceiptRequest,
273
+ ICanonicalParticipant, ICanonicalSummary, ICanonicalAlert, /* ...all sections */
274
+ } from "@cobre-npm/library-portal-core/canonicalTransactions"
275
+ ```
276
+
277
+ - `ICanonicalTransactionDetail` is the full canonical shape (`summary`, `classification`, `participants`,
278
+ `references`, `timeline`, `forex_quote`, `errors`, `allowed_actions`, `approvals`, `balance`,
279
+ `associated_transactions`, `split_information`, `derived`, ...).
280
+ - `ICanonicalReceiptRequest` is the wire contract `core-portal-bff` sends to the receipts-generation
281
+ service (`{ canonical, document_type, resource_id, locale?, timezone? }`).
282
+ - Fields reuse existing catalogs where they represent one (`Currency`, `Country`, `CounterpartyType`,
283
+ `DocumentType`, `MovementStatus`) instead of a loose `string`.
284
+ - This union was assembled by comparing the shape as it existed, slightly diverged, in three
285
+ consumers (`portal`, `core-portal-bff`, `util-portal-receipts`) — see `ICanonicalApprovalEvent`'s
286
+ doc comment for one case that's a superset of two non-overlapping shapes rather than a clean merge,
287
+ and revisit it once the real payload is confirmed.
288
+
263
289
  ---
264
290
 
265
291
  ## i18n / languages
@@ -0,0 +1,3 @@
1
+ export * from "./interfaces/response.interface";
2
+ export * from "./interfaces/request.interface";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/canonicalTransactions/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAA;AAC/C,cAAc,gCAAgC,CAAA"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./interfaces/response.interface"), exports);
18
+ __exportStar(require("./interfaces/request.interface"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/canonicalTransactions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAA+C;AAC/C,iEAA8C"}
@@ -0,0 +1,9 @@
1
+ import type { CanonicalDocumentType, ICanonicalTransactionDetail } from "./response.interface";
2
+ export interface ICanonicalReceiptRequest {
3
+ canonical: ICanonicalTransactionDetail;
4
+ document_type: CanonicalDocumentType;
5
+ resource_id: string;
6
+ locale?: string;
7
+ timezone?: string;
8
+ }
9
+ //# sourceMappingURL=request.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request.interface.d.ts","sourceRoot":"","sources":["../../../src/canonicalTransactions/interfaces/request.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAA;AAG9F,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,2BAA2B,CAAA;IACtC,aAAa,EAAE,qBAAqB,CAAA;IACpC,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=request.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request.interface.js","sourceRoot":"","sources":["../../../src/canonicalTransactions/interfaces/request.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,358 @@
1
+ import type { Country } from "../../countries/base/catalog";
2
+ import type { CounterpartyType } from "../../counterparties/types/catalog";
3
+ import type { Currency } from "../../currencies/catalog";
4
+ import type { DocumentType } from "../../documentTypes/catalog";
5
+ import type { MovementStatus } from "../../movements/status/catalog";
6
+ export type CanonicalDirection = "credit" | "debit";
7
+ export type CanonicalProductType = "payout" | "payin" | "internal_transfer" | "cross_border";
8
+ export type CanonicalNature = "payment" | "collection" | "return" | "fx_conversion";
9
+ export type CanonicalStatusPresentationType = "status-pending" | "info" | "success" | "error" | "neutral" | "warning";
10
+ export type CanonicalAlertType = "danger" | "success" | "warning" | "info";
11
+ export type CanonicalAlertActionType = "open_drawer" | "copy_to_clipboard";
12
+ export type CanonicalApprovalDecision = "approved" | "denied" | "pending_approval";
13
+ export type CanonicalSourceEndpoint = "money_movements" | "transactions";
14
+ export type CanonicalErrorCode = "CAN001";
15
+ export type CanonicalEntityType = "account" | "counterparty";
16
+ export type CanonicalDocumentType = "order" | "receipt";
17
+ export interface ICanonicalAlertAction {
18
+ type: CanonicalAlertActionType;
19
+ target?: string;
20
+ }
21
+ export interface ICanonicalAlert {
22
+ id: string;
23
+ type: CanonicalAlertType;
24
+ title: string;
25
+ description: string;
26
+ priority: number;
27
+ action: ICanonicalAlertAction | null;
28
+ }
29
+ export interface ICanonicalStatus {
30
+ state: MovementStatus;
31
+ code: string | null;
32
+ description: string | null;
33
+ display_label: string;
34
+ }
35
+ export interface ICanonicalSummary {
36
+ amount: number | null;
37
+ currency: Currency | null;
38
+ direction: CanonicalDirection;
39
+ status: ICanonicalStatus;
40
+ created_at: string;
41
+ updated_at: string;
42
+ is_part_of_batch: boolean;
43
+ user_already_voted: boolean;
44
+ split_payment: string | null;
45
+ alerts: ICanonicalAlert[];
46
+ }
47
+ export interface ICanonicalGeo {
48
+ origin_country: Country | null;
49
+ destination_country: Country | null;
50
+ }
51
+ export interface ICanonicalClassification {
52
+ rail: string;
53
+ label: string;
54
+ product_type: CanonicalProductType;
55
+ nature: CanonicalNature;
56
+ category: string | null;
57
+ geo: ICanonicalGeo;
58
+ alerts: ICanonicalAlert[];
59
+ }
60
+ export interface ICanonicalParticipantConnectivity {
61
+ status: string | null;
62
+ description: string | null;
63
+ }
64
+ export interface ICanonicalCounterpartyAddress {
65
+ country: Country | null;
66
+ city: string | null;
67
+ state: string | null;
68
+ street_line1: string | null;
69
+ street_line2: string | null;
70
+ postal_code: string | null;
71
+ }
72
+ export interface ICanonicalBeneficiary {
73
+ account_number: string | null;
74
+ account_type: CounterpartyType | null;
75
+ identification_number: string | null;
76
+ identification_type: DocumentType | null;
77
+ bank_code: string | null;
78
+ bank_name: string | null;
79
+ key_value: string | null;
80
+ wallet_address: string | null;
81
+ chain: string | null;
82
+ token: string | null;
83
+ }
84
+ export interface ICanonicalOrderingInstrument {
85
+ value: string | null;
86
+ error_code: CanonicalErrorCode | null;
87
+ }
88
+ export interface ICanonicalParticipant {
89
+ entity_type: CanonicalEntityType;
90
+ id: string;
91
+ display_name: string | null;
92
+ account_number: string | null;
93
+ account_type: CounterpartyType | null;
94
+ provider_id: string | null;
95
+ provider_name: string | null;
96
+ alias: string | null;
97
+ geo: Country | null;
98
+ currency: Currency | null;
99
+ account_holder_name: string | null;
100
+ account_holder_id_number: string | null;
101
+ account_holder_id_type: string | null;
102
+ obtained_balance: number | null;
103
+ obtained_balance_at: string | null;
104
+ connectivity: ICanonicalParticipantConnectivity | null;
105
+ beneficiary_institution: string | null;
106
+ counterparty_full_name: string | null;
107
+ counterparty_id_number: string | null;
108
+ counterparty_id_type: string | null;
109
+ counterparty_email: string | null;
110
+ counterparty_phone: string | null;
111
+ key_value: string | null;
112
+ key_type: string | null;
113
+ card_number: string | null;
114
+ cobre_tag: string | null;
115
+ counterparty_wallet_address: string | null;
116
+ counterparty_address: ICanonicalCounterpartyAddress | null;
117
+ payment_code: string | null;
118
+ bank_country: Country | null;
119
+ rail: string | null;
120
+ chain: string | null;
121
+ token: string | null;
122
+ beneficiary?: ICanonicalBeneficiary | null;
123
+ payer?: ICanonicalBeneficiary | null;
124
+ ordering_instrument?: ICanonicalOrderingInstrument | null;
125
+ }
126
+ export interface ICanonicalParticipants {
127
+ source: ICanonicalParticipant | null;
128
+ destination: ICanonicalParticipant | null;
129
+ }
130
+ export interface ICanonicalCheckout {
131
+ id: string | null;
132
+ active: boolean | null;
133
+ checkout_item: string | null;
134
+ checkout_url: string | null;
135
+ redirect_url: string | null;
136
+ amount: number | null;
137
+ valid_until: string | null;
138
+ money_movement_intent_limit: number | null;
139
+ money_movement_created: number | null;
140
+ checkout_rails: string[] | null;
141
+ description_to_payee: string | null;
142
+ source_id: string | null;
143
+ destination_id: string | null;
144
+ updated_at: string | null;
145
+ }
146
+ export interface ICanonicalReferences {
147
+ external_id: string | null;
148
+ tracking_key: string | null;
149
+ reference: string | null;
150
+ cep_url: string | null;
151
+ description: string | null;
152
+ mm_approval_id: string | null;
153
+ batch_id: string | null;
154
+ batch_filename: string | null;
155
+ forex_quote_id: string | null;
156
+ creator: string | null;
157
+ checker_approval: boolean;
158
+ key_value: string | null;
159
+ destination_key: string | null;
160
+ virtual_account: string | null;
161
+ payment_valid_until: string | null;
162
+ associated_id: string[] | null;
163
+ r2p_rail: string | null;
164
+ r2p_methods: string[] | null;
165
+ key_config: string | null;
166
+ qr_value: string | null;
167
+ payment_link: string | null;
168
+ redirect_url: string | null;
169
+ ticket_id: string | null;
170
+ financial_institution_code: string | null;
171
+ registration_description: string | null;
172
+ description_to_payer: string | null;
173
+ description_to_payee: string | null;
174
+ description_to_beneficiary_account: string | null;
175
+ pse_bank_code: string | null;
176
+ internal_tracking_key: string | null;
177
+ destination_description: string | null;
178
+ account_reference: string | null;
179
+ alerts: ICanonicalAlert[];
180
+ checkout: ICanonicalCheckout | null;
181
+ }
182
+ export interface ICanonicalTimelineMovement {
183
+ id: string | null;
184
+ type: string;
185
+ type_display: string;
186
+ amount: number;
187
+ direction: CanonicalDirection;
188
+ account_id: string;
189
+ transaction_date: string | null;
190
+ operation_date: string | null;
191
+ created_date: string | null;
192
+ status: MovementStatus;
193
+ status_type: CanonicalStatusPresentationType;
194
+ status_icon: string | null;
195
+ status_label: string;
196
+ status_message: string;
197
+ status_description: string | null;
198
+ previous_balance: number | null;
199
+ current_balance: number | null;
200
+ bank_statement_id: string | null;
201
+ bank_transaction_type: string | null;
202
+ category_code: string | null;
203
+ origin_account_provider_id: string | null;
204
+ account_reference: string | null;
205
+ }
206
+ export interface ICanonicalApprovalEvent {
207
+ id?: string;
208
+ type?: string;
209
+ status?: string;
210
+ status_label?: string;
211
+ occurred_at?: string;
212
+ email?: string;
213
+ decision?: CanonicalApprovalDecision;
214
+ comment?: string;
215
+ decision_at?: string;
216
+ }
217
+ export interface ICanonicalTimeline {
218
+ movements: ICanonicalTimelineMovement[];
219
+ approval_events: ICanonicalApprovalEvent[];
220
+ alerts: ICanonicalAlert[];
221
+ }
222
+ export interface ICanonicalQuoteTier {
223
+ tier: number | null;
224
+ source_amount: number | null;
225
+ destination_amount: number | null;
226
+ spread: number | null;
227
+ fx_rate: number | null;
228
+ valid_until_tier: string | null;
229
+ }
230
+ export interface ICanonicalPenalizationTier {
231
+ source_amount: number | null;
232
+ destination_amount: number | null;
233
+ spread: number | null;
234
+ fx_rate: number | null;
235
+ }
236
+ export interface ICanonicalRollingQuoteDetails {
237
+ quote_tiers: ICanonicalQuoteTier[];
238
+ penalization_tier: ICanonicalPenalizationTier | null;
239
+ }
240
+ export interface ICanonicalFeesBreakdown {
241
+ spread: number;
242
+ }
243
+ export interface ICanonicalForexQuote {
244
+ forex_quote_id: string | null;
245
+ source_currency: Currency | null;
246
+ target_currency: Currency | null;
247
+ fx_rate: number | null;
248
+ inverse_fx_rate: number | null;
249
+ source_amount: number | null;
250
+ destination_amount: number | null;
251
+ valid_until: string | null;
252
+ created_at: string | null;
253
+ tier_applied: string | null;
254
+ fees_breakdown: ICanonicalFeesBreakdown | null;
255
+ off_market: boolean;
256
+ type: "rolling_quote" | "static_quote" | null;
257
+ quota_limit: number | null;
258
+ remaining_quota: number | null;
259
+ rolling_quote_details: ICanonicalRollingQuoteDetails | null;
260
+ alerts: ICanonicalAlert[];
261
+ }
262
+ export interface ICanonicalErrors {
263
+ code: string | null;
264
+ message: string | null;
265
+ category: string;
266
+ bank_rejection_code: string | null;
267
+ bank_transaction_type: string | null;
268
+ }
269
+ export interface ICanonicalAllowedActions {
270
+ can_export_receipt: boolean;
271
+ can_approve: boolean;
272
+ can_decline: boolean;
273
+ can_return: boolean;
274
+ can_view_batch: boolean;
275
+ }
276
+ export interface ICanonicalApprovals {
277
+ mm_approval_id: string | null;
278
+ minimum_approvers: number | null;
279
+ minimum_deniers: number | null;
280
+ approvers_count: number;
281
+ deniers_count: number;
282
+ }
283
+ export interface ICanonicalBalance {
284
+ previous: number | null;
285
+ delta: number;
286
+ final: number | null;
287
+ currency: Currency | null;
288
+ account_id: string | null;
289
+ alerts: ICanonicalAlert[];
290
+ }
291
+ export interface ICanonicalAssociatedTransactionItem {
292
+ id: string | null;
293
+ type: string;
294
+ type_display: string;
295
+ status: Pick<ICanonicalStatus, "state" | "display_label">;
296
+ direction: CanonicalDirection;
297
+ amount: number;
298
+ currency: Currency | null;
299
+ counterparty_name: string | null;
300
+ occurred_at: string | null;
301
+ bank_statement_id: string | null;
302
+ operation_date: string | null;
303
+ bank_transaction_type: string | null;
304
+ bank_rejection_code: string | null;
305
+ }
306
+ export interface ICanonicalAssociatedTransactions {
307
+ items: ICanonicalAssociatedTransactionItem[];
308
+ total_count: number;
309
+ total_amount: number | null;
310
+ alerts: ICanonicalAlert[];
311
+ }
312
+ export interface ICanonicalSplitStatus {
313
+ state: MovementStatus | null;
314
+ code: string | null;
315
+ description: string | null;
316
+ }
317
+ export interface ICanonicalSplitContentItem {
318
+ id: string | null;
319
+ amount: number | null;
320
+ currency: Currency | null;
321
+ status: ICanonicalSplitStatus;
322
+ created_at: string | null;
323
+ }
324
+ export interface ICanonicalSplitInformation {
325
+ split_id: string;
326
+ total_items: number;
327
+ contents: ICanonicalSplitContentItem[];
328
+ }
329
+ export interface ICanonicalDerived {
330
+ source_endpoint: CanonicalSourceEndpoint;
331
+ origin_mm_id: string | null;
332
+ is_reconciliation_adjustment: boolean;
333
+ adjustment_type: string | null;
334
+ adjustment_reason: string | null;
335
+ applied_at: string | null;
336
+ origin_id: string | null;
337
+ origin_display: string | null;
338
+ }
339
+ export interface ICanonicalTransactionDetail {
340
+ id: string;
341
+ canonical_version: string;
342
+ degraded: boolean;
343
+ degraded_sources: string[];
344
+ summary: ICanonicalSummary;
345
+ classification: ICanonicalClassification;
346
+ participants: ICanonicalParticipants;
347
+ references: ICanonicalReferences;
348
+ timeline: ICanonicalTimeline;
349
+ forex_quote: ICanonicalForexQuote | null;
350
+ errors: ICanonicalErrors | null;
351
+ allowed_actions: ICanonicalAllowedActions;
352
+ approvals: ICanonicalApprovals | null;
353
+ balance: ICanonicalBalance | null;
354
+ associated_transactions: ICanonicalAssociatedTransactions | null;
355
+ split_information: ICanonicalSplitInformation | null;
356
+ derived: ICanonicalDerived;
357
+ }
358
+ //# sourceMappingURL=response.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"response.interface.d.ts","sourceRoot":"","sources":["../../../src/canonicalTransactions/interfaces/response.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA;AAC3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAA;AAC1E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAEpE,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,OAAO,CAAA;AACnD,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,OAAO,GAAG,mBAAmB,GAAG,cAAc,CAAA;AAC5F,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,YAAY,GAAG,QAAQ,GAAG,eAAe,CAAA;AACnF,MAAM,MAAM,+BAA+B,GAAG,gBAAgB,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAA;AACrH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,CAAA;AAC1E,MAAM,MAAM,wBAAwB,GA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E,mBAAmB,GAAG,IAAI,CAAA;IACrC,OAAO,EAAE,iBAAiB,GAAG,IAAI,CAAA;IACjC,uBAAuB,EAAE,gCAAgC,GAAG,IAAI,CAAA;IAChE,iBAAiB,EAAE,0BAA0B,GAAG,IAAI,CAAA;IACpD,OAAO,EAAE,iBAAiB,CAAA;CAC3B"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=response.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"response.interface.js","sourceRoot":"","sources":["../../../src/canonicalTransactions/interfaces/response.interface.ts"],"names":[],"mappings":""}
@@ -7,6 +7,8 @@ export declare const Currencies: {
7
7
  readonly COPCO: "copco";
8
8
  readonly USDT: "usdt";
9
9
  readonly USDC: "usdc";
10
+ readonly CNY: "cny";
11
+ readonly EUR: "eur";
10
12
  };
11
13
  /** @deprecated Use the `currencies` domain instead: `@cobre-npm/library-portal-core/currencies`. */
12
14
  export type Currency = typeof Currencies[keyof typeof Currencies];
@@ -1 +1 @@
1
- {"version":3,"file":"currencies.constants.d.ts","sourceRoot":"","sources":["../../../src/constants/currencies/currencies.constants.ts"],"names":[],"mappings":"AAAA,oGAAoG;AACpG,eAAO,MAAM,UAAU;;;;;;;;CAQb,CAAA;AAEV,oGAAoG;AACpG,MAAM,MAAM,QAAQ,GAAG,OAAO,UAAU,CAAC,MAAM,OAAO,UAAU,CAAC,CAAA"}
1
+ {"version":3,"file":"currencies.constants.d.ts","sourceRoot":"","sources":["../../../src/constants/currencies/currencies.constants.ts"],"names":[],"mappings":"AAAA,oGAAoG;AACpG,eAAO,MAAM,UAAU;;;;;;;;;;CAUb,CAAA;AAEV,oGAAoG;AACpG,MAAM,MAAM,QAAQ,GAAG,OAAO,UAAU,CAAC,MAAM,OAAO,UAAU,CAAC,CAAA"}
@@ -10,5 +10,7 @@ exports.Currencies = {
10
10
  COPCO: "copco",
11
11
  USDT: "usdt",
12
12
  USDC: "usdc",
13
+ CNY: "cny",
14
+ EUR: "eur",
13
15
  };
14
16
  //# sourceMappingURL=currencies.constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"currencies.constants.js","sourceRoot":"","sources":["../../../src/constants/currencies/currencies.constants.ts"],"names":[],"mappings":";;;AAAA,oGAAoG;AACvF,QAAA,UAAU,GAAG;IACxB,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,SAAS,EAAE,YAAY;IACvB,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;CACJ,CAAA"}
1
+ {"version":3,"file":"currencies.constants.js","sourceRoot":"","sources":["../../../src/constants/currencies/currencies.constants.ts"],"names":[],"mappings":";;;AAAA,oGAAoG;AACvF,QAAA,UAAU,GAAG;IACxB,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,SAAS,EAAE,YAAY;IACvB,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;CACF,CAAA"}
@@ -62,6 +62,24 @@ export declare const CurrencyData: readonly [{
62
62
  readonly minAmount: 1;
63
63
  readonly type: "stable";
64
64
  readonly flagAsset: "cop_stable";
65
+ }, {
66
+ readonly id: 9;
67
+ readonly label: "CNY";
68
+ readonly code: "cny";
69
+ readonly isoCode: "CNY";
70
+ readonly geo: "chn";
71
+ readonly flagAsset: "chn";
72
+ readonly minAmount: 100;
73
+ readonly type: "fiat";
74
+ }, {
75
+ readonly id: 10;
76
+ readonly label: "EUR";
77
+ readonly code: "eur";
78
+ readonly isoCode: "EUR";
79
+ readonly geo: "eur";
80
+ readonly flagAsset: "eur";
81
+ readonly minAmount: 100;
82
+ readonly type: "fiat";
65
83
  }];
66
84
  /** @deprecated Use the `currencies` domain instead: `@cobre-npm/library-portal-core/currencies`. */
67
85
  export type CurrencyType = (typeof CurrencyData)[number]["type"];
@@ -1 +1 @@
1
- {"version":3,"file":"currencies.data.d.ts","sourceRoot":"","sources":["../../../src/constants/currencies/currencies.data.ts"],"names":[],"mappings":"AAGA,oGAAoG;AACpG,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuEf,CAAA;AAEV,oGAAoG;AACpG,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAA;AAChE,oGAAoG;AACpG,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAA"}
1
+ {"version":3,"file":"currencies.data.d.ts","sourceRoot":"","sources":["../../../src/constants/currencies/currencies.data.ts"],"names":[],"mappings":"AAGA,oGAAoG;AACpG,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2Ff,CAAA;AAEV,oGAAoG;AACpG,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAA;AAChE,oGAAoG;AACpG,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAA"}
@@ -75,5 +75,25 @@ exports.CurrencyData = [
75
75
  type: "stable",
76
76
  flagAsset: "cop_stable",
77
77
  },
78
+ {
79
+ id: 9,
80
+ label: "CNY",
81
+ code: currencies_constants_1.Currencies.CNY,
82
+ isoCode: "CNY",
83
+ geo: countries_constants_1.Countries.CHN,
84
+ flagAsset: "chn",
85
+ minAmount: 100,
86
+ type: "fiat",
87
+ },
88
+ {
89
+ id: 10,
90
+ label: "EUR",
91
+ code: currencies_constants_1.Currencies.EUR,
92
+ isoCode: "EUR",
93
+ geo: countries_constants_1.Countries.EUR,
94
+ flagAsset: "eur",
95
+ minAmount: 100,
96
+ type: "fiat",
97
+ },
78
98
  ];
79
99
  //# sourceMappingURL=currencies.data.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"currencies.data.js","sourceRoot":"","sources":["../../../src/constants/currencies/currencies.data.ts"],"names":[],"mappings":";;;AAAA,0EAA4D;AAC5D,iEAAmD;AAEnD,oGAAoG;AACvF,QAAA,YAAY,GAAG;IAC1B;QACE,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,iCAAU,CAAC,GAAG;QACpB,OAAO,EAAE,KAAK;QACd,GAAG,EAAE,+BAAS,CAAC,GAAG;QAClB,SAAS,EAAE,KAAK;QAChB,SAAS,EAAE,CAAC;QACZ,IAAI,EAAE,MAAM;KACb;IACD;QACE,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,iCAAU,CAAC,GAAG;QACpB,OAAO,EAAE,KAAK;QACd,GAAG,EAAE,+BAAS,CAAC,GAAG;QAClB,SAAS,EAAE,KAAK;QAChB,SAAS,EAAE,IAAI;QACf,IAAI,EAAE,MAAM;KACb;IACD;QACE,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,iCAAU,CAAC,GAAG;QACpB,OAAO,EAAE,KAAK;QACd,GAAG,EAAE,+BAAS,CAAC,GAAG;QAClB,SAAS,EAAE,IAAI;QACf,SAAS,EAAE,GAAG;QACd,IAAI,EAAE,MAAM;KACb;IACD;QACE,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,YAAY;QACnB,IAAI,EAAE,iCAAU,CAAC,SAAS;QAC1B,OAAO,EAAE,KAAK;QACd,GAAG,EAAE,+BAAS,CAAC,MAAM;QACrB,SAAS,EAAE,CAAC;QACZ,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,YAAY;KACxB;IACD;QACE,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,YAAY;QACnB,IAAI,EAAE,iCAAU,CAAC,IAAI;QACrB,OAAO,EAAE,KAAK;QACd,GAAG,EAAE,+BAAS,CAAC,GAAG;QAClB,SAAS,EAAE,MAAM;QACjB,SAAS,EAAE,CAAC;QACZ,IAAI,EAAE,YAAY;KACnB;IACD;QACE,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,YAAY;QACnB,IAAI,EAAE,iCAAU,CAAC,IAAI;QACrB,OAAO,EAAE,KAAK;QACd,GAAG,EAAE,+BAAS,CAAC,GAAG;QAClB,SAAS,EAAE,MAAM;QACjB,SAAS,EAAE,CAAC;QACZ,IAAI,EAAE,YAAY;KACnB;IACD;QACE,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,iCAAU,CAAC,KAAK;QACtB,OAAO,EAAE,KAAK;QACd,GAAG,EAAE,+BAAS,CAAC,GAAG;QAClB,SAAS,EAAE,CAAC;QACZ,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,YAAY;KACxB;CACO,CAAA"}
1
+ {"version":3,"file":"currencies.data.js","sourceRoot":"","sources":["../../../src/constants/currencies/currencies.data.ts"],"names":[],"mappings":";;;AAAA,0EAA4D;AAC5D,iEAAmD;AAEnD,oGAAoG;AACvF,QAAA,YAAY,GAAG;IAC1B;QACE,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,iCAAU,CAAC,GAAG;QACpB,OAAO,EAAE,KAAK;QACd,GAAG,EAAE,+BAAS,CAAC,GAAG;QAClB,SAAS,EAAE,KAAK;QAChB,SAAS,EAAE,CAAC;QACZ,IAAI,EAAE,MAAM;KACb;IACD;QACE,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,iCAAU,CAAC,GAAG;QACpB,OAAO,EAAE,KAAK;QACd,GAAG,EAAE,+BAAS,CAAC,GAAG;QAClB,SAAS,EAAE,KAAK;QAChB,SAAS,EAAE,IA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U,CAAC,GAAG;QACpB,OAAO,EAAE,KAAK;QACd,GAAG,EAAE,+BAAS,CAAC,GAAG;QAClB,SAAS,EAAE,KAAK;QAChB,SAAS,EAAE,GAAG;QACd,IAAI,EAAE,MAAM;KACb;IACD;QACE,EAAE,EAAE,EAAE;QACN,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,iCAAU,CAAC,GAAG;QACpB,OAAO,EAAE,KAAK;QACd,GAAG,EAAE,+BAAS,CAAC,GAAG;QAClB,SAAS,EAAE,KAAK;QAChB,SAAS,EAAE,GAAG;QACd,IAAI,EAAE,MAAM;KACb;CACO,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cobre-npm/library-portal-core",
3
- "version": "0.26.2",
3
+ "version": "0.27.0",
4
4
  "description": "Shared configurations and resources for Portal MFEs",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -37,6 +37,10 @@
37
37
  "types": "./dist/transactions/index.d.ts",
38
38
  "default": "./dist/transactions/index.js"
39
39
  },
40
+ "./canonicalTransactions": {
41
+ "types": "./dist/canonicalTransactions/index.d.ts",
42
+ "default": "./dist/canonicalTransactions/index.js"
43
+ },
40
44
  "./search": {
41
45
  "types": "./dist/search/index.d.ts",
42
46
  "default": "./dist/search/index.js"