@fiado/type-kit 1.0.6 → 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 +2 -2
- package/bin/account/index.js +2 -2
- package/bin/address/dtos/AddressCreateRequest.d.ts +3 -0
- package/bin/address/dtos/AddressCreateRequest.js +7 -0
- package/bin/address/index.d.ts +1 -1
- package/bin/address/index.js +1 -1
- 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.d.ts +0 -0
- package/bin/card/dtos/CardResponse.js +0 -0
- package/bin/card/index.d.ts +3 -1
- package/bin/card/index.js +3 -1
- 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/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 +1 -0
- package/bin/index.js +2 -1
- 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 +2 -2
- package/src/address/dtos/AddressCreateRequest.ts +7 -0
- package/src/address/index.ts +1 -1
- 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 +3 -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/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 +1 -0
- package/src/address/dtos/CreateAddressRequest.ts +0 -7
package/bin/index.d.ts
CHANGED
package/bin/index.js
CHANGED
|
@@ -23,9 +23,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.Directory = exports.Country = exports.Card = exports.Address = exports.Account = void 0;
|
|
26
|
+
exports.Directory = exports.Country = exports.Card = exports.Authentication = exports.Address = exports.Account = void 0;
|
|
27
27
|
exports.Account = __importStar(require("./account"));
|
|
28
28
|
exports.Address = __importStar(require("./address"));
|
|
29
|
+
exports.Authentication = __importStar(require("./authentication"));
|
|
29
30
|
exports.Card = __importStar(require("./card"));
|
|
30
31
|
exports.Country = __importStar(require("./country"));
|
|
31
32
|
exports.Directory = __importStar(require("./directory"));
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ import { regexUuidV4 } from '../../helpers/constans/regex';
|
|
|
5
5
|
import { TypeOfDirectoryId } from '../../directory/enums/TypeOfDirectoryId';
|
|
6
6
|
import { IsPhoneNumberFiado } from '../../card/validations/IsPhoneNumberConstraint';
|
|
7
7
|
|
|
8
|
-
export class
|
|
8
|
+
export class AccountCreateRequest {
|
|
9
9
|
|
|
10
10
|
@IsString()
|
|
11
11
|
@Matches(regexUuidV4,
|
|
@@ -1,60 +1,26 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
import { IsEnum, IsNumber, IsOptional, IsString, IsDateString } from 'class-validator';
|
|
4
3
|
import { Provider } from '../../provider/enums/Provider';
|
|
5
4
|
import { Country } from '../../country/enums/Country';
|
|
6
5
|
import { AccountStatus } from '../enums/AccountStatus';
|
|
7
6
|
import { TypeOfDirectoryId } from '../../directory/enums/TypeOfDirectoryId';
|
|
8
7
|
|
|
9
|
-
|
|
10
8
|
export class AccountResponse {
|
|
11
|
-
|
|
9
|
+
|
|
12
10
|
id: string;
|
|
13
|
-
|
|
14
|
-
@IsOptional()
|
|
15
|
-
@IsString()
|
|
16
11
|
typeOfAccountId: string;
|
|
17
|
-
|
|
18
|
-
@IsOptional()
|
|
19
|
-
@IsString()
|
|
20
12
|
externalAccountId: string;
|
|
21
|
-
|
|
22
|
-
@IsOptional()
|
|
23
|
-
@IsString()
|
|
24
13
|
externalSubAccountId: string | null;
|
|
25
|
-
|
|
26
|
-
@IsEnum(Provider)
|
|
27
14
|
provider: Provider;
|
|
28
|
-
|
|
29
|
-
@IsString()
|
|
30
15
|
directoryId: string;
|
|
31
|
-
|
|
32
|
-
@IsEnum(TypeOfDirectoryId)
|
|
33
16
|
typeOfDirectoryId: TypeOfDirectoryId;
|
|
34
|
-
|
|
35
|
-
@IsNumber()
|
|
36
17
|
currentBalance: number;
|
|
37
|
-
|
|
38
|
-
@IsNumber()
|
|
39
18
|
balanceLock: number;
|
|
40
|
-
|
|
41
|
-
@IsEnum(Country)
|
|
42
19
|
countryId: Country;
|
|
43
|
-
|
|
44
|
-
@IsDateString()
|
|
45
20
|
createDate: string;
|
|
46
|
-
|
|
47
|
-
@IsDateString()
|
|
48
21
|
lastUpdateDate: string;
|
|
49
|
-
|
|
50
|
-
@IsOptional()
|
|
51
|
-
@IsString()
|
|
52
22
|
accountNumber: string
|
|
53
|
-
|
|
54
|
-
@IsOptional()
|
|
55
|
-
@IsString()
|
|
56
23
|
routingNumber: string;
|
|
57
|
-
|
|
58
|
-
@IsEnum(AccountStatus)
|
|
59
24
|
status: AccountStatus;
|
|
25
|
+
|
|
60
26
|
}
|
package/src/account/index.ts
CHANGED
package/src/address/index.ts
CHANGED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { IsBoolean, IsNotEmpty, IsOptional, IsString, Length, Matches } from "class-validator";
|
|
2
|
+
import { IsPhoneNumberFiado } from "../../card/validations/IsPhoneNumberConstraint";
|
|
3
|
+
import { regexUuidV4 } from "../../helpers/constans/regex";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export class SignUpAdditionalRequest {
|
|
8
|
+
|
|
9
|
+
@IsNotEmpty()
|
|
10
|
+
@IsString()
|
|
11
|
+
@Length(3, 70)
|
|
12
|
+
name: string;
|
|
13
|
+
|
|
14
|
+
@IsNotEmpty()
|
|
15
|
+
@IsString()
|
|
16
|
+
@IsPhoneNumberFiado()
|
|
17
|
+
phoneNumber: string;
|
|
18
|
+
|
|
19
|
+
@IsBoolean()
|
|
20
|
+
mexCreditAdditionalWish: boolean;
|
|
21
|
+
|
|
22
|
+
@IsString()
|
|
23
|
+
@Matches(regexUuidV4,
|
|
24
|
+
{
|
|
25
|
+
message: 'ownerDirectoryId must be a valid UUID v4',
|
|
26
|
+
})
|
|
27
|
+
ownerDirectoryId?: string;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
@IsOptional()
|
|
31
|
+
@IsString()
|
|
32
|
+
ownerRelation: string
|
|
33
|
+
|
|
34
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IsEnum, IsNumber, IsUUID } from "class-validator"
|
|
2
|
+
import { TypeOfDirectoryId } from "../../directory"
|
|
3
|
+
import { CountryId } from "../../country"
|
|
4
|
+
|
|
5
|
+
export class CardBalanceResponse {
|
|
6
|
+
|
|
7
|
+
cardBalanceId: string
|
|
8
|
+
currentBalance: number
|
|
9
|
+
directoryId: string
|
|
10
|
+
typeOfDirectoryId: TypeOfDirectoryId
|
|
11
|
+
currencyId: CountryId
|
|
12
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { IsDateString, IsString, Length, ValidateNested } from "class-validator";
|
|
2
|
+
import { IsNotEmpty } from "class-validator/types/decorator/common/IsNotEmpty";
|
|
3
|
+
import { IsPhoneNumberFiado } from "../validations/IsPhoneNumberConstraint";
|
|
4
|
+
import { Type } from "class-transformer";
|
|
5
|
+
import { AddressCreateRequest } from "../../address";
|
|
6
|
+
|
|
7
|
+
export class CardCreateAdditionalRequest {
|
|
8
|
+
|
|
9
|
+
@IsNotEmpty()
|
|
10
|
+
@IsString()
|
|
11
|
+
@Length(3, 40)
|
|
12
|
+
name: string;
|
|
13
|
+
|
|
14
|
+
@IsNotEmpty()
|
|
15
|
+
@IsString()
|
|
16
|
+
@Length(3, 20)
|
|
17
|
+
lastNamePaternal: string;
|
|
18
|
+
|
|
19
|
+
@IsNotEmpty()
|
|
20
|
+
@IsString()
|
|
21
|
+
@Length(3, 20)
|
|
22
|
+
lastNameMaternal: string;
|
|
23
|
+
|
|
24
|
+
@IsNotEmpty()
|
|
25
|
+
@IsString()
|
|
26
|
+
@IsPhoneNumberFiado()
|
|
27
|
+
phoneNumber: string;
|
|
28
|
+
|
|
29
|
+
@IsDateString()
|
|
30
|
+
dateOfBirth: string;
|
|
31
|
+
|
|
32
|
+
@IsNotEmpty()
|
|
33
|
+
@IsString()
|
|
34
|
+
@Length(3, 20)
|
|
35
|
+
ownerRelation: string;
|
|
36
|
+
|
|
37
|
+
@ValidateNested()
|
|
38
|
+
@Type(() => AddressCreateRequest)
|
|
39
|
+
address: AddressCreateRequest;
|
|
40
|
+
}
|
|
41
|
+
|
|
@@ -8,7 +8,7 @@ import { Status } from '../enums/Status';
|
|
|
8
8
|
import { regexIso8601, regexUuidV4 } from '../../helpers/constans/regex';
|
|
9
9
|
import { Shipping } from '../../address';
|
|
10
10
|
|
|
11
|
-
export class
|
|
11
|
+
export class CardCreateRequest {
|
|
12
12
|
|
|
13
13
|
@IsOptional()
|
|
14
14
|
@IsString()
|
|
File without changes
|
package/src/card/index.ts
CHANGED
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
//dtos
|
|
3
3
|
export * from './dtos/CardActivateRequest';
|
|
4
4
|
export * from './dtos/CardApplicationRequest';
|
|
5
|
-
export * from './dtos/
|
|
5
|
+
export * from './dtos/CardCreateRequest';
|
|
6
6
|
export * from './dtos/CardUpdateRequest';
|
|
7
|
+
export * from './dtos/CardCreateAdditionalRequest';
|
|
8
|
+
export * from './dtos/CardBalanceResponse';
|
|
7
9
|
|
|
8
10
|
//enums
|
|
9
11
|
export * from './enums/CardType';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Profile } from "../enums/Profile";
|
|
2
|
+
import { Scope } from "../enums/Scope";
|
|
3
|
+
import { Status } from "../enums/Status";
|
|
4
|
+
import { External } from "./External";
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export interface Directory {
|
|
8
|
+
identityId: string | null;
|
|
9
|
+
lastSession: string | null;
|
|
10
|
+
ownerDirectoryId: string | null;
|
|
11
|
+
password: string;
|
|
12
|
+
peopleId: string;
|
|
13
|
+
phoneNumber: string;
|
|
14
|
+
scope: Array<Scope>;
|
|
15
|
+
status: Status;
|
|
16
|
+
userProfile: Profile;
|
|
17
|
+
external: Array<External>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
|
|
2
|
+
import { IsEnum, IsNumber, IsString, IsUUID, Max, Min, ValidateNested } from "class-validator";
|
|
3
|
+
import { CurrencyResponse } from "../../currency/dtos/CurrencyResponse";
|
|
4
|
+
import { Type } from "class-transformer";
|
|
5
|
+
import { CountryId } from "../../country";
|
|
6
|
+
import { ExchangeRateStatus } from "../enums/ExchangeRateStatus";
|
|
7
|
+
|
|
8
|
+
export class ExchangeRateCreateRequest {
|
|
9
|
+
|
|
10
|
+
@IsUUID()
|
|
11
|
+
id: string;
|
|
12
|
+
|
|
13
|
+
@IsNumber()
|
|
14
|
+
adjustmentExchangeRate: number;
|
|
15
|
+
|
|
16
|
+
@IsNumber()
|
|
17
|
+
adjustmentPercentage: number;
|
|
18
|
+
|
|
19
|
+
@ValidateNested()
|
|
20
|
+
@Type(() => CurrencyResponse)
|
|
21
|
+
destinationCurrency: CurrencyResponse;
|
|
22
|
+
|
|
23
|
+
@IsString()
|
|
24
|
+
destinationCurrencyId: CountryId;
|
|
25
|
+
|
|
26
|
+
@IsNumber()
|
|
27
|
+
exchangeRate: number;
|
|
28
|
+
|
|
29
|
+
@IsNumber()
|
|
30
|
+
fxFactor: number;
|
|
31
|
+
|
|
32
|
+
@IsNumber()
|
|
33
|
+
@Max(50000)
|
|
34
|
+
@Min(10)
|
|
35
|
+
maxRequestAmount: number;
|
|
36
|
+
|
|
37
|
+
@IsNumber()
|
|
38
|
+
@Max(50000)
|
|
39
|
+
@Min(10)
|
|
40
|
+
minRequestAmount: number;
|
|
41
|
+
|
|
42
|
+
@ValidateNested()
|
|
43
|
+
@Type(() => CurrencyResponse)
|
|
44
|
+
originCurrency: CurrencyResponse;
|
|
45
|
+
|
|
46
|
+
@IsString()
|
|
47
|
+
originCurrencyId: string;
|
|
48
|
+
|
|
49
|
+
@IsEnum(ExchangeRateStatus)
|
|
50
|
+
status: ExchangeRateStatus;
|
|
51
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IsEnum, IsISO8601, IsNumber, IsString, IsUUID, Max, Min, ValidateNested } from "class-validator";
|
|
2
|
+
import { CurrencyResponse } from "../../currency/dtos/CurrencyResponse";
|
|
3
|
+
import { Type } from "class-transformer";
|
|
4
|
+
import { CountryId } from "../../country";
|
|
5
|
+
import { ExchangeRateStatus } from "../enums/ExchangeRateStatus";
|
|
6
|
+
|
|
7
|
+
export class ExchangeRateResponse {
|
|
8
|
+
|
|
9
|
+
id: string;
|
|
10
|
+
adjustmentExchangeRate: number;
|
|
11
|
+
adjustmentPercentage: number;
|
|
12
|
+
createDate: string;
|
|
13
|
+
destinationCurrency: CurrencyResponse;
|
|
14
|
+
destinationCurrencyId: CountryId;
|
|
15
|
+
exchangeRate: number;
|
|
16
|
+
fxFactor: number;
|
|
17
|
+
maxRequestAmount: number;
|
|
18
|
+
minRequestAmount: number;
|
|
19
|
+
originCurrency: CurrencyResponse;
|
|
20
|
+
originCurrencyId: string;
|
|
21
|
+
status: ExchangeRateStatus;
|
|
22
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Country } from "../../country/enums/Country";
|
|
2
|
+
import { IdentificationDocumentStatus } from "../enums/IdentificationDocumentStatus";
|
|
3
|
+
import { SexDocument } from "../enums/SexDocument";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class IdentificationDocument {
|
|
7
|
+
|
|
8
|
+
frontImageName: string | null;
|
|
9
|
+
backImageName: string | null;
|
|
10
|
+
countryId: Country | null;
|
|
11
|
+
expirationDate: string | null;
|
|
12
|
+
issueDate: string | null;
|
|
13
|
+
lastNameFirst: string | null;
|
|
14
|
+
lastNameSecond: string | null;
|
|
15
|
+
names: string | null;
|
|
16
|
+
fullName: string | null;
|
|
17
|
+
countryOfBirth: string | null;
|
|
18
|
+
dateOfBirth: string | null;
|
|
19
|
+
documentNumber: string | null;
|
|
20
|
+
typeOfDocument: string;
|
|
21
|
+
sex: SexDocument | null;
|
|
22
|
+
verificationId: string | null;
|
|
23
|
+
curp: string | null;
|
|
24
|
+
status: IdentificationDocumentStatus;
|
|
25
|
+
}
|
|
File without changes
|
|
@@ -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