cecon-interfaces 1.0.15 → 1.0.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (260) hide show
  1. package/dist/company/entities/company.entity.d.ts +39 -0
  2. package/dist/company/entities/company.entity.js +51 -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/i-company.d.ts +1 -0
  10. package/dist/company/interfaces/index.d.ts +1 -0
  11. package/dist/device/entities/device.entity.d.ts +19 -0
  12. package/dist/device/entities/device.entity.js +35 -0
  13. package/dist/device/entities/index.d.ts +3 -0
  14. package/dist/device/entities/index.js +10 -0
  15. package/dist/device/entities/metadata.entity.d.ts +6 -0
  16. package/dist/device/entities/metadata.entity.js +21 -0
  17. package/dist/device/entities/natigo.entity.d.ts +8 -0
  18. package/dist/device/entities/natigo.entity.js +23 -0
  19. package/dist/device/enums/index.d.ts +1 -0
  20. package/dist/device/enums/index.js +6 -0
  21. package/dist/device/index.d.ts +3 -4
  22. package/dist/device/index.js +17 -4
  23. package/dist/device/interfaces/index.d.ts +3 -0
  24. package/dist/device/interfaces/index.js +3 -0
  25. package/dist/esm2022/company/entities/company.entity.mjs +47 -0
  26. package/dist/esm2022/company/entities/index.mjs +3 -0
  27. package/dist/esm2022/company/enums/index.mjs +4 -0
  28. package/dist/esm2022/company/index.mjs +4 -4
  29. package/dist/esm2022/company/interfaces/i-company.mjs +1 -1
  30. package/dist/esm2022/company/interfaces/index.mjs +2 -0
  31. package/dist/esm2022/device/entities/device.entity.mjs +31 -0
  32. package/dist/esm2022/device/entities/index.mjs +5 -0
  33. package/dist/esm2022/device/entities/metadata.entity.mjs +17 -0
  34. package/dist/esm2022/device/entities/natigo.entity.mjs +19 -0
  35. package/dist/esm2022/device/enums/index.mjs +3 -0
  36. package/dist/esm2022/device/index.mjs +4 -3
  37. package/dist/esm2022/device/interfaces/index.mjs +3 -0
  38. package/dist/esm2022/general/entities/address.entity.mjs +24 -0
  39. package/dist/esm2022/general/entities/coords.entity.mjs +14 -0
  40. package/dist/esm2022/general/entities/delivery-area.entity.mjs +23 -0
  41. package/dist/esm2022/general/entities/dellivery-area-fixed.entity.mjs +20 -0
  42. package/dist/esm2022/general/entities/index.mjs +13 -0
  43. package/dist/esm2022/general/entities/messager-channel.entity.mjs +18 -0
  44. package/dist/esm2022/general/entities/mobyo-apiconfig.entity.mjs +21 -0
  45. package/dist/esm2022/general/entities/origin.entity.mjs +22 -0
  46. package/dist/esm2022/general/entities/payment-method.entity.mjs +31 -0
  47. package/dist/esm2022/general/entities/payment-provider-agent.entity.mjs +17 -0
  48. package/dist/esm2022/general/entities/payment-provider.entity.mjs +29 -0
  49. package/dist/esm2022/general/entities/payment-token-data.entity.mjs +22 -0
  50. package/dist/esm2022/general/entities/payment-token.entity.mjs +21 -0
  51. package/dist/esm2022/general/enums/index.mjs +7 -0
  52. package/dist/esm2022/general/enums/payment-type.enum.mjs +2 -1
  53. package/dist/esm2022/general/index.mjs +4 -7
  54. package/dist/esm2022/general/interfaces/i-address.mjs +1 -1
  55. package/dist/esm2022/general/interfaces/{i-mobyo-server-api.mjs → i-mobyo-api-config.mjs} +1 -1
  56. package/dist/esm2022/general/interfaces/i-payment-provider.mjs +1 -1
  57. package/dist/esm2022/general/interfaces/i-payment-token-data.mjs +3 -0
  58. package/dist/esm2022/general/interfaces/i-payment-token.mjs +3 -0
  59. package/dist/esm2022/general/interfaces/index.mjs +3 -0
  60. package/dist/esm2022/index.mjs +2 -2
  61. package/dist/esm2022/order/entities/index.mjs +20 -0
  62. package/dist/esm2022/order/entities/order-additional-fees.entity.mjs +17 -0
  63. package/dist/esm2022/order/entities/order-benefits-sponsor-ship.entity.mjs +17 -0
  64. package/dist/esm2022/order/entities/order-benefits.entity.mjs +21 -0
  65. package/dist/esm2022/order/entities/order-cancellation.entity.mjs +18 -0
  66. package/dist/esm2022/order/entities/order-customer-phone.entity.mjs +19 -0
  67. package/dist/esm2022/order/entities/order-customer.entity.mjs +23 -0
  68. package/dist/esm2022/order/entities/order-item-composition.entity.mjs +21 -0
  69. package/dist/esm2022/order/entities/order-item-option.entity.mjs +30 -0
  70. package/dist/esm2022/order/entities/order-item.entity.mjs +36 -0
  71. package/dist/esm2022/order/entities/order-payment-card.entity.mjs +16 -0
  72. package/dist/esm2022/order/entities/order-payment-cash.entity.mjs +16 -0
  73. package/dist/esm2022/order/entities/order-payment-method.entity.mjs +27 -0
  74. package/dist/esm2022/order/entities/order-payment-pix.entity.mjs +17 -0
  75. package/dist/esm2022/order/entities/order-payment-wallet.entity.mjs +16 -0
  76. package/dist/esm2022/order/entities/order-payment.entity.mjs +18 -0
  77. package/dist/esm2022/order/entities/order-scale-item.entity.mjs +17 -0
  78. package/dist/esm2022/order/entities/order-scale-price.entity.mjs +17 -0
  79. package/dist/esm2022/order/entities/order-total.entity.mjs +20 -0
  80. package/dist/esm2022/order/entities/order.entity.mjs +34 -0
  81. package/dist/esm2022/order/enums/index.mjs +3 -0
  82. package/dist/esm2022/{general/enums/order-satus.enum.mjs → order/enums/order-status.enum.mjs} +1 -1
  83. package/dist/esm2022/order/index.mjs +4 -0
  84. package/dist/esm2022/order/interfaces/i-order-additional-fee.mjs +2 -0
  85. package/dist/esm2022/order/interfaces/i-order-benefits-sponsor-ship.mjs +2 -0
  86. package/dist/esm2022/order/interfaces/i-order-benefits.mjs +2 -0
  87. package/dist/esm2022/order/interfaces/i-order-cancellation.mjs +2 -0
  88. package/dist/esm2022/order/interfaces/i-order-customer-phone.mjs +2 -0
  89. package/dist/esm2022/order/interfaces/i-order-customer.mjs +2 -0
  90. package/dist/esm2022/order/interfaces/i-order-item-composition.mjs +2 -0
  91. package/dist/esm2022/order/interfaces/i-order-item-option.mjs +2 -0
  92. package/dist/esm2022/order/interfaces/i-order-item.mjs +2 -0
  93. package/dist/esm2022/order/interfaces/i-order-payment-card.mjs +2 -0
  94. package/dist/esm2022/order/interfaces/i-order-payment-cash.mjs +2 -0
  95. package/dist/esm2022/order/interfaces/i-order-payment-method.mjs +2 -0
  96. package/dist/esm2022/order/interfaces/i-order-payment-pix.mjs +2 -0
  97. package/dist/esm2022/order/interfaces/i-order-payment-wallet.mjs +2 -0
  98. package/dist/esm2022/order/interfaces/i-order-payment.mjs +2 -0
  99. package/dist/esm2022/order/interfaces/i-order-scale-item.mjs +2 -0
  100. package/dist/esm2022/order/interfaces/i-order-scale-price.mjs +2 -0
  101. package/dist/esm2022/order/interfaces/i-order-total.mjs +2 -0
  102. package/dist/esm2022/order/interfaces/i-order.mjs +2 -0
  103. package/dist/esm2022/order/interfaces/index.mjs +2 -0
  104. package/dist/esm2022/purchases/entities/app-info.entity.mjs +18 -0
  105. package/dist/esm2022/purchases/entities/index.mjs +3 -0
  106. package/dist/esm2022/purchases/entities/purchase.entity.mjs +23 -0
  107. package/dist/esm2022/purchases/index.mjs +3 -3
  108. package/dist/esm2022/purchases/interfaces/i-purchase.mjs +1 -1
  109. package/dist/esm2022/purchases/interfaces/index.mjs +2 -0
  110. package/dist/fesm2022/cecon-interfaces.mjs +877 -31
  111. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  112. package/dist/general/entities/address.entity.d.ts +12 -0
  113. package/dist/general/entities/address.entity.js +28 -0
  114. package/dist/general/entities/coords.entity.d.ts +5 -0
  115. package/dist/general/entities/coords.entity.js +18 -0
  116. package/dist/general/entities/delivery-area.entity.d.ts +12 -0
  117. package/dist/general/entities/delivery-area.entity.js +27 -0
  118. package/dist/general/entities/dellivery-area-fixed.entity.d.ts +8 -0
  119. package/dist/general/entities/dellivery-area-fixed.entity.js +24 -0
  120. package/dist/general/entities/index.d.ts +12 -0
  121. package/dist/general/entities/index.js +27 -0
  122. package/dist/general/entities/messager-channel.entity.d.ts +6 -0
  123. package/dist/general/entities/messager-channel.entity.js +22 -0
  124. package/dist/general/entities/mobyo-apiconfig.entity.d.ts +9 -0
  125. package/dist/general/entities/mobyo-apiconfig.entity.js +25 -0
  126. package/dist/general/entities/origin.entity.d.ts +10 -0
  127. package/dist/general/entities/origin.entity.js +26 -0
  128. package/dist/general/entities/payment-method.entity.d.ts +19 -0
  129. package/dist/general/entities/payment-method.entity.js +35 -0
  130. package/dist/general/entities/payment-provider-agent.entity.d.ts +5 -0
  131. package/dist/general/entities/payment-provider-agent.entity.js +21 -0
  132. package/dist/general/entities/payment-provider.entity.d.ts +18 -0
  133. package/dist/general/entities/payment-provider.entity.js +33 -0
  134. package/dist/general/entities/payment-token-data.entity.d.ts +10 -0
  135. package/dist/general/entities/payment-token-data.entity.js +26 -0
  136. package/dist/general/entities/payment-token.entity.d.ts +9 -0
  137. package/dist/general/entities/payment-token.entity.js +25 -0
  138. package/dist/general/enums/index.d.ts +6 -0
  139. package/dist/general/enums/index.js +15 -0
  140. package/dist/general/enums/payment-type.enum.d.ts +1 -0
  141. package/dist/general/enums/payment-type.enum.js +1 -0
  142. package/dist/general/index.d.ts +3 -17
  143. package/dist/general/index.js +17 -12
  144. package/dist/general/interfaces/i-address.d.ts +2 -0
  145. package/dist/general/interfaces/i-payment-provider.d.ts +1 -1
  146. package/dist/general/interfaces/{i-payment-tokens.d.ts → i-payment-token.d.ts} +1 -1
  147. package/dist/general/interfaces/index.d.ts +12 -0
  148. package/dist/general/interfaces/index.js +3 -0
  149. package/dist/index.d.ts +1 -0
  150. package/dist/index.js +1 -1
  151. package/dist/order/entities/index.d.ts +19 -0
  152. package/dist/order/entities/index.js +41 -0
  153. package/dist/order/entities/order-additional-fees.entity.d.ts +5 -0
  154. package/dist/order/entities/order-additional-fees.entity.js +21 -0
  155. package/dist/order/entities/order-benefits-sponsor-ship.entity.d.ts +5 -0
  156. package/dist/order/entities/order-benefits-sponsor-ship.entity.js +21 -0
  157. package/dist/order/entities/order-benefits.entity.d.ts +10 -0
  158. package/dist/order/entities/order-benefits.entity.js +25 -0
  159. package/dist/order/entities/order-cancellation.entity.d.ts +6 -0
  160. package/dist/order/entities/order-cancellation.entity.js +22 -0
  161. package/dist/order/entities/order-customer-phone.entity.d.ts +7 -0
  162. package/dist/order/entities/order-customer-phone.entity.js +23 -0
  163. package/dist/order/entities/order-customer.entity.d.ts +11 -0
  164. package/dist/order/entities/order-customer.entity.js +27 -0
  165. package/dist/order/entities/order-item-composition.entity.d.ts +9 -0
  166. package/dist/order/entities/order-item-composition.entity.js +25 -0
  167. package/dist/order/entities/order-item-option.entity.d.ts +18 -0
  168. package/dist/order/entities/order-item-option.entity.js +34 -0
  169. package/dist/order/entities/order-item.entity.d.ts +26 -0
  170. package/dist/order/entities/order-item.entity.js +40 -0
  171. package/dist/order/entities/order-payment-card.entity.d.ts +4 -0
  172. package/dist/order/entities/order-payment-card.entity.js +20 -0
  173. package/dist/order/entities/order-payment-cash.entity.d.ts +4 -0
  174. package/dist/order/entities/order-payment-cash.entity.js +20 -0
  175. package/dist/order/entities/order-payment-method.entity.d.ts +19 -0
  176. package/dist/order/entities/order-payment-method.entity.js +31 -0
  177. package/dist/order/entities/order-payment-pix.entity.d.ts +5 -0
  178. package/dist/order/entities/order-payment-pix.entity.js +21 -0
  179. package/dist/order/entities/order-payment-wallet.entity.d.ts +4 -0
  180. package/dist/order/entities/order-payment-wallet.entity.js +20 -0
  181. package/dist/order/entities/order-payment.entity.d.ts +7 -0
  182. package/dist/order/entities/order-payment.entity.js +22 -0
  183. package/dist/order/entities/order-scale-item.entity.d.ts +5 -0
  184. package/dist/order/entities/order-scale-item.entity.js +21 -0
  185. package/dist/order/entities/order-scale-price.entity.d.ts +6 -0
  186. package/dist/order/entities/order-scale-price.entity.js +21 -0
  187. package/dist/order/entities/order-total.entity.d.ts +8 -0
  188. package/dist/order/entities/order-total.entity.js +24 -0
  189. package/dist/order/entities/order.entity.d.ts +27 -0
  190. package/dist/order/entities/order.entity.js +38 -0
  191. package/dist/order/enums/index.d.ts +1 -0
  192. package/dist/order/enums/index.js +6 -0
  193. package/dist/order/index.d.ts +3 -0
  194. package/dist/order/index.js +19 -0
  195. package/dist/order/interfaces/i-order-additional-fee.d.ts +4 -0
  196. package/dist/order/interfaces/i-order-additional-fee.js +2 -0
  197. package/dist/order/interfaces/i-order-benefits-sponsor-ship.d.ts +4 -0
  198. package/dist/order/interfaces/i-order-benefits-sponsor-ship.js +2 -0
  199. package/dist/order/interfaces/i-order-benefits.d.ts +9 -0
  200. package/dist/order/interfaces/i-order-benefits.js +2 -0
  201. package/dist/order/interfaces/i-order-cancellation.d.ts +5 -0
  202. package/dist/order/interfaces/i-order-cancellation.js +2 -0
  203. package/dist/order/interfaces/i-order-customer-phone.d.ts +6 -0
  204. package/dist/order/interfaces/i-order-customer-phone.js +2 -0
  205. package/dist/order/interfaces/i-order-customer.d.ts +10 -0
  206. package/dist/order/interfaces/i-order-customer.js +2 -0
  207. package/dist/order/interfaces/i-order-item-composition.d.ts +8 -0
  208. package/dist/order/interfaces/i-order-item-composition.js +2 -0
  209. package/dist/order/interfaces/i-order-item-option.d.ts +17 -0
  210. package/dist/order/interfaces/i-order-item-option.js +2 -0
  211. package/dist/order/interfaces/i-order-item.d.ts +25 -0
  212. package/dist/order/interfaces/i-order-item.js +2 -0
  213. package/dist/order/interfaces/i-order-payment-card.d.ts +3 -0
  214. package/dist/order/interfaces/i-order-payment-card.js +2 -0
  215. package/dist/order/interfaces/i-order-payment-cash.d.ts +3 -0
  216. package/dist/order/interfaces/i-order-payment-cash.js +2 -0
  217. package/dist/order/interfaces/i-order-payment-method.d.ts +18 -0
  218. package/dist/order/interfaces/i-order-payment-method.js +2 -0
  219. package/dist/order/interfaces/i-order-payment-pix.d.ts +4 -0
  220. package/dist/order/interfaces/i-order-payment-pix.js +2 -0
  221. package/dist/order/interfaces/i-order-payment-wallet.d.ts +3 -0
  222. package/dist/order/interfaces/i-order-payment-wallet.js +2 -0
  223. package/dist/order/interfaces/i-order-payment.d.ts +6 -0
  224. package/dist/order/interfaces/i-order-payment.js +2 -0
  225. package/dist/order/interfaces/i-order-scale-item.d.ts +4 -0
  226. package/dist/order/interfaces/i-order-scale-item.js +2 -0
  227. package/dist/order/interfaces/i-order-scale-price.d.ts +5 -0
  228. package/dist/order/interfaces/i-order-scale-price.js +2 -0
  229. package/dist/order/interfaces/i-order-total.d.ts +12 -0
  230. package/dist/order/interfaces/i-order-total.js +2 -0
  231. package/dist/order/interfaces/i-order.d.ts +26 -0
  232. package/dist/order/interfaces/i-order.js +2 -0
  233. package/dist/order/interfaces/index.d.ts +19 -0
  234. package/dist/order/interfaces/index.js +2 -0
  235. package/dist/package.json +2 -4
  236. package/dist/purchases/entities/app-info.entity.d.ts +6 -0
  237. package/dist/purchases/entities/app-info.entity.js +22 -0
  238. package/dist/purchases/entities/index.d.ts +2 -0
  239. package/dist/purchases/entities/index.js +7 -0
  240. package/dist/purchases/entities/purchase.entity.d.ts +10 -0
  241. package/dist/purchases/entities/purchase.entity.js +44 -0
  242. package/dist/purchases/index.d.ts +2 -3
  243. package/dist/purchases/index.js +16 -1
  244. package/dist/purchases/interfaces/i-purchase.d.ts +7 -15
  245. package/dist/purchases/interfaces/index.d.ts +2 -0
  246. package/dist/purchases/interfaces/index.js +2 -0
  247. package/package.json +2 -4
  248. package/tsconfig.json +3 -3
  249. package/dist/esm2022/general/interfaces/i-payment-tokens-data.mjs +0 -3
  250. package/dist/esm2022/general/interfaces/i-payment-tokens.mjs +0 -3
  251. package/dist/esm2022/purchases/interfaces/i-payment-details.mjs +0 -2
  252. package/dist/purchases/interfaces/i-payment-details.d.ts +0 -17
  253. /package/dist/{general/interfaces/i-mobyo-server-api.js → company/interfaces/index.js} +0 -0
  254. /package/dist/general/interfaces/{i-mobyo-server-api.d.ts → i-mobyo-api-config.d.ts} +0 -0
  255. /package/dist/{purchases/interfaces/i-payment-details.js → general/interfaces/i-mobyo-api-config.js} +0 -0
  256. /package/dist/general/interfaces/{i-payment-tokens-data.d.ts → i-payment-token-data.d.ts} +0 -0
  257. /package/dist/general/interfaces/{i-payment-tokens-data.js → i-payment-token-data.js} +0 -0
  258. /package/dist/general/interfaces/{i-payment-tokens.js → i-payment-token.js} +0 -0
  259. /package/dist/{general/enums/order-satus.enum.d.ts → order/enums/order-status.enum.d.ts} +0 -0
  260. /package/dist/{general/enums/order-satus.enum.js → order/enums/order-status.enum.js} +0 -0
