cecon-interfaces 1.2.27 → 1.2.30

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. package/dist/esm2022/evolution/entities/chatwoot.entity.mjs +20 -0
  2. package/dist/esm2022/evolution/entities/index.mjs +4 -2
  3. package/dist/esm2022/evolution/entities/instance.entity.mjs +9 -4
  4. package/dist/esm2022/evolution/entities/typebot.entity.mjs +27 -0
  5. package/dist/esm2022/evolution/entities/webhook.entity.mjs +29 -0
  6. package/dist/esm2022/evolution/enums/events.enum.mjs +2 -1
  7. package/dist/esm2022/evolution/interfaces/i-instance.mjs +1 -1
  8. package/dist/esm2022/evolution/interfaces/i-typebot.mjs +2 -0
  9. package/dist/esm2022/evolution/interfaces/i-webhook.mjs +2 -0
  10. package/dist/esm2022/evolution/interfaces/index.mjs +2 -2
  11. package/dist/esm2022/evolution/interfaces/send-messages/i-message-key.mjs +2 -0
  12. package/dist/esm2022/evolution/interfaces/send-messages/i-message.mjs +2 -0
  13. package/dist/esm2022/evolution/interfaces/send-messages/index.mjs +2 -0
  14. package/dist/esm2022/global-settings/entities/global-setting-master.entity.mjs +5 -3
  15. package/dist/esm2022/global-settings/interfaces/i-global-setting-master.mjs +1 -1
  16. package/dist/evolution/entities/index.d.ts +3 -1
  17. package/dist/evolution/entities/index.js +7 -3
  18. package/dist/evolution/entities/instance.entity.d.ts +7 -2
  19. package/dist/evolution/entities/instance.entity.js +8 -3
  20. package/dist/evolution/entities/typebot.entity.d.ts +17 -0
  21. package/dist/evolution/entities/typebot.entity.js +34 -0
  22. package/dist/evolution/entities/webhook.entity.d.ts +10 -0
  23. package/dist/evolution/entities/webhook.entity.js +33 -0
  24. package/dist/evolution/enums/events.enum.d.ts +1 -0
  25. package/dist/evolution/enums/events.enum.js +1 -0
  26. package/dist/evolution/interfaces/i-instance.d.ts +7 -1
  27. package/dist/evolution/interfaces/i-typebot.d.ts +13 -0
  28. package/dist/evolution/interfaces/i-typebot.js +2 -0
  29. package/dist/evolution/interfaces/i-webhook.d.ts +8 -0
  30. package/dist/evolution/interfaces/i-webhook.js +2 -0
  31. package/dist/evolution/interfaces/index.d.ts +3 -0
  32. package/dist/evolution/interfaces/index.js +15 -0
  33. package/dist/evolution/interfaces/send-messages/i-message-key.d.ts +5 -0
  34. package/dist/evolution/interfaces/send-messages/i-message-key.js +2 -0
  35. package/dist/evolution/interfaces/send-messages/i-message.d.ts +7 -0
  36. package/dist/evolution/interfaces/send-messages/i-message.js +2 -0
  37. package/dist/evolution/interfaces/send-messages/index.d.ts +2 -0
  38. package/dist/evolution/interfaces/send-messages/index.js +2 -0
  39. package/dist/fesm2022/cecon-interfaces.mjs +69 -6
  40. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  41. package/dist/global-settings/entities/global-setting-master.entity.d.ts +2 -0
  42. package/dist/global-settings/entities/global-setting-master.entity.js +4 -2
  43. package/dist/global-settings/interfaces/i-global-setting-master.d.ts +5 -3
  44. package/dist/package.json +1 -1
  45. package/package.json +1 -1
  46. package/dist/esm2022/evolution/entities/chat-woot.entity.mjs +0 -20
  47. /package/dist/evolution/entities/{chat-woot.entity.d.ts → chatwoot.entity.d.ts} +0 -0
  48. /package/dist/evolution/entities/{chat-woot.entity.js → chatwoot.entity.js} +0 -0
