ravcredit-lib 0.0.54 → 0.0.55

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.
Files changed (2) hide show
  1. package/index.d.ts +1053 -1053
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -127,1070 +127,1195 @@ declare enum eConektaOrderType {
127
127
  SPEI = "SPEI"
128
128
  }
129
129
 
130
- declare enum eProcessStatus {
131
- IDLE = "IDLE",
132
- ERROR = "ERROR",
133
- CANCELED = "CANCELED",
134
- COMPLETE = "COMPLETE",
135
- PROCESSING = "PROCESSING",
136
- WAITING = "WAITING"
137
- }
138
- declare enum eRequestVerb {
139
- POST = "POST",
140
- GET = "GET",
141
- PATCH = "PATCH",
142
- DELETE = "DELETE"
143
- }
144
- declare enum eGCActions {
145
- Create = "Create",
146
- Update = "Update",
147
- Remove = "Remove",
148
- LoginTime = "UpdateLogIn"
149
- }
150
- declare enum eOrderType {
151
- DYNAMIC_REFERENCE = "DYNAMIC_REFERENCE",
152
- DYNAMIC_SPEI = "DYNAMIC_SPEI",
153
- CONEKTA_REFERENCE = "CONEKTA_REFERENCE",
154
- CONEKTA_SPEI = "CONEKTA_SPEI",
155
- PASSPORT_REFERENCE = "PASSPORT_REFERENCE"
130
+ interface oDevice {
131
+ device: string;
132
+ id?: string;
133
+ IMEI: string;
156
134
  }
157
135
 
158
- interface oClientPayments$1 {
159
- date: number;
160
- dayPayment: number;
161
- amount: number;
136
+ interface oFinancialProgress {
162
137
  id: string;
138
+ amount: number;
139
+ date: number;
163
140
  }
164
- interface oUserReference$1 {
165
- name: string;
166
- phone: string;
167
- relationship: string;
141
+ interface oFinancial {
142
+ total: number;
143
+ initial: number;
144
+ deadlines: oBusinessDeadlines;
145
+ initDate?: number;
146
+ finalDate?: number;
147
+ weeklyPayment: number;
148
+ dayCut?: number;
149
+ finalPayment?: number;
150
+ progress?: oFinancialProgress[];
151
+ pendingOf: string[];
152
+ interest: number;
153
+ provider: string;
154
+ financed: number;
155
+ nextPayment: number;
156
+ amount_commission_opening?: number;
157
+ principal_disbursed?: number;
158
+ expected_disbursed?: number;
159
+ credit_type?: string;
160
+ interest_rate?: number;
161
+ commission_opening?: number;
162
+ interest_arrears?: number;
163
+ clabe?: string;
168
164
  }
169
- interface oClientReferences {
170
- date?: number;
171
- amount?: number;
172
- id: string;
173
- url?: string;
174
- type?: eOrderType;
165
+
166
+ interface iContract {
167
+ createContract(data: any, monthlyPay: number, finalPayment: number): Promise<void>;
168
+ editContract(): void;
169
+ verifyClient(clientCurp: string): Promise<void>;
170
+ dataClient(client: string): void;
171
+ referenceAdded(reference: number): Promise<void>;
175
172
  }
176
- interface oClient {
173
+ interface oContract {
177
174
  id: string;
178
- name: string;
179
- username: string;
180
- password?: string;
181
- email: string;
182
- phone: string;
183
- curp: string;
184
- contract?: string;
175
+ dynamicAccount?: number;
176
+ client: string;
177
+ address: oAddress;
178
+ device: oDevice;
179
+ financial: oFinancial;
185
180
  createdAt?: number;
186
- lastLogin?: number;
187
- contract_temporary?: string;
188
- exists?: boolean;
189
- conekta_id?: string;
190
- dynamic_id?: number | string;
191
- dynamic_account?: string | number;
192
- dynamic_ref?: string;
193
- passport_id?: string;
194
- payments?: oClientPayments$1[];
195
- reference?: string;
196
- references?: oClientReferences[];
197
- token?: string;
198
- userReferences: oUserReference$1[];
199
- contractUrl?: string;
200
- status: string;
181
+ lastPayment?: number;
182
+ by: string;
183
+ active: boolean;
184
+ photo?: string;
201
185
  }
202
186
 
203
- interface oConektaResObjChargePaid {
204
- id: string;
205
- livemode: boolean;
206
- created_at: number;
207
- currency: string;
208
- payment_method: any;
209
- object: string;
210
- description: string;
211
- status: string;
212
- amount: number;
213
- paid_at: number;
214
- fee: number;
215
- customer_id: string;
216
- order_id: string;
217
- }
218
- interface oConektaChannel {
219
- segment: string;
220
- checkout_request_id: string;
221
- checkout_request_type: string;
222
- id: string;
223
- }
224
- interface oConektaCheckout {
225
- id: string;
226
- name: string;
227
- livemode: boolean;
228
- emails_sent: number;
229
- success_url: string;
230
- failure_url: string;
231
- payments_limit_count: number | null;
232
- paid_payments_count: number;
233
- status: string;
234
- type: string;
235
- recurrent: boolean;
236
- starts_at: number;
237
- expires_at: number;
238
- allowed_payment_methods: string[];
239
- needs_shipping_contact: boolean;
240
- redirection_time: number | null;
241
- metadata: object;
242
- can_not_expire: boolean;
243
- object: string;
244
- is_redirect_on_failure: boolean;
245
- slug: string;
246
- url: string;
187
+ declare enum eReferenceStatusRav {
188
+ "Disponible" = "Disponible",
189
+ "Active" = "Activo con credito vigente",
190
+ "ActiveEnded" = "Activo sin credito vigente",
191
+ "Registered" = "Registrado",
192
+ "NonRegistered" = "No registrado",
193
+ "NonVerified" = "No verificado",
194
+ "Rejected" = "Rechazado",
195
+ "Pending" = "Pendiente"
247
196
  }
248
- interface oConektaLineItem {
249
- name: string;
250
- description: string | null;
251
- unit_price: number;
252
- quantity: number;
253
- sku: string | null;
254
- tags: string[] | null;
255
- brand: string | null;
256
- type: string | null;
257
- object: string;
258
- id: string;
259
- parent_id: string;
260
- metadata: object;
261
- antifraud_info: object;
197
+ declare enum eAccountDynamicStatus {
198
+ "OK" = "Con cuenta activa",
199
+ "NOK" = "Sin cuenta activa"
262
200
  }
263
- interface oConektaLineItems {
264
- object: string;
265
- has_more: boolean;
266
- total: number;
267
- data: oConektaLineItem[];
201
+ declare enum eClientDynamicStatus {
202
+ "Active" = "Active",
203
+ "Pending" = "Pending",
204
+ "Accepted" = "Accepted",
205
+ "Rejected" = "Rejected",
206
+ "approved" = "Aprobado"
268
207
  }
269
- interface oConektaCharges {
270
- object: string;
271
- has_more: boolean;
272
- total: number;
273
- data: oConektaChargeData[];
208
+ declare const cClientDynamicStatus: {
209
+ Active: {
210
+ value: string;
211
+ viewValue: string;
212
+ };
213
+ Pending: {
214
+ value: string;
215
+ viewValue: string;
216
+ };
217
+ Accepted: {
218
+ value: string;
219
+ viewValue: string;
220
+ };
221
+ Rejected: {
222
+ value: string;
223
+ viewValue: string;
224
+ };
225
+ Idle: {
226
+ value: string;
227
+ viewValue: string;
228
+ };
229
+ };
230
+ declare enum eContractSteps {
231
+ "idle" = "idle",
232
+ "general" = "General",
233
+ "address" = "Address",
234
+ "device" = "Device",
235
+ "financial" = "Financial",
236
+ "app" = "App"
274
237
  }
275
- interface oConektaPaymentMethod {
276
- service_name: string;
238
+ type partialIDCData = Pick<IDCClient, "pii" | "client_type">;
239
+ interface IDCCharge {
277
240
  barcode_url: string;
278
- store: string;
279
- auth_code: number;
280
- object: string;
281
- type: string;
241
+ currency: string;
282
242
  expires_at: number;
283
- store_name: string;
243
+ object: string;
244
+ quantity: number;
284
245
  reference: string;
285
- cashier_id: string;
286
- clabe?: string;
246
+ service_name: string;
247
+ store_name: string;
248
+ type: string;
249
+ unit_price: number;
287
250
  }
288
- interface oConektaChargeData {
251
+ interface IDCGeneratedReference {
252
+ account: number;
253
+ active: number;
254
+ amount: number;
255
+ channel: string;
256
+ charge: IDCCharge;
257
+ company: number;
258
+ config?: any;
289
259
  id: string;
290
- livemode: boolean;
291
- created_at: number;
292
- currency: string;
293
- failure_code: string | null;
294
- failure_message: string | null;
295
- channel: oConektaChannel;
296
- payment_method: oConektaPaymentMethod;
297
- object: string;
298
- device_fingerprint: string;
299
- description: string;
300
- is_refundable: boolean;
301
- reference_id: string | null;
302
- status: string;
303
- amount: number;
304
- paid_at: number;
305
- customer_id: string;
306
- order_id: string;
307
- is_button_premia: boolean;
308
- refunds: string | null;
309
- }
310
- interface oConektaResObjOrderPaid {
311
- livemode: boolean;
312
- amount: number;
313
- currency: string;
314
- payment_status: string;
315
- amount_refunded: number;
316
- customer_info: oConektaCustomerInfo;
317
- object: string;
318
- id: string;
319
- metadata: any;
320
- is_refundable: boolean;
321
- created_at: number;
322
- updated_at: number;
323
- line_items: any;
324
- charges: any;
260
+ operation: number;
325
261
  }
326
- interface oConektaCustomerInfo {
327
- email: string;
328
- phone: string | null;
262
+ declare const cIDCDataPii: IDCDataPii;
263
+ /**
264
+ * Base customer for create customer with DynamiCore provider
265
+ * */
266
+ declare const cIDCCustomer: partialIDCData;
267
+ interface IDCDataPii {
268
+ icc: string;
269
+ rfc: string;
270
+ city: string;
271
+ curp: string;
272
+ sex: string;
273
+ days: string;
274
+ step: string;
275
+ ticket: string;
276
+ evidence: string;
277
+ proof_of_address: string;
278
+ score_interno: string;
279
+ imei: string;
329
280
  name: string;
330
- corporate: boolean;
331
- customer_id: string;
332
- object: string;
333
- customer_custom_reference: string | null;
334
- }
335
- interface oConektaCustomerInfo {
281
+ term: string;
282
+ brand: string;
336
283
  email: string;
337
- phone: string | null;
338
- name: string;
339
- corporate: boolean;
340
- customer_id: string;
341
- object: string;
342
- customer_custom_reference: string | null;
343
- }
344
- interface oConektaOrder {
345
- livemode: boolean;
346
- amount: number;
347
- currency: string;
348
- payment_status: string;
349
- amount_refunded: number;
350
- customer_info: oConektaCustomerInfo;
351
- shipping_contact: string | null;
352
- channel: oConektaChannel;
353
- fiscal_entity: string | null;
354
- object: string;
355
- id: string;
356
- metadata: object;
357
- is_refundable: boolean;
358
- created_at: number;
359
- updated_at: number;
360
- checkout: oConektaCheckout;
361
- is_button_premia: boolean;
362
- line_items: oConektaLineItems;
363
- shipping_lines: string | null;
364
- tax_lines: string | null;
365
- discount_lines: string | null;
366
- charges: oConektaCharges;
367
- }
368
- interface oConektaOrdersResponse {
369
- next_page_url: string | null;
370
- previous_page_url: string | null;
371
- has_more: boolean;
372
- object: string;
373
- data: oConektaOrder[];
284
+ model: string;
285
+ phone: string;
286
+ score: any;
287
+ state: string;
288
+ amount: string;
289
+ colony: string;
290
+ estado: any;
291
+ gender: string;
292
+ period: string;
293
+ street: string;
294
+ num_ext: string;
295
+ num_int: string;
296
+ zipcode: string;
297
+ financed: string;
298
+ house_is: string;
299
+ lastname: string;
300
+ type_job: string;
301
+ birthdate: string;
302
+ birthstate: string;
303
+ dicio_data: string;
304
+ dicio_step: any;
305
+ secondname: string;
306
+ nationality: string;
307
+ seller_name: string;
308
+ down_payment: string;
309
+ municipality: string;
310
+ score_no_hit: string;
311
+ study_degree: string;
312
+ branch_office: string;
313
+ identity_data: any;
314
+ interest_rate: string;
315
+ marital_status: string;
316
+ monthly_income: string;
317
+ motherlastname: string;
318
+ score_rcc_fico: string;
319
+ identity_selfie: any;
320
+ amount_by_period: string;
321
+ identity_id_back: any;
322
+ identity_id_front: any;
323
+ economic_dependents: string;
324
+ identity_id_request: any;
325
+ identity_verification: any;
326
+ is_address_ine_currently_live: string;
327
+ fotografia_del_cliente_con_el_equipo?: string;
374
328
  }
375
- /******************************************************* Order Create */
376
- interface oConektaNewOrderCustomerInfo {
377
- customer_id?: string;
378
- name?: string;
379
- email?: string;
380
- phone?: string;
381
- corporate?: any;
382
- date_of_birth?: any;
383
- national_id?: any;
384
- object?: any;
329
+ interface IDCAccountProps {
330
+ clabe: string | number;
331
+ pagaqui: string | number;
332
+ start_date: string;
333
+ expected_disbursed: number;
334
+ reference_pagaaqui: string;
335
+ principal_disbursed: number;
336
+ amount_commission_opening: number;
337
+ seller_name?: string;
385
338
  }
386
- interface oConektaNewOrderPymMethod {
387
- expires_at: number;
388
- type: string;
339
+ interface IDCAccountConfig {
340
+ contract: string;
341
+ credit_type: string;
342
+ periodicity: string;
343
+ installments: number;
344
+ interest_base: string;
345
+ interest_rate: number;
346
+ interest_arrears: number;
347
+ commission_opening: number;
348
+ financed_amount?: number;
389
349
  }
390
- interface oConektaNewOrderCharge {
391
- payment_method: oConektaNewOrderPymMethod;
350
+ interface IDCAccount {
351
+ id: number;
352
+ group: number;
353
+ company: number;
354
+ client: number;
355
+ created_at: string;
356
+ currency: string | number;
357
+ status: string;
358
+ properties: IDCAccountProps;
359
+ product: number;
360
+ enabled: string | number;
361
+ config: IDCAccountConfig;
392
362
  amount: number;
363
+ type: string;
364
+ identifier: string;
365
+ start_at: string;
366
+ el: any;
367
+ client_id: string | number;
393
368
  }
394
- interface oConektaNewOrderAntifraudInfo {
395
- newKey: string;
369
+ interface IDCTxnRowExtras {
370
+ reference: string;
371
+ transaction: string;
396
372
  }
397
- interface oConektaNewOrderLineItem {
398
- antifraud_info: oConektaNewOrderAntifraudInfo;
373
+ interface IDCTxnRow {
374
+ id: string;
375
+ created_at: string;
376
+ seq: number;
377
+ created: string;
378
+ last4: string;
379
+ response: any;
380
+ transaction_id: string;
381
+ contrapart: string;
382
+ reference: string;
383
+ external_reference: any;
384
+ extras: IDCTxnRowExtras;
399
385
  name: string;
400
- quantity: number;
401
- unit_price: number;
402
- }
403
- interface oConektaOrderCreate {
404
- customer_info: oConektaNewOrderCustomerInfo;
405
- charges: oConektaNewOrderCharge[];
406
- currency: string;
407
- line_items: oConektaNewOrderLineItem[];
386
+ debit: number;
387
+ credit: number;
388
+ amount: number;
408
389
  }
409
- interface oConektaNewOrder {
410
- data: oConektaOrderCreate;
411
- date?: number;
412
- id: string;
390
+ interface IDCTxnHeader {
391
+ name: string;
392
+ type: string;
393
+ label?: string;
394
+ money?: string;
395
+ format?: string;
413
396
  }
414
- interface oConektaOrderSpei {
415
- data: oConektaOrderCreate;
416
- date?: number;
417
- client: oClient;
397
+ interface IDCTxn {
398
+ rows: IDCTxnRow[];
399
+ headers: IDCTxnHeader[];
418
400
  }
419
- interface oConektaResPrevAttr {
401
+ interface IDCMntryCycle {
402
+ date: string;
403
+ late: number;
404
+ paid: number;
405
+ past: string | boolean;
406
+ cycle: string | number;
407
+ amount: number;
408
+ detail: any;
420
409
  status: string;
421
410
  }
422
- interface oConektaResData {
423
- object: oConektaResObjChargePaid | oConektaResObjOrderPaid;
424
- previous_attributes: oConektaResPrevAttr;
411
+ interface IDCMntryPymtAllPaidTotal {
412
+ amount: string;
413
+ cycles: string;
425
414
  }
426
- interface iConektaResObjChargePaidMethod {
427
- barcode_url: string;
428
- expires_at: number;
429
- object: string;
430
- reference: string;
431
- service_name: string;
432
- store: string;
433
- type: string;
415
+ interface IDCMntryPymtAll {
416
+ late: number;
417
+ total: number;
418
+ va_cp: number;
419
+ actual: number;
420
+ cycles: IDCMntryCycle[];
421
+ vencido: number;
422
+ paid_total: IDCMntryPymtAllPaidTotal;
423
+ total_amount: number;
434
424
  }
435
- interface iConektaResObjChargePaid {
436
- id: string;
437
- livemode: boolean;
438
- created_at: number;
439
- currency: string;
440
- payment_method: iConektaResObjChargePaidMethod;
441
- object: string;
442
- description: string;
443
- status: string;
444
- amount: number;
445
- paid_at: number;
446
- fee: number;
447
- customer_id: string;
448
- order_id: string;
425
+ interface IDCMntryPymtDue {
426
+ total: number;
427
+ cycles: IDCMntryCycle[];
428
+ new_cycle: IDCMntryCycle;
429
+ old_cycle: IDCMntryCycle;
430
+ total_amount: number;
449
431
  }
450
- interface iConektaResPrevAttr {
432
+ interface IDCMntryPymtOpen extends IDCMntryPymtDue {
433
+ }
434
+ interface IDCMntryPymtPaid {
435
+ total: number;
436
+ cycles: IDCMntryCycle[] | any[];
437
+ new_cycle: any;
438
+ old_cycle: any;
439
+ total_amount: number;
440
+ }
441
+ interface IDCMntryPymtDueTax {
442
+ expected: number;
443
+ }
444
+ interface IDCMntryPymtPymt {
445
+ paid: number;
446
+ expected: number;
447
+ }
448
+ interface IDCMntryPymtCal {
449
+ due: IDCMntryPymtDue;
450
+ date: string;
451
+ past: string;
452
+ cycle: number;
453
+ balance: number;
454
+ due_tax: IDCMntryPymtDueTax;
455
+ payment: IDCMntryPymtPymt;
456
+ interest: IDCMntryPymtPymt;
457
+ principal: IDCMntryPymtPymt;
458
+ payment_tax: IDCMntryPymtPymt;
459
+ interest_tax: IDCMntryPymtPymt;
460
+ final_balance: number;
461
+ payment_total: IDCMntryPymtPymt;
462
+ principal_tax: IDCMntryPymtPymt;
463
+ }
464
+ interface IDCMntryPymt {
465
+ all: IDCMntryPymtAll;
466
+ due: IDCMntryPymtDue;
467
+ open: IDCMntryPymtOpen;
468
+ paid: IDCMntryPymtPaid;
469
+ payment_calendar: IDCMntryPymtCal[];
470
+ }
471
+ interface IDCClient {
472
+ id: number;
473
+ company: number;
451
474
  status: string;
475
+ external_id: string;
476
+ pii: IDCDataPii;
477
+ client_type: number;
478
+ created_at: string;
479
+ pd: number;
480
+ username: string;
481
+ group: number;
452
482
  }
453
- interface iConektaResData {
454
- object: iConektaResObjChargePaid;
455
- previous_attributes: iConektaResPrevAttr;
483
+ interface IDCMsg {
484
+ code: number;
485
+ total: number;
486
+ data: IDCClient[] | IDCAccount[] | IDCTxn[] | IDCTxn | IDCMntryPymt | IDCCredit[] | IDCTransaction[];
487
+ transaction?: string;
456
488
  }
457
- interface oConektaRes {
458
- client_id?: string;
459
- data: iConektaResData;
460
- livemode: false;
461
- webhook_status: string;
462
- webhook_logs: any[];
463
- id: string;
464
- object: string;
465
- type: eConektaRes;
466
- created_at: number;
489
+ interface IDynamiCore {
490
+ status: string;
491
+ message: IDCMsg;
467
492
  }
468
- /******************************************************* New reference res */
469
- interface iConektaSources {
493
+ /**
494
+ * Interfaces for request (base)
495
+ * */
496
+ interface IDCClientObjFilter {
497
+ name: string;
498
+ filter: string[] | number[];
470
499
  type: string;
471
- expires_at?: number;
500
+ sort: string;
472
501
  }
473
- interface iOxxorecurrentSourcesData {
474
- id: string;
475
- object: string;
476
- type: string;
477
- provider: string;
478
- reference: string;
479
- barcode: string;
480
- barcode_url: string;
481
- expires_at: number;
482
- created_at: number;
483
- parent_id: string;
502
+ interface IDCClientQuery {
503
+ filters: IDCClientObjFilter[];
484
504
  }
485
- interface iOxxoRecurrentSources {
486
- object: string;
487
- has_more: boolean;
488
- total: number;
489
- data: iOxxorecurrentSourcesData[];
505
+ interface IDCClientPiiFilter {
506
+ limit: number;
507
+ page: number;
508
+ query: IDCClientQuery;
490
509
  }
491
- interface iConektaRecurrent {
492
- corporate: boolean;
493
- created_at: number;
494
- customer_reference?: string;
495
- email: string;
496
- id: string;
497
- livemode: boolean;
510
+ interface IDCOxxoRefItem {
498
511
  name: string;
499
- phone: string;
500
- object: string;
501
- custom_id: string;
502
- payment_sources: iOxxoRecurrentSources;
512
+ unit_price: number;
513
+ quantity: number;
503
514
  }
504
- interface oConektaOrderResponseSpei {
505
- livemode: boolean;
506
- amount: number;
507
- currency: string;
508
- payment_status: string;
509
- amount_refunded: number;
510
- split_payment: any;
511
- customer_info: CustomerInfoSpei;
512
- shipping_contact: any;
513
- channel: any;
514
- fiscal_entity: any;
515
- object: string;
516
- id: string;
517
- metadata: Record<string, any>;
518
- is_refundable: boolean;
519
- processing_mode: any;
520
- created_at: number;
521
- updated_at: number;
522
- line_items: LineItemListSpei;
523
- shipping_lines: any;
524
- tax_lines: any;
525
- discount_lines: any;
526
- charges: ChargeListSpei;
515
+ interface IDCOxxoRefPymtMth {
516
+ type: string;
527
517
  }
528
- interface CustomerInfoSpei {
529
- email: string;
530
- phone: string;
518
+ interface IDCOxxoRef {
519
+ account: number;
520
+ operation: number;
521
+ customer_info: IDCRefCustInfo;
522
+ items: IDCOxxoRefItem;
523
+ payment_method: IDCOxxoRefPymtMth;
524
+ }
525
+ /**
526
+ * DynamiCore Reference Interface
527
+ * */
528
+ interface IDCRefCustInfo {
531
529
  name: string;
532
- corporate: any;
533
- customer_id: any;
534
- date_of_birth: any;
535
- national_id: any;
536
- object: string;
530
+ email: string;
531
+ phone: string | number;
537
532
  }
538
- interface LineItemListSpei {
539
- object: string;
540
- has_more: boolean;
541
- total: number;
542
- data: LineItemSpei[];
533
+ /**
534
+ * DynamiCore Reference
535
+ * */
536
+ interface IDCRefCustInfo {
537
+ name: string;
538
+ email: string;
539
+ phone: string | number;
543
540
  }
544
- interface LineItemSpei {
541
+ interface IDCRefItems {
545
542
  name: string;
546
- description: any;
547
543
  unit_price: number;
548
544
  quantity: number;
549
- sku: any;
550
- tags: any;
551
- brand: any;
552
- type: any;
553
- object: string;
554
- id: string;
555
- parent_id: string;
556
- metadata: Record<string, any>;
557
- antifraud_info: {
558
- [key: string]: string;
559
- };
560
545
  }
561
- interface ChargeListSpei {
562
- object: string;
563
- has_more: boolean;
564
- total: number;
565
- data: ChargeSpei[];
546
+ interface IDCRefPymtMethod {
547
+ type: string;
566
548
  }
567
- interface ChargeSpei {
549
+ interface IDCNewReference {
568
550
  id: string;
569
- livemode: boolean;
570
- created_at: number;
571
- currency: string;
572
- failure_code: any;
573
- failure_message: any;
574
- monthly_installments: any;
575
- device_fingerprint: any;
576
- session_id: any;
577
- channel: any;
578
- payment_method: BankTransferPaymentSpei;
579
- object: string;
580
- description: string;
581
- is_refundable: boolean;
582
- reference_id: any;
583
- status: string;
584
- amount: number;
585
- paid_at: any;
586
- customer_id: string;
587
- order_id: string;
588
- refunds: any;
551
+ data: IDCReference;
552
+ date?: number;
589
553
  }
590
- interface BankTransferPaymentSpei {
591
- clabe: string;
592
- bank: string;
593
- issuing_account_holder_name: any;
594
- issuing_account_tax_id: any;
595
- issuing_account_bank: any;
596
- issuing_account_number: any;
597
- receiving_account_holder_name: any;
598
- receiving_account_tax_id: any;
599
- receiving_account_number: string;
600
- receiving_account_bank: string;
601
- reference_number: any;
602
- description: any;
603
- tracking_code: any;
604
- executed_at: any;
605
- payment_attempts: any[];
606
- object: string;
607
- type: string;
608
- expires_at: number;
554
+ interface IDCReference {
555
+ account: number;
556
+ operation: number;
557
+ customer_info: IDCRefCustInfo;
558
+ items: IDCRefItems;
559
+ payment_method: IDCRefPymtMethod;
609
560
  }
610
- interface oConektaMixOrder {
611
- id: string;
612
- name: string;
561
+ /**
562
+ * Interfaces to Credits
563
+ * */
564
+ interface IDCCreditProperties {
565
+ start_date: string;
566
+ principal_disbursed: number;
567
+ expected_disbursed: number;
568
+ amount_commission_opening: number;
569
+ }
570
+ interface IDCCreditConfig {
571
+ contract: string;
572
+ credit_type: string;
573
+ interest_rate: number;
574
+ installments: number;
575
+ periodicity: string;
576
+ interest_base: string;
577
+ commission_opening: number;
578
+ financed_amount: number;
579
+ interest_arrears: number;
580
+ }
581
+ interface IDCCredit {
582
+ id: number;
583
+ group: number;
584
+ company: number;
585
+ client: number;
586
+ created_at: string;
613
587
  currency: string;
588
+ status: string;
589
+ properties: IDCCreditProperties;
590
+ product: number;
591
+ enabled: string;
592
+ config: IDCCreditConfig;
614
593
  amount: number;
615
- created_at: number;
616
- updated_at: number;
617
- clabe?: string;
618
- reference?: string;
619
- debit?: string;
620
- credit?: string;
621
- payment_status: string;
622
- barcode_url?: string;
594
+ type: string;
595
+ identifier: null | string;
596
+ start_at: null | string;
597
+ }
598
+ /**
599
+ * Payments
600
+ * */
601
+ interface IDCPayment {
602
+ operation: number;
603
+ account: string;
604
+ date: string;
605
+ amount: number;
606
+ external_id?: string;
607
+ dst_account: string;
608
+ extras?: object;
609
+ reference: string;
610
+ }
611
+ declare const cIDCPayment: IDCPayment;
612
+ /**
613
+ * Transactions
614
+ * */
615
+ interface IDCTransaction {
616
+ data: [number, {
617
+ transaction: string;
618
+ }];
619
+ }
620
+ declare const cIDCCharge: IDCCharge;
621
+ declare const cIDCGeneratedReference: IDCGeneratedReference;
622
+ /**
623
+ * Common Factory Dynamic
624
+ * */
625
+ declare class FactoryDynamiCore {
626
+ static CreateReferenceBody(client: oClient, contract: oContract, dateTime?: number): IDCNewReference | null;
627
+ static CreateEmptyCustomer(): partialIDCData;
628
+ static CreateCustomerFromOClient(client: oClient, contract: oContract): partialIDCData;
629
+ static CreateDynamicCredit(client: oClient, contract: oContract, clientDynamic: IDCClient): Partial<IDCCredit> | null;
630
+ static CreatePayment(contract: oContract, clientDynamic: IDCAccount): IDCPayment;
631
+ static getNextDateTime(): string;
632
+ static getIsoDate(): string;
633
+ static FormPayment(contract: oContract, account: IDCAccount): {
634
+ amount: UntypedFormControl;
635
+ };
623
636
  }
624
637
 
625
- interface oDevice {
626
- device: string;
627
- id?: string;
628
- IMEI: string;
638
+ declare enum eRoles {
639
+ Administrator = "Administrator",
640
+ Seller = "Seller",
641
+ Consultant = "Consultant",
642
+ Client = "Client",
643
+ User = "User"
629
644
  }
630
645
 
631
- interface oFinancialProgress {
632
- id: string;
633
- amount: number;
646
+ type tyClientContract = oClient & oContract;
647
+ interface oContractMetrics {
648
+ total: number;
649
+ activated: number;
650
+ paused: number;
651
+ completed: number;
652
+ canceled: number;
653
+ late: number;
654
+ dynamicCount: number;
655
+ passportCount: number;
656
+ conektaCount: number;
657
+ rateTotal: number;
658
+ rateActive: number;
659
+ ratePaused: number;
660
+ rateComplete: number;
661
+ rateCanceled: number;
662
+ rateLate: number;
663
+ }
664
+ interface HasUnsavedChanges {
665
+ hasUnsavedChanges(): boolean;
666
+ }
667
+ interface oPaymentDates {
668
+ week: number;
634
669
  date: number;
635
670
  }
636
- interface oFinancial {
637
- total: number;
638
- initial: number;
639
- deadlines: oBusinessDeadlines;
640
- initDate?: number;
641
- finalDate?: number;
642
- weeklyPayment: number;
643
- dayCut?: number;
644
- finalPayment?: number;
645
- progress?: oFinancialProgress[];
646
- pendingOf: string[];
647
- interest: number;
648
- provider: string;
649
- financed: number;
671
+ interface iInformativeDialog {
672
+ message: string;
673
+ title: string;
674
+ cancel: string;
675
+ continue: string;
676
+ }
677
+ interface iSnackBarMessage {
678
+ message: string;
679
+ action: string;
680
+ config: MatSnackBarConfig;
681
+ }
682
+ interface iOptionsSelect {
683
+ viewValue: String;
684
+ value: String;
685
+ }
686
+ interface iSelect {
687
+ viewValue: eRoles;
688
+ value: eRoles;
689
+ }
690
+ interface iConfigUUID {
691
+ client_uuid?: string;
692
+ contract_uuid: string;
693
+ }
694
+ interface iPaymentDelay {
695
+ today: number;
650
696
  nextPayment: number;
651
- amount_commission_opening?: number;
652
- principal_disbursed?: number;
653
- expected_disbursed?: number;
654
- credit_type?: string;
655
- interest_rate?: number;
656
- commission_opening?: number;
657
- interest_arrears?: number;
658
- clabe?: string;
697
+ daysDelay: number;
698
+ late: boolean;
659
699
  }
660
700
 
661
- interface iContract {
662
- createContract(data: any, monthlyPay: number, finalPayment: number): Promise<void>;
663
- editContract(): void;
664
- verifyClient(clientCurp: string): Promise<void>;
665
- dataClient(client: string): void;
666
- referenceAdded(reference: number): Promise<void>;
701
+ declare const cClient: oClient;
702
+ interface oClientConekta {
703
+ ravcredit: oClient;
704
+ conekta: iConektaRecurrent;
667
705
  }
668
- interface oContract {
669
- id: string;
670
- dynamicAccount?: number;
671
- client: string;
672
- address: oAddress;
673
- device: oDevice;
674
- financial: oFinancial;
675
- createdAt?: number;
676
- lastPayment?: number;
677
- by: string;
706
+ declare const cUserReference: oUserReference;
707
+ declare const cClientConekta: oClientConekta;
708
+ interface iClientContract {
709
+ client: oClient;
710
+ contract: oContract;
711
+ }
712
+ declare const cClientContract: iClientContract;
713
+ declare class FactoryClient {
714
+ static CreateClientToConektaObj(data: oClient): any;
715
+ static CreateClientFromFormObj(data: any, client?: oClient): oClient;
716
+ static CreateClientConektaObj(data: oClient, finalDate: number): {
717
+ name: string;
718
+ email: string;
719
+ phone: string;
720
+ contract: string | undefined;
721
+ client_id: string;
722
+ payment_sources: iConektaSources[];
723
+ };
724
+ static MapperConektaClient(client: oClient, conekta: iConektaRecurrent): iClientContract;
725
+ static MapperTypeContCli_Client(_client: tyClientContract): oClient;
726
+ static MapperDynamicClient(dynamic: IDCClient, client: oClient, contract: oContract, clientDyn?: IDCClient, account?: IDCAccount): iClientContract;
727
+ static MapperFinancialContract(contract: oContract, account: IDCAccount): oFinancial;
728
+ static CheckEmail: (email: string) => boolean;
729
+ }
730
+ declare enum eIdentityTypes {
731
+ SELFIE = "SELFIE",
732
+ IDENTITY_FRONT = "IDENTITY_FRONT",
733
+ IDENTITY_BACK = "IDENTITY_BACK",
734
+ PASSPORT_FRONT = "PASSPORT_FRONT",
735
+ PASSPORT_BACK = "PASSPORT_BACK",
736
+ SERVICE = "SERVICE",
737
+ WITH_DEVICE = "WITH_DEVICE"
738
+ }
739
+
740
+ interface oMediaIdentity {
741
+ url: string;
742
+ name: eIdentityTypes;
678
743
  active: boolean;
679
- photo?: string;
744
+ metadata: any;
745
+ uploaded: number;
746
+ }
747
+
748
+ interface oScoreAddress {
749
+ CP: string;
750
+ ciudad: string;
751
+ estado: string;
752
+ domicilio: string;
753
+ coloniaPoblacion: string;
754
+ delegacionMunicipio: string;
755
+ }
756
+ interface oScoreHit {
757
+ valor: string;
758
+ }
759
+ interface oScoreNoHit {
760
+ date: string;
761
+ score: string;
762
+ message: string;
763
+ evaluation: string;
764
+ }
765
+ interface oScoreGeneral {
766
+ nombres: string;
767
+ apellidoMaterno: string;
768
+ apellidoPaterno: string;
769
+ fechaNacimiento: string;
770
+ }
771
+ interface oScore {
772
+ domicilio: oScoreAddress;
773
+ scoreNoHit: oScoreHit;
774
+ folioConsulta: string;
775
+ datosGenerales: oScoreGeneral;
776
+ }
777
+ interface oScoreReference {
778
+ name: string;
779
+ score: number;
780
+ }
781
+
782
+ declare enum eVerificationStep {
783
+ IDLE = "IDLE",
784
+ ERROR = "ERROR",
785
+ COMPLETED = "COMPLETED",
786
+ IN_PROGRESS = "IN_PROGRESS",
787
+ INVALID = "INVALID",
788
+ SUSPENDED = "SUSPENDED",
789
+ CANCELLED = "CANCELLED"
790
+ }
791
+ declare enum eVerificationStatus {
792
+ APPROVED = "approved",
793
+ CANCELLED = "cancelled"
680
794
  }
681
-
682
- declare enum eReferenceStatusRav {
683
- "Disponible" = "Disponible",
684
- "Active" = "Activo con credito vigente",
685
- "ActiveEnded" = "Activo sin credito vigente",
686
- "Registered" = "Registrado",
687
- "NonRegistered" = "No registrado",
688
- "NonVerified" = "No verificado",
689
- "Rejected" = "Rechazado",
690
- "Pending" = "Pendiente"
795
+ declare enum eVerificationChannel {
796
+ SMS = "sms",
797
+ WHATSAPP = "whatsapp",
798
+ CALL = "call",
799
+ EMAIL = "email",
800
+ SNA = "sna"
691
801
  }
692
- declare enum eAccountDynamicStatus {
693
- "OK" = "Con cuenta activa",
694
- "NOK" = "Sin cuenta activa"
802
+
803
+ declare enum eProcessStatus {
804
+ IDLE = "IDLE",
805
+ ERROR = "ERROR",
806
+ CANCELED = "CANCELED",
807
+ COMPLETE = "COMPLETE",
808
+ PROCESSING = "PROCESSING",
809
+ WAITING = "WAITING"
695
810
  }
696
- declare enum eClientDynamicStatus {
697
- "Active" = "Active",
698
- "Pending" = "Pending",
699
- "Accepted" = "Accepted",
700
- "Rejected" = "Rejected",
701
- "approved" = "Aprobado"
811
+ declare enum eRequestVerb {
812
+ POST = "POST",
813
+ GET = "GET",
814
+ PATCH = "PATCH",
815
+ DELETE = "DELETE"
702
816
  }
703
- declare const cClientDynamicStatus: {
704
- Active: {
705
- value: string;
706
- viewValue: string;
707
- };
708
- Pending: {
709
- value: string;
710
- viewValue: string;
711
- };
712
- Accepted: {
713
- value: string;
714
- viewValue: string;
715
- };
716
- Rejected: {
717
- value: string;
718
- viewValue: string;
719
- };
720
- Idle: {
721
- value: string;
722
- viewValue: string;
723
- };
724
- };
725
- declare enum eContractSteps {
726
- "idle" = "idle",
727
- "general" = "General",
728
- "address" = "Address",
729
- "device" = "Device",
730
- "financial" = "Financial",
731
- "app" = "App"
817
+ declare enum eGCActions {
818
+ Create = "Create",
819
+ Update = "Update",
820
+ Remove = "Remove",
821
+ LoginTime = "UpdateLogIn"
732
822
  }
733
- type partialIDCData = Pick<IDCClient, "pii" | "client_type">;
734
- interface IDCCharge {
735
- barcode_url: string;
736
- currency: string;
737
- expires_at: number;
738
- object: string;
739
- quantity: number;
740
- reference: string;
741
- service_name: string;
742
- store_name: string;
743
- type: string;
744
- unit_price: number;
823
+ declare enum eOrderType {
824
+ DYNAMIC_REFERENCE = "DYNAMIC_REFERENCE",
825
+ DYNAMIC_SPEI = "DYNAMIC_SPEI",
826
+ CONEKTA_REFERENCE = "CONEKTA_REFERENCE",
827
+ CONEKTA_SPEI = "CONEKTA_SPEI",
828
+ PASSPORT_REFERENCE = "PASSPORT_REFERENCE"
745
829
  }
746
- interface IDCGeneratedReference {
747
- account: number;
748
- active: number;
830
+
831
+ interface oClientPayments$1 {
832
+ date: number;
833
+ dayPayment: number;
749
834
  amount: number;
750
- channel: string;
751
- charge: IDCCharge;
752
- company: number;
753
- config?: any;
754
835
  id: string;
755
- operation: number;
756
836
  }
757
- declare const cIDCDataPii: IDCDataPii;
758
- /**
759
- * Base customer for create customer with DynamiCore provider
760
- * */
761
- declare const cIDCCustomer: partialIDCData;
762
- interface IDCDataPii {
763
- icc: string;
764
- rfc: string;
765
- city: string;
766
- curp: string;
767
- sex: string;
768
- days: string;
769
- step: string;
770
- ticket: string;
771
- evidence: string;
772
- proof_of_address: string;
773
- score_interno: string;
774
- imei: string;
837
+ interface oUserReference$1 {
775
838
  name: string;
776
- term: string;
777
- brand: string;
778
- email: string;
779
- model: string;
780
839
  phone: string;
781
- score: any;
782
- state: string;
783
- amount: string;
784
- colony: string;
785
- estado: any;
786
- gender: string;
787
- period: string;
788
- street: string;
789
- num_ext: string;
790
- num_int: string;
791
- zipcode: string;
792
- financed: string;
793
- house_is: string;
794
- lastname: string;
795
- type_job: string;
796
- birthdate: string;
797
- birthstate: string;
798
- dicio_data: string;
799
- dicio_step: any;
800
- secondname: string;
801
- nationality: string;
802
- seller_name: string;
803
- down_payment: string;
804
- municipality: string;
805
- score_no_hit: string;
806
- study_degree: string;
807
- branch_office: string;
808
- identity_data: any;
809
- interest_rate: string;
810
- marital_status: string;
811
- monthly_income: string;
812
- motherlastname: string;
813
- score_rcc_fico: string;
814
- identity_selfie: any;
815
- amount_by_period: string;
816
- identity_id_back: any;
817
- identity_id_front: any;
818
- economic_dependents: string;
819
- identity_id_request: any;
820
- identity_verification: any;
821
- is_address_ine_currently_live: string;
822
- fotografia_del_cliente_con_el_equipo?: string;
840
+ relationship: string;
823
841
  }
824
- interface IDCAccountProps {
825
- clabe: string | number;
826
- pagaqui: string | number;
827
- start_date: string;
828
- expected_disbursed: number;
829
- reference_pagaaqui: string;
830
- principal_disbursed: number;
831
- amount_commission_opening: number;
832
- seller_name?: string;
842
+ interface oClientReferences {
843
+ date?: number;
844
+ amount?: number;
845
+ id: string;
846
+ url?: string;
847
+ type?: eOrderType;
833
848
  }
834
- interface IDCAccountConfig {
835
- contract: string;
836
- credit_type: string;
837
- periodicity: string;
838
- installments: number;
839
- interest_base: string;
840
- interest_rate: number;
841
- interest_arrears: number;
842
- commission_opening: number;
843
- financed_amount?: number;
849
+ interface oClientV2 extends oClient {
850
+ score: oScore;
851
+ seller_id?: string;
852
+ scoreNoHit?: oScoreNoHit;
853
+ study_degree?: string;
854
+ mediaSelfie?: oMediaIdentity;
855
+ mediaAddress?: oMediaIdentity;
856
+ mediaWithDevice?: oMediaIdentity;
857
+ mediaSelfieBack?: oMediaIdentity;
858
+ identityVerification?: eVerificationStep;
844
859
  }
845
- interface IDCAccount {
846
- id: number;
847
- group: number;
848
- company: number;
849
- client: number;
850
- created_at: string;
851
- currency: string | number;
852
- status: string;
853
- properties: IDCAccountProps;
854
- product: number;
855
- enabled: string | number;
856
- config: IDCAccountConfig;
860
+
861
+ interface oClientPayments {
862
+ date: number;
863
+ dayPayment: number;
857
864
  amount: number;
858
- type: string;
859
- identifier: string;
860
- start_at: string;
861
- el: any;
862
- client_id: string | number;
865
+ id: string;
863
866
  }
864
- interface IDCTxnRowExtras {
865
- reference: string;
866
- transaction: string;
867
+ interface oUserReference {
868
+ name: string;
869
+ phone: string;
870
+ relationship: string;
871
+ }
872
+ interface oClient {
873
+ id: string;
874
+ name: string;
875
+ username: string;
876
+ password?: string;
877
+ email: string;
878
+ phone: string;
879
+ curp: string;
880
+ contract?: string;
881
+ createdAt?: number;
882
+ lastLogin?: number;
883
+ contract_temporary?: string;
884
+ exists?: boolean;
885
+ conekta_id?: string;
886
+ dynamic_id?: number | string;
887
+ dynamic_account?: string | number;
888
+ dynamic_ref?: string;
889
+ passport_id?: string;
890
+ payments?: oClientPayments[];
891
+ reference?: string;
892
+ references?: oClientReferences[];
893
+ token?: string;
894
+ userReferences: oUserReference[];
895
+ contractUrl?: string;
896
+ status: string;
867
897
  }
868
- interface IDCTxnRow {
898
+
899
+ interface oConektaResObjChargePaid {
869
900
  id: string;
870
- created_at: string;
871
- seq: number;
872
- created: string;
873
- last4: string;
874
- response: any;
875
- transaction_id: string;
876
- contrapart: string;
877
- reference: string;
878
- external_reference: any;
879
- extras: IDCTxnRowExtras;
880
- name: string;
881
- debit: number;
882
- credit: number;
901
+ livemode: boolean;
902
+ created_at: number;
903
+ currency: string;
904
+ payment_method: any;
905
+ object: string;
906
+ description: string;
907
+ status: string;
883
908
  amount: number;
909
+ paid_at: number;
910
+ fee: number;
911
+ customer_id: string;
912
+ order_id: string;
884
913
  }
885
- interface IDCTxnHeader {
886
- name: string;
887
- type: string;
888
- label?: string;
889
- money?: string;
890
- format?: string;
891
- }
892
- interface IDCTxn {
893
- rows: IDCTxnRow[];
894
- headers: IDCTxnHeader[];
914
+ interface oConektaChannel {
915
+ segment: string;
916
+ checkout_request_id: string;
917
+ checkout_request_type: string;
918
+ id: string;
895
919
  }
896
- interface IDCMntryCycle {
897
- date: string;
898
- late: number;
899
- paid: number;
900
- past: string | boolean;
901
- cycle: string | number;
902
- amount: number;
903
- detail: any;
920
+ interface oConektaCheckout {
921
+ id: string;
922
+ name: string;
923
+ livemode: boolean;
924
+ emails_sent: number;
925
+ success_url: string;
926
+ failure_url: string;
927
+ payments_limit_count: number | null;
928
+ paid_payments_count: number;
904
929
  status: string;
930
+ type: string;
931
+ recurrent: boolean;
932
+ starts_at: number;
933
+ expires_at: number;
934
+ allowed_payment_methods: string[];
935
+ needs_shipping_contact: boolean;
936
+ redirection_time: number | null;
937
+ metadata: object;
938
+ can_not_expire: boolean;
939
+ object: string;
940
+ is_redirect_on_failure: boolean;
941
+ slug: string;
942
+ url: string;
905
943
  }
906
- interface IDCMntryPymtAllPaidTotal {
907
- amount: string;
908
- cycles: string;
909
- }
910
- interface IDCMntryPymtAll {
911
- late: number;
912
- total: number;
913
- va_cp: number;
914
- actual: number;
915
- cycles: IDCMntryCycle[];
916
- vencido: number;
917
- paid_total: IDCMntryPymtAllPaidTotal;
918
- total_amount: number;
944
+ interface oConektaLineItem {
945
+ name: string;
946
+ description: string | null;
947
+ unit_price: number;
948
+ quantity: number;
949
+ sku: string | null;
950
+ tags: string[] | null;
951
+ brand: string | null;
952
+ type: string | null;
953
+ object: string;
954
+ id: string;
955
+ parent_id: string;
956
+ metadata: object;
957
+ antifraud_info: object;
919
958
  }
920
- interface IDCMntryPymtDue {
959
+ interface oConektaLineItems {
960
+ object: string;
961
+ has_more: boolean;
921
962
  total: number;
922
- cycles: IDCMntryCycle[];
923
- new_cycle: IDCMntryCycle;
924
- old_cycle: IDCMntryCycle;
925
- total_amount: number;
926
- }
927
- interface IDCMntryPymtOpen extends IDCMntryPymtDue {
963
+ data: oConektaLineItem[];
928
964
  }
929
- interface IDCMntryPymtPaid {
965
+ interface oConektaCharges {
966
+ object: string;
967
+ has_more: boolean;
930
968
  total: number;
931
- cycles: IDCMntryCycle[] | any[];
932
- new_cycle: any;
933
- old_cycle: any;
934
- total_amount: number;
935
- }
936
- interface IDCMntryPymtDueTax {
937
- expected: number;
938
- }
939
- interface IDCMntryPymtPymt {
940
- paid: number;
941
- expected: number;
942
- }
943
- interface IDCMntryPymtCal {
944
- due: IDCMntryPymtDue;
945
- date: string;
946
- past: string;
947
- cycle: number;
948
- balance: number;
949
- due_tax: IDCMntryPymtDueTax;
950
- payment: IDCMntryPymtPymt;
951
- interest: IDCMntryPymtPymt;
952
- principal: IDCMntryPymtPymt;
953
- payment_tax: IDCMntryPymtPymt;
954
- interest_tax: IDCMntryPymtPymt;
955
- final_balance: number;
956
- payment_total: IDCMntryPymtPymt;
957
- principal_tax: IDCMntryPymtPymt;
969
+ data: oConektaChargeData[];
958
970
  }
959
- interface IDCMntryPymt {
960
- all: IDCMntryPymtAll;
961
- due: IDCMntryPymtDue;
962
- open: IDCMntryPymtOpen;
963
- paid: IDCMntryPymtPaid;
964
- payment_calendar: IDCMntryPymtCal[];
971
+ interface oConektaPaymentMethod {
972
+ service_name: string;
973
+ barcode_url: string;
974
+ store: string;
975
+ auth_code: number;
976
+ object: string;
977
+ type: string;
978
+ expires_at: number;
979
+ store_name: string;
980
+ reference: string;
981
+ cashier_id: string;
982
+ clabe?: string;
965
983
  }
966
- interface IDCClient {
967
- id: number;
968
- company: number;
984
+ interface oConektaChargeData {
985
+ id: string;
986
+ livemode: boolean;
987
+ created_at: number;
988
+ currency: string;
989
+ failure_code: string | null;
990
+ failure_message: string | null;
991
+ channel: oConektaChannel;
992
+ payment_method: oConektaPaymentMethod;
993
+ object: string;
994
+ device_fingerprint: string;
995
+ description: string;
996
+ is_refundable: boolean;
997
+ reference_id: string | null;
969
998
  status: string;
970
- external_id: string;
971
- pii: IDCDataPii;
972
- client_type: number;
973
- created_at: string;
974
- pd: number;
975
- username: string;
976
- group: number;
999
+ amount: number;
1000
+ paid_at: number;
1001
+ customer_id: string;
1002
+ order_id: string;
1003
+ is_button_premia: boolean;
1004
+ refunds: string | null;
977
1005
  }
978
- interface IDCMsg {
979
- code: number;
980
- total: number;
981
- data: IDCClient[] | IDCAccount[] | IDCTxn[] | IDCTxn | IDCMntryPymt | IDCCredit[] | IDCTransaction[];
982
- transaction?: string;
1006
+ interface oConektaResObjOrderPaid {
1007
+ livemode: boolean;
1008
+ amount: number;
1009
+ currency: string;
1010
+ payment_status: string;
1011
+ amount_refunded: number;
1012
+ customer_info: oConektaCustomerInfo;
1013
+ object: string;
1014
+ id: string;
1015
+ metadata: any;
1016
+ is_refundable: boolean;
1017
+ created_at: number;
1018
+ updated_at: number;
1019
+ line_items: any;
1020
+ charges: any;
983
1021
  }
984
- interface IDynamiCore {
985
- status: string;
986
- message: IDCMsg;
1022
+ interface oConektaCustomerInfo {
1023
+ email: string;
1024
+ phone: string | null;
1025
+ name: string;
1026
+ corporate: boolean;
1027
+ customer_id: string;
1028
+ object: string;
1029
+ customer_custom_reference: string | null;
987
1030
  }
988
- /**
989
- * Interfaces for request (base)
990
- * */
991
- interface IDCClientObjFilter {
1031
+ interface oConektaCustomerInfo {
1032
+ email: string;
1033
+ phone: string | null;
992
1034
  name: string;
993
- filter: string[] | number[];
994
- type: string;
995
- sort: string;
1035
+ corporate: boolean;
1036
+ customer_id: string;
1037
+ object: string;
1038
+ customer_custom_reference: string | null;
996
1039
  }
997
- interface IDCClientQuery {
998
- filters: IDCClientObjFilter[];
1040
+ interface oConektaOrder {
1041
+ livemode: boolean;
1042
+ amount: number;
1043
+ currency: string;
1044
+ payment_status: string;
1045
+ amount_refunded: number;
1046
+ customer_info: oConektaCustomerInfo;
1047
+ shipping_contact: string | null;
1048
+ channel: oConektaChannel;
1049
+ fiscal_entity: string | null;
1050
+ object: string;
1051
+ id: string;
1052
+ metadata: object;
1053
+ is_refundable: boolean;
1054
+ created_at: number;
1055
+ updated_at: number;
1056
+ checkout: oConektaCheckout;
1057
+ is_button_premia: boolean;
1058
+ line_items: oConektaLineItems;
1059
+ shipping_lines: string | null;
1060
+ tax_lines: string | null;
1061
+ discount_lines: string | null;
1062
+ charges: oConektaCharges;
999
1063
  }
1000
- interface IDCClientPiiFilter {
1001
- limit: number;
1002
- page: number;
1003
- query: IDCClientQuery;
1064
+ interface oConektaOrdersResponse {
1065
+ next_page_url: string | null;
1066
+ previous_page_url: string | null;
1067
+ has_more: boolean;
1068
+ object: string;
1069
+ data: oConektaOrder[];
1004
1070
  }
1005
- interface IDCOxxoRefItem {
1006
- name: string;
1007
- unit_price: number;
1008
- quantity: number;
1071
+ /******************************************************* Order Create */
1072
+ interface oConektaNewOrderCustomerInfo {
1073
+ customer_id?: string;
1074
+ name?: string;
1075
+ email?: string;
1076
+ phone?: string;
1077
+ corporate?: any;
1078
+ date_of_birth?: any;
1079
+ national_id?: any;
1080
+ object?: any;
1009
1081
  }
1010
- interface IDCOxxoRefPymtMth {
1082
+ interface oConektaNewOrderPymMethod {
1083
+ expires_at: number;
1011
1084
  type: string;
1012
1085
  }
1013
- interface IDCOxxoRef {
1014
- account: number;
1015
- operation: number;
1016
- customer_info: IDCRefCustInfo;
1017
- items: IDCOxxoRefItem;
1018
- payment_method: IDCOxxoRefPymtMth;
1019
- }
1020
- /**
1021
- * DynamiCore Reference Interface
1022
- * */
1023
- interface IDCRefCustInfo {
1024
- name: string;
1025
- email: string;
1026
- phone: string | number;
1086
+ interface oConektaNewOrderCharge {
1087
+ payment_method: oConektaNewOrderPymMethod;
1088
+ amount: number;
1027
1089
  }
1028
- /**
1029
- * DynamiCore Reference
1030
- * */
1031
- interface IDCRefCustInfo {
1032
- name: string;
1033
- email: string;
1034
- phone: string | number;
1090
+ interface oConektaNewOrderAntifraudInfo {
1091
+ newKey: string;
1035
1092
  }
1036
- interface IDCRefItems {
1093
+ interface oConektaNewOrderLineItem {
1094
+ antifraud_info: oConektaNewOrderAntifraudInfo;
1037
1095
  name: string;
1038
- unit_price: number;
1039
1096
  quantity: number;
1097
+ unit_price: number;
1040
1098
  }
1041
- interface IDCRefPymtMethod {
1042
- type: string;
1099
+ interface oConektaOrderCreate {
1100
+ customer_info: oConektaNewOrderCustomerInfo;
1101
+ charges: oConektaNewOrderCharge[];
1102
+ currency: string;
1103
+ line_items: oConektaNewOrderLineItem[];
1043
1104
  }
1044
- interface IDCNewReference {
1105
+ interface oConektaNewOrder {
1106
+ data: oConektaOrderCreate;
1107
+ date?: number;
1045
1108
  id: string;
1046
- data: IDCReference;
1109
+ }
1110
+ interface oConektaOrderSpei {
1111
+ data: oConektaOrderCreate;
1047
1112
  date?: number;
1113
+ client: oClient;
1048
1114
  }
1049
- interface IDCReference {
1050
- account: number;
1051
- operation: number;
1052
- customer_info: IDCRefCustInfo;
1053
- items: IDCRefItems;
1054
- payment_method: IDCRefPymtMethod;
1115
+ interface oConektaResPrevAttr {
1116
+ status: string;
1055
1117
  }
1056
- /**
1057
- * Interfaces to Credits
1058
- * */
1059
- interface IDCCreditProperties {
1060
- start_date: string;
1061
- principal_disbursed: number;
1062
- expected_disbursed: number;
1063
- amount_commission_opening: number;
1118
+ interface oConektaResData {
1119
+ object: oConektaResObjChargePaid | oConektaResObjOrderPaid;
1120
+ previous_attributes: oConektaResPrevAttr;
1064
1121
  }
1065
- interface IDCCreditConfig {
1066
- contract: string;
1067
- credit_type: string;
1068
- interest_rate: number;
1069
- installments: number;
1070
- periodicity: string;
1071
- interest_base: string;
1072
- commission_opening: number;
1073
- financed_amount: number;
1074
- interest_arrears: number;
1122
+ interface iConektaResObjChargePaidMethod {
1123
+ barcode_url: string;
1124
+ expires_at: number;
1125
+ object: string;
1126
+ reference: string;
1127
+ service_name: string;
1128
+ store: string;
1129
+ type: string;
1075
1130
  }
1076
- interface IDCCredit {
1077
- id: number;
1078
- group: number;
1079
- company: number;
1080
- client: number;
1081
- created_at: string;
1131
+ interface iConektaResObjChargePaid {
1132
+ id: string;
1133
+ livemode: boolean;
1134
+ created_at: number;
1082
1135
  currency: string;
1136
+ payment_method: iConektaResObjChargePaidMethod;
1137
+ object: string;
1138
+ description: string;
1083
1139
  status: string;
1084
- properties: IDCCreditProperties;
1085
- product: number;
1086
- enabled: string;
1087
- config: IDCCreditConfig;
1088
1140
  amount: number;
1089
- type: string;
1090
- identifier: null | string;
1091
- start_at: null | string;
1141
+ paid_at: number;
1142
+ fee: number;
1143
+ customer_id: string;
1144
+ order_id: string;
1092
1145
  }
1093
- /**
1094
- * Payments
1095
- * */
1096
- interface IDCPayment {
1097
- operation: number;
1098
- account: string;
1099
- date: string;
1100
- amount: number;
1101
- external_id?: string;
1102
- dst_account: string;
1103
- extras?: object;
1104
- reference: string;
1146
+ interface iConektaResPrevAttr {
1147
+ status: string;
1105
1148
  }
1106
- declare const cIDCPayment: IDCPayment;
1107
- /**
1108
- * Transactions
1109
- * */
1110
- interface IDCTransaction {
1111
- data: [number, {
1112
- transaction: string;
1113
- }];
1149
+ interface iConektaResData {
1150
+ object: iConektaResObjChargePaid;
1151
+ previous_attributes: iConektaResPrevAttr;
1114
1152
  }
1115
- declare const cIDCCharge: IDCCharge;
1116
- declare const cIDCGeneratedReference: IDCGeneratedReference;
1117
- /**
1118
- * Common Factory Dynamic
1119
- * */
1120
- declare class FactoryDynamiCore {
1121
- static CreateReferenceBody(client: oClient, contract: oContract, dateTime?: number): IDCNewReference | null;
1122
- static CreateEmptyCustomer(): partialIDCData;
1123
- static CreateCustomerFromOClient(client: oClient, contract: oContract): partialIDCData;
1124
- static CreateDynamicCredit(client: oClient, contract: oContract, clientDynamic: IDCClient): Partial<IDCCredit> | null;
1125
- static CreatePayment(contract: oContract, clientDynamic: IDCAccount): IDCPayment;
1126
- static getNextDateTime(): string;
1127
- static getIsoDate(): string;
1128
- static FormPayment(contract: oContract, account: IDCAccount): {
1129
- amount: UntypedFormControl;
1130
- };
1153
+ interface oConektaRes {
1154
+ client_id?: string;
1155
+ data: iConektaResData;
1156
+ livemode: false;
1157
+ webhook_status: string;
1158
+ webhook_logs: any[];
1159
+ id: string;
1160
+ object: string;
1161
+ type: eConektaRes;
1162
+ created_at: number;
1131
1163
  }
1132
-
1133
- declare enum eRoles {
1134
- Administrator = "Administrator",
1135
- Seller = "Seller",
1136
- Consultant = "Consultant",
1137
- Client = "Client",
1138
- User = "User"
1164
+ /******************************************************* New reference res */
1165
+ interface iConektaSources {
1166
+ type: string;
1167
+ expires_at?: number;
1139
1168
  }
1140
-
1141
- type tyClientContract = oClient & oContract;
1142
- interface oContractMetrics {
1169
+ interface iOxxorecurrentSourcesData {
1170
+ id: string;
1171
+ object: string;
1172
+ type: string;
1173
+ provider: string;
1174
+ reference: string;
1175
+ barcode: string;
1176
+ barcode_url: string;
1177
+ expires_at: number;
1178
+ created_at: number;
1179
+ parent_id: string;
1180
+ }
1181
+ interface iOxxoRecurrentSources {
1182
+ object: string;
1183
+ has_more: boolean;
1143
1184
  total: number;
1144
- activated: number;
1145
- paused: number;
1146
- completed: number;
1147
- canceled: number;
1148
- late: number;
1149
- dynamicCount: number;
1150
- passportCount: number;
1151
- conektaCount: number;
1152
- rateTotal: number;
1153
- rateActive: number;
1154
- ratePaused: number;
1155
- rateComplete: number;
1156
- rateCanceled: number;
1157
- rateLate: number;
1185
+ data: iOxxorecurrentSourcesData[];
1158
1186
  }
1159
- interface HasUnsavedChanges {
1160
- hasUnsavedChanges(): boolean;
1187
+ interface iConektaRecurrent {
1188
+ corporate: boolean;
1189
+ created_at: number;
1190
+ customer_reference?: string;
1191
+ email: string;
1192
+ id: string;
1193
+ livemode: boolean;
1194
+ name: string;
1195
+ phone: string;
1196
+ object: string;
1197
+ custom_id: string;
1198
+ payment_sources: iOxxoRecurrentSources;
1199
+ }
1200
+ interface oConektaOrderResponseSpei {
1201
+ livemode: boolean;
1202
+ amount: number;
1203
+ currency: string;
1204
+ payment_status: string;
1205
+ amount_refunded: number;
1206
+ split_payment: any;
1207
+ customer_info: CustomerInfoSpei;
1208
+ shipping_contact: any;
1209
+ channel: any;
1210
+ fiscal_entity: any;
1211
+ object: string;
1212
+ id: string;
1213
+ metadata: Record<string, any>;
1214
+ is_refundable: boolean;
1215
+ processing_mode: any;
1216
+ created_at: number;
1217
+ updated_at: number;
1218
+ line_items: LineItemListSpei;
1219
+ shipping_lines: any;
1220
+ tax_lines: any;
1221
+ discount_lines: any;
1222
+ charges: ChargeListSpei;
1161
1223
  }
1162
- interface oPaymentDates {
1163
- week: number;
1164
- date: number;
1224
+ interface CustomerInfoSpei {
1225
+ email: string;
1226
+ phone: string;
1227
+ name: string;
1228
+ corporate: any;
1229
+ customer_id: any;
1230
+ date_of_birth: any;
1231
+ national_id: any;
1232
+ object: string;
1165
1233
  }
1166
- interface iInformativeDialog {
1167
- message: string;
1168
- title: string;
1169
- cancel: string;
1170
- continue: string;
1234
+ interface LineItemListSpei {
1235
+ object: string;
1236
+ has_more: boolean;
1237
+ total: number;
1238
+ data: LineItemSpei[];
1171
1239
  }
1172
- interface iSnackBarMessage {
1173
- message: string;
1174
- action: string;
1175
- config: MatSnackBarConfig;
1240
+ interface LineItemSpei {
1241
+ name: string;
1242
+ description: any;
1243
+ unit_price: number;
1244
+ quantity: number;
1245
+ sku: any;
1246
+ tags: any;
1247
+ brand: any;
1248
+ type: any;
1249
+ object: string;
1250
+ id: string;
1251
+ parent_id: string;
1252
+ metadata: Record<string, any>;
1253
+ antifraud_info: {
1254
+ [key: string]: string;
1255
+ };
1176
1256
  }
1177
- interface iOptionsSelect {
1178
- viewValue: String;
1179
- value: String;
1257
+ interface ChargeListSpei {
1258
+ object: string;
1259
+ has_more: boolean;
1260
+ total: number;
1261
+ data: ChargeSpei[];
1180
1262
  }
1181
- interface iSelect {
1182
- viewValue: eRoles;
1183
- value: eRoles;
1263
+ interface ChargeSpei {
1264
+ id: string;
1265
+ livemode: boolean;
1266
+ created_at: number;
1267
+ currency: string;
1268
+ failure_code: any;
1269
+ failure_message: any;
1270
+ monthly_installments: any;
1271
+ device_fingerprint: any;
1272
+ session_id: any;
1273
+ channel: any;
1274
+ payment_method: BankTransferPaymentSpei;
1275
+ object: string;
1276
+ description: string;
1277
+ is_refundable: boolean;
1278
+ reference_id: any;
1279
+ status: string;
1280
+ amount: number;
1281
+ paid_at: any;
1282
+ customer_id: string;
1283
+ order_id: string;
1284
+ refunds: any;
1184
1285
  }
1185
- interface iConfigUUID {
1186
- client_uuid?: string;
1187
- contract_uuid: string;
1286
+ interface BankTransferPaymentSpei {
1287
+ clabe: string;
1288
+ bank: string;
1289
+ issuing_account_holder_name: any;
1290
+ issuing_account_tax_id: any;
1291
+ issuing_account_bank: any;
1292
+ issuing_account_number: any;
1293
+ receiving_account_holder_name: any;
1294
+ receiving_account_tax_id: any;
1295
+ receiving_account_number: string;
1296
+ receiving_account_bank: string;
1297
+ reference_number: any;
1298
+ description: any;
1299
+ tracking_code: any;
1300
+ executed_at: any;
1301
+ payment_attempts: any[];
1302
+ object: string;
1303
+ type: string;
1304
+ expires_at: number;
1188
1305
  }
1189
- interface iPaymentDelay {
1190
- today: number;
1191
- nextPayment: number;
1192
- daysDelay: number;
1193
- late: boolean;
1306
+ interface oConektaMixOrder {
1307
+ id: string;
1308
+ name: string;
1309
+ currency: string;
1310
+ amount: number;
1311
+ created_at: number;
1312
+ updated_at: number;
1313
+ clabe?: string;
1314
+ reference?: string;
1315
+ debit?: string;
1316
+ credit?: string;
1317
+ payment_status: string;
1318
+ barcode_url?: string;
1194
1319
  }
1195
1320
 
1196
1321
  interface iContractAll {
@@ -1354,27 +1479,6 @@ interface iServiceUser {
1354
1479
  deleteUser(id: string): void;
1355
1480
  }
1356
1481
 
1357
- declare enum eVerificationStep {
1358
- IDLE = "IDLE",
1359
- ERROR = "ERROR",
1360
- COMPLETED = "COMPLETED",
1361
- IN_PROGRESS = "IN_PROGRESS",
1362
- INVALID = "INVALID",
1363
- SUSPENDED = "SUSPENDED",
1364
- CANCELLED = "CANCELLED"
1365
- }
1366
- declare enum eVerificationStatus {
1367
- APPROVED = "approved",
1368
- CANCELLED = "cancelled"
1369
- }
1370
- declare enum eVerificationChannel {
1371
- SMS = "sms",
1372
- WHATSAPP = "whatsapp",
1373
- CALL = "call",
1374
- EMAIL = "email",
1375
- SNA = "sna"
1376
- }
1377
-
1378
1482
  interface ISendCodeAttempt {
1379
1483
  time: string;
1380
1484
  channel: eVerificationChannel;
@@ -1407,45 +1511,6 @@ interface IVerificationData {
1407
1511
  VerificationCode?: string;
1408
1512
  }
1409
1513
 
1410
- declare const cClient: oClient;
1411
- interface oClientConekta {
1412
- ravcredit: oClient;
1413
- conekta: iConektaRecurrent;
1414
- }
1415
- declare const cUserReference: oUserReference$1;
1416
- declare const cClientConekta: oClientConekta;
1417
- interface iClientContract {
1418
- client: oClient;
1419
- contract: oContract;
1420
- }
1421
- declare const cClientContract: iClientContract;
1422
- declare class FactoryClient {
1423
- static CreateClientToConektaObj(data: oClient): any;
1424
- static CreateClientFromFormObj(data: any, client?: oClient): oClient;
1425
- static CreateClientConektaObj(data: oClient, finalDate: number): {
1426
- name: string;
1427
- email: string;
1428
- phone: string;
1429
- contract: string | undefined;
1430
- client_id: string;
1431
- payment_sources: iConektaSources[];
1432
- };
1433
- static MapperConektaClient(client: oClient, conekta: iConektaRecurrent): iClientContract;
1434
- static MapperTypeContCli_Client(_client: tyClientContract): oClient;
1435
- static MapperDynamicClient(dynamic: IDCClient, client: oClient, contract: oContract, clientDyn?: IDCClient, account?: IDCAccount): iClientContract;
1436
- static MapperFinancialContract(contract: oContract, account: IDCAccount): oFinancial;
1437
- static CheckEmail: (email: string) => boolean;
1438
- }
1439
- declare enum eIdentityTypes {
1440
- SELFIE = "SELFIE",
1441
- IDENTITY_FRONT = "IDENTITY_FRONT",
1442
- IDENTITY_BACK = "IDENTITY_BACK",
1443
- PASSPORT_FRONT = "PASSPORT_FRONT",
1444
- PASSPORT_BACK = "PASSPORT_BACK",
1445
- SERVICE = "SERVICE",
1446
- WITH_DEVICE = "WITH_DEVICE"
1447
- }
1448
-
1449
1514
  declare class UtilsHttp {
1450
1515
  static CreateHeadersRavcreditApi(token: string): {
1451
1516
  'Content-Type': string;
@@ -1531,7 +1596,7 @@ declare class FactoryContract {
1531
1596
  curp: UntypedFormControl;
1532
1597
  userReferences: UntypedFormArray;
1533
1598
  };
1534
- static CreateUserReferenceFormObj(user: oUserReference$1): {
1599
+ static CreateUserReferenceFormObj(user: oUserReference): {
1535
1600
  name: UntypedFormControl;
1536
1601
  phone: UntypedFormControl;
1537
1602
  relationship: UntypedFormControl;
@@ -1781,11 +1846,11 @@ declare const cTyClientContract: {
1781
1846
  dynamic_account?: string | number;
1782
1847
  dynamic_ref?: string;
1783
1848
  passport_id?: string;
1784
- payments?: oClientPayments$1[];
1849
+ payments?: oClientPayments[];
1785
1850
  reference?: string;
1786
- references?: oClientReferences[];
1851
+ references?: ravcredit_lib.oClientReferences[];
1787
1852
  token?: string;
1788
- userReferences: oUserReference$1[];
1853
+ userReferences: oUserReference[];
1789
1854
  contractUrl?: string;
1790
1855
  status: string;
1791
1856
  };
@@ -1833,40 +1898,6 @@ interface oCatalog {
1833
1898
  createdAt: number;
1834
1899
  }
1835
1900
 
1836
- interface oScoreAddress {
1837
- CP: string;
1838
- ciudad: string;
1839
- estado: string;
1840
- domicilio: string;
1841
- coloniaPoblacion: string;
1842
- delegacionMunicipio: string;
1843
- }
1844
- interface oScoreHit {
1845
- valor: string;
1846
- }
1847
- interface oScoreNoHit {
1848
- date: string;
1849
- score: string;
1850
- message: string;
1851
- evaluation: string;
1852
- }
1853
- interface oScoreGeneral {
1854
- nombres: string;
1855
- apellidoMaterno: string;
1856
- apellidoPaterno: string;
1857
- fechaNacimiento: string;
1858
- }
1859
- interface oScore {
1860
- domicilio: oScoreAddress;
1861
- scoreNoHit: oScoreHit;
1862
- folioConsulta: string;
1863
- datosGenerales: oScoreGeneral;
1864
- }
1865
- interface oScoreReference {
1866
- name: string;
1867
- score: number;
1868
- }
1869
-
1870
1901
  declare enum eAssetPeriod {
1871
1902
  MONTH = "MONTH",
1872
1903
  WEEK = "WEEK"
@@ -1916,37 +1947,6 @@ interface ILambdaResponse {
1916
1947
  Error: string;
1917
1948
  }
1918
1949
 
1919
- interface oMediaIdentity {
1920
- url: string;
1921
- name: eIdentityTypes;
1922
- active: boolean;
1923
- metadata: any;
1924
- uploaded: number;
1925
- }
1926
-
1927
- interface oClientPayments {
1928
- date: number;
1929
- dayPayment: number;
1930
- amount: number;
1931
- id: string;
1932
- }
1933
- interface oUserReference {
1934
- name: string;
1935
- phone: string;
1936
- relationship: string;
1937
- }
1938
- interface oClientV2 extends oClient {
1939
- score: oScore;
1940
- seller_id?: string;
1941
- scoreNoHit?: oScoreNoHit;
1942
- study_degree?: string;
1943
- mediaSelfie?: oMediaIdentity;
1944
- mediaAddress?: oMediaIdentity;
1945
- mediaWithDevice?: oMediaIdentity;
1946
- mediaSelfieBack?: oMediaIdentity;
1947
- identityVerification?: eVerificationStep;
1948
- }
1949
-
1950
1950
  interface oCompany {
1951
1951
  name: string;
1952
1952
  id: string;
@@ -2037,4 +2037,4 @@ interface oPayloadToken {
2037
2037
  }
2038
2038
 
2039
2039
  export { EnumDynamicClientStatus, ErrorMessages, FactoryBusiness, FactoryClient, FactoryConekta, FactoryContract, FactoryDynamiCore, FactoryNotification, FactoryPassport, FactoryPayment, IndexedDbService, ROLES_KEY, ROUTE_GLOBAL_REFERENCE2, ROUTE_NOTIFICATIONS, RavcreditLibComponent, RavcreditLibService, TIME_FORMAT_TABLE, UtilGeneral, 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, cResponse, cSchedule, cSingleOptionClientStatus, cTopic, cTyClientContract, cUserReference, dateCompleteFormat, dateFormat, dateFormatSimple, dbAuthStore, dbBusinessConfig, dbBusinessInfo, dbClientsStore, dbConektaClientsStore, dbConektaReferencesStore, dbConektaSpeiStore, 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, eConektaOrderType, eConektaRes, eContractStatus, eContractSteps, eGCActions, eIdentityTypes, eLoginStatus, eNotificationType, eOrderType, ePassportTypes, ePaymentType, eProcessStatus, eProvider, eReferenceStatusRav, eRequestVerb, eRoles, eRolesSelect, eVerificationChannel, eVerificationStatus, eVerificationStep, expiredPayment, keyPathId, keyUserID, ravCreditFunctions, snackBarConfigAction, snackBarConfigNoAction, snackBarConfigNoActionLong, timeFormat, timeFormatTable, week };
2040
- export type { BankTransferPaymentSpei, ChargeListSpei, ChargeSpei, CustomerInfoSpei, 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, LineItemListSpei, LineItemSpei, 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, oClientV2, oCompany, oConektaChannel, oConektaChargeData, oConektaCharges, oConektaCheckout, oConektaCustomerInfo, oConektaLineItem, oConektaLineItems, oConektaMixOrder, oConektaNewOrder, oConektaNewOrderAntifraudInfo, oConektaNewOrderCharge, oConektaNewOrderCustomerInfo, oConektaNewOrderLineItem, oConektaNewOrderPymMethod, oConektaOrder, oConektaOrderCreate, oConektaOrderResponseSpei, oConektaOrderSpei, 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 };
2040
+ export type { BankTransferPaymentSpei, ChargeListSpei, ChargeSpei, CustomerInfoSpei, 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, LineItemListSpei, LineItemSpei, 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$1 as oClientPayments, oClientReferences, oClientV2, oCompany, oConektaChannel, oConektaChargeData, oConektaCharges, oConektaCheckout, oConektaCustomerInfo, oConektaLineItem, oConektaLineItems, oConektaMixOrder, oConektaNewOrder, oConektaNewOrderAntifraudInfo, oConektaNewOrderCharge, oConektaNewOrderCustomerInfo, oConektaNewOrderLineItem, oConektaNewOrderPymMethod, oConektaOrder, oConektaOrderCreate, oConektaOrderResponseSpei, oConektaOrderSpei, 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$1 as oUserReference, oWeekSchedule, partialIDCData, tyClientContract };