cecon-interfaces 1.9.80 → 1.9.81
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/natipay/orders/enums/sale-channel.enum.mjs +2 -1
- package/dist/esm2022/natipay/payload/entities/payload-device.entity.mjs +1 -3
- package/dist/esm2022/natipay/payload/interfaces/i-payload-device.mjs +1 -1
- package/dist/esm2022/natipay/tokens/entities/token.entity.mjs +2 -4
- package/dist/esm2022/natipay/tokens/interfaces/i-token.mjs +1 -1
- package/dist/esm2022/order/interfaces/i-order.mjs +1 -1
- package/dist/esm2022/payio/index.mjs +2 -1
- package/dist/esm2022/payio/payload/entities/payload-device.entity.mjs +2 -1
- package/dist/esm2022/payio/payload/entities/payload-user.entity.mjs +2 -1
- package/dist/esm2022/payio/payload/interfaces/i-payload-device.mjs +1 -1
- package/dist/esm2022/payio/payload/interfaces/i-payload-user.mjs +1 -1
- package/dist/esm2022/payio/tokens/entities/token.entity.mjs +2 -1
- package/dist/esm2022/payio/tokens/interfaces/i-token.mjs +1 -1
- package/dist/esm2022/payio/ze-config/entities/index.mjs +2 -0
- package/dist/esm2022/payio/ze-config/entities/ze-config.entity.mjs +20 -0
- package/dist/esm2022/payio/ze-config/enums/event.enum.mjs +8 -0
- package/dist/esm2022/payio/ze-config/enums/index.mjs +2 -0
- package/dist/esm2022/payio/ze-config/index.mjs +4 -0
- package/dist/esm2022/payio/ze-config/interfaces/i-ze-config.mjs +2 -0
- package/dist/esm2022/payio/ze-config/interfaces/index.mjs +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +34 -6
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/natipay/orders/enums/sale-channel.enum.d.ts +1 -0
- package/dist/natipay/orders/enums/sale-channel.enum.js +1 -0
- package/dist/natipay/payload/entities/payload-device.entity.d.ts +0 -2
- package/dist/natipay/payload/entities/payload-device.entity.js +0 -2
- package/dist/natipay/payload/interfaces/i-payload-device.d.ts +0 -2
- package/dist/natipay/tokens/entities/token.entity.d.ts +1 -0
- package/dist/natipay/tokens/entities/token.entity.js +1 -3
- package/dist/natipay/tokens/interfaces/i-token.d.ts +1 -0
- package/dist/order/interfaces/i-order.d.ts +17 -17
- package/dist/payio/index.d.ts +1 -0
- package/dist/payio/index.js +1 -0
- package/dist/payio/payload/entities/payload-device.entity.d.ts +1 -0
- package/dist/payio/payload/entities/payload-device.entity.js +1 -0
- package/dist/payio/payload/entities/payload-user.entity.d.ts +1 -0
- package/dist/payio/payload/entities/payload-user.entity.js +1 -0
- package/dist/payio/payload/interfaces/i-payload-device.d.ts +1 -0
- package/dist/payio/payload/interfaces/i-payload-user.d.ts +4 -3
- package/dist/payio/tokens/entities/token.entity.d.ts +1 -0
- package/dist/payio/tokens/entities/token.entity.js +1 -0
- package/dist/payio/tokens/interfaces/i-token.d.ts +1 -0
- package/dist/payio/ze-config/entities/index.d.ts +1 -0
- package/dist/payio/ze-config/entities/index.js +5 -0
- package/dist/payio/ze-config/entities/ze-config.entity.d.ts +13 -0
- package/dist/payio/ze-config/entities/ze-config.entity.js +24 -0
- package/dist/payio/ze-config/enums/event.enum.d.ts +6 -0
- package/dist/payio/ze-config/enums/event.enum.js +10 -0
- package/dist/payio/ze-config/enums/index.d.ts +1 -0
- package/dist/payio/ze-config/enums/index.js +5 -0
- package/dist/payio/ze-config/index.d.ts +3 -0
- package/dist/payio/ze-config/index.js +19 -0
- package/dist/payio/ze-config/interfaces/i-ze-config.d.ts +11 -0
- package/dist/payio/ze-config/interfaces/i-ze-config.js +2 -0
- package/dist/payio/ze-config/interfaces/index.d.ts +1 -0
- package/dist/payio/ze-config/interfaces/index.js +2 -0
- package/order-temp.zip +0 -0
- package/package.json +1 -1
@@ -10,6 +10,7 @@ var ENatipaySaleChannel;
|
|
10
10
|
ENatipaySaleChannel["NATIPAY"] = "NATIPAY";
|
11
11
|
ENatipaySaleChannel["NATIPAY_TAB"] = "NATIPAY-TAB";
|
12
12
|
ENatipaySaleChannel["NATI_PDV"] = "NATI-PDV";
|
13
|
+
ENatipaySaleChannel["NATI_DELIVERY"] = "NATI-DELIVERY";
|
13
14
|
ENatipaySaleChannel["NATI_SMART_POS"] = "NATI-SMART-POS";
|
14
15
|
ENatipaySaleChannel["NATI_TOTEM"] = "NATI-TOTEM";
|
15
16
|
ENatipaySaleChannel["MOBYO_DELIVERY"] = "MOBYO-DELIVERY";
|
@@ -1,8 +1,6 @@
|
|
1
1
|
import { INatipayJwtPayloadDevice } from '../interfaces/i-payload-device';
|
2
2
|
export declare class NatipayJwtPayloadDeviceEntity implements INatipayJwtPayloadDevice {
|
3
|
-
chefConfigId: string | null;
|
4
3
|
id: string;
|
5
4
|
name: string | null;
|
6
|
-
scheduleId: string | null;
|
7
5
|
constructor(data?: Partial<NatipayJwtPayloadDeviceEntity>);
|
8
6
|
}
|
@@ -6,10 +6,8 @@ var NatipayJwtPayloadDeviceEntity = /** @class */ (function () {
|
|
6
6
|
// #region Constructors (1)
|
7
7
|
function NatipayJwtPayloadDeviceEntity(data) {
|
8
8
|
// #region Properties (4)
|
9
|
-
this.chefConfigId = '';
|
10
9
|
this.id = '';
|
11
10
|
this.name = '';
|
12
|
-
this.scheduleId = '';
|
13
11
|
if (data) {
|
14
12
|
for (var key in data) {
|
15
13
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -2,10 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.NatipayTokenEntity = void 0;
|
4
4
|
var NatipayTokenEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (12)
|
6
|
-
// #region Constructors (1)
|
7
5
|
function NatipayTokenEntity(data) {
|
8
|
-
|
6
|
+
this.appId = '';
|
9
7
|
this.createdAt = new Date();
|
10
8
|
this.deviceId = null;
|
11
9
|
this.expiresAt = new Date();
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import { EFrom } from
|
2
|
-
import { EOrderExtraInfo, EOrderTiming } from
|
3
|
-
import { EOrderStatus } from
|
4
|
-
import { EOrderType } from
|
5
|
-
import { IOrderAdditionalFee } from
|
6
|
-
import { IOrderBenefits } from
|
7
|
-
import { IOrderCancellation } from
|
8
|
-
import { IOrderCustomer } from
|
9
|
-
import { IOrderDelivery } from
|
10
|
-
import { IOrderItem } from
|
11
|
-
import { IOrderPayment } from
|
12
|
-
import { IOrderTotal } from
|
1
|
+
import { EFrom } from "../../general";
|
2
|
+
import { EOrderExtraInfo, EOrderTiming } from "../enums";
|
3
|
+
import { EOrderStatus } from "../enums/order-status.enum";
|
4
|
+
import { EOrderType } from "../enums/order-type.enum";
|
5
|
+
import { IOrderAdditionalFee } from "./i-additional-fee";
|
6
|
+
import { IOrderBenefits } from "./i-benefits";
|
7
|
+
import { IOrderCancellation } from "./i-cancellation";
|
8
|
+
import { IOrderCustomer } from "./i-customer";
|
9
|
+
import { IOrderDelivery } from "./i-delivery";
|
10
|
+
import { IOrderItem } from "./i-item";
|
11
|
+
import { IOrderPayment } from "./i-payment";
|
12
|
+
import { IOrderTotal } from "./i-total";
|
13
13
|
export interface IOrder {
|
14
14
|
additionalFees: IOrderAdditionalFee[];
|
15
15
|
benefits: IOrderBenefits[];
|
@@ -18,25 +18,25 @@ export interface IOrder {
|
|
18
18
|
containerId: string;
|
19
19
|
createdAt: Date;
|
20
20
|
customer: IOrderCustomer | null;
|
21
|
-
displayId: string;
|
22
|
-
invoiceId: string | null;
|
23
21
|
delivery: IOrderDelivery | null;
|
22
|
+
displayId: string;
|
23
|
+
extraInfo: EOrderExtraInfo | string | null;
|
24
|
+
from: EFrom;
|
24
25
|
id: string;
|
26
|
+
invoiceId: string | null;
|
25
27
|
items: IOrderItem[];
|
26
28
|
orderTiming: EOrderTiming;
|
27
29
|
orderType: EOrderType | null;
|
28
30
|
payments: IOrderPayment | null;
|
29
31
|
reference: string | null;
|
32
|
+
saleChannel: string;
|
30
33
|
/**
|
31
34
|
* @deprecated Use saleChannel instead
|
32
35
|
*/
|
33
36
|
salesChannel?: string;
|
34
|
-
saleChannel: string;
|
35
37
|
sandbox: boolean;
|
36
38
|
status: EOrderStatus;
|
37
39
|
total: IOrderTotal;
|
38
40
|
updatedAt: Date;
|
39
41
|
version: string;
|
40
|
-
from: EFrom;
|
41
|
-
extraInfo: EOrderExtraInfo | string | null;
|
42
42
|
}
|
package/dist/payio/index.d.ts
CHANGED
package/dist/payio/index.js
CHANGED
@@ -8,6 +8,7 @@ export declare class PayioJwtPayloadDeviceEntity implements IPayioJwtPayloadDevi
|
|
8
8
|
bigChefConfigId: string | null;
|
9
9
|
cashConfigId: string | null;
|
10
10
|
chefConfigId: string | null;
|
11
|
+
zeConfigId: string | null;
|
11
12
|
id: string;
|
12
13
|
name: string | null;
|
13
14
|
scheduleId: string | null;
|
@@ -1,9 +1,10 @@
|
|
1
|
-
import { EPayioUserType } from
|
1
|
+
import { EPayioUserType } from "../enums/user-type.enum";
|
2
2
|
export interface IPayioJwtPayloadUser {
|
3
|
-
phoneNumber: string;
|
4
|
-
internationalCode: string;
|
5
3
|
email: string | null;
|
6
4
|
id: string;
|
5
|
+
internationalCode: string;
|
6
|
+
isAdmin: boolean;
|
7
7
|
name: string;
|
8
|
+
phoneNumber: string;
|
8
9
|
type: EPayioUserType | null;
|
9
10
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { PayioZeConfigEntity } from './ze-config.entity';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioZeConfigEntity = void 0;
|
4
|
+
var ze_config_entity_1 = require("./ze-config.entity");
|
5
|
+
Object.defineProperty(exports, "PayioZeConfigEntity", { enumerable: true, get: function () { return ze_config_entity_1.PayioZeConfigEntity; } });
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { EZeEvent } from '../enums';
|
2
|
+
import { IPayioZeConfig } from '../interfaces/i-ze-config';
|
3
|
+
export declare class PayioZeConfigEntity implements IPayioZeConfig {
|
4
|
+
autoAccept: boolean;
|
5
|
+
createdAt: Date;
|
6
|
+
events: EZeEvent[];
|
7
|
+
id: string;
|
8
|
+
name: string;
|
9
|
+
soundAlert: boolean;
|
10
|
+
updatedAt: Date;
|
11
|
+
webhook: string[];
|
12
|
+
constructor(data?: Partial<PayioZeConfigEntity>);
|
13
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioZeConfigEntity = void 0;
|
4
|
+
var PayioZeConfigEntity = /** @class */ (function () {
|
5
|
+
function PayioZeConfigEntity(data) {
|
6
|
+
this.autoAccept = false;
|
7
|
+
this.createdAt = new Date();
|
8
|
+
this.events = [];
|
9
|
+
this.id = '';
|
10
|
+
this.name = '';
|
11
|
+
this.soundAlert = false;
|
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 PayioZeConfigEntity;
|
23
|
+
}());
|
24
|
+
exports.PayioZeConfigEntity = PayioZeConfigEntity;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EZeEvent = void 0;
|
4
|
+
var EZeEvent;
|
5
|
+
(function (EZeEvent) {
|
6
|
+
EZeEvent["ON_ORDER_CREATED"] = "on_order_created";
|
7
|
+
EZeEvent["ON_ORDER_UPDATED"] = "on_order_updated";
|
8
|
+
EZeEvent["ON_ORDER_DELETED"] = "on_order_deleted";
|
9
|
+
EZeEvent["ON_ORDER_ACCEPTED"] = "on_order_accepted";
|
10
|
+
})(EZeEvent || (exports.EZeEvent = EZeEvent = {}));
|
@@ -0,0 +1 @@
|
|
1
|
+
export { EZeEvent } from './event.enum';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EZeEvent = void 0;
|
4
|
+
var event_enum_1 = require("./event.enum");
|
5
|
+
Object.defineProperty(exports, "EZeEvent", { enumerable: true, get: function () { return event_enum_1.EZeEvent; } });
|
@@ -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 { IPayioZeConfig } from './i-ze-config';
|
package/order-temp.zip
ADDED
Binary file
|