cecon-interfaces 1.9.47 → 1.9.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,6 +5,7 @@ export declare class MemberEntity extends BaseEntity implements IMember {
5
5
  active: boolean;
6
6
  companyName: string;
7
7
  containerName: string;
8
+ developerId: string | null;
8
9
  email: string;
9
10
  imageUrl: string | null;
10
11
  internationalCode: string;
@@ -25,5 +26,4 @@ export declare class MemberEntity extends BaseEntity implements IMember {
25
26
  */
26
27
  uid: string;
27
28
  constructor(data?: Partial<MemberEntity>);
28
- developerId: string | null;
29
29
  }
@@ -20,14 +20,15 @@ var general_1 = require("../../general");
20
20
  var enums_1 = require("../enums");
21
21
  var MemberEntity = /** @class */ (function (_super) {
22
22
  __extends(MemberEntity, _super);
23
- // #endregion Properties (17)
23
+ // #endregion Properties (18)
24
24
  // #region Constructors (1)
25
25
  function MemberEntity(data) {
26
26
  var _this = _super.call(this, data) || this;
27
- // #region Properties (17)
27
+ // #region Properties (18)
28
28
  _this.active = true;
29
29
  _this.companyName = '';
30
30
  _this.containerName = '';
31
+ _this.developerId = null;
31
32
  _this.email = '';
32
33
  _this.imageUrl = '';
33
34
  _this.internationalCode = '55';
@@ -1,18 +1,20 @@
1
+ import { PayioCardItemEntity } from '../..';
1
2
  import { EAmountMode, ECycle } from '../../../general';
2
- import { IPayioCardAuth, IPayioCardCompany, IPayioCardConfig, IPayioCardItem } from '../interfaces';
3
+ import { IPayioCardAuth, IPayioCardConfig } from '../interfaces';
4
+ import { PayioCardCompanyEntity } from './card-company.entity';
3
5
  export declare class PayioCardConfigEntity implements IPayioCardConfig {
4
6
  appIds: string[];
5
7
  auth?: IPayioCardAuth | null | undefined;
6
8
  balance: number;
7
9
  billingCycle: ECycle;
8
- companies: IPayioCardCompany[];
10
+ companies: PayioCardCompanyEntity[];
9
11
  creditLimit: number;
10
12
  description: string | null;
11
13
  discountAmount: number;
12
14
  discountAmountType: EAmountMode;
13
15
  dueDate: Date;
14
16
  invoiceLogs: string[];
15
- items: IPayioCardItem[];
17
+ items: PayioCardItemEntity[];
16
18
  key: string | null;
17
19
  password: string | null;
18
20
  webhookUrls: string[];
@@ -1,3 +1,5 @@
1
1
  export { EPayioCardAccountProvider } from './account-provider.enum';
2
2
  export { ECardMode } from './mode.enum';
3
3
  export { EPayioCardStatus } from './status.enum';
4
+ export { EPayioCardStatusProduction } from './status-production.enum';
5
+ export { EPayioCardType } from './type.enum';
@@ -1,9 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EPayioCardStatus = exports.ECardMode = exports.EPayioCardAccountProvider = void 0;
3
+ exports.EPayioCardType = exports.EPayioCardStatusProduction = exports.EPayioCardStatus = exports.ECardMode = exports.EPayioCardAccountProvider = void 0;
4
4
  var account_provider_enum_1 = require("./account-provider.enum");
5
5
  Object.defineProperty(exports, "EPayioCardAccountProvider", { enumerable: true, get: function () { return account_provider_enum_1.EPayioCardAccountProvider; } });
6
6
  var mode_enum_1 = require("./mode.enum");
7
7
  Object.defineProperty(exports, "ECardMode", { enumerable: true, get: function () { return mode_enum_1.ECardMode; } });
8
8
  var status_enum_1 = require("./status.enum");
9
9
  Object.defineProperty(exports, "EPayioCardStatus", { enumerable: true, get: function () { return status_enum_1.EPayioCardStatus; } });
10
+ var status_production_enum_1 = require("./status-production.enum");
11
+ Object.defineProperty(exports, "EPayioCardStatusProduction", { enumerable: true, get: function () { return status_production_enum_1.EPayioCardStatusProduction; } });
12
+ var type_enum_1 = require("./type.enum");
13
+ Object.defineProperty(exports, "EPayioCardType", { enumerable: true, get: function () { return type_enum_1.EPayioCardType; } });
@@ -4,5 +4,6 @@ export declare enum EPayioCardStatus {
4
4
  INACTIVE = "INACTIVE",
5
5
  CANCELLED = "CANCELLED",
6
6
  BLOCKED = "BLOCKED",
7
- SUSPENDED = "SUSPENDED"
7
+ SUSPENDED = "SUSPENDED",
8
+ LOCKED = "LOCKED"
8
9
  }
@@ -9,4 +9,5 @@ var EPayioCardStatus;
9
9
  EPayioCardStatus["CANCELLED"] = "CANCELLED";
10
10
  EPayioCardStatus["BLOCKED"] = "BLOCKED";
11
11
  EPayioCardStatus["SUSPENDED"] = "SUSPENDED";
12
+ EPayioCardStatus["LOCKED"] = "LOCKED";
12
13
  })(EPayioCardStatus || (exports.EPayioCardStatus = EPayioCardStatus = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.9.47",
3
+ "version": "1.9.50",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",