cecon-interfaces 1.0.14 → 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 +1 -1
  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 +1 -1
  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
@@ -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,762 @@ 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
+ updatedAt = 0;
353
+ version = '1.0.0';
354
+ // #endregion Properties (26)
355
+ // #region Constructors (1)
356
+ constructor(data) {
357
+ if (data) {
358
+ for (let key in data) {
359
+ if (data.hasOwnProperty(key) && key in this) {
360
+ this[key] = data[key];
361
+ }
362
+ }
363
+ }
364
+ }
365
+ }
366
+
90
367
  // index.ts
91
368
 
369
+ var CompanyKeysEnum;
370
+ (function (CompanyKeysEnum) {
371
+ CompanyKeysEnum["google"] = "GOOGLE";
372
+ CompanyKeysEnum["loggi"] = "LOGGI";
373
+ CompanyKeysEnum["desenfila"] = "DESENFILA";
374
+ CompanyKeysEnum["mottu"] = "MOTTU";
375
+ CompanyKeysEnum["algolia"] = "ALGOLIA";
376
+ })(CompanyKeysEnum || (CompanyKeysEnum = {}));
377
+
378
+ var CompanyMessageTypeEnum;
379
+ (function (CompanyMessageTypeEnum) {
380
+ CompanyMessageTypeEnum["whatsapp"] = "WHATSAPP";
381
+ CompanyMessageTypeEnum["instagram"] = "INSTAGRAM";
382
+ CompanyMessageTypeEnum["sms"] = "SMS";
383
+ })(CompanyMessageTypeEnum || (CompanyMessageTypeEnum = {}));
384
+
385
+ // index.ts
386
+
387
+ var DeviceModeEnum;
388
+ (function (DeviceModeEnum) {
389
+ DeviceModeEnum["app"] = "APP";
390
+ DeviceModeEnum["checkout"] = "CHECKOUT";
391
+ DeviceModeEnum["screen"] = "SCREEN";
392
+ DeviceModeEnum["natigo"] = "NATIGO";
393
+ DeviceModeEnum["satManager"] = "SAT-MANAGER";
394
+ DeviceModeEnum["pdvNati"] = "PDV-NATI";
395
+ })(DeviceModeEnum || (DeviceModeEnum = {}));
396
+
397
+ class NatiGoEntity {
398
+ // #region Properties (4)
399
+ isForAdultsOnly = false;
400
+ logoUrl = '';
401
+ openLockRequired = true;
402
+ siteDescription = '';
403
+ // #endregion Properties (4)
404
+ // #region Constructors (1)
405
+ constructor(data) {
406
+ if (data) {
407
+ for (let key in data) {
408
+ if (data.hasOwnProperty(key) && key in this) {
409
+ this[key] = data[key];
410
+ }
411
+ }
412
+ }
413
+ }
414
+ }
415
+
416
+ class MetadataEntity {
417
+ // #region Properties (1)
418
+ natigo = new NatiGoEntity();
419
+ // #endregion Properties (1)
420
+ // #region Constructors (1)
421
+ constructor(data) {
422
+ if (data) {
423
+ for (let key in data) {
424
+ if (data.hasOwnProperty(key) && key in this) {
425
+ this[key] = data[key];
426
+ }
427
+ }
428
+ }
429
+ }
430
+ }
431
+
432
+ class DeviceEntity {
433
+ // #region Properties (13)
434
+ active = false;
435
+ companyId = '';
436
+ containerId = '';
437
+ createdAt = 0;
438
+ deviceId = '';
439
+ id = '';
440
+ key = '';
441
+ lastAccess = 0;
442
+ // Supondo que INatiGo tenha propriedades que você queira documentar
443
+ metadata = new MetadataEntity();
444
+ mode = DeviceModeEnum.natigo;
445
+ name = '';
446
+ topicSubscriptions = [];
447
+ updatedAt = 0;
448
+ // #endregion Properties (13)
449
+ // #region Constructors (1)
450
+ constructor(data) {
451
+ if (data) {
452
+ for (let key in data) {
453
+ if (data.hasOwnProperty(key) && key in this) {
454
+ this[key] = data[key];
455
+ }
456
+ }
457
+ }
458
+ }
459
+ }
460
+
92
461
  // index.ts
93
462
 
