cecon-interfaces 1.2.26 → 1.2.29

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) 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 +1 -1
  11. package/dist/esm2022/global-settings/entities/global-setting-master.entity.mjs +6 -3
  12. package/dist/esm2022/global-settings/interfaces/i-global-setting-master.mjs +1 -1
  13. package/dist/evolution/entities/index.d.ts +3 -1
  14. package/dist/evolution/entities/index.js +7 -3
  15. package/dist/evolution/entities/instance.entity.d.ts +7 -2
  16. package/dist/evolution/entities/instance.entity.js +8 -3
  17. package/dist/evolution/entities/typebot.entity.d.ts +17 -0
  18. package/dist/evolution/entities/typebot.entity.js +34 -0
  19. package/dist/evolution/entities/webhook.entity.d.ts +10 -0
  20. package/dist/evolution/entities/webhook.entity.js +33 -0
  21. package/dist/evolution/enums/events.enum.d.ts +1 -0
  22. package/dist/evolution/enums/events.enum.js +1 -0
  23. package/dist/evolution/interfaces/i-instance.d.ts +7 -1
  24. package/dist/evolution/interfaces/i-typebot.d.ts +13 -0
  25. package/dist/evolution/interfaces/i-typebot.js +2 -0
  26. package/dist/evolution/interfaces/i-webhook.d.ts +8 -0
  27. package/dist/evolution/interfaces/i-webhook.js +2 -0
  28. package/dist/evolution/interfaces/index.d.ts +2 -0
  29. package/dist/fesm2022/cecon-interfaces.mjs +70 -6
  30. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  31. package/dist/global-settings/entities/global-setting-master.entity.d.ts +3 -0
  32. package/dist/global-settings/entities/global-setting-master.entity.js +5 -2
  33. package/dist/global-settings/interfaces/i-global-setting-master.d.ts +5 -2
  34. package/dist/package.json +1 -1
  35. package/package.json +1 -1
  36. package/dist/esm2022/evolution/entities/chat-woot.entity.mjs +0 -20
  37. /package/dist/evolution/entities/{chat-woot.entity.d.ts → chatwoot.entity.d.ts} +0 -0
  38. /package/dist/evolution/entities/{chat-woot.entity.js → chatwoot.entity.js} +0 -0
@@ -9,7 +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;
16
+ waServerNumber: string;
14
17
  constructor(data?: Partial<GlobalSettingMasterEntity>);
15
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 (11)
5
+ // #endregion Properties (14)
6
6
  // #region Constructors (1)
7
7
  function GlobalSettingMasterEntity(data) {
8
- // #region Properties (11)
8
+ // #region Properties (14)
9
9
  this.billingDays = 10;
10
10
  this.deleteInvoicesPlacedDays = 10;
11
11
  this.deleteSubscriptionsPlacedDays = 10;
@@ -15,8 +15,11 @@ 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 = '';
22
+ this.waServerNumber = '';
20
23
  if (data) {
21
24
  for (var key in data) {
22
25
  if (data.hasOwnProperty(key) && key in this) {
@@ -1,8 +1,6 @@
1
1
  export interface IGlobalSettingMaster {
2
2
  billingDays: number;
3
3
  deleteInvoicesPlacedDays: number;
4
- waServerBaseUrl: string;
5
- waServerGlobalKey: string;
6
4
  deleteSubscriptionsPlacedDays: number;
7
5
  subscriptionSuspendedTimes: number;
8
6
  subscriptionsCancelDays: number;
@@ -10,4 +8,9 @@ export interface IGlobalSettingMaster {
10
8
  subscriptionsCustomerSuspendDays: number;
11
9
  subscriptionsExpireDays: number;
12
10
  subscriptionsSuspendDays: number;
11
+ waServerApikey: string;
12
+ waServerBaseUrl: string;
13
+ waServerGlobalKey: string;
14
+ waServerInstanceName: string;
15
+ waServerNumber: string;
13
16
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.25",
3
+ "version": "1.2.29",
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.26",
3
+ "version": "1.2.29",
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhdC13b290LmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9ldm9sdXRpb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