cecon-interfaces 1.8.35 → 1.8.36
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/interfaces/i-webhook.mjs +1 -1
- package/dist/esm2022/payio/tabs/entities/tab.entity.mjs +4 -1
- package/dist/esm2022/payio/tabs/enums/index.mjs +2 -0
- package/dist/esm2022/payio/tabs/enums/status.enum.mjs +11 -0
- package/dist/esm2022/payio/tabs/interfaces/i-tab.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +13 -0
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/payio/chef-config/interfaces/i-webhook.d.ts +5 -5
- package/dist/payio/tabs/entities/tab.entity.d.ts +3 -0
- package/dist/payio/tabs/entities/tab.entity.js +3 -0
- package/dist/payio/tabs/enums/index.d.ts +1 -0
- package/dist/payio/tabs/enums/index.js +5 -0
- package/dist/payio/tabs/enums/status.enum.d.ts +9 -0
- package/dist/payio/tabs/enums/status.enum.js +13 -0
- package/dist/payio/tabs/interfaces/i-tab.d.ts +3 -0
- package/package.json +1 -1
@@ -1,13 +1,13 @@
|
|
1
|
-
import { EWebhookMethod, EWebhookType } from
|
1
|
+
import { EWebhookMethod, EWebhookType } from "../../..";
|
2
2
|
export interface IPayioWebhook {
|
3
3
|
active: boolean;
|
4
|
-
method: EWebhookMethod;
|
5
4
|
headers: IPayioWebhookHeader[];
|
6
|
-
url: string;
|
7
5
|
id: string;
|
8
|
-
type: EWebhookType;
|
9
|
-
response: any;
|
10
6
|
locked: boolean;
|
7
|
+
method: EWebhookMethod;
|
8
|
+
response: any;
|
9
|
+
type: EWebhookType;
|
10
|
+
url: string;
|
11
11
|
}
|
12
12
|
export interface IPayioWebhookHeader {
|
13
13
|
key: string;
|
@@ -1,9 +1,12 @@
|
|
1
|
+
import { EPayioTabStatus } from '../enums';
|
1
2
|
import { IPayioTab } from '../interfaces/i-tab';
|
2
3
|
export declare class PayioTabEntity implements IPayioTab {
|
3
4
|
active: boolean;
|
4
5
|
createdAt: Date;
|
5
6
|
id: string;
|
6
7
|
name: string;
|
8
|
+
status: EPayioTabStatus;
|
9
|
+
statusReason: string | null;
|
7
10
|
tags: string[];
|
8
11
|
updatedAt: Date;
|
9
12
|
constructor(data?: Partial<PayioTabEntity>);
|
@@ -1,12 +1,15 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.PayioTabEntity = void 0;
|
4
|
+
var enums_1 = require("../enums");
|
4
5
|
var PayioTabEntity = /** @class */ (function () {
|
5
6
|
function PayioTabEntity(data) {
|
6
7
|
this.active = true;
|
7
8
|
this.createdAt = new Date();
|
8
9
|
this.id = '';
|
9
10
|
this.name = '';
|
11
|
+
this.status = enums_1.EPayioTabStatus.ACTIVE;
|
12
|
+
this.statusReason = null;
|
10
13
|
this.tags = [];
|
11
14
|
this.updatedAt = new Date();
|
12
15
|
if (data) {
|
@@ -0,0 +1 @@
|
|
1
|
+
export { EPayioTabStatus } from './status.enum';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EPayioTabStatus = void 0;
|
4
|
+
var status_enum_1 = require("./status.enum");
|
5
|
+
Object.defineProperty(exports, "EPayioTabStatus", { enumerable: true, get: function () { return status_enum_1.EPayioTabStatus; } });
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EPayioTabStatus = void 0;
|
4
|
+
var EPayioTabStatus;
|
5
|
+
(function (EPayioTabStatus) {
|
6
|
+
EPayioTabStatus["ACTIVE"] = "active";
|
7
|
+
EPayioTabStatus["INACTIVE"] = "inactive";
|
8
|
+
EPayioTabStatus["SUSPENDED"] = "suspended";
|
9
|
+
EPayioTabStatus["LOST"] = "lost";
|
10
|
+
EPayioTabStatus["UNDER_REVIEW"] = "under_review";
|
11
|
+
EPayioTabStatus["BROKEN"] = "broken";
|
12
|
+
EPayioTabStatus["RESERVED"] = "reserved";
|
13
|
+
})(EPayioTabStatus || (exports.EPayioTabStatus = EPayioTabStatus = {}));
|