cecon-interfaces 1.4.22 → 1.4.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. package/dist/campaign/entities/campaign-rule.entity.d.ts +8 -0
  2. package/dist/campaign/entities/campaign-rule.entity.js +21 -0
  3. package/dist/campaign/entities/campaign-sponsorship.entity.d.ts +6 -0
  4. package/dist/campaign/entities/campaign-sponsorship.entity.js +19 -0
  5. package/dist/campaign/entities/campaign.entity.d.ts +16 -7
  6. package/dist/campaign/entities/campaign.entity.js +15 -8
  7. package/dist/campaign/entities/index.d.ts +2 -0
  8. package/dist/campaign/entities/index.js +5 -1
  9. package/dist/campaign/enums/e-campaign-status.enum.d.ts +0 -1
  10. package/dist/campaign/enums/e-campaign-status.enum.js +0 -1
  11. package/dist/campaign/enums/index.d.ts +2 -0
  12. package/dist/campaign/enums/index.js +5 -1
  13. package/dist/campaign/enums/rule-types.enum.d.ts +13 -0
  14. package/dist/campaign/enums/rule-types.enum.js +17 -0
  15. package/dist/campaign/enums/target-types.enum.d.ts +6 -0
  16. package/dist/campaign/enums/target-types.enum.js +10 -0
  17. package/dist/campaign/interfaces/i-campaign-rule.d.ts +7 -0
  18. package/dist/campaign/interfaces/i-campaign-rule.js +2 -0
  19. package/dist/campaign/interfaces/i-campaign-sponsorship.d.ts +4 -0
  20. package/dist/campaign/interfaces/i-campaign-sponsorship.js +2 -0
  21. package/dist/campaign/interfaces/i-campaign.d.ts +17 -5
  22. package/dist/campaign/interfaces/index.d.ts +2 -0
  23. package/dist/esm2022/campaign/entities/campaign-rule.entity.mjs +17 -0
  24. package/dist/esm2022/campaign/entities/campaign-sponsorship.entity.mjs +15 -0
  25. package/dist/esm2022/campaign/entities/campaign.entity.mjs +17 -10
  26. package/dist/esm2022/campaign/entities/index.mjs +3 -1
  27. package/dist/esm2022/campaign/enums/e-campaign-status.enum.mjs +1 -2
  28. package/dist/esm2022/campaign/enums/index.mjs +3 -1
  29. package/dist/esm2022/campaign/enums/rule-types.enum.mjs +15 -0
  30. package/dist/esm2022/campaign/enums/target-types.enum.mjs +8 -0
  31. package/dist/esm2022/campaign/interfaces/i-campaign-rule.mjs +2 -0
  32. package/dist/esm2022/campaign/interfaces/i-campaign-sponsorship.mjs +2 -0
  33. package/dist/esm2022/campaign/interfaces/i-campaign.mjs +1 -1
  34. package/dist/esm2022/campaign/interfaces/index.mjs +1 -1
  35. package/dist/esm2022/mobyo/mobyo-api/interfaces/i-menu-schedule-v2.mjs +1 -1
  36. package/dist/esm2022/wa-server/enums/index.mjs +1 -2
  37. package/dist/fesm2022/cecon-interfaces.mjs +69 -29
  38. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  39. package/dist/mobyo/mobyo-api/interfaces/i-menu-schedule-v2.d.ts +2 -2
  40. package/dist/package.json +1 -1
  41. package/dist/wa-server/enums/index.d.ts +0 -1
  42. package/dist/wa-server/enums/index.js +1 -3
  43. package/package.json +1 -1
  44. package/dist/esm2022/wa-server/enums/handler-message.enum.mjs +0 -19
  45. package/dist/wa-server/enums/handler-message.enum.d.ts +0 -17
  46. package/dist/wa-server/enums/handler-message.enum.js +0 -21