463
+ // index.ts
464
+
465
+ // index.ts
466
+
467
+ class OrderAdditionalFeeEntity {
468
+ // #region Properties (2)
469
+ type = '';
470
+ value = 0;
471
+ // #endregion Properties (2)
472
+ // #region Constructors (1)
473
+ constructor(data) {
474
+ if (data) {
475
+ for (let key in data) {
476
+ if (data.hasOwnProperty(key) && key in this) {
477
+ this[key] = data[key];
478
+ }
479
+ }
480
+ }
481
+ }
482
+ }
483
+
484
+ class SponsorshipValuesEntity {
485
+ // #region Properties (2)
486
+ name = '';
487
+ value = 0;
488
+ // #endregion Properties (2)
489
+ // #region Constructors (1)
490
+ constructor(data) {
491
+ if (data) {
492
+ for (let key in data) {
493
+ if (data.hasOwnProperty(key) && key in this) {
494
+ this[key] = data[key];
495
+ }
496
+ }
497
+ }
498
+ }
499
+ }
500
+
501
+ class OrderBenefitsEntity {
502
+ // #region Properties (6)
503
+ description = '';
504
+ id = '';
505
+ sponsorshipValues = [];
506
+ target = '';
507
+ targetId = '';
508
+ value = 0;
509
+ // #endregion Properties (6)
510
+ // #region Constructors (1)
511
+ constructor(data) {
512
+ if (data) {
513
+ for (let key in data) {
514
+ if (data.hasOwnProperty(key) && key in this) {
515
+ this[key] = data[key];
516
+ }
517
+ }
518
+ }
519
+ }
520
+ }
521
+
522
+ class OrderCancellationEntity {
523
+ // #region Properties (3)
524
+ cancellationBy = '';
525
+ cancellationCode = '';
526
+ reason = '';
527
+ // #endregion Properties (3)
528
+ // #region Constructors (1)
529
+ constructor(data) {
530
+ if (data) {
531
+ for (let key in data) {
532
+ if (data.hasOwnProperty(key) && key in this) {
533
+ this[key] = data[key];
534
+ }
535
+ }
536
+ }
537
+ }
538
+ }
539
+
540
+ class OrdersCustomerPhoneEntity {
541
+ // #region Properties (4)
542
+ description = '';
543
+ localizer = '';
544
+ localizerExpiration = '';
545
+ number = '';
546
+ // #endregion Properties (4)
547
+ // #region Constructors (1)
548
+ constructor(data) {
549
+ if (data) {
550
+ for (let key in data) {
551
+ if (data.hasOwnProperty(key) && key in this) {
552
+ this[key] = data[key];
553
+ }
554
+ }
555
+ }
556
+ }
557
+ }
558
+
559
+ class OrderCustomerEntity {
560
+ // #region Properties (7)
561
+ documentNumber = '';
562
+ email = '';
563
+ id = '';
564
+ name = '';
565
+ ordersCountOnMerchant = 0;
566
+ phone = new OrdersCustomerPhoneEntity();
567
+ picture = '';
568
+ // #endregion Properties (7)
569
+ // #region Constructors (1)
570
+ constructor(data) {
571
+ if (data) {
572
+ for (let key in data) {
573
+ if (data.hasOwnProperty(key) && key in this) {
574
+ this[key] = data[key];
575
+ }
576
+ }
577
+ }
578
+ }
579
+ }
580
+
581
+ class OrderItemCompositionEntity {
582
+ // #region Properties (6)
583
+ amount = 0;
584
+ code = '';
585
+ description = '';
586
+ imageURL = '';
587
+ quantity = 0;
588
+ unit = '';
589
+ // #endregion Properties (6)
590
+ // #region Constructors (1)
591
+ constructor(data) {
592
+ if (data) {
593
+ for (let key in data) {
594
+ if (data.hasOwnProperty(key) && key in this) {
595
+ this[key] = data[key];
596
+ }
597
+ }
598
+ }
599
+ }
600
+ }
601
+
602
+ class OrderItemOptionEntity {
603
+ // #region Properties (15)
604
+ ean = '';
605
+ externalCode = '';
606
+ id = '';
607
+ index = 0;
608
+ name = '';
609
+ options = [];
610
+ optionsPrice = 0;
611
+ preparationPlaceId = '';
612
+ price = 0;
613
+ productId = '';
614
+ quantity = 0;
615
+ skill = '';
616
+ totalPrice = 0;
617
+ unit = '';
618
+ weight = 0;
619
+ // #endregion Properties (15)
620
+ // #region Constructors (1)
621
+ constructor(data) {
622
+ if (data) {
623
+ for (let key in data) {
624
+ if (data.hasOwnProperty(key) && key in this) {
625
+ this[key] = data[key];
626
+ }
627
+ }
628
+ }
629
+ }
630
+ }
631
+
632
+ class OrderScaleEntity {
633
+ // #region Properties (2)
634
+ defaultPrice = 0;
635
+ scales = [];
636
+ // #endregion Properties (2)
637
+ // #region Constructors (1)
638
+ constructor(data) {
639
+ if (data) {
640
+ for (let key in data) {
641
+ if (data.hasOwnProperty(key) && key in this) {
642
+ this[key] = data[key];
643
+ }
644
+ }
645
+ }
646
+ }
647
+ }
648
+
649
+ class OrderItemEntity {
650
+ // #region Properties (20)
651
+ composition = [];
652
+ ean = '';
653
+ externalCode = '';
654
+ id = '';
655
+ index = 0;
656
+ name = '';
657
+ observations = '';
658
+ options = [];
659
+ optionsPrice = 0;
660
+ picture = '';
661
+ preparationPlaceId = '';
662
+ price = 0;
663
+ productId = 0;
664
+ quantity = 0;
665
+ scalePrices = new OrderScaleEntity();
666
+ skill = '';
667
+ totalPrice = 0;
668
+ unit = '';
669
+ unitPrice = 0;
670
+ weight = 0;
671
+ // #endregion Properties (20)
672
+ // #region Constructors (1)
673
+ constructor(data) {
674
+ if (data) {
675
+ for (let key in data) {
676
+ if (data.hasOwnProperty(key) && key in this) {
677
+ this[key] = data[key];
678
+ }
679
+ }
680
+ }
681
+ }
682
+ }
683
+
684
+ class OrderPaymentCardEntity {
685
+ // #region Properties (1)
686
+ brand = '';
687
+ // #endregion Properties (1)
688
+ // #region Constructors (1)
689
+ constructor(data) {
690
+ if (data) {
691
+ for (let key in data) {
692
+ if (data.hasOwnProperty(key) && key in this) {
693
+ this[key] = data[key];
694
+ }
695
+ }
696
+ }
697
+ }
698
+ }
699
+
700
+ class OrderPaymentCashEntity {
701
+ // #region Properties (1)
702
+ changeFor = 0;
703
+ // #endregion Properties (1)
704
+ // #region Constructors (1)
705
+ constructor(data) {
706
+ if (data) {
707
+ for (let key in data) {
708
+ if (data.hasOwnProperty(key) && key in this) {
709
+ this[key] = data[key];
710
+ }
711
+ }
712
+ }
713
+ }
714
+ }
715
+
716
+ class OrderPaymentMethodEntity {
717
+ // #region Properties (11)
718
+ card = null;
719
+ cash = null;
720
+ code = '';
721
+ currency = 'BRL';
722
+ id = '';
723
+ method = PaymentTypeEnum.CASH;
724
+ pix = null;
725
+ prepaid = false;
726
+ type = 'OFFLINE';
727
+ value = 0;
728
+ wallet = null;
729
+ // #endregion Properties (11)
730
+ // #region Constructors (1)
731
+ constructor(data) {
732
+ if (data) {
733
+ for (let key in data) {
734
+ if (data.hasOwnProperty(key) && key in this) {
735
+ this[key] = data[key];
736
+ }
737
+ }
738
+ }
739
+ }
740
+ }
741
+
742
+ class OrderPaymentPixEntity {
743
+ // #region Properties (2)
744
+ pixKey = '';
745
+ urlQrImage = '';
746
+ // #endregion Properties (2)
747
+ // #region Constructors (1)
748
+ constructor(data) {
749
+ if (data) {
750
+ for (let key in data) {
751
+ if (data.hasOwnProperty(key) && key in this) {
752
+ this[key] = data[key];
753
+ }
754
+ }
755
+ }
756
+ }
757
+ }
758
+
759
+ class OrderPaymentWalletEntity {
760
+ // #region Properties (1)
761
+ name = '';
762
+ // #endregion Properties (1)
763
+ // #region Constructors (1)
764
+ constructor(data) {
765
+ if (data) {
766
+ for (let key in data) {
767
+ if (data.hasOwnProperty(key) && key in this) {
768
+ this[key] = data[key];
769
+ }
770
+ }
771
+ }
772
+ }
773
+ }
774
+
775
+ class OrderPaymentEntity {
776
+ // #region Properties (3)
777
+ methods = [];
778
+ pending = 0;
779
+ prepaid = 0;
780
+ // #endregion Properties (3)
781
+ // #region Constructors (1)
782
+ constructor(data) {
783
+ if (data) {
784
+ for (let key in data) {
785
+ if (data.hasOwnProperty(key) && key in this) {
786
+ this[key] = data[key];
787
+ }
788
+ }
789
+ }
790
+ }
791
+ }
792
+
793
+ class OrderScaleItemEntity {
794
+ // #region Properties (2)
795
+ minQuantity = 0;
796
+ price = 0;
797
+ // #endregion Properties (2)
798
+ // #region Constructors (1)
799
+ constructor(data) {
800
+ if (data) {
801
+ for (let key in data) {
802
+ if (data.hasOwnProperty(key) && key in this) {
803
+ this[key] = data[key];
804
+ }
805
+ }
806
+ }
807
+ }
808
+ }
809
+
810
+ class OrderTotalEntity {
811
+ // #region Properties (5)
812
+ additionalFees = 0;
813
+ benefits = 0;
814
+ deliveryFee = 0;
815
+ orderAmount = 0;
816
+ subTotal = 0;
817
+ // #endregion Properties (5)
818
+ // #region Constructors (1)
819
+ constructor(data) {
820
+ if (data) {
821
+ for (let key in data) {
822
+ if (data.hasOwnProperty(key) && key in this) {
823
+ this[key] = data[key];
824
+ }
825
+ }
826
+ }
827
+ }
828
+ }
829
+
830
+ /* eslint-disable @typescript-eslint/naming-convention */
831
+ var OrderStatusEnum;
832
+ (function (OrderStatusEnum) {
833
+ OrderStatusEnum["PLACED"] = "PLACED";
834
+ OrderStatusEnum["INTEGRATED"] = "INTEGRATED";
835
+ OrderStatusEnum["CONFIRMED"] = "CONFIRMED";
836
+ OrderStatusEnum["PENDING"] = "PENDING";
837
+ OrderStatusEnum["CANCELLATION_REQUESTED"] = "CANCELLATION_REQUESTED";
838
+ OrderStatusEnum["CANCELLATION_REQUEST_FAILED"] = "CANCELLATION_REQUEST_FAILED";
839
+ OrderStatusEnum["CANCELLED"] = "CANCELLED";
840
+ OrderStatusEnum["GOING_TO_ORIGIN"] = "GOING_TO_ORIGIN";
841
+ OrderStatusEnum["ARRIVED_AT_ORIGIN"] = "ARRIVED_AT_ORIGIN";
842
+ OrderStatusEnum["ARRIVED_AT_DESTINATION"] = "ARRIVED_AT_DESTINATION";
843
+ OrderStatusEnum["READY_TO_PICKUP"] = "READY_TO_PICKUP";
844
+ OrderStatusEnum["COLLECTED"] = "COLLECTED";
845
+ OrderStatusEnum["DISPATCHED"] = "DISPATCHED";
846
+ OrderStatusEnum["DELIVERED"] = "DELIVERED";
847
+ OrderStatusEnum["CONCLUDED"] = "CONCLUDED";
848
+ OrderStatusEnum["PICKUP_AREA_ASSIGNED"] = "PICKUP_AREA_ASSIGNED";
849
+ OrderStatusEnum["DELAY_NOTIFICATION"] = "DELAY_NOTIFICATION";
850
+ OrderStatusEnum["CHANGE_PREPARATION_TIME"] = "CHANGE_PREPARATION_TIME";
851
+ OrderStatusEnum["REQUEST_DRIVER_AVAILABILITY"] = "REQUEST_DRIVER_AVAILABILITY";
852
+ OrderStatusEnum["REQUEST_DRIVER"] = "REQUEST_DRIVER";
853
+ OrderStatusEnum["REQUEST_DRIVER_SUCCESS"] = "REQUEST_DRIVER_SUCCESS";
854
+ OrderStatusEnum["REQUEST_DRIVER_FAILED"] = "REQUEST_DRIVER_FAILED";
855
+ OrderStatusEnum["ASSIGN_DRIVER"] = "ASSIGN_DRIVER";
856
+ OrderStatusEnum["CONSUMER_CANCELLATION_REQUESTED"] = "CONSUMER_CANCELLATION_REQUESTED";
857
+ OrderStatusEnum["CONSUMER_CANCELLATION_ACCEPTED"] = "CONSUMER_CANCELLATION_ACCEPTED";
858
+ OrderStatusEnum["CONSUMER_CANCELLATION_DENIED"] = "CONSUMER_CANCELLATION_DENIED";
859
+ OrderStatusEnum["ADDED_TO_GROUP"] = "ADDED_TO_GROUP";
860
+ OrderStatusEnum["EXECUTED_WITH_GROUP"] = "EXECUTED_WITH_GROUP";
861
+ OrderStatusEnum["CANCELLED_WITH_GROUP"] = "CANCELLED_WITH_GROUP";
862
+ OrderStatusEnum["COLLECTED_IN_GROUP"] = "COLLECTED_IN_GROUP";
863
+ OrderStatusEnum["ASSIGNED_WITH_GROUP"] = "ASSIGNED_WITH_GROUP";
864
+ OrderStatusEnum["UPDATE_REQUESTED"] = "UPDATE_REQUESTED";
865
+ OrderStatusEnum["UPDATE_DENIED"] = "UPDATE_DENIED";
866
+ OrderStatusEnum["UPDATED"] = "UPDATED";
867
+ OrderStatusEnum["BOX_ASSIGNED"] = "BOX_ASSIGNED";
868
+ })(OrderStatusEnum || (OrderStatusEnum = {}));
869
+
870
+ // index.ts
871
+
872
+ class OrderEntity {
873
+ // #region Properties (16)
874
+ additionalFees = [];
875
+ benefits = [];
876
+ cancellation = new OrderCancellationEntity();
877
+ companyId = '';
878
+ containerId = '';
879
+ createdAt = Date.now();
880
+ customer = new OrderCustomerEntity();
881
+ id = '';
882
+ items = [];
883
+ payments = new OrderPaymentEntity();
884
+ salesChannel = '';
885
+ sandbox = false;
886
+ status = OrderStatusEnum.PENDING;
887
+ total = new OrderTotalEntity();
888
+ updatedAt = Date.now();
889
+ version = '';
890
+ constructor(data) {
891
+ if (data) {
892
+ for (let key in data) {
893
+ if (data.hasOwnProperty(key) && key in this) {
894
+ this[key] = data[key];
895
+ }
896
+ }
897
+ }
898
+ }
899
+ }
900
+
901
+ class AppInfoEntity {
902
+ // #region Properties (3)
903
+ appId = '';
904
+ name = '';
905
+ version = '';
906
+ // #endregion Properties (3)
907
+ // #region Constructors (1)
908
+ constructor(data) {
909
+ if (data) {
910
+ for (let key in data) {
911
+ if (data.hasOwnProperty(key) && key in this) {
912
+ this[key] = data[key];
913
+ }
914
+ }
915
+ }
916
+ }
917
+ }
918
+
919
+ class PurchaseEntity extends OrderEntity {
920
+ // #region Properties (4)
921
+ additionalNotes = '';
922
+ appInfo = new AppInfoEntity();
923
+ deviceUid = '';
924
+ providerName = PaymentProviderEnum.iugu;
925
+ // #endregion Properties (4)
926
+ // #region Constructors (1)
927
+ constructor(data) {
928
+ super();
929
+ if (data) {
930
+ for (let key in data) {
931
+ if (data.hasOwnProperty(key) && key in this) {
932
+ this[key] = data[key];
933
+ }
934
+ }
935
+ }
936
+ }
937
+ }
938
+
94
939
  /**
95
940
  * Generated bundle index. Do not edit.
96
941
  */
97
942
 
98
- export { CompanyKeysEnum, CompanyMessageTypeEnum, DeviceModeEnum, DocTypeEnum, LeadOriginEnum, PaymentChannelEnum, PaymentModeEnum, PaymentTypeEnum };
943
+ 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
944
  //# sourceMappingURL=cecon-interfaces.mjs.map