cecon-interfaces 1.6.47 → 1.6.49

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. package/dist/esm2022/exchange-data/entities/exchanges.entity.mjs +12 -0
  2. package/dist/esm2022/exchange-data/entities/index.mjs +2 -0
  3. package/dist/esm2022/exchange-data/index.mjs +3 -0
  4. package/dist/esm2022/exchange-data/interfaces/exchanges.interface.mjs +2 -0
  5. package/dist/esm2022/exchange-data/interfaces/index.mjs +2 -0
  6. package/dist/esm2022/index.mjs +2 -1
  7. package/dist/esm2022/payio/app/entities/app.entity.mjs +3 -2
  8. package/dist/esm2022/payio/app/enums/app-slug.enum.mjs +7 -0
  9. package/dist/esm2022/payio/app/enums/index.mjs +2 -0
  10. package/dist/esm2022/payio/app/index.mjs +2 -1
  11. package/dist/esm2022/payio/app/interfaces/i-app.mjs +1 -1
  12. package/dist/esm2022/payio/orders/entities/order.entity.mjs +6 -3
  13. package/dist/esm2022/payio/orders/interfaces/i-order.mjs +1 -1
  14. package/dist/exchange-data/entities/exchanges.entity.d.ts +11 -0
  15. package/dist/exchange-data/entities/exchanges.entity.js +19 -0
  16. package/dist/exchange-data/entities/index.d.ts +1 -0
  17. package/dist/exchange-data/entities/index.js +5 -0
  18. package/dist/exchange-data/index.d.ts +2 -0
  19. package/dist/exchange-data/index.js +18 -0
  20. package/dist/exchange-data/interfaces/exchanges.interface.d.ts +10 -0
  21. package/dist/exchange-data/interfaces/exchanges.interface.js +2 -0
  22. package/dist/exchange-data/interfaces/index.d.ts +1 -0
  23. package/dist/exchange-data/interfaces/index.js +2 -0
  24. package/dist/fesm2022/cecon-interfaces.mjs +25 -4
  25. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  26. package/dist/index.d.ts +1 -0
  27. package/dist/index.js +1 -0
  28. package/dist/package.json +1 -1
  29. package/dist/payio/app/entities/app.entity.d.ts +2 -1
  30. package/dist/payio/app/entities/app.entity.js +2 -1
  31. package/dist/payio/app/enums/app-slug.enum.d.ts +5 -0
  32. package/dist/payio/app/enums/app-slug.enum.js +9 -0
  33. package/dist/payio/app/enums/index.d.ts +1 -0
  34. package/dist/payio/app/enums/index.js +5 -0
  35. package/dist/payio/app/index.d.ts +1 -0
  36. package/dist/payio/app/index.js +1 -0
  37. package/dist/payio/app/interfaces/i-app.d.ts +2 -1
  38. package/dist/payio/orders/entities/order.entity.d.ts +3 -0
  39. package/dist/payio/orders/entities/order.entity.js +5 -2
  40. package/dist/payio/orders/interfaces/i-order.d.ts +3 -0
  41. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -17,6 +17,7 @@ export * from './device';
17
17
  export * from './envelope';
18
18
  export * from './event-message';
19
19
  export * from './evolution';
20
+ export * from './exchange-data';
20
21
  export * from './fcm-token-message';
21
22
  export * from './feature';
22
23
  export * from './general';
package/dist/index.js CHANGED
@@ -33,6 +33,7 @@ __exportStar(require("./device"), exports);
33
33
  __exportStar(require("./envelope"), exports);
34
34
  __exportStar(require("./event-message"), exports);
35
35
  __exportStar(require("./evolution"), exports);
36
+ __exportStar(require("./exchange-data"), exports);
36
37
  __exportStar(require("./fcm-token-message"), exports);
37
38
  __exportStar(require("./feature"), exports);
38
39
  __exportStar(require("./general"), exports);
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.6.47",
3
+ "version": "1.6.49",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,3 +1,4 @@
1
+ import { EPayuioAppSlug } from '../enums';
1
2
  import { IPayioApp } from '../interfaces/i-app';
