cecon-interfaces 1.6.99 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/ifood/enums/ifood-catalog-context.enum.mjs +6 -0
- package/dist/esm2022/ifood/enums/index.mjs +2 -0
- package/dist/esm2022/ifood/index.mjs +4 -0
- package/dist/esm2022/ifood/interfaces/i-ifood-address.mjs +2 -0
- package/dist/esm2022/ifood/interfaces/i-ifood-catalog.mjs +2 -0
- package/dist/esm2022/ifood/interfaces/i-ifood-category-items-option-groups.mjs +2 -0
- package/dist/esm2022/ifood/interfaces/i-ifood-category-items-price.mjs +2 -0
- package/dist/esm2022/ifood/interfaces/i-ifood-category-items-selling-options.mjs +2 -0
- package/dist/esm2022/ifood/interfaces/i-ifood-category-items.mjs +2 -0
- package/dist/esm2022/ifood/interfaces/i-ifood-category-pizza-crusts.mjs +2 -0
- package/dist/esm2022/ifood/interfaces/i-ifood-category-pizza-edges.mjs +2 -0
- package/dist/esm2022/ifood/interfaces/i-ifood-category-pizza-sizes.mjs +2 -0
- package/dist/esm2022/ifood/interfaces/i-ifood-category-pizza-toppings.mjs +2 -0
- package/dist/esm2022/ifood/interfaces/i-ifood-category-pizza.mjs +2 -0
- package/dist/esm2022/ifood/interfaces/i-ifood-category-shifts.mjs +2 -0
- package/dist/esm2022/ifood/interfaces/i-ifood-category.mjs +2 -0
- package/dist/esm2022/ifood/interfaces/i-ifood-client.mjs +2 -0
- package/dist/esm2022/ifood/interfaces/i-ifood-merchant.mjs +2 -0
- package/dist/esm2022/ifood/interfaces/index.mjs +2 -0
- package/dist/esm2022/index.mjs +2 -1
- package/dist/esm2022/mobyo/mobyo-api/interfaces/i-ifood-token.mjs +1 -1
- package/dist/esm2022/mobyo/mobyo-api/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +9 -1
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/ifood/enums/ifood-catalog-context.enum.d.ts +4 -0
- package/dist/ifood/enums/ifood-catalog-context.enum.js +8 -0
- package/dist/ifood/enums/index.d.ts +1 -0
- package/dist/ifood/enums/index.js +5 -0
- package/dist/ifood/index.d.ts +2 -0
- package/dist/ifood/index.js +19 -0
- package/dist/ifood/interfaces/i-ifood-address.d.ts +11 -0
- package/dist/ifood/interfaces/i-ifood-catalog.d.ts +8 -0
- package/dist/ifood/interfaces/i-ifood-catalog.js +2 -0
- package/dist/ifood/interfaces/i-ifood-category-items-option-groups.d.ts +23 -0
- package/dist/ifood/interfaces/i-ifood-category-items-option-groups.js +2 -0
- package/dist/ifood/interfaces/i-ifood-category-items-price.d.ts +4 -0
- package/dist/ifood/interfaces/i-ifood-category-items-price.js +2 -0
- package/dist/ifood/interfaces/i-ifood-category-items-selling-options.d.ts +6 -0
- package/dist/ifood/interfaces/i-ifood-category-items-selling-options.js +2 -0
- package/dist/ifood/interfaces/i-ifood-category-items.d.ts +24 -0
- package/dist/ifood/interfaces/i-ifood-category-items.js +2 -0
- package/dist/ifood/interfaces/i-ifood-category-pizza-crusts.d.ts +11 -0
- package/dist/ifood/interfaces/i-ifood-category-pizza-crusts.js +2 -0
- package/dist/ifood/interfaces/i-ifood-category-pizza-edges.d.ts +11 -0
- package/dist/ifood/interfaces/i-ifood-category-pizza-edges.js +2 -0
- package/dist/ifood/interfaces/i-ifood-category-pizza-sizes.d.ts +13 -0
- package/dist/ifood/interfaces/i-ifood-category-pizza-sizes.js +2 -0
- package/dist/ifood/interfaces/i-ifood-category-pizza-toppings.d.ts +24 -0
- package/dist/ifood/interfaces/i-ifood-category-pizza-toppings.js +2 -0
- package/dist/ifood/interfaces/i-ifood-category-pizza.d.ts +13 -0
- package/dist/ifood/interfaces/i-ifood-category-pizza.js +2 -0
- package/dist/ifood/interfaces/i-ifood-category-shifts.d.ts +11 -0
- package/dist/ifood/interfaces/i-ifood-category-shifts.js +2 -0
- package/dist/ifood/interfaces/i-ifood-category.d.ts +12 -0
- package/dist/ifood/interfaces/i-ifood-category.js +2 -0
- package/dist/ifood/interfaces/i-ifood-client.d.ts +10 -0
- package/dist/ifood/interfaces/i-ifood-client.js +2 -0
- package/dist/ifood/interfaces/i-ifood-merchant.d.ts +20 -0
- package/dist/ifood/interfaces/i-ifood-merchant.js +2 -0
- package/dist/ifood/interfaces/index.d.ts +15 -0
- package/dist/ifood/interfaces/index.js +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/mobyo/mobyo-api/interfaces/i-ifood-token.d.ts +8 -0
- package/dist/mobyo/mobyo-api/interfaces/index.d.ts +1 -2
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/dist/esm2022/mobyo/mobyo-api/interfaces/i-ifood-category-item.mjs +0 -2
- package/dist/mobyo/mobyo-api/interfaces/i-ifood-category-item.d.ts +0 -8
- /package/dist/{mobyo/mobyo-api/interfaces/i-ifood-category-item.js → ifood/interfaces/i-ifood-address.js} +0 -0
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EIFoodCatalogContext = void 0;
|
4
|
+
var EIFoodCatalogContext;
|
5
|
+
(function (EIFoodCatalogContext) {
|
6
|
+
EIFoodCatalogContext["DEFAULT"] = "DEFAULT";
|
7
|
+
EIFoodCatalogContext["INDOOR"] = "INDOOR";
|
8
|
+
})(EIFoodCatalogContext || (exports.EIFoodCatalogContext = EIFoodCatalogContext = {}));
|
@@ -0,0 +1 @@
|
|
1
|
+
export { EIFoodCatalogContext } from './ifood-catalog-context.enum';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EIFoodCatalogContext = void 0;
|
4
|
+
var ifood_catalog_context_enum_1 = require("./ifood-catalog-context.enum");
|
5
|
+
Object.defineProperty(exports, "EIFoodCatalogContext", { enumerable: true, get: function () { return ifood_catalog_context_enum_1.EIFoodCatalogContext; } });
|
@@ -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("./interfaces"), exports);
|
18
|
+
__exportStar(require("./enums"), exports);
|
19
|
+
// export * from './entities';
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { IIFoodCategoryItemsPrice } from './i-ifood-category-items-price';
|
2
|
+
export interface IIFoodCategoryItemsOptionGroups {
|
3
|
+
id: string;
|
4
|
+
name: string;
|
5
|
+
externalCode: string;
|
6
|
+
status: string;
|
7
|
+
index: number;
|
8
|
+
min: number;
|
9
|
+
max: number;
|
10
|
+
options: IIFoodCategoryItemsOptions;
|
11
|
+
}
|
12
|
+
export interface IIFoodCategoryItemsOptions {
|
13
|
+
id: string;
|
14
|
+
status: string;
|
15
|
+
index: number;
|
16
|
+
productId: string;
|
17
|
+
name: string;
|
18
|
+
description: string;
|
19
|
+
externalCode: string;
|
20
|
+
imagePath: string;
|
21
|
+
price: IIFoodCategoryItemsPrice;
|
22
|
+
ean: string;
|
23
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { IIFoodCategoryItemsOptionGroups } from './i-ifood-category-items-option-groups';
|
2
|
+
import { IIFoodCategoryItemsPrice } from './i-ifood-category-items-price';
|
3
|
+
import { IIFoodCategoryItemsSellingOptions } from './i-ifood-category-items-selling-options';
|
4
|
+
import { IIFoodCategoryShifts } from './i-ifood-category-shifts';
|
5
|
+
export interface IIFoodCategoryItems {
|
6
|
+
id: string;
|
7
|
+
name: string;
|
8
|
+
description: string;
|
9
|
+
additionalInformation: string;
|
10
|
+
externalCode: string;
|
11
|
+
status: string;
|
12
|
+
productId: string;
|
13
|
+
index: number;
|
14
|
+
imagePath: string;
|
15
|
+
price: IIFoodCategoryItemsPrice;
|
16
|
+
shifts: IIFoodCategoryShifts[];
|
17
|
+
serving: string;
|
18
|
+
dietaryRestrictions: string[];
|
19
|
+
ean: string;
|
20
|
+
optionGroups: IIFoodCategoryItemsOptionGroups[];
|
21
|
+
sellingOption: IIFoodCategoryItemsSellingOptions;
|
22
|
+
tags: string[];
|
23
|
+
hasOptionGroups: true;
|
24
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
export interface IIFoodCategoryPizzaToppings {
|
2
|
+
id: string;
|
3
|
+
externalCode: string;
|
4
|
+
name: string;
|
5
|
+
description: string;
|
6
|
+
imagePath: string;
|
7
|
+
status: string;
|
8
|
+
dietaryRestrictions: string[];
|
9
|
+
index: number;
|
10
|
+
prices: {
|
11
|
+
additionalProp1: {
|
12
|
+
value: number;
|
13
|
+
originalValue: number;
|
14
|
+
};
|
15
|
+
additionalProp2: {
|
16
|
+
value: number;
|
17
|
+
originalValue: number;
|
18
|
+
};
|
19
|
+
additionalProp3: {
|
20
|
+
value: number;
|
21
|
+
originalValue: number;
|
22
|
+
};
|
23
|
+
};
|
24
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { IIFoodCategoryPizzaCrusts } from './i-ifood-category-pizza-crusts';
|
2
|
+
import { IIFoodCategoryPizzaEdges } from './i-ifood-category-pizza-edges';
|
3
|
+
import { IIFoodCategoryShifts } from './i-ifood-category-shifts';
|
4
|
+
import { IIFoodCategoryPizzaSizes } from './i-ifood-category-pizza-sizes';
|
5
|
+
import { IIFoodCategoryPizzaToppings } from './i-ifood-category-pizza-toppings';
|
6
|
+
export interface IIFoodCategoryPizza {
|
7
|
+
id: string;
|
8
|
+
sizes: IIFoodCategoryPizzaSizes[];
|
9
|
+
crusts: IIFoodCategoryPizzaCrusts[];
|
10
|
+
edges: IIFoodCategoryPizzaEdges[];
|
11
|
+
toppings: IIFoodCategoryPizzaToppings[];
|
12
|
+
shifts: IIFoodCategoryShifts[];
|
13
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { IIFoodCategoryItems } from './i-ifood-category-items';
|
2
|
+
import { IIFoodCategoryPizza } from './i-ifood-category-pizza';
|
3
|
+
export interface IIFoodCategory {
|
4
|
+
id: string;
|
5
|
+
index: number;
|
6
|
+
name: string;
|
7
|
+
externalCode: string;
|
8
|
+
status: string;
|
9
|
+
items: IIFoodCategoryItems[];
|
10
|
+
template: string;
|
11
|
+
pizza: IIFoodCategoryPizza;
|
12
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { IIFoodAddress } from "./i-ifood-address";
|
2
|
+
export interface IIFoodMerchant {
|
3
|
+
id: string;
|
4
|
+
name: string;
|
5
|
+
corporateName: string;
|
6
|
+
description: string;
|
7
|
+
averageTicket: number;
|
8
|
+
exclusive: true;
|
9
|
+
type: string;
|
10
|
+
status: string;
|
11
|
+
createdAt: Date | string;
|
12
|
+
address: IIFoodAddress;
|
13
|
+
operations: {
|
14
|
+
name: string;
|
15
|
+
salesChannel: {
|
16
|
+
name: string;
|
17
|
+
enabled: string;
|
18
|
+
};
|
19
|
+
};
|
20
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export { IIFoodAddress } from './i-ifood-address';
|
2
|
+
export { IIFoodCatalog } from './i-ifood-catalog';
|
3
|
+
export { IIFoodCategory } from './i-ifood-category';
|
4
|
+
export { IIFoodCategoryItems } from './i-ifood-category-items';
|
5
|
+
export { IIFoodCategoryItemsOptionGroups } from './i-ifood-category-items-option-groups';
|
6
|
+
export { IIFoodCategoryItemsPrice } from './i-ifood-category-items-price';
|
7
|
+
export { IIFoodCategoryItemsSellingOptions } from './i-ifood-category-items-selling-options';
|
8
|
+
export { IIFoodCategoryShifts } from './i-ifood-category-shifts';
|
9
|
+
export { IIFoodCategoryPizza } from './i-ifood-category-pizza';
|
10
|
+
export { IIFoodCategoryPizzaCrusts } from './i-ifood-category-pizza-crusts';
|
11
|
+
export { IIFoodCategoryPizzaEdges } from './i-ifood-category-pizza-edges';
|
12
|
+
export { IIFoodCategoryPizzaSizes } from './i-ifood-category-pizza-sizes';
|
13
|
+
export { IIFoodCategoryPizzaToppings } from './i-ifood-category-pizza-toppings';
|
14
|
+
export { IIFoodClient } from './i-ifood-client';
|
15
|
+
export { IIFoodMerchant } from './i-ifood-merchant';
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
@@ -39,6 +39,7 @@ __exportStar(require("./feature"), exports);
|
|
39
39
|
__exportStar(require("./general"), exports);
|
40
40
|
__exportStar(require("./global-settings"), exports);
|
41
41
|
__exportStar(require("./installation"), exports);
|
42
|
+
__exportStar(require("./ifood"), exports);
|
42
43
|
__exportStar(require("./invite"), exports);
|
43
44
|
__exportStar(require("./invoice"), exports);
|
44
45
|
__exportStar(require("./iugu"), exports);
|
@@ -61,8 +61,7 @@ export { IGeocodeEnvelopeArray as MobyoIGeocodeEnvelopeArray } from './i-geocode
|
|
61
61
|
export { IGlobalsProduct as MobyoIGlobalsProduct } from './i-globals-product';
|
62
62
|
export { IRating as MobyoIRating } from './i-globals-rating';
|
63
63
|
export { IGlobalsUtilization as MobyoIGlobalsUtilization } from './i-globals-utilizations';
|
64
|
-
export {
|
65
|
-
export { IIFoodToken as MobyoIIFoodToken, IIFoodV1Token } from './i-ifood-token';
|
64
|
+
export { IIFoodToken as MobyoIIFoodToken, IIFoodV1Token, IIFoodV2Token } from './i-ifood-token';
|
66
65
|
export { IMember as MobyoIMember } from './i-member';
|
67
66
|
export { IMenuConfig as MobyoIMenuConfig } from './i-menu-config';
|
68
67
|
export { IMenuScheduleV2 as MobyoIMenuScheduleV2 } from './i-menu-schedule-v2';
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
@@ -1,2 +0,0 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pZm9vZC1jYXRlZ29yeS1pdGVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL21vYnlvL21vYnlvLWFwaS9pbnRlcmZhY2VzL2ktaWZvb2QtY2F0ZWdvcnktaXRlbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBJSUZvb2RDYXRlZ29yeUl0ZW0ge1xyXG4gICAgaWQ6IHN0cmluZztcclxuICAgIGV4dGVybmFsQ29kZTogc3RyaW5nO1xyXG4gICAgbmFtZTogc3RyaW5nO1xyXG4gICAgZGVzY3JpcHRpb246IHN0cmluZztcclxuICAgIGF2YWlsYWJpbGl0eTogJ0FWQUlMQUJMRScgfCAnVU5BVkFJTEFCTEUnO1xyXG4gICAgb3JkZXI6IHN0cmluZztcclxufVxyXG4iXX0=
|
File without changes
|