@fiado/type-kit 1.8.93 → 1.8.95
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/bin/account/dtos/AccountResponse.d.ts +21 -0
- package/bin/account/dtos/AccountResponse.js +6 -0
- package/bin/account/dtos/CreateBankAccountInput.d.ts +8 -0
- package/bin/account/dtos/CreateBankAccountInput.js +6 -0
- package/bin/account/dtos/CreateBankAccountUserInput.d.ts +14 -0
- package/bin/account/dtos/CreateBankAccountUserInput.js +6 -0
- package/bin/account/dtos/PocketCreateRequest.d.ts +4 -0
- package/bin/account/dtos/PocketCreateRequest.js +31 -0
- package/bin/account/dtos/PocketCreateResponse.d.ts +2 -0
- package/bin/account/dtos/PocketCreateResponse.js +6 -0
- package/bin/account/enums/AccountStatus.d.ts +5 -0
- package/bin/account/enums/AccountStatus.js +9 -0
- package/bin/card/dtos/CardCreateRequest.d.ts +34 -0
- package/bin/card/dtos/CardCreateRequest.js +176 -0
- package/bin/contactInfo/dtos/GetAllContactInfoResponse.d.ts +13 -0
- package/bin/contactInfo/dtos/GetAllContactInfoResponse.js +6 -0
- package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.d.ts +3 -0
- package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.js +22 -0
- package/bin/legal-documents-business/enums/LegalDocumentType.d.ts +8 -0
- package/bin/legal-documents-business/enums/LegalDocumentType.js +12 -0
- package/bin/membership/dtos/CreateMembershipDirectoryUserRequest.d.ts +12 -0
- package/bin/membership/dtos/CreateMembershipDirectoryUserRequest.js +54 -0
- package/bin/membership/dtos/CreateMembershipRequest.d.ts +14 -0
- package/bin/membership/dtos/CreateMembershipRequest.js +56 -0
- package/bin/membership/dtos/GetMembershipDirectoryUserListAppResponse.d.ts +14 -0
- package/bin/membership/dtos/GetMembershipDirectoryUserListAppResponse.js +6 -0
- package/bin/membership/dtos/GetMembershipDirectoryUserListResponse.d.ts +21 -0
- package/bin/membership/dtos/GetMembershipDirectoryUserListResponse.js +6 -0
- package/bin/membership/dtos/GetMembershipListAppResponse.d.ts +10 -0
- package/bin/membership/dtos/GetMembershipListAppResponse.js +6 -0
- package/bin/membership/dtos/GetMembershipListResponse.d.ts +20 -0
- package/bin/membership/dtos/GetMembershipListResponse.js +6 -0
- package/bin/membership/dtos/RegisterMembershipDirectoryUserRequest.d.ts +4 -0
- package/bin/membership/dtos/RegisterMembershipDirectoryUserRequest.js +26 -0
- package/bin/membership/dtos/UpdateMembershipDirectoryUserRequest.d.ts +12 -0
- package/bin/membership/dtos/UpdateMembershipDirectoryUserRequest.js +54 -0
- package/bin/membership/dtos/UpdateMembershipRequest.d.ts +14 -0
- package/bin/membership/dtos/UpdateMembershipRequest.js +56 -0
- package/bin/membership/enums/MembershipDirectoryStatusEnum.d.ts +6 -0
- package/bin/membership/enums/MembershipDirectoryStatusEnum.js +10 -0
- package/bin/membership/enums/MembershipFlowEnum.d.ts +3 -0
- package/bin/membership/enums/MembershipFlowEnum.js +7 -0
- package/bin/{services/enums/ServiceProviderEnum.d.ts → membership/enums/MembershipProviderEnum.d.ts} +1 -1
- package/bin/membership/enums/MembershipProviderEnum.js +9 -0
- package/bin/membership/enums/MembershipStatusEnum.d.ts +4 -0
- package/bin/membership/enums/MembershipStatusEnum.js +8 -0
- package/bin/membership/enums/MembershipTypeEnum.d.ts +3 -0
- package/bin/membership/enums/MembershipTypeEnum.js +7 -0
- package/bin/membership/index.d.ts +14 -0
- package/bin/membership/index.js +32 -0
- package/bin/pomelo/dtos/PomeloCreateUserRequest.d.ts +28 -0
- package/bin/pomelo/dtos/PomeloCreateUserRequest.js +2 -0
- package/bin/pomelo/dtos/PomeloCreateUserResponse.d.ts +35 -0
- package/bin/pomelo/dtos/PomeloCreateUserResponse.js +2 -0
- package/bin/pomelo/enums/CountryEnum.d.ts +8 -0
- package/bin/pomelo/enums/CountryEnum.js +12 -0
- package/bin/pomelo/enums/IdentificationTypeEnum.d.ts +7 -0
- package/bin/pomelo/enums/IdentificationTypeEnum.js +11 -0
- package/bin/pomelo/enums/SexEnum.d.ts +4 -0
- package/bin/pomelo/enums/SexEnum.js +8 -0
- package/bin/pomelo/enums/TaxTypeEnum.d.ts +7 -0
- package/bin/pomelo/enums/TaxTypeEnum.js +11 -0
- package/bin/pomelo/enums/UserStatusEnum.d.ts +4 -0
- package/bin/pomelo/enums/UserStatusEnum.js +8 -0
- package/bin/pomelo/index.d.ts +7 -0
- package/bin/pomelo/index.js +25 -0
- package/bin/pricelist/dtos/GetPriceListDirectoriesResponse.d.ts +0 -8
- package/bin/productCatalog/dtos/GetProductCatalogRequest.d.ts +3 -0
- package/bin/productCatalog/dtos/GetProductCatalogRequest.js +19 -0
- package/bin/role/dtos/DirectoryBackoffice.d.ts +15 -0
- package/bin/role/dtos/DirectoryBackoffice.js +6 -0
- package/bin/role/enums/DirectoryBackofficeStatusEnum.d.ts +4 -0
- package/bin/role/enums/DirectoryBackofficeStatusEnum.js +8 -0
- package/bin/tern/dtos/TernAddress.d.ts +8 -0
- package/bin/tern/dtos/TernAddress.js +40 -0
- package/bin/tern/dtos/TernCreateAccountRequest.d.ts +7 -0
- package/bin/tern/dtos/TernCreateAccountRequest.js +33 -0
- package/bin/tern/dtos/TernCreateAccountResponse.d.ts +5 -0
- package/bin/tern/dtos/TernCreateAccountResponse.js +25 -0
- package/bin/tern/dtos/TernCreateUserRequest.d.ts +15 -0
- package/bin/tern/dtos/TernCreateUserRequest.js +70 -0
- package/bin/tern/dtos/TernCreateUserResponse.d.ts +8 -0
- package/bin/tern/dtos/TernCreateUserResponse.js +37 -0
- package/bin/tern/dtos/TernGetAccountRequest.d.ts +5 -0
- package/bin/tern/dtos/TernGetAccountRequest.js +25 -0
- package/bin/tern/dtos/TernGetAccountResponse.d.ts +22 -0
- package/bin/tern/dtos/TernGetAccountResponse.js +87 -0
- package/bin/tern/dtos/TernGetUserRequest.d.ts +3 -0
- package/bin/tern/dtos/TernGetUserRequest.js +20 -0
- package/bin/tern/dtos/TernGetUserResponse.d.ts +24 -0
- package/bin/tern/dtos/TernGetUserResponse.js +96 -0
- package/bin/tern/enums/TernAccountStatusEnum.d.ts +4 -0
- package/bin/tern/enums/TernAccountStatusEnum.js +8 -0
- package/bin/tern/enums/TernAccountTypeEnum.d.ts +5 -0
- package/bin/tern/enums/TernAccountTypeEnum.js +9 -0
- package/bin/tern/index.d.ts +11 -0
- package/bin/tern/index.js +29 -0
- package/bin/transactionProcessor/dtos/BankInfo.d.ts +8 -0
- package/bin/transactionProcessor/dtos/BankInfo.js +6 -0
- package/bin/transactionProcessor/dtos/EventTransactionInfo.d.ts +19 -0
- package/bin/transactionProcessor/dtos/EventTransactionInfo.js +6 -0
- package/bin/transactionProcessor/dtos/EventTransactionRequest.d.ts +16 -0
- package/bin/transactionProcessor/dtos/EventTransactionRequest.js +6 -0
- package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.d.ts +5 -0
- package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.js +6 -0
- package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.d.ts +7 -0
- package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.js +6 -0
- package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfo.d.ts +6 -0
- package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfo.js +6 -0
- package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfoItem.d.ts +4 -0
- package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfoItem.js +6 -0
- package/bin/transactionProcessor/dtos/private/PrivateProcessorCardInfo.d.ts +6 -0
- package/bin/transactionProcessor/dtos/private/PrivateProcessorCardInfo.js +6 -0
- package/bin/transactionProcessor/dtos/private/PrivateProcessorMerchantInfo.d.ts +7 -0
- package/bin/transactionProcessor/dtos/private/PrivateProcessorMerchantInfo.js +6 -0
- package/bin/transactionProcessor/dtos/private/PrivateProcessorTransactionInfo.d.ts +8 -0
- package/bin/transactionProcessor/dtos/private/PrivateProcessorTransactionInfo.js +6 -0
- package/bin/transactionProcessor/dtos/private/PrivateTransactionProcessorRequest.d.ts +16 -0
- package/bin/transactionProcessor/dtos/private/PrivateTransactionProcessorRequest.js +6 -0
- package/bin/transactionProcessor/enums/EventChannelEnum.d.ts +9 -0
- package/bin/transactionProcessor/enums/EventChannelEnum.js +13 -0
- package/bin/transactionProcessor/enums/EventTypeEnum.d.ts +10 -0
- package/bin/transactionProcessor/enums/EventTypeEnum.js +16 -0
- package/bin/transactionProcessor/enums/TransactionInfoStatusEnum.d.ts +6 -0
- package/bin/transactionProcessor/enums/TransactionInfoStatusEnum.js +10 -0
- package/bin/transactionProcessor/index.d.ts +6 -0
- package/bin/transactionProcessor/index.js +6 -0
- package/package.json +1 -1
- package/src/transactionProcessor/dtos/BankInfo.ts +10 -0
- package/src/transactionProcessor/dtos/EventTransactionInfo.ts +22 -0
- package/src/transactionProcessor/dtos/EventTransactionRequest.ts +19 -0
- package/src/transactionProcessor/enums/EventChannelEnum.ts +12 -0
- package/src/transactionProcessor/enums/EventTypeEnum.ts +16 -0
- package/src/transactionProcessor/enums/TransactionInfoStatusEnum.ts +8 -0
- package/src/transactionProcessor/index.ts +6 -0
- package/bin/services/dtos/GetMembershipListAppResponse.d.ts +0 -4
- package/bin/services/dtos/GetMembershipListAppResponse.js +0 -6
- package/bin/services/dtos/GetServiceMembershipListAResponse.d.ts +0 -4
- package/bin/services/dtos/GetServiceMembershipListAResponse.js +0 -6
- package/bin/services/enums/ServiceProviderEnum.js +0 -9
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Provider } from '../../provider/enums/Provider';
|
|
2
|
+
import { Country } from '../../country/enums/Country';
|
|
3
|
+
import { AccountStatus } from '../enums/AccountStatus';
|
|
4
|
+
import { TypeOfDirectoryId } from '../../directory/enums/TypeOfDirectoryId';
|
|
5
|
+
export declare class AccountResponse {
|
|
6
|
+
id: string;
|
|
7
|
+
typeOfAccountId: string;
|
|
8
|
+
externalAccountId: string;
|
|
9
|
+
externalSubAccountId: string | null;
|
|
10
|
+
provider: Provider;
|
|
11
|
+
directoryId: string;
|
|
12
|
+
typeOfDirectoryId: TypeOfDirectoryId;
|
|
13
|
+
currentBalance: number;
|
|
14
|
+
balanceLock: number;
|
|
15
|
+
countryId: Country;
|
|
16
|
+
createDate: string;
|
|
17
|
+
lastUpdateDate: string;
|
|
18
|
+
accountNumber: string;
|
|
19
|
+
routingNumber: string;
|
|
20
|
+
status: AccountStatus;
|
|
21
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AddressBase } from "../../address/dtos/AddressBase";
|
|
2
|
+
export declare class CreateBankAccountUserInput {
|
|
3
|
+
directoryId: string;
|
|
4
|
+
typeOfDirectoryId: string;
|
|
5
|
+
firstName: string;
|
|
6
|
+
lastName: string;
|
|
7
|
+
phoneNumber: string;
|
|
8
|
+
address: AddressBase;
|
|
9
|
+
email: string;
|
|
10
|
+
dob: string;
|
|
11
|
+
documentNumber: string;
|
|
12
|
+
documentType?: string;
|
|
13
|
+
gender?: "M" | "F";
|
|
14
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.PocketCreateRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const regex_1 = require("../../helpers/constans/regex");
|
|
15
|
+
class PocketCreateRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.PocketCreateRequest = PocketCreateRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.Matches)(regex_1.regexUuidV4, {
|
|
21
|
+
message: 'beneficiaryDirectoryId must be a valid UUID v4',
|
|
22
|
+
}),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], PocketCreateRequest.prototype, "beneficiaryDirectoryId", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
27
|
+
(0, class_validator_1.Matches)(regex_1.regexUuidV4, {
|
|
28
|
+
message: 'accountId must be a valid UUID v4',
|
|
29
|
+
}),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], PocketCreateRequest.prototype, "accountId", void 0);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AccountStatus = void 0;
|
|
4
|
+
var AccountStatus;
|
|
5
|
+
(function (AccountStatus) {
|
|
6
|
+
AccountStatus["ACTIVE"] = "ACTIVE";
|
|
7
|
+
AccountStatus["INACTIVE"] = "INACTIVE";
|
|
8
|
+
AccountStatus["BLOCKED"] = "BLOCKED";
|
|
9
|
+
})(AccountStatus || (exports.AccountStatus = AccountStatus = {}));
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { CountryId } from '../../country/enums/CountryId';
|
|
2
|
+
import { CardType } from '../enums/CardType';
|
|
3
|
+
import { Brand } from '../enums/Brand';
|
|
4
|
+
import { OwnershipType } from '../enums/OwnershipType';
|
|
5
|
+
import { Status } from '../enums/Status';
|
|
6
|
+
import { Shipping } from '../../address';
|
|
7
|
+
export declare class CardCreateRequest {
|
|
8
|
+
id?: string;
|
|
9
|
+
accountId?: string;
|
|
10
|
+
activationDate?: string;
|
|
11
|
+
countryId: CountryId;
|
|
12
|
+
type: CardType;
|
|
13
|
+
directoryId?: string;
|
|
14
|
+
externalCardId: string;
|
|
15
|
+
externalUserId: string;
|
|
16
|
+
externalShipmentId: string;
|
|
17
|
+
shipmentProvider: string;
|
|
18
|
+
externalShipmentTrackingId: string;
|
|
19
|
+
externalShipmentTrackingUrl: string;
|
|
20
|
+
holderName: string;
|
|
21
|
+
holderLastName: string;
|
|
22
|
+
imageUrl?: string;
|
|
23
|
+
brand: Brand;
|
|
24
|
+
ownershipType: OwnershipType;
|
|
25
|
+
lastFour: string;
|
|
26
|
+
providerName?: string;
|
|
27
|
+
status: Status;
|
|
28
|
+
statusUpdateDate?: string;
|
|
29
|
+
tenantId?: string;
|
|
30
|
+
spendLimitByTransaction?: number;
|
|
31
|
+
spendLimitByDay?: number;
|
|
32
|
+
spendLimitByMonth?: number;
|
|
33
|
+
shippedAddress?: Shipping;
|
|
34
|
+
}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CardCreateRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const CountryId_1 = require("../../country/enums/CountryId");
|
|
16
|
+
const CardType_1 = require("../enums/CardType");
|
|
17
|
+
const Brand_1 = require("../enums/Brand");
|
|
18
|
+
const OwnershipType_1 = require("../enums/OwnershipType");
|
|
19
|
+
const Status_1 = require("../enums/Status");
|
|
20
|
+
const regex_1 = require("../../helpers/constans/regex");
|
|
21
|
+
const address_1 = require("../../address");
|
|
22
|
+
class CardCreateRequest {
|
|
23
|
+
}
|
|
24
|
+
exports.CardCreateRequest = CardCreateRequest;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsOptional)(),
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
(0, class_validator_1.Matches)(regex_1.regexUuidV4, {
|
|
29
|
+
message: 'id must be a valid UUID v4',
|
|
30
|
+
}),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], CardCreateRequest.prototype, "id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
(0, class_validator_1.Matches)(regex_1.regexUuidV4, {
|
|
37
|
+
message: 'accountId must be a valid UUID v4 or null',
|
|
38
|
+
}),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], CardCreateRequest.prototype, "accountId", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsOptional)(),
|
|
43
|
+
(0, class_validator_1.IsString)(),
|
|
44
|
+
(0, class_validator_1.Matches)(regex_1.regexIso8601, {
|
|
45
|
+
message: 'activationDate must be a valid ISO 8601 date string',
|
|
46
|
+
}),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], CardCreateRequest.prototype, "activationDate", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_validator_1.IsEnum)(CountryId_1.CountryId),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], CardCreateRequest.prototype, "countryId", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_validator_1.IsEnum)(CardType_1.CardType),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], CardCreateRequest.prototype, "type", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_validator_1.IsString)(),
|
|
59
|
+
(0, class_validator_1.Matches)(regex_1.regexUuidV4, {
|
|
60
|
+
message: 'directoryId must be a valid UUID v4',
|
|
61
|
+
}),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], CardCreateRequest.prototype, "directoryId", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, class_validator_1.IsString)(),
|
|
66
|
+
(0, class_validator_1.Length)(1, 100),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], CardCreateRequest.prototype, "externalCardId", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, class_validator_1.IsString)(),
|
|
71
|
+
(0, class_validator_1.Length)(1, 100),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], CardCreateRequest.prototype, "externalUserId", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, class_validator_1.IsOptional)(),
|
|
76
|
+
(0, class_validator_1.IsString)(),
|
|
77
|
+
(0, class_validator_1.Length)(1, 100),
|
|
78
|
+
__metadata("design:type", String)
|
|
79
|
+
], CardCreateRequest.prototype, "externalShipmentId", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, class_validator_1.IsOptional)(),
|
|
82
|
+
(0, class_validator_1.IsString)(),
|
|
83
|
+
(0, class_validator_1.Length)(1, 50),
|
|
84
|
+
__metadata("design:type", String)
|
|
85
|
+
], CardCreateRequest.prototype, "shipmentProvider", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, class_validator_1.IsOptional)(),
|
|
88
|
+
(0, class_validator_1.IsString)(),
|
|
89
|
+
(0, class_validator_1.Length)(1, 50),
|
|
90
|
+
__metadata("design:type", String)
|
|
91
|
+
], CardCreateRequest.prototype, "externalShipmentTrackingId", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, class_validator_1.IsOptional)(),
|
|
94
|
+
(0, class_validator_1.IsString)(),
|
|
95
|
+
(0, class_validator_1.Length)(1, 200),
|
|
96
|
+
__metadata("design:type", String)
|
|
97
|
+
], CardCreateRequest.prototype, "externalShipmentTrackingUrl", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, class_validator_1.IsOptional)(),
|
|
100
|
+
(0, class_validator_1.IsString)(),
|
|
101
|
+
(0, class_validator_1.Length)(1, 50),
|
|
102
|
+
__metadata("design:type", String)
|
|
103
|
+
], CardCreateRequest.prototype, "holderName", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
(0, class_validator_1.IsOptional)(),
|
|
106
|
+
(0, class_validator_1.IsString)(),
|
|
107
|
+
(0, class_validator_1.Length)(1, 50),
|
|
108
|
+
__metadata("design:type", String)
|
|
109
|
+
], CardCreateRequest.prototype, "holderLastName", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
(0, class_validator_1.IsOptional)(),
|
|
112
|
+
(0, class_validator_1.IsString)(),
|
|
113
|
+
(0, class_validator_1.Length)(1, 200),
|
|
114
|
+
__metadata("design:type", String)
|
|
115
|
+
], CardCreateRequest.prototype, "imageUrl", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
(0, class_validator_1.IsEnum)(Brand_1.Brand),
|
|
118
|
+
__metadata("design:type", String)
|
|
119
|
+
], CardCreateRequest.prototype, "brand", void 0);
|
|
120
|
+
__decorate([
|
|
121
|
+
(0, class_validator_1.IsEnum)(OwnershipType_1.OwnershipType),
|
|
122
|
+
__metadata("design:type", String)
|
|
123
|
+
], CardCreateRequest.prototype, "ownershipType", void 0);
|
|
124
|
+
__decorate([
|
|
125
|
+
(0, class_validator_1.IsString)(),
|
|
126
|
+
(0, class_validator_1.Length)(4, 4),
|
|
127
|
+
__metadata("design:type", String)
|
|
128
|
+
], CardCreateRequest.prototype, "lastFour", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
(0, class_validator_1.IsOptional)(),
|
|
131
|
+
(0, class_validator_1.IsString)(),
|
|
132
|
+
(0, class_validator_1.Length)(1, 50),
|
|
133
|
+
__metadata("design:type", String)
|
|
134
|
+
], CardCreateRequest.prototype, "providerName", void 0);
|
|
135
|
+
__decorate([
|
|
136
|
+
(0, class_validator_1.IsEnum)(Status_1.Status),
|
|
137
|
+
__metadata("design:type", String)
|
|
138
|
+
], CardCreateRequest.prototype, "status", void 0);
|
|
139
|
+
__decorate([
|
|
140
|
+
(0, class_validator_1.IsOptional)(),
|
|
141
|
+
(0, class_validator_1.IsString)(),
|
|
142
|
+
__metadata("design:type", String)
|
|
143
|
+
], CardCreateRequest.prototype, "statusUpdateDate", void 0);
|
|
144
|
+
__decorate([
|
|
145
|
+
(0, class_validator_1.IsOptional)(),
|
|
146
|
+
(0, class_validator_1.IsString)(),
|
|
147
|
+
(0, class_validator_1.Length)(1, 50),
|
|
148
|
+
__metadata("design:type", String)
|
|
149
|
+
], CardCreateRequest.prototype, "tenantId", void 0);
|
|
150
|
+
__decorate([
|
|
151
|
+
(0, class_validator_1.IsOptional)(),
|
|
152
|
+
(0, class_validator_1.IsNumber)(),
|
|
153
|
+
(0, class_validator_1.Min)(1),
|
|
154
|
+
(0, class_validator_1.Max)(9999999999),
|
|
155
|
+
__metadata("design:type", Number)
|
|
156
|
+
], CardCreateRequest.prototype, "spendLimitByTransaction", void 0);
|
|
157
|
+
__decorate([
|
|
158
|
+
(0, class_validator_1.IsOptional)(),
|
|
159
|
+
(0, class_validator_1.IsNumber)(),
|
|
160
|
+
(0, class_validator_1.Min)(1),
|
|
161
|
+
(0, class_validator_1.Max)(9999999999),
|
|
162
|
+
__metadata("design:type", Number)
|
|
163
|
+
], CardCreateRequest.prototype, "spendLimitByDay", void 0);
|
|
164
|
+
__decorate([
|
|
165
|
+
(0, class_validator_1.IsOptional)(),
|
|
166
|
+
(0, class_validator_1.IsNumber)(),
|
|
167
|
+
(0, class_validator_1.Min)(1),
|
|
168
|
+
(0, class_validator_1.Max)(9999999999),
|
|
169
|
+
__metadata("design:type", Number)
|
|
170
|
+
], CardCreateRequest.prototype, "spendLimitByMonth", void 0);
|
|
171
|
+
__decorate([
|
|
172
|
+
(0, class_validator_1.IsOptional)(),
|
|
173
|
+
(0, class_validator_1.ValidateNested)(),
|
|
174
|
+
(0, class_transformer_1.Type)(() => address_1.Shipping),
|
|
175
|
+
__metadata("design:type", address_1.Shipping)
|
|
176
|
+
], CardCreateRequest.prototype, "shippedAddress", void 0);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TypeOfContactIdEnum } from "../enums/TypeOfContactIdEnum";
|
|
2
|
+
export declare class GetAllContactInfoResponse {
|
|
3
|
+
id: string;
|
|
4
|
+
contact: string;
|
|
5
|
+
directoryId: string;
|
|
6
|
+
isPrincipal: boolean;
|
|
7
|
+
typeOfContactId: TypeOfContactIdEnum;
|
|
8
|
+
isWhatsApp: boolean;
|
|
9
|
+
isVoice: boolean;
|
|
10
|
+
isSMS: boolean;
|
|
11
|
+
isApp: boolean;
|
|
12
|
+
note: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GroupDirectoryRetationsUpdateRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class GroupDirectoryRetationsUpdateRequest {
|
|
15
|
+
}
|
|
16
|
+
exports.GroupDirectoryRetationsUpdateRequest = GroupDirectoryRetationsUpdateRequest;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsOptional)(),
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.Length)(1, 20),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], GroupDirectoryRetationsUpdateRequest.prototype, "agent", void 0);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare enum LegalDocumentType {
|
|
2
|
+
TERMS_AND_CONDITIONS_APP = "TERMS_AND_CONDITIONS_APP",
|
|
3
|
+
TERMS_AND_CONDITIONS_USA = "TERMS_AND_CONDITIONS_USA",
|
|
4
|
+
TERMS_AND_CONDITIONS_MEX = "TERMS_AND_CONDITIONS_MEX",
|
|
5
|
+
PRIVACY_POLICY_USA = "PRIVACY_POLICY_USA",
|
|
6
|
+
PRIVACY_POLICY_MEX = "PRIVACY_POLICY_MEX",
|
|
7
|
+
COMMUNICATION_POLICIES = "COMMUNICATION_POLICIES"
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LegalDocumentType = void 0;
|
|
4
|
+
var LegalDocumentType;
|
|
5
|
+
(function (LegalDocumentType) {
|
|
6
|
+
LegalDocumentType["TERMS_AND_CONDITIONS_APP"] = "TERMS_AND_CONDITIONS_APP";
|
|
7
|
+
LegalDocumentType["TERMS_AND_CONDITIONS_USA"] = "TERMS_AND_CONDITIONS_USA";
|
|
8
|
+
LegalDocumentType["TERMS_AND_CONDITIONS_MEX"] = "TERMS_AND_CONDITIONS_MEX";
|
|
9
|
+
LegalDocumentType["PRIVACY_POLICY_USA"] = "PRIVACY_POLICY_USA";
|
|
10
|
+
LegalDocumentType["PRIVACY_POLICY_MEX"] = "PRIVACY_POLICY_MEX";
|
|
11
|
+
LegalDocumentType["COMMUNICATION_POLICIES"] = "COMMUNICATION_POLICIES";
|
|
12
|
+
})(LegalDocumentType || (exports.LegalDocumentType = LegalDocumentType = {}));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CountryId } from "../../country";
|
|
2
|
+
import { MembershipDirectoryStatusEnum } from "../enums/MembershipDirectoryStatusEnum";
|
|
3
|
+
import { MembershipProviderEnum } from "../enums/MembershipProviderEnum";
|
|
4
|
+
export declare class CreateMembershipDirectoryUserRequest {
|
|
5
|
+
membershipId: string;
|
|
6
|
+
directoryId: string;
|
|
7
|
+
peopleId: string;
|
|
8
|
+
status?: MembershipDirectoryStatusEnum;
|
|
9
|
+
provider?: MembershipProviderEnum;
|
|
10
|
+
collectorPreferredDay?: number;
|
|
11
|
+
countryId: CountryId;
|
|
12
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CreateMembershipDirectoryUserRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const country_1 = require("../../country");
|
|
15
|
+
const MembershipDirectoryStatusEnum_1 = require("../enums/MembershipDirectoryStatusEnum");
|
|
16
|
+
const MembershipProviderEnum_1 = require("../enums/MembershipProviderEnum");
|
|
17
|
+
class CreateMembershipDirectoryUserRequest {
|
|
18
|
+
}
|
|
19
|
+
exports.CreateMembershipDirectoryUserRequest = CreateMembershipDirectoryUserRequest;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], CreateMembershipDirectoryUserRequest.prototype, "membershipId", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], CreateMembershipDirectoryUserRequest.prototype, "directoryId", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
32
|
+
(0, class_validator_1.IsString)(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], CreateMembershipDirectoryUserRequest.prototype, "peopleId", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsOptional)(),
|
|
37
|
+
(0, class_validator_1.IsEnum)(MembershipDirectoryStatusEnum_1.MembershipDirectoryStatusEnum),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], CreateMembershipDirectoryUserRequest.prototype, "status", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
(0, class_validator_1.IsEnum)(MembershipProviderEnum_1.MembershipProviderEnum),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], CreateMembershipDirectoryUserRequest.prototype, "provider", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsOptional)(),
|
|
47
|
+
(0, class_validator_1.IsNumber)(),
|
|
48
|
+
__metadata("design:type", Number)
|
|
49
|
+
], CreateMembershipDirectoryUserRequest.prototype, "collectorPreferredDay", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
52
|
+
(0, class_validator_1.IsEnum)(country_1.CountryId),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], CreateMembershipDirectoryUserRequest.prototype, "countryId", void 0);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CountryId } from "../../country";
|
|
2
|
+
import { MembershipTypeEnum } from "../enums/MembershipTypeEnum";
|
|
3
|
+
import { MembershipStatusEnum } from "../enums/MembershipStatusEnum";
|
|
4
|
+
import { MembershipFlowEnum } from "../enums/MembershipFlowEnum";
|
|
5
|
+
import { MembershipProviderEnum } from "../enums/MembershipProviderEnum";
|
|
6
|
+
export declare class CreateMembershipRequest {
|
|
7
|
+
name: string;
|
|
8
|
+
description: string;
|
|
9
|
+
status?: MembershipStatusEnum;
|
|
10
|
+
type: MembershipTypeEnum;
|
|
11
|
+
countryId: CountryId;
|
|
12
|
+
flow: MembershipFlowEnum;
|
|
13
|
+
provider: MembershipProviderEnum;
|
|
14
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CreateMembershipRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const country_1 = require("../../country");
|
|
15
|
+
const MembershipTypeEnum_1 = require("../enums/MembershipTypeEnum");
|
|
16
|
+
const MembershipStatusEnum_1 = require("../enums/MembershipStatusEnum");
|
|
17
|
+
const MembershipFlowEnum_1 = require("../enums/MembershipFlowEnum");
|
|
18
|
+
const MembershipProviderEnum_1 = require("../enums/MembershipProviderEnum");
|
|
19
|
+
class CreateMembershipRequest {
|
|
20
|
+
}
|
|
21
|
+
exports.CreateMembershipRequest = CreateMembershipRequest;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], CreateMembershipRequest.prototype, "name", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CreateMembershipRequest.prototype, "description", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
(0, class_validator_1.IsEnum)(MembershipStatusEnum_1.MembershipStatusEnum),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], CreateMembershipRequest.prototype, "status", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
39
|
+
(0, class_validator_1.IsEnum)(MembershipTypeEnum_1.MembershipTypeEnum),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], CreateMembershipRequest.prototype, "type", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
44
|
+
(0, class_validator_1.IsEnum)(country_1.CountryId),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], CreateMembershipRequest.prototype, "countryId", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
49
|
+
(0, class_validator_1.IsEnum)(MembershipFlowEnum_1.MembershipFlowEnum),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], CreateMembershipRequest.prototype, "flow", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
54
|
+
(0, class_validator_1.IsEnum)(MembershipProviderEnum_1.MembershipProviderEnum),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], CreateMembershipRequest.prototype, "provider", void 0);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MembershipDirectoryStatusEnum } from "../enums/MembershipDirectoryStatusEnum";
|
|
2
|
+
export declare class GetMembershipDirectoryUserListAppResponse {
|
|
3
|
+
items: {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
description: string;
|
|
7
|
+
price: number;
|
|
8
|
+
recurrence: string;
|
|
9
|
+
activationDate: number;
|
|
10
|
+
status: MembershipDirectoryStatusEnum;
|
|
11
|
+
collectorPreferredDay: number;
|
|
12
|
+
}[];
|
|
13
|
+
index: string | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetMembershipDirectoryUserListAppResponse = void 0;
|
|
4
|
+
class GetMembershipDirectoryUserListAppResponse {
|
|
5
|
+
}
|
|
6
|
+
exports.GetMembershipDirectoryUserListAppResponse = GetMembershipDirectoryUserListAppResponse;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CountryId } from "../../country";
|
|
2
|
+
import { MembershipProviderEnum } from "../enums/MembershipProviderEnum";
|
|
3
|
+
import { MembershipDirectoryStatusEnum } from "../enums/MembershipDirectoryStatusEnum";
|
|
4
|
+
export declare class GetMembershipDirectoryUserListResponse {
|
|
5
|
+
items: {
|
|
6
|
+
id: string;
|
|
7
|
+
membershipId: string;
|
|
8
|
+
directoryId: string;
|
|
9
|
+
peopleId: string;
|
|
10
|
+
name: string;
|
|
11
|
+
description: string;
|
|
12
|
+
price: number;
|
|
13
|
+
recurrence: string;
|
|
14
|
+
activationDate: number;
|
|
15
|
+
status: MembershipDirectoryStatusEnum;
|
|
16
|
+
collectorPreferredDay: number;
|
|
17
|
+
provider: MembershipProviderEnum;
|
|
18
|
+
countryId: CountryId;
|
|
19
|
+
}[];
|
|
20
|
+
index: string | null;
|
|
21
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetMembershipDirectoryUserListResponse = void 0;
|
|
4
|
+
class GetMembershipDirectoryUserListResponse {
|
|
5
|
+
}
|
|
6
|
+
exports.GetMembershipDirectoryUserListResponse = GetMembershipDirectoryUserListResponse;
|