cecon-interfaces 1.8.32 → 1.8.34
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/cash-config/interfaces/i-cash-config-operation.mjs +1 -1
- package/dist/esm2022/payio/index.mjs +4 -2
- package/dist/esm2022/payio/user/entities/index.mjs +2 -0
- package/dist/esm2022/payio/user/entities/user.entity.mjs +14 -0
- package/dist/esm2022/payio/user/index.mjs +3 -0
- package/dist/esm2022/payio/user/interfaces/i-user.mjs +2 -0
- package/dist/esm2022/payio/user/interfaces/index.mjs +2 -0
- package/dist/esm2022/payio/vision-terminal/entities/index.mjs +2 -0
- package/dist/esm2022/payio/vision-terminal/entities/vision-terminal.entity.mjs +25 -0
- package/dist/esm2022/payio/vision-terminal/index.mjs +3 -0
- package/dist/esm2022/payio/vision-terminal/interfaces/i-vision-terminal.mjs +2 -0
- package/dist/esm2022/payio/vision-terminal/interfaces/index.mjs +2 -0
- package/dist/esm2022/users/enums/payio-user-type.enum.mjs +2 -1
- package/dist/fesm2022/cecon-interfaces.mjs +65 -26
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/payio/cash-config/interfaces/i-cash-config-operation.d.ts +1 -0
- package/dist/payio/index.d.ts +3 -1
- package/dist/payio/index.js +3 -1
- package/dist/payio/user/entities/index.d.ts +1 -0
- package/dist/payio/user/entities/index.js +5 -0
- package/dist/payio/user/entities/user.entity.d.ts +5 -0
- package/dist/payio/user/entities/user.entity.js +35 -0
- package/dist/payio/user/index.d.ts +2 -0
- package/dist/payio/user/index.js +18 -0
- package/dist/payio/user/interfaces/i-user.d.ts +3 -0
- package/dist/payio/user/interfaces/i-user.js +2 -0
- package/dist/payio/user/interfaces/index.d.ts +1 -0
- package/dist/payio/user/interfaces/index.js +2 -0
- package/dist/payio/vision-terminal/entities/index.d.ts +1 -0
- package/dist/payio/vision-terminal/entities/index.js +5 -0
- package/dist/payio/vision-terminal/entities/vision-terminal.entity.d.ts +17 -0
- package/dist/payio/vision-terminal/entities/vision-terminal.entity.js +29 -0
- package/dist/payio/vision-terminal/index.d.ts +2 -0
- package/dist/payio/vision-terminal/index.js +18 -0
- package/dist/payio/vision-terminal/interfaces/i-vision-terminal.d.ts +15 -0
- package/dist/payio/vision-terminal/interfaces/i-vision-terminal.js +2 -0
- package/dist/payio/vision-terminal/interfaces/index.d.ts +1 -0
- package/dist/payio/vision-terminal/interfaces/index.js +2 -0
- package/dist/users/enums/payio-user-type.enum.d.ts +2 -1
- package/dist/users/enums/payio-user-type.enum.js +1 -0
- package/package.json +1 -1
@@ -2,6 +2,7 @@ import { EBarcodeFormat } from '../../chef-config';
|
|
2
2
|
import { ETefProvider } from '../enums';
|
3
3
|
export interface IPayioCashConfigOperation {
|
4
4
|
balanceMethod: EBarcodeFormat | null;
|
5
|
+
/** @deprecated */
|
5
6
|
tabFormat: string | null;
|
6
7
|
tef: IPayioCashConfigOperationTef;
|
7
8
|
pdvId: string;
|
package/dist/payio/index.d.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
export * from './activation-key';
|
2
2
|
export * from './admins';
|
3
3
|
export * from './app';
|
4
|
+
export * from './cash-config';
|
4
5
|
export * from './chef-config';
|
5
6
|
export * from './company';
|
6
7
|
export * from './device';
|
@@ -18,4 +19,5 @@ export * from './resume-queues';
|
|
18
19
|
export * from './schedules';
|
19
20
|
export * from './tabs';
|
20
21
|
export * from './tokens';
|
21
|
-
export * from './
|
22
|
+
export * from './user';
|
23
|
+
export * from './vision-terminal';
|
package/dist/payio/index.js
CHANGED
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./activation-key"), exports);
|
18
18
|
__exportStar(require("./admins"), exports);
|
19
19
|
__exportStar(require("./app"), exports);
|
20
|
+
__exportStar(require("./cash-config"), exports);
|
20
21
|
__exportStar(require("./chef-config"), exports);
|
21
22
|
__exportStar(require("./company"), exports);
|
22
23
|
__exportStar(require("./device"), exports);
|
@@ -34,4 +35,5 @@ __exportStar(require("./resume-queues"), exports);
|
|
34
35
|
__exportStar(require("./schedules"), exports);
|
35
36
|
__exportStar(require("./tabs"), exports);
|
36
37
|
__exportStar(require("./tokens"), exports);
|
37
|
-
__exportStar(require("./
|
38
|
+
__exportStar(require("./user"), exports);
|
39
|
+
__exportStar(require("./vision-terminal"), exports);
|
@@ -0,0 +1 @@
|
|
1
|
+
export { PayioUserEntity } from './user.entity';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioUserEntity = void 0;
|
4
|
+
var user_entity_1 = require("./user.entity");
|
5
|
+
Object.defineProperty(exports, "PayioUserEntity", { enumerable: true, get: function () { return user_entity_1.PayioUserEntity; } });
|
@@ -0,0 +1,35 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
3
|
+
var extendStatics = function (d, b) {
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7
|
+
return extendStatics(d, b);
|
8
|
+
};
|
9
|
+
return function (d, b) {
|
10
|
+
if (typeof b !== "function" && b !== null)
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12
|
+
extendStatics(d, b);
|
13
|
+
function __() { this.constructor = d; }
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15
|
+
};
|
16
|
+
})();
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
+
exports.PayioUserEntity = void 0;
|
19
|
+
var users_1 = require("../../../users");
|
20
|
+
var PayioUserEntity = /** @class */ (function (_super) {
|
21
|
+
__extends(PayioUserEntity, _super);
|
22
|
+
function PayioUserEntity(data) {
|
23
|
+
var _this = _super.call(this) || this;
|
24
|
+
if (data) {
|
25
|
+
for (var key in data) {
|
26
|
+
if (data.hasOwnProperty(key) && key in _this) {
|
27
|
+
_this[key] = data[key];
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
return _this;
|
32
|
+
}
|
33
|
+
return PayioUserEntity;
|
34
|
+
}(users_1.UserEntity));
|
35
|
+
exports.PayioUserEntity = PayioUserEntity;
|
@@ -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);
|
@@ -0,0 +1 @@
|
|
1
|
+
export { IPayioUser } from './i-user';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { PayioVisionTerminalEntity } from './vision-terminal.entity';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioVisionTerminalEntity = void 0;
|
4
|
+
var vision_terminal_entity_1 = require("./vision-terminal.entity");
|
5
|
+
Object.defineProperty(exports, "PayioVisionTerminalEntity", { enumerable: true, get: function () { return vision_terminal_entity_1.PayioVisionTerminalEntity; } });
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { IPayioVisionTerminal } from '../interfaces/i-vision-terminal';
|
2
|
+
export declare class PayioVisionTerminalEntity implements IPayioVisionTerminal {
|
3
|
+
createdAt: Date;
|
4
|
+
deviceId: string;
|
5
|
+
function: string;
|
6
|
+
hook: string | null;
|
7
|
+
hookAuthorization: string | null;
|
8
|
+
id: number;
|
9
|
+
ipAddress: string;
|
10
|
+
name: string;
|
11
|
+
password: string;
|
12
|
+
session: string | null;
|
13
|
+
type: string;
|
14
|
+
updatedAt: Date;
|
15
|
+
username: string;
|
16
|
+
constructor(data?: Partial<PayioVisionTerminalEntity>);
|
17
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioVisionTerminalEntity = void 0;
|
4
|
+
var PayioVisionTerminalEntity = /** @class */ (function () {
|
5
|
+
function PayioVisionTerminalEntity(data) {
|
6
|
+
this.createdAt = new Date();
|
7
|
+
this.deviceId = '';
|
8
|
+
this.function = '';
|
9
|
+
this.hook = null;
|
10
|
+
this.hookAuthorization = null;
|
11
|
+
this.id = 0;
|
12
|
+
this.ipAddress = '';
|
13
|
+
this.name = '';
|
14
|
+
this.password = '';
|
15
|
+
this.session = null;
|
16
|
+
this.type = '';
|
17
|
+
this.updatedAt = new Date();
|
18
|
+
this.username = '';
|
19
|
+
if (data) {
|
20
|
+
for (var key in data) {
|
21
|
+
if (data.hasOwnProperty(key) && key in this) {
|
22
|
+
this[key] = data[key];
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
return PayioVisionTerminalEntity;
|
28
|
+
}());
|
29
|
+
exports.PayioVisionTerminalEntity = PayioVisionTerminalEntity;
|
@@ -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);
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export interface IPayioVisionTerminal {
|
2
|
+
createdAt: Date;
|
3
|
+
deviceId: string;
|
4
|
+
function: string;
|
5
|
+
hook: string | null;
|
6
|
+
hookAuthorization: string | null;
|
7
|
+
id: number;
|
8
|
+
ipAddress: string;
|
9
|
+
name: string;
|
10
|
+
password: string;
|
11
|
+
session: string | null;
|
12
|
+
type: string;
|
13
|
+
updatedAt: Date;
|
14
|
+
username: string;
|
15
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { IPayioVisionTerminal } from './i-vision-terminal';
|
@@ -12,4 +12,5 @@ var PayioUserTypeEnum;
|
|
12
12
|
PayioUserTypeEnum["DEVELOPER"] = "DEVELOPER";
|
13
13
|
PayioUserTypeEnum["TESTER"] = "TESTER";
|
14
14
|
PayioUserTypeEnum["DISTRIBUTOR"] = "DISTRIBUTOR";
|
15
|
+
PayioUserTypeEnum["SUPER_ADMIN"] = "SUPER_ADMIN";
|
15
16
|
})(PayioUserTypeEnum || (exports.PayioUserTypeEnum = PayioUserTypeEnum = {}));
|