@cobre-npm/library-portal-core 0.40.1 → 0.41.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.
@@ -2,4 +2,5 @@ export type { MovementType, MovementTypeGroup, MovementTypeGroupLabel } from "./
2
2
  export * from "./types/utils/movement-type.utils";
3
3
  export type { MovementStatus, MovementStatusType } from "./status/catalog";
4
4
  export * from "./status/utils/movement-status.utils";
5
+ export * from "./interfaces/response.interface";
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/movements/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAC9F,cAAc,mCAAmC,CAAA;AAEjD,YAAY,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAC1E,cAAc,sCAAsC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/movements/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAC9F,cAAc,mCAAmC,CAAA;AAEjD,YAAY,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAC1E,cAAc,sCAAsC,CAAA;AAEpD,cAAc,iCAAiC,CAAA"}
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./types/utils/movement-type.utils"), exports);
18
18
  __exportStar(require("./status/utils/movement-status.utils"), exports);
19
+ __exportStar(require("./interfaces/response.interface"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/movements/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,oEAAiD;AAGjD,uEAAoD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/movements/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,oEAAiD;AAGjD,uEAAoD;AAEpD,kEAA+C"}
@@ -0,0 +1,106 @@
1
+ import type { Country } from "../../countries/base/catalog";
2
+ import type { Currency } from "../../currencies/catalog";
3
+ import type { MovementStatus } from "../status/catalog";
4
+ import type { MovementType } from "../types/catalog";
5
+ import type { SearchResponse } from "../../search/interfaces/response.interface";
6
+ export interface MMStatus {
7
+ state: MovementStatus;
8
+ code: string;
9
+ description: string;
10
+ }
11
+ export interface MMParticipantConnectivity {
12
+ status: string;
13
+ description: string;
14
+ }
15
+ export interface MMParticipantMetadata {
16
+ cobre_tag?: string;
17
+ available_services?: string[];
18
+ counterparty_chain?: string;
19
+ chain?: string;
20
+ currency?: Currency;
21
+ counterparty_fullname?: string;
22
+ counterparty_wallet_address?: string;
23
+ token_symbol?: string;
24
+ }
25
+ export interface MMParticipant {
26
+ id?: string;
27
+ type?: string;
28
+ alias?: string;
29
+ account_type?: string;
30
+ account_number?: string;
31
+ card_number?: string;
32
+ connectivity?: MMParticipantConnectivity | null;
33
+ provider_id?: string;
34
+ provider_name?: string;
35
+ obtained_balance?: number | null;
36
+ obtained_balance_at?: string;
37
+ currency?: Currency;
38
+ geo?: Country;
39
+ created_at?: string;
40
+ updated_at?: string;
41
+ counterparty_fullname?: string;
42
+ counterparty_id_type?: string;
43
+ counterparty_id_number?: string;
44
+ counterparty_email?: string;
45
+ counterparty_phone?: string;
46
+ beneficiary_institution?: string;
47
+ cobre_tag?: string;
48
+ key_value?: string;
49
+ subclient_id?: string;
50
+ metadata?: MMParticipantMetadata;
51
+ }
52
+ export interface MMMetadata {
53
+ description?: string;
54
+ reference?: string;
55
+ tracking_key?: string;
56
+ cep_url?: string;
57
+ destination_description?: string;
58
+ tier_applied?: string;
59
+ split_id?: string;
60
+ split_amount?: number;
61
+ split_count?: number;
62
+ associated_id?: string[];
63
+ ticket_id?: string;
64
+ key_value?: string;
65
+ destination_key?: string;
66
+ virtual_account?: string;
67
+ valid_until?: string;
68
+ r2p_rail?: string;
69
+ r2p_methods?: string[];
70
+ key_config?: string;
71
+ qr_value?: string;
72
+ payment_link?: string;
73
+ redirect_url?: string;
74
+ financial_institution_code?: string;
75
+ registration_description?: string;
76
+ description_to_payer?: string;
77
+ description_to_payee?: string;
78
+ description_to_beneficiary_account?: string;
79
+ pse_bank_code?: string;
80
+ internal_tracking_key?: string;
81
+ account_reference?: string;
82
+ category?: string;
83
+ settlement_type?: string;
84
+ }
85
+ export interface MM {
86
+ id: string;
87
+ type: MovementType;
88
+ status: MMStatus;
89
+ geo: Country;
90
+ currency: Currency;
91
+ amount: number | null;
92
+ source_id: string;
93
+ source: MMParticipant;
94
+ destination_id: string;
95
+ destination: MMParticipant | null;
96
+ metadata: MMMetadata;
97
+ created_at: string;
98
+ updated_at: string;
99
+ creator?: string;
100
+ batch_id?: string;
101
+ mm_approval_id?: string;
102
+ checker_approval?: boolean;
103
+ external_id?: string;
104
+ }
105
+ export type SearchMM = SearchResponse<MM>;
106
+ //# sourceMappingURL=response.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"response.interface.d.ts","sourceRoot":"","sources":["../../../src/movements/interfaces/response.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA;AAC3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAA;AAEhF,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,cAAc,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,W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AE,MAAM,CAAA;IACtB,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAQD,MAAM,WAAW,EAAE;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,YAAY,CAAA;IAClB,MAAM,EAAE,QAAQ,CAAA;IAChB,GAAG,EAAE,OAAO,CAAA;IACZ,QAAQ,EAAE,QAAQ,CAAA;IAClB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,aAAa,CAAA;IACrB,cAAc,EAAE,MAAM,CAAA;IACtB,WAAW,EAAE,aAAa,GAAG,IAAI,CAAA;IACjC,QAAQ,EAAE,UAAU,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAGD,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC,EAAE,CAAC,CAAA"}
@@ -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/movements/interfaces/response.interface.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cobre-npm/library-portal-core",
3
- "version": "0.40.1",
3
+ "version": "0.41.0",
4
4
  "description": "Shared configurations and resources for Portal MFEs",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",