cecon-interfaces 1.9.3 → 1.9.5
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/app/entities/app.entity.mjs +4 -3
- package/dist/esm2022/payio/app/enums/activation-mode.enum.mjs +6 -0
- package/dist/esm2022/payio/app/enums/index.mjs +2 -1
- package/dist/esm2022/payio/app/interfaces/i-app.mjs +1 -1
- package/dist/esm2022/payio/index.mjs +2 -1
- package/dist/esm2022/payio/preparation-place/entities/index.mjs +2 -0
- package/dist/esm2022/payio/preparation-place/entities/preparation-place.entity.mjs +20 -0
- package/dist/esm2022/payio/preparation-place/enums/index.mjs +2 -0
- package/dist/esm2022/payio/preparation-place/enums/mode.enum.mjs +6 -0
- package/dist/esm2022/payio/preparation-place/index.mjs +4 -0
- package/dist/esm2022/payio/preparation-place/interfaces/i-preparation-place.mjs +2 -0
- package/dist/esm2022/payio/preparation-place/interfaces/index.mjs +2 -0
- package/dist/esm2022/payio/vision-terminal/entities/vision-terminal.entity.mjs +11 -8
- package/dist/esm2022/payio/vision-terminal/enum/index.mjs +2 -0
- package/dist/esm2022/payio/vision-terminal/enum/model.enum.mjs +6 -0
- package/dist/esm2022/payio/vision-terminal/enum/operation.enum.mjs +8 -0
- package/dist/esm2022/payio/vision-terminal/index.mjs +2 -1
- package/dist/esm2022/payio/vision-terminal/interfaces/i-vision-terminal.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +56 -9
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/payio/app/entities/app.entity.d.ts +3 -2
- package/dist/payio/app/entities/app.entity.js +2 -1
- package/dist/payio/app/enums/activation-mode.enum.d.ts +4 -0
- package/dist/payio/app/enums/activation-mode.enum.js +8 -0
- package/dist/payio/app/enums/index.d.ts +1 -0
- package/dist/payio/app/enums/index.js +3 -1
- package/dist/payio/app/interfaces/i-app.d.ts +2 -1
- package/dist/payio/index.d.ts +1 -0
- package/dist/payio/index.js +1 -0
- package/dist/payio/preparation-place/entities/index.d.ts +1 -0
- package/dist/payio/preparation-place/entities/index.js +5 -0
- package/dist/payio/preparation-place/entities/preparation-place.entity.d.ts +12 -0
- package/dist/payio/preparation-place/entities/preparation-place.entity.js +24 -0
- package/dist/payio/preparation-place/enums/index.d.ts +1 -0
- package/dist/payio/preparation-place/enums/index.js +5 -0
- package/dist/payio/preparation-place/enums/mode.enum.d.ts +4 -0
- package/dist/payio/preparation-place/enums/mode.enum.js +8 -0
- package/dist/payio/preparation-place/index.d.ts +3 -0
- package/dist/payio/preparation-place/index.js +19 -0
- package/dist/payio/preparation-place/interfaces/i-preparation-place.d.ts +10 -0
- package/dist/payio/preparation-place/interfaces/i-preparation-place.js +2 -0
- package/dist/payio/preparation-place/interfaces/index.d.ts +1 -0
- package/dist/payio/preparation-place/interfaces/index.js +2 -0
- package/dist/payio/vision-terminal/entities/vision-terminal.entity.d.ts +10 -7
- package/dist/payio/vision-terminal/entities/vision-terminal.entity.js +10 -7
- package/dist/payio/vision-terminal/enum/index.d.ts +1 -0
- package/dist/payio/vision-terminal/enum/index.js +5 -0
- package/dist/payio/vision-terminal/enum/model.enum.d.ts +4 -0
- package/dist/payio/vision-terminal/enum/model.enum.js +8 -0
- package/dist/payio/vision-terminal/enum/operation.enum.d.ts +6 -0
- package/dist/payio/vision-terminal/enum/operation.enum.js +10 -0
- package/dist/payio/vision-terminal/index.d.ts +1 -0
- package/dist/payio/vision-terminal/index.js +1 -0
- package/dist/payio/vision-terminal/interfaces/i-vision-terminal.d.ts +10 -7
- package/package.json +1 -1
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { EPayioAppSlug } from '../enums';
|
|
1
|
+
import { EAppActivationMode, EPayioAppSlug } from '../enums';
|
|
2
2
|
import { IPayioApp } from '../interfaces/i-app';
|
|
3
3
|
export declare class PayioAppEntity implements IPayioApp {
|
|
4
|
+
accessToken: string | null;
|
|
5
|
+
activationMode: EAppActivationMode;
|
|
4
6
|
active: boolean;
|
|
5
7
|
clientKey: string | null;
|
|
6
8
|
clientSecret: string | null;
|
|
@@ -16,7 +18,6 @@ export declare class PayioAppEntity implements IPayioApp {
|
|
|
16
18
|
secret: string;
|
|
17
19
|
slug: EPayioAppSlug;
|
|
18
20
|
tags: string[];
|
|
19
|
-
accessToken: string | null;
|
|
20
21
|
updatedAt: Date;
|
|
21
22
|
version: string;
|
|
22
23
|
constructor(data?: Partial<PayioAppEntity>);
|
|
@@ -4,6 +4,8 @@ exports.PayioAppEntity = void 0;
|
|
|
4
4
|
var enums_1 = require("../enums");
|
|
5
5
|
var PayioAppEntity = /** @class */ (function () {
|
|
6
6
|
function PayioAppEntity(data) {
|
|
7
|
+
this.accessToken = null;
|
|
8
|
+
this.activationMode = enums_1.EAppActivationMode.DIRECT_1_TO_1;
|
|
7
9
|
this.active = false;
|
|
8
10
|
this.clientKey = null;
|
|
9
11
|
this.clientSecret = null;
|
|
@@ -19,7 +21,6 @@ var PayioAppEntity = /** @class */ (function () {
|
|
|
19
21
|
this.secret = '';
|
|
20
22
|
this.slug = enums_1.EPayioAppSlug.none;
|
|
21
23
|
this.tags = [];
|
|
22
|
-
this.accessToken = null;
|
|
23
24
|
this.updatedAt = new Date();
|
|
24
25
|
this.version = '0.0.1';
|
|
25
26
|
if (data) {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EAppActivationMode = void 0;
|
|
4
|
+
var EAppActivationMode;
|
|
5
|
+
(function (EAppActivationMode) {
|
|
6
|
+
EAppActivationMode["DIRECT_1_TO_1"] = "DIRECT";
|
|
7
|
+
EAppActivationMode["MANAGED_1_TO_N"] = "MANAGED";
|
|
8
|
+
})(EAppActivationMode || (exports.EAppActivationMode = EAppActivationMode = {}));
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EPayioAppSlug = void 0;
|
|
3
|
+
exports.EPayioAppSlug = exports.EAppActivationMode = void 0;
|
|
4
|
+
var activation_mode_enum_1 = require("./activation-mode.enum");
|
|
5
|
+
Object.defineProperty(exports, "EAppActivationMode", { enumerable: true, get: function () { return activation_mode_enum_1.EAppActivationMode; } });
|
|
4
6
|
var app_slug_enum_1 = require("./app-slug.enum");
|
|
5
7
|
Object.defineProperty(exports, "EPayioAppSlug", { enumerable: true, get: function () { return app_slug_enum_1.EPayioAppSlug; } });
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { EPayioAppSlug } from '../enums';
|
|
1
|
+
import { EAppActivationMode, EPayioAppSlug } from '../enums';
|
|
2
2
|
export interface IPayioApp {
|
|
3
3
|
active: boolean;
|
|
4
|
+
activationMode: EAppActivationMode;
|
|
4
5
|
clientKey: string | null;
|
|
5
6
|
clientSecret: string | null;
|
|
6
7
|
createdAt: Date;
|
package/dist/payio/index.d.ts
CHANGED
package/dist/payio/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PayioPreparationPlaceEntity } from './preparation-place.entity';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PayioPreparationPlaceEntity = void 0;
|
|
4
|
+
var preparation_place_entity_1 = require("./preparation-place.entity");
|
|
5
|
+
Object.defineProperty(exports, "PayioPreparationPlaceEntity", { enumerable: true, get: function () { return preparation_place_entity_1.PayioPreparationPlaceEntity; } });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EPayioPreparationPlaceMode } from '../enums/mode.enum';
|
|
2
|
+
import { IPayioPreparationPlace } from '../interfaces';
|
|
3
|
+
export declare class PayioPreparationPlaceEntity implements IPayioPreparationPlace {
|
|
4
|
+
createdAt: Date;
|
|
5
|
+
id: string;
|
|
6
|
+
mode: EPayioPreparationPlaceMode;
|
|
7
|
+
name: string;
|
|
8
|
+
notes: string;
|
|
9
|
+
updatedAt: Date;
|
|
10
|
+
url: string;
|
|
11
|
+
constructor(data?: Partial<PayioPreparationPlaceEntity>);
|
|
12
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PayioPreparationPlaceEntity = void 0;
|
|
4
|
+
var mode_enum_1 = require("../enums/mode.enum");
|
|
5
|
+
var PayioPreparationPlaceEntity = /** @class */ (function () {
|
|
6
|
+
function PayioPreparationPlaceEntity(data) {
|
|
7
|
+
this.createdAt = new Date();
|
|
8
|
+
this.id = '';
|
|
9
|
+
this.mode = mode_enum_1.EPayioPreparationPlaceMode.IP;
|
|
10
|
+
this.name = '';
|
|
11
|
+
this.notes = '';
|
|
12
|
+
this.updatedAt = new Date();
|
|
13
|
+
this.url = '';
|
|
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 PayioPreparationPlaceEntity;
|
|
23
|
+
}());
|
|
24
|
+
exports.PayioPreparationPlaceEntity = PayioPreparationPlaceEntity;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { EPayioPreparationPlaceMode } from './mode.enum';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EPayioPreparationPlaceMode = void 0;
|
|
4
|
+
var mode_enum_1 = require("./mode.enum");
|
|
5
|
+
Object.defineProperty(exports, "EPayioPreparationPlaceMode", { enumerable: true, get: function () { return mode_enum_1.EPayioPreparationPlaceMode; } });
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EPayioPreparationPlaceMode = void 0;
|
|
4
|
+
var EPayioPreparationPlaceMode;
|
|
5
|
+
(function (EPayioPreparationPlaceMode) {
|
|
6
|
+
EPayioPreparationPlaceMode["IP"] = "IP";
|
|
7
|
+
EPayioPreparationPlaceMode["SHARED_PORT"] = "SHARED_PORT";
|
|
8
|
+
})(EPayioPreparationPlaceMode || (exports.EPayioPreparationPlaceMode = EPayioPreparationPlaceMode = {}));
|
|
@@ -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 @@
|
|
|
1
|
+
export { IPayioPreparationPlace } from './i-preparation-place';
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
+
import { EPayioVisionTerminalModel } from '../enum';
|
|
2
|
+
import { EPayioVisionTerminalOperation } from '../enum/operation.enum';
|
|
1
3
|
import { IPayioVisionTerminal } from '../interfaces/i-vision-terminal';
|
|
2
4
|
export declare class PayioVisionTerminalEntity implements IPayioVisionTerminal {
|
|
5
|
+
activationKeyId: string | null;
|
|
6
|
+
active: boolean;
|
|
7
|
+
appId: string;
|
|
8
|
+
companyId: string;
|
|
3
9
|
createdAt: Date;
|
|
4
10
|
deviceId: string;
|
|
5
|
-
function: string;
|
|
6
|
-
hook: string | null;
|
|
7
|
-
hookAuthorization: string | null;
|
|
8
11
|
id: number;
|
|
9
12
|
ipAddress: string;
|
|
13
|
+
ipServerAddress: string | null;
|
|
14
|
+
model: EPayioVisionTerminalModel;
|
|
10
15
|
name: string;
|
|
11
|
-
|
|
12
|
-
session: string | null;
|
|
13
|
-
type: string;
|
|
16
|
+
operation: EPayioVisionTerminalOperation;
|
|
14
17
|
updatedAt: Date;
|
|
15
|
-
|
|
18
|
+
webhookUrl: string | null;
|
|
16
19
|
constructor(data?: Partial<PayioVisionTerminalEntity>);
|
|
17
20
|
}
|
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PayioVisionTerminalEntity = void 0;
|
|
4
|
+
var enum_1 = require("../enum");
|
|
5
|
+
var operation_enum_1 = require("../enum/operation.enum");
|
|
4
6
|
var PayioVisionTerminalEntity = /** @class */ (function () {
|
|
5
7
|
function PayioVisionTerminalEntity(data) {
|
|
8
|
+
this.activationKeyId = null;
|
|
9
|
+
this.active = false;
|
|
10
|
+
this.appId = '';
|
|
11
|
+
this.companyId = '';
|
|
6
12
|
this.createdAt = new Date();
|
|
7
13
|
this.deviceId = '';
|
|
8
|
-
this.function = '';
|
|
9
|
-
this.hook = null;
|
|
10
|
-
this.hookAuthorization = null;
|
|
11
14
|
this.id = 0;
|
|
12
15
|
this.ipAddress = '';
|
|
16
|
+
this.ipServerAddress = null;
|
|
17
|
+
this.model = enum_1.EPayioVisionTerminalModel.CONTROL_ID;
|
|
13
18
|
this.name = '';
|
|
14
|
-
this.
|
|
15
|
-
this.session = null;
|
|
16
|
-
this.type = '';
|
|
19
|
+
this.operation = operation_enum_1.EPayioVisionTerminalOperation.CHECKIN;
|
|
17
20
|
this.updatedAt = new Date();
|
|
18
|
-
this.
|
|
21
|
+
this.webhookUrl = null;
|
|
19
22
|
if (data) {
|
|
20
23
|
for (var key in data) {
|
|
21
24
|
if (data.hasOwnProperty(key) && key in this) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { EPayioVisionTerminalModel } from './model.enum';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EPayioVisionTerminalModel = void 0;
|
|
4
|
+
var model_enum_1 = require("./model.enum");
|
|
5
|
+
Object.defineProperty(exports, "EPayioVisionTerminalModel", { enumerable: true, get: function () { return model_enum_1.EPayioVisionTerminalModel; } });
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EPayioVisionTerminalModel = void 0;
|
|
4
|
+
var EPayioVisionTerminalModel;
|
|
5
|
+
(function (EPayioVisionTerminalModel) {
|
|
6
|
+
EPayioVisionTerminalModel["CONTROL_ID"] = "control-id";
|
|
7
|
+
EPayioVisionTerminalModel["INTELBRAS"] = "intellbras";
|
|
8
|
+
})(EPayioVisionTerminalModel || (exports.EPayioVisionTerminalModel = EPayioVisionTerminalModel = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EPayioVisionTerminalOperation = void 0;
|
|
4
|
+
var EPayioVisionTerminalOperation;
|
|
5
|
+
(function (EPayioVisionTerminalOperation) {
|
|
6
|
+
EPayioVisionTerminalOperation["CHECKIN"] = "checkin";
|
|
7
|
+
EPayioVisionTerminalOperation["PAYER"] = "payer";
|
|
8
|
+
EPayioVisionTerminalOperation["CONSUMER"] = "consumer";
|
|
9
|
+
EPayioVisionTerminalOperation["CHECKOUT"] = "checkout";
|
|
10
|
+
})(EPayioVisionTerminalOperation || (exports.EPayioVisionTerminalOperation = EPayioVisionTerminalOperation = {}));
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./entities"), exports);
|
|
18
|
+
__exportStar(require("./enum"), exports);
|
|
18
19
|
__exportStar(require("./interfaces"), exports);
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
+
import { EPayioVisionTerminalModel } from '../enum';
|
|
2
|
+
import { EPayioVisionTerminalOperation } from '../enum/operation.enum';
|
|
1
3
|
export interface IPayioVisionTerminal {
|
|
4
|
+
active: boolean;
|
|
5
|
+
activationKeyId: string | null;
|
|
6
|
+
appId: string;
|
|
7
|
+
companyId: string;
|
|
2
8
|
createdAt: Date;
|
|
3
9
|
deviceId: string;
|
|
4
|
-
function: string;
|
|
5
|
-
hook: string | null;
|
|
6
|
-
hookAuthorization: string | null;
|
|
7
10
|
id: number;
|
|
8
11
|
ipAddress: string;
|
|
12
|
+
ipServerAddress: string | null;
|
|
13
|
+
model: EPayioVisionTerminalModel;
|
|
9
14
|
name: string;
|
|
10
|
-
|
|
11
|
-
session: string | null;
|
|
12
|
-
type: string;
|
|
15
|
+
operation: EPayioVisionTerminalOperation;
|
|
13
16
|
updatedAt: Date;
|
|
14
|
-
|
|
17
|
+
webhookUrl: string | null;
|
|
15
18
|
}
|