cecon-interfaces 1.2.48 → 1.2.50
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/customer/entities/customer.entity.d.ts +5 -3
- package/dist/customer/entities/customer.entity.js +6 -4
- package/dist/customer/interfaces/i-customer.d.ts +10 -8
- package/dist/esm2022/customer/entities/customer.entity.mjs +7 -5
- package/dist/esm2022/customer/interfaces/i-customer.mjs +1 -1
- package/dist/esm2022/fcm-token-message/entities/index.mjs +2 -0
- package/dist/esm2022/fcm-token-message/entities/token.entity.mjs +26 -0
- package/dist/esm2022/fcm-token-message/index.mjs +3 -0
- package/dist/esm2022/fcm-token-message/interfaces/i-token.mjs +2 -0
- package/dist/esm2022/fcm-token-message/interfaces/index.mjs +2 -0
- package/dist/esm2022/index.mjs +3 -1
- package/dist/esm2022/nati-v1/entities/cart-desenfila.entity.mjs +17 -0
- package/dist/esm2022/nati-v1/entities/cart-item.entity.mjs +38 -0
- package/dist/esm2022/nati-v1/entities/cart.entity.mjs +36 -0
- package/dist/esm2022/nati-v1/entities/index.mjs +4 -0
- package/dist/esm2022/nati-v1/index.mjs +3 -0
- package/dist/esm2022/nati-v1/interfaces/i-cart-desenfila.mjs +2 -0
- package/dist/esm2022/nati-v1/interfaces/i-cart-item.mjs +2 -0
- package/dist/esm2022/nati-v1/interfaces/i-cart.mjs +2 -0
- package/dist/esm2022/nati-v1/interfaces/index.mjs +2 -0
- package/dist/fcm-token-message/entities/index.d.ts +1 -0
- package/dist/fcm-token-message/entities/index.js +5 -0
- package/dist/fcm-token-message/entities/token.entity.d.ts +15 -0
- package/dist/fcm-token-message/entities/token.entity.js +29 -0
- package/dist/fcm-token-message/index.d.ts +2 -0
- package/dist/fcm-token-message/index.js +18 -0
- package/dist/fcm-token-message/interfaces/i-token.d.ts +12 -0
- package/dist/fcm-token-message/interfaces/i-token.js +2 -0
- package/dist/fcm-token-message/interfaces/index.d.ts +1 -0
- package/dist/fcm-token-message/interfaces/index.js +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +124 -5
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/nati-v1/entities/cart-desenfila.entity.d.ts +6 -0
- package/dist/nati-v1/entities/cart-desenfila.entity.js +21 -0
- package/dist/nati-v1/entities/cart-item.entity.d.ts +27 -0
- package/dist/nati-v1/entities/cart-item.entity.js +42 -0
- package/dist/nati-v1/entities/cart.entity.d.ts +27 -0
- package/dist/nati-v1/entities/cart.entity.js +40 -0
- package/dist/nati-v1/entities/index.d.ts +3 -0
- package/dist/nati-v1/entities/index.js +9 -0
- package/dist/nati-v1/index.d.ts +2 -0
- package/dist/nati-v1/index.js +18 -0
- package/dist/nati-v1/interfaces/i-cart-desenfila.d.ts +4 -0
- package/dist/nati-v1/interfaces/i-cart-desenfila.js +2 -0
- package/dist/nati-v1/interfaces/i-cart-item.d.ts +25 -0
- package/dist/nati-v1/interfaces/i-cart-item.js +2 -0
- package/dist/nati-v1/interfaces/i-cart.d.ts +25 -0
- package/dist/nati-v1/interfaces/i-cart.js +2 -0
- package/dist/nati-v1/interfaces/index.d.ts +3 -0
- package/dist/nati-v1/interfaces/index.js +2 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -10,6 +10,7 @@ export * from './customer';
|
|
10
10
|
export * from './customer-member';
|
11
11
|
export * from './device';
|
12
12
|
export * from './evolution';
|
13
|
+
export * from './fcm-token-message';
|
13
14
|
export * from './feature';
|
14
15
|
export * from './general';
|
15
16
|
export * from './global-settings';
|
@@ -21,6 +22,7 @@ export * from './lead';
|
|
21
22
|
export * from './member';
|
22
23
|
export * from './mobyo';
|
23
24
|
export * from './mottu';
|
25
|
+
export * from './nati-v1';
|
24
26
|
export * from './notification';
|
25
27
|
export * from './order';
|
26
28
|
export * from './partner';
|
package/dist/index.js
CHANGED
@@ -26,6 +26,7 @@ __exportStar(require("./customer"), exports);
|
|
26
26
|
__exportStar(require("./customer-member"), exports);
|
27
27
|
__exportStar(require("./device"), exports);
|
28
28
|
__exportStar(require("./evolution"), exports);
|
29
|
+
__exportStar(require("./fcm-token-message"), exports);
|
29
30
|
__exportStar(require("./feature"), exports);
|
30
31
|
__exportStar(require("./general"), exports);
|
31
32
|
__exportStar(require("./global-settings"), exports);
|
@@ -37,6 +38,7 @@ __exportStar(require("./lead"), exports);
|
|
37
38
|
__exportStar(require("./member"), exports);
|
38
39
|
__exportStar(require("./mobyo"), exports);
|
39
40
|
__exportStar(require("./mottu"), exports);
|
41
|
+
__exportStar(require("./nati-v1"), exports);
|
40
42
|
__exportStar(require("./notification"), exports);
|
41
43
|
__exportStar(require("./order"), exports);
|
42
44
|
__exportStar(require("./partner"), exports);
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NatiV1CartDesenfilaEntity = void 0;
|
4
|
+
var NatiV1CartDesenfilaEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function NatiV1CartDesenfilaEntity(data) {
|
8
|
+
// #region Properties (2)
|
9
|
+
this.pixKey = '';
|
10
|
+
this.qrImage = '';
|
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 NatiV1CartDesenfilaEntity;
|
20
|
+
}());
|
21
|
+
exports.NatiV1CartDesenfilaEntity = NatiV1CartDesenfilaEntity;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { INatiV1CartItem } from '../interfaces/i-cart-item';
|
2
|
+
export declare class NatiV1CartItemEntity implements INatiV1CartItem {
|
3
|
+
addition: number;
|
4
|
+
addsValue: boolean;
|
5
|
+
createdAt: Date;
|
6
|
+
id: number;
|
7
|
+
isAdditionalItem: boolean;
|
8
|
+
isDelivery: boolean;
|
9
|
+
isNew: boolean;
|
10
|
+
linkItemId: number;
|
11
|
+
measure: string;
|
12
|
+
observations: string;
|
13
|
+
personId: number;
|
14
|
+
picture: string | null | undefined;
|
15
|
+
productCode: string;
|
16
|
+
productId: number;
|
17
|
+
productName: string;
|
18
|
+
quantity: number;
|
19
|
+
tabId: number;
|
20
|
+
terminalId: string;
|
21
|
+
total: number;
|
22
|
+
unitPrice: number;
|
23
|
+
updatedAt: Date;
|
24
|
+
userName: string;
|
25
|
+
without: boolean;
|
26
|
+
constructor(data?: Partial<NatiV1CartItemEntity>);
|
27
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NatiV1CartItemEntity = void 0;
|
4
|
+
var NatiV1CartItemEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (23)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function NatiV1CartItemEntity(data) {
|
8
|
+
// #region Properties (23)
|
9
|
+
this.addition = 0;
|
10
|
+
this.addsValue = false;
|
11
|
+
this.createdAt = new Date();
|
12
|
+
this.id = 0;
|
13
|
+
this.isAdditionalItem = false;
|
14
|
+
this.isDelivery = false;
|
15
|
+
this.isNew = false;
|
16
|
+
this.linkItemId = 0;
|
17
|
+
this.measure = '';
|
18
|
+
this.observations = '';
|
19
|
+
this.personId = 0;
|
20
|
+
this.picture = undefined;
|
21
|
+
this.productCode = '';
|
22
|
+
this.productId = 0;
|
23
|
+
this.productName = '';
|
24
|
+
this.quantity = 0;
|
25
|
+
this.tabId = 0;
|
26
|
+
this.terminalId = '';
|
27
|
+
this.total = 0;
|
28
|
+
this.unitPrice = 0;
|
29
|
+
this.updatedAt = new Date();
|
30
|
+
this.userName = '';
|
31
|
+
this.without = false;
|
32
|
+
if (data) {
|
33
|
+
for (var key in data) {
|
34
|
+
if (data.hasOwnProperty(key) && key in this) {
|
35
|
+
this[key] = data[key];
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
return NatiV1CartItemEntity;
|
41
|
+
}());
|
42
|
+
exports.NatiV1CartItemEntity = NatiV1CartItemEntity;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { INatiV1Cart } from '../interfaces/i-cart';
|
2
|
+
import { INatiV1CartDesenfila } from '../interfaces/i-cart-desenfila';
|
3
|
+
import { INatiV1CartItem } from '../interfaces/i-cart-item';
|
4
|
+
export declare class NatiV1CartEntity implements INatiV1Cart {
|
5
|
+
addition: number;
|
6
|
+
askedForTheBill: boolean;
|
7
|
+
blocked: boolean;
|
8
|
+
customerId: string;
|
9
|
+
desenfila: INatiV1CartDesenfila | null | undefined;
|
10
|
+
dtAlteracao: Date;
|
11
|
+
firstDate: Date;
|
12
|
+
id: number;
|
13
|
+
idOperadorCaixa: number;
|
14
|
+
items: INatiV1CartItem[];
|
15
|
+
lastDate: Date;
|
16
|
+
people: number;
|
17
|
+
qrCode: string | undefined;
|
18
|
+
tableId: number;
|
19
|
+
terminalId: string;
|
20
|
+
total: number;
|
21
|
+
useByUser: string;
|
22
|
+
uuid: string;
|
23
|
+
vrDesconto: number;
|
24
|
+
vrLimite: number;
|
25
|
+
wasReturned: boolean;
|
26
|
+
constructor(data?: Partial<NatiV1CartEntity>);
|
27
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NatiV1CartEntity = void 0;
|
4
|
+
var NatiV1CartEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (21)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function NatiV1CartEntity(data) {
|
8
|
+
// #region Properties (21)
|
9
|
+
this.addition = 0;
|
10
|
+
this.askedForTheBill = false;
|
11
|
+
this.blocked = false;
|
12
|
+
this.customerId = '';
|
13
|
+
this.desenfila = null;
|
14
|
+
this.dtAlteracao = new Date();
|
15
|
+
this.firstDate = new Date();
|
16
|
+
this.id = 0;
|
17
|
+
this.idOperadorCaixa = 0;
|
18
|
+
this.items = [];
|
19
|
+
this.lastDate = new Date();
|
20
|
+
this.people = 0;
|
21
|
+
this.qrCode = undefined;
|
22
|
+
this.tableId = 0;
|
23
|
+
this.terminalId = '';
|
24
|
+
this.total = 0;
|
25
|
+
this.useByUser = '';
|
26
|
+
this.uuid = '';
|
27
|
+
this.vrDesconto = 0;
|
28
|
+
this.vrLimite = 0;
|
29
|
+
this.wasReturned = false;
|
30
|
+
if (data) {
|
31
|
+
for (var key in data) {
|
32
|
+
if (data.hasOwnProperty(key) && key in this) {
|
33
|
+
this[key] = data[key];
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
return NatiV1CartEntity;
|
39
|
+
}());
|
40
|
+
exports.NatiV1CartEntity = NatiV1CartEntity;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NatiV1CartEntity = exports.NatiV1CartItemEntity = exports.NatiV1CartDesenfilaEntity = void 0;
|
4
|
+
var cart_desenfila_entity_1 = require("./cart-desenfila.entity");
|
5
|
+
Object.defineProperty(exports, "NatiV1CartDesenfilaEntity", { enumerable: true, get: function () { return cart_desenfila_entity_1.NatiV1CartDesenfilaEntity; } });
|
6
|
+
var cart_item_entity_1 = require("./cart-item.entity");
|
7
|
+
Object.defineProperty(exports, "NatiV1CartItemEntity", { enumerable: true, get: function () { return cart_item_entity_1.NatiV1CartItemEntity; } });
|
8
|
+
var cart_entity_1 = require("./cart.entity");
|
9
|
+
Object.defineProperty(exports, "NatiV1CartEntity", { enumerable: true, get: function () { return cart_entity_1.NatiV1CartEntity; } });
|
@@ -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,25 @@
|
|
1
|
+
export interface INatiV1CartItem {
|
2
|
+
addition: number;
|
3
|
+
addsValue: boolean;
|
4
|
+
createdAt: Date;
|
5
|
+
id: number;
|
6
|
+
isAdditionalItem: boolean;
|
7
|
+
isDelivery: boolean;
|
8
|
+
isNew: boolean;
|
9
|
+
linkItemId: number;
|
10
|
+
measure: string;
|
11
|
+
observations: string;
|
12
|
+
personId: number;
|
13
|
+
picture: string | null | undefined;
|
14
|
+
productCode: string;
|
15
|
+
productId: number;
|
16
|
+
productName: string;
|
17
|
+
quantity: number;
|
18
|
+
tabId: number;
|
19
|
+
terminalId: string;
|
20
|
+
total: number;
|
21
|
+
unitPrice: number;
|
22
|
+
updatedAt: Date;
|
23
|
+
userName: string;
|
24
|
+
without: boolean;
|
25
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { INatiV1CartDesenfila } from './i-cart-desenfila';
|
2
|
+
import { INatiV1CartItem } from './i-cart-item';
|
3
|
+
export interface INatiV1Cart {
|
4
|
+
addition: number;
|
5
|
+
askedForTheBill: boolean;
|
6
|
+
blocked: boolean;
|
7
|
+
customerId: string;
|
8
|
+
desenfila?: INatiV1CartDesenfila | null;
|
9
|
+
dtAlteracao: Date;
|
10
|
+
firstDate: Date;
|
11
|
+
id: number;
|
12
|
+
idOperadorCaixa: number;
|
13
|
+
items: INatiV1CartItem[];
|
14
|
+
lastDate: Date;
|
15
|
+
people: number;
|
16
|
+
qrCode?: string;
|
17
|
+
tableId: number;
|
18
|
+
terminalId: string;
|
19
|
+
total: number;
|
20
|
+
useByUser: string;
|
21
|
+
uuid: string;
|
22
|
+
vrDesconto: number;
|
23
|
+
vrLimite: number;
|
24
|
+
wasReturned: boolean;
|
25
|
+
}
|
package/dist/package.json
CHANGED