@reachu/database 1.0.142 → 1.0.144

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (804) hide show
  1. package/package.json +3 -3
  2. package/src/migrations/1701969845764-promote_to_qa_07_12_23.ts +48 -0
  3. package/dist/config/connect.d.ts +0 -2
  4. package/dist/config/connect.js +0 -34
  5. package/dist/config/connect.js.map +0 -1
  6. package/dist/entity/Address.d.ts +0 -9
  7. package/dist/entity/Address.js +0 -44
  8. package/dist/entity/Address.js.map +0 -1
  9. package/dist/entity/ApiCredential.d.ts +0 -8
  10. package/dist/entity/ApiCredential.js +0 -41
  11. package/dist/entity/ApiCredential.js.map +0 -1
  12. package/dist/entity/Attribute.d.ts +0 -8
  13. package/dist/entity/Attribute.js +0 -41
  14. package/dist/entity/Attribute.js.map +0 -1
  15. package/dist/entity/AuditedModel.d.ts +0 -4
  16. package/dist/entity/AuditedModel.js +0 -24
  17. package/dist/entity/AuditedModel.js.map +0 -1
  18. package/dist/entity/BankAccount.d.ts +0 -11
  19. package/dist/entity/BankAccount.js +0 -55
  20. package/dist/entity/BankAccount.js.map +0 -1
  21. package/dist/entity/Business.d.ts +0 -21
  22. package/dist/entity/Business.js +0 -83
  23. package/dist/entity/Business.js.map +0 -1
  24. package/dist/entity/BusinessProducts.d.ts +0 -6
  25. package/dist/entity/BusinessProducts.js +0 -32
  26. package/dist/entity/BusinessProducts.js.map +0 -1
  27. package/dist/entity/CardRegistration.d.ts +0 -10
  28. package/dist/entity/CardRegistration.js +0 -51
  29. package/dist/entity/CardRegistration.js.map +0 -1
  30. package/dist/entity/Category.d.ts +0 -15
  31. package/dist/entity/Category.js +0 -68
  32. package/dist/entity/Category.js.map +0 -1
  33. package/dist/entity/CategoryImages.d.ts +0 -12
  34. package/dist/entity/CategoryImages.js +0 -57
  35. package/dist/entity/CategoryImages.js.map +0 -1
  36. package/dist/entity/Channel.d.ts +0 -12
  37. package/dist/entity/Channel.js +0 -56
  38. package/dist/entity/Channel.js.map +0 -1
  39. package/dist/entity/ChannelGroup.d.ts +0 -15
  40. package/dist/entity/ChannelGroup.js +0 -77
  41. package/dist/entity/ChannelGroup.js.map +0 -1
  42. package/dist/entity/ChannelUser.d.ts +0 -26
  43. package/dist/entity/ChannelUser.js +0 -111
  44. package/dist/entity/ChannelUser.js.map +0 -1
  45. package/dist/entity/ChannelUserProductSync.d.ts +0 -12
  46. package/dist/entity/ChannelUserProductSync.js +0 -63
  47. package/dist/entity/ChannelUserProductSync.js.map +0 -1
  48. package/dist/entity/Check.d.ts +0 -5
  49. package/dist/entity/Check.js +0 -28
  50. package/dist/entity/Check.js.map +0 -1
  51. package/dist/entity/CheckoutMetadata.d.ts +0 -6
  52. package/dist/entity/CheckoutMetadata.js +0 -35
  53. package/dist/entity/CheckoutMetadata.js.map +0 -1
  54. package/dist/entity/Collection.d.ts +0 -17
  55. package/dist/entity/Collection.js +0 -77
  56. package/dist/entity/Collection.js.map +0 -1
  57. package/dist/entity/CollectionItem.d.ts +0 -10
  58. package/dist/entity/CollectionItem.js +0 -47
  59. package/dist/entity/CollectionItem.js.map +0 -1
  60. package/dist/entity/CollectionShared.d.ts +0 -11
  61. package/dist/entity/CollectionShared.js +0 -51
  62. package/dist/entity/CollectionShared.js.map +0 -1
  63. package/dist/entity/Connection.d.ts +0 -13
  64. package/dist/entity/Connection.js +0 -66
  65. package/dist/entity/Connection.js.map +0 -1
  66. package/dist/entity/Contact.d.ts +0 -9
  67. package/dist/entity/Contact.js +0 -44
  68. package/dist/entity/Contact.js.map +0 -1
  69. package/dist/entity/Country.d.ts +0 -7
  70. package/dist/entity/Country.js +0 -36
  71. package/dist/entity/Country.js.map +0 -1
  72. package/dist/entity/Courier.d.ts +0 -7
  73. package/dist/entity/Courier.js +0 -39
  74. package/dist/entity/Courier.js.map +0 -1
  75. package/dist/entity/Currency.d.ts +0 -7
  76. package/dist/entity/Currency.js +0 -39
  77. package/dist/entity/Currency.js.map +0 -1
  78. package/dist/entity/CustomProduct.d.ts +0 -22
  79. package/dist/entity/CustomProduct.js +0 -95
  80. package/dist/entity/CustomProduct.js.map +0 -1
  81. package/dist/entity/CustomProductImage.d.ts +0 -10
  82. package/dist/entity/CustomProductImage.js +0 -51
  83. package/dist/entity/CustomProductImage.js.map +0 -1
  84. package/dist/entity/CustomVariant.d.ts +0 -13
  85. package/dist/entity/CustomVariant.js +0 -59
  86. package/dist/entity/CustomVariant.js.map +0 -1
  87. package/dist/entity/EnvType.d.ts +0 -6
  88. package/dist/entity/EnvType.js +0 -35
  89. package/dist/entity/EnvType.js.map +0 -1
  90. package/dist/entity/EnvironmentConfiguration.d.ts +0 -7
  91. package/dist/entity/EnvironmentConfiguration.js +0 -39
  92. package/dist/entity/EnvironmentConfiguration.js.map +0 -1
  93. package/dist/entity/ExchangeRate.d.ts +0 -8
  94. package/dist/entity/ExchangeRate.js +0 -43
  95. package/dist/entity/ExchangeRate.js.map +0 -1
  96. package/dist/entity/ExternalRequest.d.ts +0 -12
  97. package/dist/entity/ExternalRequest.js +0 -55
  98. package/dist/entity/ExternalRequest.js.map +0 -1
  99. package/dist/entity/FlatRate.d.ts +0 -9
  100. package/dist/entity/FlatRate.js +0 -45
  101. package/dist/entity/FlatRate.js.map +0 -1
  102. package/dist/entity/FlatRateCountry.d.ts +0 -7
  103. package/dist/entity/FlatRateCountry.js +0 -39
  104. package/dist/entity/FlatRateCountry.js.map +0 -1
  105. package/dist/entity/Fulfillment.d.ts +0 -5
  106. package/dist/entity/Fulfillment.js +0 -28
  107. package/dist/entity/Fulfillment.js.map +0 -1
  108. package/dist/entity/Image.d.ts +0 -12
  109. package/dist/entity/Image.js +0 -58
  110. package/dist/entity/Image.js.map +0 -1
  111. package/dist/entity/ImportedProduct.d.ts +0 -18
  112. package/dist/entity/ImportedProduct.js +0 -80
  113. package/dist/entity/ImportedProduct.js.map +0 -1
  114. package/dist/entity/MagentoConnection.entity.d.ts +0 -14
  115. package/dist/entity/MagentoConnection.entity.js +0 -69
  116. package/dist/entity/MagentoConnection.entity.js.map +0 -1
  117. package/dist/entity/MetricActiveUser.d.ts +0 -8
  118. package/dist/entity/MetricActiveUser.js +0 -43
  119. package/dist/entity/MetricActiveUser.js.map +0 -1
  120. package/dist/entity/Notification.d.ts +0 -20
  121. package/dist/entity/Notification.js +0 -58
  122. package/dist/entity/Notification.js.map +0 -1
  123. package/dist/entity/Option.d.ts +0 -9
  124. package/dist/entity/Option.js +0 -45
  125. package/dist/entity/Option.js.map +0 -1
  126. package/dist/entity/Order.d.ts +0 -30
  127. package/dist/entity/Order.js +0 -110
  128. package/dist/entity/Order.js.map +0 -1
  129. package/dist/entity/OrderCustomer.d.ts +0 -17
  130. package/dist/entity/OrderCustomer.js +0 -76
  131. package/dist/entity/OrderCustomer.js.map +0 -1
  132. package/dist/entity/OrderItem.d.ts +0 -36
  133. package/dist/entity/OrderItem.js +0 -159
  134. package/dist/entity/OrderItem.js.map +0 -1
  135. package/dist/entity/OrderShipping.d.ts +0 -12
  136. package/dist/entity/OrderShipping.js +0 -69
  137. package/dist/entity/OrderShipping.js.map +0 -1
  138. package/dist/entity/OrderTracking.d.ts +0 -16
  139. package/dist/entity/OrderTracking.js +0 -73
  140. package/dist/entity/OrderTracking.js.map +0 -1
  141. package/dist/entity/Payment.d.ts +0 -19
  142. package/dist/entity/Payment.js +0 -85
  143. package/dist/entity/Payment.js.map +0 -1
  144. package/dist/entity/PaymentMethod.d.ts +0 -9
  145. package/dist/entity/PaymentMethod.js +0 -48
  146. package/dist/entity/PaymentMethod.js.map +0 -1
  147. package/dist/entity/PaymentShopify.d.ts +0 -7
  148. package/dist/entity/PaymentShopify.js +0 -39
  149. package/dist/entity/PaymentShopify.js.map +0 -1
  150. package/dist/entity/Permission.d.ts +0 -5
  151. package/dist/entity/Permission.js +0 -31
  152. package/dist/entity/Permission.js.map +0 -1
  153. package/dist/entity/Price.entity.d.ts +0 -6
  154. package/dist/entity/Price.entity.js +0 -33
  155. package/dist/entity/Price.entity.js.map +0 -1
  156. package/dist/entity/Product.entity.d.ts +0 -68
  157. package/dist/entity/Product.entity.js +0 -274
  158. package/dist/entity/Product.entity.js.map +0 -1
  159. package/dist/entity/ProductAttribute.d.ts +0 -9
  160. package/dist/entity/ProductAttribute.js +0 -49
  161. package/dist/entity/ProductAttribute.js.map +0 -1
  162. package/dist/entity/ProductCategory.d.ts +0 -9
  163. package/dist/entity/ProductCategory.js +0 -47
  164. package/dist/entity/ProductCategory.js.map +0 -1
  165. package/dist/entity/ProductDigital.d.ts +0 -29
  166. package/dist/entity/ProductDigital.js +0 -102
  167. package/dist/entity/ProductDigital.js.map +0 -1
  168. package/dist/entity/Request.d.ts +0 -8
  169. package/dist/entity/Request.js +0 -42
  170. package/dist/entity/Request.js.map +0 -1
  171. package/dist/entity/Return.d.ts +0 -8
  172. package/dist/entity/Return.js +0 -40
  173. package/dist/entity/Return.js.map +0 -1
  174. package/dist/entity/ReturnAddress.d.ts +0 -10
  175. package/dist/entity/ReturnAddress.js +0 -48
  176. package/dist/entity/ReturnAddress.js.map +0 -1
  177. package/dist/entity/Role.d.ts +0 -7
  178. package/dist/entity/Role.js +0 -42
  179. package/dist/entity/Role.js.map +0 -1
  180. package/dist/entity/RolePermission.d.ts +0 -8
  181. package/dist/entity/RolePermission.js +0 -40
  182. package/dist/entity/RolePermission.js.map +0 -1
  183. package/dist/entity/ShippingPackage.d.ts +0 -7
  184. package/dist/entity/ShippingPackage.js +0 -39
  185. package/dist/entity/ShippingPackage.js.map +0 -1
  186. package/dist/entity/ShopifyConnection.d.ts +0 -15
  187. package/dist/entity/ShopifyConnection.js +0 -71
  188. package/dist/entity/ShopifyConnection.js.map +0 -1
  189. package/dist/entity/Subcategory.d.ts +0 -9
  190. package/dist/entity/Subcategory.js +0 -41
  191. package/dist/entity/Subcategory.js.map +0 -1
  192. package/dist/entity/Translate.d.ts +0 -8
  193. package/dist/entity/Translate.js +0 -43
  194. package/dist/entity/Translate.js.map +0 -1
  195. package/dist/entity/User.d.ts +0 -90
  196. package/dist/entity/User.js +0 -333
  197. package/dist/entity/User.js.map +0 -1
  198. package/dist/entity/UserChannelApiKey.d.ts +0 -10
  199. package/dist/entity/UserChannelApiKey.js +0 -47
  200. package/dist/entity/UserChannelApiKey.js.map +0 -1
  201. package/dist/entity/UserRole.d.ts +0 -8
  202. package/dist/entity/UserRole.js +0 -40
  203. package/dist/entity/UserRole.js.map +0 -1
  204. package/dist/entity/UserSettings.d.ts +0 -19
  205. package/dist/entity/UserSettings.js +0 -94
  206. package/dist/entity/UserSettings.js.map +0 -1
  207. package/dist/entity/Variant.d.ts +0 -20
  208. package/dist/entity/Variant.js +0 -85
  209. package/dist/entity/Variant.js.map +0 -1
  210. package/dist/entity/Wallet.d.ts +0 -6
  211. package/dist/entity/Wallet.js +0 -35
  212. package/dist/entity/Wallet.js.map +0 -1
  213. package/dist/entity/WooConnection.d.ts +0 -10
  214. package/dist/entity/WooConnection.js +0 -52
  215. package/dist/entity/WooConnection.js.map +0 -1
  216. package/dist/entity/index.d.ts +0 -102
  217. package/dist/entity/index.js +0 -211
  218. package/dist/entity/index.js.map +0 -1
  219. package/dist/entity/modules/discount/Discount.d.ts +0 -18
  220. package/dist/entity/modules/discount/Discount.js +0 -80
  221. package/dist/entity/modules/discount/Discount.js.map +0 -1
  222. package/dist/entity/modules/discount/DiscountCart.d.ts +0 -10
  223. package/dist/entity/modules/discount/DiscountCart.js +0 -51
  224. package/dist/entity/modules/discount/DiscountCart.js.map +0 -1
  225. package/dist/entity/modules/discount/DiscountProduct.d.ts +0 -9
  226. package/dist/entity/modules/discount/DiscountProduct.js +0 -47
  227. package/dist/entity/modules/discount/DiscountProduct.js.map +0 -1
  228. package/dist/entity/modules/discount/DiscountType.d.ts +0 -8
  229. package/dist/entity/modules/discount/DiscountType.js +0 -41
  230. package/dist/entity/modules/discount/DiscountType.js.map +0 -1
  231. package/dist/entity/modules/shipping/ProductShipping.d.ts +0 -10
  232. package/dist/entity/modules/shipping/ProductShipping.js +0 -53
  233. package/dist/entity/modules/shipping/ProductShipping.js.map +0 -1
  234. package/dist/entity/modules/shipping/Shipping.d.ts +0 -17
  235. package/dist/entity/modules/shipping/Shipping.js +0 -75
  236. package/dist/entity/modules/shipping/Shipping.js.map +0 -1
  237. package/dist/entity/modules/shipping/ShippingCountry.d.ts +0 -12
  238. package/dist/entity/modules/shipping/ShippingCountry.js +0 -57
  239. package/dist/entity/modules/shipping/ShippingCountry.js.map +0 -1
  240. package/dist/entity/modules/shopcart/Cart.d.ts +0 -15
  241. package/dist/entity/modules/shopcart/Cart.js +0 -64
  242. package/dist/entity/modules/shopcart/Cart.js.map +0 -1
  243. package/dist/entity/modules/shopcart/CartItem.d.ts +0 -17
  244. package/dist/entity/modules/shopcart/CartItem.js +0 -76
  245. package/dist/entity/modules/shopcart/CartItem.js.map +0 -1
  246. package/dist/entity/modules/shopcart/Checkout.d.ts +0 -23
  247. package/dist/entity/modules/shopcart/Checkout.js +0 -99
  248. package/dist/entity/modules/shopcart/Checkout.js.map +0 -1
  249. package/dist/entity/modules/shopcart/CheckoutBillingAddress.d.ts +0 -18
  250. package/dist/entity/modules/shopcart/CheckoutBillingAddress.js +0 -84
  251. package/dist/entity/modules/shopcart/CheckoutBillingAddress.js.map +0 -1
  252. package/dist/entity/modules/shopcart/CheckoutShippingAddress.d.ts +0 -18
  253. package/dist/entity/modules/shopcart/CheckoutShippingAddress.js +0 -84
  254. package/dist/entity/modules/shopcart/CheckoutShippingAddress.js.map +0 -1
  255. package/dist/entity/modules/shopcart/PriceData.d.ts +0 -9
  256. package/dist/entity/modules/shopcart/PriceData.js +0 -48
  257. package/dist/entity/modules/shopcart/PriceData.js.map +0 -1
  258. package/dist/entity/modules/subscriptions/Plan.d.ts +0 -13
  259. package/dist/entity/modules/subscriptions/Plan.js +0 -61
  260. package/dist/entity/modules/subscriptions/Plan.js.map +0 -1
  261. package/dist/entity/modules/subscriptions/Subscription.d.ts +0 -14
  262. package/dist/entity/modules/subscriptions/Subscription.js +0 -63
  263. package/dist/entity/modules/subscriptions/Subscription.js.map +0 -1
  264. package/dist/entity/modules/subscriptions/UserCountPlan.d.ts +0 -10
  265. package/dist/entity/modules/subscriptions/UserCountPlan.js +0 -49
  266. package/dist/entity/modules/subscriptions/UserCountPlan.js.map +0 -1
  267. package/dist/entity/modules/templates/AuthInfo.d.ts +0 -22
  268. package/dist/entity/modules/templates/AuthInfo.js +0 -98
  269. package/dist/entity/modules/templates/AuthInfo.js.map +0 -1
  270. package/dist/entity/modules/templates/AuthMethod.d.ts +0 -8
  271. package/dist/entity/modules/templates/AuthMethod.js +0 -42
  272. package/dist/entity/modules/templates/AuthMethod.js.map +0 -1
  273. package/dist/entity/modules/templates/EndpointTemplateEcommerce.d.ts +0 -13
  274. package/dist/entity/modules/templates/EndpointTemplateEcommerce.js +0 -61
  275. package/dist/entity/modules/templates/EndpointTemplateEcommerce.js.map +0 -1
  276. package/dist/entity/modules/templates/TemplateEcommerce.d.ts +0 -30
  277. package/dist/entity/modules/templates/TemplateEcommerce.js +0 -128
  278. package/dist/entity/modules/templates/TemplateEcommerce.js.map +0 -1
  279. package/dist/entity/modules/templates/UserTemplateEcommerce.d.ts +0 -15
  280. package/dist/entity/modules/templates/UserTemplateEcommerce.js +0 -61
  281. package/dist/entity/modules/templates/UserTemplateEcommerce.js.map +0 -1
  282. package/dist/entity/modules/templates/WebhookTemplateEcommerce.d.ts +0 -14
  283. package/dist/entity/modules/templates/WebhookTemplateEcommerce.js +0 -65
  284. package/dist/entity/modules/templates/WebhookTemplateEcommerce.js.map +0 -1
  285. package/dist/entity/modules/templates/schemeOrder/ReachuSchemeConfigOrder.d.ts +0 -12
  286. package/dist/entity/modules/templates/schemeOrder/ReachuSchemeConfigOrder.js +0 -56
  287. package/dist/entity/modules/templates/schemeOrder/ReachuSchemeConfigOrder.js.map +0 -1
  288. package/dist/entity/modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrder.d.ts +0 -12
  289. package/dist/entity/modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrder.js +0 -56
  290. package/dist/entity/modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrder.js.map +0 -1
  291. package/dist/entity/modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrderMapped.d.ts +0 -12
  292. package/dist/entity/modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrderMapped.js +0 -56
  293. package/dist/entity/modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrderMapped.js.map +0 -1
  294. package/dist/entity/modules/templates/schemeProduct/ReachuSchemeConfigProduct.d.ts +0 -12
  295. package/dist/entity/modules/templates/schemeProduct/ReachuSchemeConfigProduct.js +0 -56
  296. package/dist/entity/modules/templates/schemeProduct/ReachuSchemeConfigProduct.js.map +0 -1
  297. package/dist/entity/modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProduct.d.ts +0 -11
  298. package/dist/entity/modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProduct.js +0 -52
  299. package/dist/entity/modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProduct.js.map +0 -1
  300. package/dist/entity/modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProductMapped.d.ts +0 -11
  301. package/dist/entity/modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProductMapped.js +0 -52
  302. package/dist/entity/modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProductMapped.js.map +0 -1
  303. package/dist/entity/modules/templates/schemeVariant/ReachuSchemeConfigVariant.d.ts +0 -12
  304. package/dist/entity/modules/templates/schemeVariant/ReachuSchemeConfigVariant.js +0 -56
  305. package/dist/entity/modules/templates/schemeVariant/ReachuSchemeConfigVariant.js.map +0 -1
  306. package/dist/entity/modules/templates/schemeVariant/TemplateEcommerceSchemeConfigVariant.d.ts +0 -12
  307. package/dist/entity/modules/templates/schemeVariant/TemplateEcommerceSchemeConfigVariant.js +0 -56
  308. package/dist/entity/modules/templates/schemeVariant/TemplateEcommerceSchemeConfigVariant.js.map +0 -1
  309. package/dist/entity/modules/templates/schemeVariant/TemplateEcommerceSchemeConfigVariantMapped.d.ts +0 -12
  310. package/dist/entity/modules/templates/schemeVariant/TemplateEcommerceSchemeConfigVariantMapped.js +0 -56
  311. package/dist/entity/modules/templates/schemeVariant/TemplateEcommerceSchemeConfigVariantMapped.js.map +0 -1
  312. package/dist/examples/app01.d.ts +0 -1
  313. package/dist/examples/app01.js +0 -23
  314. package/dist/examples/app01.js.map +0 -1
  315. package/dist/helpers/index.d.ts +0 -6
  316. package/dist/helpers/index.js +0 -33
  317. package/dist/helpers/index.js.map +0 -1
  318. package/dist/helpers/order/index.d.ts +0 -28
  319. package/dist/helpers/order/index.js +0 -47
  320. package/dist/helpers/order/index.js.map +0 -1
  321. package/dist/helpers/products/index.d.ts +0 -2
  322. package/dist/helpers/products/index.js +0 -25
  323. package/dist/helpers/products/index.js.map +0 -1
  324. package/dist/helpers/products/storage/index.d.ts +0 -2
  325. package/dist/helpers/products/storage/index.js +0 -25
  326. package/dist/helpers/products/storage/index.js.map +0 -1
  327. package/dist/helpers/products/storage/search.d.ts +0 -56
  328. package/dist/helpers/products/storage/search.js +0 -193
  329. package/dist/helpers/products/storage/search.js.map +0 -1
  330. package/dist/helpers/querys/index.d.ts +0 -2
  331. package/dist/helpers/querys/index.js +0 -31
  332. package/dist/helpers/querys/index.js.map +0 -1
  333. package/dist/helpers/returns/index.d.ts +0 -2
  334. package/dist/helpers/returns/index.js +0 -25
  335. package/dist/helpers/returns/index.js.map +0 -1
  336. package/dist/helpers/returns/storage.d.ts +0 -3
  337. package/dist/helpers/returns/storage.js +0 -23
  338. package/dist/helpers/returns/storage.js.map +0 -1
  339. package/dist/helpers/statistics/connections.d.ts +0 -6
  340. package/dist/helpers/statistics/connections.js +0 -78
  341. package/dist/helpers/statistics/connections.js.map +0 -1
  342. package/dist/helpers/statistics/index.d.ts +0 -2
  343. package/dist/helpers/statistics/index.js +0 -25
  344. package/dist/helpers/statistics/index.js.map +0 -1
  345. package/dist/index.d.ts +0 -7
  346. package/dist/index.js +0 -35
  347. package/dist/index.js.map +0 -1
  348. package/dist/interface/connectionConfig.d.ts +0 -16
  349. package/dist/interface/connectionConfig.js +0 -3
  350. package/dist/interface/connectionConfig.js.map +0 -1
  351. package/dist/migrations/1628474597284-InitialSchema.d.ts +0 -6
  352. package/dist/migrations/1628474597284-InitialSchema.js +0 -203
  353. package/dist/migrations/1628474597284-InitialSchema.js.map +0 -1
  354. package/dist/migrations/1630077596132-RemoveMangopay.d.ts +0 -6
  355. package/dist/migrations/1630077596132-RemoveMangopay.js +0 -53
  356. package/dist/migrations/1630077596132-RemoveMangopay.js.map +0 -1
  357. package/dist/migrations/1633444449026-MagentoIntegration.d.ts +0 -6
  358. package/dist/migrations/1633444449026-MagentoIntegration.js +0 -42
  359. package/dist/migrations/1633444449026-MagentoIntegration.js.map +0 -1
  360. package/dist/migrations/1634070448072-MagentoIntegrationExternalChannelOrder.d.ts +0 -6
  361. package/dist/migrations/1634070448072-MagentoIntegrationExternalChannelOrder.js +0 -31
  362. package/dist/migrations/1634070448072-MagentoIntegrationExternalChannelOrder.js.map +0 -1
  363. package/dist/migrations/1635811861541-SSCCOrderGenerator.d.ts +0 -6
  364. package/dist/migrations/1635811861541-SSCCOrderGenerator.js +0 -29
  365. package/dist/migrations/1635811861541-SSCCOrderGenerator.js.map +0 -1
  366. package/dist/migrations/1638447028594-RolesFeature.d.ts +0 -6
  367. package/dist/migrations/1638447028594-RolesFeature.js +0 -47
  368. package/dist/migrations/1638447028594-RolesFeature.js.map +0 -1
  369. package/dist/migrations/1638493697631-ProductCurrencyPrice.d.ts +0 -6
  370. package/dist/migrations/1638493697631-ProductCurrencyPrice.js +0 -35
  371. package/dist/migrations/1638493697631-ProductCurrencyPrice.js.map +0 -1
  372. package/dist/migrations/1646797095632-UpdateWooTrackingNumber.d.ts +0 -6
  373. package/dist/migrations/1646797095632-UpdateWooTrackingNumber.js +0 -33
  374. package/dist/migrations/1646797095632-UpdateWooTrackingNumber.js.map +0 -1
  375. package/dist/migrations/1648526519546-AddedUserSettings.d.ts +0 -6
  376. package/dist/migrations/1648526519546-AddedUserSettings.js +0 -37
  377. package/dist/migrations/1648526519546-AddedUserSettings.js.map +0 -1
  378. package/dist/migrations/1651206194365-Wolt.d.ts +0 -6
  379. package/dist/migrations/1651206194365-Wolt.js +0 -52
  380. package/dist/migrations/1651206194365-Wolt.js.map +0 -1
  381. package/dist/migrations/1663227133335-shop-cart.d.ts +0 -6
  382. package/dist/migrations/1663227133335-shop-cart.js +0 -62
  383. package/dist/migrations/1663227133335-shop-cart.js.map +0 -1
  384. package/dist/migrations/1664160721396-collection.d.ts +0 -6
  385. package/dist/migrations/1664160721396-collection.js +0 -43
  386. package/dist/migrations/1664160721396-collection.js.map +0 -1
  387. package/dist/migrations/1664222251306-update-collection.d.ts +0 -6
  388. package/dist/migrations/1664222251306-update-collection.js +0 -37
  389. package/dist/migrations/1664222251306-update-collection.js.map +0 -1
  390. package/dist/migrations/1665757388450-channel.d.ts +0 -6
  391. package/dist/migrations/1665757388450-channel.js +0 -59
  392. package/dist/migrations/1665757388450-channel.js.map +0 -1
  393. package/dist/migrations/1666098098114-prod-22-10-18.d.ts +0 -6
  394. package/dist/migrations/1666098098114-prod-22-10-18.js +0 -110
  395. package/dist/migrations/1666098098114-prod-22-10-18.js.map +0 -1
  396. package/dist/migrations/1666631086586-user-channel-api-key-and-currency.d.ts +0 -6
  397. package/dist/migrations/1666631086586-user-channel-api-key-and-currency.js +0 -39
  398. package/dist/migrations/1666631086586-user-channel-api-key-and-currency.js.map +0 -1
  399. package/dist/migrations/1666632054252-user-channel-api-key-and-currency-update.d.ts +0 -6
  400. package/dist/migrations/1666632054252-user-channel-api-key-and-currency-update.js +0 -35
  401. package/dist/migrations/1666632054252-user-channel-api-key-and-currency-update.js.map +0 -1
  402. package/dist/migrations/1666752877685-checkout-and-usser-settings.d.ts +0 -6
  403. package/dist/migrations/1666752877685-checkout-and-usser-settings.js +0 -39
  404. package/dist/migrations/1666752877685-checkout-and-usser-settings.js.map +0 -1
  405. package/dist/migrations/1666846907205-update-user-settings.d.ts +0 -6
  406. package/dist/migrations/1666846907205-update-user-settings.js +0 -31
  407. package/dist/migrations/1666846907205-update-user-settings.js.map +0 -1
  408. package/dist/migrations/1667259333252-prod-22-10-31.d.ts +0 -6
  409. package/dist/migrations/1667259333252-prod-22-10-31.js +0 -43
  410. package/dist/migrations/1667259333252-prod-22-10-31.js.map +0 -1
  411. package/dist/migrations/1667518502388-product-update.d.ts +0 -6
  412. package/dist/migrations/1667518502388-product-update.js +0 -31
  413. package/dist/migrations/1667518502388-product-update.js.map +0 -1
  414. package/dist/migrations/1668571948507-ExchangeRate.d.ts +0 -6
  415. package/dist/migrations/1668571948507-ExchangeRate.js +0 -29
  416. package/dist/migrations/1668571948507-ExchangeRate.js.map +0 -1
  417. package/dist/migrations/1668580085818-update-ExchangeRate.d.ts +0 -6
  418. package/dist/migrations/1668580085818-update-ExchangeRate.js +0 -31
  419. package/dist/migrations/1668580085818-update-ExchangeRate.js.map +0 -1
  420. package/dist/migrations/1669318273596-update-oder-notification.d.ts +0 -6
  421. package/dist/migrations/1669318273596-update-oder-notification.js +0 -33
  422. package/dist/migrations/1669318273596-update-oder-notification.js.map +0 -1
  423. package/dist/migrations/1669737769669-option.d.ts +0 -6
  424. package/dist/migrations/1669737769669-option.js +0 -29
  425. package/dist/migrations/1669737769669-option.js.map +0 -1
  426. package/dist/migrations/1669912111945-shipping.d.ts +0 -6
  427. package/dist/migrations/1669912111945-shipping.js +0 -39
  428. package/dist/migrations/1669912111945-shipping.js.map +0 -1
  429. package/dist/migrations/1670258127812-price.d.ts +0 -6
  430. package/dist/migrations/1670258127812-price.js +0 -31
  431. package/dist/migrations/1670258127812-price.js.map +0 -1
  432. package/dist/migrations/1670952109146-variant.d.ts +0 -6
  433. package/dist/migrations/1670952109146-variant.js +0 -29
  434. package/dist/migrations/1670952109146-variant.js.map +0 -1
  435. package/dist/migrations/1671409580304-order.d.ts +0 -6
  436. package/dist/migrations/1671409580304-order.js +0 -33
  437. package/dist/migrations/1671409580304-order.js.map +0 -1
  438. package/dist/migrations/1672239194236-user-shipping.d.ts +0 -6
  439. package/dist/migrations/1672239194236-user-shipping.js +0 -31
  440. package/dist/migrations/1672239194236-user-shipping.js.map +0 -1
  441. package/dist/migrations/1673628218703-promote_to_production_2023_13_01.d.ts +0 -6
  442. package/dist/migrations/1673628218703-promote_to_production_2023_13_01.js +0 -67
  443. package/dist/migrations/1673628218703-promote_to_production_2023_13_01.js.map +0 -1
  444. package/dist/migrations/1674016904315-exchangeRate_2023_13_01.d.ts +0 -6
  445. package/dist/migrations/1674016904315-exchangeRate_2023_13_01.js +0 -29
  446. package/dist/migrations/1674016904315-exchangeRate_2023_13_01.js.map +0 -1
  447. package/dist/migrations/1674743576475-promote_to_production_2023_26_01.d.ts +0 -6
  448. package/dist/migrations/1674743576475-promote_to_production_2023_26_01.js +0 -29
  449. package/dist/migrations/1674743576475-promote_to_production_2023_26_01.js.map +0 -1
  450. package/dist/migrations/1675452256156-task-1062.d.ts +0 -6
  451. package/dist/migrations/1675452256156-task-1062.js +0 -39
  452. package/dist/migrations/1675452256156-task-1062.js.map +0 -1
  453. package/dist/migrations/1676057445311-task-1062V2.d.ts +0 -6
  454. package/dist/migrations/1676057445311-task-1062V2.js +0 -29
  455. package/dist/migrations/1676057445311-task-1062V2.js.map +0 -1
  456. package/dist/migrations/1676060390524-task-1062V3.d.ts +0 -6
  457. package/dist/migrations/1676060390524-task-1062V3.js +0 -31
  458. package/dist/migrations/1676060390524-task-1062V3.js.map +0 -1
  459. package/dist/migrations/1676389900564-task-1062V4.d.ts +0 -6
  460. package/dist/migrations/1676389900564-task-1062V4.js +0 -29
  461. package/dist/migrations/1676389900564-task-1062V4.js.map +0 -1
  462. package/dist/migrations/1676558804200-task-1074V1.d.ts +0 -6
  463. package/dist/migrations/1676558804200-task-1074V1.js +0 -29
  464. package/dist/migrations/1676558804200-task-1074V1.js.map +0 -1
  465. package/dist/migrations/1676656657956-task-1084V1.d.ts +0 -6
  466. package/dist/migrations/1676656657956-task-1084V1.js +0 -29
  467. package/dist/migrations/1676656657956-task-1084V1.js.map +0 -1
  468. package/dist/migrations/1677706695399-promote_to_production_2023_01_03.d.ts +0 -6
  469. package/dist/migrations/1677706695399-promote_to_production_2023_01_03.js +0 -49
  470. package/dist/migrations/1677706695399-promote_to_production_2023_01_03.js.map +0 -1
  471. package/dist/migrations/1677763068338-task-1032V1.d.ts +0 -6
  472. package/dist/migrations/1677763068338-task-1032V1.js +0 -51
  473. package/dist/migrations/1677763068338-task-1032V1.js.map +0 -1
  474. package/dist/migrations/1677764464274-task-1032V2.d.ts +0 -6
  475. package/dist/migrations/1677764464274-task-1032V2.js +0 -33
  476. package/dist/migrations/1677764464274-task-1032V2.js.map +0 -1
  477. package/dist/migrations/1678115824175-task-1098V1.d.ts +0 -6
  478. package/dist/migrations/1678115824175-task-1098V1.js +0 -31
  479. package/dist/migrations/1678115824175-task-1098V1.js.map +0 -1
  480. package/dist/migrations/1679329902116-promote_to_production_2023_03_20.d.ts +0 -6
  481. package/dist/migrations/1679329902116-promote_to_production_2023_03_20.js +0 -61
  482. package/dist/migrations/1679329902116-promote_to_production_2023_03_20.js.map +0 -1
  483. package/dist/migrations/1680581444059-template.d.ts +0 -6
  484. package/dist/migrations/1680581444059-template.js +0 -111
  485. package/dist/migrations/1680581444059-template.js.map +0 -1
  486. package/dist/migrations/1681167494090-template-channel-name.d.ts +0 -6
  487. package/dist/migrations/1681167494090-template-channel-name.js +0 -29
  488. package/dist/migrations/1681167494090-template-channel-name.js.map +0 -1
  489. package/dist/migrations/1681170372251-template-channel-fix.d.ts +0 -6
  490. package/dist/migrations/1681170372251-template-channel-fix.js +0 -39
  491. package/dist/migrations/1681170372251-template-channel-fix.js.map +0 -1
  492. package/dist/migrations/1681236978678-template-channel-update.d.ts +0 -6
  493. package/dist/migrations/1681236978678-template-channel-update.js +0 -37
  494. package/dist/migrations/1681236978678-template-channel-update.js.map +0 -1
  495. package/dist/migrations/1681258240525-template-channel-update-2.d.ts +0 -6
  496. package/dist/migrations/1681258240525-template-channel-update-2.js +0 -33
  497. package/dist/migrations/1681258240525-template-channel-update-2.js.map +0 -1
  498. package/dist/migrations/1681485048240-template-ecommerce.d.ts +0 -6
  499. package/dist/migrations/1681485048240-template-ecommerce.js +0 -86
  500. package/dist/migrations/1681485048240-template-ecommerce.js.map +0 -1
  501. package/dist/migrations/1681485990275-template-ecommerce-two.d.ts +0 -6
  502. package/dist/migrations/1681485990275-template-ecommerce-two.js +0 -31
  503. package/dist/migrations/1681485990275-template-ecommerce-two.js.map +0 -1
  504. package/dist/migrations/1681741033630-Subscriptions.d.ts +0 -6
  505. package/dist/migrations/1681741033630-Subscriptions.js +0 -37
  506. package/dist/migrations/1681741033630-Subscriptions.js.map +0 -1
  507. package/dist/migrations/1681765500644-template-auth-fix.d.ts +0 -6
  508. package/dist/migrations/1681765500644-template-auth-fix.js +0 -55
  509. package/dist/migrations/1681765500644-template-auth-fix.js.map +0 -1
  510. package/dist/migrations/1681967226231-Subscriptions_v2.d.ts +0 -6
  511. package/dist/migrations/1681967226231-Subscriptions_v2.js +0 -31
  512. package/dist/migrations/1681967226231-Subscriptions_v2.js.map +0 -1
  513. package/dist/migrations/1682475704295-Subscriptions_v3.d.ts +0 -6
  514. package/dist/migrations/1682475704295-Subscriptions_v3.js +0 -42
  515. package/dist/migrations/1682475704295-Subscriptions_v3.js.map +0 -1
  516. package/dist/migrations/1682691040003-code-in-plan.d.ts +0 -6
  517. package/dist/migrations/1682691040003-code-in-plan.js +0 -31
  518. package/dist/migrations/1682691040003-code-in-plan.js.map +0 -1
  519. package/dist/migrations/1682702844783-promote_to_production_28_04_2023.d.ts +0 -6
  520. package/dist/migrations/1682702844783-promote_to_production_28_04_2023.js +0 -125
  521. package/dist/migrations/1682702844783-promote_to_production_28_04_2023.js.map +0 -1
  522. package/dist/migrations/1683077989567-update_plan.d.ts +0 -6
  523. package/dist/migrations/1683077989567-update_plan.js +0 -31
  524. package/dist/migrations/1683077989567-update_plan.js.map +0 -1
  525. package/dist/migrations/1683322405116-translate.d.ts +0 -6
  526. package/dist/migrations/1683322405116-translate.js +0 -29
  527. package/dist/migrations/1683322405116-translate.js.map +0 -1
  528. package/dist/migrations/1683656076895-promote_to_production_09_05_2023.d.ts +0 -6
  529. package/dist/migrations/1683656076895-promote_to_production_09_05_2023.js +0 -35
  530. package/dist/migrations/1683656076895-promote_to_production_09_05_2023.js.map +0 -1
  531. package/dist/migrations/1683904619468-connections.d.ts +0 -6
  532. package/dist/migrations/1683904619468-connections.js +0 -37
  533. package/dist/migrations/1683904619468-connections.js.map +0 -1
  534. package/dist/migrations/1683908691683-connections-update.d.ts +0 -6
  535. package/dist/migrations/1683908691683-connections-update.js +0 -39
  536. package/dist/migrations/1683908691683-connections-update.js.map +0 -1
  537. package/dist/migrations/1684176902363-connections-update-2.d.ts +0 -6
  538. package/dist/migrations/1684176902363-connections-update-2.js +0 -33
  539. package/dist/migrations/1684176902363-connections-update-2.js.map +0 -1
  540. package/dist/migrations/1684451330738-externalRequest.d.ts +0 -6
  541. package/dist/migrations/1684451330738-externalRequest.js +0 -39
  542. package/dist/migrations/1684451330738-externalRequest.js.map +0 -1
  543. package/dist/migrations/1684452127341-externalRequest_v1.d.ts +0 -6
  544. package/dist/migrations/1684452127341-externalRequest_v1.js +0 -33
  545. package/dist/migrations/1684452127341-externalRequest_v1.js.map +0 -1
  546. package/dist/migrations/1684452476996-externalRequest_v2.d.ts +0 -6
  547. package/dist/migrations/1684452476996-externalRequest_v2.js +0 -33
  548. package/dist/migrations/1684452476996-externalRequest_v2.js.map +0 -1
  549. package/dist/migrations/1684935064606-shopify-conn.d.ts +0 -6
  550. package/dist/migrations/1684935064606-shopify-conn.js +0 -33
  551. package/dist/migrations/1684935064606-shopify-conn.js.map +0 -1
  552. package/dist/migrations/1684975416295-shopify-conn-2.d.ts +0 -6
  553. package/dist/migrations/1684975416295-shopify-conn-2.js +0 -31
  554. package/dist/migrations/1684975416295-shopify-conn-2.js.map +0 -1
  555. package/dist/migrations/1685123080409-externalRequest_v3.d.ts +0 -6
  556. package/dist/migrations/1685123080409-externalRequest_v3.js +0 -31
  557. package/dist/migrations/1685123080409-externalRequest_v3.js.map +0 -1
  558. package/dist/migrations/1685127311585-externalRequest_v4.d.ts +0 -6
  559. package/dist/migrations/1685127311585-externalRequest_v4.js +0 -33
  560. package/dist/migrations/1685127311585-externalRequest_v4.js.map +0 -1
  561. package/dist/migrations/1685128263295-external-request-update.d.ts +0 -6
  562. package/dist/migrations/1685128263295-external-request-update.js +0 -45
  563. package/dist/migrations/1685128263295-external-request-update.js.map +0 -1
  564. package/dist/migrations/1686235086187-fix-multiple-shops.d.ts +0 -6
  565. package/dist/migrations/1686235086187-fix-multiple-shops.js +0 -31
  566. package/dist/migrations/1686235086187-fix-multiple-shops.js.map +0 -1
  567. package/dist/migrations/1686309865248-cart_shipping_country.d.ts +0 -6
  568. package/dist/migrations/1686309865248-cart_shipping_country.js +0 -33
  569. package/dist/migrations/1686309865248-cart_shipping_country.js.map +0 -1
  570. package/dist/migrations/1686837392110-cart_shipping_default.d.ts +0 -6
  571. package/dist/migrations/1686837392110-cart_shipping_default.js +0 -29
  572. package/dist/migrations/1686837392110-cart_shipping_default.js.map +0 -1
  573. package/dist/migrations/1687235204409-channel_user.d.ts +0 -6
  574. package/dist/migrations/1687235204409-channel_user.js +0 -29
  575. package/dist/migrations/1687235204409-channel_user.js.map +0 -1
  576. package/dist/migrations/1687322723851-channel_apikey.d.ts +0 -6
  577. package/dist/migrations/1687322723851-channel_apikey.js +0 -31
  578. package/dist/migrations/1687322723851-channel_apikey.js.map +0 -1
  579. package/dist/migrations/1687872767462-add-columns-template-endpoint.d.ts +0 -6
  580. package/dist/migrations/1687872767462-add-columns-template-endpoint.js +0 -43
  581. package/dist/migrations/1687872767462-add-columns-template-endpoint.js.map +0 -1
  582. package/dist/migrations/1687876131132-migration-develop.d.ts +0 -6
  583. package/dist/migrations/1687876131132-migration-develop.js +0 -31
  584. package/dist/migrations/1687876131132-migration-develop.js.map +0 -1
  585. package/dist/migrations/1687877455406-migration-develop_01.d.ts +0 -6
  586. package/dist/migrations/1687877455406-migration-develop_01.js +0 -37
  587. package/dist/migrations/1687877455406-migration-develop_01.js.map +0 -1
  588. package/dist/migrations/1687877967732-migration-pre-develop.d.ts +0 -6
  589. package/dist/migrations/1687877967732-migration-pre-develop.js +0 -31
  590. package/dist/migrations/1687877967732-migration-pre-develop.js.map +0 -1
  591. package/dist/migrations/1687909776321-migration-pre-develop-shopiffy-connection.d.ts +0 -6
  592. package/dist/migrations/1687909776321-migration-pre-develop-shopiffy-connection.js +0 -35
  593. package/dist/migrations/1687909776321-migration-pre-develop-shopiffy-connection.js.map +0 -1
  594. package/dist/migrations/1687981491374-add-info-to-auth.d.ts +0 -6
  595. package/dist/migrations/1687981491374-add-info-to-auth.js +0 -37
  596. package/dist/migrations/1687981491374-add-info-to-auth.js.map +0 -1
  597. package/dist/migrations/1687993176652-add-info-to-auth-2.d.ts +0 -6
  598. package/dist/migrations/1687993176652-add-info-to-auth-2.js +0 -35
  599. package/dist/migrations/1687993176652-add-info-to-auth-2.js.map +0 -1
  600. package/dist/migrations/1687997223199-migration-pre-develop-api-key-channel.d.ts +0 -6
  601. package/dist/migrations/1687997223199-migration-pre-develop-api-key-channel.js +0 -35
  602. package/dist/migrations/1687997223199-migration-pre-develop-api-key-channel.js.map +0 -1
  603. package/dist/migrations/1688049065964-add-title-endpoint.d.ts +0 -6
  604. package/dist/migrations/1688049065964-add-title-endpoint.js +0 -29
  605. package/dist/migrations/1688049065964-add-title-endpoint.js.map +0 -1
  606. package/dist/migrations/1688489173526-add-webhook-template.d.ts +0 -6
  607. package/dist/migrations/1688489173526-add-webhook-template.js +0 -31
  608. package/dist/migrations/1688489173526-add-webhook-template.js.map +0 -1
  609. package/dist/migrations/1688921300692-migration-pre-develop-user-channel-exported-product.d.ts +0 -6
  610. package/dist/migrations/1688921300692-migration-pre-develop-user-channel-exported-product.js +0 -31
  611. package/dist/migrations/1688921300692-migration-pre-develop-user-channel-exported-product.js.map +0 -1
  612. package/dist/migrations/1688925248106-migration-pre-develop-user-channel-exported-product_v1.d.ts +0 -6
  613. package/dist/migrations/1688925248106-migration-pre-develop-user-channel-exported-product_v1.js +0 -31
  614. package/dist/migrations/1688925248106-migration-pre-develop-user-channel-exported-product_v1.js.map +0 -1
  615. package/dist/migrations/1689005718747-add-active-colum-in-variant.d.ts +0 -6
  616. package/dist/migrations/1689005718747-add-active-colum-in-variant.js +0 -47
  617. package/dist/migrations/1689005718747-add-active-colum-in-variant.js.map +0 -1
  618. package/dist/migrations/1689020331011-add-discount.d.ts +0 -6
  619. package/dist/migrations/1689020331011-add-discount.js +0 -45
  620. package/dist/migrations/1689020331011-add-discount.js.map +0 -1
  621. package/dist/migrations/1689279346515-add-discount-user.d.ts +0 -6
  622. package/dist/migrations/1689279346515-add-discount-user.js +0 -31
  623. package/dist/migrations/1689279346515-add-discount-user.js.map +0 -1
  624. package/dist/migrations/1689345976870-promote_to_development_14_07_23.d.ts +0 -6
  625. package/dist/migrations/1689345976870-promote_to_development_14_07_23.js +0 -47
  626. package/dist/migrations/1689345976870-promote_to_development_14_07_23.js.map +0 -1
  627. package/dist/migrations/1689702729291-discount-applied.d.ts +0 -6
  628. package/dist/migrations/1689702729291-discount-applied.js +0 -29
  629. package/dist/migrations/1689702729291-discount-applied.js.map +0 -1
  630. package/dist/migrations/1689964936496-promote_to_production_21_07_23_01.d.ts +0 -6
  631. package/dist/migrations/1689964936496-promote_to_production_21_07_23_01.js +0 -93
  632. package/dist/migrations/1689964936496-promote_to_production_21_07_23_01.js.map +0 -1
  633. package/dist/migrations/1691662129283-woo_connect_channel_user.d.ts +0 -6
  634. package/dist/migrations/1691662129283-woo_connect_channel_user.js +0 -31
  635. package/dist/migrations/1691662129283-woo_connect_channel_user.js.map +0 -1
  636. package/dist/migrations/1691670038774-woo_connect_channel_user_1.d.ts +0 -6
  637. package/dist/migrations/1691670038774-woo_connect_channel_user_1.js +0 -33
  638. package/dist/migrations/1691670038774-woo_connect_channel_user_1.js.map +0 -1
  639. package/dist/migrations/1691670866271-woo_connect_channel_user_3.d.ts +0 -6
  640. package/dist/migrations/1691670866271-woo_connect_channel_user_3.js +0 -35
  641. package/dist/migrations/1691670866271-woo_connect_channel_user_3.js.map +0 -1
  642. package/dist/migrations/1691671305372-woo_connect_channel_user_4.d.ts +0 -6
  643. package/dist/migrations/1691671305372-woo_connect_channel_user_4.js +0 -31
  644. package/dist/migrations/1691671305372-woo_connect_channel_user_4.js.map +0 -1
  645. package/dist/migrations/1691671493692-woo_connect_channel_user_5.d.ts +0 -6
  646. package/dist/migrations/1691671493692-woo_connect_channel_user_5.js +0 -29
  647. package/dist/migrations/1691671493692-woo_connect_channel_user_5.js.map +0 -1
  648. package/dist/migrations/1691679304105-woo_connect_channel_user_6.d.ts +0 -6
  649. package/dist/migrations/1691679304105-woo_connect_channel_user_6.js +0 -31
  650. package/dist/migrations/1691679304105-woo_connect_channel_user_6.js.map +0 -1
  651. package/dist/migrations/1691764260299-promote_to_production_11_08_23.d.ts +0 -6
  652. package/dist/migrations/1691764260299-promote_to_production_11_08_23.js +0 -33
  653. package/dist/migrations/1691764260299-promote_to_production_11_08_23.js.map +0 -1
  654. package/dist/migrations/1693220480521-woo_connect_supplier.d.ts +0 -6
  655. package/dist/migrations/1693220480521-woo_connect_supplier.js +0 -29
  656. package/dist/migrations/1693220480521-woo_connect_supplier.js.map +0 -1
  657. package/dist/migrations/1693249143377-first-stem-category.d.ts +0 -6
  658. package/dist/migrations/1693249143377-first-stem-category.js +0 -31
  659. package/dist/migrations/1693249143377-first-stem-category.js.map +0 -1
  660. package/dist/migrations/1693335945081-first-step-category-2.d.ts +0 -6
  661. package/dist/migrations/1693335945081-first-step-category-2.js +0 -33
  662. package/dist/migrations/1693335945081-first-step-category-2.js.map +0 -1
  663. package/dist/migrations/1693484300635-variant_images.d.ts +0 -6
  664. package/dist/migrations/1693484300635-variant_images.js +0 -43
  665. package/dist/migrations/1693484300635-variant_images.js.map +0 -1
  666. package/dist/migrations/1694450850673-promote_to_production_11_09_23.d.ts +0 -6
  667. package/dist/migrations/1694450850673-promote_to_production_11_09_23.js +0 -51
  668. package/dist/migrations/1694450850673-promote_to_production_11_09_23.js.map +0 -1
  669. package/dist/migrations/1694451010874-promote_to_production_11_09_23__01.d.ts +0 -6
  670. package/dist/migrations/1694451010874-promote_to_production_11_09_23__01.js +0 -51
  671. package/dist/migrations/1694451010874-promote_to_production_11_09_23__01.js.map +0 -1
  672. package/dist/migrations/1694661125001-user-channel-and-megento-connection.d.ts +0 -6
  673. package/dist/migrations/1694661125001-user-channel-and-megento-connection.js +0 -37
  674. package/dist/migrations/1694661125001-user-channel-and-megento-connection.js.map +0 -1
  675. package/dist/migrations/1694787189040-flag-digital.d.ts +0 -6
  676. package/dist/migrations/1694787189040-flag-digital.js +0 -29
  677. package/dist/migrations/1694787189040-flag-digital.js.map +0 -1
  678. package/dist/migrations/1695122269023-imported_magento.d.ts +0 -6
  679. package/dist/migrations/1695122269023-imported_magento.js +0 -31
  680. package/dist/migrations/1695122269023-imported_magento.js.map +0 -1
  681. package/dist/migrations/1695123846329-imported_magento_1.d.ts +0 -6
  682. package/dist/migrations/1695123846329-imported_magento_1.js +0 -33
  683. package/dist/migrations/1695123846329-imported_magento_1.js.map +0 -1
  684. package/dist/migrations/1695658039275-digital-product-v-1.d.ts +0 -6
  685. package/dist/migrations/1695658039275-digital-product-v-1.js +0 -31
  686. package/dist/migrations/1695658039275-digital-product-v-1.js.map +0 -1
  687. package/dist/migrations/1695907880854-digital-product-v-2.d.ts +0 -6
  688. package/dist/migrations/1695907880854-digital-product-v-2.js +0 -29
  689. package/dist/migrations/1695907880854-digital-product-v-2.js.map +0 -1
  690. package/dist/migrations/1696260773644-digital_update.d.ts +0 -6
  691. package/dist/migrations/1696260773644-digital_update.js +0 -39
  692. package/dist/migrations/1696260773644-digital_update.js.map +0 -1
  693. package/dist/migrations/1696266360829-digital_update_01.d.ts +0 -6
  694. package/dist/migrations/1696266360829-digital_update_01.js +0 -35
  695. package/dist/migrations/1696266360829-digital_update_01.js.map +0 -1
  696. package/dist/migrations/1696268533737-digital_update_02.d.ts +0 -6
  697. package/dist/migrations/1696268533737-digital_update_02.js +0 -31
  698. package/dist/migrations/1696268533737-digital_update_02.js.map +0 -1
  699. package/dist/migrations/1696596436032-promote_to_production.d.ts +0 -6
  700. package/dist/migrations/1696596436032-promote_to_production.js +0 -51
  701. package/dist/migrations/1696596436032-promote_to_production.js.map +0 -1
  702. package/dist/migrations/1696608295188-compareat-line-items-1.d.ts +0 -6
  703. package/dist/migrations/1696608295188-compareat-line-items-1.js +0 -29
  704. package/dist/migrations/1696608295188-compareat-line-items-1.js.map +0 -1
  705. package/dist/migrations/1697724057621-promote_to_production.d.ts +0 -6
  706. package/dist/migrations/1697724057621-promote_to_production.js +0 -31
  707. package/dist/migrations/1697724057621-promote_to_production.js.map +0 -1
  708. package/dist/migrations/1697858770679-user_channel.d.ts +0 -6
  709. package/dist/migrations/1697858770679-user_channel.js +0 -29
  710. package/dist/migrations/1697858770679-user_channel.js.map +0 -1
  711. package/dist/migrations/1699601410949-promote_to_PRODUCTION_10_11_2023.d.ts +0 -6
  712. package/dist/migrations/1699601410949-promote_to_PRODUCTION_10_11_2023.js +0 -41
  713. package/dist/migrations/1699601410949-promote_to_PRODUCTION_10_11_2023.js.map +0 -1
  714. package/dist/migrations/1700068092273-generated_15_11_2023.d.ts +0 -6
  715. package/dist/migrations/1700068092273-generated_15_11_2023.js +0 -29
  716. package/dist/migrations/1700068092273-generated_15_11_2023.js.map +0 -1
  717. package/dist/migrations/1700574103856-subscription-response-max.d.ts +0 -6
  718. package/dist/migrations/1700574103856-subscription-response-max.js +0 -31
  719. package/dist/migrations/1700574103856-subscription-response-max.js.map +0 -1
  720. package/dist/migrations/1700597907034-product-digital-reachu.d.ts +0 -6
  721. package/dist/migrations/1700597907034-product-digital-reachu.js +0 -29
  722. package/dist/migrations/1700597907034-product-digital-reachu.js.map +0 -1
  723. package/dist/migrations/1701109844785-oda-and-wolt-deleted.d.ts +0 -6
  724. package/dist/migrations/1701109844785-oda-and-wolt-deleted.js +0 -31
  725. package/dist/migrations/1701109844785-oda-and-wolt-deleted.js.map +0 -1
  726. package/dist/migrations/1701763179365-promote_to_qa_05_12_2023.d.ts +0 -6
  727. package/dist/migrations/1701763179365-promote_to_qa_05_12_2023.js +0 -29
  728. package/dist/migrations/1701763179365-promote_to_qa_05_12_2023.js.map +0 -1
  729. package/dist/migrations/1701763272354-promote_to_prod_05_12_2023.d.ts +0 -6
  730. package/dist/migrations/1701763272354-promote_to_prod_05_12_2023.js +0 -39
  731. package/dist/migrations/1701763272354-promote_to_prod_05_12_2023.js.map +0 -1
  732. package/dist/migrations/1701782890059-channel_user_update.d.ts +0 -6
  733. package/dist/migrations/1701782890059-channel_user_update.js +0 -31
  734. package/dist/migrations/1701782890059-channel_user_update.js.map +0 -1
  735. package/dist/migrations/1701807577519-test-step-1.d.ts +0 -6
  736. package/dist/migrations/1701807577519-test-step-1.js +0 -43
  737. package/dist/migrations/1701807577519-test-step-1.js.map +0 -1
  738. package/dist/migrations/1701868990386-test-v2.d.ts +0 -6
  739. package/dist/migrations/1701868990386-test-v2.js +0 -81
  740. package/dist/migrations/1701868990386-test-v2.js.map +0 -1
  741. package/dist/migrations/execute/index.d.ts +0 -1
  742. package/dist/migrations/execute/index.js +0 -9
  743. package/dist/migrations/execute/index.js.map +0 -1
  744. package/dist/migrations/index.d.ts +0 -11
  745. package/dist/migrations/index.js +0 -24
  746. package/dist/migrations/index.js.map +0 -1
  747. package/dist/repositories/discount/index.d.ts +0 -13
  748. package/dist/repositories/discount/index.js +0 -42
  749. package/dist/repositories/discount/index.js.map +0 -1
  750. package/dist/repositories/index.d.ts +0 -191
  751. package/dist/repositories/index.js +0 -471
  752. package/dist/repositories/index.js.map +0 -1
  753. package/dist/repositories/shipping/index.d.ts +0 -10
  754. package/dist/repositories/shipping/index.js +0 -35
  755. package/dist/repositories/shipping/index.js.map +0 -1
  756. package/dist/repositories/shopcart/index.d.ts +0 -19
  757. package/dist/repositories/shopcart/index.js +0 -56
  758. package/dist/repositories/shopcart/index.js.map +0 -1
  759. package/dist/repositories/subscriptions/index.d.ts +0 -10
  760. package/dist/repositories/subscriptions/index.js +0 -35
  761. package/dist/repositories/subscriptions/index.js.map +0 -1
  762. package/dist/repositories/templates/index.d.ts +0 -46
  763. package/dist/repositories/templates/index.js +0 -119
  764. package/dist/repositories/templates/index.js.map +0 -1
  765. package/dist/staticData/ChannelName.d.ts +0 -9
  766. package/dist/staticData/ChannelName.js +0 -11
  767. package/dist/staticData/ChannelName.js.map +0 -1
  768. package/dist/staticData/ConnectionType.d.ts +0 -5
  769. package/dist/staticData/ConnectionType.js +0 -7
  770. package/dist/staticData/ConnectionType.js.map +0 -1
  771. package/dist/staticData/Currency.d.ts +0 -9
  772. package/dist/staticData/Currency.js +0 -14
  773. package/dist/staticData/Currency.js.map +0 -1
  774. package/dist/staticData/OrderStatus.d.ts +0 -18
  775. package/dist/staticData/OrderStatus.js +0 -44
  776. package/dist/staticData/OrderStatus.js.map +0 -1
  777. package/dist/staticData/PaymentProcessor.d.ts +0 -8
  778. package/dist/staticData/PaymentProcessor.js +0 -12
  779. package/dist/staticData/PaymentProcessor.js.map +0 -1
  780. package/dist/staticData/ProductOrigin.d.ts +0 -10
  781. package/dist/staticData/ProductOrigin.js +0 -18
  782. package/dist/staticData/ProductOrigin.js.map +0 -1
  783. package/dist/staticData/TrackingProcessor.d.ts +0 -7
  784. package/dist/staticData/TrackingProcessor.js +0 -11
  785. package/dist/staticData/TrackingProcessor.js.map +0 -1
  786. package/dist/staticData/VippsPaymentStatus.d.ts +0 -15
  787. package/dist/staticData/VippsPaymentStatus.js +0 -41
  788. package/dist/staticData/VippsPaymentStatus.js.map +0 -1
  789. package/dist/staticData/index.d.ts +0 -9
  790. package/dist/staticData/index.js +0 -23
  791. package/dist/staticData/index.js.map +0 -1
  792. package/dist/subscribers/ProductSubscriber.d.ts +0 -8
  793. package/dist/subscribers/ProductSubscriber.js +0 -46
  794. package/dist/subscribers/ProductSubscriber.js.map +0 -1
  795. package/dist/subscribers/UserSubscriber.d.ts +0 -8
  796. package/dist/subscribers/UserSubscriber.js +0 -46
  797. package/dist/subscribers/UserSubscriber.js.map +0 -1
  798. package/dist/subscribers/index.d.ts +0 -3
  799. package/dist/subscribers/index.js +0 -8
  800. package/dist/subscribers/index.js.map +0 -1
  801. package/dist/tsconfig.tsbuildinfo +0 -10567
  802. package/dist/utils/index.d.ts +0 -13
  803. package/dist/utils/index.js +0 -109
  804. package/dist/utils/index.js.map +0 -1
