cecon-interfaces 1.5.56 → 1.5.57

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -10,9 +10,9 @@ export * from './customer';
10
10
  export * from './customer-member';
11
11
  export * from './desenfila-merchant';
12
12
  export * from './desenfila-order';
13
+ export * from './developer-apps';
13
14
  export * from './developer-members';
14
15
  export * from './developers';
15
- export * from './developer-apps';
16
16
  export * from './device';
17
17
  export * from './event-message';
18
18
  export * from './evolution';
@@ -29,6 +29,7 @@ export * from './logss';
29
29
  export * from './master';
30
30
  export * from './meli';
31
31
  export * from './member';
32
+ export * from './member-access';
32
33
  export * from './mobyo';
33
34
  export * from './monitor';
34
35
  export * from './mottu';
package/dist/index.js CHANGED
@@ -26,9 +26,9 @@ __exportStar(require("./customer"), exports);
26
26
  __exportStar(require("./customer-member"), exports);
27
27
  __exportStar(require("./desenfila-merchant"), exports);
28
28
  __exportStar(require("./desenfila-order"), exports);
29
+ __exportStar(require("./developer-apps"), exports);
29
30
  __exportStar(require("./developer-members"), exports);
30
31
  __exportStar(require("./developers"), exports);
31
- __exportStar(require("./developer-apps"), exports);
32
32
  __exportStar(require("./device"), exports);
33
33
  __exportStar(require("./event-message"), exports);
34
34
  __exportStar(require("./evolution"), exports);
@@ -45,6 +45,7 @@ __exportStar(require("./logss"), exports);
45
45
  __exportStar(require("./master"), exports);
46
46
  __exportStar(require("./meli"), exports);
47
47
  __exportStar(require("./member"), exports);
48
+ __exportStar(require("./member-access"), exports);
48
49
  __exportStar(require("./mobyo"), exports);
49
50
  __exportStar(require("./monitor"), exports);
50
51
  __exportStar(require("./mottu"), exports);
@@ -0,0 +1 @@
1
+ export { MemberAccessEntity } from './member-access.entity';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MemberAccessEntity = void 0;
4
+ var member_access_entity_1 = require("./member-access.entity");
5
+ Object.defineProperty(exports, "MemberAccessEntity", { enumerable: true, get: function () { return member_access_entity_1.MemberAccessEntity; } });
@@ -0,0 +1,15 @@
1
+ import { MobyoEMemberRules } from '../../mobyo';
2
+ import { IMemberAccess } from '../interfaces/i-member-access';
3
+ export declare class MemberAccessEntity implements IMemberAccess {
4
+ accessCount: number | null;
5
+ active: boolean;
6
+ createdAt: Date;
7
+ id: string;
8
+ imageUrl: string | null;
9
+ lastAccessAt: Date | null;
10
+ memberId: string;
11
+ name: string;
12
+ rule: MobyoEMemberRules;
13
+ updated: Date;
14
+ constructor(data?: Partial<MemberAccessEntity>);
15
+ }
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MemberAccessEntity = void 0;
4
+ var mobyo_1 = require("../../mobyo");
5
+ var MemberAccessEntity = /** @class */ (function () {
6
+ // #endregion Properties (10)
7
+ // #region Constructors (1)
8
+ function MemberAccessEntity(data) {
9
+ // #region Properties (10)
10
+ this.accessCount = null;
11
+ this.active = true;
12
+ this.createdAt = new Date();
13
+ this.id = '';
14
+ this.imageUrl = null;
15
+ this.lastAccessAt = null;
16
+ this.memberId = '';
17
+ this.name = '';
18
+ this.rule = mobyo_1.MobyoEMemberRules.user;
19
+ this.updated = new Date();
20
+ if (data) {
21
+ for (var key in data) {
22
+ if (data.hasOwnProperty(key) && key in this) {
23
+ this[key] = data[key];
24
+ }
25
+ }
26
+ }
27
+ }
28
+ return MemberAccessEntity;
29
+ }());
30
+ exports.MemberAccessEntity = MemberAccessEntity;
@@ -0,0 +1,2 @@
1
+ export * from './entities';
2
+ export * from './interfaces';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./interfaces"), exports);
@@ -0,0 +1,13 @@
1
+ import { EMemberRules } from '../../mobyo/mobyo-api/enum/member-rules.enum';
2
+ export interface IMemberAccess {
3
+ accessCount: number | null;
4
+ active: boolean;
5
+ createdAt: Date;
6
+ id: string;
7
+ lastAccessAt: Date | null;
8
+ memberId: string;
9
+ imageUrl: string | null;
10
+ name: string;
11
+ rule: EMemberRules;
12
+ updated: Date;
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export { IMemberAccess } from './i-member-access';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.56",
3
+ "version": "1.5.57",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.56",
3
+ "version": "1.5.57",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",