@fiado/type-kit 1.6.44 → 1.6.46
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/group/dtos/GroupDirectoryRetationsUpdateRequest.d.ts +3 -0
- package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.js +22 -0
- package/bin/index.d.ts +1 -0
- package/bin/index.js +2 -1
- package/bin/issuanceBusiness/dtos/BaseIssuanceRequirement.d.ts +40 -0
- package/bin/issuanceBusiness/dtos/BaseIssuanceRequirement.js +246 -0
- package/bin/issuanceBusiness/dtos/IssuanceRequirementCreateRequest.d.ts +5 -0
- package/bin/{helpdesk/dtos/CreateHelpdeskUser.js → issuanceBusiness/dtos/IssuanceRequirementCreateRequest.js} +10 -25
- package/bin/issuanceBusiness/dtos/IssuanceRequirementResponse.d.ts +5 -0
- package/bin/issuanceBusiness/dtos/IssuanceRequirementResponse.js +28 -0
- package/bin/issuanceBusiness/dtos/IssuanceRequirementUpdateRequest.d.ts +3 -0
- package/bin/issuanceBusiness/dtos/IssuanceRequirementUpdateRequest.js +7 -0
- package/bin/issuanceBusiness/enums/IssuanceStatus.d.ts +5 -0
- package/bin/issuanceBusiness/enums/IssuanceStatus.js +9 -0
- package/bin/issuanceBusiness/index.d.ts +4 -0
- package/bin/issuanceBusiness/index.js +20 -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/package.json +1 -1
- package/src/identity/dtos/PeopleCreateRequest.ts +3 -0
- package/src/index.ts +1 -0
- package/src/issuanceBusiness/dtos/BaseIssuanceRequirement.ts +196 -0
- package/src/issuanceBusiness/dtos/IssuanceRequirementCreateRequest.ts +14 -0
- package/src/issuanceBusiness/dtos/IssuanceRequirementResponse.ts +13 -0
- package/src/issuanceBusiness/dtos/IssuanceRequirementUpdateRequest.ts +5 -0
- package/src/issuanceBusiness/enums/IssuanceStatus.ts +7 -0
- package/src/issuanceBusiness/index.ts +8 -0
- package/bin/account/dtos/CreateBankAccountOutput.d.ts +0 -5
- package/bin/account/dtos/CreateBankAccountOutput.js +0 -6
- package/bin/account/dtos/CreateBankAccountUserOutput.d.ts +0 -8
- package/bin/account/dtos/CreateBankAccountUserOutput.js +0 -6
- package/bin/creditContract/dto/CreditContractCreateRequest.d.ts +0 -15
- package/bin/creditContract/dto/CreditContractCreateRequest.js +0 -72
- package/bin/helpdesk/dtos/CreateHelpdeskUser.d.ts +0 -13
- package/bin/transaction/TransactionCreateRequest.d.ts +0 -2
- package/bin/transaction/TransactionCreateRequest.js +0 -6
- package/bin/transaction/TransactionCreateResponse.d.ts +0 -2
- package/bin/transaction/TransactionCreateResponse.js +0 -6
- package/bin/transaction/dtos/TransactionSourceEnum.d.ts +0 -5
- package/bin/transaction/dtos/TransactionSourceEnum.js +0 -9
|
@@ -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);
|
package/bin/index.d.ts
CHANGED
package/bin/index.js
CHANGED
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.Blacklist = exports.CentralPayments = exports.Helpdesk = exports.FiadoApiResponse = exports.Auth = exports.LegalDocumentsBusiness = exports.Role = exports.STPAccount = exports.RiskProfile = exports.FraudPreventionEngine = exports.BBVARst = exports.Stp = exports.BankAccount = exports.P2pContact = exports.CreditContract = exports.Contract = exports.ProductCatalog = exports.ContactInfo = exports.Transaction = exports.TransactionProcessor = exports.GenericMessage = exports.EventBridgeMessage = exports.SessionActivity = exports.NotificationMessages = exports.ServicePayment = exports.Header = exports.Identity = exports.Group = exports.File = exports.ExchangeRate = exports.Directory = exports.Currency = exports.Country = exports.Card = exports.Authentication = exports.App = exports.Address = exports.Beneficiary = exports.Activity = exports.Account = void 0;
|
|
26
|
+
exports.IssuanceBusiness = exports.Blacklist = exports.CentralPayments = exports.Helpdesk = exports.FiadoApiResponse = exports.Auth = exports.LegalDocumentsBusiness = exports.Role = exports.STPAccount = exports.RiskProfile = exports.FraudPreventionEngine = exports.BBVARst = exports.Stp = exports.BankAccount = exports.P2pContact = exports.CreditContract = exports.Contract = exports.ProductCatalog = exports.ContactInfo = exports.Transaction = exports.TransactionProcessor = exports.GenericMessage = exports.EventBridgeMessage = exports.SessionActivity = exports.NotificationMessages = exports.ServicePayment = exports.Header = exports.Identity = exports.Group = exports.File = exports.ExchangeRate = exports.Directory = exports.Currency = exports.Country = exports.Card = exports.Authentication = exports.App = exports.Address = exports.Beneficiary = exports.Activity = exports.Account = void 0;
|
|
27
27
|
exports.Account = __importStar(require("./account"));
|
|
28
28
|
exports.Activity = __importStar(require("./activity"));
|
|
29
29
|
exports.Beneficiary = __importStar(require("./beneficiary"));
|
|
@@ -64,3 +64,4 @@ exports.FiadoApiResponse = __importStar(require("./apiResponse"));
|
|
|
64
64
|
exports.Helpdesk = __importStar(require("./helpdesk"));
|
|
65
65
|
exports.CentralPayments = __importStar(require("./centralPayments"));
|
|
66
66
|
exports.Blacklist = __importStar(require("./blacklist"));
|
|
67
|
+
exports.IssuanceBusiness = __importStar(require("./issuanceBusiness"));
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare class BaseIssuanceRequirementDto {
|
|
2
|
+
directoryId?: string;
|
|
3
|
+
peopleId?: string;
|
|
4
|
+
authorizerEmail?: string;
|
|
5
|
+
authorizationNeededMXN?: string;
|
|
6
|
+
observations?: string;
|
|
7
|
+
status?: string;
|
|
8
|
+
blackListApproved?: boolean | null;
|
|
9
|
+
cnbvListApproved?: boolean | null;
|
|
10
|
+
countryOfDomicile?: string | null;
|
|
11
|
+
dateOfVeredict?: boolean;
|
|
12
|
+
duplicateUserDetection?: boolean | null;
|
|
13
|
+
fiadoListApproved?: boolean | null;
|
|
14
|
+
infoSelfVerified?: boolean;
|
|
15
|
+
magicNumber?: boolean;
|
|
16
|
+
MEX_Address?: boolean;
|
|
17
|
+
MEX_Beneficiaries?: boolean | null;
|
|
18
|
+
MEX_DebitAccount?: boolean;
|
|
19
|
+
MEX_DebitAccountWish?: boolean;
|
|
20
|
+
MEX_FacematchVerified?: boolean | null;
|
|
21
|
+
MEX_ProofAddress?: boolean;
|
|
22
|
+
MEX_TemplateMatch?: boolean | null;
|
|
23
|
+
MEX_UploadDocument?: boolean;
|
|
24
|
+
MEX_ValidDocument?: boolean;
|
|
25
|
+
MEX_Signature?: boolean;
|
|
26
|
+
USA_Beneficiaries?: boolean | null;
|
|
27
|
+
USA_InfoSelfVerified?: boolean;
|
|
28
|
+
USA_Signature?: boolean;
|
|
29
|
+
older18?: boolean | null;
|
|
30
|
+
signature?: boolean;
|
|
31
|
+
USA_Address?: boolean;
|
|
32
|
+
USA_DebitAccount?: boolean;
|
|
33
|
+
USA_DebitAccountWish?: boolean;
|
|
34
|
+
USA_FacematchVerified?: boolean | null;
|
|
35
|
+
USA_ProgramWish?: string[];
|
|
36
|
+
USA_TemplateMatch?: boolean;
|
|
37
|
+
USA_UploadDocument?: boolean;
|
|
38
|
+
videoSelfieVerified?: boolean;
|
|
39
|
+
uploadSelfie?: boolean | null;
|
|
40
|
+
}
|
|
@@ -0,0 +1,246 @@
|
|
|
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.BaseIssuanceRequirementDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
// Clase base con todas las propiedades opcionales
|
|
16
|
+
class BaseIssuanceRequirementDto {
|
|
17
|
+
}
|
|
18
|
+
exports.BaseIssuanceRequirementDto = BaseIssuanceRequirementDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
(0, class_validator_1.IsOptional)(),
|
|
22
|
+
(0, class_validator_1.IsUUID)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], BaseIssuanceRequirementDto.prototype, "directoryId", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
(0, class_validator_1.IsOptional)(),
|
|
28
|
+
(0, class_validator_1.IsUUID)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], BaseIssuanceRequirementDto.prototype, "peopleId", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], BaseIssuanceRequirementDto.prototype, "authorizerEmail", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
(0, class_validator_1.IsOptional)(),
|
|
40
|
+
(0, class_validator_1.IsString)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], BaseIssuanceRequirementDto.prototype, "authorizationNeededMXN", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
(0, class_validator_1.IsOptional)(),
|
|
46
|
+
(0, class_validator_1.IsString)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], BaseIssuanceRequirementDto.prototype, "observations", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_transformer_1.Expose)(),
|
|
51
|
+
(0, class_validator_1.IsOptional)(),
|
|
52
|
+
(0, class_validator_1.IsString)(),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], BaseIssuanceRequirementDto.prototype, "status", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_transformer_1.Expose)(),
|
|
57
|
+
(0, class_validator_1.IsOptional)(),
|
|
58
|
+
(0, class_validator_1.IsBoolean)(),
|
|
59
|
+
__metadata("design:type", Boolean)
|
|
60
|
+
], BaseIssuanceRequirementDto.prototype, "blackListApproved", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_transformer_1.Expose)(),
|
|
63
|
+
(0, class_validator_1.IsOptional)(),
|
|
64
|
+
(0, class_validator_1.IsBoolean)(),
|
|
65
|
+
__metadata("design:type", Boolean)
|
|
66
|
+
], BaseIssuanceRequirementDto.prototype, "cnbvListApproved", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, class_transformer_1.Expose)(),
|
|
69
|
+
(0, class_validator_1.IsOptional)(),
|
|
70
|
+
(0, class_validator_1.IsString)(),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], BaseIssuanceRequirementDto.prototype, "countryOfDomicile", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, class_transformer_1.Expose)(),
|
|
75
|
+
(0, class_validator_1.IsOptional)(),
|
|
76
|
+
(0, class_validator_1.IsBoolean)(),
|
|
77
|
+
__metadata("design:type", Boolean)
|
|
78
|
+
], BaseIssuanceRequirementDto.prototype, "dateOfVeredict", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, class_transformer_1.Expose)(),
|
|
81
|
+
(0, class_validator_1.IsOptional)(),
|
|
82
|
+
(0, class_validator_1.IsBoolean)(),
|
|
83
|
+
__metadata("design:type", Boolean)
|
|
84
|
+
], BaseIssuanceRequirementDto.prototype, "duplicateUserDetection", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, class_transformer_1.Expose)(),
|
|
87
|
+
(0, class_validator_1.IsOptional)(),
|
|
88
|
+
(0, class_validator_1.IsBoolean)(),
|
|
89
|
+
__metadata("design:type", Boolean)
|
|
90
|
+
], BaseIssuanceRequirementDto.prototype, "fiadoListApproved", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, class_transformer_1.Expose)(),
|
|
93
|
+
(0, class_validator_1.IsOptional)(),
|
|
94
|
+
(0, class_validator_1.IsBoolean)(),
|
|
95
|
+
__metadata("design:type", Boolean)
|
|
96
|
+
], BaseIssuanceRequirementDto.prototype, "infoSelfVerified", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, class_transformer_1.Expose)(),
|
|
99
|
+
(0, class_validator_1.IsOptional)(),
|
|
100
|
+
(0, class_validator_1.IsBoolean)(),
|
|
101
|
+
__metadata("design:type", Boolean)
|
|
102
|
+
], BaseIssuanceRequirementDto.prototype, "magicNumber", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, class_transformer_1.Expose)(),
|
|
105
|
+
(0, class_validator_1.IsOptional)(),
|
|
106
|
+
(0, class_validator_1.IsBoolean)(),
|
|
107
|
+
__metadata("design:type", Boolean)
|
|
108
|
+
], BaseIssuanceRequirementDto.prototype, "MEX_Address", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, class_transformer_1.Expose)(),
|
|
111
|
+
(0, class_validator_1.IsOptional)(),
|
|
112
|
+
(0, class_validator_1.IsBoolean)(),
|
|
113
|
+
__metadata("design:type", Boolean)
|
|
114
|
+
], BaseIssuanceRequirementDto.prototype, "MEX_Beneficiaries", void 0);
|
|
115
|
+
__decorate([
|
|
116
|
+
(0, class_transformer_1.Expose)(),
|
|
117
|
+
(0, class_validator_1.IsOptional)(),
|
|
118
|
+
(0, class_validator_1.IsBoolean)(),
|
|
119
|
+
__metadata("design:type", Boolean)
|
|
120
|
+
], BaseIssuanceRequirementDto.prototype, "MEX_DebitAccount", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
(0, class_transformer_1.Expose)(),
|
|
123
|
+
(0, class_validator_1.IsOptional)(),
|
|
124
|
+
(0, class_validator_1.IsBoolean)(),
|
|
125
|
+
__metadata("design:type", Boolean)
|
|
126
|
+
], BaseIssuanceRequirementDto.prototype, "MEX_DebitAccountWish", void 0);
|
|
127
|
+
__decorate([
|
|
128
|
+
(0, class_transformer_1.Expose)(),
|
|
129
|
+
(0, class_validator_1.IsOptional)(),
|
|
130
|
+
(0, class_validator_1.IsBoolean)(),
|
|
131
|
+
__metadata("design:type", Boolean)
|
|
132
|
+
], BaseIssuanceRequirementDto.prototype, "MEX_FacematchVerified", void 0);
|
|
133
|
+
__decorate([
|
|
134
|
+
(0, class_transformer_1.Expose)(),
|
|
135
|
+
(0, class_validator_1.IsOptional)(),
|
|
136
|
+
(0, class_validator_1.IsBoolean)(),
|
|
137
|
+
__metadata("design:type", Boolean)
|
|
138
|
+
], BaseIssuanceRequirementDto.prototype, "MEX_ProofAddress", void 0);
|
|
139
|
+
__decorate([
|
|
140
|
+
(0, class_transformer_1.Expose)(),
|
|
141
|
+
(0, class_validator_1.IsOptional)(),
|
|
142
|
+
(0, class_validator_1.IsBoolean)(),
|
|
143
|
+
__metadata("design:type", Boolean)
|
|
144
|
+
], BaseIssuanceRequirementDto.prototype, "MEX_TemplateMatch", void 0);
|
|
145
|
+
__decorate([
|
|
146
|
+
(0, class_transformer_1.Expose)(),
|
|
147
|
+
(0, class_validator_1.IsOptional)(),
|
|
148
|
+
(0, class_validator_1.IsBoolean)(),
|
|
149
|
+
__metadata("design:type", Boolean)
|
|
150
|
+
], BaseIssuanceRequirementDto.prototype, "MEX_UploadDocument", void 0);
|
|
151
|
+
__decorate([
|
|
152
|
+
(0, class_transformer_1.Expose)(),
|
|
153
|
+
(0, class_validator_1.IsOptional)(),
|
|
154
|
+
(0, class_validator_1.IsBoolean)(),
|
|
155
|
+
__metadata("design:type", Boolean)
|
|
156
|
+
], BaseIssuanceRequirementDto.prototype, "MEX_ValidDocument", void 0);
|
|
157
|
+
__decorate([
|
|
158
|
+
(0, class_transformer_1.Expose)(),
|
|
159
|
+
(0, class_validator_1.IsOptional)(),
|
|
160
|
+
(0, class_validator_1.IsBoolean)(),
|
|
161
|
+
__metadata("design:type", Boolean)
|
|
162
|
+
], BaseIssuanceRequirementDto.prototype, "MEX_Signature", void 0);
|
|
163
|
+
__decorate([
|
|
164
|
+
(0, class_transformer_1.Expose)(),
|
|
165
|
+
(0, class_validator_1.IsOptional)(),
|
|
166
|
+
(0, class_validator_1.IsBoolean)(),
|
|
167
|
+
__metadata("design:type", Boolean)
|
|
168
|
+
], BaseIssuanceRequirementDto.prototype, "USA_Beneficiaries", void 0);
|
|
169
|
+
__decorate([
|
|
170
|
+
(0, class_transformer_1.Expose)(),
|
|
171
|
+
(0, class_validator_1.IsOptional)(),
|
|
172
|
+
(0, class_validator_1.IsBoolean)(),
|
|
173
|
+
__metadata("design:type", Boolean)
|
|
174
|
+
], BaseIssuanceRequirementDto.prototype, "USA_InfoSelfVerified", void 0);
|
|
175
|
+
__decorate([
|
|
176
|
+
(0, class_transformer_1.Expose)(),
|
|
177
|
+
(0, class_validator_1.IsOptional)(),
|
|
178
|
+
(0, class_validator_1.IsBoolean)(),
|
|
179
|
+
__metadata("design:type", Boolean)
|
|
180
|
+
], BaseIssuanceRequirementDto.prototype, "USA_Signature", void 0);
|
|
181
|
+
__decorate([
|
|
182
|
+
(0, class_transformer_1.Expose)(),
|
|
183
|
+
(0, class_validator_1.IsOptional)(),
|
|
184
|
+
(0, class_validator_1.IsBoolean)(),
|
|
185
|
+
__metadata("design:type", Boolean)
|
|
186
|
+
], BaseIssuanceRequirementDto.prototype, "older18", void 0);
|
|
187
|
+
__decorate([
|
|
188
|
+
(0, class_transformer_1.Expose)(),
|
|
189
|
+
(0, class_validator_1.IsOptional)(),
|
|
190
|
+
(0, class_validator_1.IsBoolean)(),
|
|
191
|
+
__metadata("design:type", Boolean)
|
|
192
|
+
], BaseIssuanceRequirementDto.prototype, "signature", void 0);
|
|
193
|
+
__decorate([
|
|
194
|
+
(0, class_transformer_1.Expose)(),
|
|
195
|
+
(0, class_validator_1.IsOptional)(),
|
|
196
|
+
(0, class_validator_1.IsBoolean)(),
|
|
197
|
+
__metadata("design:type", Boolean)
|
|
198
|
+
], BaseIssuanceRequirementDto.prototype, "USA_Address", void 0);
|
|
199
|
+
__decorate([
|
|
200
|
+
(0, class_transformer_1.Expose)(),
|
|
201
|
+
(0, class_validator_1.IsOptional)(),
|
|
202
|
+
(0, class_validator_1.IsBoolean)(),
|
|
203
|
+
__metadata("design:type", Boolean)
|
|
204
|
+
], BaseIssuanceRequirementDto.prototype, "USA_DebitAccount", void 0);
|
|
205
|
+
__decorate([
|
|
206
|
+
(0, class_transformer_1.Expose)(),
|
|
207
|
+
(0, class_validator_1.IsOptional)(),
|
|
208
|
+
(0, class_validator_1.IsBoolean)(),
|
|
209
|
+
__metadata("design:type", Boolean)
|
|
210
|
+
], BaseIssuanceRequirementDto.prototype, "USA_DebitAccountWish", void 0);
|
|
211
|
+
__decorate([
|
|
212
|
+
(0, class_transformer_1.Expose)(),
|
|
213
|
+
(0, class_validator_1.IsOptional)(),
|
|
214
|
+
(0, class_validator_1.IsBoolean)(),
|
|
215
|
+
__metadata("design:type", Boolean)
|
|
216
|
+
], BaseIssuanceRequirementDto.prototype, "USA_FacematchVerified", void 0);
|
|
217
|
+
__decorate([
|
|
218
|
+
(0, class_transformer_1.Expose)(),
|
|
219
|
+
(0, class_validator_1.IsOptional)(),
|
|
220
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
221
|
+
__metadata("design:type", Array)
|
|
222
|
+
], BaseIssuanceRequirementDto.prototype, "USA_ProgramWish", void 0);
|
|
223
|
+
__decorate([
|
|
224
|
+
(0, class_transformer_1.Expose)(),
|
|
225
|
+
(0, class_validator_1.IsOptional)(),
|
|
226
|
+
(0, class_validator_1.IsBoolean)(),
|
|
227
|
+
__metadata("design:type", Boolean)
|
|
228
|
+
], BaseIssuanceRequirementDto.prototype, "USA_TemplateMatch", void 0);
|
|
229
|
+
__decorate([
|
|
230
|
+
(0, class_transformer_1.Expose)(),
|
|
231
|
+
(0, class_validator_1.IsOptional)(),
|
|
232
|
+
(0, class_validator_1.IsBoolean)(),
|
|
233
|
+
__metadata("design:type", Boolean)
|
|
234
|
+
], BaseIssuanceRequirementDto.prototype, "USA_UploadDocument", void 0);
|
|
235
|
+
__decorate([
|
|
236
|
+
(0, class_transformer_1.Expose)(),
|
|
237
|
+
(0, class_validator_1.IsOptional)(),
|
|
238
|
+
(0, class_validator_1.IsBoolean)(),
|
|
239
|
+
__metadata("design:type", Boolean)
|
|
240
|
+
], BaseIssuanceRequirementDto.prototype, "videoSelfieVerified", void 0);
|
|
241
|
+
__decorate([
|
|
242
|
+
(0, class_transformer_1.Expose)(),
|
|
243
|
+
(0, class_validator_1.IsOptional)(),
|
|
244
|
+
(0, class_validator_1.IsBoolean)(),
|
|
245
|
+
__metadata("design:type", Boolean)
|
|
246
|
+
], BaseIssuanceRequirementDto.prototype, "uploadSelfie", void 0);
|
|
@@ -9,35 +9,20 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.AccountRequirementControlCreateRequest = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
13
14
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
|
|
15
|
+
const BaseIssuanceRequirement_1 = require("./BaseIssuanceRequirement");
|
|
16
|
+
class AccountRequirementControlCreateRequest extends BaseIssuanceRequirement_1.BaseIssuanceRequirementDto {
|
|
15
17
|
}
|
|
16
|
-
exports.
|
|
18
|
+
exports.AccountRequirementControlCreateRequest = AccountRequirementControlCreateRequest;
|
|
17
19
|
__decorate([
|
|
18
|
-
(0,
|
|
19
|
-
(0, class_validator_1.
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], CreateHelpdeskUser.prototype, "directoryId", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
-
(0, class_validator_1.IsString)(),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], CreateHelpdeskUser.prototype, "indexName", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, class_validator_1.IsBoolean)(),
|
|
29
|
-
__metadata("design:type", Boolean)
|
|
30
|
-
], CreateHelpdeskUser.prototype, "usaDebitAccount", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, class_validator_1.IsBoolean)(),
|
|
33
|
-
__metadata("design:type", Boolean)
|
|
34
|
-
], CreateHelpdeskUser.prototype, "mxnDebitAccount", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, class_validator_1.IsString)(),
|
|
37
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
(0, class_validator_1.IsUUID)(),
|
|
38
22
|
__metadata("design:type", String)
|
|
39
|
-
],
|
|
23
|
+
], AccountRequirementControlCreateRequest.prototype, "directoryId", void 0);
|
|
40
24
|
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
41
26
|
(0, class_validator_1.IsString)(),
|
|
42
27
|
__metadata("design:type", String)
|
|
43
|
-
],
|
|
28
|
+
], AccountRequirementControlCreateRequest.prototype, "status", void 0);
|
|
@@ -0,0 +1,28 @@
|
|
|
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.ResponseAccountRequirementControlDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const BaseIssuanceRequirement_1 = require("./BaseIssuanceRequirement");
|
|
16
|
+
class ResponseAccountRequirementControlDto extends BaseIssuanceRequirement_1.BaseIssuanceRequirementDto {
|
|
17
|
+
}
|
|
18
|
+
exports.ResponseAccountRequirementControlDto = ResponseAccountRequirementControlDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
(0, class_validator_1.IsUUID)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], ResponseAccountRequirementControlDto.prototype, "directoryId", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], ResponseAccountRequirementControlDto.prototype, "status", void 0);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IssuanceRequirementUpdareRequest = void 0;
|
|
4
|
+
const BaseIssuanceRequirement_1 = require("./BaseIssuanceRequirement");
|
|
5
|
+
class IssuanceRequirementUpdareRequest extends BaseIssuanceRequirement_1.BaseIssuanceRequirementDto {
|
|
6
|
+
}
|
|
7
|
+
exports.IssuanceRequirementUpdareRequest = IssuanceRequirementUpdareRequest;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IssuanceStatus = void 0;
|
|
4
|
+
var IssuanceStatus;
|
|
5
|
+
(function (IssuanceStatus) {
|
|
6
|
+
IssuanceStatus["IN_PROCESS"] = "IN_PROCESS";
|
|
7
|
+
IssuanceStatus["COMPLETED"] = "COMPLETED";
|
|
8
|
+
IssuanceStatus["FAILED"] = "FAILED";
|
|
9
|
+
})(IssuanceStatus || (exports.IssuanceStatus = IssuanceStatus = {}));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./dtos/IssuanceRequirementCreateRequest"), exports);
|
|
18
|
+
__exportStar(require("./dtos/IssuanceRequirementUpdateRequest"), exports);
|
|
19
|
+
__exportStar(require("./dtos/IssuanceRequirementResponse"), exports);
|
|
20
|
+
__exportStar(require("./enums/IssuanceStatus"), exports);
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -38,6 +38,7 @@ export * as FiadoApiResponse from './apiResponse';
|
|
|
38
38
|
export * as Helpdesk from './helpdesk';
|
|
39
39
|
export * as CentralPayments from "./centralPayments";
|
|
40
40
|
export * as Blacklist from './blacklist';
|
|
41
|
+
export * as IssuanceBusiness from './issuanceBusiness';
|
|
41
42
|
|
|
42
43
|
|
|
43
44
|
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { Expose } from "class-transformer";
|
|
2
|
+
import { IsBoolean, IsOptional, IsString, IsUUID } from "class-validator";
|
|
3
|
+
|
|
4
|
+
// Clase base con todas las propiedades opcionales
|
|
5
|
+
export class BaseIssuanceRequirementDto {
|
|
6
|
+
|
|
7
|
+
@Expose()
|
|
8
|
+
@IsOptional()
|
|
9
|
+
@IsUUID()
|
|
10
|
+
directoryId?: string;
|
|
11
|
+
|
|
12
|
+
@Expose()
|
|
13
|
+
@IsOptional()
|
|
14
|
+
@IsUUID()
|
|
15
|
+
peopleId?: string;
|
|
16
|
+
|
|
17
|
+
@Expose()
|
|
18
|
+
@IsOptional()
|
|
19
|
+
@IsString()
|
|
20
|
+
authorizerEmail?: string;
|
|
21
|
+
|
|
22
|
+
@Expose()
|
|
23
|
+
@IsOptional()
|
|
24
|
+
@IsString()
|
|
25
|
+
authorizationNeededMXN?: string;
|
|
26
|
+
|
|
27
|
+
@Expose()
|
|
28
|
+
@IsOptional()
|
|
29
|
+
@IsString()
|
|
30
|
+
observations?: string;
|
|
31
|
+
|
|
32
|
+
@Expose()
|
|
33
|
+
@IsOptional()
|
|
34
|
+
@IsString()
|
|
35
|
+
status?: string;
|
|
36
|
+
|
|
37
|
+
@Expose()
|
|
38
|
+
@IsOptional()
|
|
39
|
+
@IsBoolean()
|
|
40
|
+
blackListApproved?: boolean | null;
|
|
41
|
+
|
|
42
|
+
@Expose()
|
|
43
|
+
@IsOptional()
|
|
44
|
+
@IsBoolean()
|
|
45
|
+
cnbvListApproved?: boolean | null;
|
|
46
|
+
|
|
47
|
+
@Expose()
|
|
48
|
+
@IsOptional()
|
|
49
|
+
@IsString()
|
|
50
|
+
countryOfDomicile?: string | null;
|
|
51
|
+
|
|
52
|
+
@Expose()
|
|
53
|
+
@IsOptional()
|
|
54
|
+
@IsBoolean()
|
|
55
|
+
dateOfVeredict?: boolean;
|
|
56
|
+
|
|
57
|
+
@Expose()
|
|
58
|
+
@IsOptional()
|
|
59
|
+
@IsBoolean()
|
|
60
|
+
duplicateUserDetection?: boolean | null;
|
|
61
|
+
|
|
62
|
+
@Expose()
|
|
63
|
+
@IsOptional()
|
|
64
|
+
@IsBoolean()
|
|
65
|
+
fiadoListApproved?: boolean | null;
|
|
66
|
+
|
|
67
|
+
@Expose()
|
|
68
|
+
@IsOptional()
|
|
69
|
+
@IsBoolean()
|
|
70
|
+
infoSelfVerified?: boolean;
|
|
71
|
+
|
|
72
|
+
@Expose()
|
|
73
|
+
@IsOptional()
|
|
74
|
+
@IsBoolean()
|
|
75
|
+
magicNumber?: boolean;
|
|
76
|
+
|
|
77
|
+
@Expose()
|
|
78
|
+
@IsOptional()
|
|
79
|
+
@IsBoolean()
|
|
80
|
+
MEX_Address?: boolean;
|
|
81
|
+
|
|
82
|
+
@Expose()
|
|
83
|
+
@IsOptional()
|
|
84
|
+
@IsBoolean()
|
|
85
|
+
MEX_Beneficiaries?: boolean | null;
|
|
86
|
+
|
|
87
|
+
@Expose()
|
|
88
|
+
@IsOptional()
|
|
89
|
+
@IsBoolean()
|
|
90
|
+
MEX_DebitAccount?: boolean;
|
|
91
|
+
|
|
92
|
+
@Expose()
|
|
93
|
+
@IsOptional()
|
|
94
|
+
@IsBoolean()
|
|
95
|
+
MEX_DebitAccountWish?: boolean;
|
|
96
|
+
|
|
97
|
+
@Expose()
|
|
98
|
+
@IsOptional()
|
|
99
|
+
@IsBoolean()
|
|
100
|
+
MEX_FacematchVerified?: boolean | null;
|
|
101
|
+
|
|
102
|
+
@Expose()
|
|
103
|
+
@IsOptional()
|
|
104
|
+
@IsBoolean()
|
|
105
|
+
MEX_ProofAddress?: boolean;
|
|
106
|
+
|
|
107
|
+
@Expose()
|
|
108
|
+
@IsOptional()
|
|
109
|
+
@IsBoolean()
|
|
110
|
+
MEX_TemplateMatch?: boolean | null;
|
|
111
|
+
|
|
112
|
+
@Expose()
|
|
113
|
+
@IsOptional()
|
|
114
|
+
@IsBoolean()
|
|
115
|
+
MEX_UploadDocument?: boolean;
|
|
116
|
+
|
|
117
|
+
@Expose()
|
|
118
|
+
@IsOptional()
|
|
119
|
+
@IsBoolean()
|
|
120
|
+
MEX_ValidDocument?: boolean;
|
|
121
|
+
|
|
122
|
+
@Expose()
|
|
123
|
+
@IsOptional()
|
|
124
|
+
@IsBoolean()
|
|
125
|
+
MEX_Signature?: boolean;
|
|
126
|
+
|
|
127
|
+
@Expose()
|
|
128
|
+
@IsOptional()
|
|
129
|
+
@IsBoolean()
|
|
130
|
+
USA_Beneficiaries?: boolean | null;
|
|
131
|
+
|
|
132
|
+
@Expose()
|
|
133
|
+
@IsOptional()
|
|
134
|
+
@IsBoolean()
|
|
135
|
+
USA_InfoSelfVerified?: boolean;
|
|
136
|
+
|
|
137
|
+
@Expose()
|
|
138
|
+
@IsOptional()
|
|
139
|
+
@IsBoolean()
|
|
140
|
+
USA_Signature?: boolean;
|
|
141
|
+
|
|
142
|
+
@Expose()
|
|
143
|
+
@IsOptional()
|
|
144
|
+
@IsBoolean()
|
|
145
|
+
older18?: boolean | null;
|
|
146
|
+
|
|
147
|
+
@Expose()
|
|
148
|
+
@IsOptional()
|
|
149
|
+
@IsBoolean()
|
|
150
|
+
signature?: boolean;
|
|
151
|
+
|
|
152
|
+
@Expose()
|
|
153
|
+
@IsOptional()
|
|
154
|
+
@IsBoolean()
|
|
155
|
+
USA_Address?: boolean;
|
|
156
|
+
|
|
157
|
+
@Expose()
|
|
158
|
+
@IsOptional()
|
|
159
|
+
@IsBoolean()
|
|
160
|
+
USA_DebitAccount?: boolean;
|
|
161
|
+
|
|
162
|
+
@Expose()
|
|
163
|
+
@IsOptional()
|
|
164
|
+
@IsBoolean()
|
|
165
|
+
USA_DebitAccountWish?: boolean;
|
|
166
|
+
|
|
167
|
+
@Expose()
|
|
168
|
+
@IsOptional()
|
|
169
|
+
@IsBoolean()
|
|
170
|
+
USA_FacematchVerified?: boolean | null;
|
|
171
|
+
|
|
172
|
+
@Expose()
|
|
173
|
+
@IsOptional()
|
|
174
|
+
@IsString({ each: true })
|
|
175
|
+
USA_ProgramWish?: string[];
|
|
176
|
+
|
|
177
|
+
@Expose()
|
|
178
|
+
@IsOptional()
|
|
179
|
+
@IsBoolean()
|
|
180
|
+
USA_TemplateMatch?: boolean;
|
|
181
|
+
|
|
182
|
+
@Expose()
|
|
183
|
+
@IsOptional()
|
|
184
|
+
@IsBoolean()
|
|
185
|
+
USA_UploadDocument?: boolean;
|
|
186
|
+
|
|
187
|
+
@Expose()
|
|
188
|
+
@IsOptional()
|
|
189
|
+
@IsBoolean()
|
|
190
|
+
videoSelfieVerified?: boolean;
|
|
191
|
+
|
|
192
|
+
@Expose()
|
|
193
|
+
@IsOptional()
|
|
194
|
+
@IsBoolean()
|
|
195
|
+
uploadSelfie?: boolean | null;
|
|
196
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Expose } from "class-transformer";
|
|
2
|
+
import { IsString, IsUUID } from "class-validator";
|
|
3
|
+
import { BaseIssuanceRequirementDto } from "./BaseIssuanceRequirement";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class AccountRequirementControlCreateRequest extends BaseIssuanceRequirementDto {
|
|
7
|
+
@Expose()
|
|
8
|
+
@IsUUID()
|
|
9
|
+
directoryId: string;
|
|
10
|
+
|
|
11
|
+
@Expose()
|
|
12
|
+
@IsString()
|
|
13
|
+
status: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Expose } from "class-transformer";
|
|
2
|
+
import { IsString, IsUUID } from "class-validator";
|
|
3
|
+
import { BaseIssuanceRequirementDto } from "./BaseIssuanceRequirement";
|
|
4
|
+
|
|
5
|
+
export class ResponseAccountRequirementControlDto extends BaseIssuanceRequirementDto {
|
|
6
|
+
@Expose()
|
|
7
|
+
@IsUUID()
|
|
8
|
+
directoryId: string;
|
|
9
|
+
|
|
10
|
+
@Expose()
|
|
11
|
+
@IsString()
|
|
12
|
+
status: string;
|
|
13
|
+
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { CountryId } from "../../country";
|
|
2
|
-
import { InstrumentEnum } from "../enums/InstrumentEnum";
|
|
3
|
-
export default class CreditContractCreateRequest {
|
|
4
|
-
directoryUserId: string;
|
|
5
|
-
relatedTransaction: string;
|
|
6
|
-
peopleId: string;
|
|
7
|
-
currencyId: CountryId;
|
|
8
|
-
creditNotional: number;
|
|
9
|
-
creditFee: number;
|
|
10
|
-
creditTax: number;
|
|
11
|
-
creditTotal: number;
|
|
12
|
-
instrument: InstrumentEnum;
|
|
13
|
-
amountBlocked: number;
|
|
14
|
-
relatedPocketId: string;
|
|
15
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
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
|
-
const class_validator_1 = require("class-validator");
|
|
13
|
-
const country_1 = require("../../country");
|
|
14
|
-
const InstrumentEnum_1 = require("../enums/InstrumentEnum");
|
|
15
|
-
class CreditContractCreateRequest {
|
|
16
|
-
}
|
|
17
|
-
exports.default = CreditContractCreateRequest;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsString)(),
|
|
20
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], CreditContractCreateRequest.prototype, "directoryUserId", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, class_validator_1.IsString)(),
|
|
25
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], CreditContractCreateRequest.prototype, "relatedTransaction", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, class_validator_1.IsString)(),
|
|
30
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], CreditContractCreateRequest.prototype, "peopleId", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, class_validator_1.IsEnum)(country_1.CountryId),
|
|
35
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
36
|
-
__metadata("design:type", String)
|
|
37
|
-
], CreditContractCreateRequest.prototype, "currencyId", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, class_validator_1.IsNumber)(),
|
|
40
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
41
|
-
__metadata("design:type", Number)
|
|
42
|
-
], CreditContractCreateRequest.prototype, "creditNotional", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, class_validator_1.IsNumber)(),
|
|
45
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
46
|
-
__metadata("design:type", Number)
|
|
47
|
-
], CreditContractCreateRequest.prototype, "creditFee", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, class_validator_1.IsNumber)(),
|
|
50
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
51
|
-
__metadata("design:type", Number)
|
|
52
|
-
], CreditContractCreateRequest.prototype, "creditTax", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, class_validator_1.IsNumber)(),
|
|
55
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
56
|
-
__metadata("design:type", Number)
|
|
57
|
-
], CreditContractCreateRequest.prototype, "creditTotal", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
(0, class_validator_1.IsEnum)(InstrumentEnum_1.InstrumentEnum),
|
|
60
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
61
|
-
__metadata("design:type", String)
|
|
62
|
-
], CreditContractCreateRequest.prototype, "instrument", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
(0, class_validator_1.IsNumber)(),
|
|
65
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
66
|
-
__metadata("design:type", Number)
|
|
67
|
-
], CreditContractCreateRequest.prototype, "amountBlocked", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
(0, class_validator_1.IsString)(),
|
|
70
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
71
|
-
__metadata("design:type", String)
|
|
72
|
-
], CreditContractCreateRequest.prototype, "relatedPocketId", void 0);
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { TypeOfContactIdEnum } from "../../contactInfo";
|
|
2
|
-
export declare class CreateHelpdeskUser {
|
|
3
|
-
directoryId: string;
|
|
4
|
-
indexName: string;
|
|
5
|
-
usaDebitAccount: boolean;
|
|
6
|
-
mxnDebitAccount: boolean;
|
|
7
|
-
otherContacts: {
|
|
8
|
-
contact: string;
|
|
9
|
-
typeOfContactId: TypeOfContactIdEnum;
|
|
10
|
-
}[];
|
|
11
|
-
directoryStatus: string;
|
|
12
|
-
bankSponsor: string;
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TransactionSourceEnum = void 0;
|
|
4
|
-
var TransactionSourceEnum;
|
|
5
|
-
(function (TransactionSourceEnum) {
|
|
6
|
-
TransactionSourceEnum["FIADO_INC"] = "FIADO_INC";
|
|
7
|
-
TransactionSourceEnum["FIADO_IFPE"] = "FIADO_IFPE";
|
|
8
|
-
TransactionSourceEnum["FIADO_SA"] = "FIADO_SA";
|
|
9
|
-
})(TransactionSourceEnum || (exports.TransactionSourceEnum = TransactionSourceEnum = {}));
|