cecon-interfaces 1.0.15 → 1.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (258) hide show
  1. package/dist/company/entities/company.entity.d.ts +38 -0
  2. package/dist/company/entities/company.entity.js +50 -0
  3. package/dist/company/entities/index.d.ts +1 -0
  4. package/dist/company/entities/index.js +6 -0
  5. package/dist/company/enums/index.d.ts +2 -0
  6. package/dist/company/enums/index.js +8 -0
  7. package/dist/company/index.d.ts +3 -3
  8. package/dist/company/index.js +17 -6
  9. package/dist/company/interfaces/index.d.ts +1 -0
  10. package/dist/device/entities/device.entity.d.ts +19 -0
  11. package/dist/device/entities/device.entity.js +35 -0
  12. package/dist/device/entities/index.d.ts +3 -0
  13. package/dist/device/entities/index.js +10 -0
  14. package/dist/device/entities/metadata.entity.d.ts +6 -0
  15. package/dist/device/entities/metadata.entity.js +21 -0
  16. package/dist/device/entities/natigo.entity.d.ts +8 -0
  17. package/dist/device/entities/natigo.entity.js +23 -0
  18. package/dist/device/enums/index.d.ts +1 -0
  19. package/dist/device/enums/index.js +6 -0
  20. package/dist/device/index.d.ts +3 -4
  21. package/dist/device/index.js +17 -4
  22. package/dist/device/interfaces/index.d.ts +3 -0
  23. package/dist/device/interfaces/index.js +3 -0
  24. package/dist/esm2022/company/entities/company.entity.mjs +46 -0
  25. package/dist/esm2022/company/entities/index.mjs +3 -0
  26. package/dist/esm2022/company/enums/index.mjs +4 -0
  27. package/dist/esm2022/company/index.mjs +4 -4
  28. package/dist/esm2022/company/interfaces/index.mjs +2 -0
  29. package/dist/esm2022/device/entities/device.entity.mjs +31 -0
  30. package/dist/esm2022/device/entities/index.mjs +5 -0
  31. package/dist/esm2022/device/entities/metadata.entity.mjs +17 -0
  32. package/dist/esm2022/device/entities/natigo.entity.mjs +19 -0
  33. package/dist/esm2022/device/enums/index.mjs +3 -0
  34. package/dist/esm2022/device/index.mjs +4 -3
  35. package/dist/esm2022/device/interfaces/index.mjs +3 -0
  36. package/dist/esm2022/general/entities/address.entity.mjs +24 -0
  37. package/dist/esm2022/general/entities/coords.entity.mjs +14 -0
  38. package/dist/esm2022/general/entities/delivery-area.entity.mjs +23 -0
  39. package/dist/esm2022/general/entities/dellivery-area-fixed.entity.mjs +20 -0
  40. package/dist/esm2022/general/entities/index.mjs +13 -0
  41. package/dist/esm2022/general/entities/messager-channel.entity.mjs +18 -0
  42. package/dist/esm2022/general/entities/mobyo-apiconfig.entity.mjs +21 -0
  43. package/dist/esm2022/general/entities/origin.entity.mjs +22 -0
  44. package/dist/esm2022/general/entities/payment-method.entity.mjs +31 -0
  45. package/dist/esm2022/general/entities/payment-provider-agent.entity.mjs +17 -0
  46. package/dist/esm2022/general/entities/payment-provider.entity.mjs +29 -0
  47. package/dist/esm2022/general/entities/payment-token-data.entity.mjs +22 -0
  48. package/dist/esm2022/general/entities/payment-token.entity.mjs +21 -0
  49. package/dist/esm2022/general/enums/index.mjs +7 -0
  50. package/dist/esm2022/general/enums/payment-type.enum.mjs +2 -1
  51. package/dist/esm2022/general/index.mjs +4 -7
  52. package/dist/esm2022/general/interfaces/i-address.mjs +1 -1
  53. package/dist/esm2022/general/interfaces/{i-mobyo-server-api.mjs → i-mobyo-api-config.mjs} +1 -1
  54. package/dist/esm2022/general/interfaces/i-payment-provider.mjs +1 -1
  55. package/dist/esm2022/general/interfaces/i-payment-token-data.mjs +3 -0
  56. package/dist/esm2022/general/interfaces/i-payment-token.mjs +3 -0
  57. package/dist/esm2022/general/interfaces/index.mjs +3 -0
  58. package/dist/esm2022/index.mjs +2 -2
  59. package/dist/esm2022/order/entities/index.mjs +20 -0
  60. package/dist/esm2022/order/entities/order-additional-fees.entity.mjs +17 -0
  61. package/dist/esm2022/order/entities/order-benefits-sponsor-ship.entity.mjs +17 -0
  62. package/dist/esm2022/order/entities/order-benefits.entity.mjs +21 -0
  63. package/dist/esm2022/order/entities/order-cancellation.entity.mjs +18 -0
  64. package/dist/esm2022/order/entities/order-customer-phone.entity.mjs +19 -0
  65. package/dist/esm2022/order/entities/order-customer.entity.mjs +23 -0
  66. package/dist/esm2022/order/entities/order-item-composition.entity.mjs +21 -0
  67. package/dist/esm2022/order/entities/order-item-option.entity.mjs +30 -0
  68. package/dist/esm2022/order/entities/order-item.entity.mjs +36 -0
  69. package/dist/esm2022/order/entities/order-payment-card.entity.mjs +16 -0
  70. package/dist/esm2022/order/entities/order-payment-cash.entity.mjs +16 -0
  71. package/dist/esm2022/order/entities/order-payment-method.entity.mjs +27 -0
  72. package/dist/esm2022/order/entities/order-payment-pix.entity.mjs +17 -0
  73. package/dist/esm2022/order/entities/order-payment-wallet.entity.mjs +16 -0
  74. package/dist/esm2022/order/entities/order-payment.entity.mjs +18 -0
  75. package/dist/esm2022/order/entities/order-scale-item.entity.mjs +17 -0
  76. package/dist/esm2022/order/entities/order-scale-price.entity.mjs +17 -0
  77. package/dist/esm2022/order/entities/order-total.entity.mjs +20 -0
  78. package/dist/esm2022/order/entities/order.entity.mjs +34 -0
  79. package/dist/esm2022/order/enums/index.mjs +3 -0
  80. package/dist/esm2022/{general/enums/order-satus.enum.mjs → order/enums/order-status.enum.mjs} +1 -1
  81. package/dist/esm2022/order/index.mjs +4 -0
  82. package/dist/esm2022/order/interfaces/i-order-additional-fee.mjs +2 -0
  83. package/dist/esm2022/order/interfaces/i-order-benefits-sponsor-ship.mjs +2 -0
  84. package/dist/esm2022/order/interfaces/i-order-benefits.mjs +2 -0
  85. package/dist/esm2022/order/interfaces/i-order-cancellation.mjs +2 -0
  86. package/dist/esm2022/order/interfaces/i-order-customer-phone.mjs +2 -0
  87. package/dist/esm2022/order/interfaces/i-order-customer.mjs +2 -0
  88. package/dist/esm2022/order/interfaces/i-order-item-composition.mjs +2 -0
  89. package/dist/esm2022/order/interfaces/i-order-item-option.mjs +2 -0
  90. package/dist/esm2022/order/interfaces/i-order-item.mjs +2 -0
  91. package/dist/esm2022/order/interfaces/i-order-payment-card.mjs +2 -0
  92. package/dist/esm2022/order/interfaces/i-order-payment-cash.mjs +2 -0
  93. package/dist/esm2022/order/interfaces/i-order-payment-method.mjs +2 -0
  94. package/dist/esm2022/order/interfaces/i-order-payment-pix.mjs +2 -0
  95. package/dist/esm2022/order/interfaces/i-order-payment-wallet.mjs +2 -0
  96. package/dist/esm2022/order/interfaces/i-order-payment.mjs +2 -0
  97. package/dist/esm2022/order/interfaces/i-order-scale-item.mjs +2 -0
  98. package/dist/esm2022/order/interfaces/i-order-scale-price.mjs +2 -0
  99. package/dist/esm2022/order/interfaces/i-order-total.mjs +2 -0
  100. package/dist/esm2022/order/interfaces/i-order.mjs +2 -0
  101. package/dist/esm2022/order/interfaces/index.mjs +2 -0
  102. package/dist/esm2022/purchases/entities/app-info.entity.mjs +18 -0
  103. package/dist/esm2022/purchases/entities/index.mjs +3 -0
  104. package/dist/esm2022/purchases/entities/purchase.entity.mjs +23 -0
  105. package/dist/esm2022/purchases/index.mjs +3 -3
  106. package/dist/esm2022/purchases/interfaces/i-purchase.mjs +1 -1
  107. package/dist/esm2022/purchases/interfaces/index.mjs +2 -0
  108. package/dist/fesm2022/cecon-interfaces.mjs +876 -31
  109. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  110. package/dist/general/entities/address.entity.d.ts +12 -0
  111. package/dist/general/entities/address.entity.js +28 -0
  112. package/dist/general/entities/coords.entity.d.ts +5 -0
  113. package/dist/general/entities/coords.entity.js +18 -0
  114. package/dist/general/entities/delivery-area.entity.d.ts +12 -0
  115. package/dist/general/entities/delivery-area.entity.js +27 -0
  116. package/dist/general/entities/dellivery-area-fixed.entity.d.ts +8 -0
  117. package/dist/general/entities/dellivery-area-fixed.entity.js +24 -0
  118. package/dist/general/entities/index.d.ts +12 -0
  119. package/dist/general/entities/index.js +27 -0
  120. package/dist/general/entities/messager-channel.entity.d.ts +6 -0
  121. package/dist/general/entities/messager-channel.entity.js +22 -0
  122. package/dist/general/entities/mobyo-apiconfig.entity.d.ts +9 -0
  123. package/dist/general/entities/mobyo-apiconfig.entity.js +25 -0
  124. package/dist/general/entities/origin.entity.d.ts +10 -0
  125. package/dist/general/entities/origin.entity.js +26 -0
  126. package/dist/general/entities/payment-method.entity.d.ts +19 -0
  127. package/dist/general/entities/payment-method.entity.js +35 -0
  128. package/dist/general/entities/payment-provider-agent.entity.d.ts +5 -0
  129. package/dist/general/entities/payment-provider-agent.entity.js +21 -0
  130. package/dist/general/entities/payment-provider.entity.d.ts +18 -0
  131. package/dist/general/entities/payment-provider.entity.js +33 -0
  132. package/dist/general/entities/payment-token-data.entity.d.ts +10 -0
  133. package/dist/general/entities/payment-token-data.entity.js +26 -0
  134. package/dist/general/entities/payment-token.entity.d.ts +9 -0
  135. package/dist/general/entities/payment-token.entity.js +25 -0
  136. package/dist/general/enums/index.d.ts +6 -0
  137. package/dist/general/enums/index.js +15 -0
  138. package/dist/general/enums/payment-type.enum.d.ts +1 -0
  139. package/dist/general/enums/payment-type.enum.js +1 -0
  140. package/dist/general/index.d.ts +3 -17
  141. package/dist/general/index.js +17 -12
  142. package/dist/general/interfaces/i-address.d.ts +2 -0
  143. package/dist/general/interfaces/i-payment-provider.d.ts +1 -1
  144. package/dist/general/interfaces/{i-payment-tokens.d.ts → i-payment-token.d.ts} +1 -1
  145. package/dist/general/interfaces/index.d.ts +12 -0
  146. package/dist/general/interfaces/index.js +3 -0
  147. package/dist/index.d.ts +1 -0
  148. package/dist/index.js +1 -1
  149. package/dist/order/entities/index.d.ts +19 -0
  150. package/dist/order/entities/index.js +41 -0
  151. package/dist/order/entities/order-additional-fees.entity.d.ts +5 -0
  152. package/dist/order/entities/order-additional-fees.entity.js +21 -0
  153. package/dist/order/entities/order-benefits-sponsor-ship.entity.d.ts +5 -0
  154. package/dist/order/entities/order-benefits-sponsor-ship.entity.js +21 -0
  155. package/dist/order/entities/order-benefits.entity.d.ts +10 -0
  156. package/dist/order/entities/order-benefits.entity.js +25 -0
  157. package/dist/order/entities/order-cancellation.entity.d.ts +6 -0
  158. package/dist/order/entities/order-cancellation.entity.js +22 -0
  159. package/dist/order/entities/order-customer-phone.entity.d.ts +7 -0
  160. package/dist/order/entities/order-customer-phone.entity.js +23 -0
  161. package/dist/order/entities/order-customer.entity.d.ts +11 -0
  162. package/dist/order/entities/order-customer.entity.js +27 -0
  163. package/dist/order/entities/order-item-composition.entity.d.ts +9 -0
  164. package/dist/order/entities/order-item-composition.entity.js +25 -0
  165. package/dist/order/entities/order-item-option.entity.d.ts +18 -0
  166. package/dist/order/entities/order-item-option.entity.js +34 -0
  167. package/dist/order/entities/order-item.entity.d.ts +26 -0
  168. package/dist/order/entities/order-item.entity.js +40 -0
  169. package/dist/order/entities/order-payment-card.entity.d.ts +4 -0
  170. package/dist/order/entities/order-payment-card.entity.js +20 -0
  171. package/dist/order/entities/order-payment-cash.entity.d.ts +4 -0
  172. package/dist/order/entities/order-payment-cash.entity.js +20 -0
  173. package/dist/order/entities/order-payment-method.entity.d.ts +19 -0
  174. package/dist/order/entities/order-payment-method.entity.js +31 -0
  175. package/dist/order/entities/order-payment-pix.entity.d.ts +5 -0
  176. package/dist/order/entities/order-payment-pix.entity.js +21 -0
  177. package/dist/order/entities/order-payment-wallet.entity.d.ts +4 -0
  178. package/dist/order/entities/order-payment-wallet.entity.js +20 -0
  179. package/dist/order/entities/order-payment.entity.d.ts +7 -0
  180. package/dist/order/entities/order-payment.entity.js +22 -0
  181. package/dist/order/entities/order-scale-item.entity.d.ts +5 -0
  182. package/dist/order/entities/order-scale-item.entity.js +21 -0
  183. package/dist/order/entities/order-scale-price.entity.d.ts +6 -0
  184. package/dist/order/entities/order-scale-price.entity.js +21 -0
  185. package/dist/order/entities/order-total.entity.d.ts +8 -0
  186. package/dist/order/entities/order-total.entity.js +24 -0
  187. package/dist/order/entities/order.entity.d.ts +27 -0
  188. package/dist/order/entities/order.entity.js +38 -0
  189. package/dist/order/enums/index.d.ts +1 -0
  190. package/dist/order/enums/index.js +6 -0
  191. package/dist/order/index.d.ts +3 -0
  192. package/dist/order/index.js +19 -0
  193. package/dist/order/interfaces/i-order-additional-fee.d.ts +4 -0
  194. package/dist/order/interfaces/i-order-additional-fee.js +2 -0
  195. package/dist/order/interfaces/i-order-benefits-sponsor-ship.d.ts +4 -0
  196. package/dist/order/interfaces/i-order-benefits-sponsor-ship.js +2 -0
  197. package/dist/order/interfaces/i-order-benefits.d.ts +9 -0
  198. package/dist/order/interfaces/i-order-benefits.js +2 -0
  199. package/dist/order/interfaces/i-order-cancellation.d.ts +5 -0
  200. package/dist/order/interfaces/i-order-cancellation.js +2 -0
  201. package/dist/order/interfaces/i-order-customer-phone.d.ts +6 -0
  202. package/dist/order/interfaces/i-order-customer-phone.js +2 -0
  203. package/dist/order/interfaces/i-order-customer.d.ts +10 -0
  204. package/dist/order/interfaces/i-order-customer.js +2 -0
  205. package/dist/order/interfaces/i-order-item-composition.d.ts +8 -0
  206. package/dist/order/interfaces/i-order-item-composition.js +2 -0
  207. package/dist/order/interfaces/i-order-item-option.d.ts +17 -0
  208. package/dist/order/interfaces/i-order-item-option.js +2 -0
  209. package/dist/order/interfaces/i-order-item.d.ts +25 -0
  210. package/dist/order/interfaces/i-order-item.js +2 -0
  211. package/dist/order/interfaces/i-order-payment-card.d.ts +3 -0
  212. package/dist/order/interfaces/i-order-payment-card.js +2 -0
  213. package/dist/order/interfaces/i-order-payment-cash.d.ts +3 -0
  214. package/dist/order/interfaces/i-order-payment-cash.js +2 -0
  215. package/dist/order/interfaces/i-order-payment-method.d.ts +18 -0
  216. package/dist/order/interfaces/i-order-payment-method.js +2 -0
  217. package/dist/order/interfaces/i-order-payment-pix.d.ts +4 -0
  218. package/dist/order/interfaces/i-order-payment-pix.js +2 -0
  219. package/dist/order/interfaces/i-order-payment-wallet.d.ts +3 -0
  220. package/dist/order/interfaces/i-order-payment-wallet.js +2 -0
  221. package/dist/order/interfaces/i-order-payment.d.ts +6 -0
  222. package/dist/order/interfaces/i-order-payment.js +2 -0
  223. package/dist/order/interfaces/i-order-scale-item.d.ts +4 -0
  224. package/dist/order/interfaces/i-order-scale-item.js +2 -0
  225. package/dist/order/interfaces/i-order-scale-price.d.ts +5 -0
  226. package/dist/order/interfaces/i-order-scale-price.js +2 -0
  227. package/dist/order/interfaces/i-order-total.d.ts +12 -0
  228. package/dist/order/interfaces/i-order-total.js +2 -0
  229. package/dist/order/interfaces/i-order.d.ts +26 -0
  230. package/dist/order/interfaces/i-order.js +2 -0
  231. package/dist/order/interfaces/index.d.ts +19 -0
  232. package/dist/order/interfaces/index.js +2 -0
  233. package/dist/package.json +2 -4
  234. package/dist/purchases/entities/app-info.entity.d.ts +6 -0
  235. package/dist/purchases/entities/app-info.entity.js +22 -0
  236. package/dist/purchases/entities/index.d.ts +2 -0
  237. package/dist/purchases/entities/index.js +7 -0
  238. package/dist/purchases/entities/purchase.entity.d.ts +10 -0
  239. package/dist/purchases/entities/purchase.entity.js +44 -0
  240. package/dist/purchases/index.d.ts +2 -3
  241. package/dist/purchases/index.js +16 -1
  242. package/dist/purchases/interfaces/i-purchase.d.ts +7 -15
  243. package/dist/purchases/interfaces/index.d.ts +2 -0
  244. package/dist/purchases/interfaces/index.js +2 -0
  245. package/package.json +2 -4
  246. package/tsconfig.json +3 -3
  247. package/dist/esm2022/general/interfaces/i-payment-tokens-data.mjs +0 -3
  248. package/dist/esm2022/general/interfaces/i-payment-tokens.mjs +0 -3
  249. package/dist/esm2022/purchases/interfaces/i-payment-details.mjs +0 -2
  250. package/dist/purchases/interfaces/i-payment-details.d.ts +0 -17
  251. /package/dist/{general/interfaces/i-mobyo-server-api.js → company/interfaces/index.js} +0 -0
  252. /package/dist/general/interfaces/{i-mobyo-server-api.d.ts → i-mobyo-api-config.d.ts} +0 -0
  253. /package/dist/{purchases/interfaces/i-payment-details.js → general/interfaces/i-mobyo-api-config.js} +0 -0
  254. /package/dist/general/interfaces/{i-payment-tokens-data.d.ts → i-payment-token-data.d.ts} +0 -0
  255. /package/dist/general/interfaces/{i-payment-tokens-data.js → i-payment-token-data.js} +0 -0
  256. /package/dist/general/interfaces/{i-payment-tokens.js → i-payment-token.js} +0 -0
  257. /package/dist/{general/enums/order-satus.enum.d.ts → order/enums/order-status.enum.d.ts} +0 -0
  258. /package/dist/{general/enums/order-satus.enum.js → order/enums/order-status.enum.js} +0 -0