@@ -1,95 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.CustomProduct = void 0;
16
- const typeorm_1 = require("typeorm");
17
- const User_1 = __importDefault(require("./User"));
18
- const AuditedModel_1 = __importDefault(require("./AuditedModel"));
19
- const Price_entity_1 = require("./Price.entity");
20
- const Product_entity_1 = require("./Product.entity");
21
- const CustomVariant_1 = __importDefault(require("./CustomVariant"));
22
- const CustomProductImage_1 = __importDefault(require("./CustomProductImage"));
23
- let CustomProduct = class CustomProduct extends AuditedModel_1.default {
24
- };
25
- __decorate([
26
- typeorm_1.PrimaryGeneratedColumn(),
27
- __metadata("design:type", Number)
28
- ], CustomProduct.prototype, "id", void 0);
29
- __decorate([
30
- typeorm_1.ManyToOne(() => Product_entity_1.Product, { eager: true }),
31
- typeorm_1.JoinColumn(),
32
- __metadata("design:type", Product_entity_1.Product)
33
- ], CustomProduct.prototype, "product", void 0);
34
- __decorate([
35
- typeorm_1.DeleteDateColumn(),
36
- __metadata("design:type", Date)
37
- ], CustomProduct.prototype, "deletedAt", void 0);
38
- __decorate([
39
- typeorm_1.Column('varchar', { nullable: true }),
40
- __metadata("design:type", String)
41
- ], CustomProduct.prototype, "title", void 0);
42
- __decorate([
43
- typeorm_1.Column('text', { nullable: true }),
44
- __metadata("design:type", String)
45
- ], CustomProduct.prototype, "description", void 0);
46
- __decorate([
47
- typeorm_1.Column('text', { nullable: true }),
48
- __metadata("design:type", String)
49
- ], CustomProduct.prototype, "descriptionTwo", void 0);
50
- __decorate([
51
- typeorm_1.Column('decimal', { precision: 10, scale: 2, nullable: true }),
52
- __metadata("design:type", Number)
53
- ], CustomProduct.prototype, "publicPrice", void 0);
54
- __decorate([
55
- typeorm_1.Column(() => Price_entity_1.Price, { prefix: 'price_' }),
56
- __metadata("design:type", Price_entity_1.Price)
57
- ], CustomProduct.prototype, "price", void 0);
58
- __decorate([
59
- typeorm_1.Column('varchar', { nullable: true }),
60
- __metadata("design:type", String)
61
- ], CustomProduct.prototype, "sku", void 0);
62
- __decorate([
63
- typeorm_1.Column('varchar', { nullable: true }),
64
- __metadata("design:type", String)
65
- ], CustomProduct.prototype, "barcode", void 0);
66
- __decorate([
67
- typeorm_1.ManyToOne(() => User_1.default, { eager: true }),
68
- typeorm_1.JoinColumn(),
69
- __metadata("design:type", User_1.default)
70
- ], CustomProduct.prototype, "user", void 0);
71
- __decorate([
72
- typeorm_1.OneToMany(() => CustomVariant_1.default, (variant) => variant.customProduct, {
73
- eager: true,
74
- cascade: true,
75
- }),
76
- typeorm_1.JoinColumn(),
77
- __metadata("design:type", Array)
78
- ], CustomProduct.prototype, "customVariants", void 0);
79
- __decorate([
80
- typeorm_1.OneToMany(() => CustomProductImage_1.default, (image) => image.product, {
81
- eager: true,
82
- cascade: true,
83
- }),
84
- typeorm_1.JoinColumn(),
85
- __metadata("design:type", Array)
86
- ], CustomProduct.prototype, "images", void 0);
87
- __decorate([
88
- typeorm_1.Column('boolean', { default: false }),
89
- __metadata("design:type", Boolean)
90
- ], CustomProduct.prototype, "visible", void 0);
91
- CustomProduct = __decorate([
92
- typeorm_1.Entity()
93
- ], CustomProduct);
94
- exports.CustomProduct = CustomProduct;
95
- //# sourceMappingURL=CustomProduct.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CustomProduct.js","sourceRoot":"","sources":["../../src/entity/CustomProduct.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,qCAaiB;AACjB,kDAA0B;AAG1B,kEAA0C;AAQ1C,iDAAuC;AAEvC,qDAA2C;AAC3C,oEAA4C;AAC5C,8EAAsD;AAGtD,IAAa,aAAa,GAA1B,MAAa,aAAc,SAAQ,sBAAY;CAoD9C,CAAA;AAlDC;IADC,gCAAsB,EAAE;;yCACd;AAIX;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACzC,oBAAU,EAAE;8BACJ,wBAAO;8CAAC;AAGjB;IADC,0BAAgB,EAAE;8BACR,IAAI;gDAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACvB;AAGf;IADC,gBAAM,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACd;AAGrB;IADC,gBAAM,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACX;AAGxB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDAC1C;AAGrB;IADC,gBAAM,CAAC,GAAG,EAAE,CAAC,oBAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;8BACnC,oBAAK;4CAAC;AAGb;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACzB;AAGb;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACrB;AAIjB;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACtC,oBAAU,EAAE;8BACP,cAAI;2CAAC;AAOX;IALC,mBAAS,CAAC,GAAG,EAAE,CAAC,uBAAa,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,aAAa,EAAE;QAClE,KAAK,EAAE,IAAI;QACX,OAAO,EAAE,IAAI;KACd,CAAC;IACD,oBAAU,EAAE;;qDACmB;AAOhC;IALC,mBAAS,CAAC,GAAG,EAAE,CAAC,4BAAkB,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,EAAE;QAC7D,KAAK,EAAE,IAAI;QACX,OAAO,EAAE,IAAI;KACd,CAAC;IACD,oBAAU,EAAE;;6CACgB;AAG7B;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;8CACrB;AAnDN,aAAa;IADzB,gBAAM,EAAE;GACI,aAAa,CAoDzB;AApDY,sCAAa"}
@@ -1,10 +0,0 @@
1
- import { CustomProduct } from './CustomProduct';
2
- export default class CustomProductImage {
3
- id: number;
4
- deletedAt: Date;
5
- url: string;
6
- width?: number;
7
- height?: number;
8
- order: number;
9
- product: CustomProduct;
10
- }
@@ -1,51 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- const typeorm_1 = require("typeorm");
13
- const CustomProduct_1 = require("./CustomProduct");
14
- let CustomProductImage = class CustomProductImage {
15
- };
16
- __decorate([
17
- typeorm_1.PrimaryGeneratedColumn(),
18
- __metadata("design:type", Number)
19
- ], CustomProductImage.prototype, "id", void 0);
20
- __decorate([
21
- typeorm_1.DeleteDateColumn(),
22
- __metadata("design:type", Date)
23
- ], CustomProductImage.prototype, "deletedAt", void 0);
24
- __decorate([
25
- typeorm_1.Column('varchar'),
26
- __metadata("design:type", String)
27
- ], CustomProductImage.prototype, "url", void 0);
28
- __decorate([
29
- typeorm_1.Column('integer', { nullable: true }),
30
- __metadata("design:type", Number)
31
- ], CustomProductImage.prototype, "width", void 0);
32
- __decorate([
33
- typeorm_1.Column('integer', { nullable: true }),
34
- __metadata("design:type", Number)
35
- ], CustomProductImage.prototype, "height", void 0);
36
- __decorate([
37
- typeorm_1.Column('integer'),
38
- __metadata("design:type", Number)
39
- ], CustomProductImage.prototype, "order", void 0);
40
- __decorate([
41
- typeorm_1.ManyToOne(() => CustomProduct_1.CustomProduct, (customProductImagen) => customProductImagen.images, {
42
- onDelete: 'CASCADE',
43
- }),
44
- typeorm_1.JoinColumn(),
45
- __metadata("design:type", CustomProduct_1.CustomProduct)
46
- ], CustomProductImage.prototype, "product", void 0);
47
- CustomProductImage = __decorate([
48
- typeorm_1.Entity()
49
- ], CustomProductImage);
50
- exports.default = CustomProductImage;
51
- //# sourceMappingURL=CustomProductImage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CustomProductImage.js","sourceRoot":"","sources":["../../src/entity/CustomProductImage.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qCAOiB;AACjB,mDAAgD;AAGhD,IAAqB,kBAAkB,GAAvC,MAAqB,kBAAkB;CAwBtC,CAAA;AAtBC;IADC,gCAAsB,EAAE;;8CACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;qDAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,CAAC;;+CACN;AAGZ;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACvB;AAGf;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACtB;AAGhB;IADC,gBAAM,CAAC,SAAS,CAAC;;iDACJ;AAMd;IAJC,mBAAS,CAAC,GAAG,EAAE,CAAC,6BAAa,EAAE,CAAC,mBAAmB,EAAE,EAAE,CAAC,mBAAmB,CAAC,MAAM,EAAE;QACnF,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,oBAAU,EAAE;8BACJ,6BAAa;mDAAC;AAvBJ,kBAAkB;IADtC,gBAAM,EAAE;GACY,kBAAkB,CAwBtC;kBAxBoB,kBAAkB"}
@@ -1,13 +0,0 @@
1
- import { CustomProduct } from './CustomProduct';
2
- import Variant from './Variant';
3
- import AuditedModel from './AuditedModel';
4
- export default class CustomVariant extends AuditedModel {
5
- id: number;
6
- deletedAt: Date;
7
- title?: string;
8
- sku?: string;
9
- barcode?: string;
10
- quantity?: number;
11
- customProduct: CustomProduct;
12
- variant: Variant;
13
- }
@@ -1,59 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- const typeorm_1 = require("typeorm");
16
- const CustomProduct_1 = require("./CustomProduct");
17
- const Variant_1 = __importDefault(require("./Variant"));
18
- const AuditedModel_1 = __importDefault(require("./AuditedModel"));
19
- let CustomVariant = class CustomVariant extends AuditedModel_1.default {
20
- };
21
- __decorate([
22
- typeorm_1.PrimaryGeneratedColumn(),
23
- __metadata("design:type", Number)
24
- ], CustomVariant.prototype, "id", void 0);
25
- __decorate([
26
- typeorm_1.DeleteDateColumn(),
27
- __metadata("design:type", Date)
28
- ], CustomVariant.prototype, "deletedAt", void 0);
29
- __decorate([
30
- typeorm_1.Column('varchar', { nullable: false }),
31
- __metadata("design:type", String)
32
- ], CustomVariant.prototype, "title", void 0);
33
- __decorate([
34
- typeorm_1.Column('varchar', { nullable: false }),
35
- __metadata("design:type", String)
36
- ], CustomVariant.prototype, "sku", void 0);
37
- __decorate([
38
- typeorm_1.Column('varchar', { nullable: true }),
39
- __metadata("design:type", String)
40
- ], CustomVariant.prototype, "barcode", void 0);
41
- __decorate([
42
- typeorm_1.Column('integer', { nullable: false }),
43
- __metadata("design:type", Number)
44
- ], CustomVariant.prototype, "quantity", void 0);
45
- __decorate([
46
- typeorm_1.ManyToOne(() => CustomProduct_1.CustomProduct, (product) => product.customVariants, { onDelete: 'CASCADE' }),
47
- typeorm_1.JoinColumn(),
48
- __metadata("design:type", CustomProduct_1.CustomProduct)
49
- ], CustomVariant.prototype, "customProduct", void 0);
50
- __decorate([
51
- typeorm_1.ManyToOne(() => Variant_1.default, (variant) => variant.customVariant, { onDelete: 'CASCADE' }),
52
- typeorm_1.JoinColumn(),
53
- __metadata("design:type", Variant_1.default)
54
- ], CustomVariant.prototype, "variant", void 0);
55
- CustomVariant = __decorate([
56
- typeorm_1.Entity()
57
- ], CustomVariant);
58
- exports.default = CustomVariant;
59
- //# sourceMappingURL=CustomVariant.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CustomVariant.js","sourceRoot":"","sources":["../../src/entity/CustomVariant.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAOiB;AACjB,mDAAgD;AAChD,wDAAgC;AAChC,kEAA0C;AAG1C,IAAqB,aAAa,GAAlC,MAAqB,aAAc,SAAQ,sBAAY;CA0BtD,CAAA;AAxBC;IADC,gCAAsB,EAAE;;yCACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;gDAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;4CACxB;AAGf;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;0CAC1B;AAGb;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACrB;AAGjB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;+CACrB;AAIlB;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,6BAAa,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,cAAc,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC5F,oBAAU,EAAE;8BACE,6BAAa;oDAAC;AAI7B;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,iBAAO,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,aAAa,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACrF,oBAAU,EAAE;8BACJ,iBAAO;8CAAC;AAzBE,aAAa;IADjC,gBAAM,EAAE;GACY,aAAa,CA0BjC;kBA1BoB,aAAa"}
@@ -1,6 +0,0 @@
1
- import AuditedModel from './AuditedModel';
2
- export default class EnvType extends AuditedModel {
3
- id: number;
4
- deletedAt: Date;
5
- type: string;
6
- }
@@ -1,35 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- const typeorm_1 = require("typeorm");
16
- const AuditedModel_1 = __importDefault(require("./AuditedModel"));
17
- let EnvType = class EnvType extends AuditedModel_1.default {
18
- };
19
- __decorate([
20
- typeorm_1.PrimaryGeneratedColumn(),
21
- __metadata("design:type", Number)
22
- ], EnvType.prototype, "id", void 0);
23
- __decorate([
24
- typeorm_1.DeleteDateColumn(),
25
- __metadata("design:type", Date)
26
- ], EnvType.prototype, "deletedAt", void 0);
27
- __decorate([
28
- typeorm_1.Column('varchar', { nullable: false }),
29
- __metadata("design:type", String)
30
- ], EnvType.prototype, "type", void 0);
31
- EnvType = __decorate([
32
- typeorm_1.Entity()
33
- ], EnvType);
34
- exports.default = EnvType;
35
- //# sourceMappingURL=EnvType.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EnvType.js","sourceRoot":"","sources":["../../src/entity/EnvType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAAmF;AACnF,kEAA0C;AAG1C,IAAqB,OAAO,GAA5B,MAAqB,OAAQ,SAAQ,sBAAY;CAShD,CAAA;AAPC;IADC,gCAAsB,EAAE;;mCACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;0CAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;qCAC1B;AARM,OAAO;IAD3B,gBAAM,EAAE;GACY,OAAO,CAS3B;kBAToB,OAAO"}
@@ -1,7 +0,0 @@
1
- import AuditedModel from './AuditedModel';
2
- export default class EnvironmentConfiguration extends AuditedModel {
3
- id: number;
4
- key: string;
5
- value: string;
6
- stage: string;
7
- }
@@ -1,39 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- const AuditedModel_1 = __importDefault(require("./AuditedModel"));
16
- const typeorm_1 = require("typeorm");
17
- let EnvironmentConfiguration = class EnvironmentConfiguration extends AuditedModel_1.default {
18
- };
19
- __decorate([
20
- typeorm_1.PrimaryGeneratedColumn(),
21
- __metadata("design:type", Number)
22
- ], EnvironmentConfiguration.prototype, "id", void 0);
23
- __decorate([
24
- typeorm_1.Column('varchar'),
25
- __metadata("design:type", String)
26
- ], EnvironmentConfiguration.prototype, "key", void 0);
27
- __decorate([
28
- typeorm_1.Column('varchar'),
29
- __metadata("design:type", String)
30
- ], EnvironmentConfiguration.prototype, "value", void 0);
31
- __decorate([
32
- typeorm_1.Column('varchar', { length: 20 }),
33
- __metadata("design:type", String)
34
- ], EnvironmentConfiguration.prototype, "stage", void 0);
35
- EnvironmentConfiguration = __decorate([
36
- typeorm_1.Entity()
37
- ], EnvironmentConfiguration);
38
- exports.default = EnvironmentConfiguration;
39
- //# sourceMappingURL=EnvironmentConfiguration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EnvironmentConfiguration.js","sourceRoot":"","sources":["../../src/entity/EnvironmentConfiguration.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,kEAA0C;AAC1C,qCAAiE;AAGjE,IAAqB,wBAAwB,GAA7C,MAAqB,wBAAyB,SAAQ,sBAAY;CAYjE,CAAA;AAVC;IADC,gCAAsB,EAAE;;oDACd;AAGX;IADC,gBAAM,CAAC,SAAS,CAAC;;qDACN;AAGZ;IADC,gBAAM,CAAC,SAAS,CAAC;;uDACJ;AAGd;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;uDACpB;AAXK,wBAAwB;IAD5C,gBAAM,EAAE;GACY,wBAAwB,CAY5C;kBAZoB,wBAAwB"}
@@ -1,8 +0,0 @@
1
- import AuditedModel from './AuditedModel';
2
- export default class ExchangeRate extends AuditedModel {
3
- id: string;
4
- deletedAt: Date;
5
- enabled?: number;
6
- data?: string;
7
- currency?: string;
8
- }
@@ -1,43 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- const typeorm_1 = require("typeorm");
16
- const AuditedModel_1 = __importDefault(require("./AuditedModel"));
17
- let ExchangeRate = class ExchangeRate extends AuditedModel_1.default {
18
- };
19
- __decorate([
20
- typeorm_1.PrimaryGeneratedColumn('uuid'),
21
- __metadata("design:type", String)
22
- ], ExchangeRate.prototype, "id", void 0);
23
- __decorate([
24
- typeorm_1.DeleteDateColumn(),
25
- __metadata("design:type", Date)
26
- ], ExchangeRate.prototype, "deletedAt", void 0);
27
- __decorate([
28
- typeorm_1.Column('integer', { default: 0 }),
29
- __metadata("design:type", Number)
30
- ], ExchangeRate.prototype, "enabled", void 0);
31
- __decorate([
32
- typeorm_1.Column('text', { nullable: true, default: null }),
33
- __metadata("design:type", String)
34
- ], ExchangeRate.prototype, "data", void 0);
35
- __decorate([
36
- typeorm_1.Column('text', { nullable: true, default: null }),
37
- __metadata("design:type", String)
38
- ], ExchangeRate.prototype, "currency", void 0);
39
- ExchangeRate = __decorate([
40
- typeorm_1.Entity()
41
- ], ExchangeRate);
42
- exports.default = ExchangeRate;
43
- //# sourceMappingURL=ExchangeRate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExchangeRate.js","sourceRoot":"","sources":["../../src/entity/ExchangeRate.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAAmF;AACnF,kEAA0C;AAG1C,IAAqB,YAAY,GAAjC,MAAqB,YAAa,SAAQ,sBAAY;CAerD,CAAA;AAbC;IADC,gCAAsB,CAAC,MAAM,CAAC;;wCACpB;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;+CAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;6CACjB;AAGjB;IADC,gBAAM,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;0CACpC;AAGd;IADC,gBAAM,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;8CAChC;AAdC,YAAY;IADhC,gBAAM,EAAE;GACY,YAAY,CAehC;kBAfoB,YAAY"}
@@ -1,12 +0,0 @@
1
- import AuditedModel from './AuditedModel';
2
- import Plan from './modules/subscriptions/Plan';
3
- import User from './User';
4
- export default class ExternalRequest extends AuditedModel {
5
- id: number;
6
- sender: User;
7
- plan: Plan;
8
- receiverEmail: string;
9
- collectionIds: string;
10
- url: string;
11
- state: number;
12
- }
@@ -1,55 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- const typeorm_1 = require("typeorm");
16
- const AuditedModel_1 = __importDefault(require("./AuditedModel"));
17
- const Plan_1 = __importDefault(require("./modules/subscriptions/Plan"));
18
- const User_1 = __importDefault(require("./User"));
19
- let ExternalRequest = class ExternalRequest extends AuditedModel_1.default {
20
- };
21
- __decorate([
22
- typeorm_1.PrimaryGeneratedColumn(),
23
- __metadata("design:type", Number)
24
- ], ExternalRequest.prototype, "id", void 0);
25
- __decorate([
26
- typeorm_1.ManyToOne(() => User_1.default, { eager: true, onDelete: 'CASCADE' }),
27
- typeorm_1.JoinColumn(),
28
- __metadata("design:type", User_1.default)
29
- ], ExternalRequest.prototype, "sender", void 0);
30
- __decorate([
31
- typeorm_1.ManyToOne(() => Plan_1.default, { eager: true, onDelete: 'CASCADE' }),
32
- typeorm_1.JoinColumn(),
33
- __metadata("design:type", Plan_1.default)
34
- ], ExternalRequest.prototype, "plan", void 0);
35
- __decorate([
36
- typeorm_1.Column('varchar'),
37
- __metadata("design:type", String)
38
- ], ExternalRequest.prototype, "receiverEmail", void 0);
39
- __decorate([
40
- typeorm_1.Column('varchar', { nullable: true }),
41
- __metadata("design:type", String)
42
- ], ExternalRequest.prototype, "collectionIds", void 0);
43
- __decorate([
44
- typeorm_1.Column('varchar'),
45
- __metadata("design:type", String)
46
- ], ExternalRequest.prototype, "url", void 0);
47
- __decorate([
48
- typeorm_1.Column('integer', { nullable: true, default: 0 }),
49
- __metadata("design:type", Number)
50
- ], ExternalRequest.prototype, "state", void 0);
51
- ExternalRequest = __decorate([
52
- typeorm_1.Entity()
53
- ], ExternalRequest);
54
- exports.default = ExternalRequest;
55
- //# sourceMappingURL=ExternalRequest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExternalRequest.js","sourceRoot":"","sources":["../../src/entity/ExternalRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAAwF;AACxF,kEAA0C;AAC1C,wEAAgD;AAChD,kDAA0B;AAG1B,IAAqB,eAAe,GAApC,MAAqB,eAAgB,SAAQ,sBAAY;CA0BxD,CAAA;AAxBC;IADC,gCAAsB,EAAE;;2CACd;AAIX;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC3D,oBAAU,EAAE;8BACL,cAAI;+CAAC;AAIb;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC3D,oBAAU,EAAE;8BACP,cAAI;6CAAC;AAGX;IADC,gBAAM,CAAC,SAAS,CAAC;;sDACI;AAGtB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDAChB;AAGtB;IADC,gBAAM,CAAC,SAAS,CAAC;;4CACN;AAMZ;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;8CACpC;AAzBK,eAAe;IADnC,gBAAM,EAAE;GACY,eAAe,CA0BnC;kBA1BoB,eAAe"}
@@ -1,9 +0,0 @@
1
- import AuditedModel from './AuditedModel';
2
- import FlatRateCountry from './FlatRateCountry';
3
- export default class FlatRate extends AuditedModel {
4
- id: number;
5
- deletedAt: Date;
6
- amount?: number;
7
- customPricesEnabled: boolean;
8
- countries: FlatRateCountry[];
9
- }
@@ -1,45 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- const typeorm_1 = require("typeorm");
16
- const AuditedModel_1 = __importDefault(require("./AuditedModel"));
17
- const FlatRateCountry_1 = __importDefault(require("./FlatRateCountry"));
18
- let FlatRate = class FlatRate extends AuditedModel_1.default {
19
- };
20
- __decorate([
21
- typeorm_1.PrimaryGeneratedColumn(),
22
- __metadata("design:type", Number)
23
- ], FlatRate.prototype, "id", void 0);
24
- __decorate([
25
- typeorm_1.DeleteDateColumn(),
26
- __metadata("design:type", Date)
27
- ], FlatRate.prototype, "deletedAt", void 0);
28
- __decorate([
29
- typeorm_1.Column('decimal', { precision: 10, scale: 2, nullable: true }),
30
- __metadata("design:type", Number)
31
- ], FlatRate.prototype, "amount", void 0);
32
- __decorate([
33
- typeorm_1.Column('boolean', { default: false }),
34
- __metadata("design:type", Boolean)
35
- ], FlatRate.prototype, "customPricesEnabled", void 0);
36
- __decorate([
37
- typeorm_1.OneToMany(() => FlatRateCountry_1.default, (frc) => frc.flatRate, { cascade: true }),
38
- typeorm_1.JoinColumn(),
39
- __metadata("design:type", Array)
40
- ], FlatRate.prototype, "countries", void 0);
41
- FlatRate = __decorate([
42
- typeorm_1.Entity()
43
- ], FlatRate);
44
- exports.default = FlatRate;
45
- //# sourceMappingURL=FlatRate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FlatRate.js","sourceRoot":"","sources":["../../src/entity/FlatRate.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAOiB;AACjB,kEAA0C;AAC1C,wEAAgD;AAGhD,IAAqB,QAAQ,GAA7B,MAAqB,QAAS,SAAQ,sBAAY;CAgBjD,CAAA;AAdC;IADC,gCAAsB,EAAE;;oCACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;2CAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wCAC/C;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;qDACT;AAI7B;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,yBAAe,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC1E,oBAAU,EAAE;;2CACgB;AAfV,QAAQ;IAD5B,gBAAM,EAAE;GACY,QAAQ,CAgB5B;kBAhBoB,QAAQ"}
@@ -1,7 +0,0 @@
1
- import FlatRate from './FlatRate';
2
- export default class FlatRateCountry {
3
- id: number;
4
- amount?: number;
5
- country: string;
6
- flatRate: FlatRate;
7
- }
@@ -1,39 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- const typeorm_1 = require("typeorm");
16
- const FlatRate_1 = __importDefault(require("./FlatRate"));
17
- let FlatRateCountry = class FlatRateCountry {
18
- };
19
- __decorate([
20
- typeorm_1.PrimaryGeneratedColumn(),
21
- __metadata("design:type", Number)
22
- ], FlatRateCountry.prototype, "id", void 0);
23
- __decorate([
24
- typeorm_1.Column('decimal', { precision: 10, scale: 2, nullable: true }),
25
- __metadata("design:type", Number)
26
- ], FlatRateCountry.prototype, "amount", void 0);
27
- __decorate([
28
- typeorm_1.Column('varchar'),
29
- __metadata("design:type", String)
30
- ], FlatRateCountry.prototype, "country", void 0);
31
- __decorate([
32
- typeorm_1.ManyToOne(() => FlatRate_1.default, (fr) => fr.countries, { onDelete: 'CASCADE' }),
33
- __metadata("design:type", FlatRate_1.default)
34
- ], FlatRateCountry.prototype, "flatRate", void 0);
35
- FlatRateCountry = __decorate([
36
- typeorm_1.Entity()
37
- ], FlatRateCountry);
38
- exports.default = FlatRateCountry;
39
- //# sourceMappingURL=FlatRateCountry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FlatRateCountry.js","sourceRoot":"","sources":["../../src/entity/FlatRateCountry.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAA4E;AAC5E,0DAAkC;AAGlC,IAAqB,eAAe,GAApC,MAAqB,eAAe;CAYnC,CAAA;AAVC;IADC,gCAAsB,EAAE;;2CACd;AAGX;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CAC/C;AAGhB;IADC,gBAAM,CAAC,SAAS,CAAC;;gDACF;AAGhB;IADC,mBAAS,CAAC,GAAG,EAAE,CAAC,kBAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAC/D,kBAAQ;iDAAC;AAXA,eAAe;IADnC,gBAAM,EAAE;GACY,eAAe,CAYnC;kBAZoB,eAAe"}
@@ -1,5 +0,0 @@
1
- export default class Fulfillment {
2
- shippingRates?: string;
3
- processingTime?: string;
4
- shippingTo?: string;
5
- }
@@ -1,28 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- const typeorm_1 = require("typeorm");
13
- class Fulfillment {
14
- }
15
- __decorate([
16
- typeorm_1.Column('varchar', { nullable: true }),
17
- __metadata("design:type", String)
18
- ], Fulfillment.prototype, "shippingRates", void 0);
19
- __decorate([
20
- typeorm_1.Column('varchar', { nullable: true }),
21
- __metadata("design:type", String)
22
- ], Fulfillment.prototype, "processingTime", void 0);
23
- __decorate([
24
- typeorm_1.Column('varchar', { nullable: true }),
25
- __metadata("design:type", String)
26
- ], Fulfillment.prototype, "shippingTo", void 0);
27
- exports.default = Fulfillment;
28
- //# sourceMappingURL=Fulfillment.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Fulfillment.js","sourceRoot":"","sources":["../../src/entity/Fulfillment.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qCAAiC;AAEjC,MAAqB,WAAW;CAS/B;AAPC;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACf;AAGvB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACd;AAGxB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CAClB;AARtB,8BASC"}