@@ -9,8 +9,10 @@ export declare class GlobalSettingMasterEntity implements IGlobalSettingMaster {
9
9
  subscriptionsCustomerSuspendDays: number;
10
10
  subscriptionsExpireDays: number;
11
11
  subscriptionsSuspendDays: number;
12
+ waServerApikey: string;
12
13
  waServerBaseUrl: string;
13
14
  waServerGlobalKey: string;
15
+ waServerInstanceName: string;
14
16
  waServerNumber: string;
15
17
  constructor(data?: Partial<GlobalSettingMasterEntity>);
16
18
  }
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GlobalSettingMasterEntity = void 0;
4
4
  var GlobalSettingMasterEntity = /** @class */ (function () {
5
- // #endregion Properties (12)
5
+ // #endregion Properties (14)
6
6
  // #region Constructors (1)
7
7
  function GlobalSettingMasterEntity(data) {
8
- // #region Properties (12)
8
+ // #region Properties (14)
9
9
  this.billingDays = 10;
10
10
  this.deleteInvoicesPlacedDays = 10;
11
11
  this.deleteSubscriptionsPlacedDays = 10;
@@ -15,8 +15,10 @@ var GlobalSettingMasterEntity = /** @class */ (function () {
15
15
  this.subscriptionsCustomerSuspendDays = 1;
16
16
  this.subscriptionsExpireDays = 1;
17
17
  this.subscriptionsSuspendDays = 1;
18
+ this.waServerApikey = '';
18
19
  this.waServerBaseUrl = '';
19
20
  this.waServerGlobalKey = '';
21
+ this.waServerInstanceName = '';
20
22
  this.waServerNumber = '';
21
23
  if (data) {
22
24
  for (var key in data) {
@@ -1,9 +1,6 @@
1
1
  export interface IGlobalSettingMaster {
2
2
  billingDays: number;
3
3
  deleteInvoicesPlacedDays: number;
4
- waServerBaseUrl: string;
5
- waServerGlobalKey: string;
6
- waServerNumber: string;
7
4
  deleteSubscriptionsPlacedDays: number;
8
5
  subscriptionSuspendedTimes: number;
9
6
  subscriptionsCancelDays: number;
@@ -11,4 +8,9 @@ export interface IGlobalSettingMaster {
11
8
  subscriptionsCustomerSuspendDays: number;
12
9
  subscriptionsExpireDays: number;
13
10
  subscriptionsSuspendDays: number;
11
+ waServerApikey: string;
12
+ waServerBaseUrl: string;
13
+ waServerGlobalKey: string;
14
+ waServerInstanceName: string;
15
+ waServerNumber: string;
14
16
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.27",
3
+ "version": "1.2.30",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.27",
3
+ "version": "1.2.30",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,20 +0,0 @@
1
- export class EvolutionChatWootEntity {
2
- // #region Properties (7)
3
- accountId = '';
4
- enabled = false;
5
- nameInbox = '';
6
- signMsg = false;
7
- token = '';
8
- url = '';
9
- webhookUrl = '';
10
- constructor(data) {
11
- if (data) {
12
- for (let key in data) {
13
- if (data.hasOwnProperty(key) && key in this) {
14
- this[key] = data[key];
15
- }
16
- }
17
- }
18
- }
19
- }
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhdC13b290LmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9ldm9sdXRpb24vZW50aXRpZXMvY2hhdC13b290LmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sdUJBQXVCO0lBQ2xDLHlCQUF5QjtJQUVsQixTQUFTLEdBQVcsRUFBRSxDQUFDO0lBQ3ZCLE9BQU8sR0FBWSxLQUFLLENBQUM7SUFDekIsU0FBUyxHQUFXLEVBQUUsQ0FBQztJQUN2QixPQUFPLEdBQVksS0FBSyxDQUFDO0lBQ3pCLEtBQUssR0FBVyxFQUFFLENBQUM7SUFDbkIsR0FBRyxHQUFXLEVBQUUsQ0FBQztJQUNqQixVQUFVLEdBQVcsRUFBRSxDQUFDO0lBRS9CLFlBQVksSUFBdUM7UUFDakQsSUFBSSxJQUFJLEVBQUU7WUFDUixLQUFLLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtnQkFDcEIsSUFBSSxJQUFJLENBQUMsY0FBYyxDQUFDLEdBQUcsQ0FBQyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7b0JBQzFDLElBQVksQ0FBQyxHQUFHLENBQUMsR0FBSSxJQUFZLENBQUMsR0FBRyxDQUFDLENBQUM7aUJBQ3pDO2FBQ0Y7U0FDRjtJQUNILENBQUM7Q0FFRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEl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