@@ -0,0 +1,38 @@
1
+ import { DocTypeEnum } from '../../general';
2
+ import { AddressEntity } from '../../general/entities/address.entity';
3
+ import { DeliveryAreaEntity } from '../../general/entities/delivery-area.entity';
4
+ import { DeliveryAreaFixedEntity } from '../../general/entities/dellivery-area-fixed.entity';
5
+ import { MessagerChannelEntity } from '../../general/entities/messager-channel.entity';
6
+ import { MobyoApiConfigEntity } from '../../general/entities/mobyo-apiconfig.entity';
7
+ import { OriginEntity } from '../../general/entities/origin.entity';
8
+ import { PaymentMethodEntity } from '../../general/entities/payment-method.entity';
9
+ import { PaymentProviderEntity } from '../../general/entities/payment-provider.entity';
10
+ export declare class CompanyEntity {
11
+ active: boolean;
12
+ address: AddressEntity;
13
+ bgImageURL?: string;
14
+ config: MobyoApiConfigEntity;
15
+ containerId: string;
16
+ createdAt: number;
17
+ deliveryArea: DeliveryAreaEntity[];
18
+ deliveryAreaFixed?: DeliveryAreaFixedEntity | null;
19
+ doc: string;
20
+ docType: DocTypeEnum;
21
+ email: string;
22
+ fullName: string;
23
+ id: string;
24
+ imageURL?: string;
25
+ internationalCode: string;
26
+ logoURL?: string;
27
+ messagerChannels: MessagerChannelEntity[];
28
+ name: string;
29
+ origin: OriginEntity;
30
+ paymentProvider: PaymentProviderEntity;
31
+ paymentsMethods: PaymentMethodEntity[];
32
+ phoneNumber: string;
33
+ pubsubTopic: string;
34
+ sandbox: boolean;
35
+ updatedAt: number;
36
+ version: string;
37
+ constructor(data?: Partial<CompanyEntity>);
38
+ }
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CompanyEntity = void 0;
4
+ var general_1 = require("../../general");
5
+ var address_entity_1 = require("../../general/entities/address.entity");
6
+ var mobyo_apiconfig_entity_1 = require("../../general/entities/mobyo-apiconfig.entity");
7
+ var origin_entity_1 = require("../../general/entities/origin.entity");
8
+ var payment_provider_entity_1 = require("../../general/entities/payment-provider.entity");
9
+ var CompanyEntity = /** @class */ (function () {
10
+ // #endregion Properties (26)
11
+ // #region Constructors (1)
12
+ function CompanyEntity(data) {
13
+ // #region Properties (26)
14
+ this.active = false;
15
+ this.address = new address_entity_1.AddressEntity();
16
+ this.bgImageURL = '';
17
+ this.config = new mobyo_apiconfig_entity_1.MobyoApiConfigEntity();
18
+ this.containerId = '';
19
+ this.createdAt = Date.now();
20
+ this.deliveryArea = [];
21
+ this.deliveryAreaFixed = null;
22
+ this.doc = '';
23
+ this.docType = general_1.DocTypeEnum.CNPJ;
24
+ this.email = '';
25
+ this.fullName = '';
26
+ this.id = '';
27
+ this.imageURL = '';
28
+ this.internationalCode = '+55';
29
+ this.logoURL = '';
30
+ this.messagerChannels = [];
31
+ this.name = '';
32
+ this.origin = new origin_entity_1.OriginEntity();
33
+ this.paymentProvider = new payment_provider_entity_1.PaymentProviderEntity();
34
+ this.paymentsMethods = [];
35
+ this.phoneNumber = '';
36
+ this.pubsubTopic = '';
37
+ this.sandbox = false;
38
+ this.updatedAt = 0;
39
+ this.version = '1.0.0';
40
+ if (data) {
41
+ for (var key in data) {
42
+ if (data.hasOwnProperty(key) && key in this) {
43
+ this[key] = data[key];
44
+ }
45
+ }
46
+ }
47
+ }
48
+ return CompanyEntity;
49
+ }());
50
+ exports.CompanyEntity = CompanyEntity;
@@ -0,0 +1 @@
1
+ export { CompanyEntity } from './company.entity';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ // index.ts
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.CompanyEntity = void 0;
5
+ var company_entity_1 = require("./company.entity");
6
+ Object.defineProperty(exports, "CompanyEntity", { enumerable: true, get: function () { return company_entity_1.CompanyEntity; } });
@@ -0,0 +1,2 @@
1
+ export { CompanyKeysEnum } from './keys.enum';
2
+ export { CompanyMessageTypeEnum } from './message-type.enum';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ // index.ts
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.CompanyMessageTypeEnum = exports.CompanyKeysEnum = void 0;
5
+ var keys_enum_1 = require("./keys.enum");
6
+ Object.defineProperty(exports, "CompanyKeysEnum", { enumerable: true, get: function () { return keys_enum_1.CompanyKeysEnum; } });
7
+ var message_type_enum_1 = require("./message-type.enum");
8
+ Object.defineProperty(exports, "CompanyMessageTypeEnum", { enumerable: true, get: function () { return message_type_enum_1.CompanyMessageTypeEnum; } });
@@ -1,3 +1,3 @@
1
- export { CompanyKeysEnum } from './enums/keys.enum';
2
- export { CompanyMessageTypeEnum } from './enums/message-type.enum';
3
- export { ICompany } from './interfaces/i-company';
1
+ export * from './entities';
2
+ export * from './enums';
3
+ export * from './interfaces';
@@ -1,8 +1,19 @@
1
1
  "use strict";
