ravcredit-api-dtos 0.0.1
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/dist/index.d.ts +70 -0
- package/dist/index.js +71 -0
- package/dist/lib/v1/DTO/AddressDto.d.ts +9 -0
- package/dist/lib/v1/DTO/AddressDto.js +39 -0
- package/dist/lib/v1/DTO/AmortizationDto.d.ts +21 -0
- package/dist/lib/v1/DTO/AmortizationDto.js +82 -0
- package/dist/lib/v1/DTO/AssetDto.d.ts +43 -0
- package/dist/lib/v1/DTO/AssetDto.js +146 -0
- package/dist/lib/v1/DTO/AuthAdminDto.d.ts +7 -0
- package/dist/lib/v1/DTO/AuthAdminDto.js +29 -0
- package/dist/lib/v1/DTO/AuthClientDto.d.ts +4 -0
- package/dist/lib/v1/DTO/AuthClientDto.js +22 -0
- package/dist/lib/v1/DTO/BusinessConfigDto.d.ts +15 -0
- package/dist/lib/v1/DTO/BusinessConfigDto.js +71 -0
- package/dist/lib/v1/DTO/BusinessConfigUpdateDto.d.ts +5 -0
- package/dist/lib/v1/DTO/BusinessConfigUpdateDto.js +4 -0
- package/dist/lib/v1/DTO/BusinessDeadlineDto.d.ts +4 -0
- package/dist/lib/v1/DTO/BusinessDeadlineDto.js +17 -0
- package/dist/lib/v1/DTO/BusinessInfoDto.d.ts +11 -0
- package/dist/lib/v1/DTO/BusinessInfoDto.js +47 -0
- package/dist/lib/v1/DTO/BusinessInfoUpdateDto.d.ts +5 -0
- package/dist/lib/v1/DTO/BusinessInfoUpdateDto.js +4 -0
- package/dist/lib/v1/DTO/CatalogDto.d.ts +6 -0
- package/dist/lib/v1/DTO/CatalogDto.js +25 -0
- package/dist/lib/v1/DTO/ClientDto.d.ts +77 -0
- package/dist/lib/v1/DTO/ClientDto.js +286 -0
- package/dist/lib/v1/DTO/CompanyDto.d.ts +8 -0
- package/dist/lib/v1/DTO/CompanyDto.js +32 -0
- package/dist/lib/v1/DTO/ConektaChannelDto.d.ts +6 -0
- package/dist/lib/v1/DTO/ConektaChannelDto.js +25 -0
- package/dist/lib/v1/DTO/ConektaChargeDataDto.d.ts +24 -0
- package/dist/lib/v1/DTO/ConektaChargeDataDto.js +98 -0
- package/dist/lib/v1/DTO/ConektaChargesDto.d.ts +7 -0
- package/dist/lib/v1/DTO/ConektaChargesDto.js +29 -0
- package/dist/lib/v1/DTO/ConektaCheckoutDto.d.ts +24 -0
- package/dist/lib/v1/DTO/ConektaCheckoutDto.js +101 -0
- package/dist/lib/v1/DTO/ConektaCustomerInfoDto.d.ts +9 -0
- package/dist/lib/v1/DTO/ConektaCustomerInfoDto.js +39 -0
- package/dist/lib/v1/DTO/ConektaDto.d.ts +95 -0
- package/dist/lib/v1/DTO/ConektaDto.js +339 -0
- package/dist/lib/v1/DTO/ConektaLineItemDto.d.ts +15 -0
- package/dist/lib/v1/DTO/ConektaLineItemDto.js +67 -0
- package/dist/lib/v1/DTO/ConektaLineItemsDto.d.ts +7 -0
- package/dist/lib/v1/DTO/ConektaLineItemsDto.js +29 -0
- package/dist/lib/v1/DTO/ConektaNewOrderDto.d.ts +7 -0
- package/dist/lib/v1/DTO/ConektaNewOrderDto.js +27 -0
- package/dist/lib/v1/DTO/ConektaOrdCreateDto.d.ts +9 -0
- package/dist/lib/v1/DTO/ConektaOrdCreateDto.js +34 -0
- package/dist/lib/v1/DTO/ConektaOrderDto.d.ts +29 -0
- package/dist/lib/v1/DTO/ConektaOrderDto.js +113 -0
- package/dist/lib/v1/DTO/ConektaOrderSpeiDto.d.ts +7 -0
- package/dist/lib/v1/DTO/ConektaOrderSpeiDto.js +27 -0
- package/dist/lib/v1/DTO/ConektaOrdersResponseDto.d.ts +8 -0
- package/dist/lib/v1/DTO/ConektaOrdersResponseDto.js +35 -0
- package/dist/lib/v1/DTO/ConektaPaymentDto.d.ts +8 -0
- package/dist/lib/v1/DTO/ConektaPaymentDto.js +29 -0
- package/dist/lib/v1/DTO/ConektaPaymentMethodDto.d.ts +13 -0
- package/dist/lib/v1/DTO/ConektaPaymentMethodDto.js +53 -0
- package/dist/lib/v1/DTO/ConektaPaymentSourcesDto.d.ts +4 -0
- package/dist/lib/v1/DTO/ConektaPaymentSourcesDto.js +18 -0
- package/dist/lib/v1/DTO/ConektaUpdateDto.d.ts +8 -0
- package/dist/lib/v1/DTO/ConektaUpdateDto.js +26 -0
- package/dist/lib/v1/DTO/ContractDto.d.ts +39 -0
- package/dist/lib/v1/DTO/ContractDto.js +139 -0
- package/dist/lib/v1/DTO/ContractUpdateDto.d.ts +5 -0
- package/dist/lib/v1/DTO/ContractUpdateDto.js +4 -0
- package/dist/lib/v1/DTO/CustomerDto.d.ts +17 -0
- package/dist/lib/v1/DTO/CustomerDto.js +66 -0
- package/dist/lib/v1/DTO/DeviceDto.d.ts +5 -0
- package/dist/lib/v1/DTO/DeviceDto.js +22 -0
- package/dist/lib/v1/DTO/DynamiCoreCreditDto.d.ts +47 -0
- package/dist/lib/v1/DTO/DynamiCoreCreditDto.js +170 -0
- package/dist/lib/v1/DTO/DynamiCoreDto.d.ts +473 -0
- package/dist/lib/v1/DTO/DynamiCoreDto.js +1603 -0
- package/dist/lib/v1/DTO/DynamicUpdateReferenceDto.d.ts +5 -0
- package/dist/lib/v1/DTO/DynamicUpdateReferenceDto.js +4 -0
- package/dist/lib/v1/DTO/FinancialDto.d.ts +30 -0
- package/dist/lib/v1/DTO/FinancialDto.js +185 -0
- package/dist/lib/v1/DTO/NotificationDto.d.ts +13 -0
- package/dist/lib/v1/DTO/NotificationDto.js +46 -0
- package/dist/lib/v1/DTO/NotificationUpdateDto.d.ts +5 -0
- package/dist/lib/v1/DTO/NotificationUpdateDto.js +4 -0
- package/dist/lib/v1/DTO/OrdCreatLineItemDto.d.ts +7 -0
- package/dist/lib/v1/DTO/OrdCreatLineItemDto.js +28 -0
- package/dist/lib/v1/DTO/OrdCreateAntifraudInfoDto.d.ts +3 -0
- package/dist/lib/v1/DTO/OrdCreateAntifraudInfoDto.js +13 -0
- package/dist/lib/v1/DTO/OrdCreateChargeDto.d.ts +5 -0
- package/dist/lib/v1/DTO/OrdCreateChargeDto.js +20 -0
- package/dist/lib/v1/DTO/OrdCreateCusInfoDto.d.ts +6 -0
- package/dist/lib/v1/DTO/OrdCreateCusInfoDto.js +29 -0
- package/dist/lib/v1/DTO/OrdCreatePymtMetDto.d.ts +4 -0
- package/dist/lib/v1/DTO/OrdCreatePymtMetDto.js +17 -0
- package/dist/lib/v1/DTO/PartialClientDto.d.ts +5 -0
- package/dist/lib/v1/DTO/PartialClientDto.js +4 -0
- package/dist/lib/v1/DTO/PassportAdditionalDto.d.ts +5 -0
- package/dist/lib/v1/DTO/PassportAdditionalDto.js +24 -0
- package/dist/lib/v1/DTO/PassportCreateDto.d.ts +7 -0
- package/dist/lib/v1/DTO/PassportCreateDto.js +27 -0
- package/dist/lib/v1/DTO/PassportDto.d.ts +30 -0
- package/dist/lib/v1/DTO/PassportDto.js +145 -0
- package/dist/lib/v1/DTO/PassportGlobalDto.d.ts +7 -0
- package/dist/lib/v1/DTO/PassportGlobalDto.js +27 -0
- package/dist/lib/v1/DTO/PassportReferenceDataDto.d.ts +8 -0
- package/dist/lib/v1/DTO/PassportReferenceDataDto.js +33 -0
- package/dist/lib/v1/DTO/PayLinkResDto.d.ts +61 -0
- package/dist/lib/v1/DTO/PayLinkResDto.js +174 -0
- package/dist/lib/v1/DTO/PayOrderResAlternaDto.d.ts +175 -0
- package/dist/lib/v1/DTO/PayOrderResAlternaDto.js +399 -0
- package/dist/lib/v1/DTO/PayOrderResOxxoDto.d.ts +46 -0
- package/dist/lib/v1/DTO/PayOrderResOxxoDto.js +290 -0
- package/dist/lib/v1/DTO/PaymentLinkDto.d.ts +37 -0
- package/dist/lib/v1/DTO/PaymentLinkDto.js +170 -0
- package/dist/lib/v1/DTO/ScheduleDto.d.ts +6 -0
- package/dist/lib/v1/DTO/ScheduleDto.js +25 -0
- package/dist/lib/v1/DTO/ScoreDto.d.ts +29 -0
- package/dist/lib/v1/DTO/ScoreDto.js +97 -0
- package/dist/lib/v1/DTO/UserCreateDto.d.ts +10 -0
- package/dist/lib/v1/DTO/UserCreateDto.js +52 -0
- package/dist/lib/v1/DTO/UserDto.d.ts +14 -0
- package/dist/lib/v1/DTO/UserDto.js +53 -0
- package/dist/lib/v1/DTO/UserUpdateDto.d.ts +5 -0
- package/dist/lib/v1/DTO/UserUpdateDto.js +4 -0
- package/dist/lib/v1/DTO/WeekScheduleDto.d.ts +13 -0
- package/dist/lib/v1/DTO/WeekScheduleDto.js +65 -0
- package/dist/lib/v1/core/Crypt.d.ts +4 -0
- package/dist/lib/v1/core/Crypt.js +9 -0
- package/dist/lib/v1/core/Validators.d.ts +10 -0
- package/dist/lib/v1/core/Validators.js +31 -0
- package/dist/lib/v1/util/Constants.d.ts +89 -0
- package/dist/lib/v1/util/Constants.js +388 -0
- package/dist/lib/v1/util/Cors.d.ts +2 -0
- package/dist/lib/v1/util/Cors.js +5 -0
- package/dist/lib/v1/util/ExternalPaths.d.ts +28 -0
- package/dist/lib/v1/util/ExternalPaths.js +28 -0
- package/dist/lib/v1/util/FactoryClient.d.ts +11 -0
- package/dist/lib/v1/util/FactoryClient.js +108 -0
- package/dist/lib/v1/util/FactoryUser.d.ts +6 -0
- package/dist/lib/v1/util/FactoryUser.js +43 -0
- package/dist/lib/v1/util/FactoryUtil.d.ts +3 -0
- package/dist/lib/v1/util/FactoryUtil.js +6 -0
- package/dist/lib/v1/util/FirestorePaths.d.ts +13 -0
- package/dist/lib/v1/util/FirestorePaths.js +13 -0
- package/dist/lib/v1/util/Http.d.ts +0 -0
- package/dist/lib/v1/util/Http.js +1 -0
- package/package.json +37 -0
|
@@ -0,0 +1,1603 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { IsArray, IsBoolean, IsNumber, IsOptional, IsString, Validate, ValidateNested } from 'class-validator';
|
|
8
|
+
import { Type } from 'class-transformer';
|
|
9
|
+
import { cIDCAccountConfigDto, cIDCAccountPropsDto, cIDCClientQueryDto, cIDCDataPiiDto, cIDCMntryCycleDto, cIDCMntryPymtAllDto, cIDCMntryPymtAllPaidTotalDto, cIDCMntryPymtDueDto, cIDCMntryPymtDueTaxDto, cIDCMntryPymtOpenDto, cIDCMntryPymtPaidDto, cIDCMntryPymtPymtDto, cIDCMsgDto, cIDCOxxoRefItemDto, cIDCOxxoRefPymtMthDto, cIDCRefCustInfoDto, cIDCRefItemsDto, cIDCRefPymtMethodDto, cIDCTxnRowExtrasDto } from "../util/Constants";
|
|
10
|
+
import { IsStringOrNumber } from '../core/Validators';
|
|
11
|
+
export class IDCDataPiiDto {
|
|
12
|
+
icc = "";
|
|
13
|
+
rfc = "";
|
|
14
|
+
city = "";
|
|
15
|
+
curp = "";
|
|
16
|
+
imei = "";
|
|
17
|
+
name = "";
|
|
18
|
+
term = "";
|
|
19
|
+
brand = "";
|
|
20
|
+
email = "";
|
|
21
|
+
model = "";
|
|
22
|
+
phone = "";
|
|
23
|
+
score;
|
|
24
|
+
state = "";
|
|
25
|
+
amount = "";
|
|
26
|
+
colony = "";
|
|
27
|
+
estado;
|
|
28
|
+
gender = "";
|
|
29
|
+
period = "";
|
|
30
|
+
street = "";
|
|
31
|
+
num_ext = "";
|
|
32
|
+
num_int = "";
|
|
33
|
+
zipcode = "";
|
|
34
|
+
financed = "";
|
|
35
|
+
house_is = "";
|
|
36
|
+
lastname = "";
|
|
37
|
+
type_job = "";
|
|
38
|
+
birthdate = "";
|
|
39
|
+
birthstate = "";
|
|
40
|
+
dicio_data = "";
|
|
41
|
+
dicio_step;
|
|
42
|
+
secondname = "";
|
|
43
|
+
nationality = "";
|
|
44
|
+
seller_name = "";
|
|
45
|
+
down_payment = "";
|
|
46
|
+
municipality = "";
|
|
47
|
+
score_no_hit = "";
|
|
48
|
+
study_degree = "";
|
|
49
|
+
branch_office = "";
|
|
50
|
+
identity_data;
|
|
51
|
+
interest_rate = "";
|
|
52
|
+
marital_status = "";
|
|
53
|
+
monthly_income = "";
|
|
54
|
+
motherlastname = "";
|
|
55
|
+
score_rcc_fico = "";
|
|
56
|
+
identity_selfie;
|
|
57
|
+
amount_by_period = "";
|
|
58
|
+
identity_id_back;
|
|
59
|
+
identity_id_front;
|
|
60
|
+
economic_dependents = "";
|
|
61
|
+
identity_id_request;
|
|
62
|
+
identity_verification;
|
|
63
|
+
is_address_ine_currently_live = "";
|
|
64
|
+
}
|
|
65
|
+
__decorate([
|
|
66
|
+
IsString()
|
|
67
|
+
], IDCDataPiiDto.prototype, "icc", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
IsString()
|
|
70
|
+
], IDCDataPiiDto.prototype, "rfc", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
IsString()
|
|
73
|
+
], IDCDataPiiDto.prototype, "city", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
IsString()
|
|
76
|
+
], IDCDataPiiDto.prototype, "curp", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
IsString()
|
|
79
|
+
], IDCDataPiiDto.prototype, "imei", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
IsString()
|
|
82
|
+
], IDCDataPiiDto.prototype, "name", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
IsString()
|
|
85
|
+
], IDCDataPiiDto.prototype, "term", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
IsString()
|
|
88
|
+
], IDCDataPiiDto.prototype, "brand", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
IsString()
|
|
91
|
+
], IDCDataPiiDto.prototype, "email", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
IsString()
|
|
94
|
+
], IDCDataPiiDto.prototype, "model", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
IsString()
|
|
97
|
+
], IDCDataPiiDto.prototype, "phone", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
IsOptional()
|
|
100
|
+
], IDCDataPiiDto.prototype, "score", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
IsString()
|
|
103
|
+
], IDCDataPiiDto.prototype, "state", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
IsString()
|
|
106
|
+
], IDCDataPiiDto.prototype, "amount", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
IsString()
|
|
109
|
+
], IDCDataPiiDto.prototype, "colony", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
IsOptional()
|
|
112
|
+
], IDCDataPiiDto.prototype, "estado", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
IsString()
|
|
115
|
+
], IDCDataPiiDto.prototype, "gender", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
IsString()
|
|
118
|
+
], IDCDataPiiDto.prototype, "period", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
IsString()
|
|
121
|
+
], IDCDataPiiDto.prototype, "street", void 0);
|
|
122
|
+
__decorate([
|
|
123
|
+
IsString()
|
|
124
|
+
], IDCDataPiiDto.prototype, "num_ext", void 0);
|
|
125
|
+
__decorate([
|
|
126
|
+
IsString()
|
|
127
|
+
], IDCDataPiiDto.prototype, "num_int", void 0);
|
|
128
|
+
__decorate([
|
|
129
|
+
IsString()
|
|
130
|
+
], IDCDataPiiDto.prototype, "zipcode", void 0);
|
|
131
|
+
__decorate([
|
|
132
|
+
IsString()
|
|
133
|
+
], IDCDataPiiDto.prototype, "financed", void 0);
|
|
134
|
+
__decorate([
|
|
135
|
+
IsString()
|
|
136
|
+
], IDCDataPiiDto.prototype, "house_is", void 0);
|
|
137
|
+
__decorate([
|
|
138
|
+
IsString()
|
|
139
|
+
], IDCDataPiiDto.prototype, "lastname", void 0);
|
|
140
|
+
__decorate([
|
|
141
|
+
IsString()
|
|
142
|
+
], IDCDataPiiDto.prototype, "type_job", void 0);
|
|
143
|
+
__decorate([
|
|
144
|
+
IsString()
|
|
145
|
+
], IDCDataPiiDto.prototype, "birthdate", void 0);
|
|
146
|
+
__decorate([
|
|
147
|
+
IsString()
|
|
148
|
+
], IDCDataPiiDto.prototype, "birthstate", void 0);
|
|
149
|
+
__decorate([
|
|
150
|
+
IsString()
|
|
151
|
+
], IDCDataPiiDto.prototype, "dicio_data", void 0);
|
|
152
|
+
__decorate([
|
|
153
|
+
IsOptional()
|
|
154
|
+
], IDCDataPiiDto.prototype, "dicio_step", void 0);
|
|
155
|
+
__decorate([
|
|
156
|
+
IsString()
|
|
157
|
+
], IDCDataPiiDto.prototype, "secondname", void 0);
|
|
158
|
+
__decorate([
|
|
159
|
+
IsString()
|
|
160
|
+
], IDCDataPiiDto.prototype, "nationality", void 0);
|
|
161
|
+
__decorate([
|
|
162
|
+
IsString()
|
|
163
|
+
], IDCDataPiiDto.prototype, "seller_name", void 0);
|
|
164
|
+
__decorate([
|
|
165
|
+
IsString()
|
|
166
|
+
], IDCDataPiiDto.prototype, "down_payment", void 0);
|
|
167
|
+
__decorate([
|
|
168
|
+
IsString()
|
|
169
|
+
], IDCDataPiiDto.prototype, "municipality", void 0);
|
|
170
|
+
__decorate([
|
|
171
|
+
IsString()
|
|
172
|
+
], IDCDataPiiDto.prototype, "score_no_hit", void 0);
|
|
173
|
+
__decorate([
|
|
174
|
+
IsString()
|
|
175
|
+
], IDCDataPiiDto.prototype, "study_degree", void 0);
|
|
176
|
+
__decorate([
|
|
177
|
+
IsString()
|
|
178
|
+
], IDCDataPiiDto.prototype, "branch_office", void 0);
|
|
179
|
+
__decorate([
|
|
180
|
+
IsOptional()
|
|
181
|
+
], IDCDataPiiDto.prototype, "identity_data", void 0);
|
|
182
|
+
__decorate([
|
|
183
|
+
IsString()
|
|
184
|
+
], IDCDataPiiDto.prototype, "interest_rate", void 0);
|
|
185
|
+
__decorate([
|
|
186
|
+
IsString()
|
|
187
|
+
], IDCDataPiiDto.prototype, "marital_status", void 0);
|
|
188
|
+
__decorate([
|
|
189
|
+
IsString()
|
|
190
|
+
], IDCDataPiiDto.prototype, "monthly_income", void 0);
|
|
191
|
+
__decorate([
|
|
192
|
+
IsString()
|
|
193
|
+
], IDCDataPiiDto.prototype, "motherlastname", void 0);
|
|
194
|
+
__decorate([
|
|
195
|
+
IsString()
|
|
196
|
+
], IDCDataPiiDto.prototype, "score_rcc_fico", void 0);
|
|
197
|
+
__decorate([
|
|
198
|
+
IsOptional()
|
|
199
|
+
], IDCDataPiiDto.prototype, "identity_selfie", void 0);
|
|
200
|
+
__decorate([
|
|
201
|
+
IsString()
|
|
202
|
+
], IDCDataPiiDto.prototype, "amount_by_period", void 0);
|
|
203
|
+
__decorate([
|
|
204
|
+
IsOptional()
|
|
205
|
+
], IDCDataPiiDto.prototype, "identity_id_back", void 0);
|
|
206
|
+
__decorate([
|
|
207
|
+
IsOptional()
|
|
208
|
+
], IDCDataPiiDto.prototype, "identity_id_front", void 0);
|
|
209
|
+
__decorate([
|
|
210
|
+
IsString()
|
|
211
|
+
], IDCDataPiiDto.prototype, "economic_dependents", void 0);
|
|
212
|
+
__decorate([
|
|
213
|
+
IsOptional()
|
|
214
|
+
], IDCDataPiiDto.prototype, "identity_id_request", void 0);
|
|
215
|
+
__decorate([
|
|
216
|
+
IsOptional()
|
|
217
|
+
], IDCDataPiiDto.prototype, "identity_verification", void 0);
|
|
218
|
+
__decorate([
|
|
219
|
+
IsString()
|
|
220
|
+
], IDCDataPiiDto.prototype, "is_address_ine_currently_live", void 0);
|
|
221
|
+
export class IDCAccountPropsDto {
|
|
222
|
+
clabe = "";
|
|
223
|
+
pagaqui = "";
|
|
224
|
+
start_date = "";
|
|
225
|
+
expected_disbursed = 0;
|
|
226
|
+
reference_pagaaqui = "";
|
|
227
|
+
principal_disbursed = 0;
|
|
228
|
+
amount_commission_opening = 0;
|
|
229
|
+
}
|
|
230
|
+
__decorate([
|
|
231
|
+
IsString()
|
|
232
|
+
], IDCAccountPropsDto.prototype, "clabe", void 0);
|
|
233
|
+
__decorate([
|
|
234
|
+
IsString()
|
|
235
|
+
], IDCAccountPropsDto.prototype, "pagaqui", void 0);
|
|
236
|
+
__decorate([
|
|
237
|
+
IsString()
|
|
238
|
+
], IDCAccountPropsDto.prototype, "start_date", void 0);
|
|
239
|
+
__decorate([
|
|
240
|
+
IsNumber()
|
|
241
|
+
], IDCAccountPropsDto.prototype, "expected_disbursed", void 0);
|
|
242
|
+
__decorate([
|
|
243
|
+
IsString()
|
|
244
|
+
], IDCAccountPropsDto.prototype, "reference_pagaaqui", void 0);
|
|
245
|
+
__decorate([
|
|
246
|
+
IsNumber()
|
|
247
|
+
], IDCAccountPropsDto.prototype, "principal_disbursed", void 0);
|
|
248
|
+
__decorate([
|
|
249
|
+
IsNumber()
|
|
250
|
+
], IDCAccountPropsDto.prototype, "amount_commission_opening", void 0);
|
|
251
|
+
export class IDCAccountConfigDto {
|
|
252
|
+
contract = "";
|
|
253
|
+
credit_type = "";
|
|
254
|
+
periodicity = "";
|
|
255
|
+
installments = 0;
|
|
256
|
+
interest_base = "";
|
|
257
|
+
interest_rate = 0;
|
|
258
|
+
interest_arrears = 0;
|
|
259
|
+
commission_opening = 0;
|
|
260
|
+
}
|
|
261
|
+
__decorate([
|
|
262
|
+
IsString()
|
|
263
|
+
], IDCAccountConfigDto.prototype, "contract", void 0);
|
|
264
|
+
__decorate([
|
|
265
|
+
IsString()
|
|
266
|
+
], IDCAccountConfigDto.prototype, "credit_type", void 0);
|
|
267
|
+
__decorate([
|
|
268
|
+
IsString()
|
|
269
|
+
], IDCAccountConfigDto.prototype, "periodicity", void 0);
|
|
270
|
+
__decorate([
|
|
271
|
+
IsNumber()
|
|
272
|
+
], IDCAccountConfigDto.prototype, "installments", void 0);
|
|
273
|
+
__decorate([
|
|
274
|
+
IsString()
|
|
275
|
+
], IDCAccountConfigDto.prototype, "interest_base", void 0);
|
|
276
|
+
__decorate([
|
|
277
|
+
IsNumber()
|
|
278
|
+
], IDCAccountConfigDto.prototype, "interest_rate", void 0);
|
|
279
|
+
__decorate([
|
|
280
|
+
IsNumber()
|
|
281
|
+
], IDCAccountConfigDto.prototype, "interest_arrears", void 0);
|
|
282
|
+
__decorate([
|
|
283
|
+
IsNumber()
|
|
284
|
+
], IDCAccountConfigDto.prototype, "commission_opening", void 0);
|
|
285
|
+
export class IDCAccountDto {
|
|
286
|
+
id = 0;
|
|
287
|
+
group = 0;
|
|
288
|
+
company = 0;
|
|
289
|
+
client = 0;
|
|
290
|
+
created_at = "";
|
|
291
|
+
currency = "";
|
|
292
|
+
status = "";
|
|
293
|
+
properties = cIDCAccountPropsDto;
|
|
294
|
+
product = 0;
|
|
295
|
+
enabled = "";
|
|
296
|
+
config = cIDCAccountConfigDto;
|
|
297
|
+
amount = 0;
|
|
298
|
+
type = "";
|
|
299
|
+
identifier = "";
|
|
300
|
+
start_at = "";
|
|
301
|
+
el;
|
|
302
|
+
client_id = "";
|
|
303
|
+
}
|
|
304
|
+
__decorate([
|
|
305
|
+
IsNumber()
|
|
306
|
+
], IDCAccountDto.prototype, "id", void 0);
|
|
307
|
+
__decorate([
|
|
308
|
+
IsNumber()
|
|
309
|
+
], IDCAccountDto.prototype, "group", void 0);
|
|
310
|
+
__decorate([
|
|
311
|
+
IsNumber()
|
|
312
|
+
], IDCAccountDto.prototype, "company", void 0);
|
|
313
|
+
__decorate([
|
|
314
|
+
IsNumber()
|
|
315
|
+
], IDCAccountDto.prototype, "client", void 0);
|
|
316
|
+
__decorate([
|
|
317
|
+
IsString()
|
|
318
|
+
], IDCAccountDto.prototype, "created_at", void 0);
|
|
319
|
+
__decorate([
|
|
320
|
+
IsString()
|
|
321
|
+
], IDCAccountDto.prototype, "currency", void 0);
|
|
322
|
+
__decorate([
|
|
323
|
+
IsString()
|
|
324
|
+
], IDCAccountDto.prototype, "status", void 0);
|
|
325
|
+
__decorate([
|
|
326
|
+
ValidateNested(),
|
|
327
|
+
Type(() => IDCAccountPropsDto)
|
|
328
|
+
], IDCAccountDto.prototype, "properties", void 0);
|
|
329
|
+
__decorate([
|
|
330
|
+
IsNumber()
|
|
331
|
+
], IDCAccountDto.prototype, "product", void 0);
|
|
332
|
+
__decorate([
|
|
333
|
+
IsString()
|
|
334
|
+
], IDCAccountDto.prototype, "enabled", void 0);
|
|
335
|
+
__decorate([
|
|
336
|
+
ValidateNested(),
|
|
337
|
+
Type(() => IDCAccountConfigDto)
|
|
338
|
+
], IDCAccountDto.prototype, "config", void 0);
|
|
339
|
+
__decorate([
|
|
340
|
+
IsNumber()
|
|
341
|
+
], IDCAccountDto.prototype, "amount", void 0);
|
|
342
|
+
__decorate([
|
|
343
|
+
IsString()
|
|
344
|
+
], IDCAccountDto.prototype, "type", void 0);
|
|
345
|
+
__decorate([
|
|
346
|
+
IsString()
|
|
347
|
+
], IDCAccountDto.prototype, "identifier", void 0);
|
|
348
|
+
__decorate([
|
|
349
|
+
IsString()
|
|
350
|
+
], IDCAccountDto.prototype, "start_at", void 0);
|
|
351
|
+
__decorate([
|
|
352
|
+
IsOptional()
|
|
353
|
+
], IDCAccountDto.prototype, "el", void 0);
|
|
354
|
+
__decorate([
|
|
355
|
+
IsString()
|
|
356
|
+
], IDCAccountDto.prototype, "client_id", void 0);
|
|
357
|
+
export class IDCTxnRowExtrasDto {
|
|
358
|
+
reference = "";
|
|
359
|
+
transaction = "";
|
|
360
|
+
}
|
|
361
|
+
__decorate([
|
|
362
|
+
IsString()
|
|
363
|
+
], IDCTxnRowExtrasDto.prototype, "reference", void 0);
|
|
364
|
+
__decorate([
|
|
365
|
+
IsString()
|
|
366
|
+
], IDCTxnRowExtrasDto.prototype, "transaction", void 0);
|
|
367
|
+
export class IDCTxnRowDto {
|
|
368
|
+
id = "";
|
|
369
|
+
created_at = "";
|
|
370
|
+
seq = 0;
|
|
371
|
+
created = "";
|
|
372
|
+
last4 = "";
|
|
373
|
+
response;
|
|
374
|
+
transaction_id = "";
|
|
375
|
+
contrapart = "";
|
|
376
|
+
reference = "";
|
|
377
|
+
external_reference;
|
|
378
|
+
extras = cIDCTxnRowExtrasDto;
|
|
379
|
+
name = "";
|
|
380
|
+
debit = 0;
|
|
381
|
+
credit = 0;
|
|
382
|
+
amount = 0;
|
|
383
|
+
}
|
|
384
|
+
__decorate([
|
|
385
|
+
IsString()
|
|
386
|
+
], IDCTxnRowDto.prototype, "id", void 0);
|
|
387
|
+
__decorate([
|
|
388
|
+
IsString()
|
|
389
|
+
], IDCTxnRowDto.prototype, "created_at", void 0);
|
|
390
|
+
__decorate([
|
|
391
|
+
IsNumber()
|
|
392
|
+
], IDCTxnRowDto.prototype, "seq", void 0);
|
|
393
|
+
__decorate([
|
|
394
|
+
IsString()
|
|
395
|
+
], IDCTxnRowDto.prototype, "created", void 0);
|
|
396
|
+
__decorate([
|
|
397
|
+
IsString()
|
|
398
|
+
], IDCTxnRowDto.prototype, "last4", void 0);
|
|
399
|
+
__decorate([
|
|
400
|
+
IsOptional()
|
|
401
|
+
], IDCTxnRowDto.prototype, "response", void 0);
|
|
402
|
+
__decorate([
|
|
403
|
+
IsString()
|
|
404
|
+
], IDCTxnRowDto.prototype, "transaction_id", void 0);
|
|
405
|
+
__decorate([
|
|
406
|
+
IsString()
|
|
407
|
+
], IDCTxnRowDto.prototype, "contrapart", void 0);
|
|
408
|
+
__decorate([
|
|
409
|
+
IsString()
|
|
410
|
+
], IDCTxnRowDto.prototype, "reference", void 0);
|
|
411
|
+
__decorate([
|
|
412
|
+
IsOptional()
|
|
413
|
+
], IDCTxnRowDto.prototype, "external_reference", void 0);
|
|
414
|
+
__decorate([
|
|
415
|
+
ValidateNested(),
|
|
416
|
+
Type(() => IDCTxnRowExtrasDto)
|
|
417
|
+
], IDCTxnRowDto.prototype, "extras", void 0);
|
|
418
|
+
__decorate([
|
|
419
|
+
IsString()
|
|
420
|
+
], IDCTxnRowDto.prototype, "name", void 0);
|
|
421
|
+
__decorate([
|
|
422
|
+
IsNumber()
|
|
423
|
+
], IDCTxnRowDto.prototype, "debit", void 0);
|
|
424
|
+
__decorate([
|
|
425
|
+
IsNumber()
|
|
426
|
+
], IDCTxnRowDto.prototype, "credit", void 0);
|
|
427
|
+
__decorate([
|
|
428
|
+
IsNumber()
|
|
429
|
+
], IDCTxnRowDto.prototype, "amount", void 0);
|
|
430
|
+
// export interface IDCTxnRow {
|
|
431
|
+
// id: string,
|
|
432
|
+
// created_at: string,
|
|
433
|
+
// seq: number,
|
|
434
|
+
// created: string,
|
|
435
|
+
// last4: string,
|
|
436
|
+
// response: any,
|
|
437
|
+
// transaction_id: string,
|
|
438
|
+
// contrapart: string,
|
|
439
|
+
// reference: string,
|
|
440
|
+
// external_reference: any,
|
|
441
|
+
// extras: IDCTxnRowExtras,
|
|
442
|
+
// name: string,
|
|
443
|
+
// debit: number,
|
|
444
|
+
// credit: number,
|
|
445
|
+
// amount: number
|
|
446
|
+
// }
|
|
447
|
+
export class IDCTxnHeaderDto {
|
|
448
|
+
name = "";
|
|
449
|
+
type = "";
|
|
450
|
+
label = "";
|
|
451
|
+
money = "";
|
|
452
|
+
format = "";
|
|
453
|
+
}
|
|
454
|
+
__decorate([
|
|
455
|
+
IsString()
|
|
456
|
+
], IDCTxnHeaderDto.prototype, "name", void 0);
|
|
457
|
+
__decorate([
|
|
458
|
+
IsString()
|
|
459
|
+
], IDCTxnHeaderDto.prototype, "type", void 0);
|
|
460
|
+
__decorate([
|
|
461
|
+
IsOptional(),
|
|
462
|
+
IsString()
|
|
463
|
+
], IDCTxnHeaderDto.prototype, "label", void 0);
|
|
464
|
+
__decorate([
|
|
465
|
+
IsOptional(),
|
|
466
|
+
IsString()
|
|
467
|
+
], IDCTxnHeaderDto.prototype, "money", void 0);
|
|
468
|
+
__decorate([
|
|
469
|
+
IsOptional(),
|
|
470
|
+
IsString()
|
|
471
|
+
], IDCTxnHeaderDto.prototype, "format", void 0);
|
|
472
|
+
// export interface IDCTxnHeader {
|
|
473
|
+
// name: string,
|
|
474
|
+
// type: string,
|
|
475
|
+
// label?: string,
|
|
476
|
+
// money?: string,
|
|
477
|
+
// format?: string
|
|
478
|
+
// }
|
|
479
|
+
export class IDCTxnDto {
|
|
480
|
+
rows = [];
|
|
481
|
+
headers = [];
|
|
482
|
+
}
|
|
483
|
+
__decorate([
|
|
484
|
+
IsArray(),
|
|
485
|
+
ValidateNested({ each: true }),
|
|
486
|
+
Type(() => IDCTxnRowDto)
|
|
487
|
+
], IDCTxnDto.prototype, "rows", void 0);
|
|
488
|
+
__decorate([
|
|
489
|
+
IsArray(),
|
|
490
|
+
ValidateNested({ each: true }),
|
|
491
|
+
Type(() => IDCTxnHeaderDto)
|
|
492
|
+
], IDCTxnDto.prototype, "headers", void 0);
|
|
493
|
+
// export interface IDCTxn {
|
|
494
|
+
// rows: IDCTxnRow[],
|
|
495
|
+
// headers: IDCTxnHeader[]
|
|
496
|
+
// }
|
|
497
|
+
export class IDCMntryCycleDto {
|
|
498
|
+
date = "";
|
|
499
|
+
late = 0;
|
|
500
|
+
paid = 0;
|
|
501
|
+
past = "";
|
|
502
|
+
cycle = "";
|
|
503
|
+
amount = 0;
|
|
504
|
+
detail;
|
|
505
|
+
status = "";
|
|
506
|
+
}
|
|
507
|
+
__decorate([
|
|
508
|
+
IsString()
|
|
509
|
+
], IDCMntryCycleDto.prototype, "date", void 0);
|
|
510
|
+
__decorate([
|
|
511
|
+
IsNumber()
|
|
512
|
+
], IDCMntryCycleDto.prototype, "late", void 0);
|
|
513
|
+
__decorate([
|
|
514
|
+
IsNumber()
|
|
515
|
+
], IDCMntryCycleDto.prototype, "paid", void 0);
|
|
516
|
+
__decorate([
|
|
517
|
+
IsOptional(),
|
|
518
|
+
IsString(),
|
|
519
|
+
IsBoolean()
|
|
520
|
+
], IDCMntryCycleDto.prototype, "past", void 0);
|
|
521
|
+
__decorate([
|
|
522
|
+
IsString(),
|
|
523
|
+
IsNumber()
|
|
524
|
+
], IDCMntryCycleDto.prototype, "cycle", void 0);
|
|
525
|
+
__decorate([
|
|
526
|
+
IsNumber()
|
|
527
|
+
], IDCMntryCycleDto.prototype, "amount", void 0);
|
|
528
|
+
__decorate([
|
|
529
|
+
IsOptional()
|
|
530
|
+
], IDCMntryCycleDto.prototype, "detail", void 0);
|
|
531
|
+
__decorate([
|
|
532
|
+
IsString()
|
|
533
|
+
], IDCMntryCycleDto.prototype, "status", void 0);
|
|
534
|
+
// export interface IDCMntryCycle {
|
|
535
|
+
// date: string,
|
|
536
|
+
// late: number,
|
|
537
|
+
// paid: number,
|
|
538
|
+
// past: string | boolean,
|
|
539
|
+
// cycle: string | number,
|
|
540
|
+
// amount: number,
|
|
541
|
+
// detail: any,
|
|
542
|
+
// status: string
|
|
543
|
+
// }
|
|
544
|
+
export class IDCMntryPymtAllPaidTotalDto {
|
|
545
|
+
amount = "";
|
|
546
|
+
cycles = "";
|
|
547
|
+
}
|
|
548
|
+
__decorate([
|
|
549
|
+
IsString()
|
|
550
|
+
], IDCMntryPymtAllPaidTotalDto.prototype, "amount", void 0);
|
|
551
|
+
__decorate([
|
|
552
|
+
IsString()
|
|
553
|
+
], IDCMntryPymtAllPaidTotalDto.prototype, "cycles", void 0);
|
|
554
|
+
// export interface IDCMntryPymtAllPaidTotal {
|
|
555
|
+
// amount: string,
|
|
556
|
+
// cycles: string
|
|
557
|
+
// }
|
|
558
|
+
export class IDCMntryPymtAllDto {
|
|
559
|
+
late = 0;
|
|
560
|
+
total = 0;
|
|
561
|
+
va_cp = 0;
|
|
562
|
+
actual = 0;
|
|
563
|
+
cycles = [];
|
|
564
|
+
vencido = 0;
|
|
565
|
+
paid_total = cIDCMntryPymtAllPaidTotalDto;
|
|
566
|
+
total_amount = 0;
|
|
567
|
+
}
|
|
568
|
+
__decorate([
|
|
569
|
+
IsNumber()
|
|
570
|
+
], IDCMntryPymtAllDto.prototype, "late", void 0);
|
|
571
|
+
__decorate([
|
|
572
|
+
IsNumber()
|
|
573
|
+
], IDCMntryPymtAllDto.prototype, "total", void 0);
|
|
574
|
+
__decorate([
|
|
575
|
+
IsNumber()
|
|
576
|
+
], IDCMntryPymtAllDto.prototype, "va_cp", void 0);
|
|
577
|
+
__decorate([
|
|
578
|
+
IsNumber()
|
|
579
|
+
], IDCMntryPymtAllDto.prototype, "actual", void 0);
|
|
580
|
+
__decorate([
|
|
581
|
+
IsArray(),
|
|
582
|
+
ValidateNested({ each: true }),
|
|
583
|
+
Type(() => IDCMntryCycleDto)
|
|
584
|
+
], IDCMntryPymtAllDto.prototype, "cycles", void 0);
|
|
585
|
+
__decorate([
|
|
586
|
+
IsNumber()
|
|
587
|
+
], IDCMntryPymtAllDto.prototype, "vencido", void 0);
|
|
588
|
+
__decorate([
|
|
589
|
+
ValidateNested(),
|
|
590
|
+
Type(() => IDCMntryPymtAllPaidTotalDto)
|
|
591
|
+
], IDCMntryPymtAllDto.prototype, "paid_total", void 0);
|
|
592
|
+
__decorate([
|
|
593
|
+
IsNumber()
|
|
594
|
+
], IDCMntryPymtAllDto.prototype, "total_amount", void 0);
|
|
595
|
+
// export interface IDCMntryPymtAll {
|
|
596
|
+
// late: number,
|
|
597
|
+
// total: number,
|
|
598
|
+
// va_cp: number,
|
|
599
|
+
// actual: number,
|
|
600
|
+
// cycles: IDCMntryCycle[],
|
|
601
|
+
// vencido: number,
|
|
602
|
+
// paid_total: IDCMntryPymtAllPaidTotal,
|
|
603
|
+
// total_amount: number
|
|
604
|
+
// }
|
|
605
|
+
export class IDCMntryPymtDueDto {
|
|
606
|
+
total = 0;
|
|
607
|
+
cycles = [];
|
|
608
|
+
new_cycle = cIDCMntryCycleDto;
|
|
609
|
+
old_cycle = cIDCMntryCycleDto;
|
|
610
|
+
total_amount = 0;
|
|
611
|
+
}
|
|
612
|
+
__decorate([
|
|
613
|
+
IsNumber()
|
|
614
|
+
], IDCMntryPymtDueDto.prototype, "total", void 0);
|
|
615
|
+
__decorate([
|
|
616
|
+
IsArray(),
|
|
617
|
+
ValidateNested({ each: true }),
|
|
618
|
+
Type(() => IDCMntryCycleDto)
|
|
619
|
+
], IDCMntryPymtDueDto.prototype, "cycles", void 0);
|
|
620
|
+
__decorate([
|
|
621
|
+
ValidateNested(),
|
|
622
|
+
Type(() => IDCMntryCycleDto)
|
|
623
|
+
], IDCMntryPymtDueDto.prototype, "new_cycle", void 0);
|
|
624
|
+
__decorate([
|
|
625
|
+
ValidateNested(),
|
|
626
|
+
Type(() => IDCMntryCycleDto)
|
|
627
|
+
], IDCMntryPymtDueDto.prototype, "old_cycle", void 0);
|
|
628
|
+
__decorate([
|
|
629
|
+
IsNumber()
|
|
630
|
+
], IDCMntryPymtDueDto.prototype, "total_amount", void 0);
|
|
631
|
+
// export interface IDCMntryPymtDue {
|
|
632
|
+
// total: number,
|
|
633
|
+
// cycles: IDCMntryCycle[],
|
|
634
|
+
// new_cycle: IDCMntryCycle,
|
|
635
|
+
// old_cycle: IDCMntryCycle,
|
|
636
|
+
// total_amount: number
|
|
637
|
+
// }
|
|
638
|
+
export class IDCMntryPymtOpenDto extends IDCMntryPymtDueDto {
|
|
639
|
+
}
|
|
640
|
+
export class IDCMntryPymtPaidDto {
|
|
641
|
+
total = 0;
|
|
642
|
+
cycles = [];
|
|
643
|
+
new_cycle;
|
|
644
|
+
old_cycle;
|
|
645
|
+
total_amount = 0;
|
|
646
|
+
}
|
|
647
|
+
__decorate([
|
|
648
|
+
IsNumber()
|
|
649
|
+
], IDCMntryPymtPaidDto.prototype, "total", void 0);
|
|
650
|
+
__decorate([
|
|
651
|
+
IsArray(),
|
|
652
|
+
ValidateNested({ each: true }),
|
|
653
|
+
Type(() => IDCMntryCycleDto)
|
|
654
|
+
], IDCMntryPymtPaidDto.prototype, "cycles", void 0);
|
|
655
|
+
__decorate([
|
|
656
|
+
IsOptional()
|
|
657
|
+
], IDCMntryPymtPaidDto.prototype, "new_cycle", void 0);
|
|
658
|
+
__decorate([
|
|
659
|
+
IsOptional()
|
|
660
|
+
], IDCMntryPymtPaidDto.prototype, "old_cycle", void 0);
|
|
661
|
+
__decorate([
|
|
662
|
+
IsNumber()
|
|
663
|
+
], IDCMntryPymtPaidDto.prototype, "total_amount", void 0);
|
|
664
|
+
// export interface IDCMntryPymtPaid {
|
|
665
|
+
// total: number,
|
|
666
|
+
// cycles: IDCMntryCycle[] | any[],
|
|
667
|
+
// new_cycle: any,
|
|
668
|
+
// old_cycle: any,
|
|
669
|
+
// total_amount: number
|
|
670
|
+
// }
|
|
671
|
+
export class IDCMntryPymtDueTaxDto {
|
|
672
|
+
expected = 0;
|
|
673
|
+
}
|
|
674
|
+
__decorate([
|
|
675
|
+
IsNumber()
|
|
676
|
+
], IDCMntryPymtDueTaxDto.prototype, "expected", void 0);
|
|
677
|
+
// export interface IDCMntryPymtDueTax {
|
|
678
|
+
// expected: number;
|
|
679
|
+
// }
|
|
680
|
+
export class IDCMntryPymtPymtDto {
|
|
681
|
+
paid = 0;
|
|
682
|
+
expected = 0;
|
|
683
|
+
}
|
|
684
|
+
__decorate([
|
|
685
|
+
IsNumber()
|
|
686
|
+
], IDCMntryPymtPymtDto.prototype, "paid", void 0);
|
|
687
|
+
__decorate([
|
|
688
|
+
IsNumber()
|
|
689
|
+
], IDCMntryPymtPymtDto.prototype, "expected", void 0);
|
|
690
|
+
// export interface IDCMntryPymtPymt {
|
|
691
|
+
// paid: number,
|
|
692
|
+
// expected: number
|
|
693
|
+
// }
|
|
694
|
+
export class IDCMntryPymtCalDto {
|
|
695
|
+
due = cIDCMntryPymtDueDto;
|
|
696
|
+
date = "";
|
|
697
|
+
past = "";
|
|
698
|
+
cycle = 0;
|
|
699
|
+
balance = 0;
|
|
700
|
+
due_tax = cIDCMntryPymtDueTaxDto;
|
|
701
|
+
payment = cIDCMntryPymtPymtDto;
|
|
702
|
+
interest = cIDCMntryPymtPymtDto;
|
|
703
|
+
principal = cIDCMntryPymtPymtDto;
|
|
704
|
+
payment_tax = cIDCMntryPymtPymtDto;
|
|
705
|
+
interest_tax = cIDCMntryPymtPymtDto;
|
|
706
|
+
final_balance = 0;
|
|
707
|
+
payment_total = cIDCMntryPymtPymtDto;
|
|
708
|
+
principal_tax = cIDCMntryPymtPymtDto;
|
|
709
|
+
}
|
|
710
|
+
__decorate([
|
|
711
|
+
ValidateNested(),
|
|
712
|
+
Type(() => IDCMntryPymtDueDto)
|
|
713
|
+
], IDCMntryPymtCalDto.prototype, "due", void 0);
|
|
714
|
+
__decorate([
|
|
715
|
+
IsString()
|
|
716
|
+
], IDCMntryPymtCalDto.prototype, "date", void 0);
|
|
717
|
+
__decorate([
|
|
718
|
+
IsString()
|
|
719
|
+
], IDCMntryPymtCalDto.prototype, "past", void 0);
|
|
720
|
+
__decorate([
|
|
721
|
+
IsNumber()
|
|
722
|
+
], IDCMntryPymtCalDto.prototype, "cycle", void 0);
|
|
723
|
+
__decorate([
|
|
724
|
+
IsNumber()
|
|
725
|
+
], IDCMntryPymtCalDto.prototype, "balance", void 0);
|
|
726
|
+
__decorate([
|
|
727
|
+
ValidateNested(),
|
|
728
|
+
Type(() => IDCMntryPymtDueTaxDto)
|
|
729
|
+
], IDCMntryPymtCalDto.prototype, "due_tax", void 0);
|
|
730
|
+
__decorate([
|
|
731
|
+
ValidateNested(),
|
|
732
|
+
Type(() => IDCMntryPymtPymtDto)
|
|
733
|
+
], IDCMntryPymtCalDto.prototype, "payment", void 0);
|
|
734
|
+
__decorate([
|
|
735
|
+
ValidateNested(),
|
|
736
|
+
Type(() => IDCMntryPymtPymtDto)
|
|
737
|
+
], IDCMntryPymtCalDto.prototype, "interest", void 0);
|
|
738
|
+
__decorate([
|
|
739
|
+
ValidateNested(),
|
|
740
|
+
Type(() => IDCMntryPymtPymtDto)
|
|
741
|
+
], IDCMntryPymtCalDto.prototype, "principal", void 0);
|
|
742
|
+
__decorate([
|
|
743
|
+
ValidateNested(),
|
|
744
|
+
Type(() => IDCMntryPymtPymtDto)
|
|
745
|
+
], IDCMntryPymtCalDto.prototype, "payment_tax", void 0);
|
|
746
|
+
__decorate([
|
|
747
|
+
ValidateNested(),
|
|
748
|
+
Type(() => IDCMntryPymtPymtDto)
|
|
749
|
+
], IDCMntryPymtCalDto.prototype, "interest_tax", void 0);
|
|
750
|
+
__decorate([
|
|
751
|
+
IsNumber()
|
|
752
|
+
], IDCMntryPymtCalDto.prototype, "final_balance", void 0);
|
|
753
|
+
__decorate([
|
|
754
|
+
ValidateNested(),
|
|
755
|
+
Type(() => IDCMntryPymtPymtDto)
|
|
756
|
+
], IDCMntryPymtCalDto.prototype, "payment_total", void 0);
|
|
757
|
+
__decorate([
|
|
758
|
+
ValidateNested(),
|
|
759
|
+
Type(() => IDCMntryPymtPymtDto)
|
|
760
|
+
], IDCMntryPymtCalDto.prototype, "principal_tax", void 0);
|
|
761
|
+
// export interface IDCMntryPymtCal {
|
|
762
|
+
// due: IDCMntryPymtDue,
|
|
763
|
+
// date: string,
|
|
764
|
+
// past: string,
|
|
765
|
+
// cycle: number,
|
|
766
|
+
// balance: number,
|
|
767
|
+
// due_tax: IDCMntryPymtDueTax,
|
|
768
|
+
// payment: IDCMntryPymtPymt,
|
|
769
|
+
// interest: IDCMntryPymtPymt,
|
|
770
|
+
// principal: IDCMntryPymtPymt,
|
|
771
|
+
// payment_tax: IDCMntryPymtPymt,
|
|
772
|
+
// interest_tax: IDCMntryPymtPymt,
|
|
773
|
+
// final_balance: number,
|
|
774
|
+
// payment_total: IDCMntryPymtPymt,
|
|
775
|
+
// principal_tax: IDCMntryPymtPymt
|
|
776
|
+
// }
|
|
777
|
+
export class IDCMntryPymtDto {
|
|
778
|
+
all = cIDCMntryPymtAllDto;
|
|
779
|
+
due = cIDCMntryPymtDueDto;
|
|
780
|
+
open = cIDCMntryPymtOpenDto;
|
|
781
|
+
paid = cIDCMntryPymtPaidDto;
|
|
782
|
+
payment_calendar = [];
|
|
783
|
+
}
|
|
784
|
+
__decorate([
|
|
785
|
+
ValidateNested(),
|
|
786
|
+
Type(() => IDCMntryPymtAllDto)
|
|
787
|
+
], IDCMntryPymtDto.prototype, "all", void 0);
|
|
788
|
+
__decorate([
|
|
789
|
+
ValidateNested(),
|
|
790
|
+
Type(() => IDCMntryPymtDueDto)
|
|
791
|
+
], IDCMntryPymtDto.prototype, "due", void 0);
|
|
792
|
+
__decorate([
|
|
793
|
+
ValidateNested(),
|
|
794
|
+
Type(() => IDCMntryPymtOpenDto)
|
|
795
|
+
], IDCMntryPymtDto.prototype, "open", void 0);
|
|
796
|
+
__decorate([
|
|
797
|
+
ValidateNested(),
|
|
798
|
+
Type(() => IDCMntryPymtPaidDto)
|
|
799
|
+
], IDCMntryPymtDto.prototype, "paid", void 0);
|
|
800
|
+
__decorate([
|
|
801
|
+
IsArray(),
|
|
802
|
+
ValidateNested({ each: true }),
|
|
803
|
+
Type(() => IDCMntryPymtCalDto)
|
|
804
|
+
], IDCMntryPymtDto.prototype, "payment_calendar", void 0);
|
|
805
|
+
export class IDCDataDto {
|
|
806
|
+
id = 0;
|
|
807
|
+
company = 0;
|
|
808
|
+
status = "";
|
|
809
|
+
external_id = "";
|
|
810
|
+
pii = cIDCDataPiiDto;
|
|
811
|
+
client_type = 0;
|
|
812
|
+
created_at = "";
|
|
813
|
+
pd = 0;
|
|
814
|
+
username = "";
|
|
815
|
+
group = 0;
|
|
816
|
+
}
|
|
817
|
+
__decorate([
|
|
818
|
+
IsNumber()
|
|
819
|
+
], IDCDataDto.prototype, "id", void 0);
|
|
820
|
+
__decorate([
|
|
821
|
+
IsNumber()
|
|
822
|
+
], IDCDataDto.prototype, "company", void 0);
|
|
823
|
+
__decorate([
|
|
824
|
+
IsString()
|
|
825
|
+
], IDCDataDto.prototype, "status", void 0);
|
|
826
|
+
__decorate([
|
|
827
|
+
IsString()
|
|
828
|
+
], IDCDataDto.prototype, "external_id", void 0);
|
|
829
|
+
__decorate([
|
|
830
|
+
ValidateNested(),
|
|
831
|
+
Type(() => IDCDataPiiDto)
|
|
832
|
+
], IDCDataDto.prototype, "pii", void 0);
|
|
833
|
+
__decorate([
|
|
834
|
+
IsNumber()
|
|
835
|
+
], IDCDataDto.prototype, "client_type", void 0);
|
|
836
|
+
__decorate([
|
|
837
|
+
IsString()
|
|
838
|
+
], IDCDataDto.prototype, "created_at", void 0);
|
|
839
|
+
__decorate([
|
|
840
|
+
IsNumber()
|
|
841
|
+
], IDCDataDto.prototype, "pd", void 0);
|
|
842
|
+
__decorate([
|
|
843
|
+
IsString()
|
|
844
|
+
], IDCDataDto.prototype, "username", void 0);
|
|
845
|
+
__decorate([
|
|
846
|
+
IsNumber()
|
|
847
|
+
], IDCDataDto.prototype, "group", void 0);
|
|
848
|
+
// export interface IDCData {
|
|
849
|
+
// id: number,
|
|
850
|
+
// company: number,
|
|
851
|
+
// status: string,
|
|
852
|
+
// external_id: string,
|
|
853
|
+
// pii: IDCDataPii,
|
|
854
|
+
// client_type: number,
|
|
855
|
+
// created_at: string,
|
|
856
|
+
// pd: number,
|
|
857
|
+
// username: string,
|
|
858
|
+
// group: number
|
|
859
|
+
// }
|
|
860
|
+
export class IDCMsgDto {
|
|
861
|
+
code = 0;
|
|
862
|
+
total = 0;
|
|
863
|
+
data = [];
|
|
864
|
+
}
|
|
865
|
+
__decorate([
|
|
866
|
+
IsNumber()
|
|
867
|
+
], IDCMsgDto.prototype, "code", void 0);
|
|
868
|
+
__decorate([
|
|
869
|
+
IsNumber()
|
|
870
|
+
], IDCMsgDto.prototype, "total", void 0);
|
|
871
|
+
__decorate([
|
|
872
|
+
ValidateNested({ each: true })
|
|
873
|
+
], IDCMsgDto.prototype, "data", void 0);
|
|
874
|
+
export class DynamiCoreDto {
|
|
875
|
+
status = "";
|
|
876
|
+
message = cIDCMsgDto;
|
|
877
|
+
}
|
|
878
|
+
__decorate([
|
|
879
|
+
IsString()
|
|
880
|
+
], DynamiCoreDto.prototype, "status", void 0);
|
|
881
|
+
__decorate([
|
|
882
|
+
ValidateNested({ each: true }),
|
|
883
|
+
Type(() => IDCMsgDto)
|
|
884
|
+
], DynamiCoreDto.prototype, "message", void 0);
|
|
885
|
+
/**
|
|
886
|
+
* Interfaces for request (base)
|
|
887
|
+
* */
|
|
888
|
+
export class IDCClientObjFilterDto {
|
|
889
|
+
name = "";
|
|
890
|
+
filter = [];
|
|
891
|
+
type = "";
|
|
892
|
+
sort = "";
|
|
893
|
+
}
|
|
894
|
+
__decorate([
|
|
895
|
+
IsString()
|
|
896
|
+
], IDCClientObjFilterDto.prototype, "name", void 0);
|
|
897
|
+
__decorate([
|
|
898
|
+
IsArray()
|
|
899
|
+
], IDCClientObjFilterDto.prototype, "filter", void 0);
|
|
900
|
+
__decorate([
|
|
901
|
+
IsString()
|
|
902
|
+
], IDCClientObjFilterDto.prototype, "type", void 0);
|
|
903
|
+
__decorate([
|
|
904
|
+
IsString()
|
|
905
|
+
], IDCClientObjFilterDto.prototype, "sort", void 0);
|
|
906
|
+
// export interface IDCClientObjFilter {
|
|
907
|
+
// name: string,
|
|
908
|
+
// filter: string[] | number[],
|
|
909
|
+
// type: string,
|
|
910
|
+
// sort: string
|
|
911
|
+
// }
|
|
912
|
+
export class IDCClientQueryDto {
|
|
913
|
+
filters = [];
|
|
914
|
+
}
|
|
915
|
+
__decorate([
|
|
916
|
+
IsArray(),
|
|
917
|
+
ValidateNested({ each: true }),
|
|
918
|
+
Type(() => IDCClientObjFilterDto)
|
|
919
|
+
], IDCClientQueryDto.prototype, "filters", void 0);
|
|
920
|
+
// export interface IDCClientQuery {
|
|
921
|
+
// filters: IDCClientObjFilter[];
|
|
922
|
+
// }
|
|
923
|
+
export class IDCClientPiiFilterDto {
|
|
924
|
+
limit = 0;
|
|
925
|
+
page = 0;
|
|
926
|
+
query = cIDCClientQueryDto;
|
|
927
|
+
}
|
|
928
|
+
__decorate([
|
|
929
|
+
IsNumber()
|
|
930
|
+
], IDCClientPiiFilterDto.prototype, "limit", void 0);
|
|
931
|
+
__decorate([
|
|
932
|
+
IsNumber()
|
|
933
|
+
], IDCClientPiiFilterDto.prototype, "page", void 0);
|
|
934
|
+
__decorate([
|
|
935
|
+
ValidateNested(),
|
|
936
|
+
Type(() => IDCClientQueryDto)
|
|
937
|
+
], IDCClientPiiFilterDto.prototype, "query", void 0);
|
|
938
|
+
// export interface IDCClientPiiFilter {
|
|
939
|
+
// limit: number,
|
|
940
|
+
// page: number,
|
|
941
|
+
// query: IDCClientQuery
|
|
942
|
+
// }
|
|
943
|
+
/**
|
|
944
|
+
* DynamiCore Reference Interface
|
|
945
|
+
* */
|
|
946
|
+
export class IDCRefCustInfoDto {
|
|
947
|
+
name = "";
|
|
948
|
+
email = "";
|
|
949
|
+
phone = "";
|
|
950
|
+
}
|
|
951
|
+
__decorate([
|
|
952
|
+
IsString()
|
|
953
|
+
], IDCRefCustInfoDto.prototype, "name", void 0);
|
|
954
|
+
__decorate([
|
|
955
|
+
IsString()
|
|
956
|
+
], IDCRefCustInfoDto.prototype, "email", void 0);
|
|
957
|
+
__decorate([
|
|
958
|
+
IsString()
|
|
959
|
+
], IDCRefCustInfoDto.prototype, "phone", void 0);
|
|
960
|
+
export class IDCOxxoRefItemDto {
|
|
961
|
+
name = "";
|
|
962
|
+
unit_price = 0;
|
|
963
|
+
quantity = 0;
|
|
964
|
+
}
|
|
965
|
+
__decorate([
|
|
966
|
+
IsString()
|
|
967
|
+
], IDCOxxoRefItemDto.prototype, "name", void 0);
|
|
968
|
+
__decorate([
|
|
969
|
+
IsNumber()
|
|
970
|
+
], IDCOxxoRefItemDto.prototype, "unit_price", void 0);
|
|
971
|
+
__decorate([
|
|
972
|
+
IsNumber()
|
|
973
|
+
], IDCOxxoRefItemDto.prototype, "quantity", void 0);
|
|
974
|
+
export class IDCOxxoRefPymtMthDto {
|
|
975
|
+
type = "";
|
|
976
|
+
}
|
|
977
|
+
__decorate([
|
|
978
|
+
IsString()
|
|
979
|
+
], IDCOxxoRefPymtMthDto.prototype, "type", void 0);
|
|
980
|
+
export class IDCOxxoRefDto {
|
|
981
|
+
account = 0;
|
|
982
|
+
operation = 0;
|
|
983
|
+
customer_info = cIDCRefCustInfoDto;
|
|
984
|
+
items = cIDCOxxoRefItemDto;
|
|
985
|
+
payment_method = cIDCOxxoRefPymtMthDto;
|
|
986
|
+
}
|
|
987
|
+
__decorate([
|
|
988
|
+
IsNumber()
|
|
989
|
+
], IDCOxxoRefDto.prototype, "account", void 0);
|
|
990
|
+
__decorate([
|
|
991
|
+
IsNumber()
|
|
992
|
+
], IDCOxxoRefDto.prototype, "operation", void 0);
|
|
993
|
+
__decorate([
|
|
994
|
+
ValidateNested(),
|
|
995
|
+
Type(() => IDCRefCustInfoDto)
|
|
996
|
+
], IDCOxxoRefDto.prototype, "customer_info", void 0);
|
|
997
|
+
__decorate([
|
|
998
|
+
ValidateNested(),
|
|
999
|
+
Type(() => IDCOxxoRefItemDto)
|
|
1000
|
+
], IDCOxxoRefDto.prototype, "items", void 0);
|
|
1001
|
+
__decorate([
|
|
1002
|
+
ValidateNested(),
|
|
1003
|
+
Type(() => IDCOxxoRefPymtMthDto)
|
|
1004
|
+
], IDCOxxoRefDto.prototype, "payment_method", void 0);
|
|
1005
|
+
// export interface IDCRefCustInfo {
|
|
1006
|
+
// name: string,
|
|
1007
|
+
// email: string,
|
|
1008
|
+
// phone: string | number
|
|
1009
|
+
// }
|
|
1010
|
+
//
|
|
1011
|
+
// export interface IDCOxxoRefItem {
|
|
1012
|
+
// name: string,
|
|
1013
|
+
// unit_price: number,
|
|
1014
|
+
// quantity: number
|
|
1015
|
+
// }
|
|
1016
|
+
//
|
|
1017
|
+
// export interface IDCOxxoRefPymtMth {
|
|
1018
|
+
// type: string;
|
|
1019
|
+
// }
|
|
1020
|
+
//
|
|
1021
|
+
// export interface IDCOxxoRef {
|
|
1022
|
+
// account: number,
|
|
1023
|
+
// operation: number,
|
|
1024
|
+
// customer_info: IDCRefCustInfo,
|
|
1025
|
+
// items: IDCOxxoRefItem,
|
|
1026
|
+
// payment_method: IDCOxxoRefPymtMth
|
|
1027
|
+
// }
|
|
1028
|
+
/**
|
|
1029
|
+
* DynamiCore Reference
|
|
1030
|
+
* */
|
|
1031
|
+
export class IDCRefItemsDto {
|
|
1032
|
+
name = "";
|
|
1033
|
+
unit_price = 0;
|
|
1034
|
+
quantity = 0;
|
|
1035
|
+
}
|
|
1036
|
+
__decorate([
|
|
1037
|
+
IsString()
|
|
1038
|
+
], IDCRefItemsDto.prototype, "name", void 0);
|
|
1039
|
+
__decorate([
|
|
1040
|
+
IsNumber()
|
|
1041
|
+
], IDCRefItemsDto.prototype, "unit_price", void 0);
|
|
1042
|
+
__decorate([
|
|
1043
|
+
IsNumber()
|
|
1044
|
+
], IDCRefItemsDto.prototype, "quantity", void 0);
|
|
1045
|
+
export class IDCRefPymtMethodDto {
|
|
1046
|
+
type = "";
|
|
1047
|
+
}
|
|
1048
|
+
__decorate([
|
|
1049
|
+
IsString()
|
|
1050
|
+
], IDCRefPymtMethodDto.prototype, "type", void 0);
|
|
1051
|
+
export class IDCReferenceDto {
|
|
1052
|
+
account = 0;
|
|
1053
|
+
operation = 0;
|
|
1054
|
+
customer_info = cIDCRefCustInfoDto;
|
|
1055
|
+
items = cIDCRefItemsDto;
|
|
1056
|
+
payment_method = cIDCRefPymtMethodDto;
|
|
1057
|
+
}
|
|
1058
|
+
__decorate([
|
|
1059
|
+
IsNumber()
|
|
1060
|
+
], IDCReferenceDto.prototype, "account", void 0);
|
|
1061
|
+
__decorate([
|
|
1062
|
+
IsNumber()
|
|
1063
|
+
], IDCReferenceDto.prototype, "operation", void 0);
|
|
1064
|
+
__decorate([
|
|
1065
|
+
ValidateNested(),
|
|
1066
|
+
Type(() => IDCRefCustInfoDto)
|
|
1067
|
+
], IDCReferenceDto.prototype, "customer_info", void 0);
|
|
1068
|
+
__decorate([
|
|
1069
|
+
ValidateNested(),
|
|
1070
|
+
Type(() => IDCRefItemsDto)
|
|
1071
|
+
], IDCReferenceDto.prototype, "items", void 0);
|
|
1072
|
+
__decorate([
|
|
1073
|
+
ValidateNested(),
|
|
1074
|
+
Type(() => IDCRefPymtMethodDto)
|
|
1075
|
+
], IDCReferenceDto.prototype, "payment_method", void 0);
|
|
1076
|
+
export class IDCDataAccountDto {
|
|
1077
|
+
id = 0;
|
|
1078
|
+
group = 0;
|
|
1079
|
+
company = 0;
|
|
1080
|
+
client = 0;
|
|
1081
|
+
created_at = "";
|
|
1082
|
+
currency = "";
|
|
1083
|
+
status = "";
|
|
1084
|
+
properties = cIDCAccountPropsDto;
|
|
1085
|
+
product = 0;
|
|
1086
|
+
enabled = "";
|
|
1087
|
+
config = cIDCAccountConfigDto;
|
|
1088
|
+
amount = 0;
|
|
1089
|
+
type = "";
|
|
1090
|
+
identifier = "";
|
|
1091
|
+
start_at = "";
|
|
1092
|
+
el;
|
|
1093
|
+
client_id = "";
|
|
1094
|
+
}
|
|
1095
|
+
__decorate([
|
|
1096
|
+
IsNumber()
|
|
1097
|
+
], IDCDataAccountDto.prototype, "id", void 0);
|
|
1098
|
+
__decorate([
|
|
1099
|
+
IsNumber()
|
|
1100
|
+
], IDCDataAccountDto.prototype, "group", void 0);
|
|
1101
|
+
__decorate([
|
|
1102
|
+
IsNumber()
|
|
1103
|
+
], IDCDataAccountDto.prototype, "company", void 0);
|
|
1104
|
+
__decorate([
|
|
1105
|
+
IsNumber()
|
|
1106
|
+
], IDCDataAccountDto.prototype, "client", void 0);
|
|
1107
|
+
__decorate([
|
|
1108
|
+
IsNumber()
|
|
1109
|
+
], IDCDataAccountDto.prototype, "created_at", void 0);
|
|
1110
|
+
__decorate([
|
|
1111
|
+
Validate(IsStringOrNumber)
|
|
1112
|
+
], IDCDataAccountDto.prototype, "currency", void 0);
|
|
1113
|
+
__decorate([
|
|
1114
|
+
IsString()
|
|
1115
|
+
], IDCDataAccountDto.prototype, "status", void 0);
|
|
1116
|
+
__decorate([
|
|
1117
|
+
Type(() => IDCAccountPropsDto)
|
|
1118
|
+
], IDCDataAccountDto.prototype, "properties", void 0);
|
|
1119
|
+
__decorate([
|
|
1120
|
+
IsNumber()
|
|
1121
|
+
], IDCDataAccountDto.prototype, "product", void 0);
|
|
1122
|
+
__decorate([
|
|
1123
|
+
Validate(IsStringOrNumber)
|
|
1124
|
+
], IDCDataAccountDto.prototype, "enabled", void 0);
|
|
1125
|
+
__decorate([
|
|
1126
|
+
Type(() => IDCAccountConfigDto)
|
|
1127
|
+
], IDCDataAccountDto.prototype, "config", void 0);
|
|
1128
|
+
__decorate([
|
|
1129
|
+
IsNumber()
|
|
1130
|
+
], IDCDataAccountDto.prototype, "amount", void 0);
|
|
1131
|
+
__decorate([
|
|
1132
|
+
IsString()
|
|
1133
|
+
], IDCDataAccountDto.prototype, "type", void 0);
|
|
1134
|
+
__decorate([
|
|
1135
|
+
IsString()
|
|
1136
|
+
], IDCDataAccountDto.prototype, "identifier", void 0);
|
|
1137
|
+
__decorate([
|
|
1138
|
+
IsString()
|
|
1139
|
+
], IDCDataAccountDto.prototype, "start_at", void 0);
|
|
1140
|
+
__decorate([
|
|
1141
|
+
Validate(IsStringOrNumber)
|
|
1142
|
+
], IDCDataAccountDto.prototype, "client_id", void 0);
|
|
1143
|
+
export class IDCClientDto {
|
|
1144
|
+
id = 0;
|
|
1145
|
+
company = 0;
|
|
1146
|
+
status = "";
|
|
1147
|
+
external_id = "";
|
|
1148
|
+
pii = cIDCDataPiiDto;
|
|
1149
|
+
client_type = 0;
|
|
1150
|
+
created_at = "";
|
|
1151
|
+
pd = 0;
|
|
1152
|
+
username = "";
|
|
1153
|
+
group = 0;
|
|
1154
|
+
}
|
|
1155
|
+
__decorate([
|
|
1156
|
+
IsNumber()
|
|
1157
|
+
], IDCClientDto.prototype, "id", void 0);
|
|
1158
|
+
__decorate([
|
|
1159
|
+
IsNumber()
|
|
1160
|
+
], IDCClientDto.prototype, "company", void 0);
|
|
1161
|
+
__decorate([
|
|
1162
|
+
IsString()
|
|
1163
|
+
], IDCClientDto.prototype, "status", void 0);
|
|
1164
|
+
__decorate([
|
|
1165
|
+
IsString()
|
|
1166
|
+
], IDCClientDto.prototype, "external_id", void 0);
|
|
1167
|
+
__decorate([
|
|
1168
|
+
Type(() => IDCDataPiiDto)
|
|
1169
|
+
], IDCClientDto.prototype, "pii", void 0);
|
|
1170
|
+
__decorate([
|
|
1171
|
+
IsNumber()
|
|
1172
|
+
], IDCClientDto.prototype, "client_type", void 0);
|
|
1173
|
+
__decorate([
|
|
1174
|
+
IsString()
|
|
1175
|
+
], IDCClientDto.prototype, "created_at", void 0);
|
|
1176
|
+
__decorate([
|
|
1177
|
+
IsNumber()
|
|
1178
|
+
], IDCClientDto.prototype, "pd", void 0);
|
|
1179
|
+
__decorate([
|
|
1180
|
+
IsString()
|
|
1181
|
+
], IDCClientDto.prototype, "username", void 0);
|
|
1182
|
+
__decorate([
|
|
1183
|
+
IsNumber()
|
|
1184
|
+
], IDCClientDto.prototype, "group", void 0);
|
|
1185
|
+
export class IDynamiCoreDto {
|
|
1186
|
+
status;
|
|
1187
|
+
message;
|
|
1188
|
+
}
|
|
1189
|
+
__decorate([
|
|
1190
|
+
IsString()
|
|
1191
|
+
], IDynamiCoreDto.prototype, "status", void 0);
|
|
1192
|
+
__decorate([
|
|
1193
|
+
Type(() => IDCMsgDto)
|
|
1194
|
+
], IDynamiCoreDto.prototype, "message", void 0);
|
|
1195
|
+
export class DynamicCoreDto {
|
|
1196
|
+
}
|
|
1197
|
+
export class IDCFilterQryFiltersDto {
|
|
1198
|
+
name;
|
|
1199
|
+
filter;
|
|
1200
|
+
type;
|
|
1201
|
+
sort;
|
|
1202
|
+
}
|
|
1203
|
+
__decorate([
|
|
1204
|
+
IsString()
|
|
1205
|
+
], IDCFilterQryFiltersDto.prototype, "name", void 0);
|
|
1206
|
+
__decorate([
|
|
1207
|
+
IsString()
|
|
1208
|
+
], IDCFilterQryFiltersDto.prototype, "type", void 0);
|
|
1209
|
+
__decorate([
|
|
1210
|
+
IsString()
|
|
1211
|
+
], IDCFilterQryFiltersDto.prototype, "sort", void 0);
|
|
1212
|
+
export class IDCFilterQueryDto {
|
|
1213
|
+
filters;
|
|
1214
|
+
}
|
|
1215
|
+
__decorate([
|
|
1216
|
+
Type(() => IDCFilterQryFiltersDto),
|
|
1217
|
+
ValidateNested({ each: true })
|
|
1218
|
+
], IDCFilterQueryDto.prototype, "filters", void 0);
|
|
1219
|
+
export class IDCFilterCurpDto {
|
|
1220
|
+
curp;
|
|
1221
|
+
}
|
|
1222
|
+
__decorate([
|
|
1223
|
+
IsString()
|
|
1224
|
+
], IDCFilterCurpDto.prototype, "curp", void 0);
|
|
1225
|
+
export class IDCFilterIdDto {
|
|
1226
|
+
id;
|
|
1227
|
+
}
|
|
1228
|
+
__decorate([
|
|
1229
|
+
IsString()
|
|
1230
|
+
], IDCFilterIdDto.prototype, "id", void 0);
|
|
1231
|
+
export class IDCFilterDto {
|
|
1232
|
+
limit;
|
|
1233
|
+
page;
|
|
1234
|
+
query;
|
|
1235
|
+
}
|
|
1236
|
+
__decorate([
|
|
1237
|
+
IsNumber()
|
|
1238
|
+
], IDCFilterDto.prototype, "limit", void 0);
|
|
1239
|
+
__decorate([
|
|
1240
|
+
IsNumber()
|
|
1241
|
+
], IDCFilterDto.prototype, "page", void 0);
|
|
1242
|
+
__decorate([
|
|
1243
|
+
Type(() => IDCFilterQueryDto)
|
|
1244
|
+
], IDCFilterDto.prototype, "query", void 0);
|
|
1245
|
+
export class pIDCDataDto {
|
|
1246
|
+
pii;
|
|
1247
|
+
client_type;
|
|
1248
|
+
}
|
|
1249
|
+
__decorate([
|
|
1250
|
+
Type(() => IDCDataPiiDto),
|
|
1251
|
+
ValidateNested({ each: true })
|
|
1252
|
+
], pIDCDataDto.prototype, "pii", void 0);
|
|
1253
|
+
__decorate([
|
|
1254
|
+
IsNumber()
|
|
1255
|
+
], pIDCDataDto.prototype, "client_type", void 0);
|
|
1256
|
+
export class IDCNewReferenceDto {
|
|
1257
|
+
id;
|
|
1258
|
+
data;
|
|
1259
|
+
date;
|
|
1260
|
+
}
|
|
1261
|
+
__decorate([
|
|
1262
|
+
IsString()
|
|
1263
|
+
], IDCNewReferenceDto.prototype, "id", void 0);
|
|
1264
|
+
__decorate([
|
|
1265
|
+
Type(() => IDCReferenceDto),
|
|
1266
|
+
ValidateNested({ each: true })
|
|
1267
|
+
], IDCNewReferenceDto.prototype, "data", void 0);
|
|
1268
|
+
__decorate([
|
|
1269
|
+
IsNumber(),
|
|
1270
|
+
IsOptional()
|
|
1271
|
+
], IDCNewReferenceDto.prototype, "date", void 0);
|
|
1272
|
+
export class IDCWebhookExtrasDto {
|
|
1273
|
+
id;
|
|
1274
|
+
sign;
|
|
1275
|
+
clave;
|
|
1276
|
+
monto;
|
|
1277
|
+
amount;
|
|
1278
|
+
estado;
|
|
1279
|
+
status;
|
|
1280
|
+
empresa;
|
|
1281
|
+
order_id;
|
|
1282
|
+
reference;
|
|
1283
|
+
created_at;
|
|
1284
|
+
enterprise;
|
|
1285
|
+
payer_name;
|
|
1286
|
+
updated_at;
|
|
1287
|
+
folioOrigen;
|
|
1288
|
+
pay_concept;
|
|
1289
|
+
transaction;
|
|
1290
|
+
cause_return;
|
|
1291
|
+
claveRastreo;
|
|
1292
|
+
conceptoPago;
|
|
1293
|
+
origin_folio;
|
|
1294
|
+
payment_type;
|
|
1295
|
+
tracking_key;
|
|
1296
|
+
payer_account;
|
|
1297
|
+
fechaOperacion;
|
|
1298
|
+
operation_date;
|
|
1299
|
+
payer_curp_rfc;
|
|
1300
|
+
causaDevolucion;
|
|
1301
|
+
cuentaOrdenante;
|
|
1302
|
+
nombreOrdenante;
|
|
1303
|
+
beneficiary_name;
|
|
1304
|
+
rfcCurpOrdenante;
|
|
1305
|
+
beneficiary_email;
|
|
1306
|
+
error_description;
|
|
1307
|
+
numeric_reference;
|
|
1308
|
+
cuentaBeneficiario;
|
|
1309
|
+
nombreBeneficiario;
|
|
1310
|
+
payer_account_type;
|
|
1311
|
+
referenciaNumerica;
|
|
1312
|
+
beneficiary_account;
|
|
1313
|
+
operant_institution;
|
|
1314
|
+
rfcCurpBeneficiario;
|
|
1315
|
+
tipoCuentaOrdenante;
|
|
1316
|
+
beneficiary_curp_rfc;
|
|
1317
|
+
institucionOrdenante;
|
|
1318
|
+
tipoCuentaBeneficiario;
|
|
1319
|
+
counterpart_institution;
|
|
1320
|
+
institucionBeneficiaria;
|
|
1321
|
+
beneficiary_account_type;
|
|
1322
|
+
}
|
|
1323
|
+
__decorate([
|
|
1324
|
+
IsNumber(),
|
|
1325
|
+
IsOptional()
|
|
1326
|
+
], IDCWebhookExtrasDto.prototype, "id", void 0);
|
|
1327
|
+
__decorate([
|
|
1328
|
+
IsOptional(),
|
|
1329
|
+
IsString()
|
|
1330
|
+
], IDCWebhookExtrasDto.prototype, "sign", void 0);
|
|
1331
|
+
__decorate([
|
|
1332
|
+
IsNumber(),
|
|
1333
|
+
IsOptional()
|
|
1334
|
+
], IDCWebhookExtrasDto.prototype, "clave", void 0);
|
|
1335
|
+
__decorate([
|
|
1336
|
+
IsNumber(),
|
|
1337
|
+
IsOptional()
|
|
1338
|
+
], IDCWebhookExtrasDto.prototype, "monto", void 0);
|
|
1339
|
+
__decorate([
|
|
1340
|
+
IsOptional(),
|
|
1341
|
+
IsNumber()
|
|
1342
|
+
], IDCWebhookExtrasDto.prototype, "amount", void 0);
|
|
1343
|
+
__decorate([
|
|
1344
|
+
IsNumber(),
|
|
1345
|
+
IsOptional()
|
|
1346
|
+
], IDCWebhookExtrasDto.prototype, "estado", void 0);
|
|
1347
|
+
__decorate([
|
|
1348
|
+
IsNumber(),
|
|
1349
|
+
IsOptional()
|
|
1350
|
+
], IDCWebhookExtrasDto.prototype, "status", void 0);
|
|
1351
|
+
__decorate([
|
|
1352
|
+
IsString(),
|
|
1353
|
+
IsOptional()
|
|
1354
|
+
], IDCWebhookExtrasDto.prototype, "empresa", void 0);
|
|
1355
|
+
__decorate([
|
|
1356
|
+
IsNumber(),
|
|
1357
|
+
IsOptional()
|
|
1358
|
+
], IDCWebhookExtrasDto.prototype, "order_id", void 0);
|
|
1359
|
+
__decorate([
|
|
1360
|
+
IsString(),
|
|
1361
|
+
IsOptional()
|
|
1362
|
+
], IDCWebhookExtrasDto.prototype, "reference", void 0);
|
|
1363
|
+
__decorate([
|
|
1364
|
+
IsNumber(),
|
|
1365
|
+
IsOptional()
|
|
1366
|
+
], IDCWebhookExtrasDto.prototype, "created_at", void 0);
|
|
1367
|
+
__decorate([
|
|
1368
|
+
IsOptional(),
|
|
1369
|
+
IsString()
|
|
1370
|
+
], IDCWebhookExtrasDto.prototype, "enterprise", void 0);
|
|
1371
|
+
__decorate([
|
|
1372
|
+
IsOptional(),
|
|
1373
|
+
IsString()
|
|
1374
|
+
], IDCWebhookExtrasDto.prototype, "payer_name", void 0);
|
|
1375
|
+
__decorate([
|
|
1376
|
+
IsNumber(),
|
|
1377
|
+
IsOptional()
|
|
1378
|
+
], IDCWebhookExtrasDto.prototype, "updated_at", void 0);
|
|
1379
|
+
__decorate([
|
|
1380
|
+
IsOptional(),
|
|
1381
|
+
IsString()
|
|
1382
|
+
], IDCWebhookExtrasDto.prototype, "folioOrigen", void 0);
|
|
1383
|
+
__decorate([
|
|
1384
|
+
IsOptional(),
|
|
1385
|
+
IsString()
|
|
1386
|
+
], IDCWebhookExtrasDto.prototype, "pay_concept", void 0);
|
|
1387
|
+
__decorate([
|
|
1388
|
+
IsString(),
|
|
1389
|
+
IsOptional()
|
|
1390
|
+
], IDCWebhookExtrasDto.prototype, "transaction", void 0);
|
|
1391
|
+
__decorate([
|
|
1392
|
+
IsOptional(),
|
|
1393
|
+
IsString()
|
|
1394
|
+
], IDCWebhookExtrasDto.prototype, "cause_return", void 0);
|
|
1395
|
+
__decorate([
|
|
1396
|
+
IsString(),
|
|
1397
|
+
IsOptional()
|
|
1398
|
+
], IDCWebhookExtrasDto.prototype, "claveRastreo", void 0);
|
|
1399
|
+
__decorate([
|
|
1400
|
+
IsString(),
|
|
1401
|
+
IsOptional()
|
|
1402
|
+
], IDCWebhookExtrasDto.prototype, "conceptoPago", void 0);
|
|
1403
|
+
__decorate([
|
|
1404
|
+
IsOptional(),
|
|
1405
|
+
IsString()
|
|
1406
|
+
], IDCWebhookExtrasDto.prototype, "origin_folio", void 0);
|
|
1407
|
+
__decorate([
|
|
1408
|
+
IsNumber(),
|
|
1409
|
+
IsOptional()
|
|
1410
|
+
], IDCWebhookExtrasDto.prototype, "payment_type", void 0);
|
|
1411
|
+
__decorate([
|
|
1412
|
+
IsOptional(),
|
|
1413
|
+
IsString()
|
|
1414
|
+
], IDCWebhookExtrasDto.prototype, "tracking_key", void 0);
|
|
1415
|
+
__decorate([
|
|
1416
|
+
IsOptional(),
|
|
1417
|
+
IsString()
|
|
1418
|
+
], IDCWebhookExtrasDto.prototype, "payer_account", void 0);
|
|
1419
|
+
__decorate([
|
|
1420
|
+
IsNumber(),
|
|
1421
|
+
IsOptional()
|
|
1422
|
+
], IDCWebhookExtrasDto.prototype, "fechaOperacion", void 0);
|
|
1423
|
+
__decorate([
|
|
1424
|
+
IsNumber(),
|
|
1425
|
+
IsOptional()
|
|
1426
|
+
], IDCWebhookExtrasDto.prototype, "operation_date", void 0);
|
|
1427
|
+
__decorate([
|
|
1428
|
+
IsOptional(),
|
|
1429
|
+
IsString()
|
|
1430
|
+
], IDCWebhookExtrasDto.prototype, "payer_curp_rfc", void 0);
|
|
1431
|
+
__decorate([
|
|
1432
|
+
IsOptional(),
|
|
1433
|
+
IsString()
|
|
1434
|
+
], IDCWebhookExtrasDto.prototype, "causaDevolucion", void 0);
|
|
1435
|
+
__decorate([
|
|
1436
|
+
IsString(),
|
|
1437
|
+
IsOptional()
|
|
1438
|
+
], IDCWebhookExtrasDto.prototype, "cuentaOrdenante", void 0);
|
|
1439
|
+
__decorate([
|
|
1440
|
+
IsString(),
|
|
1441
|
+
IsOptional()
|
|
1442
|
+
], IDCWebhookExtrasDto.prototype, "nombreOrdenante", void 0);
|
|
1443
|
+
__decorate([
|
|
1444
|
+
IsOptional(),
|
|
1445
|
+
IsString()
|
|
1446
|
+
], IDCWebhookExtrasDto.prototype, "beneficiary_name", void 0);
|
|
1447
|
+
__decorate([
|
|
1448
|
+
IsString(),
|
|
1449
|
+
IsOptional()
|
|
1450
|
+
], IDCWebhookExtrasDto.prototype, "rfcCurpOrdenante", void 0);
|
|
1451
|
+
__decorate([
|
|
1452
|
+
IsOptional(),
|
|
1453
|
+
IsString()
|
|
1454
|
+
], IDCWebhookExtrasDto.prototype, "beneficiary_email", void 0);
|
|
1455
|
+
__decorate([
|
|
1456
|
+
IsOptional(),
|
|
1457
|
+
IsString()
|
|
1458
|
+
], IDCWebhookExtrasDto.prototype, "error_description", void 0);
|
|
1459
|
+
__decorate([
|
|
1460
|
+
IsNumber(),
|
|
1461
|
+
IsOptional()
|
|
1462
|
+
], IDCWebhookExtrasDto.prototype, "numeric_reference", void 0);
|
|
1463
|
+
__decorate([
|
|
1464
|
+
IsString(),
|
|
1465
|
+
IsOptional()
|
|
1466
|
+
], IDCWebhookExtrasDto.prototype, "cuentaBeneficiario", void 0);
|
|
1467
|
+
__decorate([
|
|
1468
|
+
IsString(),
|
|
1469
|
+
IsOptional()
|
|
1470
|
+
], IDCWebhookExtrasDto.prototype, "nombreBeneficiario", void 0);
|
|
1471
|
+
__decorate([
|
|
1472
|
+
IsNumber(),
|
|
1473
|
+
IsOptional()
|
|
1474
|
+
], IDCWebhookExtrasDto.prototype, "payer_account_type", void 0);
|
|
1475
|
+
__decorate([
|
|
1476
|
+
IsNumber(),
|
|
1477
|
+
IsOptional()
|
|
1478
|
+
], IDCWebhookExtrasDto.prototype, "referenciaNumerica", void 0);
|
|
1479
|
+
__decorate([
|
|
1480
|
+
IsOptional(),
|
|
1481
|
+
IsString()
|
|
1482
|
+
], IDCWebhookExtrasDto.prototype, "beneficiary_account", void 0);
|
|
1483
|
+
__decorate([
|
|
1484
|
+
IsNumber(),
|
|
1485
|
+
IsOptional()
|
|
1486
|
+
], IDCWebhookExtrasDto.prototype, "operant_institution", void 0);
|
|
1487
|
+
__decorate([
|
|
1488
|
+
IsString(),
|
|
1489
|
+
IsOptional()
|
|
1490
|
+
], IDCWebhookExtrasDto.prototype, "rfcCurpBeneficiario", void 0);
|
|
1491
|
+
__decorate([
|
|
1492
|
+
IsNumber(),
|
|
1493
|
+
IsOptional()
|
|
1494
|
+
], IDCWebhookExtrasDto.prototype, "tipoCuentaOrdenante", void 0);
|
|
1495
|
+
__decorate([
|
|
1496
|
+
IsOptional(),
|
|
1497
|
+
IsString()
|
|
1498
|
+
], IDCWebhookExtrasDto.prototype, "beneficiary_curp_rfc", void 0);
|
|
1499
|
+
__decorate([
|
|
1500
|
+
IsNumber(),
|
|
1501
|
+
IsOptional()
|
|
1502
|
+
], IDCWebhookExtrasDto.prototype, "institucionOrdenante", void 0);
|
|
1503
|
+
__decorate([
|
|
1504
|
+
IsNumber(),
|
|
1505
|
+
IsOptional()
|
|
1506
|
+
], IDCWebhookExtrasDto.prototype, "tipoCuentaBeneficiario", void 0);
|
|
1507
|
+
__decorate([
|
|
1508
|
+
IsNumber(),
|
|
1509
|
+
IsOptional()
|
|
1510
|
+
], IDCWebhookExtrasDto.prototype, "counterpart_institution", void 0);
|
|
1511
|
+
__decorate([
|
|
1512
|
+
IsNumber(),
|
|
1513
|
+
IsOptional()
|
|
1514
|
+
], IDCWebhookExtrasDto.prototype, "institucionBeneficiaria", void 0);
|
|
1515
|
+
__decorate([
|
|
1516
|
+
IsNumber(),
|
|
1517
|
+
IsOptional()
|
|
1518
|
+
], IDCWebhookExtrasDto.prototype, "beneficiary_account_type", void 0);
|
|
1519
|
+
export class IDCWebhookProcessorDto {
|
|
1520
|
+
name;
|
|
1521
|
+
amount;
|
|
1522
|
+
operation;
|
|
1523
|
+
extras;
|
|
1524
|
+
account;
|
|
1525
|
+
reference;
|
|
1526
|
+
created_at;
|
|
1527
|
+
external_reference;
|
|
1528
|
+
}
|
|
1529
|
+
__decorate([
|
|
1530
|
+
IsString(),
|
|
1531
|
+
IsOptional()
|
|
1532
|
+
], IDCWebhookProcessorDto.prototype, "name", void 0);
|
|
1533
|
+
__decorate([
|
|
1534
|
+
IsNumber(),
|
|
1535
|
+
IsOptional()
|
|
1536
|
+
], IDCWebhookProcessorDto.prototype, "amount", void 0);
|
|
1537
|
+
__decorate([
|
|
1538
|
+
IsNumber(),
|
|
1539
|
+
IsOptional()
|
|
1540
|
+
], IDCWebhookProcessorDto.prototype, "operation", void 0);
|
|
1541
|
+
__decorate([
|
|
1542
|
+
Type(() => IDCWebhookExtrasDto),
|
|
1543
|
+
ValidateNested({ each: true })
|
|
1544
|
+
], IDCWebhookProcessorDto.prototype, "extras", void 0);
|
|
1545
|
+
__decorate([
|
|
1546
|
+
IsString(),
|
|
1547
|
+
IsOptional()
|
|
1548
|
+
], IDCWebhookProcessorDto.prototype, "account", void 0);
|
|
1549
|
+
__decorate([
|
|
1550
|
+
IsString(),
|
|
1551
|
+
IsOptional()
|
|
1552
|
+
], IDCWebhookProcessorDto.prototype, "reference", void 0);
|
|
1553
|
+
__decorate([
|
|
1554
|
+
IsString(),
|
|
1555
|
+
IsOptional()
|
|
1556
|
+
], IDCWebhookProcessorDto.prototype, "created_at", void 0);
|
|
1557
|
+
__decorate([
|
|
1558
|
+
IsString(),
|
|
1559
|
+
IsOptional()
|
|
1560
|
+
], IDCWebhookProcessorDto.prototype, "external_reference", void 0);
|
|
1561
|
+
export class IDCWebhookCustomerStatusDto {
|
|
1562
|
+
status;
|
|
1563
|
+
client;
|
|
1564
|
+
}
|
|
1565
|
+
__decorate([
|
|
1566
|
+
IsString()
|
|
1567
|
+
], IDCWebhookCustomerStatusDto.prototype, "status", void 0);
|
|
1568
|
+
__decorate([
|
|
1569
|
+
IsString()
|
|
1570
|
+
], IDCWebhookCustomerStatusDto.prototype, "client", void 0);
|
|
1571
|
+
export var eWebhookDynamicType;
|
|
1572
|
+
(function (eWebhookDynamicType) {
|
|
1573
|
+
eWebhookDynamicType["IDCWebhookProcessorDTO"] = "IDCWebhookProcessorDTO";
|
|
1574
|
+
eWebhookDynamicType["IDCDataDTO"] = "IDCDataDTO";
|
|
1575
|
+
eWebhookDynamicType["IDCWebhookCustomerStatusDTO"] = "IDCWebhookCustomerStatusDTO";
|
|
1576
|
+
eWebhookDynamicType["IDCDataAccountDTO"] = "IDCDataAccountDTO";
|
|
1577
|
+
})(eWebhookDynamicType || (eWebhookDynamicType = {}));
|
|
1578
|
+
export class TransactionDto {
|
|
1579
|
+
transaction;
|
|
1580
|
+
}
|
|
1581
|
+
__decorate([
|
|
1582
|
+
IsString()
|
|
1583
|
+
], TransactionDto.prototype, "transaction", void 0);
|
|
1584
|
+
export class IDCMsgTransactionDto {
|
|
1585
|
+
code;
|
|
1586
|
+
data;
|
|
1587
|
+
}
|
|
1588
|
+
__decorate([
|
|
1589
|
+
IsNumber()
|
|
1590
|
+
], IDCMsgTransactionDto.prototype, "code", void 0);
|
|
1591
|
+
__decorate([
|
|
1592
|
+
IsArray()
|
|
1593
|
+
], IDCMsgTransactionDto.prototype, "data", void 0);
|
|
1594
|
+
export class IDynamiCoreTransactionDto {
|
|
1595
|
+
status;
|
|
1596
|
+
message;
|
|
1597
|
+
}
|
|
1598
|
+
__decorate([
|
|
1599
|
+
IsString()
|
|
1600
|
+
], IDynamiCoreTransactionDto.prototype, "status", void 0);
|
|
1601
|
+
__decorate([
|
|
1602
|
+
Type(() => IDCMsgTransactionDto)
|
|
1603
|
+
], IDynamiCoreTransactionDto.prototype, "message", void 0);
|