ravcredit-lib 0.0.25 → 0.0.27
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/ng-package.json +7 -0
- package/package.json +14 -25
- package/src/index.d.ts +60 -0
- package/src/lib/ravcredit-lib.component.spec.ts +23 -0
- package/src/lib/ravcredit-lib.component.ts +16 -0
- package/src/lib/ravcredit-lib.service.spec.ts +16 -0
- package/src/lib/ravcredit-lib.service.ts +9 -0
- package/src/lib/v1/const/constants.ts +37 -0
- package/src/lib/v1/idb/idb.service.spec.ts +16 -0
- package/src/lib/v1/idb/indexed-db.service.ts +396 -0
- package/src/lib/v1/objects/oAddress.ts +9 -0
- package/src/lib/v1/objects/oBusiness.ts +93 -0
- package/src/lib/v1/objects/oClient.ts +46 -0
- package/src/lib/v1/objects/oConekta.ts +361 -0
- package/src/lib/v1/objects/oContract.ts +31 -0
- package/src/lib/v1/objects/oContractAll.ts +37 -0
- package/src/lib/v1/objects/oCustomer.ts +36 -0
- package/src/lib/v1/objects/oDevice.ts +5 -0
- package/src/lib/v1/objects/oFinancial.ts +32 -0
- package/src/lib/v1/objects/oLogIn.ts +26 -0
- package/src/lib/v1/objects/oNewPayment.ts +18 -0
- package/src/lib/v1/objects/oNotification.ts +33 -0
- package/src/lib/v1/objects/oPassport.ts +60 -0
- package/src/lib/v1/objects/oUser.ts +35 -0
- package/src/lib/v1/objects/oVerification.ts +79 -0
- package/src/lib/v1/util/UtilBusiness.ts +187 -0
- package/src/lib/v1/util/UtilClient.ts +300 -0
- package/src/lib/v1/util/UtilConekta.ts +97 -0
- package/src/lib/v1/util/UtilContract.ts +430 -0
- package/src/lib/v1/util/UtilDashboard.ts +19 -0
- package/src/lib/v1/util/UtilDynamiCore.ts +752 -0
- package/src/lib/v1/util/UtilNotification.ts +46 -0
- package/src/lib/v1/util/UtilPassport.ts +33 -0
- package/src/lib/v1/util/UtilPayment.ts +22 -0
- package/src/lib/v1/util/UtilTime.ts +179 -0
- package/src/lib/v1/util/UtilsHttp.ts +25 -0
- package/src/lib/v2/constant/constants.ts +125 -0
- package/src/lib/v2/constant/messages.ts +28 -0
- package/src/lib/v2/enum/EnumAsset.ts +4 -0
- package/src/lib/v2/enum/EnumAuth.ts +29 -0
- package/src/lib/v2/enum/EnumClient.ts +7 -0
- package/src/lib/v2/enum/EnumConekta.ts +14 -0
- package/src/lib/v2/enum/EnumDynamic.ts +8 -0
- package/src/lib/v2/enum/EnumNotification.ts +1 -0
- package/src/lib/v2/enum/EnumPassport.ts +4 -0
- package/src/lib/v2/enum/EnumPayment.ts +5 -0
- package/src/lib/v2/enum/EnumRoles.ts +7 -0
- package/src/lib/v2/enum/EnumToken.ts +11 -0
- package/src/lib/v2/enum/EnumUtil.ts +22 -0
- package/src/lib/v2/enum/EnumVerification.ts +22 -0
- package/src/lib/v2/objects/oAsset.ts +44 -0
- package/src/lib/v2/objects/oAws.ts +8 -0
- package/src/lib/v2/objects/oCatalog.ts +6 -0
- package/src/lib/v2/objects/oClient.ts +36 -0
- package/src/lib/v2/objects/oCompany.ts +10 -0
- package/src/lib/v2/objects/oContract.ts +10 -0
- package/src/lib/v2/objects/oHttp.ts +33 -0
- package/src/lib/v2/objects/oMediaDto.ts +10 -0
- package/src/lib/v2/objects/oMessaging.ts +10 -0
- package/src/lib/v2/objects/oScoreDto.ts +38 -0
- package/src/lib/v2/objects/oUtil.ts +68 -0
- package/src/public-api.ts +66 -0
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.prod.json +11 -0
- package/tsconfig.spec.json +15 -0
- package/fesm2022/ravcredit-lib.mjs +0 -2181
- package/fesm2022/ravcredit-lib.mjs.map +0 -1
- package/index.d.ts +0 -1880
package/index.d.ts
DELETED
|
@@ -1,1880 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { WritableSignal, Injector } from '@angular/core';
|
|
3
|
-
import { UntypedFormGroup, UntypedFormControl, UntypedFormArray } from '@angular/forms';
|
|
4
|
-
import { MatSnackBarConfig } from '@angular/material/snack-bar';
|
|
5
|
-
import * as idb from 'idb';
|
|
6
|
-
import { IDBPDatabase } from 'idb';
|
|
7
|
-
import * as ravcredit_lib from 'ravcredit-lib';
|
|
8
|
-
|
|
9
|
-
declare class RavcreditLibService {
|
|
10
|
-
constructor();
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RavcreditLibService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RavcreditLibService>;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
declare class RavcreditLibComponent {
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RavcreditLibComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RavcreditLibComponent, "lib-ravcredit-lib", never, {}, {}, never, never, true, never>;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
interface oAddress {
|
|
21
|
-
street: string;
|
|
22
|
-
city: string;
|
|
23
|
-
neighbor: string;
|
|
24
|
-
zip: string;
|
|
25
|
-
ext: string;
|
|
26
|
-
int: string;
|
|
27
|
-
state: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
interface iBusinessInfo {
|
|
31
|
-
address: WritableSignal<oAddress>;
|
|
32
|
-
schedule: WritableSignal<oSchedule>;
|
|
33
|
-
businessData: WritableSignal<oBusinessInfo>;
|
|
34
|
-
updateBusinessData(data: oBusinessInfo): boolean;
|
|
35
|
-
getBusinessDataAPI(): oBusinessInfo;
|
|
36
|
-
getBusinessDataLocal(): oBusinessInfo;
|
|
37
|
-
initFormBusiness(): UntypedFormGroup;
|
|
38
|
-
}
|
|
39
|
-
interface oSchedule {
|
|
40
|
-
day: string;
|
|
41
|
-
open: number;
|
|
42
|
-
close: number;
|
|
43
|
-
}
|
|
44
|
-
interface oDaySchedule {
|
|
45
|
-
open: number;
|
|
46
|
-
close: number;
|
|
47
|
-
}
|
|
48
|
-
type oWeekSchedule = {
|
|
49
|
-
monday: oDaySchedule;
|
|
50
|
-
tuesday: oDaySchedule;
|
|
51
|
-
wednesday: oDaySchedule;
|
|
52
|
-
thursday: oDaySchedule;
|
|
53
|
-
friday: oDaySchedule;
|
|
54
|
-
saturday: oDaySchedule;
|
|
55
|
-
sunday: oDaySchedule;
|
|
56
|
-
};
|
|
57
|
-
interface oBusinessInfo {
|
|
58
|
-
version: string;
|
|
59
|
-
name: string;
|
|
60
|
-
desc?: string;
|
|
61
|
-
address: oAddress;
|
|
62
|
-
phones: string[];
|
|
63
|
-
email: string;
|
|
64
|
-
schedule?: oWeekSchedule;
|
|
65
|
-
}
|
|
66
|
-
interface oBusinessDeadlines {
|
|
67
|
-
weeks: number;
|
|
68
|
-
interest: number;
|
|
69
|
-
}
|
|
70
|
-
interface oBusinessConfig {
|
|
71
|
-
adminVersion: string;
|
|
72
|
-
mobileVersion: string;
|
|
73
|
-
mobileVersionPrev: string;
|
|
74
|
-
apiVersion: string;
|
|
75
|
-
deadlines: oBusinessDeadlines[];
|
|
76
|
-
downloadsClient: boolean;
|
|
77
|
-
passportPaymentReference: boolean;
|
|
78
|
-
conektaPaymentReference: boolean;
|
|
79
|
-
conektaPaymentLink: boolean;
|
|
80
|
-
dynamicPaymentReference: boolean;
|
|
81
|
-
apkUrl: string;
|
|
82
|
-
version: string;
|
|
83
|
-
}
|
|
84
|
-
interface oTmpBusinessConfig {
|
|
85
|
-
name?: string;
|
|
86
|
-
email?: string;
|
|
87
|
-
desc?: string;
|
|
88
|
-
street?: string;
|
|
89
|
-
neighbor?: string;
|
|
90
|
-
cp?: string;
|
|
91
|
-
ext?: string;
|
|
92
|
-
int?: string;
|
|
93
|
-
city?: string;
|
|
94
|
-
state?: string;
|
|
95
|
-
phones?: string[];
|
|
96
|
-
mondayOpen?: string | number;
|
|
97
|
-
mondayClose?: string;
|
|
98
|
-
tuesdayOpen?: string;
|
|
99
|
-
tuesdayClose?: string;
|
|
100
|
-
wednesdayOpen?: string;
|
|
101
|
-
wednesdayClose?: string;
|
|
102
|
-
thursdayOpen?: string;
|
|
103
|
-
thursdayClose?: string;
|
|
104
|
-
fridayOpen?: string;
|
|
105
|
-
fridayClose?: string;
|
|
106
|
-
saturdayOpen?: string;
|
|
107
|
-
saturdayClose?: string;
|
|
108
|
-
sundayOpen?: string;
|
|
109
|
-
sundayClose?: string;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
declare enum eConektaRes {
|
|
113
|
-
CUSTOMER_CREATED = "customer.created",
|
|
114
|
-
ORDER_PENDING_PAYMENT = "order.pending_payment",
|
|
115
|
-
ORDER_CREATED = "order.created",
|
|
116
|
-
CHARGE_CREATED = "charge.created",
|
|
117
|
-
ORDER_PAID = "order.paid",
|
|
118
|
-
CHARGE_PAID = "charge.paid"
|
|
119
|
-
}
|
|
120
|
-
declare enum eConektaOrderStatus {
|
|
121
|
-
expired = "expired",
|
|
122
|
-
paid = "paid",
|
|
123
|
-
pending_payment = "pending_payment"
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
interface oConektaResObjChargePaid {
|
|
127
|
-
id: string;
|
|
128
|
-
livemode: boolean;
|
|
129
|
-
created_at: number;
|
|
130
|
-
currency: string;
|
|
131
|
-
payment_method: any;
|
|
132
|
-
object: string;
|
|
133
|
-
description: string;
|
|
134
|
-
status: string;
|
|
135
|
-
amount: number;
|
|
136
|
-
paid_at: number;
|
|
137
|
-
fee: number;
|
|
138
|
-
customer_id: string;
|
|
139
|
-
order_id: string;
|
|
140
|
-
}
|
|
141
|
-
interface oConektaChannel {
|
|
142
|
-
segment: string;
|
|
143
|
-
checkout_request_id: string;
|
|
144
|
-
checkout_request_type: string;
|
|
145
|
-
id: string;
|
|
146
|
-
}
|
|
147
|
-
interface oConektaCheckout {
|
|
148
|
-
id: string;
|
|
149
|
-
name: string;
|
|
150
|
-
livemode: boolean;
|
|
151
|
-
emails_sent: number;
|
|
152
|
-
success_url: string;
|
|
153
|
-
failure_url: string;
|
|
154
|
-
payments_limit_count: number | null;
|
|
155
|
-
paid_payments_count: number;
|
|
156
|
-
status: string;
|
|
157
|
-
type: string;
|
|
158
|
-
recurrent: boolean;
|
|
159
|
-
starts_at: number;
|
|
160
|
-
expires_at: number;
|
|
161
|
-
allowed_payment_methods: string[];
|
|
162
|
-
needs_shipping_contact: boolean;
|
|
163
|
-
redirection_time: number | null;
|
|
164
|
-
metadata: object;
|
|
165
|
-
can_not_expire: boolean;
|
|
166
|
-
object: string;
|
|
167
|
-
is_redirect_on_failure: boolean;
|
|
168
|
-
slug: string;
|
|
169
|
-
url: string;
|
|
170
|
-
}
|
|
171
|
-
interface oConektaLineItem {
|
|
172
|
-
name: string;
|
|
173
|
-
description: string | null;
|
|
174
|
-
unit_price: number;
|
|
175
|
-
quantity: number;
|
|
176
|
-
sku: string | null;
|
|
177
|
-
tags: string[] | null;
|
|
178
|
-
brand: string | null;
|
|
179
|
-
type: string | null;
|
|
180
|
-
object: string;
|
|
181
|
-
id: string;
|
|
182
|
-
parent_id: string;
|
|
183
|
-
metadata: object;
|
|
184
|
-
antifraud_info: object;
|
|
185
|
-
}
|
|
186
|
-
interface oConektaLineItems {
|
|
187
|
-
object: string;
|
|
188
|
-
has_more: boolean;
|
|
189
|
-
total: number;
|
|
190
|
-
data: oConektaLineItem[];
|
|
191
|
-
}
|
|
192
|
-
interface oConektaCharges {
|
|
193
|
-
object: string;
|
|
194
|
-
has_more: boolean;
|
|
195
|
-
total: number;
|
|
196
|
-
data: oConektaChargeData[];
|
|
197
|
-
}
|
|
198
|
-
interface oConektaPaymentMethod {
|
|
199
|
-
service_name: string;
|
|
200
|
-
barcode_url: string;
|
|
201
|
-
store: string;
|
|
202
|
-
auth_code: number;
|
|
203
|
-
object: string;
|
|
204
|
-
type: string;
|
|
205
|
-
expires_at: number;
|
|
206
|
-
store_name: string;
|
|
207
|
-
reference: string;
|
|
208
|
-
cashier_id: string;
|
|
209
|
-
}
|
|
210
|
-
interface oConektaChargeData {
|
|
211
|
-
id: string;
|
|
212
|
-
livemode: boolean;
|
|
213
|
-
created_at: number;
|
|
214
|
-
currency: string;
|
|
215
|
-
failure_code: string | null;
|
|
216
|
-
failure_message: string | null;
|
|
217
|
-
channel: oConektaChannel;
|
|
218
|
-
payment_method: oConektaPaymentMethod;
|
|
219
|
-
object: string;
|
|
220
|
-
device_fingerprint: string;
|
|
221
|
-
description: string;
|
|
222
|
-
is_refundable: boolean;
|
|
223
|
-
reference_id: string | null;
|
|
224
|
-
status: string;
|
|
225
|
-
amount: number;
|
|
226
|
-
paid_at: number;
|
|
227
|
-
customer_id: string;
|
|
228
|
-
order_id: string;
|
|
229
|
-
is_button_premia: boolean;
|
|
230
|
-
refunds: string | null;
|
|
231
|
-
}
|
|
232
|
-
interface oConektaResObjOrderPaid {
|
|
233
|
-
livemode: boolean;
|
|
234
|
-
amount: number;
|
|
235
|
-
currency: string;
|
|
236
|
-
payment_status: string;
|
|
237
|
-
amount_refunded: number;
|
|
238
|
-
customer_info: oConektaCustomerInfo;
|
|
239
|
-
object: string;
|
|
240
|
-
id: string;
|
|
241
|
-
metadata: any;
|
|
242
|
-
is_refundable: boolean;
|
|
243
|
-
created_at: number;
|
|
244
|
-
updated_at: number;
|
|
245
|
-
line_items: any;
|
|
246
|
-
charges: any;
|
|
247
|
-
}
|
|
248
|
-
interface oConektaCustomerInfo {
|
|
249
|
-
email: string;
|
|
250
|
-
phone: string | null;
|
|
251
|
-
name: string;
|
|
252
|
-
corporate: boolean;
|
|
253
|
-
customer_id: string;
|
|
254
|
-
object: string;
|
|
255
|
-
customer_custom_reference: string | null;
|
|
256
|
-
}
|
|
257
|
-
interface oConektaCustomerInfo {
|
|
258
|
-
email: string;
|
|
259
|
-
phone: string | null;
|
|
260
|
-
name: string;
|
|
261
|
-
corporate: boolean;
|
|
262
|
-
customer_id: string;
|
|
263
|
-
object: string;
|
|
264
|
-
customer_custom_reference: string | null;
|
|
265
|
-
}
|
|
266
|
-
interface oConektaOrder {
|
|
267
|
-
livemode: boolean;
|
|
268
|
-
amount: number;
|
|
269
|
-
currency: string;
|
|
270
|
-
payment_status: string;
|
|
271
|
-
amount_refunded: number;
|
|
272
|
-
customer_info: oConektaCustomerInfo;
|
|
273
|
-
shipping_contact: string | null;
|
|
274
|
-
channel: oConektaChannel;
|
|
275
|
-
fiscal_entity: string | null;
|
|
276
|
-
object: string;
|
|
277
|
-
id: string;
|
|
278
|
-
metadata: object;
|
|
279
|
-
is_refundable: boolean;
|
|
280
|
-
created_at: number;
|
|
281
|
-
updated_at: number;
|
|
282
|
-
checkout: oConektaCheckout;
|
|
283
|
-
is_button_premia: boolean;
|
|
284
|
-
line_items: oConektaLineItems;
|
|
285
|
-
shipping_lines: string | null;
|
|
286
|
-
tax_lines: string | null;
|
|
287
|
-
discount_lines: string | null;
|
|
288
|
-
charges: oConektaCharges;
|
|
289
|
-
}
|
|
290
|
-
interface oConektaOrdersResponse {
|
|
291
|
-
next_page_url: string | null;
|
|
292
|
-
previous_page_url: string | null;
|
|
293
|
-
has_more: boolean;
|
|
294
|
-
object: string;
|
|
295
|
-
data: oConektaOrder[];
|
|
296
|
-
}
|
|
297
|
-
/******************************************************* Order Create */
|
|
298
|
-
interface oConektaNewOrderCustomerInfo {
|
|
299
|
-
customer_id: string;
|
|
300
|
-
}
|
|
301
|
-
interface oConektaNewOrderPymMethod {
|
|
302
|
-
expires_at: number;
|
|
303
|
-
type: string;
|
|
304
|
-
}
|
|
305
|
-
interface oConektaNewOrderCharge {
|
|
306
|
-
payment_method: oConektaNewOrderPymMethod;
|
|
307
|
-
amount: number;
|
|
308
|
-
}
|
|
309
|
-
interface oConektaNewOrderAntifraudInfo {
|
|
310
|
-
newKey: string;
|
|
311
|
-
}
|
|
312
|
-
interface oConektaNewOrderLineItem {
|
|
313
|
-
antifraud_info: oConektaNewOrderAntifraudInfo;
|
|
314
|
-
name: string;
|
|
315
|
-
quantity: number;
|
|
316
|
-
unit_price: number;
|
|
317
|
-
}
|
|
318
|
-
interface oConektaOrderCreate {
|
|
319
|
-
customer_info: oConektaNewOrderCustomerInfo;
|
|
320
|
-
charges: oConektaNewOrderCharge[];
|
|
321
|
-
currency: string;
|
|
322
|
-
line_items: oConektaNewOrderLineItem[];
|
|
323
|
-
}
|
|
324
|
-
interface oConektaNewOrder {
|
|
325
|
-
data: oConektaOrderCreate;
|
|
326
|
-
date?: number;
|
|
327
|
-
id: string;
|
|
328
|
-
}
|
|
329
|
-
interface oConektaResPrevAttr {
|
|
330
|
-
status: string;
|
|
331
|
-
}
|
|
332
|
-
interface oConektaResData {
|
|
333
|
-
object: oConektaResObjChargePaid | oConektaResObjOrderPaid;
|
|
334
|
-
previous_attributes: oConektaResPrevAttr;
|
|
335
|
-
}
|
|
336
|
-
interface iConektaResObjChargePaidMethod {
|
|
337
|
-
barcode_url: string;
|
|
338
|
-
expires_at: number;
|
|
339
|
-
object: string;
|
|
340
|
-
reference: string;
|
|
341
|
-
service_name: string;
|
|
342
|
-
store: string;
|
|
343
|
-
type: string;
|
|
344
|
-
}
|
|
345
|
-
interface iConektaResObjChargePaid {
|
|
346
|
-
id: string;
|
|
347
|
-
livemode: boolean;
|
|
348
|
-
created_at: number;
|
|
349
|
-
currency: string;
|
|
350
|
-
payment_method: iConektaResObjChargePaidMethod;
|
|
351
|
-
object: string;
|
|
352
|
-
description: string;
|
|
353
|
-
status: string;
|
|
354
|
-
amount: number;
|
|
355
|
-
paid_at: number;
|
|
356
|
-
fee: number;
|
|
357
|
-
customer_id: string;
|
|
358
|
-
order_id: string;
|
|
359
|
-
}
|
|
360
|
-
interface iConektaResPrevAttr {
|
|
361
|
-
status: string;
|
|
362
|
-
}
|
|
363
|
-
interface iConektaResData {
|
|
364
|
-
object: iConektaResObjChargePaid;
|
|
365
|
-
previous_attributes: iConektaResPrevAttr;
|
|
366
|
-
}
|
|
367
|
-
interface oConektaRes {
|
|
368
|
-
client_id?: string;
|
|
369
|
-
data: iConektaResData;
|
|
370
|
-
livemode: false;
|
|
371
|
-
webhook_status: string;
|
|
372
|
-
webhook_logs: any[];
|
|
373
|
-
id: string;
|
|
374
|
-
object: string;
|
|
375
|
-
type: eConektaRes;
|
|
376
|
-
created_at: number;
|
|
377
|
-
}
|
|
378
|
-
/******************************************************* New reference res */
|
|
379
|
-
interface iConektaSources {
|
|
380
|
-
type: string;
|
|
381
|
-
expires_at?: number;
|
|
382
|
-
}
|
|
383
|
-
interface iOxxorecurrentSourcesData {
|
|
384
|
-
id: string;
|
|
385
|
-
object: string;
|
|
386
|
-
type: string;
|
|
387
|
-
provider: string;
|
|
388
|
-
reference: string;
|
|
389
|
-
barcode: string;
|
|
390
|
-
barcode_url: string;
|
|
391
|
-
expires_at: number;
|
|
392
|
-
created_at: number;
|
|
393
|
-
parent_id: string;
|
|
394
|
-
}
|
|
395
|
-
interface iOxxoRecurrentSources {
|
|
396
|
-
object: string;
|
|
397
|
-
has_more: boolean;
|
|
398
|
-
total: number;
|
|
399
|
-
data: iOxxorecurrentSourcesData[];
|
|
400
|
-
}
|
|
401
|
-
interface iConektaRecurrent {
|
|
402
|
-
corporate: boolean;
|
|
403
|
-
created_at: number;
|
|
404
|
-
customer_reference?: string;
|
|
405
|
-
email: string;
|
|
406
|
-
id: string;
|
|
407
|
-
livemode: boolean;
|
|
408
|
-
name: string;
|
|
409
|
-
phone: string;
|
|
410
|
-
object: string;
|
|
411
|
-
custom_id: string;
|
|
412
|
-
payment_sources: iOxxoRecurrentSources;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
interface oDevice {
|
|
416
|
-
device: string;
|
|
417
|
-
id?: string;
|
|
418
|
-
IMEI: string;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
interface oFinancialProgress {
|
|
422
|
-
id: string;
|
|
423
|
-
amount: number;
|
|
424
|
-
date: number;
|
|
425
|
-
}
|
|
426
|
-
interface oFinancial {
|
|
427
|
-
total: number;
|
|
428
|
-
initial: number;
|
|
429
|
-
deadlines: oBusinessDeadlines;
|
|
430
|
-
initDate?: number;
|
|
431
|
-
finalDate?: number;
|
|
432
|
-
weeklyPayment: number;
|
|
433
|
-
dayCut?: number;
|
|
434
|
-
finalPayment?: number;
|
|
435
|
-
progress?: oFinancialProgress[];
|
|
436
|
-
pendingOf: string[];
|
|
437
|
-
interest: number;
|
|
438
|
-
provider: string;
|
|
439
|
-
financed: number;
|
|
440
|
-
nextPayment: number;
|
|
441
|
-
amount_commission_opening?: number;
|
|
442
|
-
principal_disbursed?: number;
|
|
443
|
-
expected_disbursed?: number;
|
|
444
|
-
credit_type?: string;
|
|
445
|
-
interest_rate?: number;
|
|
446
|
-
commission_opening?: number;
|
|
447
|
-
interest_arrears?: number;
|
|
448
|
-
clabe?: string;
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
interface iContract {
|
|
452
|
-
createContract(data: any, monthlyPay: number, finalPayment: number): Promise<void>;
|
|
453
|
-
editContract(): void;
|
|
454
|
-
verifyClient(clientCurp: string): Promise<void>;
|
|
455
|
-
dataClient(client: string): void;
|
|
456
|
-
referenceAdded(reference: number): Promise<void>;
|
|
457
|
-
}
|
|
458
|
-
interface oContract {
|
|
459
|
-
id: string;
|
|
460
|
-
dynamicAccount?: number;
|
|
461
|
-
client: string;
|
|
462
|
-
address: oAddress;
|
|
463
|
-
device: oDevice;
|
|
464
|
-
financial: oFinancial;
|
|
465
|
-
createdAt?: number;
|
|
466
|
-
lastPayment?: number;
|
|
467
|
-
by: string;
|
|
468
|
-
active: boolean;
|
|
469
|
-
photo?: string;
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
interface oClientPayments$1 {
|
|
473
|
-
date: number;
|
|
474
|
-
dayPayment: number;
|
|
475
|
-
amount: number;
|
|
476
|
-
id: string;
|
|
477
|
-
}
|
|
478
|
-
interface oUserReference$1 {
|
|
479
|
-
name: string;
|
|
480
|
-
phone: string;
|
|
481
|
-
relationship: string;
|
|
482
|
-
}
|
|
483
|
-
interface oClientReferences$1 {
|
|
484
|
-
date?: number;
|
|
485
|
-
amount?: number;
|
|
486
|
-
id: string;
|
|
487
|
-
url?: string;
|
|
488
|
-
}
|
|
489
|
-
interface oClient {
|
|
490
|
-
id: string;
|
|
491
|
-
name: string;
|
|
492
|
-
username: string;
|
|
493
|
-
password?: string;
|
|
494
|
-
email: string;
|
|
495
|
-
phone: string;
|
|
496
|
-
curp: string;
|
|
497
|
-
contract?: string;
|
|
498
|
-
createdAt?: number;
|
|
499
|
-
lastLogin?: number;
|
|
500
|
-
contract_temporary?: string;
|
|
501
|
-
exists?: boolean;
|
|
502
|
-
conekta_id?: string;
|
|
503
|
-
dynamic_id?: number | string;
|
|
504
|
-
dynamic_account?: string | number;
|
|
505
|
-
dynamic_ref?: string;
|
|
506
|
-
passport_id?: string;
|
|
507
|
-
payments?: oClientPayments$1[];
|
|
508
|
-
reference?: string;
|
|
509
|
-
references?: oClientReferences$1[];
|
|
510
|
-
token?: string;
|
|
511
|
-
userReferences: oUserReference$1[];
|
|
512
|
-
contractUrl?: string;
|
|
513
|
-
status: string;
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
declare enum eReferenceStatusRav {
|
|
517
|
-
"Disponible" = "Disponible",
|
|
518
|
-
"Active" = "Activo con credito vigente",
|
|
519
|
-
"ActiveEnded" = "Activo sin credito vigente",
|
|
520
|
-
"Registered" = "Registrado",
|
|
521
|
-
"NonRegistered" = "No registrado",
|
|
522
|
-
"NonVerified" = "No verificado",
|
|
523
|
-
"Rejected" = "Rechazado",
|
|
524
|
-
"Pending" = "Pendiente"
|
|
525
|
-
}
|
|
526
|
-
declare enum eAccountDynamicStatus {
|
|
527
|
-
"OK" = "Con cuenta activa",
|
|
528
|
-
"NOK" = "Sin cuenta activa"
|
|
529
|
-
}
|
|
530
|
-
declare enum eClientDynamicStatus {
|
|
531
|
-
"Active" = "Active",
|
|
532
|
-
"Pending" = "Pending",
|
|
533
|
-
"Accepted" = "Accepted",
|
|
534
|
-
"Rejected" = "Rejected",
|
|
535
|
-
"approved" = "Aprobado"
|
|
536
|
-
}
|
|
537
|
-
declare const cClientDynamicStatus: {
|
|
538
|
-
Active: {
|
|
539
|
-
value: string;
|
|
540
|
-
viewValue: string;
|
|
541
|
-
};
|
|
542
|
-
Pending: {
|
|
543
|
-
value: string;
|
|
544
|
-
viewValue: string;
|
|
545
|
-
};
|
|
546
|
-
Accepted: {
|
|
547
|
-
value: string;
|
|
548
|
-
viewValue: string;
|
|
549
|
-
};
|
|
550
|
-
Rejected: {
|
|
551
|
-
value: string;
|
|
552
|
-
viewValue: string;
|
|
553
|
-
};
|
|
554
|
-
Idle: {
|
|
555
|
-
value: string;
|
|
556
|
-
viewValue: string;
|
|
557
|
-
};
|
|
558
|
-
};
|
|
559
|
-
declare enum eContractSteps {
|
|
560
|
-
"idle" = "idle",
|
|
561
|
-
"general" = "General",
|
|
562
|
-
"address" = "Address",
|
|
563
|
-
"device" = "Device",
|
|
564
|
-
"financial" = "Financial",
|
|
565
|
-
"app" = "App"
|
|
566
|
-
}
|
|
567
|
-
type partialIDCData = Pick<IDCClient, "pii" | "client_type">;
|
|
568
|
-
interface IDCCharge {
|
|
569
|
-
barcode_url: string;
|
|
570
|
-
currency: string;
|
|
571
|
-
expires_at: number;
|
|
572
|
-
object: string;
|
|
573
|
-
quantity: number;
|
|
574
|
-
reference: string;
|
|
575
|
-
service_name: string;
|
|
576
|
-
store_name: string;
|
|
577
|
-
type: string;
|
|
578
|
-
unit_price: number;
|
|
579
|
-
}
|
|
580
|
-
interface IDCGeneratedReference {
|
|
581
|
-
account: number;
|
|
582
|
-
active: number;
|
|
583
|
-
amount: number;
|
|
584
|
-
channel: string;
|
|
585
|
-
charge: IDCCharge;
|
|
586
|
-
company: number;
|
|
587
|
-
config?: any;
|
|
588
|
-
id: string;
|
|
589
|
-
operation: number;
|
|
590
|
-
}
|
|
591
|
-
declare const cIDCDataPii: IDCDataPii;
|
|
592
|
-
/**
|
|
593
|
-
* Base customer for create customer with DynamiCore provider
|
|
594
|
-
* */
|
|
595
|
-
declare const cIDCCustomer: partialIDCData;
|
|
596
|
-
interface IDCDataPii {
|
|
597
|
-
icc: string;
|
|
598
|
-
rfc: string;
|
|
599
|
-
city: string;
|
|
600
|
-
curp: string;
|
|
601
|
-
sex: string;
|
|
602
|
-
days: string;
|
|
603
|
-
step: string;
|
|
604
|
-
ticket: string;
|
|
605
|
-
evidence: string;
|
|
606
|
-
proof_of_address: string;
|
|
607
|
-
score_interno: string;
|
|
608
|
-
imei: string;
|
|
609
|
-
name: string;
|
|
610
|
-
term: string;
|
|
611
|
-
brand: string;
|
|
612
|
-
email: string;
|
|
613
|
-
model: string;
|
|
614
|
-
phone: string;
|
|
615
|
-
score: any;
|
|
616
|
-
state: string;
|
|
617
|
-
amount: string;
|
|
618
|
-
colony: string;
|
|
619
|
-
estado: any;
|
|
620
|
-
gender: string;
|
|
621
|
-
period: string;
|
|
622
|
-
street: string;
|
|
623
|
-
num_ext: string;
|
|
624
|
-
num_int: string;
|
|
625
|
-
zipcode: string;
|
|
626
|
-
financed: string;
|
|
627
|
-
house_is: string;
|
|
628
|
-
lastname: string;
|
|
629
|
-
type_job: string;
|
|
630
|
-
birthdate: string;
|
|
631
|
-
birthstate: string;
|
|
632
|
-
dicio_data: string;
|
|
633
|
-
dicio_step: any;
|
|
634
|
-
secondname: string;
|
|
635
|
-
nationality: string;
|
|
636
|
-
seller_name: string;
|
|
637
|
-
down_payment: string;
|
|
638
|
-
municipality: string;
|
|
639
|
-
score_no_hit: string;
|
|
640
|
-
study_degree: string;
|
|
641
|
-
branch_office: string;
|
|
642
|
-
identity_data: any;
|
|
643
|
-
interest_rate: string;
|
|
644
|
-
marital_status: string;
|
|
645
|
-
monthly_income: string;
|
|
646
|
-
motherlastname: string;
|
|
647
|
-
score_rcc_fico: string;
|
|
648
|
-
identity_selfie: any;
|
|
649
|
-
amount_by_period: string;
|
|
650
|
-
identity_id_back: any;
|
|
651
|
-
identity_id_front: any;
|
|
652
|
-
economic_dependents: string;
|
|
653
|
-
identity_id_request: any;
|
|
654
|
-
identity_verification: any;
|
|
655
|
-
is_address_ine_currently_live: string;
|
|
656
|
-
fotografia_del_cliente_con_el_equipo?: string;
|
|
657
|
-
}
|
|
658
|
-
interface IDCAccountProps {
|
|
659
|
-
clabe: string | number;
|
|
660
|
-
pagaqui: string | number;
|
|
661
|
-
start_date: string;
|
|
662
|
-
expected_disbursed: number;
|
|
663
|
-
reference_pagaaqui: string;
|
|
664
|
-
principal_disbursed: number;
|
|
665
|
-
amount_commission_opening: number;
|
|
666
|
-
seller_name?: string;
|
|
667
|
-
}
|
|
668
|
-
interface IDCAccountConfig {
|
|
669
|
-
contract: string;
|
|
670
|
-
credit_type: string;
|
|
671
|
-
periodicity: string;
|
|
672
|
-
installments: number;
|
|
673
|
-
interest_base: string;
|
|
674
|
-
interest_rate: number;
|
|
675
|
-
interest_arrears: number;
|
|
676
|
-
commission_opening: number;
|
|
677
|
-
financed_amount?: number;
|
|
678
|
-
}
|
|
679
|
-
interface IDCAccount {
|
|
680
|
-
id: number;
|
|
681
|
-
group: number;
|
|
682
|
-
company: number;
|
|
683
|
-
client: number;
|
|
684
|
-
created_at: string;
|
|
685
|
-
currency: string | number;
|
|
686
|
-
status: string;
|
|
687
|
-
properties: IDCAccountProps;
|
|
688
|
-
product: number;
|
|
689
|
-
enabled: string | number;
|
|
690
|
-
config: IDCAccountConfig;
|
|
691
|
-
amount: number;
|
|
692
|
-
type: string;
|
|
693
|
-
identifier: string;
|
|
694
|
-
start_at: string;
|
|
695
|
-
el: any;
|
|
696
|
-
client_id: string | number;
|
|
697
|
-
}
|
|
698
|
-
interface IDCTxnRowExtras {
|
|
699
|
-
reference: string;
|
|
700
|
-
transaction: string;
|
|
701
|
-
}
|
|
702
|
-
interface IDCTxnRow {
|
|
703
|
-
id: string;
|
|
704
|
-
created_at: string;
|
|
705
|
-
seq: number;
|
|
706
|
-
created: string;
|
|
707
|
-
last4: string;
|
|
708
|
-
response: any;
|
|
709
|
-
transaction_id: string;
|
|
710
|
-
contrapart: string;
|
|
711
|
-
reference: string;
|
|
712
|
-
external_reference: any;
|
|
713
|
-
extras: IDCTxnRowExtras;
|
|
714
|
-
name: string;
|
|
715
|
-
debit: number;
|
|
716
|
-
credit: number;
|
|
717
|
-
amount: number;
|
|
718
|
-
}
|
|
719
|
-
interface IDCTxnHeader {
|
|
720
|
-
name: string;
|
|
721
|
-
type: string;
|
|
722
|
-
label?: string;
|
|
723
|
-
money?: string;
|
|
724
|
-
format?: string;
|
|
725
|
-
}
|
|
726
|
-
interface IDCTxn {
|
|
727
|
-
rows: IDCTxnRow[];
|
|
728
|
-
headers: IDCTxnHeader[];
|
|
729
|
-
}
|
|
730
|
-
interface IDCMntryCycle {
|
|
731
|
-
date: string;
|
|
732
|
-
late: number;
|
|
733
|
-
paid: number;
|
|
734
|
-
past: string | boolean;
|
|
735
|
-
cycle: string | number;
|
|
736
|
-
amount: number;
|
|
737
|
-
detail: any;
|
|
738
|
-
status: string;
|
|
739
|
-
}
|
|
740
|
-
interface IDCMntryPymtAllPaidTotal {
|
|
741
|
-
amount: string;
|
|
742
|
-
cycles: string;
|
|
743
|
-
}
|
|
744
|
-
interface IDCMntryPymtAll {
|
|
745
|
-
late: number;
|
|
746
|
-
total: number;
|
|
747
|
-
va_cp: number;
|
|
748
|
-
actual: number;
|
|
749
|
-
cycles: IDCMntryCycle[];
|
|
750
|
-
vencido: number;
|
|
751
|
-
paid_total: IDCMntryPymtAllPaidTotal;
|
|
752
|
-
total_amount: number;
|
|
753
|
-
}
|
|
754
|
-
interface IDCMntryPymtDue {
|
|
755
|
-
total: number;
|
|
756
|
-
cycles: IDCMntryCycle[];
|
|
757
|
-
new_cycle: IDCMntryCycle;
|
|
758
|
-
old_cycle: IDCMntryCycle;
|
|
759
|
-
total_amount: number;
|
|
760
|
-
}
|
|
761
|
-
interface IDCMntryPymtOpen extends IDCMntryPymtDue {
|
|
762
|
-
}
|
|
763
|
-
interface IDCMntryPymtPaid {
|
|
764
|
-
total: number;
|
|
765
|
-
cycles: IDCMntryCycle[] | any[];
|
|
766
|
-
new_cycle: any;
|
|
767
|
-
old_cycle: any;
|
|
768
|
-
total_amount: number;
|
|
769
|
-
}
|
|
770
|
-
interface IDCMntryPymtDueTax {
|
|
771
|
-
expected: number;
|
|
772
|
-
}
|
|
773
|
-
interface IDCMntryPymtPymt {
|
|
774
|
-
paid: number;
|
|
775
|
-
expected: number;
|
|
776
|
-
}
|
|
777
|
-
interface IDCMntryPymtCal {
|
|
778
|
-
due: IDCMntryPymtDue;
|
|
779
|
-
date: string;
|
|
780
|
-
past: string;
|
|
781
|
-
cycle: number;
|
|
782
|
-
balance: number;
|
|
783
|
-
due_tax: IDCMntryPymtDueTax;
|
|
784
|
-
payment: IDCMntryPymtPymt;
|
|
785
|
-
interest: IDCMntryPymtPymt;
|
|
786
|
-
principal: IDCMntryPymtPymt;
|
|
787
|
-
payment_tax: IDCMntryPymtPymt;
|
|
788
|
-
interest_tax: IDCMntryPymtPymt;
|
|
789
|
-
final_balance: number;
|
|
790
|
-
payment_total: IDCMntryPymtPymt;
|
|
791
|
-
principal_tax: IDCMntryPymtPymt;
|
|
792
|
-
}
|
|
793
|
-
interface IDCMntryPymt {
|
|
794
|
-
all: IDCMntryPymtAll;
|
|
795
|
-
due: IDCMntryPymtDue;
|
|
796
|
-
open: IDCMntryPymtOpen;
|
|
797
|
-
paid: IDCMntryPymtPaid;
|
|
798
|
-
payment_calendar: IDCMntryPymtCal[];
|
|
799
|
-
}
|
|
800
|
-
interface IDCClient {
|
|
801
|
-
id: number;
|
|
802
|
-
company: number;
|
|
803
|
-
status: string;
|
|
804
|
-
external_id: string;
|
|
805
|
-
pii: IDCDataPii;
|
|
806
|
-
client_type: number;
|
|
807
|
-
created_at: string;
|
|
808
|
-
pd: number;
|
|
809
|
-
username: string;
|
|
810
|
-
group: number;
|
|
811
|
-
}
|
|
812
|
-
interface IDCMsg {
|
|
813
|
-
code: number;
|
|
814
|
-
total: number;
|
|
815
|
-
data: IDCClient[] | IDCAccount[] | IDCTxn[] | IDCTxn | IDCMntryPymt | IDCCredit[] | IDCTransaction[];
|
|
816
|
-
transaction?: string;
|
|
817
|
-
}
|
|
818
|
-
interface IDynamiCore {
|
|
819
|
-
status: string;
|
|
820
|
-
message: IDCMsg;
|
|
821
|
-
}
|
|
822
|
-
/**
|
|
823
|
-
* Interfaces for request (base)
|
|
824
|
-
* */
|
|
825
|
-
interface IDCClientObjFilter {
|
|
826
|
-
name: string;
|
|
827
|
-
filter: string[] | number[];
|
|
828
|
-
type: string;
|
|
829
|
-
sort: string;
|
|
830
|
-
}
|
|
831
|
-
interface IDCClientQuery {
|
|
832
|
-
filters: IDCClientObjFilter[];
|
|
833
|
-
}
|
|
834
|
-
interface IDCClientPiiFilter {
|
|
835
|
-
limit: number;
|
|
836
|
-
page: number;
|
|
837
|
-
query: IDCClientQuery;
|
|
838
|
-
}
|
|
839
|
-
interface IDCOxxoRefItem {
|
|
840
|
-
name: string;
|
|
841
|
-
unit_price: number;
|
|
842
|
-
quantity: number;
|
|
843
|
-
}
|
|
844
|
-
interface IDCOxxoRefPymtMth {
|
|
845
|
-
type: string;
|
|
846
|
-
}
|
|
847
|
-
interface IDCOxxoRef {
|
|
848
|
-
account: number;
|
|
849
|
-
operation: number;
|
|
850
|
-
customer_info: IDCRefCustInfo;
|
|
851
|
-
items: IDCOxxoRefItem;
|
|
852
|
-
payment_method: IDCOxxoRefPymtMth;
|
|
853
|
-
}
|
|
854
|
-
/**
|
|
855
|
-
* DynamiCore Reference Interface
|
|
856
|
-
* */
|
|
857
|
-
interface IDCRefCustInfo {
|
|
858
|
-
name: string;
|
|
859
|
-
email: string;
|
|
860
|
-
phone: string | number;
|
|
861
|
-
}
|
|
862
|
-
/**
|
|
863
|
-
* DynamiCore Reference
|
|
864
|
-
* */
|
|
865
|
-
interface IDCRefCustInfo {
|
|
866
|
-
name: string;
|
|
867
|
-
email: string;
|
|
868
|
-
phone: string | number;
|
|
869
|
-
}
|
|
870
|
-
interface IDCRefItems {
|
|
871
|
-
name: string;
|
|
872
|
-
unit_price: number;
|
|
873
|
-
quantity: number;
|
|
874
|
-
}
|
|
875
|
-
interface IDCRefPymtMethod {
|
|
876
|
-
type: string;
|
|
877
|
-
}
|
|
878
|
-
interface IDCNewReference {
|
|
879
|
-
id: string;
|
|
880
|
-
data: IDCReference;
|
|
881
|
-
date?: number;
|
|
882
|
-
}
|
|
883
|
-
interface IDCReference {
|
|
884
|
-
account: number;
|
|
885
|
-
operation: number;
|
|
886
|
-
customer_info: IDCRefCustInfo;
|
|
887
|
-
items: IDCRefItems;
|
|
888
|
-
payment_method: IDCRefPymtMethod;
|
|
889
|
-
}
|
|
890
|
-
/**
|
|
891
|
-
* Interfaces to Credits
|
|
892
|
-
* */
|
|
893
|
-
interface IDCCreditProperties {
|
|
894
|
-
start_date: string;
|
|
895
|
-
principal_disbursed: number;
|
|
896
|
-
expected_disbursed: number;
|
|
897
|
-
amount_commission_opening: number;
|
|
898
|
-
}
|
|
899
|
-
interface IDCCreditConfig {
|
|
900
|
-
contract: string;
|
|
901
|
-
credit_type: string;
|
|
902
|
-
interest_rate: number;
|
|
903
|
-
installments: number;
|
|
904
|
-
periodicity: string;
|
|
905
|
-
interest_base: string;
|
|
906
|
-
commission_opening: number;
|
|
907
|
-
financed_amount: number;
|
|
908
|
-
interest_arrears: number;
|
|
909
|
-
}
|
|
910
|
-
interface IDCCredit {
|
|
911
|
-
id: number;
|
|
912
|
-
group: number;
|
|
913
|
-
company: number;
|
|
914
|
-
client: number;
|
|
915
|
-
created_at: string;
|
|
916
|
-
currency: string;
|
|
917
|
-
status: string;
|
|
918
|
-
properties: IDCCreditProperties;
|
|
919
|
-
product: number;
|
|
920
|
-
enabled: string;
|
|
921
|
-
config: IDCCreditConfig;
|
|
922
|
-
amount: number;
|
|
923
|
-
type: string;
|
|
924
|
-
identifier: null | string;
|
|
925
|
-
start_at: null | string;
|
|
926
|
-
}
|
|
927
|
-
/**
|
|
928
|
-
* Payments
|
|
929
|
-
* */
|
|
930
|
-
interface IDCPayment {
|
|
931
|
-
operation: number;
|
|
932
|
-
account: string;
|
|
933
|
-
date: string;
|
|
934
|
-
amount: number;
|
|
935
|
-
external_id?: string;
|
|
936
|
-
dst_account: string;
|
|
937
|
-
extras?: object;
|
|
938
|
-
reference: string;
|
|
939
|
-
}
|
|
940
|
-
declare const cIDCPayment: IDCPayment;
|
|
941
|
-
/**
|
|
942
|
-
* Transactions
|
|
943
|
-
* */
|
|
944
|
-
interface IDCTransaction {
|
|
945
|
-
data: [number, {
|
|
946
|
-
transaction: string;
|
|
947
|
-
}];
|
|
948
|
-
}
|
|
949
|
-
declare const cIDCCharge: IDCCharge;
|
|
950
|
-
declare const cIDCGeneratedReference: IDCGeneratedReference;
|
|
951
|
-
/**
|
|
952
|
-
* Common Factory Dynamic
|
|
953
|
-
* */
|
|
954
|
-
declare class FactoryDynamiCore {
|
|
955
|
-
static CreateReferenceBody(client: oClient, contract: oContract, dateTime?: number): IDCNewReference | null;
|
|
956
|
-
static CreateEmptyCustomer(): partialIDCData;
|
|
957
|
-
static CreateCustomerFromOClient(client: oClient, contract: oContract): partialIDCData;
|
|
958
|
-
static CreateDynamicCredit(client: oClient, contract: oContract, clientDynamic: IDCClient): Partial<IDCCredit> | null;
|
|
959
|
-
static CreatePayment(contract: oContract, clientDynamic: IDCAccount): IDCPayment;
|
|
960
|
-
static getNextDateTime(): string;
|
|
961
|
-
static getIsoDate(): string;
|
|
962
|
-
static FormPayment(contract: oContract, account: IDCAccount): {
|
|
963
|
-
amount: UntypedFormControl;
|
|
964
|
-
};
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
declare enum eRoles {
|
|
968
|
-
Administrator = "Administrator",
|
|
969
|
-
Seller = "Seller",
|
|
970
|
-
Consultant = "Consultant",
|
|
971
|
-
Client = "Client"
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
type tyClientContract = oClient & oContract;
|
|
975
|
-
interface oContractMetrics {
|
|
976
|
-
total: number;
|
|
977
|
-
activated: number;
|
|
978
|
-
paused: number;
|
|
979
|
-
completed: number;
|
|
980
|
-
canceled: number;
|
|
981
|
-
late: number;
|
|
982
|
-
dynamicCount: number;
|
|
983
|
-
passportCount: number;
|
|
984
|
-
conektaCount: number;
|
|
985
|
-
rateTotal: number;
|
|
986
|
-
rateActive: number;
|
|
987
|
-
ratePaused: number;
|
|
988
|
-
rateComplete: number;
|
|
989
|
-
rateCanceled: number;
|
|
990
|
-
rateLate: number;
|
|
991
|
-
}
|
|
992
|
-
interface HasUnsavedChanges {
|
|
993
|
-
hasUnsavedChanges(): boolean;
|
|
994
|
-
}
|
|
995
|
-
interface oPaymentDates {
|
|
996
|
-
week: number;
|
|
997
|
-
date: number;
|
|
998
|
-
}
|
|
999
|
-
interface iInformativeDialog {
|
|
1000
|
-
message: string;
|
|
1001
|
-
title: string;
|
|
1002
|
-
cancel: string;
|
|
1003
|
-
continue: string;
|
|
1004
|
-
}
|
|
1005
|
-
interface iSnackBarMessage {
|
|
1006
|
-
message: string;
|
|
1007
|
-
action: string;
|
|
1008
|
-
config: MatSnackBarConfig;
|
|
1009
|
-
}
|
|
1010
|
-
interface iOptionsSelect {
|
|
1011
|
-
viewValue: String;
|
|
1012
|
-
value: String;
|
|
1013
|
-
}
|
|
1014
|
-
interface iSelect {
|
|
1015
|
-
viewValue: eRoles;
|
|
1016
|
-
value: eRoles;
|
|
1017
|
-
}
|
|
1018
|
-
interface iConfigUUID {
|
|
1019
|
-
client_uuid?: string;
|
|
1020
|
-
contract_uuid: string;
|
|
1021
|
-
}
|
|
1022
|
-
interface iPaymentDelay {
|
|
1023
|
-
today: number;
|
|
1024
|
-
nextPayment: number;
|
|
1025
|
-
daysDelay: number;
|
|
1026
|
-
late: boolean;
|
|
1027
|
-
}
|
|
1028
|
-
|
|
1029
|
-
interface iContractAll {
|
|
1030
|
-
getAllLocal(): Promise<void>;
|
|
1031
|
-
getAllServer(): Promise<void>;
|
|
1032
|
-
getDynamicTransactionsManual(account: number): Promise<boolean>;
|
|
1033
|
-
createNewReferenceDynamic(client: tyClientContract): Promise<boolean>;
|
|
1034
|
-
createNewReferenceConekta(client: tyClientContract): Promise<void>;
|
|
1035
|
-
createNewReferencePassport(client: tyClientContract): Promise<void>;
|
|
1036
|
-
referenceCreated(response: boolean, provider: string): void;
|
|
1037
|
-
getColumnName(column: string): string;
|
|
1038
|
-
searchDynamicAccount(client: tyClientContract): Promise<IDCAccount | null>;
|
|
1039
|
-
updateClient(client: Partial<oClient>): Promise<boolean>;
|
|
1040
|
-
updateContract(id: string, contract: Partial<oContract>): Promise<boolean>;
|
|
1041
|
-
deleteClient(client: oClient): Promise<boolean>;
|
|
1042
|
-
deleteContract(contract: oContract): Promise<boolean>;
|
|
1043
|
-
updateClientAppAccess(client: Partial<oClient>, id: string): Promise<boolean>;
|
|
1044
|
-
calcTotal(contract: oContract): number;
|
|
1045
|
-
}
|
|
1046
|
-
|
|
1047
|
-
interface oCustomer {
|
|
1048
|
-
livemode: boolean;
|
|
1049
|
-
name: string;
|
|
1050
|
-
email: string;
|
|
1051
|
-
phone: string;
|
|
1052
|
-
id: string;
|
|
1053
|
-
object: string;
|
|
1054
|
-
created_at: number;
|
|
1055
|
-
corporate: boolean;
|
|
1056
|
-
custom_reference: string;
|
|
1057
|
-
}
|
|
1058
|
-
interface oCustomerInfo {
|
|
1059
|
-
customer_id: string;
|
|
1060
|
-
name?: string;
|
|
1061
|
-
email?: string;
|
|
1062
|
-
phone?: string;
|
|
1063
|
-
}
|
|
1064
|
-
|
|
1065
|
-
interface iAuthConfig {
|
|
1066
|
-
title: string;
|
|
1067
|
-
desc: string;
|
|
1068
|
-
data: boolean;
|
|
1069
|
-
}
|
|
1070
|
-
interface ISignIn {
|
|
1071
|
-
username: WritableSignal<string>;
|
|
1072
|
-
password: WritableSignal<string>;
|
|
1073
|
-
login(credentials: oAuth, destination: string): Promise<void>;
|
|
1074
|
-
success(): void;
|
|
1075
|
-
}
|
|
1076
|
-
interface oAuth {
|
|
1077
|
-
username: string;
|
|
1078
|
-
password: string;
|
|
1079
|
-
}
|
|
1080
|
-
interface oAuthRes {
|
|
1081
|
-
status: number;
|
|
1082
|
-
data: {};
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
interface iNewPayment {
|
|
1086
|
-
getContract(): Promise<void>;
|
|
1087
|
-
getContractApi(): Promise<oContract>;
|
|
1088
|
-
getClient(contract: oContract): Promise<void>;
|
|
1089
|
-
getClientApi(contract: oContract): Promise<oClient>;
|
|
1090
|
-
getParams(): Promise<void>;
|
|
1091
|
-
getAccount(): Promise<boolean>;
|
|
1092
|
-
createPayment(): Promise<string>;
|
|
1093
|
-
}
|
|
1094
|
-
|
|
1095
|
-
declare const cTopic = "RavCreditClients";
|
|
1096
|
-
interface oNotificationResponses {
|
|
1097
|
-
successCount: number;
|
|
1098
|
-
failureCount: number;
|
|
1099
|
-
}
|
|
1100
|
-
interface oNotification {
|
|
1101
|
-
ids?: string[];
|
|
1102
|
-
type?: string;
|
|
1103
|
-
tokens?: string[];
|
|
1104
|
-
topic?: string;
|
|
1105
|
-
notification: {
|
|
1106
|
-
title: string;
|
|
1107
|
-
body: string;
|
|
1108
|
-
};
|
|
1109
|
-
data: any;
|
|
1110
|
-
notification_id?: number;
|
|
1111
|
-
recipient?: string;
|
|
1112
|
-
responses?: oNotificationResponses;
|
|
1113
|
-
}
|
|
1114
|
-
declare const cNotification: oNotification;
|
|
1115
|
-
|
|
1116
|
-
/** *********************************************************************************/
|
|
1117
|
-
interface iPassportAdditional {
|
|
1118
|
-
client?: string;
|
|
1119
|
-
clientID?: string;
|
|
1120
|
-
credit?: string;
|
|
1121
|
-
}
|
|
1122
|
-
interface iPassportReferenceData {
|
|
1123
|
-
name: string;
|
|
1124
|
-
email: string;
|
|
1125
|
-
amount: number;
|
|
1126
|
-
expirationDate: string;
|
|
1127
|
-
additional: iPassportAdditional;
|
|
1128
|
-
}
|
|
1129
|
-
/** Passport request interface base */
|
|
1130
|
-
interface iPassportReference {
|
|
1131
|
-
type: string;
|
|
1132
|
-
data: iPassportReferenceData;
|
|
1133
|
-
}
|
|
1134
|
-
/** Global passport reference aPI */
|
|
1135
|
-
interface iGlobalPassport {
|
|
1136
|
-
passport: iPassportReference;
|
|
1137
|
-
contract: oContract;
|
|
1138
|
-
date?: number;
|
|
1139
|
-
}
|
|
1140
|
-
/** ******************************** */
|
|
1141
|
-
interface iPassportResponseData {
|
|
1142
|
-
name: string;
|
|
1143
|
-
email: string;
|
|
1144
|
-
amount: number;
|
|
1145
|
-
expirationDate: string;
|
|
1146
|
-
additional: iPassportAdditional;
|
|
1147
|
-
}
|
|
1148
|
-
interface iPassportReferenceCenters {
|
|
1149
|
-
name: string;
|
|
1150
|
-
logo: string;
|
|
1151
|
-
}
|
|
1152
|
-
interface iPassportReferenceRes {
|
|
1153
|
-
reference: string;
|
|
1154
|
-
centers: iPassportReferenceCenters[];
|
|
1155
|
-
centerId: number;
|
|
1156
|
-
barcode: string;
|
|
1157
|
-
}
|
|
1158
|
-
/** Passport response interface base */
|
|
1159
|
-
interface iPassportResponse {
|
|
1160
|
-
type: string;
|
|
1161
|
-
data: iPassportResponseData;
|
|
1162
|
-
message: string;
|
|
1163
|
-
references: iPassportReference[];
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1166
|
-
interface iUser {
|
|
1167
|
-
pUser: oUser;
|
|
1168
|
-
getAllUsers(): void;
|
|
1169
|
-
editUser(user: oUser): void;
|
|
1170
|
-
deleteUser(user: oUser): void;
|
|
1171
|
-
}
|
|
1172
|
-
interface oUser {
|
|
1173
|
-
id: string;
|
|
1174
|
-
username: string;
|
|
1175
|
-
name: string;
|
|
1176
|
-
password: string;
|
|
1177
|
-
role: eRoles;
|
|
1178
|
-
lastLogin?: number;
|
|
1179
|
-
createdAt?: number;
|
|
1180
|
-
access_token: string;
|
|
1181
|
-
}
|
|
1182
|
-
interface iServiceUser {
|
|
1183
|
-
users: WritableSignal<oUser[]>;
|
|
1184
|
-
getAllUsersServer(): void;
|
|
1185
|
-
createUser(o: oUser): void;
|
|
1186
|
-
updateUser(o: oUser): void;
|
|
1187
|
-
deleteUser(id: string): void;
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1190
|
-
declare enum eVerificationStep {
|
|
1191
|
-
IDLE = "IDLE",
|
|
1192
|
-
ERROR = "ERROR",
|
|
1193
|
-
COMPLETED = "COMPLETED",
|
|
1194
|
-
IN_PROGRESS = "IN_PROGRESS",
|
|
1195
|
-
INVALID = "INVALID",
|
|
1196
|
-
SUSPENDED = "SUSPENDED",
|
|
1197
|
-
CANCELLED = "CANCELLED"
|
|
1198
|
-
}
|
|
1199
|
-
declare enum eVerificationStatus {
|
|
1200
|
-
APPROVED = "approved",
|
|
1201
|
-
CANCELLED = "cancelled"
|
|
1202
|
-
}
|
|
1203
|
-
declare enum eVerificationChannel {
|
|
1204
|
-
SMS = "sms",
|
|
1205
|
-
WHATSAPP = "whatsapp",
|
|
1206
|
-
CALL = "call",
|
|
1207
|
-
EMAIL = "email",
|
|
1208
|
-
SNA = "sna"
|
|
1209
|
-
}
|
|
1210
|
-
|
|
1211
|
-
interface ISendCodeAttempt {
|
|
1212
|
-
time: string;
|
|
1213
|
-
channel: eVerificationChannel;
|
|
1214
|
-
attemptSid: string;
|
|
1215
|
-
}
|
|
1216
|
-
interface IBaseVerification {
|
|
1217
|
-
sid: string;
|
|
1218
|
-
service_sid: string;
|
|
1219
|
-
account_sid: string;
|
|
1220
|
-
to: string;
|
|
1221
|
-
channel: eVerificationChannel;
|
|
1222
|
-
status: eVerificationStatus;
|
|
1223
|
-
valid: boolean;
|
|
1224
|
-
date_created: string;
|
|
1225
|
-
date_updated: string;
|
|
1226
|
-
amount: any;
|
|
1227
|
-
payee: any;
|
|
1228
|
-
}
|
|
1229
|
-
interface IVerificationSms extends IBaseVerification {
|
|
1230
|
-
lookup: any;
|
|
1231
|
-
send_code_attempts: ISendCodeAttempt[];
|
|
1232
|
-
sna: any;
|
|
1233
|
-
url: string;
|
|
1234
|
-
}
|
|
1235
|
-
interface IVerificationCheckSms {
|
|
1236
|
-
sna_attempts_error_codes: any[];
|
|
1237
|
-
}
|
|
1238
|
-
interface IVerificationData {
|
|
1239
|
-
Phone?: string;
|
|
1240
|
-
VerificationCode?: string;
|
|
1241
|
-
}
|
|
1242
|
-
|
|
1243
|
-
declare const cClient: oClient;
|
|
1244
|
-
interface oClientConekta {
|
|
1245
|
-
ravcredit: oClient;
|
|
1246
|
-
conekta: iConektaRecurrent;
|
|
1247
|
-
}
|
|
1248
|
-
declare const cUserReference: oUserReference$1;
|
|
1249
|
-
declare const cClientConekta: oClientConekta;
|
|
1250
|
-
interface iClientContract {
|
|
1251
|
-
client: oClient;
|
|
1252
|
-
contract: oContract;
|
|
1253
|
-
}
|
|
1254
|
-
declare const cClientContract: iClientContract;
|
|
1255
|
-
declare class FactoryClient {
|
|
1256
|
-
static CreateClientToConektaObj(data: oClient): any;
|
|
1257
|
-
static CreateClientFromFormObj(data: any, client?: oClient): oClient;
|
|
1258
|
-
static CreateClientConektaObj(data: oClient, finalDate: number): {
|
|
1259
|
-
name: string;
|
|
1260
|
-
email: string;
|
|
1261
|
-
phone: string;
|
|
1262
|
-
contract: string | undefined;
|
|
1263
|
-
client_id: string;
|
|
1264
|
-
payment_sources: iConektaSources[];
|
|
1265
|
-
};
|
|
1266
|
-
static MapperConektaClient(client: oClient, conekta: iConektaRecurrent): iClientContract;
|
|
1267
|
-
static MapperTypeContCli_Client(_client: tyClientContract): oClient;
|
|
1268
|
-
static MapperDynamicClient(dynamic: IDCClient, client: oClient, contract: oContract, clientDyn?: IDCClient, account?: IDCAccount): iClientContract;
|
|
1269
|
-
static MapperFinancialContract(contract: oContract, account: IDCAccount): oFinancial;
|
|
1270
|
-
}
|
|
1271
|
-
declare enum eIdentityTypes {
|
|
1272
|
-
SELFIE = "SELFIE",
|
|
1273
|
-
IDENTITY_FRONT = "IDENTITY_FRONT",
|
|
1274
|
-
IDENTITY_BACK = "IDENTITY_BACK",
|
|
1275
|
-
PASSPORT_FRONT = "PASSPORT_FRONT",
|
|
1276
|
-
PASSPORT_BACK = "PASSPORT_BACK",
|
|
1277
|
-
SERVICE = "SERVICE",
|
|
1278
|
-
WITH_DEVICE = "WITH_DEVICE"
|
|
1279
|
-
}
|
|
1280
|
-
|
|
1281
|
-
declare class UtilsHttp {
|
|
1282
|
-
static CreateHeadersRavcreditApi(token: string): {
|
|
1283
|
-
'Content-Type': string;
|
|
1284
|
-
Accept: string;
|
|
1285
|
-
'Access-Control-Allow-Headers': string;
|
|
1286
|
-
Authorization: string;
|
|
1287
|
-
};
|
|
1288
|
-
static CreateSimpleHeadersApi(): {
|
|
1289
|
-
'Content-Type': string;
|
|
1290
|
-
Accept: string;
|
|
1291
|
-
'Access-Control-Allow-Headers': string;
|
|
1292
|
-
};
|
|
1293
|
-
static CreateAwsHeadersApi(): {
|
|
1294
|
-
'Content-Type': string;
|
|
1295
|
-
};
|
|
1296
|
-
}
|
|
1297
|
-
|
|
1298
|
-
declare const cSchedule: oSchedule;
|
|
1299
|
-
declare const cEmptyDay: oSchedule;
|
|
1300
|
-
declare const week: string[];
|
|
1301
|
-
declare const cDefinedSchedule: oSchedule[];
|
|
1302
|
-
declare const cBusinessInfo: oBusinessInfo;
|
|
1303
|
-
declare const cBusinessDeadlines: oBusinessDeadlines;
|
|
1304
|
-
declare const cBusinessConfig: oBusinessConfig;
|
|
1305
|
-
declare class FactoryBusiness {
|
|
1306
|
-
static FormBusinessInfo(info?: oBusinessInfo): {
|
|
1307
|
-
name: UntypedFormControl;
|
|
1308
|
-
email: UntypedFormControl;
|
|
1309
|
-
desc: UntypedFormControl;
|
|
1310
|
-
street: UntypedFormControl;
|
|
1311
|
-
neighbor: UntypedFormControl;
|
|
1312
|
-
cp: UntypedFormControl;
|
|
1313
|
-
ext: UntypedFormControl;
|
|
1314
|
-
int: UntypedFormControl;
|
|
1315
|
-
city: UntypedFormControl;
|
|
1316
|
-
state: UntypedFormControl;
|
|
1317
|
-
phones: UntypedFormControl;
|
|
1318
|
-
mondayOpen: UntypedFormControl;
|
|
1319
|
-
mondayClose: UntypedFormControl;
|
|
1320
|
-
tuesdayOpen: UntypedFormControl;
|
|
1321
|
-
tuesdayClose: UntypedFormControl;
|
|
1322
|
-
wednesdayOpen: UntypedFormControl;
|
|
1323
|
-
wednesdayClose: UntypedFormControl;
|
|
1324
|
-
thursdayOpen: UntypedFormControl;
|
|
1325
|
-
thursdayClose: UntypedFormControl;
|
|
1326
|
-
fridayOpen: UntypedFormControl;
|
|
1327
|
-
fridayClose: UntypedFormControl;
|
|
1328
|
-
saturdayOpen: UntypedFormControl;
|
|
1329
|
-
saturdayClose: UntypedFormControl;
|
|
1330
|
-
sundayOpen: UntypedFormControl;
|
|
1331
|
-
sundayClose: UntypedFormControl;
|
|
1332
|
-
};
|
|
1333
|
-
static CreateBusinessInfoObj(data: oTmpBusinessConfig): oBusinessInfo;
|
|
1334
|
-
static FormDeadlineConfig(data: oBusinessDeadlines): {
|
|
1335
|
-
weeks: UntypedFormControl;
|
|
1336
|
-
interest: UntypedFormControl;
|
|
1337
|
-
};
|
|
1338
|
-
static FormBusinessConfig(config?: oBusinessConfig): {
|
|
1339
|
-
downloadsClient: UntypedFormControl;
|
|
1340
|
-
passportPaymentReference: UntypedFormControl;
|
|
1341
|
-
conektaPaymentReference: UntypedFormControl;
|
|
1342
|
-
conektaPaymentLink: UntypedFormControl;
|
|
1343
|
-
dynamicPaymentReference: UntypedFormControl;
|
|
1344
|
-
deadlines: UntypedFormArray;
|
|
1345
|
-
};
|
|
1346
|
-
static testBusiness(message: string): string;
|
|
1347
|
-
}
|
|
1348
|
-
|
|
1349
|
-
declare enum eProvider {
|
|
1350
|
-
none = "",
|
|
1351
|
-
Conekta = "Conekta",
|
|
1352
|
-
Passport = "Passport",
|
|
1353
|
-
DynamiCore = "DynamiCore"
|
|
1354
|
-
}
|
|
1355
|
-
declare const cDevice: oDevice;
|
|
1356
|
-
declare const cFinancial: oFinancial;
|
|
1357
|
-
declare const cContract: oContract;
|
|
1358
|
-
declare class FactoryContract {
|
|
1359
|
-
static FormClient(client?: oClient): {
|
|
1360
|
-
name: UntypedFormControl;
|
|
1361
|
-
email: UntypedFormControl;
|
|
1362
|
-
phone: UntypedFormControl;
|
|
1363
|
-
curp: UntypedFormControl;
|
|
1364
|
-
userReferences: UntypedFormArray;
|
|
1365
|
-
};
|
|
1366
|
-
static CreateUserReferenceFormObj(user: oUserReference$1): {
|
|
1367
|
-
name: UntypedFormControl;
|
|
1368
|
-
phone: UntypedFormControl;
|
|
1369
|
-
relationship: UntypedFormControl;
|
|
1370
|
-
};
|
|
1371
|
-
static FormAddress(address?: oAddress): {
|
|
1372
|
-
street: UntypedFormControl;
|
|
1373
|
-
neighbor: UntypedFormControl;
|
|
1374
|
-
cp: UntypedFormControl;
|
|
1375
|
-
ext: UntypedFormControl;
|
|
1376
|
-
int: UntypedFormControl;
|
|
1377
|
-
city: UntypedFormControl;
|
|
1378
|
-
state: UntypedFormControl;
|
|
1379
|
-
};
|
|
1380
|
-
static FormDevice(device?: oDevice): {
|
|
1381
|
-
model: UntypedFormControl;
|
|
1382
|
-
IMEI: UntypedFormControl;
|
|
1383
|
-
ID: UntypedFormControl;
|
|
1384
|
-
};
|
|
1385
|
-
static FormFinancial(financial?: oFinancial): {
|
|
1386
|
-
total: UntypedFormControl;
|
|
1387
|
-
initial: UntypedFormControl;
|
|
1388
|
-
financed: UntypedFormControl;
|
|
1389
|
-
weeklyPayment: UntypedFormControl;
|
|
1390
|
-
deadlines: UntypedFormControl;
|
|
1391
|
-
initDate: UntypedFormControl;
|
|
1392
|
-
provider: UntypedFormControl;
|
|
1393
|
-
credit_type: UntypedFormControl;
|
|
1394
|
-
interest_rate: UntypedFormControl;
|
|
1395
|
-
commission_opening: UntypedFormControl;
|
|
1396
|
-
interest_arrears: UntypedFormControl;
|
|
1397
|
-
amount_commission_opening: UntypedFormControl;
|
|
1398
|
-
principal_disbursed: UntypedFormControl;
|
|
1399
|
-
expected_disbursed: UntypedFormControl;
|
|
1400
|
-
};
|
|
1401
|
-
static CreateContractFromFormObj(data: any, finalPay: number): oContract;
|
|
1402
|
-
static CreateContractToConektaObj(data: oContract, monthlyPay: number, finalPay: number): oContract;
|
|
1403
|
-
static CreateAuthForm(username: string, curp: string): {
|
|
1404
|
-
username: UntypedFormControl;
|
|
1405
|
-
password: UntypedFormControl;
|
|
1406
|
-
};
|
|
1407
|
-
static createPassword(curp: string): string;
|
|
1408
|
-
static MapperTypeContCli_Contract(_contract: tyClientContract): oContract;
|
|
1409
|
-
static MapperSyncContractDynamic(base: oContract, account: IDCAccount): oContract;
|
|
1410
|
-
}
|
|
1411
|
-
declare enum eContractStatus {
|
|
1412
|
-
APPROVED = "APPROVED",
|
|
1413
|
-
DENIED = "DENIED",
|
|
1414
|
-
CANCELED = "CANCELED",
|
|
1415
|
-
PENDING = "PENDING",
|
|
1416
|
-
CHECKING = "CHECKING"
|
|
1417
|
-
}
|
|
1418
|
-
|
|
1419
|
-
declare enum ePaymentType {
|
|
1420
|
-
OXXO = "OXXO",
|
|
1421
|
-
ALTERNA = "ALTERNA",
|
|
1422
|
-
OXXO_RECURRENT = "oxxo_recurrent"
|
|
1423
|
-
}
|
|
1424
|
-
declare class FactoryConekta {
|
|
1425
|
-
static createOrder(client: oClient, contract: oContract, dateTime?: number): oConektaNewOrder;
|
|
1426
|
-
}
|
|
1427
|
-
|
|
1428
|
-
declare const ROUTE_NOTIFICATIONS = "notifications";
|
|
1429
|
-
declare const ROUTE_GLOBAL_REFERENCE2 = "/contract-reference";
|
|
1430
|
-
declare const ravCreditFunctions = "https://us-central1-ravcredit-2b079.cloudfunctions.net/CustomerNotification";
|
|
1431
|
-
declare class FactoryNotification {
|
|
1432
|
-
static FormNotification(notification?: oNotification): {
|
|
1433
|
-
title: UntypedFormControl;
|
|
1434
|
-
body: UntypedFormControl;
|
|
1435
|
-
};
|
|
1436
|
-
static CreateGlobalNotificationObj(data: oNotification): any;
|
|
1437
|
-
}
|
|
1438
|
-
|
|
1439
|
-
declare class UtilTime {
|
|
1440
|
-
private localeFns;
|
|
1441
|
-
static IsExpired(time: number): boolean;
|
|
1442
|
-
static getDates(initial: number, weeks: number): oPaymentDates[];
|
|
1443
|
-
static getPreviousWeek(): number;
|
|
1444
|
-
static getDayNum(date: Date | number): number;
|
|
1445
|
-
static getDayName(date: Date | number): string;
|
|
1446
|
-
static getMonthName(date: Date | number): string;
|
|
1447
|
-
static getYear(date: Date | number): string;
|
|
1448
|
-
static GetNextPayment(time: number, provider: string): string;
|
|
1449
|
-
static getLocalTimeFromLong(time: number, provider: string): string;
|
|
1450
|
-
static DelayPaymentLast(lastPayment: number, provider: string, injector: Injector): boolean;
|
|
1451
|
-
static GetFactor(provider: string): number;
|
|
1452
|
-
static GetEpochFromFormatedDate(date: string): number;
|
|
1453
|
-
static GetTimeFromString(date: string): string;
|
|
1454
|
-
static GetDateFromString(date: string): string;
|
|
1455
|
-
static SortingByTime(payments: IDCTxnRow[]): IDCTxnRow[];
|
|
1456
|
-
static SortingByTimeConekta(payments: oConektaOrder[]): oConektaOrder[];
|
|
1457
|
-
}
|
|
1458
|
-
|
|
1459
|
-
declare const cContractMetrics: oContractMetrics;
|
|
1460
|
-
|
|
1461
|
-
declare class FactoryPassport {
|
|
1462
|
-
static CreatePassportReference(client: oClient, contract: oContract, dateTime?: number): iGlobalPassport;
|
|
1463
|
-
}
|
|
1464
|
-
|
|
1465
|
-
interface oPaymentGlobal {
|
|
1466
|
-
conektaPayment?: oConektaRes;
|
|
1467
|
-
dynamicPayment?: IDCTxnRow[];
|
|
1468
|
-
}
|
|
1469
|
-
declare class FactoryPayment {
|
|
1470
|
-
static CreatePayment(data: oConektaRes | IDCTxnRow[], provider: eProvider): oPaymentGlobal;
|
|
1471
|
-
}
|
|
1472
|
-
|
|
1473
|
-
declare class IndexedDbService {
|
|
1474
|
-
indexDbStatus: boolean;
|
|
1475
|
-
iDb: IDBPDatabase<unknown>;
|
|
1476
|
-
constructor();
|
|
1477
|
-
/****************** SIMPLE Transactional - CRUD *************************************/
|
|
1478
|
-
dbGetObject<T>(store: string, data: any): Promise<T>;
|
|
1479
|
-
dbGetAllByStore<T>(store: string, index?: string): Promise<T>;
|
|
1480
|
-
dbAddObject<T>(store: string, data: any): Promise<boolean>;
|
|
1481
|
-
dbRemoveObject<T>(store: string, data: any): Promise<T>;
|
|
1482
|
-
/************************************* AUTH **************************************/
|
|
1483
|
-
dbSignIn(store: string, data: any): Promise<void>;
|
|
1484
|
-
dbSignOut(): Promise<void>;
|
|
1485
|
-
dbAuthorization(): Promise<boolean>;
|
|
1486
|
-
dbGetToken(): Promise<string>;
|
|
1487
|
-
/******************************** Local Storage *************************************/
|
|
1488
|
-
setLocalStorage(k: string, v: string): void;
|
|
1489
|
-
getLocalStorage<T>(k: string): T;
|
|
1490
|
-
removeLocalStorage(k: string): void;
|
|
1491
|
-
getLocalUser(): string | null;
|
|
1492
|
-
/********************************************************************************* **/
|
|
1493
|
-
getPlatformUser(): Promise<string>;
|
|
1494
|
-
getToken(): Promise<string>;
|
|
1495
|
-
addObject<T>(store: string, data: any): Promise<boolean>;
|
|
1496
|
-
patchObject<T>(store: string, data: any): Promise<T>;
|
|
1497
|
-
updateObjectByID<T>(store: string, id: string, data: T): Promise<boolean>;
|
|
1498
|
-
upsertObjectById<T>(store: string, id: string, data: T): Promise<IDBValidKey>;
|
|
1499
|
-
removeObject<T>(store: string, data: any): Promise<T>;
|
|
1500
|
-
deleteObjectByID<T>(store: string, id: string): Promise<T | idb.IDBPCursorWithValue<unknown, [string], string, string, "readwrite"> | null>;
|
|
1501
|
-
cleanAll<T>(store: string): Promise<void>;
|
|
1502
|
-
getObject<T>(store: string, data: any): Promise<T>;
|
|
1503
|
-
addBuildByStore(store: string, data: any[]): Promise<void>;
|
|
1504
|
-
updateObject<T>(store: string, data: any): Promise<void>;
|
|
1505
|
-
getAllByStore<T>(store: string, index?: string): Promise<T>;
|
|
1506
|
-
getAuthUser(): Promise<oUser>;
|
|
1507
|
-
getAuthName(): Promise<string>;
|
|
1508
|
-
getAuthUsername(): Promise<string>;
|
|
1509
|
-
saveDataLocally<T>(contract: oContract, client: oClient, providerData: T): Promise<boolean>;
|
|
1510
|
-
/******************** MERGE **************************************/
|
|
1511
|
-
getAllClientContracts(): Promise<tyClientContract[]>;
|
|
1512
|
-
/******************** MERGE **************************************/
|
|
1513
|
-
dbGetAllClientContracts(): Promise<tyClientContract[]>;
|
|
1514
|
-
/****************** BUSINESS INFO *************************************/
|
|
1515
|
-
getBusinessInfo(): Promise<oBusinessInfo | null>;
|
|
1516
|
-
/****************** BUSINESS CONFIG ************************************/
|
|
1517
|
-
getBusinessConfig(): Promise<oBusinessConfig | null>;
|
|
1518
|
-
updateBusinessConfig(config: oBusinessConfig): Promise<void>;
|
|
1519
|
-
updateBusinessInfo(config: oBusinessInfo): Promise<void>;
|
|
1520
|
-
/**************** NOTIFICATIONS *********************************/
|
|
1521
|
-
getLocalNotifications(): Promise<oNotification[] | null>;
|
|
1522
|
-
updateNotifications(notifications: oNotification[]): Promise<void>;
|
|
1523
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IndexedDbService, never>;
|
|
1524
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<IndexedDbService>;
|
|
1525
|
-
}
|
|
1526
|
-
|
|
1527
|
-
declare const keyUserID: string;
|
|
1528
|
-
declare const dbVersion: number;
|
|
1529
|
-
declare const dbName: string;
|
|
1530
|
-
declare const keyPathId: string;
|
|
1531
|
-
declare const dbAuthStore: string;
|
|
1532
|
-
declare const dbUsersStore: string;
|
|
1533
|
-
declare const dbContractsStore: string;
|
|
1534
|
-
declare const dbClientsStore: string;
|
|
1535
|
-
declare const dbBusinessInfo: string;
|
|
1536
|
-
declare const dbBusinessConfig: string;
|
|
1537
|
-
declare const dbConektaClientsStore: string;
|
|
1538
|
-
declare const dbConektaReferencesStore: string;
|
|
1539
|
-
declare const dbPassportReferencesStore: string;
|
|
1540
|
-
declare const dbDynamicReferencesStore: string;
|
|
1541
|
-
declare const dbDynamicAccountStore: string;
|
|
1542
|
-
declare const dbNotificationsStore: string;
|
|
1543
|
-
declare const dbPaymentsStore: string;
|
|
1544
|
-
declare const dbIndexAuth: string;
|
|
1545
|
-
declare const dbIndexUsers: string;
|
|
1546
|
-
declare const dbIndexContracts: string;
|
|
1547
|
-
declare const dbIndexClients: string;
|
|
1548
|
-
declare const dbIndexBusiness: string;
|
|
1549
|
-
declare const dbIndexConektaClients: string;
|
|
1550
|
-
declare const dbIndexConektaClientsRef: string;
|
|
1551
|
-
declare const dbIndexPassportClientsRef: string;
|
|
1552
|
-
declare const dbIndexNotification: string;
|
|
1553
|
-
declare const dbIndexPayments: string;
|
|
1554
|
-
declare const dateFormat = "EEEE, dd MMM yyyy";
|
|
1555
|
-
declare const dateCompleteFormat = "EEEE, dd MMM yyyy hh:mm aaaa";
|
|
1556
|
-
declare const timeFormat = "hh:mm aaaa";
|
|
1557
|
-
declare const expiredPayment = "expiredPayment";
|
|
1558
|
-
declare const ROLES_KEY = "roles";
|
|
1559
|
-
|
|
1560
|
-
declare const cSingleOptionClientStatus: iOptionsSelect;
|
|
1561
|
-
declare const cOptionsClientStatus: iOptionsSelect[];
|
|
1562
|
-
declare const eRolesSelect: iSelect[];
|
|
1563
|
-
declare const cPaymentDelay: iPaymentDelay;
|
|
1564
|
-
declare const snackBarConfigAction: MatSnackBarConfig;
|
|
1565
|
-
declare const snackBarConfigNoAction: MatSnackBarConfig;
|
|
1566
|
-
declare const snackBarConfigNoActionLong: MatSnackBarConfig;
|
|
1567
|
-
declare const cTyClientContract: {
|
|
1568
|
-
id: string;
|
|
1569
|
-
dynamicAccount?: number;
|
|
1570
|
-
client: string;
|
|
1571
|
-
address: oAddress;
|
|
1572
|
-
device: ravcredit_lib.oDevice;
|
|
1573
|
-
financial: ravcredit_lib.oFinancial;
|
|
1574
|
-
createdAt?: number;
|
|
1575
|
-
lastPayment?: number;
|
|
1576
|
-
by: string;
|
|
1577
|
-
active: boolean;
|
|
1578
|
-
photo?: string;
|
|
1579
|
-
name: string;
|
|
1580
|
-
username: string;
|
|
1581
|
-
password?: string;
|
|
1582
|
-
email: string;
|
|
1583
|
-
phone: string;
|
|
1584
|
-
curp: string;
|
|
1585
|
-
contract?: string;
|
|
1586
|
-
lastLogin?: number;
|
|
1587
|
-
contract_temporary?: string;
|
|
1588
|
-
exists?: boolean;
|
|
1589
|
-
conekta_id?: string;
|
|
1590
|
-
dynamic_id?: number | string;
|
|
1591
|
-
dynamic_account?: string | number;
|
|
1592
|
-
dynamic_ref?: string;
|
|
1593
|
-
passport_id?: string;
|
|
1594
|
-
payments?: oClientPayments$1[];
|
|
1595
|
-
reference?: string;
|
|
1596
|
-
references?: oClientReferences$1[];
|
|
1597
|
-
token?: string;
|
|
1598
|
-
userReferences: oUserReference$1[];
|
|
1599
|
-
contractUrl?: string;
|
|
1600
|
-
status: string;
|
|
1601
|
-
};
|
|
1602
|
-
declare const cAddress: oAddress;
|
|
1603
|
-
declare const cOxxoRecurrentSourcesData: iOxxorecurrentSourcesData;
|
|
1604
|
-
declare const cOxxoRecurrentSources: iOxxoRecurrentSources;
|
|
1605
|
-
declare const cConektaRecurrent: iConektaRecurrent;
|
|
1606
|
-
declare const cAuthConfig: iAuthConfig;
|
|
1607
|
-
declare const cDaySchedule: oDaySchedule;
|
|
1608
|
-
|
|
1609
|
-
declare const ErrorMessages: {
|
|
1610
|
-
NotFound: string;
|
|
1611
|
-
Unauthorized: string;
|
|
1612
|
-
RandomError: string;
|
|
1613
|
-
RandomErrorFirestore: string;
|
|
1614
|
-
CreateUser: string;
|
|
1615
|
-
CreateFoundedUser: string;
|
|
1616
|
-
FindAllNotFound: string;
|
|
1617
|
-
UserFindOne: string;
|
|
1618
|
-
UserFindOneError: string;
|
|
1619
|
-
UserUpdate: string;
|
|
1620
|
-
DeleteUser: string;
|
|
1621
|
-
UsernameNotFound: string;
|
|
1622
|
-
IncorrectPassword: string;
|
|
1623
|
-
LastLogIn: string;
|
|
1624
|
-
authError: string;
|
|
1625
|
-
tokenRequired: string;
|
|
1626
|
-
ClientDefined: string;
|
|
1627
|
-
ClientsNotFound: string;
|
|
1628
|
-
ClientNotFound: string;
|
|
1629
|
-
ClientNotUpdated: string;
|
|
1630
|
-
DeleteClient: string;
|
|
1631
|
-
UsernameClientNotFound: string;
|
|
1632
|
-
ContractsAllEmpty: string;
|
|
1633
|
-
ContractNotFound: string;
|
|
1634
|
-
ContractUpdateError: string;
|
|
1635
|
-
ContractDeleteError: string;
|
|
1636
|
-
};
|
|
1637
|
-
|
|
1638
|
-
interface oCatalog {
|
|
1639
|
-
name: string;
|
|
1640
|
-
description: string;
|
|
1641
|
-
id: string;
|
|
1642
|
-
createdAt: number;
|
|
1643
|
-
}
|
|
1644
|
-
|
|
1645
|
-
interface oScoreAddress {
|
|
1646
|
-
CP: string;
|
|
1647
|
-
ciudad: string;
|
|
1648
|
-
estado: string;
|
|
1649
|
-
domicilio: string;
|
|
1650
|
-
coloniaPoblacion: string;
|
|
1651
|
-
delegacionMunicipio: string;
|
|
1652
|
-
}
|
|
1653
|
-
interface oScoreHit {
|
|
1654
|
-
valor: string;
|
|
1655
|
-
}
|
|
1656
|
-
interface oScoreNoHit {
|
|
1657
|
-
date: string;
|
|
1658
|
-
score: string;
|
|
1659
|
-
message: string;
|
|
1660
|
-
evaluation: string;
|
|
1661
|
-
}
|
|
1662
|
-
interface oScoreGeneral {
|
|
1663
|
-
nombres: string;
|
|
1664
|
-
apellidoMaterno: string;
|
|
1665
|
-
apellidoPaterno: string;
|
|
1666
|
-
fechaNacimiento: string;
|
|
1667
|
-
}
|
|
1668
|
-
interface oScore {
|
|
1669
|
-
domicilio: oScoreAddress;
|
|
1670
|
-
scoreNoHit: oScoreHit;
|
|
1671
|
-
folioConsulta: string;
|
|
1672
|
-
datosGenerales: oScoreGeneral;
|
|
1673
|
-
}
|
|
1674
|
-
interface oScoreReference {
|
|
1675
|
-
name: string;
|
|
1676
|
-
score: number;
|
|
1677
|
-
}
|
|
1678
|
-
|
|
1679
|
-
declare enum eAssetPeriod {
|
|
1680
|
-
MONTH = "MONTH",
|
|
1681
|
-
WEEK = "WEEK"
|
|
1682
|
-
}
|
|
1683
|
-
|
|
1684
|
-
interface oAssetCategory {
|
|
1685
|
-
name: string;
|
|
1686
|
-
id: string;
|
|
1687
|
-
createAt: number;
|
|
1688
|
-
}
|
|
1689
|
-
interface oAssetBrand {
|
|
1690
|
-
name: string;
|
|
1691
|
-
id: string;
|
|
1692
|
-
description: string;
|
|
1693
|
-
}
|
|
1694
|
-
interface oAssetOffer {
|
|
1695
|
-
name: string;
|
|
1696
|
-
id: string;
|
|
1697
|
-
createAt: number;
|
|
1698
|
-
description: string;
|
|
1699
|
-
}
|
|
1700
|
-
interface oPaymentOption {
|
|
1701
|
-
deadline: number;
|
|
1702
|
-
score: oScoreNoHit;
|
|
1703
|
-
period: eAssetPeriod;
|
|
1704
|
-
}
|
|
1705
|
-
interface oAsset {
|
|
1706
|
-
name: string;
|
|
1707
|
-
id: string;
|
|
1708
|
-
createAt: number;
|
|
1709
|
-
category: oAssetCategory;
|
|
1710
|
-
brand: oAssetBrand;
|
|
1711
|
-
price: number;
|
|
1712
|
-
model: string;
|
|
1713
|
-
imageUrl: string[];
|
|
1714
|
-
paymentOption: oPaymentOption[];
|
|
1715
|
-
catalog: oCatalog;
|
|
1716
|
-
offers: oAssetOffer[];
|
|
1717
|
-
score: oScoreReference;
|
|
1718
|
-
IMEI: string;
|
|
1719
|
-
}
|
|
1720
|
-
|
|
1721
|
-
interface ILambdaResponse {
|
|
1722
|
-
StatusCode: number;
|
|
1723
|
-
VerificationSms?: IVerificationSms;
|
|
1724
|
-
VerificationCheckSms?: IVerificationCheckSms;
|
|
1725
|
-
Error: string;
|
|
1726
|
-
}
|
|
1727
|
-
|
|
1728
|
-
interface oMediaIdentity {
|
|
1729
|
-
url: string;
|
|
1730
|
-
name: eIdentityTypes;
|
|
1731
|
-
active: boolean;
|
|
1732
|
-
metadata: any;
|
|
1733
|
-
uploaded: number;
|
|
1734
|
-
}
|
|
1735
|
-
|
|
1736
|
-
interface oClientPayments {
|
|
1737
|
-
date: number;
|
|
1738
|
-
dayPayment: number;
|
|
1739
|
-
amount: number;
|
|
1740
|
-
id: string;
|
|
1741
|
-
}
|
|
1742
|
-
interface oUserReference {
|
|
1743
|
-
name: string;
|
|
1744
|
-
phone: string;
|
|
1745
|
-
relationship: string;
|
|
1746
|
-
}
|
|
1747
|
-
interface oClientReferences {
|
|
1748
|
-
date?: number;
|
|
1749
|
-
amount?: number;
|
|
1750
|
-
id: string;
|
|
1751
|
-
url?: string;
|
|
1752
|
-
}
|
|
1753
|
-
interface oClientV2 extends oClient {
|
|
1754
|
-
score: oScore;
|
|
1755
|
-
seller_id?: string;
|
|
1756
|
-
scoreNoHit?: oScoreNoHit;
|
|
1757
|
-
study_degree?: string;
|
|
1758
|
-
mediaSelfie?: oMediaIdentity;
|
|
1759
|
-
mediaAddress?: oMediaIdentity;
|
|
1760
|
-
mediaWithDevice?: oMediaIdentity;
|
|
1761
|
-
mediaSelfieBack?: oMediaIdentity;
|
|
1762
|
-
identityVerification?: eVerificationStep;
|
|
1763
|
-
}
|
|
1764
|
-
|
|
1765
|
-
interface oCompany {
|
|
1766
|
-
name: string;
|
|
1767
|
-
id: string;
|
|
1768
|
-
rfc: string;
|
|
1769
|
-
taxRegime: string;
|
|
1770
|
-
address: oAddress;
|
|
1771
|
-
}
|
|
1772
|
-
|
|
1773
|
-
interface oContractV2 extends oContract {
|
|
1774
|
-
company: oCompany;
|
|
1775
|
-
status: eContractStatus;
|
|
1776
|
-
asset: oAsset;
|
|
1777
|
-
}
|
|
1778
|
-
|
|
1779
|
-
/** Response from APIs */
|
|
1780
|
-
interface oResponse {
|
|
1781
|
-
status?: boolean;
|
|
1782
|
-
path?: string;
|
|
1783
|
-
statusCode: number;
|
|
1784
|
-
error?: string;
|
|
1785
|
-
epochTime: number;
|
|
1786
|
-
data?: oUser | oUser[] | oBusinessInfo | oAddress | oSchedule | oFinancial | string | iPaymentDelay | oClient | oDevice | iConfigUUID | Response | oNotification;
|
|
1787
|
-
}
|
|
1788
|
-
interface oResponseFuncEmail {
|
|
1789
|
-
success: boolean;
|
|
1790
|
-
message: any;
|
|
1791
|
-
}
|
|
1792
|
-
|
|
1793
|
-
interface oMessagingData {
|
|
1794
|
-
id: string;
|
|
1795
|
-
curp: string;
|
|
1796
|
-
type: string;
|
|
1797
|
-
}
|
|
1798
|
-
interface oMessaging {
|
|
1799
|
-
data: oMessagingData;
|
|
1800
|
-
topic: string;
|
|
1801
|
-
}
|
|
1802
|
-
|
|
1803
|
-
declare enum eLoginStatus {
|
|
1804
|
-
IDLE = "IDLE",
|
|
1805
|
-
ERROR = "ERROR",
|
|
1806
|
-
AUTHORIZED = "AUTHORIZED",
|
|
1807
|
-
CHECKING = "CHECKING",
|
|
1808
|
-
NOAUTHORIZED = "NOAUTHORIZED",
|
|
1809
|
-
NOTFOUND = "NOTFOUND",
|
|
1810
|
-
ERRORPASSWORD = "ERRORPASSWORD"
|
|
1811
|
-
}
|
|
1812
|
-
declare enum eAuthActions {
|
|
1813
|
-
delete = "delete",
|
|
1814
|
-
auth = "auth"
|
|
1815
|
-
}
|
|
1816
|
-
declare enum eAuthType2 {
|
|
1817
|
-
auth = "auth",
|
|
1818
|
-
login = "login",
|
|
1819
|
-
idle = ""
|
|
1820
|
-
}
|
|
1821
|
-
declare enum eAuthType {
|
|
1822
|
-
USER = "USER",// Used for user of Ravcredit platform user, employee
|
|
1823
|
-
ADMIN = "ADMIN",
|
|
1824
|
-
SELLER = "SELLER",
|
|
1825
|
-
CLIENT = "CLIENT",// Used for clients of Ravcredit
|
|
1826
|
-
CONSULTANT = "CONSULTANT",
|
|
1827
|
-
FUNCTION = "FUNCTION"
|
|
1828
|
-
}
|
|
1829
|
-
|
|
1830
|
-
declare enum eClientStatus {
|
|
1831
|
-
ACTIVE = "active",
|
|
1832
|
-
COMPLETED = "completed",
|
|
1833
|
-
PAUSED = "paused",
|
|
1834
|
-
CANCELED = "canceled",
|
|
1835
|
-
LATE = "late"
|
|
1836
|
-
}
|
|
1837
|
-
|
|
1838
|
-
declare enum eNotificationType {
|
|
1839
|
-
GLOBAL = "global",
|
|
1840
|
-
USER = "user",
|
|
1841
|
-
PAYMENT = "payment"
|
|
1842
|
-
}
|
|
1843
|
-
|
|
1844
|
-
declare enum ePassportTypes {
|
|
1845
|
-
CREATE = "create_references",
|
|
1846
|
-
SEND = "send_references"
|
|
1847
|
-
}
|
|
1848
|
-
|
|
1849
|
-
type Tokens = {
|
|
1850
|
-
access_token: string;
|
|
1851
|
-
refresh_token: string;
|
|
1852
|
-
};
|
|
1853
|
-
interface oPayloadToken {
|
|
1854
|
-
id: string;
|
|
1855
|
-
role: eRoles;
|
|
1856
|
-
}
|
|
1857
|
-
|
|
1858
|
-
declare enum eProcessStatus {
|
|
1859
|
-
IDLE = "IDLE",
|
|
1860
|
-
ERROR = "ERROR",
|
|
1861
|
-
CANCELED = "CANCELED",
|
|
1862
|
-
COMPLETE = "COMPLETE",
|
|
1863
|
-
PROCESSING = "PROCESSING",
|
|
1864
|
-
WAITING = "WAITING"
|
|
1865
|
-
}
|
|
1866
|
-
declare enum eRequestVerb {
|
|
1867
|
-
POST = "POST",
|
|
1868
|
-
GET = "GET",
|
|
1869
|
-
PATCH = "PATCH",
|
|
1870
|
-
DELETE = "DELETE"
|
|
1871
|
-
}
|
|
1872
|
-
declare enum eGCActions {
|
|
1873
|
-
Create = "Create",
|
|
1874
|
-
Update = "Update",
|
|
1875
|
-
Remove = "Remove",
|
|
1876
|
-
LoginTime = "UpdateLogIn"
|
|
1877
|
-
}
|
|
1878
|
-
|
|
1879
|
-
export { ErrorMessages, FactoryBusiness, FactoryClient, FactoryConekta, FactoryContract, FactoryDynamiCore, FactoryNotification, FactoryPassport, FactoryPayment, IndexedDbService, ROLES_KEY, ROUTE_GLOBAL_REFERENCE2, ROUTE_NOTIFICATIONS, RavcreditLibComponent, RavcreditLibService, UtilTime, UtilsHttp, cAddress, cAuthConfig, cBusinessConfig, cBusinessDeadlines, cBusinessInfo, cClient, cClientConekta, cClientContract, cClientDynamicStatus, cConektaRecurrent, cContract, cContractMetrics, cDaySchedule, cDefinedSchedule, cDevice, cEmptyDay, cFinancial, cIDCCharge, cIDCCustomer, cIDCDataPii, cIDCGeneratedReference, cIDCPayment, cNotification, cOptionsClientStatus, cOxxoRecurrentSources, cOxxoRecurrentSourcesData, cPaymentDelay, cSchedule, cSingleOptionClientStatus, cTopic, cTyClientContract, cUserReference, dateCompleteFormat, dateFormat, dbAuthStore, dbBusinessConfig, dbBusinessInfo, dbClientsStore, dbConektaClientsStore, dbConektaReferencesStore, dbContractsStore, dbDynamicAccountStore, dbDynamicReferencesStore, dbIndexAuth, dbIndexBusiness, dbIndexClients, dbIndexConektaClients, dbIndexConektaClientsRef, dbIndexContracts, dbIndexNotification, dbIndexPassportClientsRef, dbIndexPayments, dbIndexUsers, dbName, dbNotificationsStore, dbPassportReferencesStore, dbPaymentsStore, dbUsersStore, dbVersion, eAccountDynamicStatus, eAssetPeriod, eAuthActions, eAuthType, eAuthType2, eClientDynamicStatus, eClientStatus, eConektaOrderStatus, eConektaRes, eContractStatus, eContractSteps, eGCActions, eIdentityTypes, eLoginStatus, eNotificationType, ePassportTypes, ePaymentType, eProcessStatus, eProvider, eReferenceStatusRav, eRequestVerb, eRoles, eRolesSelect, eVerificationChannel, eVerificationStatus, eVerificationStep, expiredPayment, keyPathId, keyUserID, ravCreditFunctions, snackBarConfigAction, snackBarConfigNoAction, snackBarConfigNoActionLong, timeFormat, week };
|
|
1880
|
-
export type { HasUnsavedChanges, IBaseVerification, IDCAccount, IDCAccountConfig, IDCAccountProps, IDCCharge, IDCClient, IDCClientObjFilter, IDCClientPiiFilter, IDCClientQuery, IDCCredit, IDCCreditConfig, IDCCreditProperties, IDCDataPii, IDCGeneratedReference, IDCMntryCycle, IDCMntryPymt, IDCMntryPymtAll, IDCMntryPymtAllPaidTotal, IDCMntryPymtCal, IDCMntryPymtDue, IDCMntryPymtDueTax, IDCMntryPymtOpen, IDCMntryPymtPaid, IDCMntryPymtPymt, IDCMsg, IDCNewReference, IDCOxxoRef, IDCOxxoRefItem, IDCOxxoRefPymtMth, IDCPayment, IDCRefCustInfo, IDCRefItems, IDCRefPymtMethod, IDCReference, IDCTransaction, IDCTxn, IDCTxnHeader, IDCTxnRow, IDCTxnRowExtras, IDynamiCore, ILambdaResponse, ISendCodeAttempt, ISignIn, IVerificationCheckSms, IVerificationData, IVerificationSms, Tokens, iAuthConfig, iBusinessInfo, iClientContract, iConektaRecurrent, iConektaResData, iConektaResObjChargePaid, iConektaResObjChargePaidMethod, iConektaResPrevAttr, iConektaSources, iConfigUUID, iContract, iContractAll, iGlobalPassport, iInformativeDialog, iNewPayment, iOptionsSelect, iOxxoRecurrentSources, iOxxorecurrentSourcesData, iPassportAdditional, iPassportReference, iPassportReferenceCenters, iPassportReferenceData, iPassportReferenceRes, iPassportResponse, iPassportResponseData, iPaymentDelay, iSelect, iServiceUser, iSnackBarMessage, iUser, oAddress, oAsset, oAssetBrand, oAssetCategory, oAssetOffer, oAuth, oAuthRes, oBusinessConfig, oBusinessDeadlines, oBusinessInfo, oCatalog, oClientConekta, oClientPayments, oClientReferences, oClientV2, oCompany, oConektaChannel, oConektaChargeData, oConektaCharges, oConektaCheckout, oConektaCustomerInfo, oConektaLineItem, oConektaLineItems, oConektaNewOrder, oConektaNewOrderAntifraudInfo, oConektaNewOrderCharge, oConektaNewOrderCustomerInfo, oConektaNewOrderLineItem, oConektaNewOrderPymMethod, oConektaOrder, oConektaOrderCreate, oConektaOrdersResponse, oConektaPaymentMethod, oConektaRes, oConektaResData, oConektaResObjChargePaid, oConektaResObjOrderPaid, oConektaResPrevAttr, oContract, oContractMetrics, oContractV2, oCustomer, oCustomerInfo, oDaySchedule, oDevice, oFinancial, oFinancialProgress, oMediaIdentity, oMessaging, oMessagingData, oNotification, oNotificationResponses, oPayloadToken, oPaymentDates, oPaymentGlobal, oPaymentOption, oResponse, oResponseFuncEmail, oSchedule, oScore, oScoreAddress, oScoreGeneral, oScoreHit, oScoreNoHit, oScoreReference, oTmpBusinessConfig, oUser, oUserReference, oWeekSchedule, partialIDCData, tyClientContract };
|