cecon-interfaces 1.6.4 → 1.6.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (24) hide show
  1. package/dist/esm2022/payio/app/entities/app.entity.mjs +4 -3
  2. package/dist/esm2022/payio/app/interfaces/i-app.mjs +1 -1
  3. package/dist/esm2022/payio/payload/entities/payload-app.entity.mjs +3 -3
  4. package/dist/esm2022/payio/payload/entities/payload-device.entity.mjs +2 -3
  5. package/dist/esm2022/payio/payload/entities/payload-subscription.entity.mjs +3 -3
  6. package/dist/esm2022/payio/payload/interfaces/i-payload-app.mjs +1 -1
  7. package/dist/esm2022/payio/payload/interfaces/i-payload-device.mjs +1 -1
  8. package/dist/esm2022/payio/payload/interfaces/i-payload-subscription.mjs +1 -1
  9. package/dist/fesm2022/cecon-interfaces.mjs +7 -7
  10. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  11. package/dist/package.json +1 -1
  12. package/dist/payio/app/entities/app.entity.d.ts +1 -0
  13. package/dist/payio/app/entities/app.entity.js +3 -2
  14. package/dist/payio/app/interfaces/i-app.d.ts +1 -0
  15. package/dist/payio/payload/entities/payload-app.entity.d.ts +2 -2
  16. package/dist/payio/payload/entities/payload-app.entity.js +2 -2
  17. package/dist/payio/payload/entities/payload-device.entity.d.ts +1 -2
  18. package/dist/payio/payload/entities/payload-device.entity.js +1 -2
  19. package/dist/payio/payload/entities/payload-subscription.entity.d.ts +2 -2
  20. package/dist/payio/payload/entities/payload-subscription.entity.js +2 -2
  21. package/dist/payio/payload/interfaces/i-payload-app.d.ts +2 -2
  22. package/dist/payio/payload/interfaces/i-payload-device.d.ts +1 -2
  23. package/dist/payio/payload/interfaces/i-payload-subscription.d.ts +2 -2
  24. package/package.json +1 -1
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.6.04",
3
+ "version": "1.6.06",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -9,6 +9,7 @@ export declare class PayioAppEntity implements IPayioApp {
9
9
  name: string;
10
10
  price: number;
11
11
  secrets: string;
12
+ slug: string;
12
13
  tags: string[];
13
14
  constructor(data?: Partial<PayioAppEntity>);
14
15
  }
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PayioAppEntity = void 0;
4
4
  var PayioAppEntity = /** @class */ (function () {
5
- // #endregion Properties (10)
5
+ // #endregion Properties (11)
6
6
  // #region Constructors (1)
7
7
  function PayioAppEntity(data) {
8
- // #region Properties (10)
8
+ // #region Properties (11)
9
9
  this.active = false;
10
10
  this.activeInstalls = 0;
11
11
  this.description = '';
@@ -15,6 +15,7 @@ var PayioAppEntity = /** @class */ (function () {
15
15
  this.name = '';
16
16
  this.price = 0;
17
17
  this.secrets = '';
18
+ this.slug = '';
18
19
  this.tags = [];
19
20
  if (data) {
20
21
  for (var key in data) {
@@ -6,6 +6,7 @@ export interface IPayioApp {
6
6
  features: string[];
7
7
  id: string;
8
8
  name: string;
9
+ slug: string;
9
10
  price: number;
10
11
  secrets: string;
11
12
  tags: string[];
@@ -1,7 +1,7 @@
1
1
  import { IPayioJwtPayloadApp } from '../interfaces/i-payload-app';
2
2
  export declare class PayioJwtPayloadAppEntity implements IPayioJwtPayloadApp {
3
3
  id: string;
4
- name: string;
5
- version: string | null;
4
+ slug: string;
5
+ type: string;
6
6
  constructor(data?: Partial<PayioJwtPayloadAppEntity>);
7
7
  }
@@ -7,8 +7,8 @@ var PayioJwtPayloadAppEntity = /** @class */ (function () {
7
7
  function PayioJwtPayloadAppEntity(data) {
8
8
  // #region Properties (3)
9
9
  this.id = '';
10
- this.name = '';
11
- this.version = null;
10
+ this.slug = '';
11
+ this.type = '';
12
12
  if (data) {
13
13
  for (var key in data) {
14
14
  if (data.hasOwnProperty(key) && key in this) {
@@ -1,7 +1,6 @@
1
1
  import { IPayioJwtPayloadDevice } from '../interfaces/i-payload-device';
2
2
  export declare class PayioJwtPayloadDeviceEntity implements IPayioJwtPayloadDevice {
3
3
  id: string;
4
- registeredAt: number;
5
- type: string;
4
+ name: string | null;
6
5
  constructor(data?: Partial<PayioJwtPayloadDeviceEntity>);
7
6
  }
@@ -7,8 +7,7 @@ var PayioJwtPayloadDeviceEntity = /** @class */ (function () {
7
7
  function PayioJwtPayloadDeviceEntity(data) {
8
8
  // #region Properties (3)
9
9
  this.id = '';
10
- this.registeredAt = 0;
11
- this.type = '';
10
+ this.name = '';
12
11
  if (data) {
13
12
  for (var key in data) {
14
13
  if (data.hasOwnProperty(key) && key in this) {
@@ -1,8 +1,8 @@
1
- import { ESubscriptionStatus } from '../../../subscription-base/enums/subscription-status.enum';
1
+ import { ESubsStatus } from '../../../general';
2
2
  import { IPayioJwtPayloadSubscription } from '../interfaces/i-payload-subscription';
3
3
  export declare class PayioJwtPayloadSubscriptionEntity implements IPayioJwtPayloadSubscription {
4
4
  expiresAt: number;
5
5
  plan: string;
6
- status: ESubscriptionStatus;
6
+ status: ESubsStatus;
7
7
  constructor(data?: Partial<PayioJwtPayloadSubscriptionEntity>);
8
8
  }
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PayioJwtPayloadSubscriptionEntity = void 0;
4
- var subscription_status_enum_1 = require("../../../subscription-base/enums/subscription-status.enum");
4
+ var general_1 = require("../../../general");
5
5
  var PayioJwtPayloadSubscriptionEntity = /** @class */ (function () {
6
6
  // #endregion Properties (3)
7
7
  // #region Constructors (1)
@@ -9,7 +9,7 @@ var PayioJwtPayloadSubscriptionEntity = /** @class */ (function () {
9
9
  // #region Properties (3)
10
10
  this.expiresAt = 0;
11
11
  this.plan = '';
12
- this.status = subscription_status_enum_1.ESubscriptionStatus.PENDING;
12
+ this.status = general_1.ESubsStatus.PENDING;
13
13
  if (data) {
14
14
  for (var key in data) {
15
15
  if (data.hasOwnProperty(key) && key in this) {
@@ -1,5 +1,5 @@
1
1
  export interface IPayioJwtPayloadApp {
2
2
  id: string;
3
- name: string;
4
- version: string | null;
3
+ slug: string;
4
+ type: string;
5
5
  }
@@ -1,5 +1,4 @@
1
1
  export interface IPayioJwtPayloadDevice {
2
2
  id: string;
3
- registeredAt: number;
4
- type: string;
3
+ name: string | null;
5
4
  }
@@ -1,6 +1,6 @@
1
- import { ESubscriptionStatus } from '../../../subscription-base/enums/subscription-status.enum';
1
+ import { ESubsStatus } from '../../../general';
2
2
  export interface IPayioJwtPayloadSubscription {
3
3
  expiresAt: number;
4
4
  plan: string;
5
- status: ESubscriptionStatus;
5
+ status: ESubsStatus;
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.6.04",
3
+ "version": "1.6.06",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",