cecon-interfaces 1.4.19 → 1.4.21
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/mobyo/company-settings/entities/company-settings.entity.mjs +19 -0
- package/dist/esm2022/mobyo/company-settings/entities/index.mjs +3 -0
- package/dist/esm2022/mobyo/company-settings/entities/wa-server.entity.mjs +18 -0
- package/dist/esm2022/mobyo/company-settings/index.mjs +3 -0
- package/dist/esm2022/mobyo/company-settings/interfaces/i-company-settings.mjs +2 -0
- package/dist/esm2022/mobyo/company-settings/interfaces/i-wa-server.mjs +2 -0
- package/dist/esm2022/mobyo/company-settings/interfaces/index.mjs +2 -0
- package/dist/esm2022/mobyo/index.mjs +2 -1
- package/dist/fesm2022/cecon-interfaces.mjs +37 -1
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/mobyo/company-settings/entities/company-settings.entity.d.ts +9 -0
- package/dist/mobyo/company-settings/entities/company-settings.entity.js +23 -0
- package/dist/mobyo/company-settings/entities/index.d.ts +2 -0
- package/dist/mobyo/company-settings/entities/index.js +7 -0
- package/dist/mobyo/company-settings/entities/wa-server.entity.d.ts +8 -0
- package/dist/mobyo/company-settings/entities/wa-server.entity.js +22 -0
- package/dist/mobyo/company-settings/index.d.ts +2 -0
- package/dist/mobyo/company-settings/index.js +18 -0
- package/dist/mobyo/company-settings/interfaces/i-company-settings.d.ts +7 -0
- package/dist/mobyo/company-settings/interfaces/i-company-settings.js +2 -0
- package/dist/mobyo/company-settings/interfaces/i-wa-server.d.ts +6 -0
- package/dist/mobyo/company-settings/interfaces/i-wa-server.js +2 -0
- package/dist/mobyo/company-settings/interfaces/index.d.ts +2 -0
- package/dist/mobyo/company-settings/interfaces/index.js +2 -0
- package/dist/mobyo/index.d.ts +1 -0
- package/dist/mobyo/index.js +1 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -0,0 +1,9 @@
|
|
1
|
+
import { ICompanySettings } from '../interfaces';
|
2
|
+
import { CompanySettingsWaServerEntity } from './wa-server.entity';
|
3
|
+
export declare class CompanySettingsEntity implements ICompanySettings {
|
4
|
+
createdAt: Date;
|
5
|
+
id: string;
|
6
|
+
updatedAt: Date;
|
7
|
+
waServer: CompanySettingsWaServerEntity;
|
8
|
+
constructor(data?: ICompanySettings);
|
9
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CompanySettingsEntity = void 0;
|
4
|
+
var wa_server_entity_1 = require("./wa-server.entity");
|
5
|
+
var CompanySettingsEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (4)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function CompanySettingsEntity(data) {
|
9
|
+
// #region Properties (4)
|
10
|
+
this.createdAt = new Date();
|
11
|
+
this.id = '';
|
12
|
+
this.updatedAt = new Date();
|
13
|
+
this.waServer = new wa_server_entity_1.CompanySettingsWaServerEntity();
|
14
|
+
if (data) {
|
15
|
+
this.id = data.id || '';
|
16
|
+
this.createdAt = data.createdAt || new Date();
|
17
|
+
this.updatedAt = data.updatedAt || new Date();
|
18
|
+
this.waServer = new wa_server_entity_1.CompanySettingsWaServerEntity(data.waServer);
|
19
|
+
}
|
20
|
+
}
|
21
|
+
return CompanySettingsEntity;
|
22
|
+
}());
|
23
|
+
exports.CompanySettingsEntity = CompanySettingsEntity;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CompanySettingsWaServerEntity = exports.CompanySettingsEntity = void 0;
|
4
|
+
var company_settings_entity_1 = require("./company-settings.entity");
|
5
|
+
Object.defineProperty(exports, "CompanySettingsEntity", { enumerable: true, get: function () { return company_settings_entity_1.CompanySettingsEntity; } });
|
6
|
+
var wa_server_entity_1 = require("./wa-server.entity");
|
7
|
+
Object.defineProperty(exports, "CompanySettingsWaServerEntity", { enumerable: true, get: function () { return wa_server_entity_1.CompanySettingsWaServerEntity; } });
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { ICompanySettingsWaServer } from '../interfaces';
|
2
|
+
export declare class CompanySettingsWaServerEntity implements ICompanySettingsWaServer {
|
3
|
+
deliveryMenuUrl: string;
|
4
|
+
indoorMenuUrl: string;
|
5
|
+
instanceName: string;
|
6
|
+
serverId: string;
|
7
|
+
constructor(data?: ICompanySettingsWaServer);
|
8
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CompanySettingsWaServerEntity = void 0;
|
4
|
+
var CompanySettingsWaServerEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (4)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function CompanySettingsWaServerEntity(data) {
|
8
|
+
// #region Properties (4)
|
9
|
+
this.deliveryMenuUrl = '';
|
10
|
+
this.indoorMenuUrl = '';
|
11
|
+
this.instanceName = '';
|
12
|
+
this.serverId = '';
|
13
|
+
if (data) {
|
14
|
+
this.serverId = data.serverId || '';
|
15
|
+
this.instanceName = data.instanceName || '';
|
16
|
+
this.deliveryMenuUrl = data.deliveryMenuUrl || '';
|
17
|
+
this.indoorMenuUrl = data.indoorMenuUrl || '';
|
18
|
+
}
|
19
|
+
}
|
20
|
+
return CompanySettingsWaServerEntity;
|
21
|
+
}());
|
22
|
+
exports.CompanySettingsWaServerEntity = CompanySettingsWaServerEntity;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./interfaces"), exports);
|
package/dist/mobyo/index.d.ts
CHANGED
package/dist/mobyo/index.js
CHANGED
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./company-settings"), exports);
|
17
18
|
__exportStar(require("./mobyo-api"), exports);
|
18
19
|
__exportStar(require("./mobyo-customer-mobyo"), exports);
|
19
20
|
__exportStar(require("./mobyo-deliverer"), exports);
|
package/dist/package.json
CHANGED