cecon-interfaces 1.2.50 → 1.2.52

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. package/dist/app/enums/mode.enum.d.ts +7 -0
  2. package/dist/app/enums/mode.enum.js +7 -0
  3. package/dist/esm2022/app/enums/mode.enum.mjs +8 -1
  4. package/dist/esm2022/fcm-token-message/entities/fcm-data-received-desenfila-payment.entity.mjs +22 -0
  5. package/dist/esm2022/fcm-token-message/entities/fcm-data-request-items.entity.mjs +21 -0
  6. package/dist/esm2022/fcm-token-message/entities/index.mjs +3 -1
  7. package/dist/esm2022/fcm-token-message/entities/token.entity.mjs +1 -2
  8. package/dist/esm2022/fcm-token-message/enums/skill.enum.mjs +10 -0
  9. package/dist/esm2022/fcm-token-message/interfaces/i-fcm-data-received-desenfila-payment.mjs +2 -0
  10. package/dist/esm2022/fcm-token-message/interfaces/i-fcm-data-request-items.mjs +2 -0
  11. package/dist/esm2022/fcm-token-message/interfaces/index.mjs +1 -1
  12. package/dist/esm2022/index.mjs +2 -1
  13. package/dist/esm2022/requested-items/entities/index.mjs +3 -0
  14. package/dist/esm2022/requested-items/entities/requested-items-data.entity.mjs +20 -0
  15. package/dist/esm2022/requested-items/entities/requested-items.entity.mjs +24 -0
  16. package/dist/esm2022/requested-items/index.mjs +3 -0
  17. package/dist/esm2022/requested-items/interfaces/i-requested-items-data.mjs +2 -0
  18. package/dist/esm2022/requested-items/interfaces/i-requested-items.mjs +2 -0
  19. package/dist/esm2022/requested-items/interfaces/index.mjs +2 -0
  20. package/dist/fcm-token-message/entities/fcm-data-received-desenfila-payment.entity.d.ts +11 -0
  21. package/dist/fcm-token-message/entities/fcm-data-received-desenfila-payment.entity.js +26 -0
  22. package/dist/fcm-token-message/entities/fcm-data-request-items.entity.d.ts +10 -0
  23. package/dist/fcm-token-message/entities/fcm-data-request-items.entity.js +25 -0
  24. package/dist/fcm-token-message/entities/index.d.ts +2 -0
  25. package/dist/fcm-token-message/entities/index.js +5 -1
  26. package/dist/fcm-token-message/entities/token.entity.d.ts +0 -1
  27. package/dist/fcm-token-message/enums/skill.enum.d.ts +8 -0
  28. package/dist/fcm-token-message/enums/skill.enum.js +12 -0
  29. package/dist/fcm-token-message/interfaces/i-fcm-data-received-desenfila-payment.d.ts +9 -0
  30. package/dist/fcm-token-message/interfaces/i-fcm-data-received-desenfila-payment.js +2 -0
  31. package/dist/fcm-token-message/interfaces/i-fcm-data-request-items.d.ts +8 -0
  32. package/dist/fcm-token-message/interfaces/i-fcm-data-request-items.js +2 -0
  33. package/dist/fcm-token-message/interfaces/index.d.ts +2 -0
  34. package/dist/fesm2022/cecon-interfaces.mjs +103 -2
  35. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  36. package/dist/index.d.ts +1 -0
  37. package/dist/index.js +1 -0
  38. package/dist/package.json +1 -1
  39. package/dist/requested-items/entities/index.d.ts +2 -0
  40. package/dist/requested-items/entities/index.js +7 -0
  41. package/dist/requested-items/entities/requested-items-data.entity.d.ts +9 -0
  42. package/dist/requested-items/entities/requested-items-data.entity.js +24 -0
  43. package/dist/requested-items/entities/requested-items.entity.d.ts +14 -0
  44. package/dist/requested-items/entities/requested-items.entity.js +28 -0
  45. package/dist/requested-items/index.d.ts +2 -0
  46. package/dist/requested-items/index.js +18 -0
  47. package/dist/requested-items/interfaces/i-requested-items-data.d.ts +7 -0
  48. package/dist/requested-items/interfaces/i-requested-items-data.js +2 -0
  49. package/dist/requested-items/interfaces/i-requested-items.d.ts +12 -0
  50. package/dist/requested-items/interfaces/i-requested-items.js +2 -0
  51. package/dist/requested-items/interfaces/index.d.ts +2 -0
  52. package/dist/requested-items/interfaces/index.js +2 -0
  53. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -32,6 +32,7 @@ export * from './product-container';
32
32
  export * from './product-global';
33
33
  export * from './pubsub';
34
34
  export * from './purchases';
35
+ export * from './requested-items';
35
36
  export * from './resume';
36
37
  export * from './subscription-base';
37
38
  export * from './subscription-company';
