@riocrypto/common 1.0.1213 → 1.0.1215

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.
@@ -20,10 +20,12 @@ declare type BusinessUser = {
20
20
  businessName: string;
21
21
  legalRepresentative?: {
22
22
  name: string;
23
+ email?: string;
23
24
  status?: string;
24
25
  };
25
26
  UBO?: {
26
27
  name: string;
28
+ email?: string;
27
29
  id?: string;
28
30
  status?: string;
29
31
  };
@@ -64,40 +66,8 @@ export declare type User = {
64
66
  };
65
67
  };
66
68
  KYC?: {
67
- MX?: {
68
- status: KYCStatus;
69
- personalId?: string;
70
- taxId: string;
71
- files?: {
72
- certificateOfIncorporation?: string;
73
- kycReport?: string;
74
- taxTranscript?: string;
75
- proofOfAddress?: string;
76
- businessRegistration?: string;
77
- taxIdentificationCertificate?: string;
78
- legalRepresentativeIdPowerOfAttorney?: string;
79
- personalIdentificationCertificate?: string;
80
- extraFiles?: string[];
81
- };
82
- };
83
- PE?: {
84
- status: KYCStatus;
85
- personalId?: string;
86
- taxId?: string;
87
- files?: {
88
- certificateOfIncorporation?: string;
89
- kycReport?: string;
90
- taxTranscript?: string;
91
- proofOfAddress?: string;
92
- businessRegistration?: string;
93
- taxIdentificationCertificate?: string;
94
- legalRepresentativeIdPowerOfAttorney?: string;
95
- personalIdentificationCertificate?: string;
96
- extraFiles?: string[];
97
- };
98
- };
99
- BR?: {
100
- status: KYCStatus;
69
+ [country in CountryOfOrigin]?: {
70
+ status?: KYCStatus;
101
71
  personalId?: string;
102
72
  taxId?: string;
103
73
  files?: {
@@ -112,16 +82,6 @@ export declare type User = {
112
82
  extraFiles?: string[];
113
83
  };
114
84
  };
115
- US?: {
116
- status: KYCStatus;
117
- personalId?: string;
118
- taxId?: string;
119
- files?: {
120
- certificateOfIncorporation?: string;
121
- kycReport?: string;
122
- extraFiles?: string[];
123
- };
124
- };
125
85
  };
126
86
  address: {
127
87
  street1: string;
@@ -132,7 +92,7 @@ export declare type User = {
132
92
  country: CountryOfOrigin;
133
93
  };
134
94
  invoicing?: {
135
- MX: {
95
+ MX?: {
136
96
  shouldInvoice?: boolean;
137
97
  fiscalName?: string;
138
98
  fiscalRegimenCode?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1213",
3
+ "version": "1.0.1215",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",