@@ -1,38 +1,121 @@
1
- var CompanyKeysEnum;
2
- (function (CompanyKeysEnum) {
3
- CompanyKeysEnum["google"] = "GOOGLE";
4
- CompanyKeysEnum["loggi"] = "LOGGI";
5
- CompanyKeysEnum["desenfila"] = "DESENFILA";
6
- CompanyKeysEnum["mottu"] = "MOTTU";
7
- CompanyKeysEnum["algolia"] = "ALGOLIA";
8
- })(CompanyKeysEnum || (CompanyKeysEnum = {}));
1
+ 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
+ }
9
14
 
10
- var CompanyMessageTypeEnum;
11
- (function (CompanyMessageTypeEnum) {
12
- CompanyMessageTypeEnum["whatsapp"] = "WHATSAPP";
13
- CompanyMessageTypeEnum["instagram"] = "INSTAGRAM";
14
- CompanyMessageTypeEnum["sms"] = "SMS";
15
- })(CompanyMessageTypeEnum || (CompanyMessageTypeEnum = {}));
15
+ class AddressEntity {
16
+ // #region Properties (7)
17
+ city = '';
18
+ complement = '';
19
+ neighborhood = '';
20
+ postalCode = '';
21
+ state = '';
22
+ streetName = '';
23
+ streetNumber = '';
24
+ coords = new CoordsEntity();
25
+ // #endregion Properties (7)
26
+ // #region Constructors (1)
27
+ constructor(data) {
28
+ if (data) {
29
+ for (let key in data) {
30
+ if (data.hasOwnProperty(key) && key in this) {
31
+ this[key] = data[key];
32
+ }
33
+ }
34
+ }
35
+ }
36
+ }
16
37
 