2
- // index.ts
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
+ };
3
16
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.CompanyMessageTypeEnum = exports.CompanyKeysEnum = void 0;
5
- var keys_enum_1 = require("./enums/keys.enum");
6
- Object.defineProperty(exports, "CompanyKeysEnum", { enumerable: true, get: function () { return keys_enum_1.CompanyKeysEnum; } });
7
- var message_type_enum_1 = require("./enums/message-type.enum");
8
- Object.defineProperty(exports, "CompanyMessageTypeEnum", { enumerable: true, get: function () { return message_type_enum_1.CompanyMessageTypeEnum; } });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./enums"), exports);
19
+ __exportStar(require("./interfaces"), exports);
@@ -0,0 +1 @@
1
+ export { ICompany } from './i-company';
@@ -0,0 +1,19 @@
1
+ import { DeviceModeEnum } from '../enums/device-mode.enum';
2
+ import { IDevice } from '../interfaces/i-device';
3
+ import { MetadataEntity } from './metadata.entity';
4
+ export declare class DeviceEntity implements IDevice {
5
+ active: boolean;
6
+ companyId: string;
7
+ containerId: string;
8
+ createdAt: number;
9
+ deviceId: string;
10
+ id: string;
11
+ key: string;
12
+ lastAccess: number;
13
+ metadata: MetadataEntity;
14
+ mode: DeviceModeEnum;
15
+ name: string;
16
+ topicSubscriptions: string[];
17
+ updatedAt: number;
18
+ constructor(data?: Partial<DeviceEntity>);
19
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeviceEntity = void 0;
4
+ var device_mode_enum_1 = require("../enums/device-mode.enum");
5
+ var metadata_entity_1 = require("./metadata.entity");
6
+ var DeviceEntity = /** @class */ (function () {
7
+ // #endregion Properties (13)
8
+ // #region Constructors (1)
9
+ function DeviceEntity(data) {
10
+ // #region Properties (13)
11
+ this.active = false;
12
+ this.companyId = '';
13
+ this.containerId = '';
14
+ this.createdAt = 0;
15
+ this.deviceId = '';
16
+ this.id = '';
17
+ this.key = '';
18
+ 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
+ this.name = '';
23
+ this.topicSubscriptions = [];
24
+ this.updatedAt = 0;
25
+ if (data) {
26
+ for (var key in data) {
27
+ if (data.hasOwnProperty(key) && key in this) {
28
+ this[key] = data[key];
29
+ }
30
+ }
31
+ }
32
+ }
33
+ return DeviceEntity;
34
+ }());
35
+ exports.DeviceEntity = DeviceEntity;
@@ -0,0 +1,3 @@
1
+ export { DeviceEntity } from './device.entity';
2
+ export { MetadataEntity } from './metadata.entity';
3
+ export { NatiGoEntity } from './natigo.entity';
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ // index.ts
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.NatiGoEntity = exports.MetadataEntity = exports.DeviceEntity = void 0;
5
+ var device_entity_1 = require("./device.entity");
6
+ Object.defineProperty(exports, "DeviceEntity", { enumerable: true, get: function () { return device_entity_1.DeviceEntity; } });
7
+ var metadata_entity_1 = require("./metadata.entity");
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,6 @@
1
+ import { IDeviceMetadata } from '../interfaces/i-device-metadata';
2
+ import { NatiGoEntity } from './natigo.entity';
3
+ export declare class MetadataEntity implements IDeviceMetadata {
4
+ natigo: NatiGoEntity;
5
+ constructor(data?: Partial<MetadataEntity>);
6
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MetadataEntity = void 0;
4
+ var natigo_entity_1 = require("./natigo.entity");
5
+ var MetadataEntity = /** @class */ (function () {
6
+ // #endregion Properties (1)
7
+ // #region Constructors (1)
8
+ function MetadataEntity(data) {
9
+ // #region Properties (1)
10
+ this.natigo = new natigo_entity_1.NatiGoEntity();
11
+ if (data) {
12
+ for (var key in data) {
13
+ if (data.hasOwnProperty(key) && key in this) {
14
+ this[key] = data[key];
15
+ }
16
+ }
17
+ }
18
+ }
19
+ return MetadataEntity;
20
+ }());
21
+ exports.MetadataEntity = MetadataEntity;
@@ -0,0 +1,8 @@
1
+ import { INatigo } from '../interfaces/i-natigo';
2
+ export declare class NatiGoEntity implements INatigo {
3
+ isForAdultsOnly: boolean;
4
+ logoUrl: string;
5
+ openLockRequired: boolean;
6
+ siteDescription: string;
7
+ constructor(data?: Partial<NatiGoEntity>);
8
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NatiGoEntity = void 0;
4
+ var NatiGoEntity = /** @class */ (function () {
5
+ // #endregion Properties (4)
6
+ // #region Constructors (1)
7
+ function NatiGoEntity(data) {
8
+ // #region Properties (4)
9
+ this.isForAdultsOnly = false;
10
+ this.logoUrl = '';
11
+ this.openLockRequired = true;
12
+ this.siteDescription = '';
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 NatiGoEntity;
22
+ }());
23
+ exports.NatiGoEntity = NatiGoEntity;
@@ -0,0 +1 @@
1
+ export { DeviceModeEnum } from './device-mode.enum';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ // index.ts
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.DeviceModeEnum = void 0;
5
+ var device_mode_enum_1 = require("./device-mode.enum");
6
+ Object.defineProperty(exports, "DeviceModeEnum", { enumerable: true, get: function () { return device_mode_enum_1.DeviceModeEnum; } });
@@ -1,4 +1,3 @@
1
- export { DeviceModeEnum } from './enums/device-mode.enum';
2
- export { IDevice } from './interfaces/i-device';
3
- export { IDeviceMetadata } from './interfaces/i-device-metadata';
4
- export { INatigo } from './interfaces/i-natigo';
1
+ export * from './entities';
2
+ export * from './enums';
3
+ export * from './interfaces';
@@ -1,6 +1,19 @@
1
1
  "use strict";
2
- // index.ts
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
+ };
3
16
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.DeviceModeEnum = void 0;
5
- var device_mode_enum_1 = require("./enums/device-mode.enum");
6
- Object.defineProperty(exports, "DeviceModeEnum", { enumerable: true, get: function () { return device_mode_enum_1.DeviceModeEnum; } });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./enums"), exports);
19
+ __exportStar(require("./interfaces"), exports);
@@ -0,0 +1,3 @@
1
+ export { IDevice } from './i-device';
2
+ export { IDeviceMetadata } from './i-device-metadata';
3
+ export { INatigo } from './i-natigo';
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // index.ts
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,46 @@
1
+ import { DocTypeEnum } from '../../general';
2
+ import { AddressEntity } from '../../general/entities/address.entity';
3
+ import { MobyoApiConfigEntity } from '../../general/entities/mobyo-apiconfig.entity';
4
+ import { OriginEntity } from '../../general/entities/origin.entity';
5
+ import { PaymentProviderEntity } from '../../general/entities/payment-provider.entity';
6
+ export class CompanyEntity {
7
+ // #region Properties (26)
8
+ active = false;
9
+ address = new AddressEntity();
10
+ bgImageURL = '';
11
+ config = new MobyoApiConfigEntity();
12
+ containerId = '';
13
+ createdAt = Date.now();
14
+ deliveryArea = [];
15
+ deliveryAreaFixed = null;
16
+ doc = '';
17
+ docType = DocTypeEnum.CNPJ;
18
+ email = '';
19
+ fullName = '';
20
+ id = '';
21
+ imageURL = '';
22
+ internationalCode = '+55';
23
+ logoURL = '';
24
+ messagerChannels = [];
25
+ name = '';
26
+ origin = new OriginEntity();
27
+ paymentProvider = new PaymentProviderEntity();
28
+ paymentsMethods = [];
29
+ phoneNumber = '';
30
+ pubsubTopic = '';
31
+ sandbox = false;
32
+ updatedAt = 0;
33
+ version = '1.0.0';
34
+ // #endregion Properties (26)
35
+ // #region Constructors (1)
36
+ constructor(data) {
37
+ if (data) {
38
+ for (let key in data) {
39
+ if (data.hasOwnProperty(key) && key in this) {
40
+ this[key] = data[key];
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGFueS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29tcGFueS9lbnRpdGllcy9jb21wYW55LmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzVDLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQztBQUl0RSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwrQ0FBK0MsQ0FBQztBQUNyRixPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sc0NBQXNDLENBQUM7QUFFcEUsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sZ0RBQWdELENBQUM7QUFFdkYsTUFBTSxPQUFPLGFBQWE7SUFDdEIsMEJBQTBCO0lBRW5CLE1BQU0sR0FBWSxLQUFLLENBQUM7SUFDeEIsT0FBTyxHQUFrQixJQUFJLGFBQWEsRUFBRSxDQUFDO0lBQ3BELFVBQVUsR0FBWSxFQUFFLENBQUM7SUFDbEIsTUFBTSxHQUF5QixJQUFJLG9CQUFvQixFQUFFLENBQUM7SUFDMUQsV0FBVyxHQUFXLEVBQUUsQ0FBQztJQUN6QixTQUFTLEdBQVcsSUFBSSxDQUFDLEdBQUcsRUFBRSxDQUFDO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gPSBuZXcgT3JpZ2luRW50aXR5KCk7XG4gICAgcHVibGljIHBheW1lbnRQcm92aWRlcjogUGF5bWVudFByb3ZpZGVyRW50aXR5ID0gbmV3IFBheW1lbnRQcm92aWRlckVudGl0eSgpO1xuICAgIHB1YmxpYyBwYXltZW50c01ldGhvZHM6IFBheW1lbnRNZXRob2RFbnRpdHlbXSA9IFtdO1xuICAgIHB1YmxpYyBwaG9uZU51bWJlcjogc3RyaW5nID0gJyc7XG4gICAgcHVibGljIHB1YnN1YlRvcGljOiBzdHJpbmcgPSAnJztcbiAgICBwdWJsaWMgc2FuZGJveDogYm9vbGVhbiA9IGZhbHNlO1xuICAgIHB1YmxpYyB1cGRhdGVkQXQ6IG51bWJlciA9IDA7XG4gICAgcHVibGljIHZlcnNpb246IHN0cmluZyA9ICcxLjAuMCc7XG5cbiAgICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDI2KVxuXG4gICAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxDb21wYW55RW50aXR5Pikge1xuICAgICAgICBpZiAoZGF0YSkge1xuICAgICAgICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
@@ -0,0 +1,3 @@
1
+ // index.ts
2
+ export { CompanyEntity } from './company.entity';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29tcGFueS9lbnRpdGllcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxXQUFXO0FBRVgsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGtCQUFrQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLy8gaW5kZXgudHNcblxuZXhwb3J0IHsgQ29tcGFueUVudGl0eSB9IGZyb20gJy4vY29tcGFueS5lbnRpdHknO1xuXG5cbiJdfQ==
@@ -0,0 +1,4 @@
1
+ // index.ts
2
+ export { CompanyKeysEnum } from './keys.enum';
3
+ export { CompanyMessageTypeEnum } from './message-type.enum';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29tcGFueS9lbnVtcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxXQUFXO0FBRVgsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUM5QyxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8vIGluZGV4LnRzXG5cbmV4cG9ydCB7IENvbXBhbnlLZXlzRW51bSB9IGZyb20gJy4va2V5cy5lbnVtJztcbmV4cG9ydCB7IENvbXBhbnlNZXNzYWdlVHlwZUVudW0gfSBmcm9tICcuL21lc3NhZ2UtdHlwZS5lbnVtJztcblxuXG5cbiJdfQ==
@@ -1,4 +1,4 @@
1
- // index.ts
2
- export { CompanyKeysEnum } from './enums/keys.enum';
3
- export { CompanyMessageTypeEnum } from './enums/message-type.enum';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29tcGFueS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxXQUFXO0FBRVgsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ3BELE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLDJCQUEyQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLy8gaW5kZXgudHNcblxuZXhwb3J0IHsgQ29tcGFueUtleXNFbnVtIH0gZnJvbSAnLi9lbnVtcy9rZXlzLmVudW0nO1xuZXhwb3J0IHsgQ29tcGFueU1lc3NhZ2VUeXBlRW51bSB9IGZyb20gJy4vZW51bXMvbWVzc2FnZS10eXBlLmVudW0nO1xuZXhwb3J0IHsgSUNvbXBhbnkgfSBmcm9tICcuL2ludGVyZmFjZXMvaS1jb21wYW55JztcblxuIl19
1
+ export * from './entities';
2
+ export * from './enums';
3
+ export * from './interfaces';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29tcGFueS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLFNBQVMsQ0FBQztBQUN4QixjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZW50aXRpZXMnO1xuZXhwb3J0ICogZnJvbSAnLi9lbnVtcyc7XG5leHBvcnQgKiBmcm9tICcuL2ludGVyZmFjZXMnO1xuXG4iXX0=
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29tcGFueS9pbnRlcmZhY2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBJQ29tcGFueSB9IGZyb20gJy4vaS1jb21wYW55JztcbiJdfQ==
@@ -0,0 +1,31 @@
1
+ import { DeviceModeEnum } from '../enums/device-mode.enum';
2
+ import { MetadataEntity } from './metadata.entity';
3
+ export class DeviceEntity {
4
+ // #region Properties (13)
5
+ active = false;
6
+ companyId = '';
7
+ containerId = '';
8
+ createdAt = 0;
9
+ deviceId = '';
10
+ id = '';
11
+ key = '';
12
+ lastAccess = 0;
13
+ // Supondo que INatiGo tenha propriedades que você queira documentar
14
+ metadata = new MetadataEntity();
15
+ mode = DeviceModeEnum.natigo;
16
+ name = '';
17
+ topicSubscriptions = [];
18
+ updatedAt = 0;
19
+ // #endregion Properties (13)
20
+ // #region Constructors (1)
21
+ constructor(data) {
22
+ if (data) {
23
+ for (let key in data) {
24
+ if (data.hasOwnProperty(key) && key in this) {
25
+ this[key] = data[key];
26
+ }
27
+ }
28
+ }
29
+ }
30
+ }
31
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGV2aWNlLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9kZXZpY2UvZW50aXRpZXMvZGV2aWNlLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFFM0QsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBRW5ELE1BQU0sT0FBTyxZQUFZO0lBQ3JCLDBCQUEwQjtJQUVuQixNQUFNLEdBQVksS0FBS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AgICAgICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICAgICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAgICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cblxuICAgIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
@@ -0,0 +1,5 @@
1
+ // index.ts
2
+ export { DeviceEntity } from './device.entity';
3
+ export { MetadataEntity } from './metadata.entity';
4
+ export { NatiGoEntity } from './natigo.entity';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZGV2aWNlL2VudGl0aWVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFdBQVc7QUFFWCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ25ELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8vIGluZGV4LnRzXG5cbmV4cG9ydCB7IERldmljZUVudGl0eSB9IGZyb20gJy4vZGV2aWNlLmVudGl0eSc7XG5leHBvcnQgeyBNZXRhZGF0YUVudGl0eSB9IGZyb20gJy4vbWV0YWRhdGEuZW50aXR5JztcbmV4cG9ydCB7IE5hdGlHb0VudGl0eSB9IGZyb20gJy4vbmF0aWdvLmVudGl0eSc7XG5cblxuXG4iXX0=
@@ -0,0 +1,17 @@
1
+ import { NatiGoEntity } from './natigo.entity';
2
+ export class MetadataEntity {
3
+ // #region Properties (1)
4
+ natigo = new NatiGoEntity();
5
+ // #endregion Properties (1)
6
+ // #region Constructors (1)
7
+ constructor(data) {
8
+ if (data) {
9
+ for (let key in data) {
10
+ if (data.hasOwnProperty(key) && key in this) {
11
+ this[key] = data[key];
12
+ }
13
+ }
14
+ }
15
+ }
16
+ }
17
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWV0YWRhdGEuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2RldmljZS9lbnRpdGllcy9tZXRhZGF0YS5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBRS9DLE1BQU0sT0FBTyxjQUFjO0lBQ3ZCLHlCQUF5QjtJQUVsQixNQUFNLEdBQWlCLElBQUksWUFBWSxFQUFFLENBQUM7SUFFakQsNEJBQTRCO0lBRTVCLDJCQUEyQjtJQUUzQixZQUFZLElBQThCO1FBQ3RDLElBQUksSUFBSSxFQUFFO1lBQ04sS0FBSyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7Z0JBQ2xCLElBQUksSUFBSSxDQUFDLGNBQWMsQ0FBQyxHQUFHLENBQUMsSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO29CQUN4QyxJQUFZLENBQUMsR0FBRyxDQUFDLEdBQUksSUFBWSxDQUFDLEdBQUcsQ0FBQyxDQUFDO2lCQUMzQzthQUNKO1NBQ0o7SUFDTCxDQUFDO0NBR0oiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJRGV2aWNlTWV0YWRhdGEgfSBmcm9tICcuLi9pbnRlcmZhY2VzL2ktZGV2aWNlLW1ldGFkYXRhJztcbmltcG9ydCB7IE5hdGlHb0VudGl0eSB9IGZyb20gJy4vbmF0aWdvLmVudGl0eSc7XG5cbmV4cG9ydCBjbGFzcyBNZXRhZGF0YUVudGl0eSBpbXBsZW1lbnRzIElEZXZpY2VNZXRhZGF0YSB7XG4gICAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICgxKVxuXG4gICAgcHVibGljIG5hdGlnbzogTmF0aUdvRW50aXR5ID0gbmV3IE5hdGlHb0VudGl0eSgpO1xuXG4gICAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgxKVxuXG4gICAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxNZXRhZGF0YUVudGl0eT4pIHtcbiAgICAgICAgaWYgKGRhdGEpIHtcbiAgICAgICAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgICAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF0aWdvLmV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ZXNjcmlwdGlvbjogc3RyaW5nID0gJyc7XG5cbiAgICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDQpXG5cbiAgICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICAgIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPE5hdGlHb0VudGl0eT4pIHtcbiAgICAgICAgaWYgKGRhdGEpIHtcbiAgICAgICAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgICAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
@@ -0,0 +1,3 @@
1
+ // index.ts
2
+ export { DeviceModeEnum } from './device-mode.enum';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZGV2aWNlL2VudW1zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFdBQVc7QUFFWCxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sb0JBQW9CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBpbmRleC50c1xuXG5leHBvcnQgeyBEZXZpY2VNb2RlRW51bSB9IGZyb20gJy4vZGV2aWNlLW1vZGUuZW51bSc7XG5cbiJdfQ==
@@ -1,3 +1,4 @@
1
- // index.ts
2
- export { DeviceModeEnum } from './enums/device-mode.enum';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZGV2aWNlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFdBQVc7QUFFWCxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sMEJBQTBCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBpbmRleC50c1xuXG5leHBvcnQgeyBEZXZpY2VNb2RlRW51bSB9IGZyb20gJy4vZW51bXMvZGV2aWNlLW1vZGUuZW51bSc7XG5leHBvcnQgeyBJRGV2aWNlIH0gZnJvbSAnLi9pbnRlcmZhY2VzL2ktZGV2aWNlJztcbmV4cG9ydCB7IElEZXZpY2VNZXRhZGF0YSB9IGZyb20gJy4vaW50ZXJmYWNlcy9pLWRldmljZS1tZXRhZGF0YSc7XG5leHBvcnQgeyBJTmF0aWdvIH0gZnJvbSAnLi9pbnRlcmZhY2VzL2ktbmF0aWdvJztcblxuIl19
1
+ export * from './entities';
2
+ export * from './enums';
3
+ export * from './interfaces';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZGV2aWNlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsU0FBUyxDQUFDO0FBQ3hCLGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9lbnRpdGllcyc7XG5leHBvcnQgKiBmcm9tICcuL2VudW1zJztcbmV4cG9ydCAqIGZyb20gJy4vaW50ZXJmYWNlcyc7XG4iXX0=
@@ -0,0 +1,3 @@
1
+ // index.ts
2
+ export {};
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZGV2aWNlL2ludGVyZmFjZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsV0FBVyIsInNvdXJjZXNDb250ZW50IjpbIi8vIGluZGV4LnRzXG5cbmV4cG9ydCB7IElEZXZpY2UgfSBmcm9tICcuL2ktZGV2aWNlJztcbmV4cG9ydCB7IElEZXZpY2VNZXRhZGF0YSB9IGZyb20gJy4vaS1kZXZpY2UtbWV0YWRhdGEnO1xuZXhwb3J0IHsgSU5hdGlnbyB9IGZyb20gJy4vaS1uYXRpZ28nO1xuXG5cbiJdfQ==
@@ -0,0 +1,24 @@
1
+ import { CoordsEntity } from './coords.entity';
2
+ export class AddressEntity {
3
+ // #region Properties (7)
4
+ city = '';
5
+ complement = '';
6
+ neighborhood = '';
7
+ postalCode = '';
8
+ state = '';
9
+ streetName = '';
10
+ streetNumber = '';
11
+ coords = new CoordsEntity();
12
+ // #endregion Properties (7)
13
+ // #region Constructors (1)
14
+ constructor(data) {
15
+ if (data) {
16
+ for (let key in data) {
17
+ if (data.hasOwnProperty(key) && key in this) {
18
+ this[key] = data[key];
19
+ }
20
+ }
21
+ }
22
+ }
23
+ }
24
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkcmVzcy5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9lbnRpdGllcy9hZGRyZXNzLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFFL0MsTUFBTSxPQUFPLGFBQWE7SUFDdEIseUJBQXlCO0lBRWxCLElBQUksR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zdHJlZXROdW1iZXI6IHN0cmluZyA9ICcnO1xuICAgIHB1YmxpYyBjb29yZHM6IENvb3Jkc0VudGl0eSA9IG5ldyBDb29yZHNFbnRpdHkoKTtcblxuICAgIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNylcblxuICAgIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxuXG4gICAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8QWRkcmVzc0VudGl0eT4pIHtcbiAgICAgICAgaWYgKGRhdGEpIHtcbiAgICAgICAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgICAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
@@ -0,0 +1,14 @@
1
+ export class CoordsEntity {
2
+ latitude = 0;
3
+ longitude = 0;
4
+ constructor(data) {
5
+ if (data) {
6
+ for (let key in data) {
7
+ if (data.hasOwnProperty(key) && key in this) {
8
+ this[key] = data[key];
9
+ }
10
+ }
11
+ }
12
+ }
13
+ }
14
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29vcmRzLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9nZW5lcmFsL2VudGl0aWVzL2Nvb3Jkcy5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsTUFBTSxPQUFPLFlBQVk7SUFFckIsUUFBUSxHQUFXLENBQUMsQ0FBQztJQUVyQixTQUFTLEdBQVcsQ0FBQyxDQUFDO0lBRXRCLFlBQVksSUFBNEI7UUFDcEMsSUFBSSxJQUFJLEVBQUU7WUFDTixLQUFLLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtnQkFDbEIsSUFBSSxJQUFJLENBQUMsY0FBYyxDQUFDLEdBQUcsQ0FBQyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7b0JBQ3hDLElBQVksQ0FBQyxHQUFHLENBQUMsR0FBSSxJQUFZLENBQUMsR0FBRyxDQUFDLENBQUM7aUJBQzNDO2FBQ0o7U0FDSjtJQUNMLENBQUM7Q0FDSiIsInNvdXJjZXNDb250ZW50IjpbIlxuZXhwb3J0IGNsYXNzIENvb3Jkc0VudGl0eSB7XG5cbiAgICBsYXRpdHVkZTogbnVtYmVyID0gMDtcblxuICAgIGxvbmdpdHVkZTogbnVtYmVyID0gMDtcblxuICAgIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPENvb3Jkc0VudGl0eT4pIHtcbiAgICAgICAgaWYgKGRhdGEpIHtcbiAgICAgICAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgICAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxufVxuIl19
@@ -0,0 +1,23 @@
1
+ export class DeliveryAreaEntity {
2
+ // #region Properties (8)
3
+ deliveryFee = 0;
4
+ id = '';
5
+ latlngs = [];
6
+ maxTime = 0;
7
+ minTime = 0;
8
+ minimumOrderValue = 0;
9
+ name = '';
10
+ sequence = 0;
11
+ // #endregion Properties (8)
12
+ // #region Constructors (1)
13
+ constructor(data) {
14
+ if (data) {
15
+ for (let key in data) {
16
+ if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