cecon-interfaces 1.0.25 → 1.0.26
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/app/entities/app.entity.d.ts +27 -0
- package/dist/app/entities/app.entity.js +37 -0
- package/dist/app/entities/index.d.ts +2 -0
- package/dist/app/entities/index.js +7 -0
- package/dist/app/enums/app-category.enum.d.ts +30 -0
- package/dist/app/enums/app-category.enum.js +34 -0
- package/dist/app/enums/header-type.enum.d.ts +4 -0
- package/dist/app/enums/header-type.enum.js +8 -0
- package/dist/app/enums/index.d.ts +2 -0
- package/dist/app/enums/index.js +7 -0
- package/dist/app/index.d.ts +4 -0
- package/dist/app/index.js +20 -0
- package/dist/app/interfaces/i-app.d.ts +25 -0
- package/dist/app/interfaces/i-natigo.js +2 -0
- package/dist/app/interfaces/index.d.ts +2 -0
- package/dist/app/interfaces/index.js +2 -0
- package/dist/app/types/app-config.type.d.ts +2 -0
- package/dist/app/types/app-config.type.js +2 -0
- package/dist/app/types/index.d.ts +1 -0
- package/dist/app/types/index.js +2 -0
- package/dist/device/entities/device.entity.d.ts +5 -4
- package/dist/device/entities/device.entity.js +6 -7
- package/dist/device/entities/index.d.ts +0 -1
- package/dist/device/entities/index.js +1 -3
- package/dist/device/entities/installed-apps.entity.d.ts +18 -0
- package/dist/device/entities/installed-apps.entity.js +32 -0
- package/dist/device/entities/metadata.entity.d.ts +1 -1
- package/dist/device/entities/metadata.entity.js +1 -1
- package/dist/device/interfaces/i-device.d.ts +5 -4
- package/dist/device/interfaces/i-installed-apps.d.ts +16 -0
- package/dist/device/interfaces/i-installed-apps.js +2 -0
- package/dist/device/interfaces/index.d.ts +0 -1
- package/dist/esm2022/app/entities/app.entity.mjs +33 -0
- package/dist/esm2022/app/entities/index.mjs +3 -0
- package/dist/esm2022/app/entities/natigo.entity.mjs +19 -0
- package/dist/esm2022/app/enums/app-category.enum.mjs +32 -0
- package/dist/esm2022/app/enums/header-type.enum.mjs +6 -0
- package/dist/esm2022/app/enums/index.mjs +3 -0
- package/dist/esm2022/app/index.mjs +5 -0
- package/dist/esm2022/app/interfaces/i-app.mjs +2 -0
- package/dist/esm2022/app/interfaces/i-natigo.mjs +2 -0
- package/dist/esm2022/app/interfaces/index.mjs +2 -0
- package/dist/esm2022/app/types/app-config.type.mjs +2 -0
- package/dist/esm2022/app/types/index.mjs +2 -0
- package/dist/esm2022/device/entities/device.entity.mjs +7 -8
- package/dist/esm2022/device/entities/index.mjs +1 -2
- package/dist/esm2022/device/entities/installed-apps.entity.mjs +28 -0
- package/dist/esm2022/device/entities/metadata.entity.mjs +2 -2
- package/dist/esm2022/device/interfaces/i-device.mjs +1 -1
- package/dist/esm2022/device/interfaces/i-installed-apps.mjs +2 -0
- package/dist/esm2022/device/interfaces/index.mjs +1 -1
- package/dist/esm2022/general/entities/carousel-image.entity.mjs +18 -0
- package/dist/esm2022/general/entities/coords.entity.mjs +4 -1
- package/dist/esm2022/general/entities/index.mjs +3 -1
- package/dist/esm2022/general/entities/rating.entity.mjs +19 -0
- package/dist/esm2022/general/enums/index.mjs +2 -1
- package/dist/esm2022/general/enums/os.enum.mjs +11 -0
- package/dist/esm2022/general/enums/platform.enum.mjs +8 -0
- package/dist/esm2022/general/interfaces/i-carousel-image.mjs +2 -0
- package/dist/esm2022/general/interfaces/i-rating.mjs +2 -0
- package/dist/esm2022/general/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +98 -39
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/entities/carousel-image.entity.d.ts +7 -0
- package/dist/general/entities/carousel-image.entity.js +22 -0
- package/dist/general/entities/coords.entity.js +3 -0
- package/dist/general/entities/index.d.ts +2 -0
- package/dist/general/entities/index.js +5 -1
- package/dist/general/entities/rating.entity.d.ts +8 -0
- package/dist/general/entities/rating.entity.js +23 -0
- package/dist/general/enums/index.d.ts +1 -0
- package/dist/general/enums/index.js +3 -1
- package/dist/general/enums/os.enum.d.ts +9 -0
- package/dist/general/enums/os.enum.js +13 -0
- package/dist/general/enums/platform.enum.d.ts +6 -0
- package/dist/general/enums/platform.enum.js +10 -0
- package/dist/general/interfaces/i-carousel-image.d.ts +5 -0
- package/dist/general/interfaces/i-carousel-image.js +2 -0
- package/dist/general/interfaces/i-rating.d.ts +6 -0
- package/dist/general/interfaces/i-rating.js +2 -0
- package/dist/general/interfaces/index.d.ts +2 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/dist/esm2022/device/entities/natigo.entity.mjs +0 -19
- package/dist/esm2022/device/interfaces/i-natigo.mjs +0 -2
- /package/dist/{device → app}/entities/natigo.entity.d.ts +0 -0
- /package/dist/{device → app}/entities/natigo.entity.js +0 -0
- /package/dist/{device/interfaces/i-natigo.js → app/interfaces/i-app.js} +0 -0
- /package/dist/{device → app}/interfaces/i-natigo.d.ts +0 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CarouselImageEntity = void 0;
|
4
|
+
var CarouselImageEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (3)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function CarouselImageEntity(data) {
|
8
|
+
// #region Properties (3)
|
9
|
+
this.caption = '';
|
10
|
+
this.id = '';
|
11
|
+
this.url = '';
|
12
|
+
if (data) {
|
13
|
+
for (var key in data) {
|
14
|
+
if (data.hasOwnProperty(key) && key in this) {
|
15
|
+
this[key] = data[key];
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
return CarouselImageEntity;
|
21
|
+
}());
|
22
|
+
exports.CarouselImageEntity = CarouselImageEntity;
|
@@ -2,7 +2,10 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.CoordsEntity = void 0;
|
4
4
|
var CoordsEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
5
7
|
function CoordsEntity(data) {
|
8
|
+
// #region Properties (2)
|
6
9
|
this.latitude = 0;
|
7
10
|
this.longitude = 0;
|
8
11
|
if (data) {
|
@@ -1,5 +1,6 @@
|
|
1
1
|
export { AddressEntity } from './address.entity';
|
2
2
|
export { BaseEntity } from './base.entity';
|
3
|
+
export { CarouselImageEntity } from './carousel-image.entity';
|
3
4
|
export { CoordsEntity } from './coords.entity';
|
4
5
|
export { DeliveryAreaEntity } from './delivery-area.entity';
|
5
6
|
export { DeliveryAreaFixedEntity } from './dellivery-area-fixed.entity';
|
@@ -11,3 +12,4 @@ export { PaymentProviderAgentEntity } from './payment-provider-agent.entity';
|
|
11
12
|
export { PaymentProviderEntity } from './payment-provider.entity';
|
12
13
|
export { PaymentTokenDataEntity } from './payment-token-data.entity';
|
13
14
|
export { PaymentTokenEntity } from './payment-token.entity';
|
15
|
+
export { RatingEntity } from './rating.entity';
|
@@ -1,10 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PaymentTokenEntity = exports.PaymentTokenDataEntity = exports.PaymentProviderEntity = exports.PaymentProviderAgentEntity = exports.PaymentMethodEntity = exports.OriginEntity = exports.MobyoApiConfigEntity = exports.MessagerChannelEntity = exports.DeliveryAreaFixedEntity = exports.DeliveryAreaEntity = exports.CoordsEntity = exports.BaseEntity = exports.AddressEntity = void 0;
|
3
|
+
exports.RatingEntity = exports.PaymentTokenEntity = exports.PaymentTokenDataEntity = exports.PaymentProviderEntity = exports.PaymentProviderAgentEntity = exports.PaymentMethodEntity = exports.OriginEntity = exports.MobyoApiConfigEntity = exports.MessagerChannelEntity = exports.DeliveryAreaFixedEntity = exports.DeliveryAreaEntity = exports.CoordsEntity = exports.CarouselImageEntity = exports.BaseEntity = exports.AddressEntity = void 0;
|
4
4
|
var address_entity_1 = require("./address.entity");
|
5
5
|
Object.defineProperty(exports, "AddressEntity", { enumerable: true, get: function () { return address_entity_1.AddressEntity; } });
|
6
6
|
var base_entity_1 = require("./base.entity");
|
7
7
|
Object.defineProperty(exports, "BaseEntity", { enumerable: true, get: function () { return base_entity_1.BaseEntity; } });
|
8
|
+
var carousel_image_entity_1 = require("./carousel-image.entity");
|
9
|
+
Object.defineProperty(exports, "CarouselImageEntity", { enumerable: true, get: function () { return carousel_image_entity_1.CarouselImageEntity; } });
|
8
10
|
var coords_entity_1 = require("./coords.entity");
|
9
11
|
Object.defineProperty(exports, "CoordsEntity", { enumerable: true, get: function () { return coords_entity_1.CoordsEntity; } });
|
10
12
|
var delivery_area_entity_1 = require("./delivery-area.entity");
|
@@ -27,3 +29,5 @@ var payment_token_data_entity_1 = require("./payment-token-data.entity");
|
|
27
29
|
Object.defineProperty(exports, "PaymentTokenDataEntity", { enumerable: true, get: function () { return payment_token_data_entity_1.PaymentTokenDataEntity; } });
|
28
30
|
var payment_token_entity_1 = require("./payment-token.entity");
|
29
31
|
Object.defineProperty(exports, "PaymentTokenEntity", { enumerable: true, get: function () { return payment_token_entity_1.PaymentTokenEntity; } });
|
32
|
+
var rating_entity_1 = require("./rating.entity");
|
33
|
+
Object.defineProperty(exports, "RatingEntity", { enumerable: true, get: function () { return rating_entity_1.RatingEntity; } });
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RatingEntity = void 0;
|
4
|
+
var RatingEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (4)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function RatingEntity(data) {
|
8
|
+
// #region Properties (4)
|
9
|
+
this.comment = '';
|
10
|
+
this.createdAt = Date.now();
|
11
|
+
this.rating = 5;
|
12
|
+
this.userId = '';
|
13
|
+
if (data) {
|
14
|
+
for (var key in data) {
|
15
|
+
if (data.hasOwnProperty(key) && key in this) {
|
16
|
+
this[key] = data[key];
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
return RatingEntity;
|
22
|
+
}());
|
23
|
+
exports.RatingEntity = RatingEntity;
|
@@ -5,4 +5,5 @@ export { LeadOriginEnum } from './lead-origin.enum';
|
|
5
5
|
export { PaymentChannelEnum } from './payment-channel.enum';
|
6
6
|
export { PaymentModeEnum } from './payment-mode.enum';
|
7
7
|
export { PaymentTypeEnum } from './payment-type.enum';
|
8
|
+
export { PlatfomrEnum } from './platform.enum';
|
8
9
|
export { PaymentProviderEnum } from './providers.enum';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PaymentProviderEnum = exports.PaymentTypeEnum = exports.PaymentModeEnum = exports.PaymentChannelEnum = exports.LeadOriginEnum = exports.IntervalTypeEnum = exports.DocTypeEnum = exports.BooleanStringEnum = void 0;
|
3
|
+
exports.PaymentProviderEnum = exports.PlatfomrEnum = exports.PaymentTypeEnum = exports.PaymentModeEnum = exports.PaymentChannelEnum = exports.LeadOriginEnum = exports.IntervalTypeEnum = exports.DocTypeEnum = exports.BooleanStringEnum = void 0;
|
4
4
|
var boolean_string_enum_1 = require("./boolean-string.enum");
|
5
5
|
Object.defineProperty(exports, "BooleanStringEnum", { enumerable: true, get: function () { return boolean_string_enum_1.BooleanStringEnum; } });
|
6
6
|
var doc_type_enum_1 = require("./doc-type.enum");
|
@@ -15,5 +15,7 @@ var payment_mode_enum_1 = require("./payment-mode.enum");
|
|
15
15
|
Object.defineProperty(exports, "PaymentModeEnum", { enumerable: true, get: function () { return payment_mode_enum_1.PaymentModeEnum; } });
|
16
16
|
var payment_type_enum_1 = require("./payment-type.enum");
|
17
17
|
Object.defineProperty(exports, "PaymentTypeEnum", { enumerable: true, get: function () { return payment_type_enum_1.PaymentTypeEnum; } });
|
18
|
+
var platform_enum_1 = require("./platform.enum");
|
19
|
+
Object.defineProperty(exports, "PlatfomrEnum", { enumerable: true, get: function () { return platform_enum_1.PlatfomrEnum; } });
|
18
20
|
var providers_enum_1 = require("./providers.enum");
|
19
21
|
Object.defineProperty(exports, "PaymentProviderEnum", { enumerable: true, get: function () { return providers_enum_1.PaymentProviderEnum; } });
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OsEnum = void 0;
|
4
|
+
var OsEnum;
|
5
|
+
(function (OsEnum) {
|
6
|
+
OsEnum["Android"] = "Android";
|
7
|
+
OsEnum["Ios"] = "Ios";
|
8
|
+
OsEnum["WindosPhone"] = "WindosPhone";
|
9
|
+
OsEnum["Windows"] = "Windows";
|
10
|
+
OsEnum["Linux"] = "Linux";
|
11
|
+
OsEnum["Other"] = "Other";
|
12
|
+
OsEnum["Unknown"] = "Unknown";
|
13
|
+
})(OsEnum || (exports.OsEnum = OsEnum = {}));
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PlatfomrEnum = void 0;
|
4
|
+
var PlatfomrEnum;
|
5
|
+
(function (PlatfomrEnum) {
|
6
|
+
PlatfomrEnum["Mobile"] = "Mobile";
|
7
|
+
PlatfomrEnum["Web"] = "Web";
|
8
|
+
PlatfomrEnum["Desktop"] = "Desktop";
|
9
|
+
PlatfomrEnum["Other"] = "Other";
|
10
|
+
})(PlatfomrEnum || (exports.PlatfomrEnum = PlatfomrEnum = {}));
|
@@ -1,5 +1,6 @@
|
|
1
1
|
export { IAddress } from './i-address';
|
2
2
|
export { IBase } from './i-base';
|
3
|
+
export { ICarouselImage } from './i-carousel-image';
|
3
4
|
export { ICoords } from './i-coords';
|
4
5
|
export { IDeliveryArea } from './i-delivery-area';
|
5
6
|
export { IDeliveryAreaFixed } from './i-delivery-area-fixed';
|
@@ -11,3 +12,4 @@ export { IPaymentProvider } from './i-payment-provider';
|
|
11
12
|
export { IPaymentProviderAgent } from './i-payment-provider-agent';
|
12
13
|
export { IPaymentToken } from './i-payment-token';
|
13
14
|
export { IPaymentTokenData } from './i-payment-token-data';
|
15
|
+
export { IRating } from './i-rating';
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
@@ -1,19 +0,0 @@
|
|
1
|
-
export class NatiGoEntity {
|
2
|
-
// #region Properties (4)
|
3
|
-
isForAdultsOnly = false;
|
4
|
-
logoUrl = '';
|
5
|
-
openLockRequired = true;
|
6
|
-
siteDescription = '';
|
7
|
-
// #endregion Properties (4)
|
8
|
-
// #region Constructors (1)
|
9
|
-
constructor(data) {
|
10
|
-
if (data) {
|
11
|
-
for (let key in data) {
|
12
|
-
if (data.hasOwnProperty(key) && key in this) {
|
13
|
-
this[key] = data[key];
|
14
|
-
}
|
15
|
-
}
|
16
|
-
}
|
17
|
-
}
|
18
|
-
}
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF0aWdvLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9kZXZpY2UvZW50aXRpZXMvbmF0aWdvLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sWUFBWTtJQUNyQix5QkFBeUI7SUFFbEIsZUFBZSxHQUFZLEtBQUssQ0FBQztJQUNqQyxPQUFPLEdBQVcsRUFBRSxDQUFDO0lBQ3JCLGdCQUFnQixHQUFZLElBQUksQ0FBQztJQUNqQyxlQUFlLEdBQVcsRUFBRSxDQUFDO0lBRXBDLDRCQUE0QjtJQUU1QiwyQkFBMkI7SUFFM0IsWUFBWSxJQUE0QjtRQUNwQyxJQUFJLElBQUksRUFBRTtZQUNOLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNsQixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsR0FBRyxDQUFDLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtvQkFDeEMsSUFBWSxDQUFDLEdBQUcsQ0FBQyxHQUFJLElBQVksQ0FBQyxHQUFHLENBQUMsQ0FBQztpQkFDM0M7YUFDSjtTQUNKO0lBQ0wsQ0FBQztDQUdKIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSU5hdGlnbyB9IGZyb20gJy4uL2ludGVyZmFjZXMvaS1uYXRpZ28nO1xuXG5leHBvcnQgY2xhc3MgTmF0aUdvRW50aXR5IGltcGxlbWVudHMgSU5hdGlnbyB7XG4gICAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICg0KVxuXG4gICAgcHVibGljIGlzRm9yQWR1bHRzT25seTogYm9vbGVhbiA9IGZhbHNlO1xuICAgIHB1YmxpYyBsb2dvVXJsOiBzdHJpbmcgPSAnJztcbiAgICBwdWJsaWMgb3BlbkxvY2tSZXF1aXJlZDogYm9vbGVhbiA9IHRydWU7XG4gICAgcHVibGljIHNpdGVEZXNjcmlwdGlvbjogc3RyaW5nID0gJyc7XG5cbiAgICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDQpXG5cbiAgICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICAgIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPE5hdGlHb0VudGl0eT4pIHtcbiAgICAgICAgaWYgKGRhdGEpIHtcbiAgICAgICAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgICAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1uYXRpZ28uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZGV2aWNlL2ludGVyZmFjZXMvaS1uYXRpZ28udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSU5hdGlnbyB7XG4gICAgaXNGb3JBZHVsdHNPbmx5OiBib29sZWFuO1xuICAgIG9wZW5Mb2NrUmVxdWlyZWQ6IGJvb2xlYW47XG4gICAgc2l0ZURlc2NyaXB0aW9uOiBzdHJpbmc7XG4gICAgbG9nb1VybDogc3RyaW5nO1xufVxuIl19
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|