cecon-interfaces 1.7.3 → 1.7.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. package/dist/esm2022/envelope/interfaces/factory-envelope-array-pag.functions.mjs +1 -1
  2. package/dist/esm2022/envelope/interfaces/factory-envelope-array.functions.mjs +1 -1
  3. package/dist/esm2022/envelope/interfaces/factory-envelope.functions.mjs +1 -1
  4. package/dist/esm2022/ifood/enums/ifood-unit.enum.mjs +6 -0
  5. package/dist/esm2022/ifood/enums/index.mjs +5 -1
  6. package/dist/esm2022/ifood/interfaces/i-ifood-category-items.mjs +1 -1
  7. package/dist/esm2022/ifood/interfaces/i-ifood-option-groups.mjs +2 -0
  8. package/dist/esm2022/ifood/interfaces/i-ifood-product.mjs +2 -0
  9. package/dist/esm2022/ifood/interfaces/i-ifood-weight.mjs +2 -0
  10. package/dist/esm2022/ifood/interfaces/index.mjs +1 -1
  11. package/dist/esm2022/payio/company/entities/company.entity.mjs +2 -4
  12. package/dist/esm2022/payio/company/interfaces/i-company.mjs +1 -1
  13. package/dist/fesm2022/cecon-interfaces.mjs +39 -4
  14. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  15. package/dist/ifood/enums/ifood-unit.enum.d.ts +4 -0
  16. package/dist/ifood/enums/ifood-unit.enum.js +8 -0
  17. package/dist/ifood/enums/index.d.ts +4 -0
  18. package/dist/ifood/enums/index.js +9 -1
  19. package/dist/ifood/interfaces/i-ifood-category-items.d.ts +1 -1
  20. package/dist/ifood/interfaces/i-ifood-product.d.ts +23 -0
  21. package/dist/ifood/interfaces/i-ifood-product.js +2 -0
  22. package/dist/ifood/interfaces/i-ifood-weight.d.ts +6 -0
  23. package/dist/ifood/interfaces/i-ifood-weight.js +2 -0
  24. package/dist/ifood/interfaces/index.d.ts +9 -6
  25. package/dist/package.json +1 -1
  26. package/dist/payio/company/entities/company.entity.d.ts +1 -0
  27. package/dist/payio/company/entities/company.entity.js +1 -3
  28. package/dist/payio/company/interfaces/i-company.d.ts +1 -0
  29. package/package.json +1 -1
  30. package/dist/esm2022/ifood/interfaces/i-ifood-category-option-groups.mjs +0 -2
  31. /package/dist/ifood/interfaces/{i-ifood-category-option-groups.d.ts → i-ifood-option-groups.d.ts} +0 -0
  32. /package/dist/ifood/interfaces/{i-ifood-category-option-groups.js → i-ifood-option-groups.js} +0 -0
