cecon-interfaces 1.5.61 → 1.5.62
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 +3 -3
- package/dist/fesm2022/cecon-interfaces.mjs +32 -32
- 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 +2 -2
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { EMemberRules } from '../../mobyo/mobyo-api/enum/member-rules.enum';
|
2
2
|
export class MemberAccessEntity {
|
3
3
|
// #region Properties (10)
|
4
4
|
accessCount = null;
|
@@ -9,7 +9,7 @@ export class MemberAccessEntity {
|
|
9
9
|
lastAccessAt = null;
|
10
10
|
memberId = '';
|
11
11
|
name = '';
|
12
|
-
rule =
|
12
|
+
rule = EMemberRules.user;
|
13
13
|
updated = new Date();
|
14
14
|
// #endregion Properties (10)
|
15
15
|
// #region Constructors (1)
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVtYmVyLWFjY2Vzcy5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbWVtYmVyLWFjY2Vzcy9lbnRpdGllcy9tZW1iZXItYWNjZXNzLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sOENBQThDLENBQUM7QUFHNUUsTUFBTSxPQUFPLGtCQUFrQjtJQUM3QiwwQkFBMEI7SUFFbkIsV0FBVyxHQUFrQixJQUFJLENBQUM7SUFDbEMsTUFBTSxHQUFZLElBQUksQ0FBQztJQUN2Q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WxsID0gbnVsbDtcclxuICBwdWJsaWMgYWN0aXZlOiBib29sZWFuID0gdHJ1ZTtcclxuICBwdWJsaWMgY3JlYXRlZEF0OiBEYXRlID0gbmV3IERhdGUoKTtcclxuICBwdWJsaWMgaWQ6IHN0cmluZyA9ICcnO1xyXG4gIHB1YmxpYyBpbWFnZVVybDogc3RyaW5nIHwgbnVsbCA9IG51bGw7XHJcbiAgcHVibGljIGxhc3RBY2Nlc3NBdDogRGF0ZSB8IG51bGwgPSBudWxsO1xyXG4gIHB1YmxpYyBtZW1iZXJJZDogc3RyaW5nID0gJyc7XHJcbiAgcHVibGljIG5hbWU6IHN0cmluZyA9ICcnO1xyXG4gIHB1YmxpYyBydWxlOiBFTWVtYmVyUnVsZXMgPSBFTWVtYmVyUnVsZXMudXNlcjtcclxuICBwdWJsaWMgdXBkYXRlZDogRGF0ZSA9IG5ldyBEYXRlKCk7XHJcblxyXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMTApXHJcblxyXG4gIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxyXG5cclxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxNZW1iZXJBY2Nlc3NFbnRpdHk+KSB7XHJcbiAgICBpZiAoZGF0YSkge1xyXG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xyXG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcclxuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuICAgIH1cclxuICB9XHJcblxyXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxyXG59XHJcbiJdfQ==
|
@@ -4246,6 +4246,38 @@ 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
|
+
class MemberAccessEntity {
|
4257
|
+
// #region Properties (10)
|
4258
|
+
accessCount = null;
|
4259
|
+
active = true;
|
4260
|
+
createdAt = new Date();
|
4261
|
+
id = '';
|
4262
|
+
imageUrl = null;
|
4263
|
+
lastAccessAt = null;
|
4264
|
+
memberId = '';
|
4265
|
+
name = '';
|
4266
|
+
rule = EMemberRules.user;
|
4267
|
+
updated = new Date();
|
4268
|
+
// #endregion Properties (10)
|
4269
|
+
// #region Constructors (1)
|
4270
|
+
constructor(data) {
|
4271
|
+
if (data) {
|
4272
|
+
for (let key in data) {
|
4273
|
+
if (data.hasOwnProperty(key) && key in this) {
|
4274
|
+
this[key] = data[key];
|
4275
|
+
}
|
4276
|
+
}
|
4277
|
+
}
|
4278
|
+
}
|
4279
|
+
}
|
4280
|
+
|
4249
4281
|
class CompanySettingsWaServerEntity {
|
4250
4282
|
// #region Properties (4)
|
4251
4283
|
deliveryMenuUrl = null;
|
@@ -4408,13 +4440,6 @@ var EIuguInvoicesStatus;
|
|
4408
4440
|
EIuguInvoicesStatus["chargeback"] = "CHARGEBACK";
|
4409
4441
|
})(EIuguInvoicesStatus || (EIuguInvoicesStatus = {}));
|
4410
4442
|
|
4411
|
-
var EMemberRules;
|
4412
|
-
(function (EMemberRules) {
|
4413
|
-
EMemberRules["admin"] = "ADMIN";
|
4414
|
-
EMemberRules["user"] = "USER";
|
4415
|
-
EMemberRules["owner"] = "OWNER";
|
4416
|
-
})(EMemberRules || (EMemberRules = {}));
|
4417
|
-
|
4418
4443
|
var EOrderCancelReasons;
|
4419
4444
|
(function (EOrderCancelReasons) {
|
4420
4445
|
EOrderCancelReasons["PROBLEMAS_DE_SISTEMA"] = "501";
|
@@ -4803,31 +4828,6 @@ class ResumeVoucherEntity {
|
|
4803
4828
|
}
|
4804
4829
|
}
|
4805
4830
|
|
4806
|
-
class MemberAccessEntity {
|
4807
|
-
// #region Properties (10)
|
4808
|
-
accessCount = null;
|
4809
|
-
active = true;
|
4810
|
-
createdAt = new Date();
|
4811
|
-
id = '';
|
4812
|
-
imageUrl = null;
|
4813
|
-
lastAccessAt = null;
|
4814
|
-
memberId = '';
|
4815
|
-
name = '';
|
4816
|
-
rule = EMemberRules.user;
|
4817
|
-
updated = new Date();
|
4818
|
-
// #endregion Properties (10)
|
4819
|
-
// #region Constructors (1)
|
4820
|
-
constructor(data) {
|
4821
|
-
if (data) {
|
4822
|
-
for (let key in data) {
|
4823
|
-
if (data.hasOwnProperty(key) && key in this) {
|
4824
|
-
this[key] = data[key];
|
4825
|
-
}
|
4826
|
-
}
|
4827
|
-
}
|
4828
|
-
}
|
4829
|
-
}
|
4830
|
-
|
4831
4831
|
class MonitorEntity {
|
4832
4832
|
// #region Properties (9)
|
4833
4833
|
id = '';
|