cecon-interfaces 1.6.51 → 1.6.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm2022/payio/chef-config/entities/chef-config-operation.entity.mjs +33 -0
- package/dist/esm2022/payio/chef-config/entities/chef-config-printer.entity.mjs +20 -0
- package/dist/esm2022/payio/chef-config/entities/chef-config-scale.entity.mjs +18 -0
- package/dist/esm2022/payio/chef-config/entities/chef-config-webhook.entity.mjs +22 -0
- package/dist/esm2022/payio/chef-config/entities/chef-config.entity.mjs +27 -0
- package/dist/esm2022/payio/chef-config/entities/index.mjs +6 -0
- package/dist/esm2022/payio/chef-config/enums/barcode-format.enum.mjs +13 -0
- package/dist/esm2022/payio/chef-config/enums/index.mjs +4 -0
- package/dist/esm2022/payio/chef-config/enums/operation-mode.enum.mjs +6 -0
- package/dist/esm2022/payio/chef-config/enums/tab-mode.enum.mjs +6 -0
- package/dist/esm2022/payio/chef-config/index.mjs +4 -0
- package/dist/esm2022/payio/chef-config/interfaces/i-chef-config-operation.mjs +2 -0
- package/dist/esm2022/payio/chef-config/interfaces/i-chef-config-printer.mjs +2 -0
- package/dist/esm2022/payio/chef-config/interfaces/i-chef-config-scale.mjs +2 -0
- package/dist/esm2022/payio/chef-config/interfaces/i-chef-config-webhook.mjs +2 -0
- package/dist/esm2022/payio/chef-config/interfaces/i-chef-config.mjs +2 -0
- package/dist/esm2022/payio/chef-config/interfaces/index.mjs +2 -0
- package/dist/esm2022/payio/index.mjs +2 -1
- package/dist/esm2022/token-jwt/interfaces/i-token-jwt.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +142 -1
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/payio/chef-config/entities/chef-config-operation.entity.d.ts +22 -0
- package/dist/payio/chef-config/entities/chef-config-operation.entity.js +37 -0
- package/dist/payio/chef-config/entities/chef-config-printer.entity.d.ts +9 -0
- package/dist/payio/chef-config/entities/chef-config-printer.entity.js +24 -0
- package/dist/payio/chef-config/entities/chef-config-scale.entity.d.ts +7 -0
- package/dist/payio/chef-config/entities/chef-config-scale.entity.js +22 -0
- package/dist/payio/chef-config/entities/chef-config-webhook.entity.d.ts +11 -0
- package/dist/payio/chef-config/entities/chef-config-webhook.entity.js +26 -0
- package/dist/payio/chef-config/entities/chef-config.entity.d.ts +13 -0
- package/dist/payio/chef-config/entities/chef-config.entity.js +31 -0
- package/dist/payio/chef-config/entities/index.d.ts +5 -0
- package/dist/payio/chef-config/entities/index.js +13 -0
- package/dist/payio/chef-config/enums/barcode-format.enum.d.ts +11 -0
- package/dist/payio/chef-config/enums/barcode-format.enum.js +15 -0
- package/dist/payio/chef-config/enums/index.d.ts +3 -0
- package/dist/payio/chef-config/enums/index.js +9 -0
- package/dist/payio/chef-config/enums/operation-mode.enum.d.ts +4 -0
- package/dist/payio/chef-config/enums/operation-mode.enum.js +8 -0
- package/dist/payio/chef-config/enums/tab-mode.enum.d.ts +4 -0
- package/dist/payio/chef-config/enums/tab-mode.enum.js +8 -0
- package/dist/payio/chef-config/index.d.ts +3 -0
- package/dist/payio/chef-config/index.js +19 -0
- package/dist/payio/chef-config/interfaces/i-chef-config-operation.d.ts +22 -0
- package/dist/payio/chef-config/interfaces/i-chef-config-operation.js +2 -0
- package/dist/payio/chef-config/interfaces/i-chef-config-printer.d.ts +7 -0
- package/dist/payio/chef-config/interfaces/i-chef-config-printer.js +2 -0
- package/dist/payio/chef-config/interfaces/i-chef-config-scale.d.ts +5 -0
- package/dist/payio/chef-config/interfaces/i-chef-config-scale.js +2 -0
- package/dist/payio/chef-config/interfaces/i-chef-config-webhook.d.ts +9 -0
- package/dist/payio/chef-config/interfaces/i-chef-config-webhook.js +2 -0
- package/dist/payio/chef-config/interfaces/i-chef-config.d.ts +15 -0
- package/dist/payio/chef-config/interfaces/i-chef-config.js +2 -0
- package/dist/payio/chef-config/interfaces/index.d.ts +5 -0
- package/dist/payio/chef-config/interfaces/index.js +2 -0
- package/dist/payio/index.d.ts +1 -0
- package/dist/payio/index.js +1 -0
- package/dist/token-jwt/interfaces/i-token-jwt.d.ts +2 -1
- package/package.json +1 -1
package/dist/package.json
CHANGED
@@ -0,0 +1,22 @@
|
|
1
|
+
import { EBarcodeFormat, EPayioChefOperationMode, EPayioChefTabMode } from '../enums';
|
2
|
+
import { IPayioChefConfigOperation } from '../interfaces';
|
3
|
+
export declare class PayioChefConfigOperationEntity implements IPayioChefConfigOperation {
|
4
|
+
barcodeFormat: EBarcodeFormat;
|
5
|
+
barcodeInitialFlag: string;
|
6
|
+
bipOnPrint: boolean;
|
7
|
+
listItems: string;
|
8
|
+
message: string[];
|
9
|
+
operationMode: EPayioChefOperationMode;
|
10
|
+
orderFormat: string;
|
11
|
+
printFormat: 'simple' | 'tabular';
|
12
|
+
showBarCode: boolean;
|
13
|
+
showNetWeight: boolean;
|
14
|
+
showOrderNumber: boolean;
|
15
|
+
showPricePerKg: boolean;
|
16
|
+
showTotalPrice: boolean;
|
17
|
+
startOrderIn: number;
|
18
|
+
tabFormat: string;
|
19
|
+
tabMode: EPayioChefTabMode;
|
20
|
+
urlLogo: string;
|
21
|
+
constructor(data?: Partial<PayioChefConfigOperationEntity>);
|
22
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioChefConfigOperationEntity = void 0;
|
4
|
+
var enums_1 = require("../enums");
|
5
|
+
var PayioChefConfigOperationEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (17)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function PayioChefConfigOperationEntity(data) {
|
9
|
+
// #region Properties (17)
|
10
|
+
this.barcodeFormat = enums_1.EBarcodeFormat.CODE_6_PRICE_6;
|
11
|
+
this.barcodeInitialFlag = '2';
|
12
|
+
this.bipOnPrint = true;
|
13
|
+
this.listItems = '';
|
14
|
+
this.message = [];
|
15
|
+
this.operationMode = enums_1.EPayioChefOperationMode.SCALE;
|
16
|
+
this.orderFormat = '';
|
17
|
+
this.printFormat = 'simple';
|
18
|
+
this.showBarCode = true;
|
19
|
+
this.showNetWeight = true;
|
20
|
+
this.showOrderNumber = true;
|
21
|
+
this.showPricePerKg = true;
|
22
|
+
this.showTotalPrice = true;
|
23
|
+
this.startOrderIn = 1;
|
24
|
+
this.tabFormat = '';
|
25
|
+
this.tabMode = enums_1.EPayioChefTabMode.MANUAL;
|
26
|
+
this.urlLogo = '';
|
27
|
+
if (data) {
|
28
|
+
for (var key in data) {
|
29
|
+
if (data.hasOwnProperty(key) && key in this) {
|
30
|
+
this[key] = data[key];
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
return PayioChefConfigOperationEntity;
|
36
|
+
}());
|
37
|
+
exports.PayioChefConfigOperationEntity = PayioChefConfigOperationEntity;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { IPayioChefConfigPrinter } from '../interfaces';
|
2
|
+
export declare class PayioChefConfigPrinterEntity implements IPayioChefConfigPrinter {
|
3
|
+
active: boolean;
|
4
|
+
brand: string | null;
|
5
|
+
interface: 'USB' | 'TCP/IP';
|
6
|
+
model: string | null;
|
7
|
+
port: string | null;
|
8
|
+
constructor(data?: Partial<PayioChefConfigPrinterEntity>);
|
9
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioChefConfigPrinterEntity = void 0;
|
4
|
+
var PayioChefConfigPrinterEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (5)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function PayioChefConfigPrinterEntity(data) {
|
8
|
+
// #region Properties (5)
|
9
|
+
this.active = true;
|
10
|
+
this.brand = null;
|
11
|
+
this.interface = 'USB';
|
12
|
+
this.model = null;
|
13
|
+
this.port = null;
|
14
|
+
if (data) {
|
15
|
+
for (var key in data) {
|
16
|
+
if (data.hasOwnProperty(key) && key in this) {
|
17
|
+
this[key] = data[key];
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
return PayioChefConfigPrinterEntity;
|
23
|
+
}());
|
24
|
+
exports.PayioChefConfigPrinterEntity = PayioChefConfigPrinterEntity;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { IPayioChefConfigScale } from '../interfaces';
|
2
|
+
export declare class PayioChefConfigScaleEntity implements IPayioChefConfigScale {
|
3
|
+
baudRate: '2400' | '4800' | '9600' | '19200' | '38400' | '57600' | '115200';
|
4
|
+
brand: string | null;
|
5
|
+
model: string | null;
|
6
|
+
constructor(data?: Partial<PayioChefConfigScaleEntity>);
|
7
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioChefConfigScaleEntity = void 0;
|
4
|
+
var PayioChefConfigScaleEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (3)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function PayioChefConfigScaleEntity(data) {
|
8
|
+
// #region Properties (3)
|
9
|
+
this.baudRate = '2400';
|
10
|
+
this.brand = null;
|
11
|
+
this.model = null;
|
12
|
+
if (data) {
|
13
|
+
for (var key in data) {
|
14
|
+
if (data.hasOwnProperty(key) && key in this) {
|
15
|
+
this[key] = data[key];
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
return PayioChefConfigScaleEntity;
|
21
|
+
}());
|
22
|
+
exports.PayioChefConfigScaleEntity = PayioChefConfigScaleEntity;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { IPayioChefConfigWebhook } from '../interfaces';
|
2
|
+
export declare class PayioChefConfigWebhookEntity implements IPayioChefConfigWebhook {
|
3
|
+
active: boolean;
|
4
|
+
authToken: string | null;
|
5
|
+
locked: boolean;
|
6
|
+
response: string | null;
|
7
|
+
secret: string | null;
|
8
|
+
test: boolean;
|
9
|
+
url: string;
|
10
|
+
constructor(data?: Partial<PayioChefConfigWebhookEntity>);
|
11
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioChefConfigWebhookEntity = void 0;
|
4
|
+
var PayioChefConfigWebhookEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (7)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function PayioChefConfigWebhookEntity(data) {
|
8
|
+
// #region Properties (7)
|
9
|
+
this.active = true;
|
10
|
+
this.authToken = null;
|
11
|
+
this.locked = false; // Travar caso não esteja respondendo
|
12
|
+
this.response = null;
|
13
|
+
this.secret = null;
|
14
|
+
this.test = false;
|
15
|
+
this.url = '';
|
16
|
+
if (data) {
|
17
|
+
for (var key in data) {
|
18
|
+
if (data.hasOwnProperty(key) && key in this) {
|
19
|
+
this[key] = data[key];
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
return PayioChefConfigWebhookEntity;
|
25
|
+
}());
|
26
|
+
exports.PayioChefConfigWebhookEntity = PayioChefConfigWebhookEntity;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { IPayioChefConfig, IPayioChefConfigOperation, IPayioChefConfigPrinter, IPayioChefConfigScale, IPayioChefConfigWebhook } from '../interfaces';
|
2
|
+
export declare class PayioChefConfigEntity implements IPayioChefConfig {
|
3
|
+
createdAt: Date;
|
4
|
+
id: string;
|
5
|
+
multiOrder: boolean;
|
6
|
+
name: string;
|
7
|
+
operation: IPayioChefConfigOperation;
|
8
|
+
printer: IPayioChefConfigPrinter;
|
9
|
+
scale: IPayioChefConfigScale;
|
10
|
+
updatedAt: Date;
|
11
|
+
webhook: IPayioChefConfigWebhook[];
|
12
|
+
constructor(data?: Partial<PayioChefConfigEntity>);
|
13
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioChefConfigEntity = void 0;
|
4
|
+
var chef_config_operation_entity_1 = require("./chef-config-operation.entity");
|
5
|
+
var chef_config_printer_entity_1 = require("./chef-config-printer.entity");
|
6
|
+
var chef_config_scale_entity_1 = require("./chef-config-scale.entity");
|
7
|
+
var PayioChefConfigEntity = /** @class */ (function () {
|
8
|
+
// #endregion Properties (9)
|
9
|
+
// #region Constructors (1)
|
10
|
+
function PayioChefConfigEntity(data) {
|
11
|
+
// #region Properties (9)
|
12
|
+
this.createdAt = new Date();
|
13
|
+
this.id = '';
|
14
|
+
this.multiOrder = false;
|
15
|
+
this.name = '';
|
16
|
+
this.operation = new chef_config_operation_entity_1.PayioChefConfigOperationEntity();
|
17
|
+
this.printer = new chef_config_printer_entity_1.PayioChefConfigPrinterEntity();
|
18
|
+
this.scale = new chef_config_scale_entity_1.PayioChefConfigScaleEntity();
|
19
|
+
this.updatedAt = new Date();
|
20
|
+
this.webhook = [];
|
21
|
+
if (data) {
|
22
|
+
for (var key in data) {
|
23
|
+
if (data.hasOwnProperty(key) && key in this) {
|
24
|
+
this[key] = data[key];
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
return PayioChefConfigEntity;
|
30
|
+
}());
|
31
|
+
exports.PayioChefConfigEntity = PayioChefConfigEntity;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export { PayioChefConfigOperationEntity } from './chef-config-operation.entity';
|
2
|
+
export { PayioChefConfigPrinterEntity } from './chef-config-printer.entity';
|
3
|
+
export { PayioChefConfigScaleEntity } from './chef-config-scale.entity';
|
4
|
+
export { PayioChefConfigWebhookEntity } from './chef-config-webhook.entity';
|
5
|
+
export { PayioChefConfigEntity } from './chef-config.entity';
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioChefConfigEntity = exports.PayioChefConfigWebhookEntity = exports.PayioChefConfigScaleEntity = exports.PayioChefConfigPrinterEntity = exports.PayioChefConfigOperationEntity = void 0;
|
4
|
+
var chef_config_operation_entity_1 = require("./chef-config-operation.entity");
|
5
|
+
Object.defineProperty(exports, "PayioChefConfigOperationEntity", { enumerable: true, get: function () { return chef_config_operation_entity_1.PayioChefConfigOperationEntity; } });
|
6
|
+
var chef_config_printer_entity_1 = require("./chef-config-printer.entity");
|
7
|
+
Object.defineProperty(exports, "PayioChefConfigPrinterEntity", { enumerable: true, get: function () { return chef_config_printer_entity_1.PayioChefConfigPrinterEntity; } });
|
8
|
+
var chef_config_scale_entity_1 = require("./chef-config-scale.entity");
|
9
|
+
Object.defineProperty(exports, "PayioChefConfigScaleEntity", { enumerable: true, get: function () { return chef_config_scale_entity_1.PayioChefConfigScaleEntity; } });
|
10
|
+
var chef_config_webhook_entity_1 = require("./chef-config-webhook.entity");
|
11
|
+
Object.defineProperty(exports, "PayioChefConfigWebhookEntity", { enumerable: true, get: function () { return chef_config_webhook_entity_1.PayioChefConfigWebhookEntity; } });
|
12
|
+
var chef_config_entity_1 = require("./chef-config.entity");
|
13
|
+
Object.defineProperty(exports, "PayioChefConfigEntity", { enumerable: true, get: function () { return chef_config_entity_1.PayioChefConfigEntity; } });
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare enum EBarcodeFormat {
|
2
|
+
CODE_4_PRICE_5 = "FCCCCTTTTT",
|
3
|
+
CODE_4_PRICE_6 = "FCCCCTTTTTT",
|
4
|
+
CODE_4_WEIGHT = "FCCCCPPPPP",
|
5
|
+
CODE_5_PRICE_5 = "FCCCCCTTTTT",
|
6
|
+
CODE_5_PRICE_6 = "FCCCCCTTTTTT",
|
7
|
+
CODE_5_WEIGHT = "FCCCCCPPPPP",
|
8
|
+
CODE_6_PRICE_5 = "FCCCCCCTTTTT",
|
9
|
+
CODE_6_PRICE_6 = "FCCCCCCTTTTTT",
|
10
|
+
CODE_6_WEIGHT = "FCCCCCCPPPPP"
|
11
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EBarcodeFormat = void 0;
|
4
|
+
var EBarcodeFormat;
|
5
|
+
(function (EBarcodeFormat) {
|
6
|
+
EBarcodeFormat["CODE_4_PRICE_5"] = "FCCCCTTTTT";
|
7
|
+
EBarcodeFormat["CODE_4_PRICE_6"] = "FCCCCTTTTTT";
|
8
|
+
EBarcodeFormat["CODE_4_WEIGHT"] = "FCCCCPPPPP";
|
9
|
+
EBarcodeFormat["CODE_5_PRICE_5"] = "FCCCCCTTTTT";
|
10
|
+
EBarcodeFormat["CODE_5_PRICE_6"] = "FCCCCCTTTTTT";
|
11
|
+
EBarcodeFormat["CODE_5_WEIGHT"] = "FCCCCCPPPPP";
|
12
|
+
EBarcodeFormat["CODE_6_PRICE_5"] = "FCCCCCCTTTTT";
|
13
|
+
EBarcodeFormat["CODE_6_PRICE_6"] = "FCCCCCCTTTTTT";
|
14
|
+
EBarcodeFormat["CODE_6_WEIGHT"] = "FCCCCCCPPPPP";
|
15
|
+
})(EBarcodeFormat || (exports.EBarcodeFormat = EBarcodeFormat = {}));
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EPayioChefTabMode = exports.EPayioChefOperationMode = exports.EBarcodeFormat = void 0;
|
4
|
+
var barcode_format_enum_1 = require("./barcode-format.enum");
|
5
|
+
Object.defineProperty(exports, "EBarcodeFormat", { enumerable: true, get: function () { return barcode_format_enum_1.EBarcodeFormat; } });
|
6
|
+
var operation_mode_enum_1 = require("./operation-mode.enum");
|
7
|
+
Object.defineProperty(exports, "EPayioChefOperationMode", { enumerable: true, get: function () { return operation_mode_enum_1.EPayioChefOperationMode; } });
|
8
|
+
var tab_mode_enum_1 = require("./tab-mode.enum");
|
9
|
+
Object.defineProperty(exports, "EPayioChefTabMode", { enumerable: true, get: function () { return tab_mode_enum_1.EPayioChefTabMode; } });
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EPayioChefOperationMode = void 0;
|
4
|
+
var EPayioChefOperationMode;
|
5
|
+
(function (EPayioChefOperationMode) {
|
6
|
+
EPayioChefOperationMode["SCALE"] = "SCALE";
|
7
|
+
EPayioChefOperationMode["MANUAL"] = "MANUAL";
|
8
|
+
})(EPayioChefOperationMode || (exports.EPayioChefOperationMode = EPayioChefOperationMode = {}));
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EPayioChefTabMode = void 0;
|
4
|
+
var EPayioChefTabMode;
|
5
|
+
(function (EPayioChefTabMode) {
|
6
|
+
EPayioChefTabMode["DIGITAL"] = "DIGITAL";
|
7
|
+
EPayioChefTabMode["MANUAL"] = "MANUAL";
|
8
|
+
})(EPayioChefTabMode || (exports.EPayioChefTabMode = EPayioChefTabMode = {}));
|
@@ -0,0 +1,19 @@
|
|
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("./enums"), exports);
|
19
|
+
__exportStar(require("./interfaces"), exports);
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { EPayioChefOperationMode } from '../enums';
|
2
|
+
import { EBarcodeFormat } from '../enums/barcode-format.enum';
|
3
|
+
import { EPayioChefTabMode } from '../enums/tab-mode.enum';
|
4
|
+
export interface IPayioChefConfigOperation {
|
5
|
+
tabMode: EPayioChefTabMode;
|
6
|
+
tabFormat: string;
|
7
|
+
urlLogo: string;
|
8
|
+
message: string[];
|
9
|
+
showOrderNumber: boolean;
|
10
|
+
showNetWeight: boolean;
|
11
|
+
showPricePerKg: boolean;
|
12
|
+
showTotalPrice: boolean;
|
13
|
+
bipOnPrint: boolean;
|
14
|
+
showBarCode: boolean;
|
15
|
+
startOrderIn: number;
|
16
|
+
orderFormat: string;
|
17
|
+
printFormat: 'simple' | 'tabular';
|
18
|
+
listItems: string;
|
19
|
+
barcodeFormat: EBarcodeFormat;
|
20
|
+
barcodeInitialFlag: string;
|
21
|
+
operationMode: EPayioChefOperationMode;
|
22
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { IPayioChefConfigOperation } from './i-chef-config-operation';
|
2
|
+
import { IPayioChefConfigPrinter } from './i-chef-config-printer';
|
3
|
+
import { IPayioChefConfigScale } from './i-chef-config-scale';
|
4
|
+
import { IPayioChefConfigWebhook } from './i-chef-config-webhook';
|
5
|
+
export interface IPayioChefConfig {
|
6
|
+
createdAt: Date;
|
7
|
+
id: string;
|
8
|
+
name: string;
|
9
|
+
scale: IPayioChefConfigScale;
|
10
|
+
updatedAt: Date;
|
11
|
+
printer: IPayioChefConfigPrinter;
|
12
|
+
webhook: IPayioChefConfigWebhook[];
|
13
|
+
multiOrder: boolean;
|
14
|
+
operation: IPayioChefConfigOperation;
|
15
|
+
}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export { IPayioChefConfig } from './i-chef-config';
|
2
|
+
export { IPayioChefConfigOperation } from './i-chef-config-operation';
|
3
|
+
export { IPayioChefConfigPrinter } from './i-chef-config-printer';
|
4
|
+
export { IPayioChefConfigScale } from './i-chef-config-scale';
|
5
|
+
export { IPayioChefConfigWebhook } from './i-chef-config-webhook';
|
package/dist/payio/index.d.ts
CHANGED
package/dist/payio/index.js
CHANGED
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./app"), exports);
|
18
|
+
__exportStar(require("./chef-config"), exports);
|
18
19
|
__exportStar(require("./company"), exports);
|
19
20
|
__exportStar(require("./device"), exports);
|
20
21
|
__exportStar(require("./features"), exports);
|