cecon-interfaces 1.5.24 → 1.5.26
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/mobyo/mobyo-api/interfaces/i-engine.mjs +1 -1
- package/dist/esm2022/mottu/entities/order.entity.mjs +2 -1
- package/dist/esm2022/mottu/interfaces/i-deliveries.mjs +2 -0
- package/dist/esm2022/mottu/interfaces/i-order.mjs +1 -1
- package/dist/esm2022/storage-files/enums/image-folder.enum.mjs +2 -1
- package/dist/esm2022/storage-files/enums/index.mjs +2 -2
- package/dist/esm2022/storage-files/enums/{mine-type.enum.mjs → mime-type.enum.mjs} +9 -9
- package/dist/esm2022/storage-files/interfaces/i-file.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +11 -9
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/mobyo/mobyo-api/interfaces/i-engine.d.ts +1 -0
- package/dist/mottu/entities/order.entity.d.ts +2 -0
- package/dist/mottu/entities/order.entity.js +1 -0
- package/dist/mottu/interfaces/i-deliveries.d.ts +16 -0
- package/dist/mottu/interfaces/i-deliveries.js +2 -0
- package/dist/mottu/interfaces/i-order.d.ts +2 -0
- package/dist/package.json +1 -1
- package/dist/storage-files/enums/image-folder.enum.d.ts +1 -0
- package/dist/storage-files/enums/image-folder.enum.js +1 -0
- package/dist/storage-files/enums/index.d.ts +1 -1
- package/dist/storage-files/enums/index.js +3 -3
- package/dist/storage-files/enums/{mine-type.enum.d.ts → mime-type.enum.d.ts} +1 -1
- package/dist/storage-files/enums/mime-type.enum.js +11 -0
- package/dist/storage-files/interfaces/i-file.d.ts +2 -2
- package/package.json +1 -1
- package/dist/storage-files/enums/mine-type.enum.js +0 -11
@@ -1,7 +1,9 @@
|
|
1
1
|
import { IMottuEvent, IMottuOrder, IMottuOrderDeliveryMan } from '../interfaces';
|
2
|
+
import { IMottuDeliveries } from '../interfaces/i-deliveries';
|
2
3
|
export declare class MottuOrderEntity implements IMottuOrder {
|
3
4
|
code: string;
|
4
5
|
createdAt: Date;
|
6
|
+
deliveries: IMottuDeliveries[];
|
5
7
|
deliveryFee: number;
|
6
8
|
deliveryMan: IMottuOrderDeliveryMan;
|
7
9
|
events: IMottuEvent[];
|
@@ -9,6 +9,7 @@ var MottuOrderEntity = /** @class */ (function () {
|
|
9
9
|
// #region Properties (18)
|
10
10
|
this.code = '';
|
11
11
|
this.createdAt = new Date();
|
12
|
+
this.deliveries = []; // Create Entity and instanced new one
|
12
13
|
this.deliveryFee = 0;
|
13
14
|
this.deliveryMan = new order_deliverery_man_entity_1.MottuOrderDeliveryManEntity();
|
14
15
|
this.events = [];
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { IMottuAddress } from "./i-address";
|
2
|
+
export interface IMottuDeliveries {
|
3
|
+
code: string;
|
4
|
+
fullCode: string;
|
5
|
+
name: string;
|
6
|
+
phone: string;
|
7
|
+
observation: string;
|
8
|
+
onlinePayment: boolean;
|
9
|
+
productValue: number;
|
10
|
+
id: number;
|
11
|
+
situation: number;
|
12
|
+
orderRoute: number;
|
13
|
+
address: IMottuAddress;
|
14
|
+
distance: number;
|
15
|
+
deliveryCode: string;
|
16
|
+
}
|
@@ -1,8 +1,10 @@
|
|
1
|
+
import { IMottuDeliveries } from './i-deliveries';
|
1
2
|
import { IMottuEvent } from './i-event';
|
2
3
|
import { IMottuOrderDeliveryMan } from './i-order-delivery-man';
|
3
4
|
export interface IMottuOrder {
|
4
5
|
code: string;
|
5
6
|
createdAt: Date;
|
7
|
+
deliveries: IMottuDeliveries[];
|
6
8
|
deliveryFee: number;
|
7
9
|
deliveryMan: IMottuOrderDeliveryMan;
|
8
10
|
events: IMottuEvent[];
|
package/dist/package.json
CHANGED
@@ -11,6 +11,7 @@ var EImageFolder;
|
|
11
11
|
EImageFolder["MENU_CATEGORIES"] = "menu-categories";
|
12
12
|
EImageFolder["MENUS"] = "menus";
|
13
13
|
EImageFolder["PRODUCTS"] = "products";
|
14
|
+
EImageFolder["TOPPINGS"] = "toppings";
|
14
15
|
EImageFolder["SECOES"] = "secoes";
|
15
16
|
EImageFolder["TAA"] = "taa";
|
16
17
|
EImageFolder["DEFAULT"] = "default";
|
@@ -1,9 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ETypeFile = exports.
|
3
|
+
exports.ETypeFile = exports.EMimeTypeFile = exports.EImageFolder = void 0;
|
4
4
|
var image_folder_enum_1 = require("./image-folder.enum");
|
5
5
|
Object.defineProperty(exports, "EImageFolder", { enumerable: true, get: function () { return image_folder_enum_1.EImageFolder; } });
|
6
|
-
var
|
7
|
-
Object.defineProperty(exports, "
|
6
|
+
var mime_type_enum_1 = require("./mime-type.enum");
|
7
|
+
Object.defineProperty(exports, "EMimeTypeFile", { enumerable: true, get: function () { return mime_type_enum_1.EMimeTypeFile; } });
|
8
8
|
var type_file_enum_1 = require("./type-file.enum");
|
9
9
|
Object.defineProperty(exports, "ETypeFile", { enumerable: true, get: function () { return type_file_enum_1.ETypeFile; } });
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EMimeTypeFile = void 0;
|
4
|
+
var EMimeTypeFile;
|
5
|
+
(function (EMimeTypeFile) {
|
6
|
+
EMimeTypeFile["PNG"] = "image/png";
|
7
|
+
EMimeTypeFile["JPEG"] = "image/jpeg";
|
8
|
+
EMimeTypeFile["MPFOUR"] = "video/mp4";
|
9
|
+
EMimeTypeFile["OGG"] = "video/ogg";
|
10
|
+
EMimeTypeFile["WEBP"] = "image/webp";
|
11
|
+
})(EMimeTypeFile || (exports.EMimeTypeFile = EMimeTypeFile = {}));
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { EMimeTypeFile } from "../enums";
|
2
2
|
import { ETypeFile } from "../enums/type-file.enum";
|
3
3
|
export interface IFile {
|
4
|
-
|
4
|
+
mimeType: EMimeTypeFile;
|
5
5
|
icon: string;
|
6
6
|
lastModified: Date;
|
7
7
|
name: string;
|
package/package.json
CHANGED
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.EMineTypeFile = void 0;
|
4
|
-
var EMineTypeFile;
|
5
|
-
(function (EMineTypeFile) {
|
6
|
-
EMineTypeFile["PNG"] = "image/png";
|
7
|
-
EMineTypeFile["JPEG"] = "image/jpeg";
|
8
|
-
EMineTypeFile["MPFOUR"] = "video/mp4";
|
9
|
-
EMineTypeFile["OGG"] = "video/ogg";
|
10
|
-
EMineTypeFile["WEBP"] = "image/webp";
|
11
|
-
})(EMineTypeFile || (exports.EMineTypeFile = EMineTypeFile = {}));
|