cecon-interfaces 1.2.27 → 1.2.29
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/evolution/entities/chatwoot.entity.mjs +20 -0
- package/dist/esm2022/evolution/entities/index.mjs +4 -2
- package/dist/esm2022/evolution/entities/instance.entity.mjs +9 -4
- package/dist/esm2022/evolution/entities/typebot.entity.mjs +27 -0
- package/dist/esm2022/evolution/entities/webhook.entity.mjs +29 -0
- package/dist/esm2022/evolution/enums/events.enum.mjs +2 -1
- package/dist/esm2022/evolution/interfaces/i-instance.mjs +1 -1
- package/dist/esm2022/evolution/interfaces/i-typebot.mjs +2 -0
- package/dist/esm2022/evolution/interfaces/i-webhook.mjs +2 -0
- package/dist/esm2022/evolution/interfaces/index.mjs +1 -1
- package/dist/esm2022/global-settings/entities/global-setting-master.entity.mjs +5 -3
- package/dist/esm2022/global-settings/interfaces/i-global-setting-master.mjs +1 -1
- package/dist/evolution/entities/index.d.ts +3 -1
- package/dist/evolution/entities/index.js +7 -3
- package/dist/evolution/entities/instance.entity.d.ts +7 -2
- package/dist/evolution/entities/instance.entity.js +8 -3
- package/dist/evolution/entities/typebot.entity.d.ts +17 -0
- package/dist/evolution/entities/typebot.entity.js +34 -0
- package/dist/evolution/entities/webhook.entity.d.ts +10 -0
- package/dist/evolution/entities/webhook.entity.js +33 -0
- package/dist/evolution/enums/events.enum.d.ts +1 -0
- package/dist/evolution/enums/events.enum.js +1 -0
- package/dist/evolution/interfaces/i-instance.d.ts +7 -1
- package/dist/evolution/interfaces/i-typebot.d.ts +13 -0
- package/dist/evolution/interfaces/i-typebot.js +2 -0
- package/dist/evolution/interfaces/i-webhook.d.ts +8 -0
- package/dist/evolution/interfaces/i-webhook.js +2 -0
- package/dist/evolution/interfaces/index.d.ts +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +69 -6
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/global-settings/entities/global-setting-master.entity.d.ts +2 -0
- package/dist/global-settings/entities/global-setting-master.entity.js +4 -2
- package/dist/global-settings/interfaces/i-global-setting-master.d.ts +5 -3
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/dist/esm2022/evolution/entities/chat-woot.entity.mjs +0 -20
- /package/dist/evolution/entities/{chat-woot.entity.d.ts → chatwoot.entity.d.ts} +0 -0
- /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 (
|
5
|
+
// #endregion Properties (14)
|
6
6
|
// #region Constructors (1)
|
7
7
|
function GlobalSettingMasterEntity(data) {
|
8
|
-
// #region Properties (
|
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
package/package.json
CHANGED
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhdC13b290LmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9ldm9sdXRpb24vZW50aXRpZXMvY2hhdC13b290LmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSx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