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
@@ -0,0 +1,7 @@
1
+ import { ICarouselImage } from '../interfaces';
2
+ export declare class CarouselImageEntity implements ICarouselImage {
3
+ caption?: string;
4
+ id: string;
5
+ url: string;
6
+ constructor(data?: Partial<CarouselImageEntity>);
7
+ }
@@ -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; } });
@@ -12,7 +12,7 @@ var OriginEntity = /** @class */ (function () {
12
12
  this.date = 0;
13
13
  this.details = '';
14
14
  this.referrer = '';
15
- this.type = lead_origin_enum_1.LeadOriginEnum.Others;
15
+ this.type = lead_origin_enum_1.LeadOriginEnum.OTHERS;
16
16
  if (data) {
17
17
  for (var key in data) {
18
18
  if (data.hasOwnProperty(key) && key in this) {
@@ -10,17 +10,17 @@ var PaymentMethodEntity = /** @class */ (function () {
10
10
  function PaymentMethodEntity(data) {
11
11
  // #region Properties (13)
12
12
  this.active = false;
13
- this.channel = payment_channel_enum_1.PaymentChannelEnum.Automation;
13
+ this.channel = payment_channel_enum_1.PaymentChannelEnum.AUTOMATION;
14
14
  this.createdAt = 0;
15
15
  this.fee = 0;
16
16
  this.id = '';
17
17
  this.index = 0;
18
18
  this.maxAmount = 0;
19
19
  this.minAmount = 0;
20
- this.mode = payment_mode_enum_1.PaymentModeEnum.Manual;
20
+ this.mode = payment_mode_enum_1.PaymentModeEnum.MANUAL;
21
21
  this.name = '';
22
22
  this.token = '';
23
- this.type = payment_type_enum_1.PaymentTypeEnum.CreditCard;
23
+ this.type = payment_type_enum_1.PaymentTypeEnum.CREDIT_CARD;
24
24
  this.updatedAt = Date.now();
25
25
  if (data) {
26
26
  for (var key in data) {
@@ -0,0 +1,8 @@
1
+ import { IRating } from '../interfaces/i-rating';
2
+ export declare class RatingEntity implements IRating {
3
+ comment?: string;
4
+ createdAt: number;
5
+ rating: number;
6
+ userId: string;
7
+ constructor(data?: Partial<RatingEntity>);
8
+ }
@@ -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;
@@ -1,4 +1,4 @@
1
1
  export declare enum BooleanStringEnum {
2
- False = "false",
3
- True = "true"
2
+ FALSE = "false",
3
+ TRUE = "true"
4
4
  }
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BooleanStringEnum = void 0;
4
4
  var BooleanStringEnum;
5
5
  (function (BooleanStringEnum) {
6
- BooleanStringEnum["False"] = "false";
7
- BooleanStringEnum["True"] = "true";
6
+ BooleanStringEnum["FALSE"] = "false";
7
+ BooleanStringEnum["TRUE"] = "true";
8
8
  })(BooleanStringEnum || (exports.BooleanStringEnum = BooleanStringEnum = {}));
@@ -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; } });
@@ -1,5 +1,5 @@
1
1
  export declare enum IntervalTypeEnum {
2
- Days = "DAYS",
3
- Weeks = "WEEKS",
4
- Months = "MONTHS"
2
+ DAYS = "DAYS",
3
+ WEEKS = "WEEKS",
4
+ MONTHS = "MONTHS"
5
5
  }
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IntervalTypeEnum = void 0;
4
4
  var IntervalTypeEnum;
5
5
  (function (IntervalTypeEnum) {
6
- IntervalTypeEnum["Days"] = "DAYS";
7
- IntervalTypeEnum["Weeks"] = "WEEKS";
8
- IntervalTypeEnum["Months"] = "MONTHS";
6
+ IntervalTypeEnum["DAYS"] = "DAYS";
7
+ IntervalTypeEnum["WEEKS"] = "WEEKS";
8
+ IntervalTypeEnum["MONTHS"] = "MONTHS";
9
9
  })(IntervalTypeEnum || (exports.IntervalTypeEnum = IntervalTypeEnum = {}));
@@ -1,9 +1,9 @@
1
1
  export declare enum LeadOriginEnum {
2
- FacebookAds = "Facebook Ads",
3
- GoogleAds = "Google Ads",
4
- EmailMarketing = "Email Marketing",
5
- ReferredByFriend = "Indica\u00E7\u00E3o de amigo",
6
- OrganicSearch = "Busca org\u00E2nica",
7
- DirectVisit = "Visita Direta",
8
- Others = "Outros"
2
+ FACEBOOK_ADS = "Facebook Ads",
3
+ GOOGLE_ADS = "Google Ads",
4
+ EMAIL_MARKETING = "Email Marketing",
5
+ REFERRED_BY_FRIEND = "Indica\u00E7\u00E3o de amigo",
6
+ ORGANIC_SEARCH = "Busca org\u00E2nica",
7
+ DIRECT_VISIT = "Visita Direta",
8
+ OTHERS = "Outros"
9
9
  }
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LeadOriginEnum = void 0;
4
4
  var LeadOriginEnum;
5
5
  (function (LeadOriginEnum) {
6
- LeadOriginEnum["FacebookAds"] = "Facebook Ads";
7
- LeadOriginEnum["GoogleAds"] = "Google Ads";
8
- LeadOriginEnum["EmailMarketing"] = "Email Marketing";
9
- LeadOriginEnum["ReferredByFriend"] = "Indica\u00E7\u00E3o de amigo";
10
- LeadOriginEnum["OrganicSearch"] = "Busca org\u00E2nica";
11
- LeadOriginEnum["DirectVisit"] = "Visita Direta";
12
- LeadOriginEnum["Others"] = "Outros";
6
+ LeadOriginEnum["FACEBOOK_ADS"] = "Facebook Ads";
7
+ LeadOriginEnum["GOOGLE_ADS"] = "Google Ads";
8
+ LeadOriginEnum["EMAIL_MARKETING"] = "Email Marketing";
9
+ LeadOriginEnum["REFERRED_BY_FRIEND"] = "Indica\u00E7\u00E3o de amigo";
10
+ LeadOriginEnum["ORGANIC_SEARCH"] = "Busca org\u00E2nica";
11
+ LeadOriginEnum["DIRECT_VISIT"] = "Visita Direta";
12
+ LeadOriginEnum["OTHERS"] = "Outros";
13
13
  })(LeadOriginEnum || (exports.LeadOriginEnum = LeadOriginEnum = {}));
@@ -0,0 +1,9 @@
1
+ export declare enum OsEnum {
2
+ ANDROID = "ANDROID",
3
+ IOS = "IOS",
4
+ WINDOWS_PHONE = "WINDOWS_PHONE",
5
+ WINDOWS = "WINDOWS",
6
+ LINUX = "LINUX",
7
+ OTHER = "OTHER",
8
+ UNKNOWN = "UNKNOWN"
9
+ }
@@ -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["WINDOWS_PHONE"] = "WINDOWS_PHONE";
9
+ OsEnum["WINDOWS"] = "WINDOWS";
10
+ OsEnum["LINUX"] = "LINUX";
11
+ OsEnum["OTHER"] = "OTHER";
12
+ OsEnum["UNKNOWN"] = "UNKNOWN";
13
+ })(OsEnum || (exports.OsEnum = OsEnum = {}));
@@ -1,10 +1,10 @@
1
1
  export declare enum PaymentChannelEnum {
2
- App = "APP",
3
- Delivery = "DELIVERY",
4
- Automation = "AUTOMATION",
5
- Phone = "PHONE",
6
- Mail = "MAIL",
7
- Kiosk = "KIOSK",
8
- QrCode = "QR_CODE",
9
- Website = "WEBSITE"
2
+ APP = "APP",
3
+ DELIVERY = "DELIVERY",
4
+ AUTOMATION = "AUTOMATION",
5
+ PHONE = "PHONE",
6
+ MAIL = "MAIL",
7
+ KIOSK = "KIOSK",
8
+ QR_CODE = "QR_CODE",
9
+ WEBSITE = "WEBSITE"
10
10
  }
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PaymentChannelEnum = void 0;
4
4
  var PaymentChannelEnum;
5
5
  (function (PaymentChannelEnum) {
6
- PaymentChannelEnum["App"] = "APP";
7
- PaymentChannelEnum["Delivery"] = "DELIVERY";
8
- PaymentChannelEnum["Automation"] = "AUTOMATION";
9
- PaymentChannelEnum["Phone"] = "PHONE";
10
- PaymentChannelEnum["Mail"] = "MAIL";
11
- PaymentChannelEnum["Kiosk"] = "KIOSK";
12
- PaymentChannelEnum["QrCode"] = "QR_CODE";
13
- PaymentChannelEnum["Website"] = "WEBSITE";
6
+ PaymentChannelEnum["APP"] = "APP";
7
+ PaymentChannelEnum["DELIVERY"] = "DELIVERY";
8
+ PaymentChannelEnum["AUTOMATION"] = "AUTOMATION";
9
+ PaymentChannelEnum["PHONE"] = "PHONE";
10
+ PaymentChannelEnum["MAIL"] = "MAIL";
11
+ PaymentChannelEnum["KIOSK"] = "KIOSK";
12
+ PaymentChannelEnum["QR_CODE"] = "QR_CODE";
13
+ PaymentChannelEnum["WEBSITE"] = "WEBSITE";
14
14
  })(PaymentChannelEnum || (exports.PaymentChannelEnum = PaymentChannelEnum = {}));
@@ -1,5 +1,5 @@
1
1
  export declare enum PaymentModeEnum {
2
- Electronic = "ELECTRONIC",
3
- Manual = "MANUAL",
4
- Digital = "DIGITAL"
2
+ ELECTRONIC = "ELECTRONIC",
3
+ MANUAL = "MANUAL",
4
+ DIGITAL = "DIGITAL"
5
5
  }
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PaymentModeEnum = void 0;
4
4
  var PaymentModeEnum;
5
5
  (function (PaymentModeEnum) {
6
- PaymentModeEnum["Electronic"] = "ELECTRONIC";
7
- PaymentModeEnum["Manual"] = "MANUAL";
8
- PaymentModeEnum["Digital"] = "DIGITAL";
6
+ PaymentModeEnum["ELECTRONIC"] = "ELECTRONIC";
7
+ PaymentModeEnum["MANUAL"] = "MANUAL";
8
+ PaymentModeEnum["DIGITAL"] = "DIGITAL";
9
9
  })(PaymentModeEnum || (exports.PaymentModeEnum = PaymentModeEnum = {}));
@@ -1,20 +1,20 @@
1
1
  export declare enum PaymentTypeEnum {
2
- CreditCard = "CREDIT_CARD",
3
- DebitCard = "DEBIT_CARD",
4
- Cash = "CASH",
5
- Pix = "PIX",
6
- MobilePayment = "MOBILE_PAYMENT",
7
- Check = "CHECK",
8
- Cryptocurrency = "CRYPTOCURRENCY",
9
- ElectronicBanking = "ELECTRONIC_BANKING",
10
- MoneyOrder = "MONEY_ORDER",
11
- PrepaidCard = "PREPAID_CARD",
12
- EWallet = "E_WALLET",
13
- DirectDebit = "DIRECT_DEBIT",
14
- Paypal = "PAYPAL",
15
- CheckoutPro = "CHECKOUTPRO",
16
- WireTransfer = "WIRE_TRANSFER",
17
- GiftCard = "GIFT_CARD",
18
- Voucher = "VOUCHER",
19
- Billing = "BILLING"
2
+ CREDIT_CARD = "CREDIT_CARD",
3
+ DEBIT_CARD = "DEBIT_CARD",
4
+ CASH = "CASH",
5
+ PIX = "PIX",
6
+ MOBILE_PAYMENT = "MOBILE_PAYMENT",
7
+ CHECK = "CHECK",
8
+ CRYPTOCURRENCY = "CRYPTOCURRENCY",
9
+ ELECTRONIC_BANKING = "ELECTRONIC_BANKING",
10
+ MONEY_ORDER = "MONEY_ORDER",
11
+ PREPAID_CARD = "PREPAID_CARD",
12
+ E_WALLET = "E_WALLET",
13
+ DIRECT_DEBIT = "DIRECT_DEBIT",
14
+ PAYPAL = "PAYPAL",
15
+ CHECKOUT_PRO = "CHECKOUT_PRO",
16
+ WIRE_TRANSFER = "WIRE_TRANSFER",
17
+ GIFT_CARD = "GIFT_CARD",
18
+ VOUCHER = "VOUCHER",
19
+ BILLING = "BILLING"
20
20
  }
@@ -3,22 +3,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PaymentTypeEnum = void 0;
4
4
  var PaymentTypeEnum;
5
5
  (function (PaymentTypeEnum) {
6
- PaymentTypeEnum["CreditCard"] = "CREDIT_CARD";
7
- PaymentTypeEnum["DebitCard"] = "DEBIT_CARD";
8
- PaymentTypeEnum["Cash"] = "CASH";
9
- PaymentTypeEnum["Pix"] = "PIX";
10
- PaymentTypeEnum["MobilePayment"] = "MOBILE_PAYMENT";
11
- PaymentTypeEnum["Check"] = "CHECK";
12
- PaymentTypeEnum["Cryptocurrency"] = "CRYPTOCURRENCY";
13
- PaymentTypeEnum["ElectronicBanking"] = "ELECTRONIC_BANKING";
14
- PaymentTypeEnum["MoneyOrder"] = "MONEY_ORDER";
15
- PaymentTypeEnum["PrepaidCard"] = "PREPAID_CARD";
16
- PaymentTypeEnum["EWallet"] = "E_WALLET";
17
- PaymentTypeEnum["DirectDebit"] = "DIRECT_DEBIT";
18
- PaymentTypeEnum["Paypal"] = "PAYPAL";
19
- PaymentTypeEnum["CheckoutPro"] = "CHECKOUTPRO";
20
- PaymentTypeEnum["WireTransfer"] = "WIRE_TRANSFER";
21
- PaymentTypeEnum["GiftCard"] = "GIFT_CARD";
22
- PaymentTypeEnum["Voucher"] = "VOUCHER";
23
- PaymentTypeEnum["Billing"] = "BILLING";
6
+ PaymentTypeEnum["CREDIT_CARD"] = "CREDIT_CARD";
7
+ PaymentTypeEnum["DEBIT_CARD"] = "DEBIT_CARD";
8
+ PaymentTypeEnum["CASH"] = "CASH";
9
+ PaymentTypeEnum["PIX"] = "PIX";
10
+ PaymentTypeEnum["MOBILE_PAYMENT"] = "MOBILE_PAYMENT";
11
+ PaymentTypeEnum["CHECK"] = "CHECK";
12
+ PaymentTypeEnum["CRYPTOCURRENCY"] = "CRYPTOCURRENCY";
13
+ PaymentTypeEnum["ELECTRONIC_BANKING"] = "ELECTRONIC_BANKING";
14
+ PaymentTypeEnum["MONEY_ORDER"] = "MONEY_ORDER";
15
+ PaymentTypeEnum["PREPAID_CARD"] = "PREPAID_CARD";
16
+ PaymentTypeEnum["E_WALLET"] = "E_WALLET";
17
+ PaymentTypeEnum["DIRECT_DEBIT"] = "DIRECT_DEBIT";
18
+ PaymentTypeEnum["PAYPAL"] = "PAYPAL";
19
+ PaymentTypeEnum["CHECKOUT_PRO"] = "CHECKOUT_PRO";
20
+ PaymentTypeEnum["WIRE_TRANSFER"] = "WIRE_TRANSFER";
21
+ PaymentTypeEnum["GIFT_CARD"] = "GIFT_CARD";
22
+ PaymentTypeEnum["VOUCHER"] = "VOUCHER";
23
+ PaymentTypeEnum["BILLING"] = "BILLING";
24
24
  })(PaymentTypeEnum || (exports.PaymentTypeEnum = PaymentTypeEnum = {}));
@@ -1,4 +1,4 @@
1
1
  export declare enum LegalEntiyEnum {
2
- LegalEntity = "Pessoa Jur\u00EDdica",
3
- Individual = "Pessoa F\u00EDsica"
2
+ LEGAL = "Pessoa Jur\u00EDdica",
3
+ INDIVIDUAL = "Pessoa F\u00EDsica"
4
4
  }
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LegalEntiyEnum = void 0;
4
4
  var LegalEntiyEnum;
5
5
  (function (LegalEntiyEnum) {
6
- LegalEntiyEnum["LegalEntity"] = "Pessoa Jur\u00EDdica";
7
- LegalEntiyEnum["Individual"] = "Pessoa F\u00EDsica";
6
+ LegalEntiyEnum["LEGAL"] = "Pessoa Jur\u00EDdica";
7
+ LegalEntiyEnum["INDIVIDUAL"] = "Pessoa F\u00EDsica";
8
8
  })(LegalEntiyEnum || (exports.LegalEntiyEnum = LegalEntiyEnum = {}));
@@ -0,0 +1,9 @@
1
+ export declare enum PlatfomrEnum {
2
+ MOBILE = "Mobile",
3
+ WEB = "Web",
4
+ DESKTOP = "Desktop",
5
+ TABLET = "Tablet",
6
+ TV = "Tv",
7
+ CHROMEBOOK = "Chromebook",
8
+ OTHER = "Other"
9
+ }
@@ -0,0 +1,13 @@
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["TABLET"] = "Tablet";
10
+ PlatfomrEnum["TV"] = "Tv";
11
+ PlatfomrEnum["CHROMEBOOK"] = "Chromebook";
12
+ PlatfomrEnum["OTHER"] = "Other";
13
+ })(PlatfomrEnum || (exports.PlatfomrEnum = PlatfomrEnum = {}));
@@ -1,8 +1,8 @@
1
1
  export declare enum PaymentProviderEnum {
2
- Iugu = "IUGU",
3
- Desenfila = "DESENFILA",
4
- MercadoPago = "MERCADO PAGO",
5
- Stripe = "STRIPE",
6
- PayPal = "PAYPAL",
7
- Other = "OTHER"
2
+ IUGU = "IUGU",
3
+ DESENFILA = "DESENFILA",
4
+ MERCADO_PAGO = "MERCADO PAGO",
5
+ STRIPE = "STRIPE",
6
+ PAYPAL = "PAYPAL",
7
+ OTHER = "OTHER"
8
8
  }
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PaymentProviderEnum = void 0;
4
4
  var PaymentProviderEnum;
5
5
  (function (PaymentProviderEnum) {
6
- PaymentProviderEnum["Iugu"] = "IUGU";
7
- PaymentProviderEnum["Desenfila"] = "DESENFILA";
8
- PaymentProviderEnum["MercadoPago"] = "MERCADO PAGO";
9
- PaymentProviderEnum["Stripe"] = "STRIPE";
10
- PaymentProviderEnum["PayPal"] = "PAYPAL";
11
- PaymentProviderEnum["Other"] = "OTHER";
6
+ PaymentProviderEnum["IUGU"] = "IUGU";
7
+ PaymentProviderEnum["DESENFILA"] = "DESENFILA";
8
+ PaymentProviderEnum["MERCADO_PAGO"] = "MERCADO PAGO";
9
+ PaymentProviderEnum["STRIPE"] = "STRIPE";
10
+ PaymentProviderEnum["PAYPAL"] = "PAYPAL";
11
+ PaymentProviderEnum["OTHER"] = "OTHER";
12
12
  })(PaymentProviderEnum || (exports.PaymentProviderEnum = PaymentProviderEnum = {}));
@@ -0,0 +1,5 @@
1
+ export interface ICarouselImage {
2
+ caption?: string;
3
+ id: string;
4
+ url: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export interface IRating {
2
+ userId: string;
3
+ rating: number;
4
+ comment?: string;
5
+ createdAt: number;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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';
@@ -22,7 +22,7 @@ var InviteEntity = /** @class */ (function () {
22
22
  this.name = '';
23
23
  this.phoneNumber = '';
24
24
  this.photoURL = '';
25
- this.status = enums_1.InviteStatusEnum.Pending;
25
+ this.status = enums_1.InviteStatusEnum.PENDING;
26
26
  this.uid = '';
27
27
  this.updatedAt = Date.now();
28
28
  if (data) {
@@ -1,7 +1,7 @@
1
1
  export declare enum InviteStatusEnum {
2
- Accepted = "ACCEPTED",
3
- Pending = "PENDING",
4
- Rejected = "REJECTED",
5
- Expired = "EXPIRED",
6
- Canceled = "CANCELED"
2
+ ACCEPTED = "ACCEPTED",
3
+ PENDING = "PENDING",
4
+ REJECTED = "REJECTED",
5
+ EXPIRED = "EXPIRED",
6
+ CANCELED = "CANCELED"
7
7
  }
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.InviteStatusEnum = void 0;
4
4
  var InviteStatusEnum;
5
5
  (function (InviteStatusEnum) {
6
- InviteStatusEnum["Accepted"] = "ACCEPTED";
7
- InviteStatusEnum["Pending"] = "PENDING";
8
- InviteStatusEnum["Rejected"] = "REJECTED";
9
- InviteStatusEnum["Expired"] = "EXPIRED";
10
- InviteStatusEnum["Canceled"] = "CANCELED";
6
+ InviteStatusEnum["ACCEPTED"] = "ACCEPTED";
7
+ InviteStatusEnum["PENDING"] = "PENDING";
8
+ InviteStatusEnum["REJECTED"] = "REJECTED";
9
+ InviteStatusEnum["EXPIRED"] = "EXPIRED";
10
+ InviteStatusEnum["CANCELED"] = "CANCELED";
11
11
  })(InviteStatusEnum || (exports.InviteStatusEnum = InviteStatusEnum = {}));
@@ -10,7 +10,7 @@ var LastVerificationRequestDataEntity = /** @class */ (function () {
10
10
  // #region Properties (19)
11
11
  this.accountType = '';
12
12
  this.address = '';
13
- this.automaticTransfer = enums_1.BooleanStringEnum.False;
13
+ this.automaticTransfer = enums_1.BooleanStringEnum.FALSE;
14
14
  this.bank = '';
15
15
  this.bankAg = '';
16
16
  this.bankCc = '';
@@ -22,8 +22,8 @@ var LastVerificationRequestDataEntity = /** @class */ (function () {
22
22
  this.documentCpf = '';
23
23
  this.documentId = '';
24
24
  this.name = '';
25
- this.personType = person_type_enum_1.LegalEntiyEnum.Individual;
26
- this.physicalProducts = enums_1.BooleanStringEnum.False;
25
+ this.personType = person_type_enum_1.LegalEntiyEnum.LEGAL;
26
+ this.physicalProducts = enums_1.BooleanStringEnum.FALSE;
27
27
  this.priceRange = '';
28
28
  this.state = '';
29
29
  this.telephone = '';
@@ -10,7 +10,7 @@ var IuguAccountEntity = /** @class */ (function () {
10
10
  // #region Properties (54)
11
11
  this.autoAdvance = false;
12
12
  this.autoAdvanceOption = 0;
13
- this.autoAdvanceType = enums_1.IuguAutoAdvanceEnum.Daily;
13
+ this.autoAdvanceType = enums_1.IuguAutoAdvanceEnum.DAILY;
14
14
  this.autoWithdraw = false;
15
15
  this.balance = '';
16
16
  this.balanceAvailableForWithdraw = '';
@@ -1,6 +1,6 @@
1
1
  export declare enum IuguAutoAdvanceEnum {
2
- DaysAfterPayment = "days_after_payment",
3
- Daily = "daily",
4
- Weekly = "weekly",
5
- Monthly = "monthly"
2
+ DAYS_AFTER_PAYMENT = "days_after_payment",
3
+ DAILY = "daily",
4
+ WEEKLY = "weekly",
5
+ MONTHLY = "monthly"
6
6
  }