2
3
  export declare class PayioAppEntity implements IPayioApp {
3
4
  active: boolean;
@@ -8,7 +9,7 @@ export declare class PayioAppEntity implements IPayioApp {
8
9
  name: string;
9
10
  price: number;
10
11
  secrets: string;
11
- slug: string;
12
+ slug: EPayuioAppSlug;
12
13
  tags: string[];
13
14
  constructor(data?: Partial<PayioAppEntity>);
14
15
  }
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PayioAppEntity = void 0;
4
+ var enums_1 = require("../enums");
4
5
  var PayioAppEntity = /** @class */ (function () {
5
6
  // #endregion Properties (11)
6
7
  // #region Constructors (1)
@@ -14,7 +15,7 @@ var PayioAppEntity = /** @class */ (function () {
14
15
  this.name = '';
15
16
  this.price = 0;
16
17
  this.secrets = '';
17
- this.slug = '';
18
+ this.slug = enums_1.EPayuioAppSlug.none;
18
19
  this.tags = [];
19
20
  if (data) {
20
21
  for (var key in data) {
@@ -0,0 +1,5 @@
1
+ export declare enum EPayuioAppSlug {
2
+ payio_cash = "payio-cash",
3
+ payio_chef = "payio-chef",
4
+ none = "none"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EPayuioAppSlug = void 0;
4
+ var EPayuioAppSlug;
5
+ (function (EPayuioAppSlug) {
6
+ EPayuioAppSlug["payio_cash"] = "payio-cash";
7
+ EPayuioAppSlug["payio_chef"] = "payio-chef";
8
+ EPayuioAppSlug["none"] = "none";
9
+ })(EPayuioAppSlug || (exports.EPayuioAppSlug = EPayuioAppSlug = {}));
@@ -0,0 +1 @@
1
+ export { EPayuioAppSlug } from './app-slug.enum';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EPayuioAppSlug = void 0;
4
+ var app_slug_enum_1 = require("./app-slug.enum");
5
+ Object.defineProperty(exports, "EPayuioAppSlug", { enumerable: true, get: function () { return app_slug_enum_1.EPayuioAppSlug; } });
@@ -1,2 +1,3 @@
1
1
  export * from './entities';
2
+ export * from './enums';
2
3
  export * from './interfaces';
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./enums"), exports);
18
19
  __exportStar(require("./interfaces"), exports);
@@ -1,3 +1,4 @@
1
+ import { EPayuioAppSlug } from "../enums";
1
2
  export interface IPayioApp {
2
3
  active: boolean;
3
4
  description: string;
@@ -5,7 +6,7 @@ export interface IPayioApp {
5
6
  features: string[];
6
7
  id: string;
7
8
  name: string;
8
- slug: string;
9
+ slug: EPayuioAppSlug;
9
10
  price: number;
10
11
  secrets: string;
11
12
  tags: string[];
@@ -1,7 +1,10 @@
1
1
  import { OrderEntity } from '../../../order';
2
+ import { EPayuioAppSlug } from '../../app';
2
3
  import { IPayioOrder } from '../interfaces';
3
4
  import { PayioOrderIndoorEntity } from './indoor.entity';
4
5
  export declare class PayioOrderEntity extends OrderEntity implements IPayioOrder {
6
+ appId: string | null;
7
+ appSlug: EPayuioAppSlug;
5
8
  deviceId: string | null;
6
9
  indoor: PayioOrderIndoorEntity | null;
7
10
  constructor(data?: Partial<PayioOrderEntity>);
@@ -17,13 +17,16 @@ var __extends = (this && this.__extends) || (function () {
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.PayioOrderEntity = void 0;
19
19
  var order_1 = require("../../../order");
20
+ var app_1 = require("../../app");
20
21
  var PayioOrderEntity = /** @class */ (function (_super) {
21
22
  __extends(PayioOrderEntity, _super);
22
- // #endregion Properties (2)
23
+ // #endregion Properties (4)
23
24
  // #region Constructors (1)
24
25
  function PayioOrderEntity(data) {
25
26
  var _this = _super.call(this) || this;
26
- // #region Properties (2)
27
+ // #region Properties (4)
28
+ _this.appId = null;
29
+ _this.appSlug = app_1.EPayuioAppSlug.none;
27
30
  _this.deviceId = null;
28
31
  _this.indoor = null;
29
32
  if (data) {
@@ -1,6 +1,9 @@
1
1
  import { IOrder } from '../../../order';
2
+ import { EPayuioAppSlug } from '../../app';
2
3
  import { IPayioOrderIndoor } from './i-order-indoor';
3
4
  export interface IPayioOrder extends IOrder {
4
5
  indoor: IPayioOrderIndoor | null;
5
6
  deviceId: string | null;
7
+ appId: string | null;
8
+ appSlug: EPayuioAppSlug;
6
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.6.47",
3
+ "version": "1.6.49",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",