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
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IuguAutoAdvanceEnum = void 0;
|
4
4
|
var IuguAutoAdvanceEnum;
|
5
5
|
(function (IuguAutoAdvanceEnum) {
|
6
|
-
IuguAutoAdvanceEnum["
|
7
|
-
IuguAutoAdvanceEnum["
|
8
|
-
IuguAutoAdvanceEnum["
|
9
|
-
IuguAutoAdvanceEnum["
|
6
|
+
IuguAutoAdvanceEnum["DAYS_AFTER_PAYMENT"] = "days_after_payment";
|
7
|
+
IuguAutoAdvanceEnum["DAILY"] = "daily";
|
8
|
+
IuguAutoAdvanceEnum["WEEKLY"] = "weekly";
|
9
|
+
IuguAutoAdvanceEnum["MONTHLY"] = "monthly";
|
10
10
|
})(IuguAutoAdvanceEnum || (exports.IuguAutoAdvanceEnum = IuguAutoAdvanceEnum = {}));
|
@@ -2,6 +2,8 @@ import { DocTypeEnum, LeadOriginEnum } from '../../general/enums';
|
|
2
2
|
import { LeadStatusEnum } from '../enums';
|
3
3
|
import { ILead } from '../interfaces';
|
4
4
|
export declare class LeadEntity implements ILead {
|
5
|
+
/**Lista de produtos ou serviços de interesse. */
|
6
|
+
activity?: string[];
|
5
7
|
/**Status atual. */
|
6
8
|
agentId: string;
|
7
9
|
/**Endereço de e-mail principal para contato. */
|
@@ -25,10 +27,10 @@ export declare class LeadEntity implements ILead {
|
|
25
27
|
lastContacted?: number;
|
26
28
|
/**Número do documento conforme o tipo. */
|
27
29
|
name: string;
|
28
|
-
|
29
|
-
notes?: string[];
|
30
|
+
note?: string;
|
30
31
|
/**Outros endereços de e-mail, se disponíveis. */
|
31
32
|
phoneNumber?: string;
|
33
|
+
responsibleId?: string;
|
32
34
|
/**Outros números de telefone, se disponíveis. */
|
33
35
|
sandbox: boolean;
|
34
36
|
source: LeadOriginEnum;
|
@@ -4,10 +4,12 @@ exports.LeadEntity = void 0;
|
|
4
4
|
var enums_1 = require("../../general/enums");
|
5
5
|
var enums_2 = require("../enums");
|
6
6
|
var LeadEntity = /** @class */ (function () {
|
7
|
-
// #endregion Properties (
|
7
|
+
// #endregion Properties (21)
|
8
8
|
// #region Constructors (1)
|
9
9
|
function LeadEntity(data) {
|
10
|
-
// #region Properties (
|
10
|
+
// #region Properties (21)
|
11
|
+
/**Lista de produtos ou serviços de interesse. */
|
12
|
+
this.activity = [];
|
11
13
|
/**Status atual. */
|
12
14
|
this.agentId = '';
|
13
15
|
/**Endereço de e-mail principal para contato. */
|
@@ -31,15 +33,15 @@ var LeadEntity = /** @class */ (function () {
|
|
31
33
|
this.lastContacted = Date.now();
|
32
34
|
/**Número do documento conforme o tipo. */
|
33
35
|
this.name = '';
|
34
|
-
|
35
|
-
this.notes = [];
|
36
|
+
this.note = '';
|
36
37
|
/**Outros endereços de e-mail, se disponíveis. */
|
37
38
|
this.phoneNumber = '';
|
39
|
+
this.responsibleId = '';
|
38
40
|
/**Outros números de telefone, se disponíveis. */
|
39
41
|
this.sandbox = false;
|
40
|
-
this.source = enums_1.LeadOriginEnum.
|
42
|
+
this.source = enums_1.LeadOriginEnum.OTHERS;
|
41
43
|
/**Data e hora do último contato. */
|
42
|
-
this.status = enums_2.LeadStatusEnum.
|
44
|
+
this.status = enums_2.LeadStatusEnum.NEW;
|
43
45
|
/**ID do colaborador responsável pelo lead. */
|
44
46
|
this.tags = [];
|
45
47
|
this.updatedAt = Date.now();
|
@@ -1,7 +1,14 @@
|
|
1
1
|
export declare enum LeadStatusEnum {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
NEW = "Novo",
|
3
|
+
CONTACTED = "Contactado",
|
4
|
+
IN_PROGRESS = "Em Progresso",
|
5
|
+
PAUSED = "Pausado",
|
6
|
+
CONVERTED = "Convertido",
|
7
|
+
NOT_INTERESTED = "N\u00E3o Interessado",
|
8
|
+
NURTURING = "Nutrindo",
|
9
|
+
RECYCLED = "Reciclado",
|
10
|
+
DISQUALIFIED = "Desqualificado",
|
11
|
+
CLOSED = "Fechado",
|
12
|
+
LOST = "Perdido",
|
13
|
+
UNQUALIFIED = "N\u00E3o Qualificado"
|
7
14
|
}
|
@@ -3,9 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LeadStatusEnum = void 0;
|
4
4
|
var LeadStatusEnum;
|
5
5
|
(function (LeadStatusEnum) {
|
6
|
-
LeadStatusEnum["
|
7
|
-
LeadStatusEnum["
|
8
|
-
LeadStatusEnum["
|
9
|
-
LeadStatusEnum["
|
10
|
-
LeadStatusEnum["
|
6
|
+
LeadStatusEnum["NEW"] = "Novo";
|
7
|
+
LeadStatusEnum["CONTACTED"] = "Contactado";
|
8
|
+
LeadStatusEnum["IN_PROGRESS"] = "Em Progresso";
|
9
|
+
LeadStatusEnum["PAUSED"] = "Pausado";
|
10
|
+
LeadStatusEnum["CONVERTED"] = "Convertido";
|
11
|
+
LeadStatusEnum["NOT_INTERESTED"] = "N\u00E3o Interessado";
|
12
|
+
LeadStatusEnum["NURTURING"] = "Nutrindo";
|
13
|
+
LeadStatusEnum["RECYCLED"] = "Reciclado";
|
14
|
+
LeadStatusEnum["DISQUALIFIED"] = "Desqualificado";
|
15
|
+
LeadStatusEnum["CLOSED"] = "Fechado";
|
16
|
+
LeadStatusEnum["LOST"] = "Perdido";
|
17
|
+
LeadStatusEnum["UNQUALIFIED"] = "N\u00E3o Qualificado";
|
11
18
|
})(LeadStatusEnum || (exports.LeadStatusEnum = LeadStatusEnum = {}));
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { LeadOriginEnum } from '../../general/enums';
|
2
2
|
import { LeadStatusEnum } from '../enums';
|
3
3
|
export interface ILead {
|
4
|
+
activity?: string[];
|
4
5
|
agentId: string;
|
5
6
|
alternateEmails?: string[];
|
6
7
|
alternatePhones?: string[];
|
@@ -13,8 +14,9 @@ export interface ILead {
|
|
13
14
|
interestedIn: string[];
|
14
15
|
lastContacted?: number;
|
15
16
|
name: string;
|
16
|
-
|
17
|
+
note?: string;
|
17
18
|
phoneNumber?: string;
|
19
|
+
responsibleId?: string;
|
18
20
|
sandbox: boolean;
|
19
21
|
source: LeadOriginEnum;
|
20
22
|
status: LeadStatusEnum;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { BaseEntity } from '../../general';
|
2
|
-
import { MemberRulesEnum } from '../enums';
|
2
|
+
import { MemberRulesEnum, MemberTypeEnum } from '../enums';
|
3
3
|
import { IMember } from '../interfaces';
|
4
4
|
export declare class MemberEntity extends BaseEntity implements IMember {
|
5
5
|
active: boolean;
|
@@ -12,6 +12,7 @@ export declare class MemberEntity extends BaseEntity implements IMember {
|
|
12
12
|
photoURL: string;
|
13
13
|
rule: MemberRulesEnum;
|
14
14
|
tags: string[];
|
15
|
+
type: MemberTypeEnum;
|
15
16
|
uid: string;
|
16
17
|
constructor(data?: Partial<MemberEntity>);
|
17
18
|
}
|
@@ -20,11 +20,11 @@ var general_1 = require("../../general");
|
|
20
20
|
var enums_1 = require("../enums");
|
21
21
|
var MemberEntity = /** @class */ (function (_super) {
|
22
22
|
__extends(MemberEntity, _super);
|
23
|
-
// #endregion Properties (
|
23
|
+
// #endregion Properties (12)
|
24
24
|
// #region Constructors (1)
|
25
25
|
function MemberEntity(data) {
|
26
26
|
var _this = _super.call(this, data) || this;
|
27
|
-
// #region Properties (
|
27
|
+
// #region Properties (12)
|
28
28
|
_this.active = true;
|
29
29
|
_this.companyName = '';
|
30
30
|
_this.containerName = '';
|
@@ -33,8 +33,9 @@ var MemberEntity = /** @class */ (function (_super) {
|
|
33
33
|
_this.partnerId = '';
|
34
34
|
_this.phoneNumber = '';
|
35
35
|
_this.photoURL = '';
|
36
|
-
_this.rule = enums_1.MemberRulesEnum.
|
36
|
+
_this.rule = enums_1.MemberRulesEnum.USER;
|
37
37
|
_this.tags = [];
|
38
|
+
_this.type = enums_1.MemberTypeEnum.CLIENT;
|
38
39
|
_this.uid = '';
|
39
40
|
if (data) {
|
40
41
|
for (var key in data) {
|
@@ -1,5 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.MemberRulesEnum = void 0;
|
3
|
+
exports.MemberTypeEnum = exports.MemberRulesEnum = void 0;
|
4
4
|
var member_rules_enum_1 = require("./member-rules.enum");
|
5
5
|
Object.defineProperty(exports, "MemberRulesEnum", { enumerable: true, get: function () { return member_rules_enum_1.MemberRulesEnum; } });
|
6
|
+
var member_type_enum_1 = require("./member-type.enum");
|
7
|
+
Object.defineProperty(exports, "MemberTypeEnum", { enumerable: true, get: function () { return member_type_enum_1.MemberTypeEnum; } });
|
@@ -1,10 +1,10 @@
|
|
1
1
|
export declare enum MemberRulesEnum {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
2
|
+
ADMIN = "ADMIN",
|
3
|
+
USER = "USER",
|
4
|
+
OWNER = "OWNER",
|
5
|
+
SUPPORT = "SUPPORT",
|
6
|
+
PARTNER = "PARTNER",
|
7
|
+
FINANCE = "FINANCE",
|
8
|
+
MARKETING = "MARKETING",
|
9
|
+
SALES = "SALES"
|
10
10
|
}
|
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MemberRulesEnum = void 0;
|
4
4
|
var MemberRulesEnum;
|
5
5
|
(function (MemberRulesEnum) {
|
6
|
-
MemberRulesEnum["
|
7
|
-
MemberRulesEnum["
|
8
|
-
MemberRulesEnum["
|
9
|
-
MemberRulesEnum["
|
10
|
-
MemberRulesEnum["
|
11
|
-
MemberRulesEnum["
|
12
|
-
MemberRulesEnum["
|
13
|
-
MemberRulesEnum["
|
6
|
+
MemberRulesEnum["ADMIN"] = "ADMIN";
|
7
|
+
MemberRulesEnum["USER"] = "USER";
|
8
|
+
MemberRulesEnum["OWNER"] = "OWNER";
|
9
|
+
MemberRulesEnum["SUPPORT"] = "SUPPORT";
|
10
|
+
MemberRulesEnum["PARTNER"] = "PARTNER";
|
11
|
+
MemberRulesEnum["FINANCE"] = "FINANCE";
|
12
|
+
MemberRulesEnum["MARKETING"] = "MARKETING";
|
13
|
+
MemberRulesEnum["SALES"] = "SALES";
|
14
14
|
})(MemberRulesEnum || (exports.MemberRulesEnum = MemberRulesEnum = {}));
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MemberTypeEnum = void 0;
|
4
|
+
var MemberTypeEnum;
|
5
|
+
(function (MemberTypeEnum) {
|
6
|
+
MemberTypeEnum["PARTNER"] = "PARTNER";
|
7
|
+
MemberTypeEnum["ADMIN"] = "ADMIN";
|
8
|
+
MemberTypeEnum["CLIENT"] = "CLIENT";
|
9
|
+
})(MemberTypeEnum || (exports.MemberTypeEnum = MemberTypeEnum = {}));
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { IBase } from '../../general';
|
2
|
-
import { MemberRulesEnum } from '../enums';
|
2
|
+
import { MemberRulesEnum, MemberTypeEnum } from '../enums';
|
3
3
|
export interface IMember extends IBase {
|
4
4
|
companyName: string;
|
5
5
|
containerName: string;
|
@@ -9,5 +9,6 @@ export interface IMember extends IBase {
|
|
9
9
|
phoneNumber: string;
|
10
10
|
photoURL: string;
|
11
11
|
rule: MemberRulesEnum;
|
12
|
+
type: MemberTypeEnum;
|
12
13
|
uid: string;
|
13
14
|
}
|
@@ -12,7 +12,7 @@ var OrderPaymentMethodEntity = /** @class */ (function () {
|
|
12
12
|
this.code = '';
|
13
13
|
this.currency = 'BRL';
|
14
14
|
this.id = '';
|
15
|
-
this.method = general_1.PaymentTypeEnum.
|
15
|
+
this.method = general_1.PaymentTypeEnum.CASH;
|
16
16
|
this.pix = null;
|
17
17
|
this.prepaid = false;
|
18
18
|
this.type = 'OFFLINE';
|
package/dist/package.json
CHANGED
@@ -11,9 +11,9 @@ var PlanEntity = /** @class */ (function () {
|
|
11
11
|
this.createdAt = Date.now();
|
12
12
|
this.features = [];
|
13
13
|
this.id = '';
|
14
|
-
this.identifier = plans_identifier_enum_1.PlanIdentifierEnum.
|
14
|
+
this.identifier = plans_identifier_enum_1.PlanIdentifierEnum.NATIGO;
|
15
15
|
this.interval = 12;
|
16
|
-
this.intervalType = enums_1.IntervalTypeEnum.
|
16
|
+
this.intervalType = enums_1.IntervalTypeEnum.MONTHS;
|
17
17
|
this.name = '';
|
18
18
|
this.price = 0;
|
19
19
|
this.updatedAt = Date.now();
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PlanIdentifierEnum = void 0;
|
4
4
|
var PlanIdentifierEnum;
|
5
5
|
(function (PlanIdentifierEnum) {
|
6
|
-
PlanIdentifierEnum["
|
7
|
-
PlanIdentifierEnum["
|
6
|
+
PlanIdentifierEnum["NATIGO"] = "NATIGO-UNO";
|
7
|
+
PlanIdentifierEnum["SAT_MANAGER_NAPOLEON"] = "SAT-MANAGER-NAPOLEON";
|
8
8
|
})(PlanIdentifierEnum || (exports.PlanIdentifierEnum = PlanIdentifierEnum = {}));
|
@@ -29,7 +29,7 @@ var PurchaseEntity = /** @class */ (function (_super) {
|
|
29
29
|
_this.additionalNotes = '';
|
30
30
|
_this.appInfo = new app_info_entity_1.AppInfoEntity();
|
31
31
|
_this.deviceUid = '';
|
32
|
-
_this.providerName = providers_enum_1.PaymentProviderEnum.
|
32
|
+
_this.providerName = providers_enum_1.PaymentProviderEnum.IUGU;
|
33
33
|
if (data) {
|
34
34
|
for (var key in data) {
|
35
35
|
if (data.hasOwnProperty(key) && key in _this) {
|
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
|