@@ -0,0 +1,4 @@
1
+ export declare enum EIFoodUnit {
2
+ KG = "kg",
3
+ G = "g"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EIFoodUnit = void 0;
4
+ var EIFoodUnit;
5
+ (function (EIFoodUnit) {
6
+ EIFoodUnit["KG"] = "kg";
7
+ EIFoodUnit["G"] = "g";
8
+ })(EIFoodUnit || (exports.EIFoodUnit = EIFoodUnit = {}));
@@ -1 +1,5 @@
1
1
  export { EIFoodCatalogContext } from './ifood-catalog-context.enum';
2
+ export { EIFoodDietaryRestrictions } from './ifood-dietary-restrictions.enum';
3
+ export { EIFoodSellingOptions } from './ifood-selling-options.enum';
4
+ export { EIFoodServing } from './ifood-serving.enum';
5
+ export { EIFoodUnit } from './ifood-unit.enum';
@@ -1,5 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EIFoodCatalogContext = void 0;
3
+ exports.EIFoodUnit = exports.EIFoodServing = exports.EIFoodSellingOptions = exports.EIFoodDietaryRestrictions = exports.EIFoodCatalogContext = void 0;
4
4
  var ifood_catalog_context_enum_1 = require("./ifood-catalog-context.enum");
5
5
  Object.defineProperty(exports, "EIFoodCatalogContext", { enumerable: true, get: function () { return ifood_catalog_context_enum_1.EIFoodCatalogContext; } });
6
+ var ifood_dietary_restrictions_enum_1 = require("./ifood-dietary-restrictions.enum");
7
+ Object.defineProperty(exports, "EIFoodDietaryRestrictions", { enumerable: true, get: function () { return ifood_dietary_restrictions_enum_1.EIFoodDietaryRestrictions; } });
8
+ var ifood_selling_options_enum_1 = require("./ifood-selling-options.enum");
9
+ Object.defineProperty(exports, "EIFoodSellingOptions", { enumerable: true, get: function () { return ifood_selling_options_enum_1.EIFoodSellingOptions; } });
10
+ var ifood_serving_enum_1 = require("./ifood-serving.enum");
11
+ Object.defineProperty(exports, "EIFoodServing", { enumerable: true, get: function () { return ifood_serving_enum_1.EIFoodServing; } });
12
+ var ifood_unit_enum_1 = require("./ifood-unit.enum");
13
+ Object.defineProperty(exports, "EIFoodUnit", { enumerable: true, get: function () { return ifood_unit_enum_1.EIFoodUnit; } });
@@ -1,6 +1,6 @@
1
1
  import { EIFoodDietaryRestrictions } from '../enums/ifood-dietary-restrictions.enum';
2
2
  import { EIFoodServing } from '../enums/ifood-serving.enum';
3
- import { IIFoodOptionGroups } from './i-ifood-category-option-groups';
3
+ import { IIFoodOptionGroups } from './i-ifood-option-groups';
4
4
  import { IIFoodPrice } from './i-ifood-price';
5
5
  import { IIFoodSellingOptions } from './i-ifood-selling-options';
6
6
  import { IIFoodShifts } from './i-ifood-shifts';
@@ -0,0 +1,23 @@
1
+ import { EIFoodDietaryRestrictions } from '../enums/ifood-dietary-restrictions.enum';
2
+ import { EIFoodServing } from '../enums/ifood-serving.enum';
3
+ import { IIFoodOptionGroups } from './i-ifood-option-groups';
4
+ import { IIFoodSellingOptions } from './i-ifood-selling-options';
5
+ import { IIFoodShifts } from './i-ifood-shifts';
6
+ import { IIFoodWeight } from './i-ifood-weight';
7
+ export interface IIFoodProduct {
8
+ id: string;
9
+ name: string;
10
+ description: string;
11
+ additionalInformation: string;
12
+ externalCode: string;
13
+ image: string;
14
+ shifts: IIFoodShifts;
15
+ serving: EIFoodServing;
16
+ dietaryRestrictions: EIFoodDietaryRestrictions[];
17
+ tags: string[];
18
+ ean: string;
19
+ sellingOption: IIFoodSellingOptions;
20
+ weight: IIFoodWeight;
21
+ multipleImages: string;
22
+ optionGroups: IIFoodOptionGroups;
23
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import { EIFoodUnit } from "../enums/ifood-unit.enum";
2
+ export interface IIFoodWeight {
3
+ description: string;
4
+ quantity: number;
5
+ unit: EIFoodUnit;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +1,18 @@
1
1
  export { IIFoodAddress } from './i-ifood-address';
2
2
  export { IIFoodCatalog } from './i-ifood-catalog';
3
- export { IIFoodCategory } from './i-ifood-category';
4
3
  export { IIFoodCategoryItems } from './i-ifood-category-items';
5
- export { IIFoodOptionGroups as IIFoodCategoryItemsOptionGroups } from './i-ifood-category-option-groups';
6
- export { IIFoodCategoryPizza } from './i-ifood-category-pizza';
7
4
  export { IIFoodCategoryPizzaCrusts } from './i-ifood-category-pizza-crusts';
8
5
  export { IIFoodCategoryPizzaEdges } from './i-ifood-category-pizza-edges';
9
6
  export { IIFoodCategoryPizzaSizes } from './i-ifood-category-pizza-sizes';
10
7
  export { IIFoodCategoryPizzaToppings } from './i-ifood-category-pizza-toppings';
8
+ export { IIFoodCategoryPizza } from './i-ifood-category-pizza';
9
+ export { IIFoodCategory } from './i-ifood-category';
11
10
  export { IIFoodClient } from './i-ifood-client';
12
11
  export { IIFoodMerchant } from './i-ifood-merchant';
13
- export { IIFoodPrice as IIFoodCategoryItemsPrice } from './i-ifood-price';
14
- export { IIFoodSellingOptions as IIFoodCategoryItemsSellingOptions } from './i-ifood-selling-options';
15
- export { IIFoodShifts as IIFoodCategoryShifts } from './i-ifood-shifts';
12
+ export { IIFoodOptionGroupsOptions } from './i-ifood-option-groups-options';
13
+ export { IIFoodOptionGroups } from './i-ifood-option-groups';
14
+ export { IIFoodPrice } from './i-ifood-price';
15
+ export { IIFoodProduct } from './i-ifood-product';
16
+ export { IIFoodSellingOptions } from './i-ifood-selling-options';
17
+ export { IIFoodShifts } from './i-ifood-shifts';
18
+ export { IIFoodWeight } from './i-ifood-weight';
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.7.03",
3
+ "version": "1.7.05",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -18,6 +18,7 @@ export declare class PayioCompanyEntity implements IPayioCompany {
18
18
  paymentProvider: IPaymentProvider | null;
19
19
  phoneNumber: string;
20
20
  sandbox: boolean;
21
+ shortName: string;
21
22
  tags: string[];
22
23
  updatedAt: Date;
23
24
  version: string;
@@ -4,10 +4,7 @@ exports.PayioCompanyEntity = void 0;
4
4
  var general_1 = require("../../../general");
5
5
  var address_entity_1 = require("./address.entity");
6
6
  var PayioCompanyEntity = /** @class */ (function () {
7
- // #endregion Properties (19)
8
- // #region Constructors (1)
9
7
  function PayioCompanyEntity(data) {
10
- // #region Properties (19)
11
8
  this.active = false;
12
9
  this.address = new address_entity_1.PayioAddressEntity();
13
10
  this.containerId = '';
@@ -24,6 +21,7 @@ var PayioCompanyEntity = /** @class */ (function () {
24
21
  this.paymentProvider = null;
25
22
  this.phoneNumber = '';
26
23
  this.sandbox = false;
24
+ this.shortName = '';
27
25
  this.tags = [];
28
26
  this.updatedAt = new Date();
29
27
  this.version = '';
@@ -18,6 +18,7 @@ export interface IPayioCompany {
18
18
  paymentProvider: IPaymentProvider | null;
19
19
  phoneNumber: string;
20
20
  sandbox: boolean;
21
+ shortName: string;
21
22
  tags: string[];
22
23
  updatedAt: Date;
23
24
  version: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.7.03",
3
+ "version": "1.7.05",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pZm9vZC1jYXRlZ29yeS1vcHRpb24tZ3JvdXBzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2lmb29kL2ludGVyZmFjZXMvaS1pZm9vZC1jYXRlZ29yeS1vcHRpb24tZ3JvdXBzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJSUZvb2RPcHRpb25Hcm91cHNPcHRpb25zIH0gZnJvbSAnLi9pLWlmb29kLW9wdGlvbi1ncm91cHMtb3B0aW9ucyc7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElJRm9vZE9wdGlvbkdyb3VwcyB7XHJcbiAgaWQ6IHN0cmluZztcclxuICBuYW1lOiBzdHJpbmc7XHJcbiAgZXh0ZXJuYWxDb2RlOiBzdHJpbmc7XHJcbiAgc3RhdHVzOiBzdHJpbmc7IC8vICdBVkFJTEFCTEUnXHJcbiAgaW5kZXg6IG51bWJlcjtcclxuICBtaW46IG51bWJlcjtcclxuICBtYXg6IG51bWJlcjtcclxuICBvcHRpb25zOiBJSUZvb2RPcHRpb25Hcm91cHNPcHRpb25zO1xyXG59XHJcbiJdfQ==