cecon-interfaces 1.2.49 → 1.2.51

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) 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-request-items.entity.mjs +21 -0
  5. package/dist/esm2022/fcm-token-message/entities/index.mjs +3 -0
  6. package/dist/esm2022/fcm-token-message/entities/token.entity.mjs +25 -0
  7. package/dist/esm2022/fcm-token-message/enums/skill.enum.mjs +10 -0
  8. package/dist/esm2022/fcm-token-message/index.mjs +3 -0
  9. package/dist/esm2022/fcm-token-message/interfaces/i-fcm-data-request-items.mjs +2 -0
  10. package/dist/esm2022/fcm-token-message/interfaces/i-token.mjs +2 -0
  11. package/dist/esm2022/fcm-token-message/interfaces/index.mjs +2 -0
  12. package/dist/esm2022/index.mjs +3 -1
  13. package/dist/esm2022/nati-v1/interfaces/i-cart.mjs +1 -1
  14. package/dist/esm2022/requested-items/entities/index.mjs +3 -0
  15. package/dist/esm2022/requested-items/entities/requested-items-data.entity.mjs +20 -0
  16. package/dist/esm2022/requested-items/entities/requested-items.entity.mjs +24 -0
  17. package/dist/esm2022/requested-items/index.mjs +3 -0
  18. package/dist/esm2022/requested-items/interfaces/i-requested-items-data.mjs +2 -0
  19. package/dist/esm2022/requested-items/interfaces/i-requested-items.mjs +2 -0
  20. package/dist/esm2022/requested-items/interfaces/index.mjs +2 -0
  21. package/dist/fcm-token-message/entities/fcm-data-request-items.entity.d.ts +10 -0
  22. package/dist/fcm-token-message/entities/fcm-data-request-items.entity.js +25 -0
  23. package/dist/fcm-token-message/entities/index.d.ts +2 -0
  24. package/dist/fcm-token-message/entities/index.js +7 -0
  25. package/dist/fcm-token-message/entities/token.entity.d.ts +14 -0
  26. package/dist/fcm-token-message/entities/token.entity.js +29 -0
  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/index.d.ts +2 -0
  30. package/dist/fcm-token-message/index.js +18 -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/i-token.d.ts +12 -0
  34. package/dist/fcm-token-message/interfaces/i-token.js +2 -0
  35. package/dist/fcm-token-message/interfaces/index.d.ts +2 -0
  36. package/dist/fcm-token-message/interfaces/index.js +2 -0
  37. package/dist/fesm2022/cecon-interfaces.mjs +107 -1
  38. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  39. package/dist/index.d.ts +2 -0
  40. package/dist/index.js +2 -0
  41. package/dist/nati-v1/interfaces/i-cart.d.ts +1 -1
  42. package/dist/package.json +1 -1
  43. package/dist/requested-items/entities/index.d.ts +2 -0
  44. package/dist/requested-items/entities/index.js +7 -0
  45. package/dist/requested-items/entities/requested-items-data.entity.d.ts +9 -0
  46. package/dist/requested-items/entities/requested-items-data.entity.js +24 -0
  47. package/dist/requested-items/entities/requested-items.entity.d.ts +14 -0
  48. package/dist/requested-items/entities/requested-items.entity.js +28 -0
  49. package/dist/requested-items/index.d.ts +2 -0
  50. package/dist/requested-items/index.js +18 -0
  51. package/dist/requested-items/interfaces/i-requested-items-data.d.ts +7 -0
  52. package/dist/requested-items/interfaces/i-requested-items-data.js +2 -0
  53. package/dist/requested-items/interfaces/i-requested-items.d.ts +12 -0
  54. package/dist/requested-items/interfaces/i-requested-items.js +2 -0
  55. package/dist/requested-items/interfaces/index.d.ts +2 -0
  56. package/dist/requested-items/interfaces/index.js +2 -0
  57. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -10,6 +10,7 @@ export * from './customer';
10
10
  export * from './customer-member';
11
11
  export * from './device';
12
12
  export * from './evolution';
13
+ export * from './fcm-token-message';
13
14
  export * from './feature';
14
15
  export * from './general';
15
16
  export * from './global-settings';
@@ -31,6 +32,7 @@ export * from './product-container';
31
32
  export * from './product-global';
32
33
  export * from './pubsub';
33
34
  export * from './purchases';
35
+ export * from './requested-items';
34
36
  export * from './resume';
35
37
  export * from './subscription-base';
36
38
  export * from './subscription-company';
package/dist/index.js CHANGED
@@ -26,6 +26,7 @@ __exportStar(require("./customer"), exports);
26
26
  __exportStar(require("./customer-member"), exports);
27
27
  __exportStar(require("./device"), exports);
28
28
  __exportStar(require("./evolution"), exports);
29
+ __exportStar(require("./fcm-token-message"), exports);
29
30
  __exportStar(require("./feature"), exports);
30
31
  __exportStar(require("./general"), exports);
31
32
  __exportStar(require("./global-settings"), exports);
@@ -47,6 +48,7 @@ __exportStar(require("./product-container"), exports);
47
48
  __exportStar(require("./product-global"), exports);
48
49
  __exportStar(require("./pubsub"), exports);
49
50
  __exportStar(require("./purchases"), exports);
51
+ __exportStar(require("./requested-items"), exports);
50
52
  __exportStar(require("./resume"), exports);
51
53
  __exportStar(require("./subscription-base"), exports);
52
54
  __exportStar(require("./subscription-company"), exports);
@@ -5,8 +5,8 @@ export interface INatiV1Cart {
5
5
  askedForTheBill: boolean;
6
6
  blocked: boolean;
7
7
  customerId: string;
8
- dtAlteracao: Date;
9
8
  desenfila?: INatiV1CartDesenfila | null;
9
+ dtAlteracao: Date;
10
10
  firstDate: Date;
11
11
  id: number;
12
12
  idOperadorCaixa: number;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.49",
3
+ "version": "1.2.51",
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.49",
3
+ "version": "1.2.51",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",