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.
Files changed (169) hide show
  1. package/dist/app/entities/app.entity.d.ts +27 -0
  2. package/dist/app/entities/app.entity.js +37 -0
  3. package/dist/app/entities/index.d.ts +2 -0
  4. package/dist/app/entities/index.js +7 -0
  5. package/dist/app/enums/app-category.enum.d.ts +30 -0
  6. package/dist/app/enums/app-category.enum.js +34 -0
  7. package/dist/app/enums/header-type.enum.d.ts +4 -0
  8. package/dist/app/enums/header-type.enum.js +8 -0
  9. package/dist/app/enums/index.d.ts +2 -0
  10. package/dist/app/enums/index.js +7 -0
  11. package/dist/app/index.d.ts +4 -0
  12. package/dist/app/index.js +20 -0
  13. package/dist/app/interfaces/i-app.d.ts +25 -0
  14. package/dist/app/interfaces/i-natigo.js +2 -0
  15. package/dist/app/interfaces/index.d.ts +2 -0
  16. package/dist/app/interfaces/index.js +2 -0
  17. package/dist/app/types/app-config.type.d.ts +2 -0
  18. package/dist/app/types/app-config.type.js +2 -0
  19. package/dist/app/types/index.d.ts +1 -0
  20. package/dist/app/types/index.js +2 -0
  21. package/dist/company/enums/keys.enum.d.ts +5 -5
  22. package/dist/company/enums/keys.enum.js +5 -5
  23. package/dist/company/enums/message-type.enum.d.ts +3 -3
  24. package/dist/company/enums/message-type.enum.js +3 -3
  25. package/dist/device/entities/device.entity.d.ts +5 -4
  26. package/dist/device/entities/device.entity.js +6 -7
  27. package/dist/device/entities/index.d.ts +0 -1
  28. package/dist/device/entities/index.js +1 -3
  29. package/dist/device/entities/installed-apps.entity.d.ts +18 -0
  30. package/dist/device/entities/installed-apps.entity.js +32 -0
  31. package/dist/device/entities/metadata.entity.d.ts +1 -1
  32. package/dist/device/entities/metadata.entity.js +1 -1
  33. package/dist/device/enums/device-mode.enum.d.ts +7 -6
  34. package/dist/device/enums/device-mode.enum.js +7 -6
  35. package/dist/device/interfaces/i-device.d.ts +5 -4
  36. package/dist/device/interfaces/i-installed-apps.d.ts +16 -0
  37. package/dist/device/interfaces/i-installed-apps.js +2 -0
  38. package/dist/device/interfaces/index.d.ts +0 -1
  39. package/dist/esm2022/app/entities/app.entity.mjs +33 -0
  40. package/dist/esm2022/app/entities/index.mjs +3 -0
  41. package/dist/esm2022/app/entities/natigo.entity.mjs +19 -0
  42. package/dist/esm2022/app/enums/app-category.enum.mjs +32 -0
  43. package/dist/esm2022/app/enums/header-type.enum.mjs +6 -0
  44. package/dist/esm2022/app/enums/index.mjs +3 -0
  45. package/dist/esm2022/app/index.mjs +5 -0
  46. package/dist/esm2022/app/interfaces/i-app.mjs +2 -0
  47. package/dist/esm2022/app/interfaces/i-natigo.mjs +2 -0
  48. package/dist/esm2022/app/interfaces/index.mjs +2 -0
  49. package/dist/esm2022/app/types/app-config.type.mjs +2 -0
  50. package/dist/esm2022/app/types/index.mjs +2 -0
  51. package/dist/esm2022/company/enums/keys.enum.mjs +6 -6
  52. package/dist/esm2022/company/enums/message-type.enum.mjs +4 -4
  53. package/dist/esm2022/device/entities/device.entity.mjs +7 -8
  54. package/dist/esm2022/device/entities/index.mjs +1 -2
  55. package/dist/esm2022/device/entities/installed-apps.entity.mjs +28 -0
  56. package/dist/esm2022/device/entities/metadata.entity.mjs +2 -2
  57. package/dist/esm2022/device/enums/device-mode.enum.mjs +8 -7
  58. package/dist/esm2022/device/interfaces/i-device.mjs +1 -1
  59. package/dist/esm2022/device/interfaces/i-installed-apps.mjs +2 -0
  60. package/dist/esm2022/device/interfaces/index.mjs +1 -1
  61. package/dist/esm2022/general/entities/carousel-image.entity.mjs +18 -0
  62. package/dist/esm2022/general/entities/coords.entity.mjs +4 -1
  63. package/dist/esm2022/general/entities/index.mjs +3 -1
  64. package/dist/esm2022/general/entities/origin.entity.mjs +2 -2
  65. package/dist/esm2022/general/entities/payment-method.entity.mjs +4 -4
  66. package/dist/esm2022/general/entities/rating.entity.mjs +19 -0
  67. package/dist/esm2022/general/enums/boolean-string.enum.mjs +3 -3
  68. package/dist/esm2022/general/enums/index.mjs +2 -1
  69. package/dist/esm2022/general/enums/interval-type.enum.mjs +4 -4
  70. package/dist/esm2022/general/enums/lead-origin.enum.mjs +8 -8
  71. package/dist/esm2022/general/enums/os.enum.mjs +11 -0
  72. package/dist/esm2022/general/enums/payment-channel.enum.mjs +9 -9
  73. package/dist/esm2022/general/enums/payment-mode.enum.mjs +4 -4
  74. package/dist/esm2022/general/enums/payment-type.enum.mjs +19 -19
  75. package/dist/esm2022/general/enums/person-type.enum.mjs +3 -3
  76. package/dist/esm2022/general/enums/platform.enum.mjs +11 -0
  77. package/dist/esm2022/general/enums/providers.enum.mjs +7 -7
  78. package/dist/esm2022/general/interfaces/i-carousel-image.mjs +2 -0
  79. package/dist/esm2022/general/interfaces/i-rating.mjs +2 -0
  80. package/dist/esm2022/general/interfaces/index.mjs +1 -1
  81. package/dist/esm2022/invite/entities/invite.entity.mjs +2 -2
  82. package/dist/esm2022/invite/enums/status.enum.mjs +6 -6
  83. package/dist/esm2022/iugu/entities/account-last-verification-request-data.entity.mjs +4 -4
  84. package/dist/esm2022/iugu/entities/iugu-account.entity.mjs +2 -2
  85. package/dist/esm2022/iugu/enums/iugu-auto-advance.enum.mjs +5 -5
  86. package/dist/esm2022/lead/entities/lead.entity.mjs +9 -7
  87. package/dist/esm2022/lead/enums/lead-status.enum.mjs +13 -6
  88. package/dist/esm2022/lead/interfaces/i-lead.mjs +1 -1
  89. package/dist/esm2022/member/entities/member.entity.mjs +6 -5
  90. package/dist/esm2022/member/enums/index.mjs +2 -1
  91. package/dist/esm2022/member/enums/member-rules.enum.mjs +9 -9
  92. package/dist/esm2022/member/enums/member-type.enum.mjs +7 -0
  93. package/dist/esm2022/member/interfaces/i-member.mjs +1 -1
  94. package/dist/esm2022/order/entities/payment-method.entity.mjs +2 -2
  95. package/dist/esm2022/plan/entities/plan.entity.mjs +3 -3
  96. package/dist/esm2022/plan/enums/plans-identifier.enum.mjs +3 -3
  97. package/dist/esm2022/purchases/entities/purchase.entity.mjs +2 -2
  98. package/dist/fesm2022/cecon-interfaces.mjs +222 -142
  99. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  100. package/dist/general/entities/carousel-image.entity.d.ts +7 -0
  101. package/dist/general/entities/carousel-image.entity.js +22 -0
  102. package/dist/general/entities/coords.entity.js +3 -0
  103. package/dist/general/entities/index.d.ts +2 -0
  104. package/dist/general/entities/index.js +5 -1
  105. package/dist/general/entities/origin.entity.js +1 -1
  106. package/dist/general/entities/payment-method.entity.js +3 -3
  107. package/dist/general/entities/rating.entity.d.ts +8 -0
  108. package/dist/general/entities/rating.entity.js +23 -0
  109. package/dist/general/enums/boolean-string.enum.d.ts +2 -2
  110. package/dist/general/enums/boolean-string.enum.js +2 -2
  111. package/dist/general/enums/index.d.ts +1 -0
  112. package/dist/general/enums/index.js +3 -1
  113. package/dist/general/enums/interval-type.enum.d.ts +3 -3
  114. package/dist/general/enums/interval-type.enum.js +3 -3
  115. package/dist/general/enums/lead-origin.enum.d.ts +7 -7
  116. package/dist/general/enums/lead-origin.enum.js +7 -7
  117. package/dist/general/enums/os.enum.d.ts +9 -0
  118. package/dist/general/enums/os.enum.js +13 -0
  119. package/dist/general/enums/payment-channel.enum.d.ts +8 -8
  120. package/dist/general/enums/payment-channel.enum.js +8 -8
  121. package/dist/general/enums/payment-mode.enum.d.ts +3 -3
  122. package/dist/general/enums/payment-mode.enum.js +3 -3
  123. package/dist/general/enums/payment-type.enum.d.ts +18 -18
  124. package/dist/general/enums/payment-type.enum.js +18 -18
  125. package/dist/general/enums/person-type.enum.d.ts +2 -2
  126. package/dist/general/enums/person-type.enum.js +2 -2
  127. package/dist/general/enums/platform.enum.d.ts +9 -0
  128. package/dist/general/enums/platform.enum.js +13 -0
  129. package/dist/general/enums/providers.enum.d.ts +6 -6
  130. package/dist/general/enums/providers.enum.js +6 -6
  131. package/dist/general/interfaces/i-carousel-image.d.ts +5 -0
  132. package/dist/general/interfaces/i-carousel-image.js +2 -0
  133. package/dist/general/interfaces/i-rating.d.ts +6 -0
  134. package/dist/general/interfaces/i-rating.js +2 -0
  135. package/dist/general/interfaces/index.d.ts +2 -0
  136. package/dist/invite/entities/invite.entity.js +1 -1
  137. package/dist/invite/enums/status.enum.d.ts +5 -5
  138. package/dist/invite/enums/status.enum.js +5 -5
  139. package/dist/iugu/entities/account-last-verification-request-data.entity.js +3 -3
  140. package/dist/iugu/entities/iugu-account.entity.js +1 -1
  141. package/dist/iugu/enums/iugu-auto-advance.enum.d.ts +4 -4
  142. package/dist/iugu/enums/iugu-auto-advance.enum.js +4 -4
  143. package/dist/lead/entities/lead.entity.d.ts +4 -2
  144. package/dist/lead/entities/lead.entity.js +8 -6
  145. package/dist/lead/enums/lead-status.enum.d.ts +12 -5
  146. package/dist/lead/enums/lead-status.enum.js +12 -5
  147. package/dist/lead/interfaces/i-lead.d.ts +3 -1
  148. package/dist/member/entities/member.entity.d.ts +2 -1
  149. package/dist/member/entities/member.entity.js +4 -3
  150. package/dist/member/enums/index.d.ts +1 -0
  151. package/dist/member/enums/index.js +3 -1
  152. package/dist/member/enums/member-rules.enum.d.ts +8 -8
  153. package/dist/member/enums/member-rules.enum.js +8 -8
  154. package/dist/member/enums/member-type.enum.d.ts +5 -0
  155. package/dist/member/enums/member-type.enum.js +9 -0
  156. package/dist/member/interfaces/i-member.d.ts +2 -1
  157. package/dist/order/entities/payment-method.entity.js +1 -1
  158. package/dist/package.json +1 -1
  159. package/dist/plan/entities/plan.entity.js +2 -2
  160. package/dist/plan/enums/plans-identifier.enum.d.ts +2 -2
  161. package/dist/plan/enums/plans-identifier.enum.js +2 -2
  162. package/dist/purchases/entities/purchase.entity.js +1 -1
  163. package/package.json +1 -1
  164. package/dist/esm2022/device/entities/natigo.entity.mjs +0 -19
  165. package/dist/esm2022/device/interfaces/i-natigo.mjs +0 -2
  166. /package/dist/{device → app}/entities/natigo.entity.d.ts +0 -0
  167. /package/dist/{device → app}/entities/natigo.entity.js +0 -0
  168. /package/dist/{device/interfaces/i-natigo.js → app/interfaces/i-app.js} +0 -0
  169. /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["DaysAfterPayment"] = "days_after_payment";