package/dist/index.js CHANGED
@@ -48,6 +48,7 @@ __exportStar(require("./product-container"), exports);
48
48
  __exportStar(require("./product-global"), exports);
49
49
  __exportStar(require("./pubsub"), exports);
50
50
  __exportStar(require("./purchases"), exports);
51
+ __exportStar(require("./requested-items"), exports);
51
52
  __exportStar(require("./resume"), exports);
52
53
  __exportStar(require("./subscription-base"), exports);
53
54
  __exportStar(require("./subscription-company"), exports);
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.50",
3
+ "version": "1.2.52",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -0,0 +1,2 @@
1
+ export { RequestedItemDataEntity } from './requested-items-data.entity';
2
+ export { RequestedItemsEntity } from './requested-items.entity';
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RequestedItemsEntity = exports.RequestedItemDataEntity = void 0;
4
+ var requested_items_data_entity_1 = require("./requested-items-data.entity");
5
+ Object.defineProperty(exports, "RequestedItemDataEntity", { enumerable: true, get: function () { return requested_items_data_entity_1.RequestedItemDataEntity; } });
6
+ var requested_items_entity_1 = require("./requested-items.entity");
7
+ Object.defineProperty(exports, "RequestedItemsEntity", { enumerable: true, get: function () { return requested_items_entity_1.RequestedItemsEntity; } });
@@ -0,0 +1,9 @@
1
+ import { IRequestedItemData } from '../interfaces/i-requested-items-data';
2
+ export declare class RequestedItemDataEntity implements IRequestedItemData {
3
+ description: string;
4
+ quantity: number;
5
+ totalPrice: number;
6
+ unit: string | null;
7
+ unitPrice: number;
8
+ constructor(data?: Partial<RequestedItemDataEntity>);
9
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RequestedItemDataEntity = void 0;
4
+ var RequestedItemDataEntity = /** @class */ (function () {
5
+ // #endregion Properties (5)
6
+ // #region Constructors (1)
7
+ function RequestedItemDataEntity(data) {
8
+ // #region Properties (5)
9
+ this.description = '';
10
+ this.quantity = 1;
11
+ this.totalPrice = 0;
12
+ this.unit = 'UN';
13
+ this.unitPrice = 0;
14
+ if (data) {
15
+ for (var key in data) {
16
+ if (data.hasOwnProperty(key) && key in this) {
17
+ this[key] = data[key];
18
+ }
19
+ }
20
+ }
21
+ }
22
+ return RequestedItemDataEntity;
23
+ }());
24
+ exports.RequestedItemDataEntity = RequestedItemDataEntity;
@@ -0,0 +1,14 @@
1
+ import { IRequestedItems } from '../interfaces/i-requested-items';
2
+ import { IRequestedItemData } from '../interfaces/i-requested-items-data';
3
+ export declare class RequestedItemsEntity implements IRequestedItems {
4
+ companyId: string | null;
5
+ containerId: string | null;
6
+ createdAt: Date;
7
+ data: IRequestedItemData[];
8
+ id: string;
9
+ pos: string | null;
10
+ preview: boolean;
11
+ token: string;
12
+ updatedAt: Date;
13
+ constructor(data?: Partial<RequestedItemsEntity>);
14
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RequestedItemsEntity = void 0;
4
+ var RequestedItemsEntity = /** @class */ (function () {
5
+ // #endregion Properties (9)
6
+ // #region Constructors (1)
7
+ function RequestedItemsEntity(data) {
8
+ // #region Properties (9)
9
+ this.companyId = null;
10
+ this.containerId = null;
11
+ this.createdAt = new Date();
12
+ this.data = [];
13
+ this.id = '';
14
+ this.pos = null;
15
+ this.preview = false;
16
+ this.token = '';
17
+ this.updatedAt = new Date();
18
+ if (data) {
19
+ for (var key in data) {
20
+ if (data.hasOwnProperty(key) && key in this) {
21
+ this[key] = data[key];
22
+ }
23
+ }
24
+ }
25
+ }
26
+ return RequestedItemsEntity;
27
+ }());
28
+ exports.RequestedItemsEntity = RequestedItemsEntity;
@@ -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,7 @@
1
+ export interface IRequestedItemData {
2
+ description: string;
3
+ quantity: number;
4
+ totalPrice: number;
5
+ unit: string | null;
6
+ unitPrice: number;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ import { IRequestedItemData } from './i-requested-items-data';
2
+ export interface IRequestedItems {
3
+ companyId: string | null;
4
+ containerId: string | null;
5
+ createdAt: Date;
6
+ pos: string | null;
7
+ id: string;
8
+ updatedAt: Date;
9
+ preview: boolean;
10
+ token: string;
11
+ data: IRequestedItemData[];
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { IRequestedItems } from './i-requested-items';
2
+ export { IRequestedItemData } from './i-requested-items-data';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.50",
3
+ "version": "1.2.52",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",