cecon-interfaces 1.5.62 → 1.5.63
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/member-access/entities/member-access.entity.mjs +5 -5
- package/dist/esm2022/member-access/interfaces/i-member-access.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +10 -10
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/member-access/entities/member-access.entity.d.ts +2 -2
- package/dist/member-access/entities/member-access.entity.js +4 -4
- package/dist/member-access/interfaces/i-member-access.d.ts +2 -2
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { MemberRulesEnum } from '../../member/enums';
|
2
2
|
export class MemberAccessEntity {
|
3
|
-
// #region Properties (
|
3
|
+
// #region Properties (12)
|
4
4
|
accessCount = null;
|
5
5
|
active = true;
|
6
6
|
createdAt = new Date();
|
@@ -9,9 +9,9 @@ export class MemberAccessEntity {
|
|
9
9
|
lastAccessAt = null;
|
10
10
|
memberId = '';
|
11
11
|
name = '';
|
12
|
-
rule =
|
12
|
+
rule = MemberRulesEnum.USER;
|
13
13
|
updated = new Date();
|
14
|
-
// #endregion Properties (
|
14
|
+
// #endregion Properties (12)
|
15
15
|
// #region Constructors (1)
|
16
16
|
constructor(data) {
|
17
17
|
if (data) {
|
@@ -23,4 +23,4 @@ export class MemberAccessEntity {
|
|
23
23
|
}
|
24
24
|
}
|
25
25
|
}
|
26
|
-
//# sourceMappingURL=data:application/json;base64,
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVtYmVyLWFjY2Vzcy5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbWVtYmVyLWFjY2Vzcy9lbnRpdGllcy9tZW1iZXItYWNjZXNzLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZUFB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xuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcclxufVxyXG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1tZW1iZXItYWNjZXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL21lbWJlci1hY2Nlc3MvaW50ZXJmYWNlcy9pLW1lbWJlci1hY2Nlc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE1lbWJlclJ1bGVzRW51bSB9IGZyb20gJy4uLy4uL21lbWJlci9lbnVtcyc7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElNZW1iZXJBY2Nlc3Mge1xyXG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoOSlcclxuXHJcbiAgYWNjZXNzQ291bnQ6IG51bWJlciB8IG51bGw7XHJcbiAgYWN0aXZlOiBib29sZWFuO1xyXG4gIGNyZWF0ZWRBdDogRGF0ZTtcclxuICBpZDogc3RyaW5nO1xyXG4gIGxhc3RBY2Nlc3NBdDogRGF0ZSB8IG51bGw7XHJcbiAgbWVtYmVySWQ6IHN0cmluZztcclxuICBpbWFnZVVybDogc3RyaW5nIHwgbnVsbDtcclxuICBuYW1lOiBzdHJpbmc7XHJcbiAgcnVsZTogTWVtYmVyUnVsZXNFbnVtO1xyXG4gIHVwZGF0ZWQ6IERhdGU7XHJcblxyXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoOSlcclxufVxyXG4iXX0=
|
@@ -4246,15 +4246,8 @@ class MasterEntity {
|
|
4246
4246
|
}
|
4247
4247
|
}
|
4248
4248
|
|
4249
|
-
var EMemberRules;
|
4250
|
-
(function (EMemberRules) {
|
4251
|
-
EMemberRules["admin"] = "ADMIN";
|
4252
|
-
EMemberRules["user"] = "USER";
|
4253
|
-
EMemberRules["owner"] = "OWNER";
|
4254
|
-
})(EMemberRules || (EMemberRules = {}));
|
4255
|
-
|
4256
4249
|
class MemberAccessEntity {
|
4257
|
-
// #region Properties (
|
4250
|
+
// #region Properties (12)
|
4258
4251
|
accessCount = null;
|
4259
4252
|
active = true;
|
4260
4253
|
createdAt = new Date();
|
@@ -4263,9 +4256,9 @@ class MemberAccessEntity {
|
|
4263
4256
|
lastAccessAt = null;
|
4264
4257
|
memberId = '';
|
4265
4258
|
name = '';
|
4266
|
-
rule =
|
4259
|
+
rule = MemberRulesEnum.USER;
|
4267
4260
|
updated = new Date();
|
4268
|
-
// #endregion Properties (
|
4261
|
+
// #endregion Properties (12)
|
4269
4262
|
// #region Constructors (1)
|
4270
4263
|
constructor(data) {
|
4271
4264
|
if (data) {
|
@@ -4440,6 +4433,13 @@ var EIuguInvoicesStatus;
|
|
4440
4433
|
EIuguInvoicesStatus["chargeback"] = "CHARGEBACK";
|
4441
4434
|
})(EIuguInvoicesStatus || (EIuguInvoicesStatus = {}));
|
4442
4435
|
|
4436
|
+
var EMemberRules;
|
4437
|
+
(function (EMemberRules) {
|
4438
|
+
EMemberRules["admin"] = "ADMIN";
|
4439
|
+
EMemberRules["user"] = "USER";
|
4440
|
+
EMemberRules["owner"] = "OWNER";
|
4441
|
+
})(EMemberRules || (EMemberRules = {}));
|
4442
|
+
|
4443
4443
|
var EOrderCancelReasons;
|
4444
4444
|
(function (EOrderCancelReasons) {
|
4445
4445
|
EOrderCancelReasons["PROBLEMAS_DE_SISTEMA"] = "501";
|