7
- IuguAutoAdvanceEnum["Daily"] = "daily";
8
- IuguAutoAdvanceEnum["Weekly"] = "weekly";
9
- IuguAutoAdvanceEnum["Monthly"] = "monthly";
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
- /**Lista de produtos ou serviços de interesse. */
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 (19)
7
+ // #endregion Properties (21)
8
8
  // #region Constructors (1)
9
9
  function LeadEntity(data) {
10
- // #region Properties (19)
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
- /**Lista de produtos ou serviços de interesse. */
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.Others;
42
+ this.source = enums_1.LeadOriginEnum.OTHERS;
41
43
  /**Data e hora do último contato. */
42
- this.status = enums_2.LeadStatusEnum.New;
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
- New = "Novo",
3
- Cantacted = "Contactado",
4
- InProgress = "Em Progresso",
5
- Converted = "Convertido",
6
- NotInterested = "N\u00E3o Interessado"
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["New"] = "Novo";
7
- LeadStatusEnum["Cantacted"] = "Contactado";
8
- LeadStatusEnum["InProgress"] = "Em Progresso";
9
- LeadStatusEnum["Converted"] = "Convertido";
10
- LeadStatusEnum["NotInterested"] = "N\u00E3o Interessado";
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
- notes?: string[];
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 (11)
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 (11)
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.User;
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 +1,2 @@
1
1
  export { MemberRulesEnum } from './member-rules.enum';
2
+ export { MemberTypeEnum } from './member-type.enum';
@@ -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
- Admin = "ADMIN",
3
- User = "USER",
4
- Owner = "OWNER",
5
- Support = "SUPPORT",
6
- Partner = "PARTNER",
7
- Finance = "FINANCE",
8
- Marketing = "MARKETING",
9
- Sales = "SALES"
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["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";
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,5 @@
1
+ export declare enum MemberTypeEnum {
2
+ PARTNER = "PARTNER",
3
+ ADMIN = "ADMIN",
4
+ CLIENT = "CLIENT"
5
+ }
@@ -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.Cash;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.0.25",
3
+ "version": "1.0.27",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.0"
@@ -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.NatiGo;
14
+ this.identifier = plans_identifier_enum_1.PlanIdentifierEnum.NATIGO;
15
15
  this.interval = 12;
16
- this.intervalType = enums_1.IntervalTypeEnum.Months;
16
+ this.intervalType = enums_1.IntervalTypeEnum.MONTHS;
17
17
  this.name = '';
18
18
  this.price = 0;
19
19
  this.updatedAt = Date.now();
@@ -1,4 +1,4 @@
1
1
  export declare enum PlanIdentifierEnum {
2
- NatiGo = "NATIGO-UNO",
3
- SatManagerNapoleon = "SAT-MANAGER-NAPOLEON"
2
+ NATIGO = "NATIGO-UNO",
3
+ SAT_MANAGER_NAPOLEON = "SAT-MANAGER-NAPOLEON"
4
4
  }
@@ -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["NatiGo"] = "NATIGO-UNO";
7
- PlanIdentifierEnum["SatManagerNapoleon"] = "SAT-MANAGER-NAPOLEON";
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.Iugu;
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,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.0.25",
3
+ "version": "1.0.27",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "dependencies": {},
6
6
  "peerDependencies": {},
@@ -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