cecon-interfaces 1.0.25 → 1.0.27
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/company/enums/keys.enum.d.ts +5 -5
- package/dist/company/enums/keys.enum.js +5 -5
- package/dist/company/enums/message-type.enum.d.ts +3 -3
- package/dist/company/enums/message-type.enum.js +3 -3
- 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/enums/device-mode.enum.d.ts +7 -6
- package/dist/device/enums/device-mode.enum.js +7 -6
- 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/company/enums/keys.enum.mjs +6 -6
- package/dist/esm2022/company/enums/message-type.enum.mjs +4 -4
- 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/enums/device-mode.enum.mjs +8 -7
- 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/origin.entity.mjs +2 -2
- package/dist/esm2022/general/entities/payment-method.entity.mjs +4 -4
- package/dist/esm2022/general/entities/rating.entity.mjs +19 -0
- package/dist/esm2022/general/enums/boolean-string.enum.mjs +3 -3
- package/dist/esm2022/general/enums/index.mjs +2 -1
- package/dist/esm2022/general/enums/interval-type.enum.mjs +4 -4
- package/dist/esm2022/general/enums/lead-origin.enum.mjs +8 -8
- package/dist/esm2022/general/enums/os.enum.mjs +11 -0
- package/dist/esm2022/general/enums/payment-channel.enum.mjs +9 -9
- package/dist/esm2022/general/enums/payment-mode.enum.mjs +4 -4
- package/dist/esm2022/general/enums/payment-type.enum.mjs +19 -19
- package/dist/esm2022/general/enums/person-type.enum.mjs +3 -3
- package/dist/esm2022/general/enums/platform.enum.mjs +11 -0
- package/dist/esm2022/general/enums/providers.enum.mjs +7 -7
- 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/esm2022/invite/entities/invite.entity.mjs +2 -2
- package/dist/esm2022/invite/enums/status.enum.mjs +6 -6
- package/dist/esm2022/iugu/entities/account-last-verification-request-data.entity.mjs +4 -4
- package/dist/esm2022/iugu/entities/iugu-account.entity.mjs +2 -2
- package/dist/esm2022/iugu/enums/iugu-auto-advance.enum.mjs +5 -5
- package/dist/esm2022/lead/entities/lead.entity.mjs +9 -7
- package/dist/esm2022/lead/enums/lead-status.enum.mjs +13 -6
- package/dist/esm2022/lead/interfaces/i-lead.mjs +1 -1
- package/dist/esm2022/member/entities/member.entity.mjs +6 -5
- package/dist/esm2022/member/enums/index.mjs +2 -1
- package/dist/esm2022/member/enums/member-rules.enum.mjs +9 -9
- package/dist/esm2022/member/enums/member-type.enum.mjs +7 -0
- package/dist/esm2022/member/interfaces/i-member.mjs +1 -1
- package/dist/esm2022/order/entities/payment-method.entity.mjs +2 -2
- package/dist/esm2022/plan/entities/plan.entity.mjs +3 -3
- package/dist/esm2022/plan/enums/plans-identifier.enum.mjs +3 -3
- package/dist/esm2022/purchases/entities/purchase.entity.mjs +2 -2
- package/dist/fesm2022/cecon-interfaces.mjs +222 -142
- 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/origin.entity.js +1 -1
- package/dist/general/entities/payment-method.entity.js +3 -3
- package/dist/general/entities/rating.entity.d.ts +8 -0
- package/dist/general/entities/rating.entity.js +23 -0
- package/dist/general/enums/boolean-string.enum.d.ts +2 -2
- package/dist/general/enums/boolean-string.enum.js +2 -2
- package/dist/general/enums/index.d.ts +1 -0
- package/dist/general/enums/index.js +3 -1
- package/dist/general/enums/interval-type.enum.d.ts +3 -3
- package/dist/general/enums/interval-type.enum.js +3 -3
- package/dist/general/enums/lead-origin.enum.d.ts +7 -7
- package/dist/general/enums/lead-origin.enum.js +7 -7
- package/dist/general/enums/os.enum.d.ts +9 -0
- package/dist/general/enums/os.enum.js +13 -0
- package/dist/general/enums/payment-channel.enum.d.ts +8 -8
- package/dist/general/enums/payment-channel.enum.js +8 -8
- package/dist/general/enums/payment-mode.enum.d.ts +3 -3
- package/dist/general/enums/payment-mode.enum.js +3 -3
- package/dist/general/enums/payment-type.enum.d.ts +18 -18
- package/dist/general/enums/payment-type.enum.js +18 -18
- package/dist/general/enums/person-type.enum.d.ts +2 -2
- package/dist/general/enums/person-type.enum.js +2 -2
- package/dist/general/enums/platform.enum.d.ts +9 -0
- package/dist/general/enums/platform.enum.js +13 -0
- package/dist/general/enums/providers.enum.d.ts +6 -6
- package/dist/general/enums/providers.enum.js +6 -6
- 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/invite/entities/invite.entity.js +1 -1
- package/dist/invite/enums/status.enum.d.ts +5 -5
- package/dist/invite/enums/status.enum.js +5 -5
- package/dist/iugu/entities/account-last-verification-request-data.entity.js +3 -3
- package/dist/iugu/entities/iugu-account.entity.js +1 -1
- package/dist/iugu/enums/iugu-auto-advance.enum.d.ts +4 -4
- package/dist/iugu/enums/iugu-auto-advance.enum.js +4 -4
- package/dist/lead/entities/lead.entity.d.ts +4 -2
- package/dist/lead/entities/lead.entity.js +8 -6
- package/dist/lead/enums/lead-status.enum.d.ts +12 -5
- package/dist/lead/enums/lead-status.enum.js +12 -5
- package/dist/lead/interfaces/i-lead.d.ts +3 -1
- package/dist/member/entities/member.entity.d.ts +2 -1
- package/dist/member/entities/member.entity.js +4 -3
- package/dist/member/enums/index.d.ts +1 -0
- package/dist/member/enums/index.js +3 -1
- package/dist/member/enums/member-rules.enum.d.ts +8 -8
- package/dist/member/enums/member-rules.enum.js +8 -8
- package/dist/member/enums/member-type.enum.d.ts +5 -0
- package/dist/member/enums/member-type.enum.js +9 -0
- package/dist/member/interfaces/i-member.d.ts +2 -1
- package/dist/order/entities/payment-method.entity.js +1 -1
- package/dist/package.json +1 -1
- package/dist/plan/entities/plan.entity.js +2 -2
- package/dist/plan/enums/plans-identifier.enum.d.ts +2 -2
- package/dist/plan/enums/plans-identifier.enum.js +2 -2
- package/dist/purchases/entities/purchase.entity.js +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,27 @@
|
|
1
|
+
import { CarouselImageEntity, RatingEntity } from '../../general';
|
2
|
+
import { OsEnum } from '../../general/enums/os.enum';
|
3
|
+
import { PlatfomrEnum } from '../../general/enums/platform.enum';
|
4
|
+
import { AppCategoryEnum } from '../enums/app-category.enum';
|
5
|
+
import { AppHeaderTypeEnum } from '../enums/header-type.enum';
|
6
|
+
import { IApp } from '../interfaces/i-app';
|
7
|
+
import { NatiGoEntity } from './natigo.entity';
|
8
|
+
export declare class AppEntity implements IApp {
|
9
|
+
active: boolean;
|
10
|
+
activeInstalls: number;
|
11
|
+
carousel: CarouselImageEntity[];
|
12
|
+
categories: AppCategoryEnum[];
|
13
|
+
config: null | NatiGoEntity;
|
14
|
+
description: string;
|
15
|
+
features: string[];
|
16
|
+
headerImage: string;
|
17
|
+
headerType: AppHeaderTypeEnum;
|
18
|
+
headerVideo: string;
|
19
|
+
icon: string;
|
20
|
+
id: string;
|
21
|
+
os: OsEnum[];
|
22
|
+
platforms: PlatfomrEnum[];
|
23
|
+
ratings: RatingEntity[];
|
24
|
+
title: string;
|
25
|
+
totalInstalls: number;
|
26
|
+
constructor(data?: Partial<AppEntity>);
|
27
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AppEntity = void 0;
|
4
|
+
var header_type_enum_1 = require("../enums/header-type.enum");
|
5
|
+
var AppEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (17)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function AppEntity(data) {
|
9
|
+
// #region Properties (17)
|
10
|
+
this.active = false;
|
11
|
+
this.activeInstalls = 0;
|
12
|
+
this.carousel = [];
|
13
|
+
this.categories = [];
|
14
|
+
this.config = null;
|
15
|
+
this.description = '';
|
16
|
+
this.features = [];
|
17
|
+
this.headerImage = '';
|
18
|
+
this.headerType = header_type_enum_1.AppHeaderTypeEnum.Image;
|
19
|
+
this.headerVideo = '';
|
20
|
+
this.icon = '';
|
21
|
+
this.id = '';
|
22
|
+
this.os = [];
|
23
|
+
this.platforms = [];
|
24
|
+
this.ratings = [];
|
25
|
+
this.title = '';
|
26
|
+
this.totalInstalls = 0;
|
27
|
+
if (data) {
|
28
|
+
for (var key in data) {
|
29
|
+
if (data.hasOwnProperty(key) && key in this) {
|
30
|
+
this[key] = data[key];
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
return AppEntity;
|
36
|
+
}());
|
37
|
+
exports.AppEntity = AppEntity;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NatiGoEntity = exports.AppEntity = void 0;
|
4
|
+
var app_entity_1 = require("./app.entity");
|
5
|
+
Object.defineProperty(exports, "AppEntity", { enumerable: true, get: function () { return app_entity_1.AppEntity; } });
|
6
|
+
var natigo_entity_1 = require("./natigo.entity");
|
7
|
+
Object.defineProperty(exports, "NatiGoEntity", { enumerable: true, get: function () { return natigo_entity_1.NatiGoEntity; } });
|
@@ -0,0 +1,30 @@
|
|
1
|
+
export declare enum AppCategoryEnum {
|
2
|
+
Utilities = "UTILIDADES",
|
3
|
+
Others = "OUTROS",
|
4
|
+
pointOfSales = "PDV",
|
5
|
+
Sales = "VENDAS",
|
6
|
+
Stock = "ESTOQUE",
|
7
|
+
Financial = "FINANCEIRO",
|
8
|
+
Reports = "RELAT\u00D3RIOS",
|
9
|
+
Settings = "CONFIGURA\u00C7\u00D5ES",
|
10
|
+
Products = "PRODUTOS",
|
11
|
+
Customers = "CLIENTES",
|
12
|
+
Suppliers = "FORNECEDORES",
|
13
|
+
Employees = "FUNCION\u00C1RIOS",
|
14
|
+
Orders = "PEDIDOS",
|
15
|
+
SalesOrders = "PEDIDOS DE VENDA",
|
16
|
+
PurchaseOrders = "PEDIDOS DE COMPRA",
|
17
|
+
SalesInvoices = "NOTAS FISCAIS DE VENDA",
|
18
|
+
PurchaseInvoices = "NOTAS FISCAIS DE COMPRA",
|
19
|
+
SalesBudgets = "OR\u00C7AMENTOS DE VENDA",
|
20
|
+
PurchaseBudgets = "OR\u00C7AMENTOS DE COMPRA",
|
21
|
+
Prints = "IMPRESS\u00D5ES",
|
22
|
+
SalesPrints = "IMPRESS\u00D5ES DE VENDA",
|
23
|
+
PurchasePrints = "IMPRESS\u00D5ES DE COMPRA",
|
24
|
+
Kds = "KDS",
|
25
|
+
Marketing = "MARKETING",
|
26
|
+
Ecommerce = "E-COMMERCE",
|
27
|
+
EcommerceOrders = "PEDIDOS DE E-COMMERCE",
|
28
|
+
Delivery = "ENTREGA",
|
29
|
+
Tracking = "RASTREAMENTO"
|
30
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AppCategoryEnum = void 0;
|
4
|
+
var AppCategoryEnum;
|
5
|
+
(function (AppCategoryEnum) {
|
6
|
+
AppCategoryEnum["Utilities"] = "UTILIDADES";
|
7
|
+
AppCategoryEnum["Others"] = "OUTROS";
|
8
|
+
AppCategoryEnum["pointOfSales"] = "PDV";
|
9
|
+
AppCategoryEnum["Sales"] = "VENDAS";
|
10
|
+
AppCategoryEnum["Stock"] = "ESTOQUE";
|
11
|
+
AppCategoryEnum["Financial"] = "FINANCEIRO";
|
12
|
+
AppCategoryEnum["Reports"] = "RELAT\u00D3RIOS";
|
13
|
+
AppCategoryEnum["Settings"] = "CONFIGURA\u00C7\u00D5ES";
|
14
|
+
AppCategoryEnum["Products"] = "PRODUTOS";
|
15
|
+
AppCategoryEnum["Customers"] = "CLIENTES";
|
16
|
+
AppCategoryEnum["Suppliers"] = "FORNECEDORES";
|
17
|
+
AppCategoryEnum["Employees"] = "FUNCION\u00C1RIOS";
|
18
|
+
AppCategoryEnum["Orders"] = "PEDIDOS";
|
19
|
+
AppCategoryEnum["SalesOrders"] = "PEDIDOS DE VENDA";
|
20
|
+
AppCategoryEnum["PurchaseOrders"] = "PEDIDOS DE COMPRA";
|
21
|
+
AppCategoryEnum["SalesInvoices"] = "NOTAS FISCAIS DE VENDA";
|
22
|
+
AppCategoryEnum["PurchaseInvoices"] = "NOTAS FISCAIS DE COMPRA";
|
23
|
+
AppCategoryEnum["SalesBudgets"] = "OR\u00C7AMENTOS DE VENDA";
|
24
|
+
AppCategoryEnum["PurchaseBudgets"] = "OR\u00C7AMENTOS DE COMPRA";
|
25
|
+
AppCategoryEnum["Prints"] = "IMPRESS\u00D5ES";
|
26
|
+
AppCategoryEnum["SalesPrints"] = "IMPRESS\u00D5ES DE VENDA";
|
27
|
+
AppCategoryEnum["PurchasePrints"] = "IMPRESS\u00D5ES DE COMPRA";
|
28
|
+
AppCategoryEnum["Kds"] = "KDS";
|
29
|
+
AppCategoryEnum["Marketing"] = "MARKETING";
|
30
|
+
AppCategoryEnum["Ecommerce"] = "E-COMMERCE";
|
31
|
+
AppCategoryEnum["EcommerceOrders"] = "PEDIDOS DE E-COMMERCE";
|
32
|
+
AppCategoryEnum["Delivery"] = "ENTREGA";
|
33
|
+
AppCategoryEnum["Tracking"] = "RASTREAMENTO";
|
34
|
+
})(AppCategoryEnum || (exports.AppCategoryEnum = AppCategoryEnum = {}));
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AppHeaderTypeEnum = void 0;
|
4
|
+
var AppHeaderTypeEnum;
|
5
|
+
(function (AppHeaderTypeEnum) {
|
6
|
+
AppHeaderTypeEnum["Video"] = "VIDEO";
|
7
|
+
AppHeaderTypeEnum["Image"] = "IMAGE";
|
8
|
+
})(AppHeaderTypeEnum || (exports.AppHeaderTypeEnum = AppHeaderTypeEnum = {}));
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AppHeaderTypeEnum = exports.AppCategoryEnum = void 0;
|
4
|
+
var app_category_enum_1 = require("./app-category.enum");
|
5
|
+
Object.defineProperty(exports, "AppCategoryEnum", { enumerable: true, get: function () { return app_category_enum_1.AppCategoryEnum; } });
|
6
|
+
var header_type_enum_1 = require("./header-type.enum");
|
7
|
+
Object.defineProperty(exports, "AppHeaderTypeEnum", { enumerable: true, get: function () { return header_type_enum_1.AppHeaderTypeEnum; } });
|
@@ -0,0 +1,20 @@
|
|
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("./enums"), exports);
|
19
|
+
__exportStar(require("./interfaces"), exports);
|
20
|
+
__exportStar(require("./types"), exports);
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { ICarouselImage, IRating } from '../../general';
|
2
|
+
import { OsEnum } from '../../general/enums/os.enum';
|
3
|
+
import { PlatfomrEnum } from '../../general/enums/platform.enum';
|
4
|
+
import { AppCategoryEnum } from '../enums/app-category.enum';
|
5
|
+
import { AppHeaderTypeEnum } from '../enums/header-type.enum';
|
6
|
+
import { INatigo } from './i-natigo';
|
7
|
+
export interface IApp {
|
8
|
+
active: boolean;
|
9
|
+
activeInstalls: number;
|
10
|
+
carousel: ICarouselImage[];
|
11
|
+
categories: AppCategoryEnum[];
|
12
|
+
config: null | INatigo;
|
13
|
+
description: string;
|
14
|
+
features: string[];
|
15
|
+
headerImage: string;
|
16
|
+
headerType: AppHeaderTypeEnum;
|
17
|
+
headerVideo: string;
|
18
|
+
icon: string;
|
19
|
+
id: string;
|
20
|
+
os: OsEnum[];
|
21
|
+
platforms: PlatfomrEnum[];
|
22
|
+
ratings: IRating[];
|
23
|
+
title: string;
|
24
|
+
totalInstalls: number;
|
25
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { AppConfigType } from './app-config.type';
|
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CompanyKeysEnum = void 0;
|
4
4
|
var CompanyKeysEnum;
|
5
5
|
(function (CompanyKeysEnum) {
|
6
|
-
CompanyKeysEnum["
|
7
|
-
CompanyKeysEnum["
|
8
|
-
CompanyKeysEnum["
|
9
|
-
CompanyKeysEnum["
|
10
|
-
CompanyKeysEnum["
|
6
|
+
CompanyKeysEnum["GOOGLE"] = "GOOGLE";
|
7
|
+
CompanyKeysEnum["LOGGI"] = "LOGGI";
|
8
|
+
CompanyKeysEnum["DESENFILA"] = "DESENFILA";
|
9
|
+
CompanyKeysEnum["MOTTU"] = "MOTTU";
|
10
|
+
CompanyKeysEnum["ALGOLIA"] = "ALGOLIA";
|
11
11
|
})(CompanyKeysEnum || (exports.CompanyKeysEnum = CompanyKeysEnum = {}));
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CompanyMessageTypeEnum = void 0;
|
4
4
|
var CompanyMessageTypeEnum;
|
5
5
|
(function (CompanyMessageTypeEnum) {
|
6
|
-
CompanyMessageTypeEnum["
|
7
|
-
CompanyMessageTypeEnum["
|
8
|
-
CompanyMessageTypeEnum["
|
6
|
+
CompanyMessageTypeEnum["WHATSAPP"] = "WHATSAPP";
|
7
|
+
CompanyMessageTypeEnum["INSTAGRAM"] = "INSTAGRAM";
|
8
|
+
CompanyMessageTypeEnum["SMS"] = "SMS";
|
9
9
|
})(CompanyMessageTypeEnum || (exports.CompanyMessageTypeEnum = CompanyMessageTypeEnum = {}));
|
@@ -1,17 +1,18 @@
|
|
1
|
-
import {
|
1
|
+
import { OsEnum } from '../../general/enums/os.enum';
|
2
2
|
import { IDevice } from '../interfaces/i-device';
|
3
|
-
import {
|
3
|
+
import { DeviceInstalledAppsEntity } from './installed-apps.entity';
|
4
4
|
export declare class DeviceEntity implements IDevice {
|
5
5
|
active: boolean;
|
6
6
|
companyId: string;
|
7
7
|
containerId: string;
|
8
8
|
createdAt: number;
|
9
9
|
deviceId: string;
|
10
|
+
os: OsEnum;
|
11
|
+
osVersion: string;
|
10
12
|
id: string;
|
13
|
+
installedApps: DeviceInstalledAppsEntity[];
|
11
14
|
key: string;
|
12
15
|
lastAccess: number;
|
13
|
-
metadata: MetadataEntity;
|
14
|
-
mode: DeviceModeEnum;
|
15
16
|
name: string;
|
16
17
|
tags: string[];
|
17
18
|
topicSubscriptions: string[];
|
@@ -1,24 +1,23 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.DeviceEntity = void 0;
|
4
|
-
var
|
5
|
-
var metadata_entity_1 = require("./metadata.entity");
|
4
|
+
var os_enum_1 = require("../../general/enums/os.enum");
|
6
5
|
var DeviceEntity = /** @class */ (function () {
|
7
|
-
// #endregion Properties (
|
6
|
+
// #endregion Properties (14)
|
8
7
|
// #region Constructors (1)
|
9
8
|
function DeviceEntity(data) {
|
10
|
-
// #region Properties (
|
9
|
+
// #region Properties (14)
|
11
10
|
this.active = false;
|
12
11
|
this.companyId = '';
|
13
12
|
this.containerId = '';
|
14
13
|
this.createdAt = 0;
|
15
14
|
this.deviceId = '';
|
15
|
+
this.os = os_enum_1.OsEnum.UNKNOWN;
|
16
|
+
this.osVersion = '';
|
16
17
|
this.id = '';
|
18
|
+
this.installedApps = [];
|
17
19
|
this.key = '';
|
18
20
|
this.lastAccess = 0;
|
19
|
-
// Supondo que INatiGo tenha propriedades que você queira documentar
|
20
|
-
this.metadata = new metadata_entity_1.MetadataEntity();
|
21
|
-
this.mode = device_mode_enum_1.DeviceModeEnum.Natigo;
|
22
21
|
this.name = '';
|
23
22
|
this.tags = [];
|
24
23
|
this.topicSubscriptions = [];
|
@@ -1,10 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
// index.ts
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
-
exports.
|
4
|
+
exports.MetadataEntity = exports.DeviceEntity = void 0;
|
5
5
|
var device_entity_1 = require("./device.entity");
|
6
6
|
Object.defineProperty(exports, "DeviceEntity", { enumerable: true, get: function () { return device_entity_1.DeviceEntity; } });
|
7
7
|
var metadata_entity_1 = require("./metadata.entity");
|
8
8
|
Object.defineProperty(exports, "MetadataEntity", { enumerable: true, get: function () { return metadata_entity_1.MetadataEntity; } });
|
9
|
-
var natigo_entity_1 = require("./natigo.entity");
|
10
|
-
Object.defineProperty(exports, "NatiGoEntity", { enumerable: true, get: function () { return natigo_entity_1.NatiGoEntity; } });
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { AppConfigType } from '../../app';
|
2
|
+
import { IDeviceInstalledApps } from '../interfaces/i-installed-apps';
|
3
|
+
export declare class DeviceInstalledAppsEntity implements IDeviceInstalledApps {
|
4
|
+
activationDate: number;
|
5
|
+
active: boolean;
|
6
|
+
appId: string;
|
7
|
+
createdAt: number;
|
8
|
+
customConfig: AppConfigType;
|
9
|
+
expirationDate: number;
|
10
|
+
isPaid: boolean;
|
11
|
+
orderId: string;
|
12
|
+
renewPaymentDate: number;
|
13
|
+
title: string;
|
14
|
+
topicSubscriptions: string[];
|
15
|
+
updatedAt: number;
|
16
|
+
version: string;
|
17
|
+
constructor(data?: Partial<DeviceInstalledAppsEntity>);
|
18
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DeviceInstalledAppsEntity = void 0;
|
4
|
+
var DeviceInstalledAppsEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (13)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function DeviceInstalledAppsEntity(data) {
|
8
|
+
// #region Properties (13)
|
9
|
+
this.activationDate = Date.now();
|
10
|
+
this.active = false;
|
11
|
+
this.appId = '';
|
12
|
+
this.createdAt = Date.now();
|
13
|
+
this.customConfig = null;
|
14
|
+
this.expirationDate = Date.now();
|
15
|
+
this.isPaid = false;
|
16
|
+
this.orderId = '';
|
17
|
+
this.renewPaymentDate = Date.now();
|
18
|
+
this.title = '';
|
19
|
+
this.topicSubscriptions = [];
|
20
|
+
this.updatedAt = Date.now();
|
21
|
+
this.version = '';
|
22
|
+
if (data) {
|
23
|
+
for (var key in data) {
|
24
|
+
if (data.hasOwnProperty(key) && key in this) {
|
25
|
+
this[key] = data[key];
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
return DeviceInstalledAppsEntity;
|
31
|
+
}());
|
32
|
+
exports.DeviceInstalledAppsEntity = DeviceInstalledAppsEntity;
|
@@ -1,5 +1,5 @@
|
|
1
|
+
import { NatiGoEntity } from '../../app/entities/natigo.entity';
|
1
2
|
import { IDeviceMetadata } from '../interfaces/i-metadata';
|
2
|
-
import { NatiGoEntity } from './natigo.entity';
|
3
3
|
export declare class MetadataEntity implements IDeviceMetadata {
|
4
4
|
natigo: NatiGoEntity;
|
5
5
|
constructor(data?: Partial<MetadataEntity>);
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.MetadataEntity = void 0;
|
4
|
-
var natigo_entity_1 = require("
|
4
|
+
var natigo_entity_1 = require("../../app/entities/natigo.entity");
|
5
5
|
var MetadataEntity = /** @class */ (function () {
|
6
6
|
// #endregion Properties (1)
|
7
7
|
// #region Constructors (1)
|
@@ -1,8 +1,9 @@
|
|
1
1
|
export declare enum DeviceModeEnum {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
2
|
+
APP = "APP",
|
3
|
+
CHECKOUT = "CHECKOUT",
|
4
|
+
SCREEN = "SCREEN",
|
5
|
+
NATIGO = "NATIGO",
|
6
|
+
SATMANAGER = "SAT-MANAGER",
|
7
|
+
PDVNATI = "PDV-NATI",
|
8
|
+
FISCALMANAGER = "FISCAL-MANAGER"
|
8
9
|
}
|
@@ -3,10 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeviceModeEnum = void 0;
|
4
4
|
var DeviceModeEnum;
|
5
5
|
(function (DeviceModeEnum) {
|
6
|
-
DeviceModeEnum["
|
7
|
-
DeviceModeEnum["
|
8
|
-
DeviceModeEnum["
|
9
|
-
DeviceModeEnum["
|
10
|
-
DeviceModeEnum["
|
11
|
-
DeviceModeEnum["
|
6
|
+
DeviceModeEnum["APP"] = "APP";
|
7
|
+
DeviceModeEnum["CHECKOUT"] = "CHECKOUT";
|
8
|
+
DeviceModeEnum["SCREEN"] = "SCREEN";
|
9
|
+
DeviceModeEnum["NATIGO"] = "NATIGO";
|
10
|
+
DeviceModeEnum["SATMANAGER"] = "SAT-MANAGER";
|
11
|
+
DeviceModeEnum["PDVNATI"] = "PDV-NATI";
|
12
|
+
DeviceModeEnum["FISCALMANAGER"] = "FISCAL-MANAGER";
|
12
13
|
})(DeviceModeEnum || (exports.DeviceModeEnum = DeviceModeEnum = {}));
|
@@ -1,16 +1,17 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
1
|
+
import { OsEnum } from '../../general/enums/os.enum';
|
2
|
+
import { IDeviceInstalledApps } from './i-installed-apps';
|
3
3
|
export interface IDevice {
|
4
4
|
active: boolean;
|
5
5
|
companyId: string;
|
6
6
|
containerId: string;
|
7
7
|
createdAt: number;
|
8
8
|
deviceId: string;
|
9
|
-
metadata: IDeviceMetadata;
|
10
9
|
id: string;
|
11
10
|
key: string;
|
12
11
|
lastAccess: number;
|
13
|
-
|
12
|
+
installedApps: IDeviceInstalledApps[];
|
13
|
+
os: OsEnum;
|
14
|
+
osVersion: string;
|
14
15
|
name: string;
|
15
16
|
tags: string[];
|
16
17
|
topicSubscriptions: string[];
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { AppConfigType } from '../../app';
|
2
|
+
export interface IDeviceInstalledApps {
|
3
|
+
activationDate: number;
|
4
|
+
active: boolean;
|
5
|
+
appId: string;
|
6
|
+
createdAt: number;
|
7
|
+
customConfig: AppConfigType;
|
8
|
+
expirationDate: number;
|
9
|
+
isPaid: boolean;
|
10
|
+
orderId: string;
|
11
|
+
renewPaymentDate: number;
|
12
|
+
title: string;
|
13
|
+
topicSubscriptions: string[];
|
14
|
+
updatedAt: number;
|
15
|
+
version: string;
|
16
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { AppHeaderTypeEnum } from '../enums/header-type.enum';
|
2
|
+
export class AppEntity {
|
3
|
+
// #region Properties (17)
|
4
|
+
active = false;
|
5
|
+
activeInstalls = 0;
|
6
|
+
carousel = [];
|
7
|
+
categories = [];
|
8
|
+
config = null;
|
9
|
+
description = '';
|
10
|
+
features = [];
|
11
|
+
headerImage = '';
|
12
|
+
headerType = AppHeaderTypeEnum.Image;
|
13
|
+
headerVideo = '';
|
14
|
+
icon = '';
|
15
|
+
id = '';
|
16
|
+
os = [];
|
17
|
+
platforms = [];
|
18
|
+
ratings = [];
|
19
|
+
title = '';
|
20
|
+
totalInstalls = 0;
|
21
|
+
// #endregion Properties (17)
|
22
|
+
// #region Constructors (1)
|
23
|
+
constructor(data) {
|
24
|
+
if (data) {
|
25
|
+
for (let key in data) {
|
26
|
+
if (data.hasOwnProperty(key) && key in this) {
|
27
|
+
this[key] = data[key];
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9hcHAvZW50aXRpZXMvYXBwLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJQSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUk5RCxNQUFNLE9BQU8sU0FBUztJQUNsQiw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ZWFkZXJUeXBlRW51bSA9IEFwcEhlYWRlclR5cGVFbnVtLkltYWdlO1xuICAgIHB1YmxpYyBoZWFkZXJWaWRlbzogc3RyaW5nID0gJyc7XG4gICAgcHVibGljIGljb246IHN0cmluZyA9ICcnO1xuICAgIHB1YmxpYyBpZDogc3RyaW5nID0gJyc7XG4gICAgcHVibGljIG9zOiBPc0VudW1bXSA9IFtdO1xuICAgIHB1YmxpYyBwbGF0Zm9ybXM6IFBsYXRmb21yRW51bVtdID0gW107XG4gICAgcHVibGljIHJhdGluZ3M6IFJhdGluZ0VudGl0eVtdID0gW107XG4gICAgcHVibGljIHRpdGxlOiBzdHJpbmcgPSAnJztcbiAgICBwdWJsaWMgdG90YWxJbnN0YWxsczogbnVtYmVyID0gMDtcblxuICAgIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMTcpXG5cbiAgICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICAgIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPEFwcEVudGl0eT4pIHtcbiAgICAgICAgaWYgKGRhdGEpIHtcbiAgICAgICAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgICAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59Il19
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export { AppEntity } from './app.entity';
|
2
|
+
export { NatiGoEntity } from './natigo.entity';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL2VudGl0aWVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgQXBwRW50aXR5IH0gZnJvbSAnLi9hcHAuZW50aXR5JztcbmV4cG9ydCB7IE5hdGlHb0VudGl0eSB9IGZyb20gJy4vbmF0aWdvLmVudGl0eSc7XG4iXX0=
|
@@ -0,0 +1,19 @@
|
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF0aWdvLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9hcHAvZW50aXRpZXMvbmF0aWdvLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sWUFBWTtJQUNyQix5QkFBeUI7SUFFbEIsZUFBZSxHQUFZLEtBQUssQ0FBQztJQUNqQyxPQUFPLEdBQVcsRUFBRSxDQUFDO0lBQ3JCLGdCQUFnQixHQUFZLElBQUksQ0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