@riocrypto/common 1.0.1212 → 1.0.1214

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,24 +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;
69
+ [country in CountryOfOrigin]: {
70
+ status?: KYCStatus;
85
71
  personalId?: string;
86
72
  taxId?: string;
87
73
  files?: {
@@ -96,16 +82,6 @@ export declare type User = {
96
82
  extraFiles?: string[];
97
83
  };
98
84
  };
99
- US?: {
100
- status: KYCStatus;
101
- personalId?: string;
102
- taxId?: string;
103
- files?: {
104
- certificateOfIncorporation?: string;
105
- kycReport?: string;
106
- extraFiles?: string[];
107
- };
108
- };
109
85
  };
110
86
  address: {
111
87
  street1: string;
@@ -116,7 +92,7 @@ export declare type User = {
116
92
  country: CountryOfOrigin;
117
93
  };
118
94
  invoicing?: {
119
- MX: {
95
+ MX?: {
120
96
  shouldInvoice?: boolean;
121
97
  fiscalName?: string;
122
98
  fiscalRegimenCode?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1212",
3
+ "version": "1.0.1214",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",