cecon-interfaces 1.7.97 → 1.7.98
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/entities/config-operation.entity.mjs +23 -0
- package/dist/esm2022/payio/cash-config/entities/config.entity.mjs +20 -0
- package/dist/esm2022/payio/cash-config/entities/index.mjs +3 -0
- package/dist/esm2022/payio/cash-config/enums/index.mjs +2 -0
- package/dist/esm2022/payio/cash-config/enums/tef-provider.enum.mjs +8 -0
- package/dist/esm2022/payio/cash-config/index.mjs +4 -0
- package/dist/esm2022/payio/cash-config/interfaces/i-cash-config.mjs +2 -0
- package/dist/esm2022/payio/cash-config/interfaces/i-chef-config-operation.mjs +2 -0
- package/dist/esm2022/payio/cash-config/interfaces/index.mjs +2 -0
- package/dist/esm2022/payio/index.mjs +2 -1
- package/dist/fesm2022/cecon-interfaces.mjs +49 -1
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/payio/cash-config/entities/config-operation.entity.d.ts +15 -0
- package/dist/payio/cash-config/entities/config-operation.entity.js +31 -0
- package/dist/payio/cash-config/entities/config.entity.d.ts +13 -0
- package/dist/payio/cash-config/entities/config.entity.js +24 -0
- package/dist/payio/cash-config/entities/index.d.ts +2 -0
- package/dist/payio/cash-config/entities/index.js +7 -0
- package/dist/payio/cash-config/enums/index.d.ts +1 -0
- package/dist/payio/cash-config/enums/index.js +5 -0
- package/dist/payio/cash-config/enums/tef-provider.enum.d.ts +6 -0
- package/dist/payio/cash-config/enums/tef-provider.enum.js +10 -0
- package/dist/payio/cash-config/index.d.ts +3 -0
- package/dist/payio/cash-config/index.js +19 -0
- package/dist/payio/cash-config/interfaces/i-cash-config.d.ts +11 -0
- package/dist/payio/cash-config/interfaces/i-cash-config.js +2 -0
- package/dist/payio/cash-config/interfaces/i-chef-config-operation.d.ts +13 -0
- package/dist/payio/cash-config/interfaces/i-chef-config-operation.js +2 -0
- package/dist/payio/cash-config/interfaces/index.d.ts +1 -0
- package/dist/payio/cash-config/interfaces/index.js +2 -0
- package/dist/payio/index.d.ts +1 -0
- package/dist/payio/index.js +1 -0
- package/package.json +1 -1
package/dist/package.json
CHANGED
@@ -0,0 +1,15 @@
|
|
1
|
+
import { EBarcodeFormat } from '../../chef-config';
|
2
|
+
import { ETefProvider } from '../enums';
|
3
|
+
import { IPayioCashConfigOperation, IPayioCashConfigOperationTef } from '../interfaces/i-chef-config-operation';
|
4
|
+
export declare class PayioCashConfigOperationEntity implements IPayioCashConfigOperation {
|
5
|
+
balanceMethod: EBarcodeFormat;
|
6
|
+
tabFormat: string | null;
|
7
|
+
tef: IPayioCashConfigOperationTef;
|
8
|
+
constructor(data?: Partial<PayioCashConfigOperationEntity>);
|
9
|
+
}
|
10
|
+
export declare class PayioCashConfigOperationTefEntity implements IPayioCashConfigOperationTef {
|
11
|
+
companyNumber: number;
|
12
|
+
provider: ETefProvider;
|
13
|
+
terminal: string;
|
14
|
+
url: string;
|
15
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioCashConfigOperationTefEntity = exports.PayioCashConfigOperationEntity = void 0;
|
4
|
+
var chef_config_1 = require("../../chef-config");
|
5
|
+
var enums_1 = require("../enums");
|
6
|
+
var PayioCashConfigOperationEntity = /** @class */ (function () {
|
7
|
+
function PayioCashConfigOperationEntity(data) {
|
8
|
+
this.balanceMethod = chef_config_1.EBarcodeFormat.CODE_6_PRICE_6;
|
9
|
+
this.tabFormat = null;
|
10
|
+
this.tef = new PayioCashConfigOperationTefEntity();
|
11
|
+
if (data) {
|
12
|
+
for (var key in data) {
|
13
|
+
if (data.hasOwnProperty(key) && key in this) {
|
14
|
+
this[key] = data[key];
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
return PayioCashConfigOperationEntity;
|
20
|
+
}());
|
21
|
+
exports.PayioCashConfigOperationEntity = PayioCashConfigOperationEntity;
|
22
|
+
var PayioCashConfigOperationTefEntity = /** @class */ (function () {
|
23
|
+
function PayioCashConfigOperationTefEntity() {
|
24
|
+
this.companyNumber = 0;
|
25
|
+
this.provider = enums_1.ETefProvider.FISERV;
|
26
|
+
this.terminal = '';
|
27
|
+
this.url = '';
|
28
|
+
}
|
29
|
+
return PayioCashConfigOperationTefEntity;
|
30
|
+
}());
|
31
|
+
exports.PayioCashConfigOperationTefEntity = PayioCashConfigOperationTefEntity;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { IPayioTabs, IPayioWebhook } from '../../chef-config/interfaces';
|
2
|
+
import { IPayioCashConfig } from '../interfaces/i-cash-config';
|
3
|
+
import { IPayioCashConfigOperation } from '../interfaces/i-chef-config-operation';
|
4
|
+
export declare class PayioCashConfigEntity implements IPayioCashConfig {
|
5
|
+
createdAt: Date;
|
6
|
+
id: string;
|
7
|
+
name: string;
|
8
|
+
operation: IPayioCashConfigOperation;
|
9
|
+
tabs: IPayioTabs[];
|
10
|
+
updatedAt: Date;
|
11
|
+
webhook: IPayioWebhook[];
|
12
|
+
constructor(data?: Partial<PayioCashConfigEntity>);
|
13
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioCashConfigEntity = void 0;
|
4
|
+
var config_operation_entity_1 = require("./config-operation.entity");
|
5
|
+
var PayioCashConfigEntity = /** @class */ (function () {
|
6
|
+
function PayioCashConfigEntity(data) {
|
7
|
+
this.createdAt = new Date();
|
8
|
+
this.id = '';
|
9
|
+
this.name = '';
|
10
|
+
this.operation = new config_operation_entity_1.PayioCashConfigOperationEntity();
|
11
|
+
this.tabs = [];
|
12
|
+
this.updatedAt = new Date();
|
13
|
+
this.webhook = [];
|
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 PayioCashConfigEntity;
|
23
|
+
}());
|
24
|
+
exports.PayioCashConfigEntity = PayioCashConfigEntity;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioCashConfigEntity = exports.PayioCashConfigOperationEntity = void 0;
|
4
|
+
var config_operation_entity_1 = require("./config-operation.entity");
|
5
|
+
Object.defineProperty(exports, "PayioCashConfigOperationEntity", { enumerable: true, get: function () { return config_operation_entity_1.PayioCashConfigOperationEntity; } });
|
6
|
+
var config_entity_1 = require("./config.entity");
|
7
|
+
Object.defineProperty(exports, "PayioCashConfigEntity", { enumerable: true, get: function () { return config_entity_1.PayioCashConfigEntity; } });
|
@@ -0,0 +1 @@
|
|
1
|
+
export { ETefProvider } from './tef-provider.enum';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ETefProvider = void 0;
|
4
|
+
var tef_provider_enum_1 = require("./tef-provider.enum");
|
5
|
+
Object.defineProperty(exports, "ETefProvider", { enumerable: true, get: function () { return tef_provider_enum_1.ETefProvider; } });
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ETefProvider = void 0;
|
4
|
+
var ETefProvider;
|
5
|
+
(function (ETefProvider) {
|
6
|
+
ETefProvider["FISERV"] = "FISERV";
|
7
|
+
ETefProvider["PAYER"] = "PAYER";
|
8
|
+
ETefProvider["FIREBANK"] = "FIREBANK";
|
9
|
+
ETefProvider["FORPAY"] = "FORPAY";
|
10
|
+
})(ETefProvider || (exports.ETefProvider = ETefProvider = {}));
|
@@ -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,11 @@
|
|
1
|
+
import { IPayioTabs, IPayioWebhook } from '../../chef-config/interfaces';
|
2
|
+
import { IPayioCashConfigOperation } from './i-chef-config-operation';
|
3
|
+
export interface IPayioCashConfig {
|
4
|
+
createdAt: Date;
|
5
|
+
id: string;
|
6
|
+
name: string;
|
7
|
+
operation: IPayioCashConfigOperation;
|
8
|
+
updatedAt: Date;
|
9
|
+
tabs: IPayioTabs[];
|
10
|
+
webhook: IPayioWebhook[];
|
11
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { EBarcodeFormat } from '../../chef-config';
|
2
|
+
import { ETefProvider } from '../enums';
|
3
|
+
export interface IPayioCashConfigOperation {
|
4
|
+
balanceMethod: EBarcodeFormat | null;
|
5
|
+
tabFormat: string | null;
|
6
|
+
tef: IPayioCashConfigOperationTef;
|
7
|
+
}
|
8
|
+
export interface IPayioCashConfigOperationTef {
|
9
|
+
companyNumber: number;
|
10
|
+
provider: ETefProvider;
|
11
|
+
terminal: string;
|
12
|
+
url: string;
|
13
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { IPayioCashConfigOperation, IPayioCashConfigOperationTef } from './i-chef-config-operation';
|
package/dist/payio/index.d.ts
CHANGED
package/dist/payio/index.js
CHANGED