cecon-interfaces 1.6.84 → 1.6.87

Sign up to get free protection for your applications and to get access to all the features.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.6.84",
3
+ "version": "1.6.87",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -6,8 +6,10 @@ export declare class PayioAdminEntity implements IPayioAdmin {
6
6
  createdAt: Date;
7
7
  id: string;
8
8
  imageUrl: string | null;
9
+ internationalCode: string;
9
10
  lastAccessAt: Date | null;
10
11
  name: string;
12
+ phoneNumber: string;
11
13
  role: EPayioAdminRole;
12
14
  tags: string[];
13
15
  updatedAt: Date;
@@ -3,17 +3,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PayioAdminEntity = void 0;
4
4
  var role_enum_1 = require("../enums/role.enum");
5
5
  var PayioAdminEntity = /** @class */ (function () {
6
- // #endregion Properties (11)
6
+ // #endregion Properties (13)
7
7
  // #region Constructors (1)
8
8
  function PayioAdminEntity(data) {
9
- // #region Properties (11)
9
+ // #region Properties (13)
10
10
  this.accessCount = null;
11
11
  this.active = true;
12
12
  this.createdAt = new Date();
13
13
  this.id = '';
14
14
  this.imageUrl = null;
15
+ this.internationalCode = '55';
15
16
  this.lastAccessAt = null;
16
17
  this.name = '';
18
+ this.phoneNumber = '';
17
19
  this.role = role_enum_1.EPayioAdminRole.USER;
18
20
  this.tags = [];
19
21
  this.updatedAt = new Date();
@@ -5,8 +5,10 @@ export interface IPayioAdmin {
5
5
  createdAt: Date;
6
6
  id: string;
7
7
  imageUrl: string | null;
8
+ internationalCode: string;
8
9
  lastAccessAt: Date | null;
9
10
  name: string;
11
+ phoneNumber: string;
10
12
  role: EPayioAdminRole;
11
13
  tags: string[];
12
14
  updatedAt: Date;
@@ -1,9 +1,10 @@
1
1
  import { PayioOrderQueueStatusEnum } from '../enums';
2
2
  import { IPayioOrderQueue } from '../interfaces/i-order-queue';
3
3
  export declare class PayioOrderQueueEntity implements IPayioOrderQueue {
4
+ appId: string;
4
5
  attempts: number;
5
- createdAt: Date;
6
6
  companyId: string;
7
+ createdAt: Date;
7
8
  data: string;
8
9
  error: string;
9
10
  id: string;
@@ -4,17 +4,18 @@ exports.PayioOrderQueueEntity = void 0;
4
4
  var enums_1 = require("../enums");
5
5
  var PayioOrderQueueEntity = /** @class */ (function () {
6
6
  function PayioOrderQueueEntity() {
7
- // #region Properties (8)
7
+ // #region Properties (10)
8
+ this.appId = '';
8
9
  this.attempts = 0;
9
- this.createdAt = new Date();
10
10
  this.companyId = '';
11
+ this.createdAt = new Date();
11
12
  this.data = '';
12
13
  this.error = '';
13
14
  this.id = '';
14
15
  this.lastAttemptAt = new Date();
15
16
  this.reference = '';
16
17
  this.status = enums_1.PayioOrderQueueStatusEnum.pending;
17
- // #endregion Properties (8)
18
+ // #endregion Properties (10)
18
19
  }
19
20
  return PayioOrderQueueEntity;
20
21
  }());
@@ -4,6 +4,7 @@ export interface IPayioOrderQueue {
4
4
  createdAt: Date;
5
5
  reference: string;
6
6
  companyId: string;
7
+ appId: string;
7
8
  error: string;
8
9
  id: string;
9
10
  lastAttemptAt: Date;
@@ -5,9 +5,9 @@ export declare class PayioScheduleProductEntity implements IPayioScheduleProduct
5
5
  exceededWeightMessageText: string | null;
6
6
  exceededWeightPrice: number;
7
7
  id: string;
8
- maxWeightLimitMessage: number;
9
- maxWeightLimitPrice: number;
10
8
  price: number;
11
9
  unit: string;
10
+ weightLimitMessage: number;
11
+ weightLimitPrice: number;
12
12
  constructor(data?: Partial<PayioScheduleProductEntity>);
13
13
  }
@@ -11,10 +11,10 @@ var PayioScheduleProductEntity = /** @class */ (function () {
11
11
  this.exceededWeightMessageText = '';
12
12
  this.exceededWeightPrice = 0;
13
13
  this.id = '';
14
- this.maxWeightLimitMessage = 0;
15
- this.maxWeightLimitPrice = 0;
16
14
  this.price = 0;
17
15
  this.unit = 'KG';
16
+ this.weightLimitMessage = 0;
17
+ this.weightLimitPrice = 0;
18
18
  if (data) {
19
19
  for (var key in data) {
20
20
  if (data.hasOwnProperty(key) && key in this) {
@@ -1,11 +1,11 @@
1
1
  export interface IPayioScheduleProduct {
2
2
  code: string;
3
3
  description: string;
4
- id: string;
5
- maxWeightLimitPrice: number;
6
- maxWeightLimitMessage: number;
7
- exceededWeightPrice: number;
8
4
  exceededWeightMessageText: string | null;
5
+ exceededWeightPrice: number;
6
+ id: string;
9
7
  price: number;
10
8
  unit: string;
9
+ weightLimitMessage: number;
10
+ weightLimitPrice: number;
11
11
  }
@@ -1,6 +1,7 @@
1
1
  import { MemberTypeEnum } from '../../member/enums';
2
2
  import { IUser } from '../interfaces';
3
3
  export declare class UserEntity implements IUser {
4
+ accessCount: number;
4
5
  active: boolean;
5
6
  createdAt: Date;
6
7
  currentCompanyId: string | null;
@@ -10,6 +11,7 @@ export declare class UserEntity implements IUser {
10
11
  id: string;
11
12
  imageUrl: string | null;
12
13
  internationalCode: string;
14
+ lastAccessAt: Date;
13
15
  name: string;
14
16
  phoneNumber: string;
15
17
  tags: string[];
@@ -2,10 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UserEntity = void 0;
4
4
  var UserEntity = /** @class */ (function () {
5
- // #endregion Properties (14)
5
+ // #endregion Properties (16)
6
6
  // #region Constructors (1)
7
7
  function UserEntity(data) {
8
- // #region Properties (14)
8
+ // #region Properties (16)
9
+ this.accessCount = 0;
9
10
  this.active = true;
10
11
  this.createdAt = new Date();
11
12
  this.currentCompanyId = null;
@@ -15,6 +16,7 @@ var UserEntity = /** @class */ (function () {
15
16
  this.id = '';
16
17
  this.imageUrl = null;
17
18
  this.internationalCode = '55';
19
+ this.lastAccessAt = new Date();
18
20
  this.name = '';
19
21
  this.phoneNumber = '';
20
22
  this.tags = [];
@@ -8,6 +8,8 @@ export interface IUser {
8
8
  imageUrl: string | null;
9
9
  internationalCode: string;
10
10
  name: string;
11
+ accessCount: number;
12
+ lastAccessAt: Date;
11
13
  phoneNumber: string;
12
14
  tags: string[];
13
15
  type: MemberTypeEnum | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.6.84",
3
+ "version": "1.6.87",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",