@fiado/type-kit 1.0.5 → 1.0.7
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 +36 -1
- package/bin/account/dtos/AccountCreateRequest.d.ts +14 -0
- package/bin/account/dtos/AccountCreateRequest.js +65 -0
- package/bin/account/dtos/AccountResponse.js +0 -79
- package/bin/account/dtos/PocketCreateRequest.d.ts +4 -0
- package/bin/account/dtos/PocketCreateRequest.js +31 -0
- package/bin/account/index.d.ts +4 -0
- package/bin/account/index.js +22 -0
- package/bin/address/dtos/AddressCreateRequest.d.ts +3 -0
- package/bin/address/dtos/AddressCreateRequest.js +7 -0
- package/bin/address/index.d.ts +7 -0
- package/bin/address/index.js +9 -0
- package/bin/app/enums/App.d.ts +9 -0
- package/bin/app/enums/App.js +13 -0
- package/bin/authentication/dtos/SignUpAdditionalRequest.d.ts +7 -0
- package/bin/authentication/dtos/SignUpAdditionalRequest.js +46 -0
- package/bin/authentication/dtos/SignUpAdditionalResponse.d.ts +4 -0
- package/bin/authentication/dtos/SignUpAdditionalResponse.js +6 -0
- package/bin/authentication/index.d.ts +1 -0
- package/bin/authentication/index.js +28 -0
- package/bin/card/dtos/CardBalanceResponse.d.ts +9 -0
- package/bin/card/dtos/CardBalanceResponse.js +6 -0
- package/bin/card/dtos/CardCreateAdditionalRequest.d.ts +10 -0
- package/bin/card/dtos/CardCreateAdditionalRequest.js +59 -0
- package/bin/card/dtos/CardCreateRequest.d.ts +34 -0
- package/bin/card/dtos/CardCreateRequest.js +176 -0
- package/bin/card/dtos/CardResponse.js +0 -0
- package/bin/card/index.d.ts +13 -0
- package/bin/card/index.js +10 -4
- package/bin/country/index.d.ts +1 -0
- package/bin/country/index.js +3 -0
- package/bin/currency/dtos/CurrencyResponse.d.ts +6 -0
- package/bin/currency/dtos/CurrencyResponse.js +6 -0
- package/bin/directory/dtos/DirectoryResponse.d.ts +16 -0
- package/bin/directory/dtos/DirectoryResponse.js +2 -0
- package/bin/directory/dtos/External.d.ts +5 -0
- package/bin/directory/dtos/External.js +2 -0
- package/bin/directory/enums/Profile.d.ts +5 -0
- package/bin/directory/enums/Profile.js +9 -0
- package/bin/directory/enums/Scope.d.ts +6 -0
- package/bin/directory/enums/Scope.js +10 -0
- package/bin/directory/enums/Status.d.ts +6 -0
- package/bin/directory/enums/Status.js +10 -0
- package/bin/directory/index.d.ts +1 -0
- package/bin/directory/index.js +19 -0
- package/bin/exchangeRate/dtos/ExchangeRateCreateRequest.d.ts +17 -0
- package/bin/exchangeRate/dtos/ExchangeRateCreateRequest.js +74 -0
- package/bin/exchangeRate/dtos/ExchangeRateResponse.d.ts +18 -0
- package/bin/exchangeRate/dtos/ExchangeRateResponse.js +6 -0
- package/bin/exchangeRate/enums/ExchangeRateStatus.d.ts +4 -0
- package/bin/exchangeRate/enums/ExchangeRateStatus.js +8 -0
- package/bin/exchangeRate/index.d.ts +2 -0
- package/bin/exchangeRate/index.js +20 -0
- package/bin/identity/dtos/IdentificationDocument.d.ts +22 -0
- package/bin/identity/dtos/IdentificationDocument.js +6 -0
- package/bin/identity/dtos/PeopleCreateRequest.d.ts +0 -0
- package/bin/identity/dtos/PeopleCreateRequest.js +0 -0
- package/bin/identity/dtos/PeopleResponse.d.ts +75 -0
- package/bin/identity/dtos/PeopleResponse.js +6 -0
- package/bin/identity/dtos/TypeOfDocument.d.ts +10 -0
- package/bin/identity/dtos/TypeOfDocument.js +6 -0
- package/bin/identity/enums/IdentificationDocumentStatus.d.ts +5 -0
- package/bin/identity/enums/IdentificationDocumentStatus.js +9 -0
- package/bin/identity/enums/SexDocument.d.ts +4 -0
- package/bin/identity/enums/SexDocument.js +8 -0
- package/bin/identity/index.d.ts +0 -0
- package/bin/identity/index.js +0 -0
- package/bin/index.d.ts +6 -15
- package/bin/index.js +18 -17
- package/package.json +1 -1
- package/src/account/dtos/{CreateAccountRequest.ts → AccountCreateRequest.ts} +1 -1
- package/src/account/dtos/AccountResponse.ts +2 -36
- package/src/account/dtos/{CreatePockeRequest.ts → PocketCreateRequest.ts} +1 -1
- package/src/account/index.ts +11 -0
- package/src/address/dtos/AddressCreateRequest.ts +7 -0
- package/src/address/index.ts +11 -0
- package/src/app/enums/App.ts +11 -0
- package/src/authentication/dtos/SignUpAdditionalRequest.ts +34 -0
- package/src/authentication/dtos/SignUpAdditionalResponse.ts +6 -0
- package/src/authentication/index.ts +3 -0
- package/src/card/dtos/CardBalanceResponse.ts +12 -0
- package/src/card/dtos/CardCreateAdditionalRequest.ts +41 -0
- package/src/card/dtos/{CreateCardRequest.ts → CardCreateRequest.ts} +1 -1
- package/src/card/dtos/CardResponse.ts +0 -0
- package/src/card/index.ts +17 -0
- package/src/country/index.ts +6 -1
- package/src/currency/dtos/CurrencyResponse.ts +10 -0
- package/src/directory/dtos/DirectoryResponse.ts +18 -0
- package/src/directory/dtos/External.ts +7 -0
- package/src/directory/enums/Profile.ts +7 -0
- package/src/directory/enums/Scope.ts +8 -0
- package/src/directory/enums/Status.ts +8 -0
- package/src/directory/index.ts +7 -0
- package/src/exchangeRate/dtos/ExchangeRateCreateRequest.ts +51 -0
- package/src/exchangeRate/dtos/ExchangeRateResponse.ts +22 -0
- package/src/exchangeRate/enums/ExchangeRateStatus.ts +6 -0
- package/src/exchangeRate/index.ts +7 -0
- package/src/identity/dtos/IdentificationDocument.ts +25 -0
- package/src/identity/dtos/PeopleCreateRequest.ts +0 -0
- package/src/identity/dtos/PeopleResponse.ts +80 -0
- package/src/identity/dtos/TypeOfDocument.ts +12 -0
- package/src/identity/enums/IdentificationDocumentStatus.ts +7 -0
- package/src/identity/enums/SexDocument.ts +6 -0
- package/src/identity/index.ts +0 -0
- package/src/index.ts +6 -18
- package/src/address/dtos/CreateAddressRequest.ts +0 -7
- /package/{src/account/dtos/PocketResponse.ts → bin/card/dtos/CardResponse.d.ts} +0 -0
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
|
|
2
|
+
import { App } from '../../app/enums/App';
|
|
3
|
+
import { SexDocument } from '../enums/SexDocument';
|
|
4
|
+
import { IdentificationDocument } from './IdentificationDocument';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export class PeopleResponse {
|
|
8
|
+
|
|
9
|
+
id: string;
|
|
10
|
+
createDate: string;
|
|
11
|
+
lastUpdateDate: string;
|
|
12
|
+
creationMethod: App;
|
|
13
|
+
indexName: string;
|
|
14
|
+
preferredName: string;
|
|
15
|
+
usSuffix: string | null;
|
|
16
|
+
usLastNames: string | null;
|
|
17
|
+
usNames: string | null;
|
|
18
|
+
latNames: string | null;
|
|
19
|
+
latLastNamePaternal: string | null;
|
|
20
|
+
latLastNameMaternal: string | null;
|
|
21
|
+
aliasNames: string[] | null;
|
|
22
|
+
preferredPronoun: string | null;
|
|
23
|
+
SSN_ITIN: string | null;
|
|
24
|
+
rfc: string | null;
|
|
25
|
+
curp: string | null;
|
|
26
|
+
passportNumber: string | null;
|
|
27
|
+
countryOfPassport: string | null;
|
|
28
|
+
documents: IdentificationDocument[] | null;
|
|
29
|
+
countryOfBirth: string | null;
|
|
30
|
+
dateOfBirth: string | null;
|
|
31
|
+
stateOfBirth: string | null;
|
|
32
|
+
nationalities: string[] | null;
|
|
33
|
+
docSex: SexDocument | null;
|
|
34
|
+
internalEmail: string | null;
|
|
35
|
+
occupation: string | null;
|
|
36
|
+
incomeSource: string | null;
|
|
37
|
+
operationId: string | null;
|
|
38
|
+
tenantId: string | null;
|
|
39
|
+
photoOfpersonImageName: string | null;
|
|
40
|
+
videoOfPersonImageName: string | null;
|
|
41
|
+
USA_DebitAccount: boolean;
|
|
42
|
+
MEX_DebitAccount: boolean;
|
|
43
|
+
MEX_CreditClient: boolean;
|
|
44
|
+
MEX_CreditAdditional: boolean;
|
|
45
|
+
magicNumber: boolean;
|
|
46
|
+
USA_UploadDocument: boolean;
|
|
47
|
+
MEX_UploadDocument: boolean;
|
|
48
|
+
videoSelfieVerified: boolean;
|
|
49
|
+
MEX_ValidDocument: string;
|
|
50
|
+
USA_ValidDocument: string;
|
|
51
|
+
USA_FacematchVerified: boolean | null;
|
|
52
|
+
MEX_FacematchVerified: boolean | null;
|
|
53
|
+
fiadoListApproved: boolean | null;
|
|
54
|
+
ofacListApproved: boolean | null;
|
|
55
|
+
cnbvListApproved: boolean | null;
|
|
56
|
+
blackListApproved: boolean | null;
|
|
57
|
+
whiteList: boolean | null;
|
|
58
|
+
hasOwner: boolean;
|
|
59
|
+
older18: boolean | null;
|
|
60
|
+
USA_Address: boolean;
|
|
61
|
+
MEX_Address: boolean;
|
|
62
|
+
COL_Address: boolean;
|
|
63
|
+
GTM_Address: boolean;
|
|
64
|
+
HND_Address: boolean;
|
|
65
|
+
CRI_Address: boolean;
|
|
66
|
+
PER_Address: boolean;
|
|
67
|
+
MEX_ProofAddress: boolean;
|
|
68
|
+
MEX_SendWish: boolean;
|
|
69
|
+
COL_SendWish: boolean;
|
|
70
|
+
GTM_SendWish: boolean;
|
|
71
|
+
HND_SendWish: boolean;
|
|
72
|
+
CRI_SendWish: boolean;
|
|
73
|
+
PER_SendWish: boolean;
|
|
74
|
+
USA_DebitAccountWish: boolean;
|
|
75
|
+
MEX_DebitAccountWish: boolean;
|
|
76
|
+
MEX_CreditAdditionalWish: boolean;
|
|
77
|
+
MEX_CreditClientWish: boolean;
|
|
78
|
+
SSN_ITINRequired: boolean | null;
|
|
79
|
+
|
|
80
|
+
}
|
|
File without changes
|
package/src/index.ts
CHANGED
|
@@ -1,23 +1,11 @@
|
|
|
1
|
-
export * from './card/dtos/CardActivateRequest';
|
|
2
|
-
export * from './card/dtos/CardApplicationRequest';
|
|
3
|
-
export * from './card/dtos/CreateCardRequest';
|
|
4
|
-
export * from './card/dtos/CardUpdateRequest';
|
|
5
1
|
|
|
6
2
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './card
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './
|
|
13
|
-
export * from './card/enums/IssuanceType';
|
|
14
|
-
export * from './card/enums/OwnershipType';
|
|
15
|
-
export * from './card/enums/Brand';
|
|
16
|
-
export * from './card/enums/UpdateKey';
|
|
17
|
-
export * from './card/enums/Status';
|
|
18
|
-
export * from './card/enums/CardType';
|
|
19
|
-
export * from './card/enums/OwnershipType';
|
|
20
|
-
|
|
3
|
+
export * as Account from './account';
|
|
4
|
+
export * as Address from './address';
|
|
5
|
+
export * as Authentication from './authentication';
|
|
6
|
+
export * as Card from './card';
|
|
7
|
+
export * as Country from './country';
|
|
8
|
+
export * as Directory from './directory';
|
|
21
9
|
|
|
22
10
|
|
|
23
11
|
|
|
File without changes
|