@@ -6,6 +6,6 @@ export interface IMenuScheduleV2 {
6
6
  thu: boolean;
7
7
  tue: boolean;
8
8
  wed: boolean;
9
- startAt: string;
10
- endAt: string;
9
+ startAt: string | Date;
10
+ endAt: string | Date;
11
11
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.4.22",
3
+ "version": "1.4.23",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,2 +1 @@
1
- export { EWaServerHandlerMessage } from './handler-message.enum';
2
1
  export { EWaServerStatus } from './status.enum';
@@ -1,7 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EWaServerStatus = exports.EWaServerHandlerMessage = void 0;
4
- var handler_message_enum_1 = require("./handler-message.enum");
5
- Object.defineProperty(exports, "EWaServerHandlerMessage", { enumerable: true, get: function () { return handler_message_enum_1.EWaServerHandlerMessage; } });
3
+ exports.EWaServerStatus = void 0;
6
4
  var status_enum_1 = require("./status.enum");
7
5
  Object.defineProperty(exports, "EWaServerStatus", { enumerable: true, get: function () { return status_enum_1.EWaServerStatus; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.4.22",
3
+ "version": "1.4.23",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,19 +0,0 @@
1
- export var EWaServerHandlerMessage;
2
- (function (EWaServerHandlerMessage) {
3
- EWaServerHandlerMessage["WELCOME"] = "WELCOME";
4
- EWaServerHandlerMessage["ORDER_DISPATCHED"] = "ORDER_DISPATCHED";
5
- EWaServerHandlerMessage["SET_PIX"] = "SET_PIX";
6
- EWaServerHandlerMessage["CONFIRM_PAYMENT_PIX"] = "CONFIRM_PAYMENT_PIX";
7
- EWaServerHandlerMessage["ORDER_CANCELLED"] = "ORDER_CANCELLED";
8
- EWaServerHandlerMessage["ORDER_DELIVERED"] = "ORDER_DELIVERED";
9
- EWaServerHandlerMessage["ORDER_READY_TO_PICKUP"] = "ORDER_READY_TO_PICKUP";
10
- EWaServerHandlerMessage["ORDER_PLACED"] = "ORDER_PLACED";
11
- EWaServerHandlerMessage["ORDER_CONFIRMED"] = "ORDER_CONFIRMED";
12
- EWaServerHandlerMessage["CREATED_COMPANY"] = "CREATED_COMPANY";
13
- EWaServerHandlerMessage["SUBSCRIPTION_CREATED"] = "SUBSCRIPTION_CREATED";
14
- EWaServerHandlerMessage["SUBSCRIPTION_CANCELLED"] = "SUBSCRIPTION_CANCELLED";
15
- EWaServerHandlerMessage["SUBSCRIPTION_RENEWED"] = "SUBSCRIPTION_RENEWED";
16
- EWaServerHandlerMessage["SUBSCRIPTION_EXPIRED"] = "SUBSCRIPTION_EXPIRED";
17
- EWaServerHandlerMessage["SUBSCRIPTION_SUSPENDED"] = "SUBSCRIPTION_SUSPENDED";
18
- })(EWaServerHandlerMessage || (EWaServerHandlerMessage = {}));
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGFuZGxlci1tZXNzYWdlLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvd2Etc2VydmVyL2VudW1zL2hhbmRsZXItbWVzc2FnZS5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLHVCQWdCWDtBQWhCRCxXQUFZLHVCQUF1QjtJQUNqQyw4Q0FBbUIsQ0FBQTtJQUNuQixnRUFBcUMsQ0FBQTtJQUNyQyw4Q0FBbUIsQ0FBQTtJQUNuQixzRUFBMkMsQ0FBQTtJQUMzQyw4REFBbUMsQ0FBQTtJQUNuQyw4REFBbUMsQ0FBQTtJQUNuQywwRUFBK0MsQ0FBQTtJQUMvQyx3REFBNkIsQ0FBQTtJQUM3Qiw4REFBbUMsQ0FBQTtJQUNuQyw4REFBbUMsQ0FBQTtJQUNuQyx3RUFBNkMsQ0FBQTtJQUM3Qyw0RUFBaUQsQ0FBQTtJQUNqRCx3RUFBNkMsQ0FBQTtJQUM3Qyx3RUFBNkMsQ0FBQTtJQUM3Qyw0RUFBaUQsQ0FBQTtBQUNuRCxDQUFDLEVBaEJXLHVCQUF1QixLQUF2Qix1QkFBdUIsUUFnQmxDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gRVdhU2VydmVySGFuZGxlck1lc3NhZ2Uge1xyXG4gIFdFTENPTUUgPSAnV0VMQ09NRScsXHJcbiAgT1JERVJfRElTUEFUQ0hFRCA9ICdPUkRFUl9ESVNQQVRDSEVEJyxcclxuICBTRVRfUElYID0gJ1NFVF9QSVgnLFxyXG4gIENPTkZJUk1fUEFZTUVOVF9QSVggPSAnQ09ORklSTV9QQVlNRU5UX1BJWCcsXHJcbiAgT1JERVJfQ0FOQ0VMTEVEID0gJ09SREVSX0NBTkNFTExFRCcsXHJcbiAgT1JERVJfREVMSVZFUkVEID0gJ09SREVSX0RFTElWRVJFRCcsXHJcbiAgT1JERVJfUkVBRFlfVE9fUElDS1VQID0gJ09SREVSX1JFQURZX1RPX1BJQ0tVUCcsXHJcbiAgT1JERVJfUExBQ0VEID0gJ09SREVSX1BMQUNFRCcsXHJcbiAgT1JERVJfQ09ORklSTUVEID0gJ09SREVSX0NPTkZJUk1FRCcsXHJcbiAgQ1JFQVRFRF9DT01QQU5ZID0gJ0NSRUFURURfQ09NUEFOWScsXHJcbiAgU1VCU0NSSVBUSU9OX0NSRUFURUQgPSAnU1VCU0NSSVBUSU9OX0NSRUFURUQnLFxyXG4gIFNVQlNDUklQVElPTl9DQU5DRUxMRUQgPSAnU1VCU0NSSVBUSU9OX0NBTkNFTExFRCcsXHJcbiAgU1VCU0NSSVBUSU9OX1JFTkVXRUQgPSAnU1VCU0NSSVBUSU9OX1JFTkVXRUQnLFxyXG4gIFNVQlNDUklQVElPTl9FWFBJUkVEID0gJ1NVQlNDUklQVElPTl9FWFBJUkVEJyxcclxuICBTVUJTQ1JJUFRJT05fU1VTUEVOREVEID0gJ1NVQlNDUklQVElPTl9TVVNQRU5ERUQnLFxyXG59XHJcbiJdfQ==
@@ -1,17 +0,0 @@
1
- export declare enum EWaServerHandlerMessage {
2
- WELCOME = "WELCOME",
3
- ORDER_DISPATCHED = "ORDER_DISPATCHED",
4
- SET_PIX = "SET_PIX",
5
- CONFIRM_PAYMENT_PIX = "CONFIRM_PAYMENT_PIX",
6
- ORDER_CANCELLED = "ORDER_CANCELLED",
7
- ORDER_DELIVERED = "ORDER_DELIVERED",
8
- ORDER_READY_TO_PICKUP = "ORDER_READY_TO_PICKUP",
9
- ORDER_PLACED = "ORDER_PLACED",
10
- ORDER_CONFIRMED = "ORDER_CONFIRMED",
11
- CREATED_COMPANY = "CREATED_COMPANY",
12
- SUBSCRIPTION_CREATED = "SUBSCRIPTION_CREATED",
13
- SUBSCRIPTION_CANCELLED = "SUBSCRIPTION_CANCELLED",
14
- SUBSCRIPTION_RENEWED = "SUBSCRIPTION_RENEWED",
15
- SUBSCRIPTION_EXPIRED = "SUBSCRIPTION_EXPIRED",
16
- SUBSCRIPTION_SUSPENDED = "SUBSCRIPTION_SUSPENDED"
17
- }
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EWaServerHandlerMessage = void 0;
4
- var EWaServerHandlerMessage;
5
- (function (EWaServerHandlerMessage) {
6
- EWaServerHandlerMessage["WELCOME"] = "WELCOME";
7
- EWaServerHandlerMessage["ORDER_DISPATCHED"] = "ORDER_DISPATCHED";
8
- EWaServerHandlerMessage["SET_PIX"] = "SET_PIX";
9
- EWaServerHandlerMessage["CONFIRM_PAYMENT_PIX"] = "CONFIRM_PAYMENT_PIX";
10
- EWaServerHandlerMessage["ORDER_CANCELLED"] = "ORDER_CANCELLED";
11
- EWaServerHandlerMessage["ORDER_DELIVERED"] = "ORDER_DELIVERED";
12
- EWaServerHandlerMessage["ORDER_READY_TO_PICKUP"] = "ORDER_READY_TO_PICKUP";
13
- EWaServerHandlerMessage["ORDER_PLACED"] = "ORDER_PLACED";
14
- EWaServerHandlerMessage["ORDER_CONFIRMED"] = "ORDER_CONFIRMED";
15
- EWaServerHandlerMessage["CREATED_COMPANY"] = "CREATED_COMPANY";
16
- EWaServerHandlerMessage["SUBSCRIPTION_CREATED"] = "SUBSCRIPTION_CREATED";
17
- EWaServerHandlerMessage["SUBSCRIPTION_CANCELLED"] = "SUBSCRIPTION_CANCELLED";
18
- EWaServerHandlerMessage["SUBSCRIPTION_RENEWED"] = "SUBSCRIPTION_RENEWED";
19
- EWaServerHandlerMessage["SUBSCRIPTION_EXPIRED"] = "SUBSCRIPTION_EXPIRED";
20
- EWaServerHandlerMessage["SUBSCRIPTION_SUSPENDED"] = "SUBSCRIPTION_SUSPENDED";
21
- })(EWaServerHandlerMessage || (exports.EWaServerHandlerMessage = EWaServerHandlerMessage = {}));