cecon-interfaces 1.5.62 → 1.5.64
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 +6 -5
- package/dist/esm2022/member-access/interfaces/i-member-access.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +11 -10
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/member-access/entities/member-access.entity.d.ts +3 -2
- package/dist/member-access/entities/member-access.entity.js +5 -4
- package/dist/member-access/interfaces/i-member-access.d.ts +3 -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 (11)
|
4
4
|
accessCount = null;
|
5
5
|
active = true;
|
6
6
|
createdAt = new Date();
|
@@ -9,9 +9,10 @@ export class MemberAccessEntity {
|
|
9
9
|
lastAccessAt = null;
|
10
10
|
memberId = '';
|
11
11
|
name = '';
|
12
|
-
rule =
|
12
|
+
rule = MemberRulesEnum.USER;
|
13
|
+
tags = [];
|
13
14
|
updated = new Date();
|
14
|
-
// #endregion Properties (
|
15
|
+
// #endregion Properties (11)
|
15
16
|
// #region Constructors (1)
|
16
17
|
constructor(data) {
|
17
18
|
if (data) {
|
@@ -23,4 +24,4 @@ export class MemberAccessEntity {
|
|
23
24
|
}
|
24
25
|
}
|
25
26
|
}
|
26
|
-
//# sourceMappingURL=data:application/json;base64,
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVtYmVyLWFjY2Vzcy5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbWVtYmVyLWFjY2Vzcy9lbnRpdGllcy9tZW1iZXItYWNjZXNzLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQU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zIGFueSlba2V5XTtcclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuICAgIH1cclxuICB9XHJcblxyXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxyXG59XHJcbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1tZW1iZXItYWNjZXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL21lbWJlci1hY2Nlc3MvaW50ZXJmYWNlcy9pLW1lbWJlci1hY2Nlc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE1lbWJlclJ1bGVzRW51bSB9IGZyb20gJy4uLy4uL21lbWJlci9lbnVtcyc7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElNZW1iZXJBY2Nlc3Mge1xyXG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoOSlcclxuXHJcbiAgYWNjZXNzQ291bnQ6IG51bWJlciB8IG51bGw7XHJcbiAgYWN0aXZlOiBib29sZWFuO1xyXG4gIGNyZWF0ZWRBdDogRGF0ZTtcclxuICBpZDogc3RyaW5nO1xyXG4gIGxhc3RBY2Nlc3NBdDogRGF0ZSB8IG51bGw7XHJcbiAgbWVtYmVySWQ6IHN0cmluZztcclxuICBpbWFnZVVybDogc3RyaW5nIHwgbnVsbDtcclxuICBuYW1lOiBzdHJpbmc7XHJcbiAgdGFnczogc3RyaW5nW107XHJcbiAgcnVsZTogTWVtYmVyUnVsZXNFbnVtO1xyXG4gIHVwZGF0ZWQ6IERhdGU7XHJcblxyXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoOSlcclxufVxyXG4iXX0=
|
@@ -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 (11)
|
4258
4251
|
accessCount = null;
|
4259
4252
|
active = true;
|
4260
4253
|
createdAt = new Date();
|
@@ -4263,9 +4256,10 @@ class MemberAccessEntity {
|
|
4263
4256
|
lastAccessAt = null;
|
4264
4257
|
memberId = '';
|
4265
4258
|
name = '';
|
4266
|
-
rule =
|
4259
|
+
rule = MemberRulesEnum.USER;
|
4260
|
+
tags = [];
|
4267
4261
|
updated = new Date();
|
4268
|
-
// #endregion Properties (
|
4262
|
+
// #endregion Properties (11)
|
4269
4263
|
// #region Constructors (1)
|
4270
4264
|
constructor(data) {
|
4271
4265
|
if (data) {
|
@@ -4440,6 +4434,13 @@ var EIuguInvoicesStatus;
|
|
4440
4434
|
EIuguInvoicesStatus["chargeback"] = "CHARGEBACK";
|
4441
4435
|
})(EIuguInvoicesStatus || (EIuguInvoicesStatus = {}));
|
4442
4436
|
|
4437
|
+
var EMemberRules;
|
4438
|
+
(function (EMemberRules) {
|
4439
|
+
EMemberRules["admin"] = "ADMIN";
|
4440
|
+
EMemberRules["user"] = "USER";
|
4441
|
+
EMemberRules["owner"] = "OWNER";
|
4442
|
+
})(EMemberRules || (EMemberRules = {}));
|
4443
|
+
|
4443
4444
|
var EOrderCancelReasons;
|
4444
4445
|
(function (EOrderCancelReasons) {
|
4445
4446
|
EOrderCancelReasons["PROBLEMAS_DE_SISTEMA"] = "501";
|