ravcredit-lib 0.0.57 → 0.0.59

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.
@@ -51,6 +51,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
51
51
  // custom_reference:
52
52
  // }
53
53
 
54
+ var eDestinationType;
55
+ (function (eDestinationType) {
56
+ eDestinationType["auth"] = "auth";
57
+ eDestinationType["login"] = "login";
58
+ eDestinationType["idle"] = "";
59
+ })(eDestinationType || (eDestinationType = {}));
60
+
54
61
  const cTopic = "RavCreditClients";
55
62
  const cNotification = {
56
63
  notification: {
@@ -113,6 +120,17 @@ var eClientStatus;
113
120
  eClientStatus["CANCELED"] = "canceled";
114
121
  eClientStatus["LATE"] = "late";
115
122
  })(eClientStatus || (eClientStatus = {}));
123
+ var eIdentityTypes;
124
+ (function (eIdentityTypes) {
125
+ eIdentityTypes["SELFIE"] = "SELFIE";
126
+ eIdentityTypes["IDENTITY_FRONT"] = "IDENTITY_FRONT";
127
+ eIdentityTypes["IDENTITY_BACK"] = "IDENTITY_BACK";
128
+ eIdentityTypes["PASSPORT_FRONT"] = "PASSPORT_FRONT";
129
+ eIdentityTypes["PASSPORT_BACK"] = "PASSPORT_BACK";
130
+ eIdentityTypes["SERVICE"] = "SERVICE";
131
+ eIdentityTypes["WITH_DEVICE"] = "WITH_DEVICE";
132
+ eIdentityTypes["NONE"] = "NONE";
133
+ })(eIdentityTypes || (eIdentityTypes = {}));
116
134
 
117
135
  var eRoles;
118
136
  (function (eRoles) {
@@ -228,7 +246,6 @@ const snackBarConfigNoActionLong = {
228
246
  duration: 8000,
229
247
  horizontalPosition: "start"
230
248
  };
231
- const cTyClientContract = { ...cClient, ...cContract };
232
249
  const cAddress = {
233
250
  street: "",
234
251
  city: "",
@@ -283,6 +300,68 @@ const cResponse = {
283
300
  epochTime: new Date().getTime(),
284
301
  data: null,
285
302
  };
303
+ const cClientBase = {
304
+ id: "",
305
+ name: "",
306
+ username: "",
307
+ email: "",
308
+ phone: "",
309
+ curp: "",
310
+ contract_temporary: "",
311
+ conekta_id: "",
312
+ userReferences: [],
313
+ status: ""
314
+ };
315
+ const cScoreAddress = {
316
+ CP: "",
317
+ ciudad: "",
318
+ estado: "",
319
+ domicilio: "",
320
+ coloniaPoblacion: "",
321
+ delegacionMunicipio: ""
322
+ };
323
+ const cScoreHit = {
324
+ valor: ""
325
+ };
326
+ const cScoreGeneral = {
327
+ nombres: "",
328
+ apellidoMaterno: "",
329
+ apellidoPaterno: "",
330
+ fechaNacimiento: ""
331
+ };
332
+ const cScore = {
333
+ domicilio: cScoreAddress,
334
+ scoreNoHit: cScoreHit,
335
+ folioConsulta: "",
336
+ datosGenerales: cScoreGeneral
337
+ };
338
+ const cMediaIdentity = {
339
+ active: false, metadata: null, name: eIdentityTypes.NONE, uploaded: 0, url: ''
340
+ };
341
+ const cClient = {
342
+ score: cScore,
343
+ mediaAddress: cMediaIdentity,
344
+ id: "",
345
+ name: "",
346
+ username: "",
347
+ email: "",
348
+ phone: "",
349
+ curp: "",
350
+ contract_temporary: "",
351
+ conekta_id: "",
352
+ userReferences: [],
353
+ status: ""
354
+ };
355
+ const cUserReference = {
356
+ name: "",
357
+ phone: "",
358
+ relationship: ""
359
+ };
360
+ const cClientConekta = {
361
+ conekta: cConektaRecurrent,
362
+ ravcredit: cClient
363
+ };
364
+ const cTyClientContract = { ...cClient, ...cContract };
286
365
 
287
366
  const cSchedule = {
288
367
  day: "",
@@ -821,27 +900,6 @@ var eContractStatus;
821
900
  eContractStatus["CHECKING"] = "CHECKING";
822
901
  })(eContractStatus || (eContractStatus = {}));
823
902
 
824
- const cClient = {
825
- id: "",
826
- name: "",
827
- username: "",
828
- email: "",
829
- phone: "",
830
- curp: "",
831
- contract_temporary: "",
832
- conekta_id: "",
833
- userReferences: [],
834
- status: ""
835
- };
836
- const cUserReference = {
837
- name: "",
838
- phone: "",
839
- relationship: ""
840
- };
841
- const cClientConekta = {
842
- conekta: cConektaRecurrent,
843
- ravcredit: cClient
844
- };
845
903
  const cClientContract = {
846
904
  client: cClient,
847
905
  contract: cContract,
@@ -1039,16 +1097,6 @@ class FactoryClient {
1039
1097
  }
1040
1098
  static CheckEmail = (email) => email.includes("@") && email.endsWith(".com");
1041
1099
  }
1042
- var eIdentityTypes;
1043
- (function (eIdentityTypes) {
1044
- eIdentityTypes["SELFIE"] = "SELFIE";
1045
- eIdentityTypes["IDENTITY_FRONT"] = "IDENTITY_FRONT";
1046
- eIdentityTypes["IDENTITY_BACK"] = "IDENTITY_BACK";
1047
- eIdentityTypes["PASSPORT_FRONT"] = "PASSPORT_FRONT";
1048
- eIdentityTypes["PASSPORT_BACK"] = "PASSPORT_BACK";
1049
- eIdentityTypes["SERVICE"] = "SERVICE";
1050
- eIdentityTypes["WITH_DEVICE"] = "WITH_DEVICE";
1051
- })(eIdentityTypes || (eIdentityTypes = {}));
1052
1100
 
1053
1101
  class UtilsHttp {
1054
1102
  static CreateHeadersRavcreditApi(token) {
@@ -2242,5 +2290,5 @@ var eVerificationChannel;
2242
2290
  * Generated bundle index. Do not edit.
2243
2291
  */
2244
2292
 
2245
- 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 };
2293
+ 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, cClientBase, cClientConekta, cClientContract, cClientDynamicStatus, cConektaRecurrent, cContract, cContractMetrics, cDaySchedule, cDefinedSchedule, cDevice, cEmptyDay, cFinancial, cIDCCharge, cIDCCustomer, cIDCDataPii, cIDCGeneratedReference, cIDCPayment, cMediaIdentity, cNotification, cOptionsClientStatus, cOxxoRecurrentSources, cOxxoRecurrentSourcesData, cPaymentDelay, cResponse, cSchedule, cScore, cScoreAddress, cScoreGeneral, cScoreHit, 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, eDestinationType, 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 };
2246
2294
  //# sourceMappingURL=ravcredit-lib.mjs.map