17
- // index.ts
38
+ class DeliveryAreaEntity {
39
+ // #region Properties (8)
40
+ deliveryFee = 0;
41
+ id = '';
42
+ latlngs = [];
43
+ maxTime = 0;
44
+ minTime = 0;
45
+ minimumOrderValue = 0;
46
+ name = '';
47
+ sequence = 0;
48
+ // #endregion Properties (8)
49
+ // #region Constructors (1)
50
+ constructor(data) {
51
+ if (data) {
52
+ for (let key in data) {
53
+ if (data.hasOwnProperty(key) && key in this) {
54
+ this[key] = data[key];
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
18
60
 
19
- var DeviceModeEnum;
20
- (function (DeviceModeEnum) {
21
- DeviceModeEnum["app"] = "APP";
22
- DeviceModeEnum["checkout"] = "CHECKOUT";
23
- DeviceModeEnum["screen"] = "SCREEN";
24
- DeviceModeEnum["natigo"] = "NATIGO";
25
- DeviceModeEnum["satManager"] = "SAT-MANAGER";
26
- DeviceModeEnum["pdvNati"] = "PDV-NATI";
27
- })(DeviceModeEnum || (DeviceModeEnum = {}));
61
+ class DeliveryAreaFixedEntity {
62
+ // #region Properties (5)
63
+ active = false;
64
+ deliveryFee = 0;
65
+ maxTime = 0;
66
+ minTime = 0;
67
+ minimumOrderValue = 0;
68
+ // #endregion Properties (5)
69
+ // #region Constructors (1)
70
+ constructor(data) {
71
+ if (data) {
72
+ for (let key in data) {
73
+ if (data.hasOwnProperty(key) && key in this) {
74
+ this[key] = data[key];
75
+ }
76
+ }
77
+ }
78
+ }
79
+ }
28
80
 
29
- // index.ts
81
+ class MessagerChannelEntity {
82
+ // #region Properties (3)
83
+ channelId = '';
84
+ id = '';
85
+ type = '';
86
+ // #endregion Properties (3)
87
+ // #region Constructors (1)
88
+ constructor(data) {
89
+ if (data) {
90
+ for (let key in data) {
91
+ if (data.hasOwnProperty(key) && key in this) {
92
+ this[key] = data[key];
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
30
98
 
31
- var DocTypeEnum;
32
- (function (DocTypeEnum) {
33
- DocTypeEnum["CPF"] = "CPF";
34
- DocTypeEnum["CNPJ"] = "CNPJ";
35
- })(DocTypeEnum || (DocTypeEnum = {}));
99
+ class MobyoApiConfigEntity {
100
+ // #region Properties (6)
101
+ hasIntegration = false;
102
+ hasPrint = false;
103
+ integrationUrl = '';
104
+ printCols = 40;
105
+ printInterface = '';
106
+ printType = '';
107
+ // #endregion Properties (6)
108
+ // #region Constructors (1)
109
+ constructor(data) {
110
+ if (data) {
111
+ for (let key in data) {
112
+ if (data.hasOwnProperty(key) && key in this) {
113
+ this[key] = data[key];
114
+ }
115
+ }
116
+ }
117
+ }
118
+ }
36
119
 
37
120
  var LeadOriginEnum;
38
121
  (function (LeadOriginEnum) {
@@ -45,6 +128,27 @@ var LeadOriginEnum;
45
128
  LeadOriginEnum["OTHERS"] = "Outros";
46
129
  })(LeadOriginEnum || (LeadOriginEnum = {}));
47
130
 
131
+ class OriginEntity {
132
+ // #region Properties (6)
133
+ campaign = '';
134
+ contactPoint = '';
135
+ date = 0;
136
+ details = '';
137
+ referrer = '';
138
+ type = LeadOriginEnum.OTHERS;
139
+ // #endregion Properties (6)
140
+ // #region Constructors (1)
141
+ constructor(data) {
142
+ if (data) {
143
+ for (let key in data) {
144
+ if (data.hasOwnProperty(key) && key in this) {
145
+ this[key] = data[key];
146
+ }
147
+ }
148
+ }
149
+ }
150
+ }
151
+
48
152
  var PaymentChannelEnum;
49
153
  (function (PaymentChannelEnum) {
50
154
  PaymentChannelEnum["APP"] = "APP";
@@ -79,21 +183,763 @@ var PaymentTypeEnum;
79
183
  PaymentTypeEnum["E_WALLET"] = "E_WALLET";
80
184
  PaymentTypeEnum["DIRECT_DEBIT"] = "DIRECT_DEBIT";
81
185
  PaymentTypeEnum["PAYPAL"] = "PAYPAL";
186
+ PaymentTypeEnum["CHECKOUTPRO"] = "CHECKOUTPRO";
82
187
  PaymentTypeEnum["WIRE_TRANSFER"] = "WIRE_TRANSFER";
83
188
  PaymentTypeEnum["GIFT_CARD"] = "GIFT_CARD";
84
189
  PaymentTypeEnum["VOUCHER"] = "VOUCHER";
85
190
  PaymentTypeEnum["BILLING"] = "BILLING";
86
191
  })(PaymentTypeEnum || (PaymentTypeEnum = {}));
87
192
 
193
+ class PaymentMethodEntity {
194
+ // #region Properties (13)
195
+ active = false;
196
+ channel = PaymentChannelEnum.AUTOMATION;
197
+ createdAt = 0;
198
+ fee = 0;
199
+ id = '';
200
+ index = 0;
201
+ maxAmount = 0;
202
+ minAmount = 0;
203
+ mode = PaymentModeEnum.MANUAL;
204
+ name = '';
205
+ token = '';
206
+ type = PaymentTypeEnum.CREDIT_CARD;
207
+ updatedAt = Date.now();
208
+ // #endregion Properties (13)
209
+ // #region Constructors (1)
210
+ constructor(data) {
211
+ if (data) {
212
+ for (let key in data) {
213
+ if (data.hasOwnProperty(key) && key in this) {
214
+ this[key] = data[key];
215
+ }
216
+ }
217
+ }
218
+ }
219
+ }
220
+
221
+ class PaymentProviderAgentEntity {
222
+ // #region Properties (2)
223
+ accountId = '';
224
+ name = '';
225
+ // #endregion Properties (2)
226
+ // #region Constructors (1)
227
+ constructor(data) {
228
+ if (data) {
229
+ for (let key in data) {
230
+ if (data.hasOwnProperty(key) && key in this) {
231
+ this[key] = data[key];
232
+ }
233
+ }
234
+ }
235
+ }
236
+ }
237
+
238
+ class PaymentProviderEntity {
239
+ // #region Properties (13)
240
+ accountId = '';
241
+ active = false;
242
+ agent = new PaymentProviderAgentEntity();
243
+ customerId = '';
244
+ liveApiToken = '';
245
+ name = '';
246
+ paymentTokens = [];
247
+ subscriptionId = '';
248
+ subscriptions = '';
249
+ testApiToken = '';
250
+ userApiToken = '';
251
+ verified = false;
252
+ verifiedAt = 0;
253
+ // #endregion Properties (13)
254
+ // #region Constructors (1)
255
+ constructor(data) {
256
+ if (data) {
257
+ for (let key in data) {
258
+ if (data.hasOwnProperty(key) && key in this) {
259
+ this[key] = data[key];
260
+ }
261
+ }
262
+ }
263
+ }
264
+ }
265
+
266
+ class PaymentTokenDataEntity {
267
+ // #region Properties (7)
268
+ bin = '';
269
+ brand = '';
270
+ displayNumber = '';
271
+ firstDigits = '';
272
+ maskedNumber = '';
273
+ month = 0;
274
+ year = 0;
275
+ // #endregion Properties (7)
276
+ // #region Constructors (1)
277
+ constructor(data) {
278
+ if (data) {
279
+ for (let key in data) {
280
+ if (data.hasOwnProperty(key) && key in this) {
281
+ this[key] = data[key];
282
+ }
283
+ }
284
+ }
285
+ }
286
+ }
287
+
288
+ class PaymentTokenEntity {
289
+ // #region Properties (5)
290
+ customerId = '';
291
+ data = new PaymentTokenDataEntity();
292
+ description = '';
293
+ id = '';
294
+ itemType = '';
295
+ // #endregion Properties (5)
296
+ // #region Constructors (1)
297
+ constructor(data) {
298
+ if (data) {
299
+ for (let key in data) {
300
+ if (data.hasOwnProperty(key) && key in this) {
301
+ this[key] = data[key];
302
+ }
303
+ }
304
+ }
305
+ }
306
+ }
307
+
308
+ var DocTypeEnum;
309
+ (function (DocTypeEnum) {
310
+ DocTypeEnum["CPF"] = "CPF";
311
+ DocTypeEnum["CNPJ"] = "CNPJ";
312
+ })(DocTypeEnum || (DocTypeEnum = {}));
313
+
314
+ var PaymentProviderEnum;
315
+ (function (PaymentProviderEnum) {
316
+ PaymentProviderEnum["iugu"] = "IUGU";
317
+ PaymentProviderEnum["desenfila"] = "DESENFILA";
318
+ PaymentProviderEnum["mercadoPago"] = "MERCADO PAGO";
319
+ PaymentProviderEnum["stripe"] = "STRIPE";
320
+ PaymentProviderEnum["payPal"] = "PAYPAL";
321
+ PaymentProviderEnum["other"] = "OTHER";
322
+ })(PaymentProviderEnum || (PaymentProviderEnum = {}));
323
+
88
324
  // index.ts
89
325
 
326
+ class CompanyEntity {
327
+ // #region Properties (26)
328
+ active = false;
329
+ address = new AddressEntity();
330
+ bgImageURL = '';
331
+ config = new MobyoApiConfigEntity();
332
+ containerId = '';
333
+ createdAt = Date.now();
334
+ deliveryArea = [];
335
+ deliveryAreaFixed = null;
336
+ doc = '';
337
+ docType = DocTypeEnum.CNPJ;
338
+ email = '';
339
+ fullName = '';
340
+ id = '';
341
+ imageURL = '';
342
+ internationalCode = '+55';
343
+ logoURL = '';
344
+ messagerChannels = [];
345
+ name = '';
346
+ origin = new OriginEntity();
347
+ paymentProvider = new PaymentProviderEntity();
348
+ paymentsMethods = [];
349
+ phoneNumber = '';
350
+ pubsubTopic = '';
351
+ sandbox = false;
352
+ tags = [];
353
+ updatedAt = 0;
354
+ version = '1.0.0';
355
+ // #endregion Properties (26)
356
+ // #region Constructors (1)
357
+ constructor(data) {
358
+ if (data) {
359
+ for (let key in data) {
360
+ if (data.hasOwnProperty(key) && key in this) {
361
+ this[key] = data[key];
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+
90
368
  // index.ts
91
369
 
370
+ var CompanyKeysEnum;
371
+ (function (CompanyKeysEnum) {
372
+ CompanyKeysEnum["google"] = "GOOGLE";
373
+ CompanyKeysEnum["loggi"] = "LOGGI";
374
+ CompanyKeysEnum["desenfila"] = "DESENFILA";
375
+ CompanyKeysEnum["mottu"] = "MOTTU";
376
+ CompanyKeysEnum["algolia"] = "ALGOLIA";
377
+ })(CompanyKeysEnum || (CompanyKeysEnum = {}));
378
+
379
+ var CompanyMessageTypeEnum;
380
+ (function (CompanyMessageTypeEnum) {
381
+ CompanyMessageTypeEnum["whatsapp"] = "WHATSAPP";
382
+ CompanyMessageTypeEnum["instagram"] = "INSTAGRAM";
383
+ CompanyMessageTypeEnum["sms"] = "SMS";
384
+ })(CompanyMessageTypeEnum || (CompanyMessageTypeEnum = {}));
385
+
386
+ // index.ts
387
+
388
+ var DeviceModeEnum;
389
+ (function (DeviceModeEnum) {
390
+ DeviceModeEnum["app"] = "APP";
391
+ DeviceModeEnum["checkout"] = "CHECKOUT";
392
+ DeviceModeEnum["screen"] = "SCREEN";
393
+ DeviceModeEnum["natigo"] = "NATIGO";
394
+ DeviceModeEnum["satManager"] = "SAT-MANAGER";
395
+ DeviceModeEnum["pdvNati"] = "PDV-NATI";
396
+ })(DeviceModeEnum || (DeviceModeEnum = {}));
397
+
398
+ class NatiGoEntity {
399
+ // #region Properties (4)
400
+ isForAdultsOnly = false;
401
+ logoUrl = '';
402
+ openLockRequired = true;
403
+ siteDescription = '';
404
+ // #endregion Properties (4)
405
+ // #region Constructors (1)
406
+ constructor(data) {
407
+ if (data) {
408
+ for (let key in data) {
409
+ if (data.hasOwnProperty(key) && key in this) {
410
+ this[key] = data[key];
411
+ }
412
+ }
413
+ }
414
+ }
415
+ }
416
+
417
+ class MetadataEntity {
418
+ // #region Properties (1)
419
+ natigo = new NatiGoEntity();
420
+ // #endregion Properties (1)
421
+ // #region Constructors (1)
422
+ constructor(data) {
423
+ if (data) {
424
+ for (let key in data) {
425
+ if (data.hasOwnProperty(key) && key in this) {
426
+ this[key] = data[key];
427
+ }
428
+ }
429
+ }
430
+ }
431
+ }
432
+
433
+ class DeviceEntity {
434
+ // #region Properties (13)
435
+ active = false;
436
+ companyId = '';
437
+ containerId = '';
438
+ createdAt = 0;
439
+ deviceId = '';
440
+ id = '';
441
+ key = '';
442
+ lastAccess = 0;
443
+ // Supondo que INatiGo tenha propriedades que você queira documentar
444
+ metadata = new MetadataEntity();
445
+ mode = DeviceModeEnum.natigo;
446
+ name = '';
447
+ topicSubscriptions = [];
448
+ updatedAt = 0;
449
+ // #endregion Properties (13)
450
+ // #region Constructors (1)
451
+ constructor(data) {
452
+ if (data) {
453
+ for (let key in data) {
454
+ if (data.hasOwnProperty(key) && key in this) {
455
+ this[key] = data[key];
456
+ }
457
+ }
458
+ }
459
+ }
460
+ }
461
+
92
462
  // index.ts
93
463
 
464
+ // index.ts
465
+
466
+ // index.ts
467
+
468
+ class OrderAdditionalFeeEntity {
469
+ // #region Properties (2)
470
+ type = '';
471
+ value = 0;
472
+ // #endregion Properties (2)
473
+ // #region Constructors (1)
474
+ constructor(data) {
475
+ if (data) {
476
+ for (let key in data) {
477
+ if (data.hasOwnProperty(key) && key in this) {
478
+ this[key] = data[key];
479
+ }
480
+ }
481
+ }
482
+ }
483
+ }
484
+
485
+ class SponsorshipValuesEntity {
486
+ // #region Properties (2)
487
+ name = '';
488
+ value = 0;
489
+ // #endregion Properties (2)
490
+ // #region Constructors (1)
491
+ constructor(data) {
492
+ if (data) {
493
+ for (let key in data) {
494
+ if (data.hasOwnProperty(key) && key in this) {
495
+ this[key] = data[key];
496
+ }
497
+ }
498
+ }
499
+ }
500
+ }
501
+
502
+ class OrderBenefitsEntity {
503
+ // #region Properties (6)
504
+ description = '';
505
+ id = '';
506
+ sponsorshipValues = [];
507
+ target = '';
508
+ targetId = '';
509
+ value = 0;
510
+ // #endregion Properties (6)
511
+ // #region Constructors (1)
512
+ constructor(data) {
513
+ if (data) {
514
+ for (let key in data) {
515
+ if (data.hasOwnProperty(key) && key in this) {
516
+ this[key] = data[key];
517
+ }
518
+ }
519
+ }
520
+ }
521
+ }
522
+
523
+ class OrderCancellationEntity {
524
+ // #region Properties (3)
525
+ cancellationBy = '';
526
+ cancellationCode = '';
527
+ reason = '';
528
+ // #endregion Properties (3)
529
+ // #region Constructors (1)
530
+ constructor(data) {
531
+ if (data) {
532
+ for (let key in data) {
533
+ if (data.hasOwnProperty(key) && key in this) {
534
+ this[key] = data[key];
535
+ }
536
+ }
537
+ }
538
+ }
539
+ }
540
+
541
+ class OrdersCustomerPhoneEntity {
542
+ // #region Properties (4)
543
+ description = '';
544
+ localizer = '';
545
+ localizerExpiration = '';
546
+ number = '';
547
+ // #endregion Properties (4)
548
+ // #region Constructors (1)
549
+ constructor(data) {
550
+ if (data) {
551
+ for (let key in data) {
552
+ if (data.hasOwnProperty(key) && key in this) {
553
+ this[key] = data[key];
554
+ }
555
+ }
556
+ }
557
+ }
558
+ }
559
+
560
+ class OrderCustomerEntity {
561
+ // #region Properties (7)
562
+ documentNumber = '';
563
+ email = '';
564
+ id = '';
565
+ name = '';
566
+ ordersCountOnMerchant = 0;
567
+ phone = new OrdersCustomerPhoneEntity();
568
+ picture = '';
569
+ // #endregion Properties (7)
570
+ // #region Constructors (1)
571
+ constructor(data) {
572
+ if (data) {
573
+ for (let key in data) {
574
+ if (data.hasOwnProperty(key) && key in this) {
575
+ this[key] = data[key];
576
+ }
577
+ }
578
+ }
579
+ }
580
+ }
581
+
582
+ class OrderItemCompositionEntity {
583
+ // #region Properties (6)
584
+ amount = 0;
585
+ code = '';
586
+ description = '';
587
+ imageURL = '';
588
+ quantity = 0;
589
+ unit = '';
590
+ // #endregion Properties (6)
591
+ // #region Constructors (1)
592
+ constructor(data) {
593
+ if (data) {
594
+ for (let key in data) {
595
+ if (data.hasOwnProperty(key) && key in this) {
596
+ this[key] = data[key];
597
+ }
598
+ }
599
+ }
600
+ }
601
+ }
602
+
603
+ class OrderItemOptionEntity {
604
+ // #region Properties (15)
605
+ ean = '';
606
+ externalCode = '';
607
+ id = '';
608
+ index = 0;
609
+ name = '';
610
+ options = [];
611
+ optionsPrice = 0;
612
+ preparationPlaceId = '';
613
+ price = 0;
614
+ productId = '';
615
+ quantity = 0;
616
+ skill = '';
617
+ totalPrice = 0;
618
+ unit = '';
619
+ weight = 0;
620
+ // #endregion Properties (15)
621
+ // #region Constructors (1)
622
+ constructor(data) {
623
+ if (data) {
624
+ for (let key in data) {
625
+ if (data.hasOwnProperty(key) && key in this) {
626
+ this[key] = data[key];
627
+ }
628
+ }
629
+ }
630
+ }
631
+ }
632
+
633
+ class OrderScaleEntity {
634
+ // #region Properties (2)
635
+ defaultPrice = 0;
636
+ scales = [];
637
+ // #endregion Properties (2)
638
+ // #region Constructors (1)
639
+ constructor(data) {
640
+ if (data) {
641
+ for (let key in data) {
642
+ if (data.hasOwnProperty(key) && key in this) {
643
+ this[key] = data[key];
644
+ }
645
+ }
646
+ }
647
+ }
648
+ }
649
+
650
+ class OrderItemEntity {
651
+ // #region Properties (20)
652
+ composition = [];
653
+ ean = '';
654
+ externalCode = '';
655
+ id = '';
656
+ index = 0;
657
+ name = '';
658
+ observations = '';
659
+ options = [];
660
+ optionsPrice = 0;
661
+ picture = '';
662
+ preparationPlaceId = '';
663
+ price = 0;
664
+ productId = 0;
665
+ quantity = 0;
666
+ scalePrices = new OrderScaleEntity();
667
+ skill = '';
668
+ totalPrice = 0;
669
+ unit = '';
670
+ unitPrice = 0;
671
+ weight = 0;
672
+ // #endregion Properties (20)
673
+ // #region Constructors (1)
674
+ constructor(data) {
675
+ if (data) {
676
+ for (let key in data) {
677
+ if (data.hasOwnProperty(key) && key in this) {
678
+ this[key] = data[key];
679
+ }
680
+ }
681
+ }
682
+ }
683
+ }
684
+
685
+ class OrderPaymentCardEntity {
686
+ // #region Properties (1)
687
+ brand = '';
688
+ // #endregion Properties (1)
689
+ // #region Constructors (1)
690
+ constructor(data) {
691
+ if (data) {
692
+ for (let key in data) {
693
+ if (data.hasOwnProperty(key) && key in this) {
694
+ this[key] = data[key];
695
+ }
696
+ }
697
+ }
698
+ }
699
+ }
700
+
701
+ class OrderPaymentCashEntity {
702
+ // #region Properties (1)
703
+ changeFor = 0;
704
+ // #endregion Properties (1)
705
+ // #region Constructors (1)
706
+ constructor(data) {
707
+ if (data) {
708
+ for (let key in data) {
709
+ if (data.hasOwnProperty(key) && key in this) {
710
+ this[key] = data[key];
711
+ }
712
+ }
713
+ }
714
+ }
715
+ }
716
+
717
+ class OrderPaymentMethodEntity {
718
+ // #region Properties (11)
719
+ card = null;
720
+ cash = null;
721
+ code = '';
722
+ currency = 'BRL';
723
+ id = '';
724
+ method = PaymentTypeEnum.CASH;
725
+ pix = null;
726
+ prepaid = false;
727
+ type = 'OFFLINE';
728
+ value = 0;
729
+ wallet = null;
730
+ // #endregion Properties (11)
731
+ // #region Constructors (1)
732
+ constructor(data) {
733
+ if (data) {
734
+ for (let key in data) {
735
+ if (data.hasOwnProperty(key) && key in this) {
736
+ this[key] = data[key];
737
+ }
738
+ }
739
+ }
740
+ }
741
+ }
742
+
743
+ class OrderPaymentPixEntity {
744
+ // #region Properties (2)
745
+ pixKey = '';
746
+ urlQrImage = '';
747
+ // #endregion Properties (2)
748
+ // #region Constructors (1)
749
+ constructor(data) {
750
+ if (data) {
751
+ for (let key in data) {
752
+ if (data.hasOwnProperty(key) && key in this) {
753
+ this[key] = data[key];
754
+ }
755
+ }
756
+ }
757
+ }
758
+ }
759
+
760
+ class OrderPaymentWalletEntity {
761
+ // #region Properties (1)
762
+ name = '';
763
+ // #endregion Properties (1)
764
+ // #region Constructors (1)
765
+ constructor(data) {
766
+ if (data) {
767
+ for (let key in data) {
768
+ if (data.hasOwnProperty(key) && key in this) {
769
+ this[key] = data[key];
770
+ }
771
+ }
772
+ }
773
+ }
774
+ }
775
+
776
+ class OrderPaymentEntity {
777
+ // #region Properties (3)
778
+ methods = [];
779
+ pending = 0;
780
+ prepaid = 0;
781
+ // #endregion Properties (3)
782
+ // #region Constructors (1)
783
+ constructor(data) {
784
+ if (data) {
785
+ for (let key in data) {
786
+ if (data.hasOwnProperty(key) && key in this) {
787
+ this[key] = data[key];
788
+ }
789
+ }
790
+ }
791
+ }
792
+ }
793
+
794
+ class OrderScaleItemEntity {
795
+ // #region Properties (2)
796
+ minQuantity = 0;
797
+ price = 0;
798
+ // #endregion Properties (2)
799
+ // #region Constructors (1)
800
+ constructor(data) {
801
+ if (data) {
802
+ for (let key in data) {
803
+ if (data.hasOwnProperty(key) && key in this) {
804
+ this[key] = data[key];
805
+ }
806
+ }
807
+ }
808
+ }
809
+ }
810
+
811
+ class OrderTotalEntity {
812
+ // #region Properties (5)
813
+ additionalFees = 0;
814
+ benefits = 0;
815
+ deliveryFee = 0;
816
+ orderAmount = 0;
817
+ subTotal = 0;
818
+ // #endregion Properties (5)
819
+ // #region Constructors (1)
820
+ constructor(data) {
821
+ if (data) {
822
+ for (let key in data) {
823
+ if (data.hasOwnProperty(key) && key in this) {
824
+ this[key] = data[key];
825
+ }
826
+ }
827
+ }
828
+ }
829
+ }
830
+
831
+ /* eslint-disable @typescript-eslint/naming-convention */
832
+ var OrderStatusEnum;
833
+ (function (OrderStatusEnum) {
834
+ OrderStatusEnum["PLACED"] = "PLACED";
835
+ OrderStatusEnum["INTEGRATED"] = "INTEGRATED";
836
+ OrderStatusEnum["CONFIRMED"] = "CONFIRMED";
837
+ OrderStatusEnum["PENDING"] = "PENDING";
838
+ OrderStatusEnum["CANCELLATION_REQUESTED"] = "CANCELLATION_REQUESTED";
839
+ OrderStatusEnum["CANCELLATION_REQUEST_FAILED"] = "CANCELLATION_REQUEST_FAILED";
840
+ OrderStatusEnum["CANCELLED"] = "CANCELLED";
841
+ OrderStatusEnum["GOING_TO_ORIGIN"] = "GOING_TO_ORIGIN";
842
+ OrderStatusEnum["ARRIVED_AT_ORIGIN"] = "ARRIVED_AT_ORIGIN";
843
+ OrderStatusEnum["ARRIVED_AT_DESTINATION"] = "ARRIVED_AT_DESTINATION";
844
+ OrderStatusEnum["READY_TO_PICKUP"] = "READY_TO_PICKUP";
845
+ OrderStatusEnum["COLLECTED"] = "COLLECTED";
846
+ OrderStatusEnum["DISPATCHED"] = "DISPATCHED";
847
+ OrderStatusEnum["DELIVERED"] = "DELIVERED";
848
+ OrderStatusEnum["CONCLUDED"] = "CONCLUDED";
849
+ OrderStatusEnum["PICKUP_AREA_ASSIGNED"] = "PICKUP_AREA_ASSIGNED";
850
+ OrderStatusEnum["DELAY_NOTIFICATION"] = "DELAY_NOTIFICATION";
851
+ OrderStatusEnum["CHANGE_PREPARATION_TIME"] = "CHANGE_PREPARATION_TIME";
852
+ OrderStatusEnum["REQUEST_DRIVER_AVAILABILITY"] = "REQUEST_DRIVER_AVAILABILITY";
853
+ OrderStatusEnum["REQUEST_DRIVER"] = "REQUEST_DRIVER";
854
+ OrderStatusEnum["REQUEST_DRIVER_SUCCESS"] = "REQUEST_DRIVER_SUCCESS";
855
+ OrderStatusEnum["REQUEST_DRIVER_FAILED"] = "REQUEST_DRIVER_FAILED";
856
+ OrderStatusEnum["ASSIGN_DRIVER"] = "ASSIGN_DRIVER";
857
+ OrderStatusEnum["CONSUMER_CANCELLATION_REQUESTED"] = "CONSUMER_CANCELLATION_REQUESTED";
858
+ OrderStatusEnum["CONSUMER_CANCELLATION_ACCEPTED"] = "CONSUMER_CANCELLATION_ACCEPTED";
859
+ OrderStatusEnum["CONSUMER_CANCELLATION_DENIED"] = "CONSUMER_CANCELLATION_DENIED";
860
+ OrderStatusEnum["ADDED_TO_GROUP"] = "ADDED_TO_GROUP";
861
+ OrderStatusEnum["EXECUTED_WITH_GROUP"] = "EXECUTED_WITH_GROUP";
862
+ OrderStatusEnum["CANCELLED_WITH_GROUP"] = "CANCELLED_WITH_GROUP";
863
+ OrderStatusEnum["COLLECTED_IN_GROUP"] = "COLLECTED_IN_GROUP";
864
+ OrderStatusEnum["ASSIGNED_WITH_GROUP"] = "ASSIGNED_WITH_GROUP";
865
+ OrderStatusEnum["UPDATE_REQUESTED"] = "UPDATE_REQUESTED";
866
+ OrderStatusEnum["UPDATE_DENIED"] = "UPDATE_DENIED";
867
+ OrderStatusEnum["UPDATED"] = "UPDATED";
868
+ OrderStatusEnum["BOX_ASSIGNED"] = "BOX_ASSIGNED";
869
+ })(OrderStatusEnum || (OrderStatusEnum = {}));
870
+
871
+ // index.ts
872
+
873
+ class OrderEntity {
874
+ // #region Properties (16)
875
+ additionalFees = [];
876
+ benefits = [];
877
+ cancellation = new OrderCancellationEntity();
878
+ companyId = '';
879
+ containerId = '';
880
+ createdAt = Date.now();
881
+ customer = new OrderCustomerEntity();
882
+ id = '';
883
+ items = [];
884
+ payments = new OrderPaymentEntity();
885
+ salesChannel = '';
886
+ sandbox = false;
887
+ status = OrderStatusEnum.PENDING;
888
+ total = new OrderTotalEntity();
889
+ updatedAt = Date.now();
890
+ version = '';
891
+ constructor(data) {
892
+ if (data) {
893
+ for (let key in data) {
894
+ if (data.hasOwnProperty(key) && key in this) {
895
+ this[key] = data[key];
896
+ }
897
+ }
898
+ }
899
+ }
900
+ }
901
+
902
+ class AppInfoEntity {
903
+ // #region Properties (3)
904
+ appId = '';
905
+ name = '';
906
+ version = '';
907
+ // #endregion Properties (3)
908
+ // #region Constructors (1)
909
+ constructor(data) {
910
+ if (data) {
911
+ for (let key in data) {
912
+ if (data.hasOwnProperty(key) && key in this) {
913
+ this[key] = data[key];
914
+ }
915
+ }
916
+ }
917
+ }
918
+ }
919
+
920
+ class PurchaseEntity extends OrderEntity {
921
+ // #region Properties (4)
922
+ additionalNotes = '';
923
+ appInfo = new AppInfoEntity();
924
+ deviceUid = '';
925
+ providerName = PaymentProviderEnum.iugu;
926
+ // #endregion Properties (4)
927
+ // #region Constructors (1)
928
+ constructor(data) {
929
+ super();
930
+ if (data) {
931
+ for (let key in data) {
932
+ if (data.hasOwnProperty(key) && key in this) {
933
+ this[key] = data[key];
934
+ }
935
+ }
936
+ }
937
+ }
938
+ }
939
+
94
940
  /**
95
941
  * Generated bundle index. Do not edit.
96
942
  */
97
943
 
98
- export { CompanyKeysEnum, CompanyMessageTypeEnum, DeviceModeEnum, DocTypeEnum, LeadOriginEnum, PaymentChannelEnum, PaymentModeEnum, PaymentTypeEnum };
944
+ export { AddressEntity, AppInfoEntity, CompanyEntity, CompanyKeysEnum, CompanyMessageTypeEnum, CoordsEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DeviceEntity, DeviceModeEnum, DocTypeEnum, LeadOriginEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, NatiGoEntity, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, PaymentChannelEnum, PaymentMethodEntity, PaymentModeEnum, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentProviderEnum, PaymentTokenDataEntity, PaymentTokenEntity, PaymentTypeEnum, PurchaseEntity, SponsorshipValuesEntity };
99
945
  //# sourceMappingURL=cecon-interfaces.mjs.map