ravcredit-lib 0.0.58 → 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.
- package/fesm2022/ravcredit-lib.mjs +74 -33
- package/fesm2022/ravcredit-lib.mjs.map +1 -1
- package/index.d.ts +1074 -1058
- package/package.json +1 -1
|
@@ -120,6 +120,17 @@ var eClientStatus;
|
|
|
120
120
|
eClientStatus["CANCELED"] = "canceled";
|
|
121
121
|
eClientStatus["LATE"] = "late";
|
|
122
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 = {}));
|
|
123
134
|
|
|
124
135
|
var eRoles;
|
|
125
136
|
(function (eRoles) {
|
|
@@ -235,7 +246,6 @@ const snackBarConfigNoActionLong = {
|
|
|
235
246
|
duration: 8000,
|
|
236
247
|
horizontalPosition: "start"
|
|
237
248
|
};
|
|
238
|
-
const cTyClientContract = { ...cClient, ...cContract };
|
|
239
249
|
const cAddress = {
|
|
240
250
|
street: "",
|
|
241
251
|
city: "",
|
|
@@ -290,6 +300,68 @@ const cResponse = {
|
|
|
290
300
|
epochTime: new Date().getTime(),
|
|
291
301
|
data: null,
|
|
292
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 };
|
|
293
365
|
|
|
294
366
|
const cSchedule = {
|
|
295
367
|
day: "",
|
|
@@ -828,27 +900,6 @@ var eContractStatus;
|
|
|
828
900
|
eContractStatus["CHECKING"] = "CHECKING";
|
|
829
901
|
})(eContractStatus || (eContractStatus = {}));
|
|
830
902
|
|
|
831
|
-
const cClient = {
|
|
832
|
-
id: "",
|
|
833
|
-
name: "",
|
|
834
|
-
username: "",
|
|
835
|
-
email: "",
|
|
836
|
-
phone: "",
|
|
837
|
-
curp: "",
|
|
838
|
-
contract_temporary: "",
|
|
839
|
-
conekta_id: "",
|
|
840
|
-
userReferences: [],
|
|
841
|
-
status: ""
|
|
842
|
-
};
|
|
843
|
-
const cUserReference = {
|
|
844
|
-
name: "",
|
|
845
|
-
phone: "",
|
|
846
|
-
relationship: ""
|
|
847
|
-
};
|
|
848
|
-
const cClientConekta = {
|
|
849
|
-
conekta: cConektaRecurrent,
|
|
850
|
-
ravcredit: cClient
|
|
851
|
-
};
|
|
852
903
|
const cClientContract = {
|
|
853
904
|
client: cClient,
|
|
854
905
|
contract: cContract,
|
|
@@ -1046,16 +1097,6 @@ class FactoryClient {
|
|
|
1046
1097
|
}
|
|
1047
1098
|
static CheckEmail = (email) => email.includes("@") && email.endsWith(".com");
|
|
1048
1099
|
}
|
|
1049
|
-
var eIdentityTypes;
|
|
1050
|
-
(function (eIdentityTypes) {
|
|
1051
|
-
eIdentityTypes["SELFIE"] = "SELFIE";
|
|
1052
|
-
eIdentityTypes["IDENTITY_FRONT"] = "IDENTITY_FRONT";
|
|
1053
|
-
eIdentityTypes["IDENTITY_BACK"] = "IDENTITY_BACK";
|
|
1054
|
-
eIdentityTypes["PASSPORT_FRONT"] = "PASSPORT_FRONT";
|
|
1055
|
-
eIdentityTypes["PASSPORT_BACK"] = "PASSPORT_BACK";
|
|
1056
|
-
eIdentityTypes["SERVICE"] = "SERVICE";
|
|
1057
|
-
eIdentityTypes["WITH_DEVICE"] = "WITH_DEVICE";
|
|
1058
|
-
})(eIdentityTypes || (eIdentityTypes = {}));
|
|
1059
1100
|
|
|
1060
1101
|
class UtilsHttp {
|
|
1061
1102
|
static CreateHeadersRavcreditApi(token) {
|
|
@@ -2249,5 +2290,5 @@ var eVerificationChannel;
|
|
|
2249
2290
|
* Generated bundle index. Do not edit.
|
|
2250
2291
|
*/
|
|
2251
2292
|
|
|
2252
|
-
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, 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 };
|
|
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 };
|
|
2253
2294
|
//# sourceMappingURL=ravcredit-lib.mjs.map
|