cecon-interfaces 1.4.21 → 1.4.22
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/mobyo/company-settings/entities/wa-server.entity.mjs +5 -5
- package/dist/esm2022/mobyo/company-settings/interfaces/i-wa-server.mjs +1 -1
- package/dist/esm2022/wa-server/enums/handler-message.enum.mjs +19 -0
- package/dist/esm2022/wa-server/enums/index.mjs +2 -1
- package/dist/fesm2022/cecon-interfaces.mjs +24 -5
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/mobyo/company-settings/entities/wa-server.entity.d.ts +2 -2
- package/dist/mobyo/company-settings/entities/wa-server.entity.js +4 -4
- package/dist/mobyo/company-settings/interfaces/i-wa-server.d.ts +2 -2
- package/dist/package.json +1 -1
- package/dist/wa-server/enums/handler-message.enum.d.ts +17 -0
- package/dist/wa-server/enums/handler-message.enum.js +21 -0
- package/dist/wa-server/enums/index.d.ts +1 -0
- package/dist/wa-server/enums/index.js +3 -1
- package/package.json +1 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ICompanySettingsWaServer } from '../interfaces';
|
2
2
|
export declare class CompanySettingsWaServerEntity implements ICompanySettingsWaServer {
|
3
|
-
deliveryMenuUrl: string;
|
4
|
-
indoorMenuUrl: string;
|
3
|
+
deliveryMenuUrl: string | null;
|
4
|
+
indoorMenuUrl: string | null;
|
5
5
|
instanceName: string;
|
6
6
|
serverId: string;
|
7
7
|
constructor(data?: ICompanySettingsWaServer);
|
@@ -6,15 +6,15 @@ var CompanySettingsWaServerEntity = /** @class */ (function () {
|
|
6
6
|
// #region Constructors (1)
|
7
7
|
function CompanySettingsWaServerEntity(data) {
|
8
8
|
// #region Properties (4)
|
9
|
-
this.deliveryMenuUrl =
|
10
|
-
this.indoorMenuUrl =
|
9
|
+
this.deliveryMenuUrl = null;
|
10
|
+
this.indoorMenuUrl = null;
|
11
11
|
this.instanceName = '';
|
12
12
|
this.serverId = '';
|
13
13
|
if (data) {
|
14
14
|
this.serverId = data.serverId || '';
|
15
15
|
this.instanceName = data.instanceName || '';
|
16
|
-
this.deliveryMenuUrl = data.deliveryMenuUrl ||
|
17
|
-
this.indoorMenuUrl = data.indoorMenuUrl ||
|
16
|
+
this.deliveryMenuUrl = data.deliveryMenuUrl || null;
|
17
|
+
this.indoorMenuUrl = data.indoorMenuUrl || null;
|
18
18
|
}
|
19
19
|
}
|
20
20
|
return CompanySettingsWaServerEntity;
|
package/dist/package.json
CHANGED
@@ -0,0 +1,17 @@
|
|
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
|
+
}
|
@@ -0,0 +1,21 @@
|
|
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 = {}));
|
@@ -1,5 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.EWaServerStatus = void 0;
|
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; } });
|
4
6
|
var status_enum_1 = require("./status.enum");
|
5
7
|
Object.defineProperty(exports, "EWaServerStatus", { enumerable: true, get: function () { return status_enum_1.EWaServerStatus; } });
|