@vendure/core 1.9.5 → 2.0.0-beta.1

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 (1099) hide show
  1. package/cli/index.js +5 -1
  2. package/cli/index.js.map +1 -1
  3. package/cli/populate.js +7 -25
  4. package/cli/populate.js.map +1 -1
  5. package/cli/vendure-cli.js +12 -12
  6. package/cli/vendure-cli.js.map +1 -1
  7. package/dist/api/api-internal-modules.d.ts +4 -2
  8. package/dist/api/api-internal-modules.js +15 -7
  9. package/dist/api/api-internal-modules.js.map +1 -1
  10. package/dist/api/api.module.d.ts +1 -1
  11. package/dist/api/api.module.js +7 -6
  12. package/dist/api/api.module.js.map +1 -1
  13. package/dist/api/common/configurable-operation-codec.js +1 -1
  14. package/dist/api/common/configurable-operation-codec.js.map +1 -1
  15. package/dist/api/common/custom-field-relation-resolver.service.js +2 -2
  16. package/dist/api/common/custom-field-relation-resolver.service.js.map +1 -1
  17. package/dist/api/common/get-api-type.d.ts +1 -1
  18. package/dist/api/common/graphql-value-transformer.d.ts +2 -2
  19. package/dist/api/common/graphql-value-transformer.js +9 -9
  20. package/dist/api/common/graphql-value-transformer.js.map +1 -1
  21. package/dist/api/common/id-codec.d.ts +1 -1
  22. package/dist/api/common/id-codec.js +6 -3
  23. package/dist/api/common/id-codec.js.map +1 -1
  24. package/dist/api/common/id-codec.service.js +1 -1
  25. package/dist/api/common/id-codec.service.js.map +1 -1
  26. package/dist/api/common/parse-context.d.ts +2 -2
  27. package/dist/api/common/request-context.d.ts +5 -2
  28. package/dist/api/common/request-context.js +10 -6
  29. package/dist/api/common/request-context.js.map +1 -1
  30. package/dist/api/common/set-session-token.js +1 -1
  31. package/dist/api/common/set-session-token.js.map +1 -1
  32. package/dist/api/common/validate-custom-field-value.js +2 -1
  33. package/dist/api/common/validate-custom-field-value.js.map +1 -1
  34. package/dist/api/config/configure-graphql-module.js +24 -21
  35. package/dist/api/config/configure-graphql-module.js.map +1 -1
  36. package/dist/api/config/generate-active-order-types.d.ts +1 -1
  37. package/dist/api/config/generate-active-order-types.js +6 -5
  38. package/dist/api/config/generate-active-order-types.js.map +1 -1
  39. package/dist/api/config/generate-auth-types.js +3 -3
  40. package/dist/api/config/generate-auth-types.js.map +1 -1
  41. package/dist/api/config/generate-error-code-enum.js +2 -2
  42. package/dist/api/config/generate-error-code-enum.js.map +1 -1
  43. package/dist/api/config/generate-list-options.d.ts +1 -1
  44. package/dist/api/config/generate-list-options.js +40 -31
  45. package/dist/api/config/generate-list-options.js.map +1 -1
  46. package/dist/api/config/generate-permissions.js +2 -2
  47. package/dist/api/config/generate-permissions.js.map +1 -1
  48. package/dist/api/config/generate-resolvers.d.ts +60 -51
  49. package/dist/api/config/generate-resolvers.js +27 -5
  50. package/dist/api/config/generate-resolvers.js.map +1 -1
  51. package/dist/api/config/get-custom-fields-config-without-interfaces.d.ts +8 -0
  52. package/dist/api/config/get-custom-fields-config-without-interfaces.js +29 -0
  53. package/dist/api/config/get-custom-fields-config-without-interfaces.js.map +1 -0
  54. package/dist/api/config/graphql-custom-fields.js +197 -187
  55. package/dist/api/config/graphql-custom-fields.js.map +1 -1
  56. package/dist/api/config/money-scalar.d.ts +9 -0
  57. package/dist/api/config/money-scalar.js +74 -0
  58. package/dist/api/config/money-scalar.js.map +1 -0
  59. package/dist/api/decorators/allow.decorator.js +1 -1
  60. package/dist/api/decorators/allow.decorator.js.map +1 -1
  61. package/dist/api/decorators/api.decorator.js +2 -2
  62. package/dist/api/decorators/api.decorator.js.map +1 -1
  63. package/dist/api/decorators/relations.decorator.d.ts +5 -5
  64. package/dist/api/decorators/relations.decorator.js +14 -15
  65. package/dist/api/decorators/relations.decorator.js.map +1 -1
  66. package/dist/api/decorators/request-context.decorator.js +2 -1
  67. package/dist/api/decorators/request-context.decorator.js.map +1 -1
  68. package/dist/api/decorators/transaction.decorator.d.ts +1 -1
  69. package/dist/api/decorators/transaction.decorator.js +1 -1
  70. package/dist/api/decorators/transaction.decorator.js.map +1 -1
  71. package/dist/api/index.js +5 -1
  72. package/dist/api/index.js.map +1 -1
  73. package/dist/api/middleware/asset-interceptor-plugin.d.ts +2 -2
  74. package/dist/api/middleware/asset-interceptor-plugin.js +4 -4
  75. package/dist/api/middleware/asset-interceptor-plugin.js.map +1 -1
  76. package/dist/api/middleware/auth-guard.js +5 -5
  77. package/dist/api/middleware/auth-guard.js.map +1 -1
  78. package/dist/api/middleware/exception-logger.filter.js +1 -1
  79. package/dist/api/middleware/exception-logger.filter.js.map +1 -1
  80. package/dist/api/middleware/id-codec-plugin.d.ts +2 -2
  81. package/dist/api/middleware/id-codec-plugin.js +5 -4
  82. package/dist/api/middleware/id-codec-plugin.js.map +1 -1
  83. package/dist/api/middleware/id-interceptor.js +2 -2
  84. package/dist/api/middleware/id-interceptor.js.map +1 -1
  85. package/dist/api/middleware/transaction-interceptor.js +6 -4
  86. package/dist/api/middleware/transaction-interceptor.js.map +1 -1
  87. package/dist/api/middleware/translate-error-result-interceptor.js +3 -3
  88. package/dist/api/middleware/translate-error-result-interceptor.js.map +1 -1
  89. package/dist/api/middleware/translate-errors-plugin.d.ts +1 -1
  90. package/dist/api/middleware/translate-errors-plugin.js +2 -2
  91. package/dist/api/middleware/translate-errors-plugin.js.map +1 -1
  92. package/dist/api/middleware/validate-custom-fields-interceptor.js +4 -4
  93. package/dist/api/middleware/validate-custom-fields-interceptor.js.map +1 -1
  94. package/dist/api/resolvers/admin/administrator.resolver.js +39 -39
  95. package/dist/api/resolvers/admin/administrator.resolver.js.map +1 -1
  96. package/dist/api/resolvers/admin/asset.resolver.js +36 -36
  97. package/dist/api/resolvers/admin/asset.resolver.js.map +1 -1
  98. package/dist/api/resolvers/admin/auth.resolver.js +24 -24
  99. package/dist/api/resolvers/admin/auth.resolver.js.map +1 -1
  100. package/dist/api/resolvers/admin/channel.resolver.js +31 -30
  101. package/dist/api/resolvers/admin/channel.resolver.js.map +1 -1
  102. package/dist/api/resolvers/admin/collection.resolver.d.ts +1 -1
  103. package/dist/api/resolvers/admin/collection.resolver.js +56 -56
  104. package/dist/api/resolvers/admin/collection.resolver.js.map +1 -1
  105. package/dist/api/resolvers/admin/country.resolver.d.ts +1 -1
  106. package/dist/api/resolvers/admin/country.resolver.js +27 -27
  107. package/dist/api/resolvers/admin/country.resolver.js.map +1 -1
  108. package/dist/api/resolvers/admin/customer-group.resolver.js +36 -36
  109. package/dist/api/resolvers/admin/customer-group.resolver.js.map +1 -1
  110. package/dist/api/resolvers/admin/customer.resolver.js +56 -56
  111. package/dist/api/resolvers/admin/customer.resolver.js.map +1 -1
  112. package/dist/api/resolvers/admin/draft-order.resolver.d.ts +3 -3
  113. package/dist/api/resolvers/admin/draft-order.resolver.js +62 -62
  114. package/dist/api/resolvers/admin/draft-order.resolver.js.map +1 -1
  115. package/dist/api/resolvers/admin/facet.resolver.d.ts +1 -1
  116. package/dist/api/resolvers/admin/facet.resolver.js +62 -62
  117. package/dist/api/resolvers/admin/facet.resolver.js.map +1 -1
  118. package/dist/api/resolvers/admin/global-settings.resolver.js +20 -17
  119. package/dist/api/resolvers/admin/global-settings.resolver.js.map +1 -1
  120. package/dist/api/resolvers/admin/import.resolver.d.ts +2 -2
  121. package/dist/api/resolvers/admin/import.resolver.js +5 -5
  122. package/dist/api/resolvers/admin/import.resolver.js.map +1 -1
  123. package/dist/api/resolvers/admin/job.resolver.js +25 -25
  124. package/dist/api/resolvers/admin/job.resolver.js.map +1 -1
  125. package/dist/api/resolvers/admin/order.resolver.d.ts +1 -1
  126. package/dist/api/resolvers/admin/order.resolver.js +87 -87
  127. package/dist/api/resolvers/admin/order.resolver.js.map +1 -1
  128. package/dist/api/resolvers/admin/payment-method.resolver.js +32 -32
  129. package/dist/api/resolvers/admin/payment-method.resolver.js.map +1 -1
  130. package/dist/api/resolvers/admin/product-option.resolver.d.ts +1 -1
  131. package/dist/api/resolvers/admin/product-option.resolver.js +36 -36
  132. package/dist/api/resolvers/admin/product-option.resolver.js.map +1 -1
  133. package/dist/api/resolvers/admin/product.resolver.d.ts +1 -1
  134. package/dist/api/resolvers/admin/product.resolver.js +98 -98
  135. package/dist/api/resolvers/admin/product.resolver.js.map +1 -1
  136. package/dist/api/resolvers/admin/promotion.resolver.js +42 -42
  137. package/dist/api/resolvers/admin/promotion.resolver.js.map +1 -1
  138. package/dist/api/resolvers/admin/role.resolver.js +26 -26
  139. package/dist/api/resolvers/admin/role.resolver.js.map +1 -1
  140. package/dist/api/resolvers/admin/search.resolver.js +17 -17
  141. package/dist/api/resolvers/admin/search.resolver.js.map +1 -1
  142. package/dist/api/resolvers/admin/seller.resolver.d.ts +13 -0
  143. package/dist/api/resolvers/admin/seller.resolver.js +96 -0
  144. package/dist/api/resolvers/admin/seller.resolver.js.map +1 -0
  145. package/dist/api/resolvers/admin/shipping-method.resolver.js +43 -43
  146. package/dist/api/resolvers/admin/shipping-method.resolver.js.map +1 -1
  147. package/dist/api/resolvers/admin/stock-location.resolver.d.ts +12 -0
  148. package/dist/api/resolvers/admin/stock-location.resolver.js +96 -0
  149. package/dist/api/resolvers/admin/stock-location.resolver.js.map +1 -0
  150. package/dist/api/resolvers/admin/tag.resolver.js +24 -24
  151. package/dist/api/resolvers/admin/tag.resolver.js.map +1 -1
  152. package/dist/api/resolvers/admin/tax-category.resolver.js +23 -23
  153. package/dist/api/resolvers/admin/tax-category.resolver.js.map +1 -1
  154. package/dist/api/resolvers/admin/tax-rate.resolver.js +26 -26
  155. package/dist/api/resolvers/admin/tax-rate.resolver.js.map +1 -1
  156. package/dist/api/resolvers/admin/zone.resolver.js +33 -33
  157. package/dist/api/resolvers/admin/zone.resolver.js.map +1 -1
  158. package/dist/api/resolvers/base/base-auth.resolver.js +6 -6
  159. package/dist/api/resolvers/base/base-auth.resolver.js.map +1 -1
  160. package/dist/api/resolvers/entity/administrator-entity.resolver.js +4 -4
  161. package/dist/api/resolvers/entity/administrator-entity.resolver.js.map +1 -1
  162. package/dist/api/resolvers/entity/asset-entity.resolver.js +4 -4
  163. package/dist/api/resolvers/entity/asset-entity.resolver.js.map +1 -1
  164. package/dist/api/resolvers/entity/channel-entity.resolver.d.ts +10 -0
  165. package/dist/api/resolvers/entity/channel-entity.resolver.js +56 -0
  166. package/dist/api/resolvers/entity/channel-entity.resolver.js.map +1 -0
  167. package/dist/api/resolvers/entity/collection-entity.resolver.js +42 -42
  168. package/dist/api/resolvers/entity/collection-entity.resolver.js.map +1 -1
  169. package/dist/api/resolvers/entity/country-entity.resolver.d.ts +1 -1
  170. package/dist/api/resolvers/entity/country-entity.resolver.js +8 -8
  171. package/dist/api/resolvers/entity/country-entity.resolver.js.map +1 -1
  172. package/dist/api/resolvers/entity/customer-entity.resolver.d.ts +2 -2
  173. package/dist/api/resolvers/entity/customer-entity.resolver.js +23 -23
  174. package/dist/api/resolvers/entity/customer-entity.resolver.js.map +1 -1
  175. package/dist/api/resolvers/entity/customer-group-entity.resolver.d.ts +1 -1
  176. package/dist/api/resolvers/entity/customer-group-entity.resolver.js +6 -6
  177. package/dist/api/resolvers/entity/customer-group-entity.resolver.js.map +1 -1
  178. package/dist/api/resolvers/entity/facet-entity.resolver.d.ts +1 -1
  179. package/dist/api/resolvers/entity/facet-entity.resolver.js +11 -11
  180. package/dist/api/resolvers/entity/facet-entity.resolver.js.map +1 -1
  181. package/dist/api/resolvers/entity/facet-value-entity.resolver.d.ts +1 -1
  182. package/dist/api/resolvers/entity/facet-value-entity.resolver.js +10 -10
  183. package/dist/api/resolvers/entity/facet-value-entity.resolver.js.map +1 -1
  184. package/dist/api/resolvers/entity/fulfillment-entity.resolver.d.ts +3 -6
  185. package/dist/api/resolvers/entity/fulfillment-entity.resolver.js +14 -14
  186. package/dist/api/resolvers/entity/fulfillment-entity.resolver.js.map +1 -1
  187. package/dist/api/resolvers/entity/fulfillment-line-entity.resolver.d.ts +11 -0
  188. package/dist/api/resolvers/entity/fulfillment-line-entity.resolver.js +59 -0
  189. package/dist/api/resolvers/entity/fulfillment-line-entity.resolver.js.map +1 -0
  190. package/dist/api/resolvers/entity/job-entity.resolver.js +7 -7
  191. package/dist/api/resolvers/entity/job-entity.resolver.js.map +1 -1
  192. package/dist/api/resolvers/entity/order-entity.resolver.d.ts +12 -7
  193. package/dist/api/resolvers/entity/order-entity.resolver.js +88 -32
  194. package/dist/api/resolvers/entity/order-entity.resolver.js.map +1 -1
  195. package/dist/api/resolvers/entity/order-line-entity.resolver.d.ts +2 -2
  196. package/dist/api/resolvers/entity/order-line-entity.resolver.js +18 -20
  197. package/dist/api/resolvers/entity/order-line-entity.resolver.js.map +1 -1
  198. package/dist/api/resolvers/entity/payment-entity.resolver.js +11 -11
  199. package/dist/api/resolvers/entity/payment-entity.resolver.js.map +1 -1
  200. package/dist/api/resolvers/entity/payment-method-entity.resolver.js +1 -1
  201. package/dist/api/resolvers/entity/payment-method-entity.resolver.js.map +1 -1
  202. package/dist/api/resolvers/entity/product-entity.resolver.d.ts +1 -1
  203. package/dist/api/resolvers/entity/product-entity.resolver.js +47 -47
  204. package/dist/api/resolvers/entity/product-entity.resolver.js.map +1 -1
  205. package/dist/api/resolvers/entity/product-option-entity.resolver.d.ts +1 -1
  206. package/dist/api/resolvers/entity/product-option-entity.resolver.js +12 -12
  207. package/dist/api/resolvers/entity/product-option-entity.resolver.js.map +1 -1
  208. package/dist/api/resolvers/entity/product-option-group-entity.resolver.d.ts +1 -1
  209. package/dist/api/resolvers/entity/product-option-group-entity.resolver.js +11 -11
  210. package/dist/api/resolvers/entity/product-option-group-entity.resolver.js.map +1 -1
  211. package/dist/api/resolvers/entity/product-variant-entity.resolver.d.ts +11 -2
  212. package/dist/api/resolvers/entity/product-variant-entity.resolver.js +93 -50
  213. package/dist/api/resolvers/entity/product-variant-entity.resolver.js.map +1 -1
  214. package/dist/api/resolvers/entity/refund-entity.resolver.d.ts +0 -4
  215. package/dist/api/resolvers/entity/refund-entity.resolver.js +1 -23
  216. package/dist/api/resolvers/entity/refund-entity.resolver.js.map +1 -1
  217. package/dist/api/resolvers/entity/refund-line-entity.resolver.d.ts +11 -0
  218. package/dist/api/resolvers/entity/refund-line-entity.resolver.js +55 -0
  219. package/dist/api/resolvers/entity/refund-line-entity.resolver.js.map +1 -0
  220. package/dist/api/resolvers/entity/role-entity.resolver.js +4 -4
  221. package/dist/api/resolvers/entity/role-entity.resolver.js.map +1 -1
  222. package/dist/api/resolvers/entity/shipping-line-entity.resolver.d.ts +1 -1
  223. package/dist/api/resolvers/entity/shipping-line-entity.resolver.js +4 -4
  224. package/dist/api/resolvers/entity/shipping-line-entity.resolver.js.map +1 -1
  225. package/dist/api/resolvers/entity/shipping-method-entity.resolver.d.ts +1 -1
  226. package/dist/api/resolvers/entity/shipping-method-entity.resolver.js +14 -14
  227. package/dist/api/resolvers/entity/shipping-method-entity.resolver.js.map +1 -1
  228. package/dist/api/resolvers/entity/tax-rate-entity.resolver.js +5 -5
  229. package/dist/api/resolvers/entity/tax-rate-entity.resolver.js.map +1 -1
  230. package/dist/api/resolvers/entity/user-entity.resolver.js +4 -4
  231. package/dist/api/resolvers/entity/user-entity.resolver.js.map +1 -1
  232. package/dist/api/resolvers/entity/zone-entity.resolver.d.ts +3 -2
  233. package/dist/api/resolvers/entity/zone-entity.resolver.js +8 -8
  234. package/dist/api/resolvers/entity/zone-entity.resolver.js.map +1 -1
  235. package/dist/api/resolvers/shop/shop-auth.resolver.js +80 -80
  236. package/dist/api/resolvers/shop/shop-auth.resolver.js.map +1 -1
  237. package/dist/api/resolvers/shop/shop-customer.resolver.js +27 -27
  238. package/dist/api/resolvers/shop/shop-customer.resolver.js.map +1 -1
  239. package/dist/api/resolvers/shop/shop-environment.resolver.js +3 -3
  240. package/dist/api/resolvers/shop/shop-environment.resolver.js.map +1 -1
  241. package/dist/api/resolvers/shop/shop-order.resolver.d.ts +2 -2
  242. package/dist/api/resolvers/shop/shop-order.resolver.js +105 -107
  243. package/dist/api/resolvers/shop/shop-order.resolver.js.map +1 -1
  244. package/dist/api/resolvers/shop/shop-products.resolver.js +30 -30
  245. package/dist/api/resolvers/shop/shop-products.resolver.js.map +1 -1
  246. package/dist/api/schema/admin-api/channel.api.graphql +2 -0
  247. package/dist/api/schema/admin-api/collection-admin.type.graphql +1 -0
  248. package/dist/api/schema/admin-api/collection.api.graphql +3 -0
  249. package/dist/api/schema/admin-api/order-admin.type.graphql +14 -2
  250. package/dist/api/schema/admin-api/order.api.graphql +4 -9
  251. package/dist/api/schema/admin-api/payment-method.api.graphql +9 -4
  252. package/dist/api/schema/admin-api/product-admin.type.graphql +3 -2
  253. package/dist/api/schema/admin-api/product.api.graphql +9 -2
  254. package/dist/api/schema/admin-api/promotion.api.graphql +8 -2
  255. package/dist/api/schema/admin-api/province.api.graphql +37 -0
  256. package/dist/api/schema/admin-api/seller.api.graphql +29 -0
  257. package/dist/api/schema/admin-api/shipping-method.api.graphql +2 -2
  258. package/dist/api/schema/admin-api/stock-level.type.graphql +9 -0
  259. package/dist/api/schema/admin-api/stock-location.api.graphql +34 -0
  260. package/dist/api/schema/admin-api/stock-location.type.graphql +7 -0
  261. package/dist/api/schema/common/asset.type.graphql +1 -0
  262. package/dist/api/schema/common/channel.type.graphql +3 -1
  263. package/dist/api/schema/common/common-error-results.graphql +7 -0
  264. package/dist/api/schema/common/common-types.graphql +7 -3
  265. package/dist/api/schema/common/custom-field-types.graphql +13 -0
  266. package/dist/api/schema/common/order.type.graphql +68 -49
  267. package/dist/api/schema/common/payment-method.type.graphql +9 -0
  268. package/dist/api/schema/common/product-search.type.graphql +3 -3
  269. package/dist/api/schema/common/product.type.graphql +2 -2
  270. package/dist/api/schema/common/promotion.type.graphql +12 -0
  271. package/dist/api/schema/common/region.type.graphql +59 -0
  272. package/dist/api/schema/common/seller.type.graphql +6 -0
  273. package/dist/api/schema/common/zone.type.graphql +2 -1
  274. package/dist/api/schema/shop-api/shop.api.graphql +8 -3
  275. package/dist/app.module.js +1 -1
  276. package/dist/app.module.js.map +1 -1
  277. package/dist/bootstrap.d.ts +1 -1
  278. package/dist/bootstrap.js +47 -51
  279. package/dist/bootstrap.js.map +1 -1
  280. package/dist/cache/cache.module.js +1 -1
  281. package/dist/cache/cache.module.js.map +1 -1
  282. package/dist/cache/index.js +5 -1
  283. package/dist/cache/index.js.map +1 -1
  284. package/dist/common/async-queue.d.ts +3 -3
  285. package/dist/common/async-queue.js +2 -2
  286. package/dist/common/async-queue.js.map +1 -1
  287. package/dist/common/configurable-operation.d.ts +11 -11
  288. package/dist/common/configurable-operation.js +5 -5
  289. package/dist/common/configurable-operation.js.map +1 -1
  290. package/dist/common/constants.d.ts +2 -1
  291. package/dist/common/constants.js +4 -3
  292. package/dist/common/constants.js.map +1 -1
  293. package/dist/common/error/error-result.d.ts +3 -3
  294. package/dist/common/error/errors.d.ts +1 -2
  295. package/dist/common/error/errors.js.map +1 -1
  296. package/dist/common/error/generated-graphql-admin-errors.d.ts +160 -89
  297. package/dist/common/error/generated-graphql-admin-errors.js +123 -113
  298. package/dist/common/error/generated-graphql-admin-errors.js.map +1 -1
  299. package/dist/common/error/generated-graphql-shop-errors.d.ts +79 -43
  300. package/dist/common/error/generated-graphql-shop-errors.js +65 -55
  301. package/dist/common/error/generated-graphql-shop-errors.js.map +1 -1
  302. package/dist/common/finite-state-machine/finite-state-machine.d.ts +4 -2
  303. package/dist/common/finite-state-machine/finite-state-machine.js +20 -8
  304. package/dist/common/finite-state-machine/finite-state-machine.js.map +1 -1
  305. package/dist/common/finite-state-machine/merge-transition-definitions.js +1 -1
  306. package/dist/common/finite-state-machine/merge-transition-definitions.js.map +1 -1
  307. package/dist/common/finite-state-machine/types.d.ts +4 -4
  308. package/dist/common/generate-public-id.js +3 -2
  309. package/dist/common/generate-public-id.js.map +1 -1
  310. package/dist/common/index.d.ts +1 -0
  311. package/dist/common/index.js +6 -1
  312. package/dist/common/index.js.map +1 -1
  313. package/dist/common/permission-definition.d.ts +1 -1
  314. package/dist/common/round-money.d.ts +8 -0
  315. package/dist/common/round-money.js +20 -0
  316. package/dist/common/round-money.js.map +1 -0
  317. package/dist/common/self-refreshing-cache.d.ts +1 -2
  318. package/dist/common/self-refreshing-cache.js +11 -7
  319. package/dist/common/self-refreshing-cache.js.map +1 -1
  320. package/dist/common/tax-utils.js +2 -2
  321. package/dist/common/tax-utils.js.map +1 -1
  322. package/dist/common/types/adjustment-source.d.ts +1 -1
  323. package/dist/common/types/common-types.d.ts +11 -11
  324. package/dist/common/types/entity-relation-paths.d.ts +8 -8
  325. package/dist/common/types/locale-types.d.ts +7 -7
  326. package/dist/common/utils.d.ts +5 -1
  327. package/dist/common/utils.js +21 -3
  328. package/dist/common/utils.js.map +1 -1
  329. package/dist/config/asset-import-strategy/default-asset-import-strategy.js +4 -6
  330. package/dist/config/asset-import-strategy/default-asset-import-strategy.js.map +1 -1
  331. package/dist/config/asset-naming-strategy/default-asset-naming-strategy.js +1 -1
  332. package/dist/config/asset-naming-strategy/default-asset-naming-strategy.js.map +1 -1
  333. package/dist/config/asset-storage-strategy/asset-storage-strategy.d.ts +1 -0
  334. package/dist/config/asset-storage-strategy/no-asset-storage-strategy.d.ts +1 -0
  335. package/dist/config/auth/native-authentication-strategy.js +7 -26
  336. package/dist/config/auth/native-authentication-strategy.js.map +1 -1
  337. package/dist/config/catalog/collection-filter.d.ts +1 -1
  338. package/dist/config/catalog/collection-filter.js +1 -1
  339. package/dist/config/catalog/collection-filter.js.map +1 -1
  340. package/dist/config/catalog/default-collection-filters.js +10 -7
  341. package/dist/config/catalog/default-collection-filters.js.map +1 -1
  342. package/dist/config/catalog/default-product-variant-price-calculation-strategy.js +3 -2
  343. package/dist/config/catalog/default-product-variant-price-calculation-strategy.js.map +1 -1
  344. package/dist/config/catalog/default-product-variant-price-selection-strategy.d.ts +10 -0
  345. package/dist/config/catalog/default-product-variant-price-selection-strategy.js +15 -0
  346. package/dist/config/catalog/default-product-variant-price-selection-strategy.js.map +1 -0
  347. package/dist/config/catalog/default-stock-location-strategy.d.ts +25 -0
  348. package/dist/config/catalog/default-stock-location-strategy.js +70 -0
  349. package/dist/config/catalog/default-stock-location-strategy.js.map +1 -0
  350. package/dist/config/catalog/product-variant-price-calculation-strategy.d.ts +3 -2
  351. package/dist/config/catalog/product-variant-price-selection-strategy.d.ts +6 -0
  352. package/dist/config/catalog/product-variant-price-selection-strategy.js +3 -0
  353. package/dist/config/catalog/product-variant-price-selection-strategy.js.map +1 -0
  354. package/dist/config/catalog/stock-location-strategy.d.ts +74 -0
  355. package/dist/config/{fulfillment/custom-fulfillment-process.js → catalog/stock-location-strategy.js} +1 -1
  356. package/dist/config/catalog/stock-location-strategy.js.map +1 -0
  357. package/dist/config/config-helpers.d.ts +6 -1
  358. package/dist/config/config-helpers.js +34 -6
  359. package/dist/config/config-helpers.js.map +1 -1
  360. package/dist/config/config.module.js +14 -7
  361. package/dist/config/config.module.js.map +1 -1
  362. package/dist/config/config.service.d.ts +3 -3
  363. package/dist/config/config.service.js +3 -3
  364. package/dist/config/config.service.js.map +1 -1
  365. package/dist/config/custom-field/custom-field-types.d.ts +19 -16
  366. package/dist/config/default-config.js +22 -3
  367. package/dist/config/default-config.js.map +1 -1
  368. package/dist/config/entity/auto-increment-id-strategy.js.map +1 -0
  369. package/dist/config/entity/bigint-money-strategy.d.ts +17 -0
  370. package/dist/config/entity/bigint-money-strategy.js +45 -0
  371. package/dist/config/entity/bigint-money-strategy.js.map +1 -0
  372. package/dist/config/entity/default-money-strategy.d.ts +14 -0
  373. package/dist/config/entity/default-money-strategy.js +23 -0
  374. package/dist/config/entity/default-money-strategy.js.map +1 -0
  375. package/dist/config/{entity-id-strategy → entity}/entity-id-strategy.d.ts +1 -1
  376. package/dist/config/entity/entity-id-strategy.js.map +1 -0
  377. package/dist/config/entity/money-strategy.d.ts +61 -0
  378. package/dist/config/{order/custom-order-process.js → entity/money-strategy.js} +1 -1
  379. package/dist/config/entity/money-strategy.js.map +1 -0
  380. package/dist/config/entity/uuid-id-strategy.js.map +1 -0
  381. package/dist/config/entity-metadata/add-foreign-key-indices.js +1 -1
  382. package/dist/config/entity-metadata/add-foreign-key-indices.js.map +1 -1
  383. package/dist/config/entity-metadata/entity-metadata-modifier.d.ts +1 -1
  384. package/dist/config/fulfillment/default-fulfillment-process.d.ts +24 -0
  385. package/dist/config/fulfillment/default-fulfillment-process.js +131 -0
  386. package/dist/config/fulfillment/default-fulfillment-process.js.map +1 -0
  387. package/dist/config/fulfillment/fulfillment-handler.d.ts +5 -6
  388. package/dist/config/fulfillment/fulfillment-handler.js +3 -3
  389. package/dist/config/fulfillment/fulfillment-handler.js.map +1 -1
  390. package/dist/config/fulfillment/{custom-fulfillment-process.d.ts → fulfillment-process.d.ts} +16 -2
  391. package/dist/config/{payment/custom-payment-process.js → fulfillment/fulfillment-process.js} +1 -1
  392. package/dist/config/fulfillment/fulfillment-process.js.map +1 -0
  393. package/dist/config/index.d.ts +27 -8
  394. package/dist/config/index.js +32 -9
  395. package/dist/config/index.js.map +1 -1
  396. package/dist/config/job-queue/job-queue-strategy.d.ts +3 -3
  397. package/dist/config/logger/default-logger.js +5 -5
  398. package/dist/config/logger/typeorm-logger.js +4 -3
  399. package/dist/config/logger/typeorm-logger.js.map +1 -1
  400. package/dist/config/merge-config.js +4 -4
  401. package/dist/config/merge-config.js.map +1 -1
  402. package/dist/config/order/active-order-strategy.d.ts +1 -1
  403. package/dist/config/order/changed-price-handling-strategy.d.ts +3 -3
  404. package/dist/config/order/default-active-order-strategy.js +3 -22
  405. package/dist/config/order/default-active-order-strategy.js.map +1 -1
  406. package/dist/config/order/default-guest-checkout-strategy.d.ts +63 -0
  407. package/dist/config/order/default-guest-checkout-strategy.js +55 -0
  408. package/dist/config/order/default-guest-checkout-strategy.js.map +1 -0
  409. package/dist/config/order/default-order-process.d.ts +143 -0
  410. package/dist/config/order/default-order-process.js +307 -0
  411. package/dist/config/order/default-order-process.js.map +1 -0
  412. package/dist/config/order/default-order-seller-strategy.d.ts +11 -0
  413. package/dist/config/order/default-order-seller-strategy.js +15 -0
  414. package/dist/config/order/default-order-seller-strategy.js.map +1 -0
  415. package/dist/config/order/guest-checkout-strategy.d.ts +30 -0
  416. package/dist/config/order/guest-checkout-strategy.js +3 -0
  417. package/dist/config/order/guest-checkout-strategy.js.map +1 -0
  418. package/dist/config/order/merge-orders-strategy.js +1 -1
  419. package/dist/config/order/merge-orders-strategy.js.map +1 -1
  420. package/dist/config/order/order-by-code-access-strategy.js +1 -1
  421. package/dist/config/order/order-by-code-access-strategy.js.map +1 -1
  422. package/dist/config/order/order-code-strategy.js +1 -1
  423. package/dist/config/order/order-code-strategy.js.map +1 -1
  424. package/dist/config/order/order-item-price-calculation-strategy.d.ts +12 -3
  425. package/dist/config/order/order-merge-strategy.d.ts +1 -1
  426. package/dist/config/order/{custom-order-process.d.ts → order-process.d.ts} +15 -2
  427. package/dist/config/order/order-process.js +3 -0
  428. package/dist/config/order/order-process.js.map +1 -0
  429. package/dist/config/order/order-seller-strategy.d.ts +56 -0
  430. package/dist/config/order/order-seller-strategy.js +3 -0
  431. package/dist/config/order/order-seller-strategy.js.map +1 -0
  432. package/dist/config/payment/default-payment-process.d.ts +16 -0
  433. package/dist/config/payment/default-payment-process.js +70 -0
  434. package/dist/config/payment/default-payment-process.js.map +1 -0
  435. package/dist/config/payment/example-payment-method-handler.js +1 -1
  436. package/dist/config/payment/example-payment-method-handler.js.map +1 -1
  437. package/dist/config/payment/payment-method-eligibility-checker.d.ts +2 -2
  438. package/dist/config/payment/payment-method-eligibility-checker.js.map +1 -1
  439. package/dist/config/payment/payment-method-handler.d.ts +9 -9
  440. package/dist/config/payment/payment-method-handler.js +1 -1
  441. package/dist/config/payment/payment-method-handler.js.map +1 -1
  442. package/dist/config/payment/{custom-payment-process.d.ts → payment-process.d.ts} +17 -3
  443. package/dist/config/payment/payment-process.js +3 -0
  444. package/dist/config/payment/payment-process.js.map +1 -0
  445. package/dist/config/promotion/actions/buy-x-get-y-free-action.d.ts +4 -3
  446. package/dist/config/promotion/actions/buy-x-get-y-free-action.js +6 -9
  447. package/dist/config/promotion/actions/buy-x-get-y-free-action.js.map +1 -1
  448. package/dist/config/promotion/actions/facet-values-percentage-discount-action.js +1 -1
  449. package/dist/config/promotion/actions/facet-values-percentage-discount-action.js.map +1 -1
  450. package/dist/config/promotion/actions/product-percentage-discount-action.js +2 -2
  451. package/dist/config/promotion/actions/product-percentage-discount-action.js.map +1 -1
  452. package/dist/config/promotion/conditions/buy-x-get-y-free-condition.d.ts +3 -2
  453. package/dist/config/promotion/conditions/buy-x-get-y-free-condition.js +16 -10
  454. package/dist/config/promotion/conditions/buy-x-get-y-free-condition.js.map +1 -1
  455. package/dist/config/promotion/conditions/contains-products-condition.js +1 -1
  456. package/dist/config/promotion/conditions/contains-products-condition.js.map +1 -1
  457. package/dist/config/promotion/conditions/customer-group-condition.js +2 -21
  458. package/dist/config/promotion/conditions/customer-group-condition.js.map +1 -1
  459. package/dist/config/promotion/conditions/has-facet-values-condition.js +1 -1
  460. package/dist/config/promotion/conditions/has-facet-values-condition.js.map +1 -1
  461. package/dist/config/promotion/index.d.ts +6 -2
  462. package/dist/config/promotion/index.js +5 -1
  463. package/dist/config/promotion/index.js.map +1 -1
  464. package/dist/config/promotion/promotion-action.d.ts +13 -14
  465. package/dist/config/promotion/promotion-action.js +5 -5
  466. package/dist/config/promotion/promotion-action.js.map +1 -1
  467. package/dist/config/promotion/promotion-condition.d.ts +4 -4
  468. package/dist/config/promotion/promotion-condition.js +3 -3
  469. package/dist/config/promotion/promotion-condition.js.map +1 -1
  470. package/dist/config/promotion/utils/facet-value-checker.d.ts +0 -1
  471. package/dist/config/promotion/utils/facet-value-checker.js +6 -5
  472. package/dist/config/promotion/utils/facet-value-checker.js.map +1 -1
  473. package/dist/config/session-cache/in-memory-session-cache-strategy.js +1 -1
  474. package/dist/config/session-cache/session-cache-strategy.d.ts +6 -6
  475. package/dist/config/shipping-method/default-shipping-calculator.d.ts +1 -2
  476. package/dist/config/shipping-method/default-shipping-calculator.js +2 -2
  477. package/dist/config/shipping-method/default-shipping-calculator.js.map +1 -1
  478. package/dist/config/shipping-method/default-shipping-line-assignment-strategy.d.ts +8 -0
  479. package/dist/config/shipping-method/default-shipping-line-assignment-strategy.js +10 -0
  480. package/dist/config/shipping-method/default-shipping-line-assignment-strategy.js.map +1 -0
  481. package/dist/config/shipping-method/shipping-calculator.d.ts +2 -2
  482. package/dist/config/shipping-method/shipping-eligibility-checker.d.ts +2 -2
  483. package/dist/config/shipping-method/shipping-eligibility-checker.js +1 -1
  484. package/dist/config/shipping-method/shipping-eligibility-checker.js.map +1 -1
  485. package/dist/config/shipping-method/shipping-line-assignment-strategy.d.ts +20 -0
  486. package/dist/config/shipping-method/shipping-line-assignment-strategy.js +3 -0
  487. package/dist/config/shipping-method/shipping-line-assignment-strategy.js.map +1 -0
  488. package/dist/config/tax/default-tax-line-calculation-strategy.js +2 -2
  489. package/dist/config/tax/tax-line-calculation-strategy.d.ts +1 -3
  490. package/dist/config/vendure-config.d.ts +90 -14
  491. package/dist/connection/connection.module.d.ts +2 -2
  492. package/dist/connection/connection.module.js +1 -1
  493. package/dist/connection/connection.module.js.map +1 -1
  494. package/dist/connection/index.js +5 -1
  495. package/dist/connection/index.js.map +1 -1
  496. package/dist/connection/transaction-subscriber.d.ts +1 -1
  497. package/dist/connection/transaction-subscriber.js +6 -7
  498. package/dist/connection/transaction-subscriber.js.map +1 -1
  499. package/dist/connection/transaction-wrapper.js +2 -4
  500. package/dist/connection/transaction-wrapper.js.map +1 -1
  501. package/dist/connection/transactional-connection.d.ts +7 -6
  502. package/dist/connection/transactional-connection.js +18 -37
  503. package/dist/connection/transactional-connection.js.map +1 -1
  504. package/dist/data-import/data-import.module.js +1 -1
  505. package/dist/data-import/data-import.module.js.map +1 -1
  506. package/dist/data-import/index.js +5 -1
  507. package/dist/data-import/index.js.map +1 -1
  508. package/dist/data-import/providers/asset-importer/asset-importer.js +2 -2
  509. package/dist/data-import/providers/asset-importer/asset-importer.js.map +1 -1
  510. package/dist/data-import/providers/import-parser/import-parser.js +7 -7
  511. package/dist/data-import/providers/import-parser/import-parser.js.map +1 -1
  512. package/dist/data-import/providers/importer/fast-importer.service.d.ts +1 -2
  513. package/dist/data-import/providers/importer/fast-importer.service.js +15 -16
  514. package/dist/data-import/providers/importer/fast-importer.service.js.map +1 -1
  515. package/dist/data-import/providers/importer/importer.d.ts +1 -1
  516. package/dist/data-import/providers/importer/importer.js +6 -6
  517. package/dist/data-import/providers/importer/importer.js.map +1 -1
  518. package/dist/data-import/providers/populator/populator.js +11 -12
  519. package/dist/data-import/providers/populator/populator.js.map +1 -1
  520. package/dist/data-import/types.d.ts +2 -2
  521. package/dist/entity/address/address.entity.d.ts +2 -2
  522. package/dist/entity/address/address.entity.js +18 -16
  523. package/dist/entity/address/address.entity.js.map +1 -1
  524. package/dist/entity/administrator/administrator.entity.js +9 -11
  525. package/dist/entity/administrator/administrator.entity.js.map +1 -1
  526. package/dist/entity/asset/asset.entity.js +17 -19
  527. package/dist/entity/asset/asset.entity.js.map +1 -1
  528. package/dist/entity/asset/orderable-asset.entity.js +5 -6
  529. package/dist/entity/asset/orderable-asset.entity.js.map +1 -1
  530. package/dist/entity/authentication-method/authentication-method.entity.js +4 -3
  531. package/dist/entity/authentication-method/authentication-method.entity.js.map +1 -1
  532. package/dist/entity/authentication-method/external-authentication-method.entity.js +5 -7
  533. package/dist/entity/authentication-method/external-authentication-method.entity.js.map +1 -1
  534. package/dist/entity/authentication-method/native-authentication-method.entity.js +8 -10
  535. package/dist/entity/authentication-method/native-authentication-method.entity.js.map +1 -1
  536. package/dist/entity/base/base.entity.js +3 -3
  537. package/dist/entity/base/base.entity.js.map +1 -1
  538. package/dist/entity/channel/channel.entity.d.ts +6 -2
  539. package/dist/entity/channel/channel.entity.js +29 -15
  540. package/dist/entity/channel/channel.entity.js.map +1 -1
  541. package/dist/entity/collection/collection-asset.entity.js +5 -7
  542. package/dist/entity/collection/collection-asset.entity.js.map +1 -1
  543. package/dist/entity/collection/collection-translation.entity.js +11 -11
  544. package/dist/entity/collection/collection-translation.entity.js.map +1 -1
  545. package/dist/entity/collection/collection.entity.d.ts +4 -0
  546. package/dist/entity/collection/collection.entity.js +23 -31
  547. package/dist/entity/collection/collection.entity.js.map +1 -1
  548. package/dist/entity/custom-entity-fields.d.ts +12 -4
  549. package/dist/entity/custom-entity-fields.js +19 -7
  550. package/dist/entity/custom-entity-fields.js.map +1 -1
  551. package/dist/entity/customer/customer.entity.js +16 -16
  552. package/dist/entity/customer/customer.entity.js.map +1 -1
  553. package/dist/entity/customer-group/customer-group.entity.js +5 -7
  554. package/dist/entity/customer-group/customer-group.entity.js.map +1 -1
  555. package/dist/entity/entities.d.ts +35 -15
  556. package/dist/entity/entities.js +35 -15
  557. package/dist/entity/entities.js.map +1 -1
  558. package/dist/entity/entity-id.decorator.js +1 -1
  559. package/dist/entity/facet/facet-translation.entity.js +8 -9
  560. package/dist/entity/facet/facet-translation.entity.js.map +1 -1
  561. package/dist/entity/facet/facet.entity.js +9 -11
  562. package/dist/entity/facet/facet.entity.js.map +1 -1
  563. package/dist/entity/facet-value/facet-value-translation.entity.js +8 -9
  564. package/dist/entity/facet-value/facet-value-translation.entity.js.map +1 -1
  565. package/dist/entity/facet-value/facet-value.entity.js +9 -10
  566. package/dist/entity/facet-value/facet-value.entity.js.map +1 -1
  567. package/dist/entity/fulfillment/fulfillment.entity.d.ts +3 -3
  568. package/dist/entity/fulfillment/fulfillment.entity.js +10 -10
  569. package/dist/entity/fulfillment/fulfillment.entity.js.map +1 -1
  570. package/dist/entity/global-settings/global-settings.entity.js +5 -5
  571. package/dist/entity/global-settings/global-settings.entity.js.map +1 -1
  572. package/dist/entity/history-entry/customer-history-entry.entity.js +3 -2
  573. package/dist/entity/history-entry/customer-history-entry.entity.js.map +1 -1
  574. package/dist/entity/history-entry/history-entry.entity.js +7 -6
  575. package/dist/entity/history-entry/history-entry.entity.js.map +1 -1
  576. package/dist/entity/history-entry/order-history-entry.entity.js +3 -2
  577. package/dist/entity/history-entry/order-history-entry.entity.js.map +1 -1
  578. package/dist/entity/index.d.ts +30 -19
  579. package/dist/entity/index.js +35 -20
  580. package/dist/entity/index.js.map +1 -1
  581. package/dist/entity/money.decorator.d.ts +27 -0
  582. package/dist/entity/money.decorator.js +36 -0
  583. package/dist/entity/money.decorator.js.map +1 -0
  584. package/dist/entity/order/order.entity.d.ts +7 -3
  585. package/dist/entity/order/order.entity.js +60 -42
  586. package/dist/entity/order/order.entity.js.map +1 -1
  587. package/dist/entity/order-line/order-line.entity.d.ts +79 -20
  588. package/dist/entity/order-line/order-line.entity.js +205 -107
  589. package/dist/entity/order-line/order-line.entity.js.map +1 -1
  590. package/dist/entity/order-line-reference/fulfillment-line.entity.d.ts +15 -0
  591. package/dist/entity/order-line-reference/fulfillment-line.entity.js +43 -0
  592. package/dist/entity/order-line-reference/fulfillment-line.entity.js.map +1 -0
  593. package/dist/entity/order-line-reference/order-line-reference.entity.d.ts +15 -0
  594. package/dist/entity/order-line-reference/order-line-reference.entity.js +44 -0
  595. package/dist/entity/order-line-reference/order-line-reference.entity.js.map +1 -0
  596. package/dist/entity/order-line-reference/order-modification-line.entity.d.ts +15 -0
  597. package/dist/entity/order-line-reference/order-modification-line.entity.js +43 -0
  598. package/dist/entity/order-line-reference/order-modification-line.entity.js.map +1 -0
  599. package/dist/entity/order-line-reference/refund-line.entity.d.ts +15 -0
  600. package/dist/entity/order-line-reference/refund-line.entity.js +43 -0
  601. package/dist/entity/order-line-reference/refund-line.entity.js.map +1 -0
  602. package/dist/entity/order-modification/order-modification.entity.d.ts +2 -2
  603. package/dist/entity/order-modification/order-modification.entity.js +17 -16
  604. package/dist/entity/order-modification/order-modification.entity.js.map +1 -1
  605. package/dist/entity/payment/payment.entity.js +11 -9
  606. package/dist/entity/payment/payment.entity.js.map +1 -1
  607. package/dist/entity/payment-method/payment-method-translation.entity.d.ts +15 -0
  608. package/dist/entity/payment-method/payment-method-translation.entity.js +49 -0
  609. package/dist/entity/payment-method/payment-method-translation.entity.js.map +1 -0
  610. package/dist/entity/payment-method/payment-method.entity.d.ts +5 -3
  611. package/dist/entity/payment-method/payment-method.entity.js +12 -15
  612. package/dist/entity/payment-method/payment-method.entity.js.map +1 -1
  613. package/dist/entity/product/product-asset.entity.js +5 -7
  614. package/dist/entity/product/product-asset.entity.js.map +1 -1
  615. package/dist/entity/product/product-translation.entity.js +11 -11
  616. package/dist/entity/product/product-translation.entity.js.map +1 -1
  617. package/dist/entity/product/product.entity.js +15 -16
  618. package/dist/entity/product/product.entity.js.map +1 -1
  619. package/dist/entity/product-option/product-option-translation.entity.js +8 -9
  620. package/dist/entity/product-option/product-option-translation.entity.js.map +1 -1
  621. package/dist/entity/product-option/product-option.entity.js +8 -7
  622. package/dist/entity/product-option/product-option.entity.js.map +1 -1
  623. package/dist/entity/product-option-group/product-option-group-translation.entity.js +8 -9
  624. package/dist/entity/product-option-group/product-option-group-translation.entity.js.map +1 -1
  625. package/dist/entity/product-option-group/product-option-group.entity.d.ts +1 -1
  626. package/dist/entity/product-option-group/product-option-group.entity.js +10 -11
  627. package/dist/entity/product-option-group/product-option-group.entity.js.map +1 -1
  628. package/dist/entity/product-variant/product-variant-asset.entity.js +5 -7
  629. package/dist/entity/product-variant/product-variant-asset.entity.js.map +1 -1
  630. package/dist/entity/product-variant/product-variant-price.entity.d.ts +2 -0
  631. package/dist/entity/product-variant/product-variant-price.entity.js +11 -4
  632. package/dist/entity/product-variant/product-variant-price.entity.js.map +1 -1
  633. package/dist/entity/product-variant/product-variant-translation.entity.js +8 -9
  634. package/dist/entity/product-variant/product-variant-translation.entity.js.map +1 -1
  635. package/dist/entity/product-variant/product-variant.entity.d.ts +3 -3
  636. package/dist/entity/product-variant/product-variant.entity.js +37 -36
  637. package/dist/entity/product-variant/product-variant.entity.js.map +1 -1
  638. package/dist/entity/promotion/promotion-translation.entity.d.ts +15 -0
  639. package/dist/entity/promotion/promotion-translation.entity.js +49 -0
  640. package/dist/entity/promotion/promotion-translation.entity.js.map +1 -0
  641. package/dist/entity/promotion/promotion.entity.d.ts +7 -6
  642. package/dist/entity/promotion/promotion.entity.js +26 -23
  643. package/dist/entity/promotion/promotion.entity.js.map +1 -1
  644. package/dist/entity/refund/refund.entity.d.ts +2 -2
  645. package/dist/entity/refund/refund.entity.js +19 -17
  646. package/dist/entity/refund/refund.entity.js.map +1 -1
  647. package/dist/entity/region/country.entity.d.ts +14 -0
  648. package/dist/entity/{country → region}/country.entity.js +5 -24
  649. package/dist/entity/region/country.entity.js.map +1 -0
  650. package/dist/entity/region/province.entity.d.ts +13 -0
  651. package/dist/entity/region/province.entity.js +33 -0
  652. package/dist/entity/region/province.entity.js.map +1 -0
  653. package/dist/entity/{country/country-translation.entity.d.ts → region/region-translation.entity.d.ts} +6 -6
  654. package/dist/entity/region/region-translation.entity.js +45 -0
  655. package/dist/entity/region/region-translation.entity.js.map +1 -0
  656. package/dist/entity/region/region.entity.d.ts +30 -0
  657. package/dist/entity/region/region.entity.js +62 -0
  658. package/dist/entity/region/region.entity.js.map +1 -0
  659. package/dist/entity/register-custom-entity-fields.js +18 -14
  660. package/dist/entity/register-custom-entity-fields.js.map +1 -1
  661. package/dist/entity/role/role.entity.js +7 -9
  662. package/dist/entity/role/role.entity.js.map +1 -1
  663. package/dist/entity/run-entity-metadata-modifiers.d.ts +1 -1
  664. package/dist/entity/run-entity-metadata-modifiers.js +1 -1
  665. package/dist/entity/run-entity-metadata-modifiers.js.map +1 -1
  666. package/dist/entity/seller/seller.entity.d.ts +17 -0
  667. package/dist/entity/seller/seller.entity.js +44 -0
  668. package/dist/entity/seller/seller.entity.js.map +1 -0
  669. package/dist/entity/session/anonymous-session.entity.js +1 -1
  670. package/dist/entity/session/anonymous-session.entity.js.map +1 -1
  671. package/dist/entity/session/authenticated-session.entity.js +4 -3
  672. package/dist/entity/session/authenticated-session.entity.js.map +1 -1
  673. package/dist/entity/session/session.entity.js +12 -10
  674. package/dist/entity/session/session.entity.js.map +1 -1
  675. package/dist/entity/set-entity-id-strategy.d.ts +1 -1
  676. package/dist/entity/set-entity-id-strategy.js +4 -4
  677. package/dist/entity/set-entity-id-strategy.js.map +1 -1
  678. package/dist/entity/set-money-strategy.d.ts +3 -0
  679. package/dist/entity/set-money-strategy.js +16 -0
  680. package/dist/entity/set-money-strategy.js.map +1 -0
  681. package/dist/entity/shipping-line/shipping-line.entity.d.ts +1 -1
  682. package/dist/entity/shipping-line/shipping-line.entity.js +30 -26
  683. package/dist/entity/shipping-line/shipping-line.entity.js.map +1 -1
  684. package/dist/entity/shipping-method/shipping-method-translation.entity.js +7 -6
  685. package/dist/entity/shipping-method/shipping-method-translation.entity.js.map +1 -1
  686. package/dist/entity/shipping-method/shipping-method.entity.js +14 -13
  687. package/dist/entity/shipping-method/shipping-method.entity.js.map +1 -1
  688. package/dist/entity/stock-level/stock-level.entity.d.ts +20 -0
  689. package/dist/entity/stock-level/stock-level.entity.js +60 -0
  690. package/dist/entity/stock-level/stock-level.entity.js.map +1 -0
  691. package/dist/entity/stock-location/stock-location.entity.d.ts +19 -0
  692. package/dist/entity/stock-location/stock-location.entity.js +50 -0
  693. package/dist/entity/stock-location/stock-location.entity.js.map +1 -0
  694. package/dist/entity/stock-movement/allocation.entity.js +3 -2
  695. package/dist/entity/stock-movement/allocation.entity.js.map +1 -1
  696. package/dist/entity/stock-movement/cancellation.entity.d.ts +2 -2
  697. package/dist/entity/stock-movement/cancellation.entity.js +5 -5
  698. package/dist/entity/stock-movement/cancellation.entity.js.map +1 -1
  699. package/dist/entity/stock-movement/release.entity.d.ts +2 -2
  700. package/dist/entity/stock-movement/release.entity.js +5 -5
  701. package/dist/entity/stock-movement/release.entity.js.map +1 -1
  702. package/dist/entity/stock-movement/sale.entity.js +2 -2
  703. package/dist/entity/stock-movement/sale.entity.js.map +1 -1
  704. package/dist/entity/stock-movement/stock-adjustment.entity.js +1 -1
  705. package/dist/entity/stock-movement/stock-adjustment.entity.js.map +1 -1
  706. package/dist/entity/stock-movement/stock-movement.entity.d.ts +4 -0
  707. package/dist/entity/stock-movement/stock-movement.entity.js +18 -7
  708. package/dist/entity/stock-movement/stock-movement.entity.js.map +1 -1
  709. package/dist/entity/subscribers.js +2 -1
  710. package/dist/entity/subscribers.js.map +1 -1
  711. package/dist/entity/surcharge/surcharge.entity.d.ts +1 -1
  712. package/dist/entity/surcharge/surcharge.entity.js +18 -15
  713. package/dist/entity/surcharge/surcharge.entity.js.map +1 -1
  714. package/dist/entity/tag/tag.entity.js +3 -5
  715. package/dist/entity/tag/tag.entity.js.map +1 -1
  716. package/dist/entity/tax-category/tax-category.entity.js +5 -7
  717. package/dist/entity/tax-category/tax-category.entity.js.map +1 -1
  718. package/dist/entity/tax-rate/tax-rate.entity.js +17 -16
  719. package/dist/entity/tax-rate/tax-rate.entity.js.map +1 -1
  720. package/dist/entity/user/user.entity.js +10 -12
  721. package/dist/entity/user/user.entity.js.map +1 -1
  722. package/dist/entity/validate-custom-fields-config.js +5 -3
  723. package/dist/entity/validate-custom-fields-config.js.map +1 -1
  724. package/dist/entity/zone/zone.entity.d.ts +2 -2
  725. package/dist/entity/zone/zone.entity.js +7 -9
  726. package/dist/entity/zone/zone.entity.js.map +1 -1
  727. package/dist/event-bus/event-bus.d.ts +10 -0
  728. package/dist/event-bus/event-bus.js +14 -2
  729. package/dist/event-bus/event-bus.js.map +1 -1
  730. package/dist/event-bus/event-bus.module.js +1 -1
  731. package/dist/event-bus/event-bus.module.js.map +1 -1
  732. package/dist/event-bus/events/administrator-event.d.ts +1 -1
  733. package/dist/event-bus/events/asset-event.d.ts +1 -1
  734. package/dist/event-bus/events/change-channel-event.d.ts +3 -3
  735. package/dist/event-bus/events/channel-event.d.ts +1 -1
  736. package/dist/event-bus/events/collection-event.d.ts +1 -1
  737. package/dist/event-bus/events/country-event.d.ts +1 -1
  738. package/dist/event-bus/events/customer-address-event.d.ts +3 -3
  739. package/dist/event-bus/events/customer-event.d.ts +1 -1
  740. package/dist/event-bus/events/customer-group-entity-event.d.ts +1 -1
  741. package/dist/event-bus/events/customer-group-event.d.ts +1 -1
  742. package/dist/event-bus/events/facet-event.d.ts +1 -1
  743. package/dist/event-bus/events/facet-value-event.d.ts +1 -1
  744. package/dist/event-bus/events/fulfillment-event.d.ts +4 -4
  745. package/dist/event-bus/events/history-entry-event.d.ts +1 -1
  746. package/dist/event-bus/events/payment-method-event.d.ts +1 -1
  747. package/dist/event-bus/events/product-event.d.ts +1 -1
  748. package/dist/event-bus/events/product-option-event.d.ts +1 -1
  749. package/dist/event-bus/events/product-option-group-event.d.ts +1 -1
  750. package/dist/event-bus/events/product-variant-event.d.ts +1 -1
  751. package/dist/event-bus/events/promotion-event.d.ts +1 -1
  752. package/dist/event-bus/events/role-event.d.ts +1 -1
  753. package/dist/event-bus/events/search-event.d.ts +1 -1
  754. package/dist/event-bus/events/shipping-method-event.d.ts +1 -1
  755. package/dist/event-bus/events/tax-category-event.d.ts +1 -1
  756. package/dist/event-bus/events/tax-rate-event.d.ts +1 -1
  757. package/dist/event-bus/events/zone-event.d.ts +1 -1
  758. package/dist/event-bus/index.js +5 -1
  759. package/dist/event-bus/index.js.map +1 -1
  760. package/dist/health-check/health-check.controller.js +3 -3
  761. package/dist/health-check/health-check.controller.js.map +1 -1
  762. package/dist/health-check/health-check.module.js +2 -2
  763. package/dist/health-check/health-check.module.js.map +1 -1
  764. package/dist/health-check/index.js +5 -1
  765. package/dist/health-check/index.js.map +1 -1
  766. package/dist/health-check/worker-health-indicator.js +2 -2
  767. package/dist/health-check/worker-health-indicator.js.map +1 -1
  768. package/dist/i18n/i18n.module.js +1 -1
  769. package/dist/i18n/i18n.module.js.map +1 -1
  770. package/dist/i18n/i18n.service.js +11 -5
  771. package/dist/i18n/i18n.service.js.map +1 -1
  772. package/dist/i18n/index.js +5 -1
  773. package/dist/i18n/index.js.map +1 -1
  774. package/dist/index.d.ts +1 -0
  775. package/dist/index.js +8 -2
  776. package/dist/index.js.map +1 -1
  777. package/dist/job-queue/in-memory-job-queue-strategy.d.ts +2 -2
  778. package/dist/job-queue/in-memory-job-queue-strategy.js +14 -15
  779. package/dist/job-queue/in-memory-job-queue-strategy.js.map +1 -1
  780. package/dist/job-queue/index.js +5 -1
  781. package/dist/job-queue/index.js.map +1 -1
  782. package/dist/job-queue/injectable-job-queue-strategy.d.ts +2 -2
  783. package/dist/job-queue/job-buffer/job-buffer.d.ts +1 -1
  784. package/dist/job-queue/job-buffer/job-buffer.service.js +2 -2
  785. package/dist/job-queue/job-buffer/job-buffer.service.js.map +1 -1
  786. package/dist/job-queue/job-queue.d.ts +1 -1
  787. package/dist/job-queue/job-queue.js +6 -6
  788. package/dist/job-queue/job-queue.js.map +1 -1
  789. package/dist/job-queue/job-queue.module.js +1 -1
  790. package/dist/job-queue/job-queue.module.js.map +1 -1
  791. package/dist/job-queue/job-queue.service.js +4 -4
  792. package/dist/job-queue/job-queue.service.js.map +1 -1
  793. package/dist/job-queue/job.d.ts +2 -2
  794. package/dist/job-queue/job.js +36 -27
  795. package/dist/job-queue/job.js.map +1 -1
  796. package/dist/job-queue/polling-job-queue-strategy.d.ts +3 -3
  797. package/dist/job-queue/polling-job-queue-strategy.js +12 -13
  798. package/dist/job-queue/polling-job-queue-strategy.js.map +1 -1
  799. package/dist/job-queue/subscribable-job.d.ts +2 -2
  800. package/dist/job-queue/subscribable-job.js +11 -10
  801. package/dist/job-queue/subscribable-job.js.map +1 -1
  802. package/dist/job-queue/types.d.ts +1 -1
  803. package/dist/migrate.js +19 -19
  804. package/dist/migrate.js.map +1 -1
  805. package/dist/plugin/default-job-queue-plugin/default-job-queue-plugin.d.ts +1 -1
  806. package/dist/plugin/default-job-queue-plugin/default-job-queue-plugin.js +2 -1
  807. package/dist/plugin/default-job-queue-plugin/default-job-queue-plugin.js.map +1 -1
  808. package/dist/plugin/default-job-queue-plugin/job-record-buffer.entity.js +3 -3
  809. package/dist/plugin/default-job-queue-plugin/job-record-buffer.entity.js.map +1 -1
  810. package/dist/plugin/default-job-queue-plugin/job-record.entity.js +12 -12
  811. package/dist/plugin/default-job-queue-plugin/job-record.entity.js.map +1 -1
  812. package/dist/plugin/default-job-queue-plugin/sql-job-buffer-storage-strategy.js +6 -7
  813. package/dist/plugin/default-job-queue-plugin/sql-job-buffer-storage-strategy.js.map +1 -1
  814. package/dist/plugin/default-job-queue-plugin/sql-job-queue-strategy.d.ts +1 -1
  815. package/dist/plugin/default-job-queue-plugin/sql-job-queue-strategy.js +3 -3
  816. package/dist/plugin/default-job-queue-plugin/sql-job-queue-strategy.js.map +1 -1
  817. package/dist/plugin/default-search-plugin/api/api-extensions.js +1 -1
  818. package/dist/plugin/default-search-plugin/api/api-extensions.js.map +1 -1
  819. package/dist/plugin/default-search-plugin/api/fulltext-search.resolver.d.ts +3 -2
  820. package/dist/plugin/default-search-plugin/api/fulltext-search.resolver.js +30 -30
  821. package/dist/plugin/default-search-plugin/api/fulltext-search.resolver.js.map +1 -1
  822. package/dist/plugin/default-search-plugin/default-search-plugin.js +9 -8
  823. package/dist/plugin/default-search-plugin/default-search-plugin.js.map +1 -1
  824. package/dist/plugin/default-search-plugin/entities/search-index-item.entity.js +28 -27
  825. package/dist/plugin/default-search-plugin/entities/search-index-item.entity.js.map +1 -1
  826. package/dist/plugin/default-search-plugin/fulltext-search.service.js +5 -5
  827. package/dist/plugin/default-search-plugin/fulltext-search.service.js.map +1 -1
  828. package/dist/plugin/default-search-plugin/index.js +5 -1
  829. package/dist/plugin/default-search-plugin/index.js.map +1 -1
  830. package/dist/plugin/default-search-plugin/indexer/indexer.controller.js +48 -31
  831. package/dist/plugin/default-search-plugin/indexer/indexer.controller.js.map +1 -1
  832. package/dist/plugin/default-search-plugin/indexer/mutable-request-context.js.map +1 -1
  833. package/dist/plugin/default-search-plugin/indexer/search-index.service.d.ts +12 -12
  834. package/dist/plugin/default-search-plugin/indexer/search-index.service.js +22 -14
  835. package/dist/plugin/default-search-plugin/indexer/search-index.service.js.map +1 -1
  836. package/dist/plugin/default-search-plugin/search-job-buffer/collection-job-buffer.js +1 -1
  837. package/dist/plugin/default-search-plugin/search-job-buffer/collection-job-buffer.js.map +1 -1
  838. package/dist/plugin/default-search-plugin/search-job-buffer/search-index-job-buffer.js +1 -1
  839. package/dist/plugin/default-search-plugin/search-job-buffer/search-index-job-buffer.js.map +1 -1
  840. package/dist/plugin/default-search-plugin/search-job-buffer/search-job-buffer.service.js +4 -4
  841. package/dist/plugin/default-search-plugin/search-job-buffer/search-job-buffer.service.js.map +1 -1
  842. package/dist/plugin/default-search-plugin/search-strategy/mysql-search-strategy.js +11 -11
  843. package/dist/plugin/default-search-plugin/search-strategy/mysql-search-strategy.js.map +1 -1
  844. package/dist/plugin/default-search-plugin/search-strategy/postgres-search-strategy.js +12 -12
  845. package/dist/plugin/default-search-plugin/search-strategy/postgres-search-strategy.js.map +1 -1
  846. package/dist/plugin/default-search-plugin/search-strategy/search-strategy-common.js.map +1 -1
  847. package/dist/plugin/default-search-plugin/search-strategy/search-strategy-utils.js +12 -8
  848. package/dist/plugin/default-search-plugin/search-strategy/search-strategy-utils.js.map +1 -1
  849. package/dist/plugin/default-search-plugin/search-strategy/sqlite-search-strategy.js +9 -9
  850. package/dist/plugin/default-search-plugin/search-strategy/sqlite-search-strategy.js.map +1 -1
  851. package/dist/plugin/default-search-plugin/types.d.ts +22 -22
  852. package/dist/plugin/dynamic-plugin-api.module.js +8 -8
  853. package/dist/plugin/dynamic-plugin-api.module.js.map +1 -1
  854. package/dist/plugin/index.js +5 -1
  855. package/dist/plugin/index.js.map +1 -1
  856. package/dist/plugin/plugin-common.module.js +1 -1
  857. package/dist/plugin/plugin-common.module.js.map +1 -1
  858. package/dist/plugin/plugin-metadata.d.ts +2 -1
  859. package/dist/plugin/plugin-metadata.js +5 -4
  860. package/dist/plugin/plugin-metadata.js.map +1 -1
  861. package/dist/plugin/plugin-utils.js +2 -2
  862. package/dist/plugin/plugin-utils.js.map +1 -1
  863. package/dist/plugin/plugin.module.js +2 -2
  864. package/dist/plugin/plugin.module.js.map +1 -1
  865. package/dist/plugin/vendure-plugin.d.ts +20 -1
  866. package/dist/plugin/vendure-plugin.js +3 -3
  867. package/dist/plugin/vendure-plugin.js.map +1 -1
  868. package/dist/process-context/process-context.d.ts +1 -1
  869. package/dist/process-context/process-context.module.js +2 -2
  870. package/dist/process-context/process-context.module.js.map +1 -1
  871. package/dist/service/helpers/active-order/active-order.service.d.ts +2 -2
  872. package/dist/service/helpers/active-order/active-order.service.js +8 -8
  873. package/dist/service/helpers/active-order/active-order.service.js.map +1 -1
  874. package/dist/service/helpers/config-arg/config-arg.service.d.ts +2 -2
  875. package/dist/service/helpers/config-arg/config-arg.service.js +2 -2
  876. package/dist/service/helpers/config-arg/config-arg.service.js.map +1 -1
  877. package/dist/service/helpers/custom-field-relation/custom-field-relation.service.js +10 -5
  878. package/dist/service/helpers/custom-field-relation/custom-field-relation.service.js.map +1 -1
  879. package/dist/service/helpers/entity-hydrator/entity-hydrator.service.js +7 -8
  880. package/dist/service/helpers/entity-hydrator/entity-hydrator.service.js.map +1 -1
  881. package/dist/service/helpers/external-authentication/external-authentication.service.js +2 -2
  882. package/dist/service/helpers/external-authentication/external-authentication.service.js.map +1 -1
  883. package/dist/service/helpers/fulfillment-state-machine/fulfillment-state-machine.d.ts +7 -13
  884. package/dist/service/helpers/fulfillment-state-machine/fulfillment-state-machine.js +18 -48
  885. package/dist/service/helpers/fulfillment-state-machine/fulfillment-state-machine.js.map +1 -1
  886. package/dist/service/helpers/fulfillment-state-machine/fulfillment-state.d.ts +13 -5
  887. package/dist/service/helpers/fulfillment-state-machine/fulfillment-state.js +0 -18
  888. package/dist/service/helpers/fulfillment-state-machine/fulfillment-state.js.map +1 -1
  889. package/dist/service/helpers/list-query-builder/list-query-builder.d.ts +3 -3
  890. package/dist/service/helpers/list-query-builder/list-query-builder.js +25 -21
  891. package/dist/service/helpers/list-query-builder/list-query-builder.js.map +1 -1
  892. package/dist/service/helpers/list-query-builder/parse-filter-params.js +8 -6
  893. package/dist/service/helpers/list-query-builder/parse-filter-params.js.map +1 -1
  894. package/dist/service/helpers/list-query-builder/parse-sort-params.d.ts +1 -1
  895. package/dist/service/helpers/list-query-builder/parse-sort-params.js +4 -4
  896. package/dist/service/helpers/list-query-builder/parse-sort-params.js.map +1 -1
  897. package/dist/service/helpers/locale-string-hydrator/locale-string-hydrator.js +5 -3
  898. package/dist/service/helpers/locale-string-hydrator/locale-string-hydrator.js.map +1 -1
  899. package/dist/service/helpers/order-calculator/order-calculator.d.ts +3 -14
  900. package/dist/service/helpers/order-calculator/order-calculator.js +46 -118
  901. package/dist/service/helpers/order-calculator/order-calculator.js.map +1 -1
  902. package/dist/service/helpers/order-merger/order-merger.d.ts +5 -5
  903. package/dist/service/helpers/order-merger/order-merger.js +4 -4
  904. package/dist/service/helpers/order-merger/order-merger.js.map +1 -1
  905. package/dist/service/helpers/order-modifier/order-modifier.d.ts +4 -2
  906. package/dist/service/helpers/order-modifier/order-modifier.js +205 -104
  907. package/dist/service/helpers/order-modifier/order-modifier.js.map +1 -1
  908. package/dist/service/helpers/order-splitter/order-splitter.d.ts +16 -0
  909. package/dist/service/helpers/order-splitter/order-splitter.js +122 -0
  910. package/dist/service/helpers/order-splitter/order-splitter.js.map +1 -0
  911. package/dist/service/helpers/order-state-machine/order-state-machine.d.ts +6 -23
  912. package/dist/service/helpers/order-state-machine/order-state-machine.js +16 -188
  913. package/dist/service/helpers/order-state-machine/order-state-machine.js.map +1 -1
  914. package/dist/service/helpers/order-state-machine/order-state.d.ts +32 -4
  915. package/dist/service/helpers/order-state-machine/order-state.js +0 -64
  916. package/dist/service/helpers/order-state-machine/order-state.js.map +1 -1
  917. package/dist/service/helpers/password-cipher/password-cipher.js +1 -1
  918. package/dist/service/helpers/password-cipher/password-cipher.js.map +1 -1
  919. package/dist/service/helpers/payment-state-machine/payment-state-machine.d.ts +5 -10
  920. package/dist/service/helpers/payment-state-machine/payment-state-machine.js +16 -38
  921. package/dist/service/helpers/payment-state-machine/payment-state-machine.js.map +1 -1
  922. package/dist/service/helpers/payment-state-machine/payment-state.d.ts +10 -4
  923. package/dist/service/helpers/payment-state-machine/payment-state.js +0 -21
  924. package/dist/service/helpers/payment-state-machine/payment-state.js.map +1 -1
  925. package/dist/service/helpers/product-price-applicator/product-price-applicator.js +7 -8
  926. package/dist/service/helpers/product-price-applicator/product-price-applicator.js.map +1 -1
  927. package/dist/service/helpers/refund-state-machine/refund-state-machine.d.ts +4 -2
  928. package/dist/service/helpers/refund-state-machine/refund-state-machine.js +3 -2
  929. package/dist/service/helpers/refund-state-machine/refund-state-machine.js.map +1 -1
  930. package/dist/service/helpers/refund-state-machine/refund-state.d.ts +1 -1
  931. package/dist/service/helpers/request-context/request-context.service.d.ts +2 -1
  932. package/dist/service/helpers/request-context/request-context.service.js +12 -6
  933. package/dist/service/helpers/request-context/request-context.service.js.map +1 -1
  934. package/dist/service/helpers/shipping-calculator/shipping-calculator.d.ts +1 -1
  935. package/dist/service/helpers/shipping-calculator/shipping-calculator.js +1 -1
  936. package/dist/service/helpers/shipping-calculator/shipping-calculator.js.map +1 -1
  937. package/dist/service/helpers/slug-validator/slug-validator.d.ts +2 -2
  938. package/dist/service/helpers/slug-validator/slug-validator.js +7 -7
  939. package/dist/service/helpers/slug-validator/slug-validator.js.map +1 -1
  940. package/dist/service/helpers/translatable-saver/translatable-saver.js +3 -3
  941. package/dist/service/helpers/translatable-saver/translatable-saver.js.map +1 -1
  942. package/dist/service/helpers/translatable-saver/translation-differ.d.ts +1 -1
  943. package/dist/service/helpers/translatable-saver/translation-differ.js +2 -2
  944. package/dist/service/helpers/translatable-saver/translation-differ.js.map +1 -1
  945. package/dist/service/helpers/translator/translator.service.js +2 -2
  946. package/dist/service/helpers/translator/translator.service.js.map +1 -1
  947. package/dist/service/helpers/utils/get-user-channels-permissions.d.ts +1 -1
  948. package/dist/service/helpers/utils/get-user-channels-permissions.js +1 -1
  949. package/dist/service/helpers/utils/get-user-channels-permissions.js.map +1 -1
  950. package/dist/service/helpers/utils/move-to-index.js +2 -2
  951. package/dist/service/helpers/utils/move-to-index.js.map +1 -1
  952. package/dist/service/helpers/utils/order-utils.d.ts +5 -1
  953. package/dist/service/helpers/utils/order-utils.js +58 -27
  954. package/dist/service/helpers/utils/order-utils.js.map +1 -1
  955. package/dist/service/helpers/utils/patch-entity.d.ts +1 -1
  956. package/dist/service/helpers/utils/translate-entity.d.ts +5 -5
  957. package/dist/service/helpers/utils/translate-entity.js +2 -2
  958. package/dist/service/helpers/utils/translate-entity.js.map +1 -1
  959. package/dist/service/helpers/verification-token-generator/verification-token-generator.js +3 -3
  960. package/dist/service/helpers/verification-token-generator/verification-token-generator.js.map +1 -1
  961. package/dist/service/index.d.ts +7 -2
  962. package/dist/service/index.js +12 -3
  963. package/dist/service/index.js.map +1 -1
  964. package/dist/service/initializer.service.d.ts +5 -1
  965. package/dist/service/initializer.service.js +12 -4
  966. package/dist/service/initializer.service.js.map +1 -1
  967. package/dist/service/service.module.js +10 -2
  968. package/dist/service/service.module.js.map +1 -1
  969. package/dist/service/services/administrator.service.js +30 -18
  970. package/dist/service/services/administrator.service.js.map +1 -1
  971. package/dist/service/services/asset.service.d.ts +1 -0
  972. package/dist/service/services/asset.service.js +36 -27
  973. package/dist/service/services/asset.service.js.map +1 -1
  974. package/dist/service/services/auth.service.js +5 -5
  975. package/dist/service/services/auth.service.js.map +1 -1
  976. package/dist/service/services/channel.service.d.ts +7 -4
  977. package/dist/service/services/channel.service.js +67 -28
  978. package/dist/service/services/channel.service.js.map +1 -1
  979. package/dist/service/services/collection.service.d.ts +6 -1
  980. package/dist/service/services/collection.service.js +50 -30
  981. package/dist/service/services/collection.service.js.map +1 -1
  982. package/dist/service/services/country.service.d.ts +1 -1
  983. package/dist/service/services/country.service.js +9 -9
  984. package/dist/service/services/country.service.js.map +1 -1
  985. package/dist/service/services/customer-group.service.d.ts +1 -1
  986. package/dist/service/services/customer-group.service.js +13 -10
  987. package/dist/service/services/customer-group.service.js.map +1 -1
  988. package/dist/service/services/customer.service.d.ts +2 -2
  989. package/dist/service/services/customer.service.js +40 -37
  990. package/dist/service/services/customer.service.js.map +1 -1
  991. package/dist/service/services/facet-value.service.d.ts +1 -1
  992. package/dist/service/services/facet-value.service.js +9 -8
  993. package/dist/service/services/facet-value.service.js.map +1 -1
  994. package/dist/service/services/facet.service.js +26 -17
  995. package/dist/service/services/facet.service.js.map +1 -1
  996. package/dist/service/services/fulfillment.service.d.ts +6 -24
  997. package/dist/service/services/fulfillment.service.js +50 -70
  998. package/dist/service/services/fulfillment.service.js.map +1 -1
  999. package/dist/service/services/global-settings.service.d.ts +3 -1
  1000. package/dist/service/services/global-settings.service.js +16 -11
  1001. package/dist/service/services/global-settings.service.js.map +1 -1
  1002. package/dist/service/services/history.service.d.ts +5 -5
  1003. package/dist/service/services/history.service.js +3 -3
  1004. package/dist/service/services/history.service.js.map +1 -1
  1005. package/dist/service/services/order-testing.service.js +12 -19
  1006. package/dist/service/services/order-testing.service.js.map +1 -1
  1007. package/dist/service/services/order.service.d.ts +11 -18
  1008. package/dist/service/services/order.service.js +251 -412
  1009. package/dist/service/services/order.service.js.map +1 -1
  1010. package/dist/service/services/payment-method.service.d.ts +5 -1
  1011. package/dist/service/services/payment-method.service.js +62 -35
  1012. package/dist/service/services/payment-method.service.js.map +1 -1
  1013. package/dist/service/services/payment.service.d.ts +2 -3
  1014. package/dist/service/services/payment.service.js +74 -20
  1015. package/dist/service/services/payment.service.js.map +1 -1
  1016. package/dist/service/services/product-option-group.service.js +19 -16
  1017. package/dist/service/services/product-option-group.service.js.map +1 -1
  1018. package/dist/service/services/product-option.service.d.ts +1 -1
  1019. package/dist/service/services/product-option.service.js +11 -10
  1020. package/dist/service/services/product-option.service.js.map +1 -1
  1021. package/dist/service/services/product-variant.service.d.ts +4 -2
  1022. package/dist/service/services/product-variant.service.js +51 -32
  1023. package/dist/service/services/product-variant.service.js.map +1 -1
  1024. package/dist/service/services/product.service.js +43 -36
  1025. package/dist/service/services/product.service.js.map +1 -1
  1026. package/dist/service/services/promotion.service.d.ts +7 -3
  1027. package/dist/service/services/promotion.service.js +80 -55
  1028. package/dist/service/services/promotion.service.js.map +1 -1
  1029. package/dist/service/services/role.service.js +20 -16
  1030. package/dist/service/services/role.service.js.map +1 -1
  1031. package/dist/service/services/search.service.js +2 -2
  1032. package/dist/service/services/search.service.js.map +1 -1
  1033. package/dist/service/services/seller.service.d.ts +25 -0
  1034. package/dist/service/services/seller.service.js +79 -0
  1035. package/dist/service/services/seller.service.js.map +1 -0
  1036. package/dist/service/services/session.service.d.ts +3 -3
  1037. package/dist/service/services/session.service.js +22 -19
  1038. package/dist/service/services/session.service.js.map +1 -1
  1039. package/dist/service/services/shipping-method.service.js +15 -12
  1040. package/dist/service/services/shipping-method.service.js.map +1 -1
  1041. package/dist/service/services/stock-level.service.d.ts +43 -0
  1042. package/dist/service/services/stock-level.service.js +125 -0
  1043. package/dist/service/services/stock-level.service.js.map +1 -0
  1044. package/dist/service/services/stock-location.service.d.ts +34 -0
  1045. package/dist/service/services/stock-location.service.js +129 -0
  1046. package/dist/service/services/stock-location.service.js.map +1 -0
  1047. package/dist/service/services/stock-movement.service.d.ts +14 -13
  1048. package/dist/service/services/stock-movement.service.js +128 -105
  1049. package/dist/service/services/stock-movement.service.js.map +1 -1
  1050. package/dist/service/services/tag.service.js +6 -3
  1051. package/dist/service/services/tag.service.js.map +1 -1
  1052. package/dist/service/services/tax-category.service.js +9 -6
  1053. package/dist/service/services/tax-category.service.js.map +1 -1
  1054. package/dist/service/services/tax-rate.service.d.ts +2 -2
  1055. package/dist/service/services/tax-rate.service.js +14 -10
  1056. package/dist/service/services/tax-rate.service.js.map +1 -1
  1057. package/dist/service/services/user.service.js +26 -13
  1058. package/dist/service/services/user.service.js.map +1 -1
  1059. package/dist/service/services/zone.service.js +13 -11
  1060. package/dist/service/services/zone.service.js.map +1 -1
  1061. package/dist/version.d.ts +16 -0
  1062. package/dist/version.js +21 -0
  1063. package/dist/version.js.map +1 -0
  1064. package/dist/worker/index.js +5 -1
  1065. package/dist/worker/index.js.map +1 -1
  1066. package/dist/worker/worker-health.service.js +2 -2
  1067. package/dist/worker/worker-health.service.js.map +1 -1
  1068. package/dist/worker/worker.module.js +1 -1
  1069. package/dist/worker/worker.module.js.map +1 -1
  1070. package/package.json +106 -103
  1071. package/dist/api/resolvers/entity/order-item-entity.resolver.d.ts +0 -10
  1072. package/dist/api/resolvers/entity/order-item-entity.resolver.js +0 -52
  1073. package/dist/api/resolvers/entity/order-item-entity.resolver.js.map +0 -1
  1074. package/dist/api/schema/admin-api/asset-admin.type.graphql +0 -3
  1075. package/dist/api/schema/common/country.type.graphql +0 -23
  1076. package/dist/config/entity-id-strategy/auto-increment-id-strategy.js.map +0 -1
  1077. package/dist/config/entity-id-strategy/entity-id-strategy.js.map +0 -1
  1078. package/dist/config/entity-id-strategy/uuid-id-strategy.js.map +0 -1
  1079. package/dist/config/fulfillment/custom-fulfillment-process.js.map +0 -1
  1080. package/dist/config/order/custom-order-process.js.map +0 -1
  1081. package/dist/config/payment/custom-payment-process.js.map +0 -1
  1082. package/dist/connection/remove-custom-fields-with-eager-relations.d.ts +0 -34
  1083. package/dist/connection/remove-custom-fields-with-eager-relations.js +0 -58
  1084. package/dist/connection/remove-custom-fields-with-eager-relations.js.map +0 -1
  1085. package/dist/entity/country/country-translation.entity.js +0 -46
  1086. package/dist/entity/country/country-translation.entity.js.map +0 -1
  1087. package/dist/entity/country/country.entity.d.ts +0 -21
  1088. package/dist/entity/country/country.entity.js.map +0 -1
  1089. package/dist/entity/order-item/order-item.entity.d.ts +0 -97
  1090. package/dist/entity/order-item/order-item.entity.js +0 -228
  1091. package/dist/entity/order-item/order-item.entity.js.map +0 -1
  1092. package/dist/service/helpers/list-query-builder/parse-channel-param.d.ts +0 -9
  1093. package/dist/service/helpers/list-query-builder/parse-channel-param.js +0 -22
  1094. package/dist/service/helpers/list-query-builder/parse-channel-param.js.map +0 -1
  1095. /package/dist/config/{entity-id-strategy → entity}/auto-increment-id-strategy.d.ts +0 -0
  1096. /package/dist/config/{entity-id-strategy → entity}/auto-increment-id-strategy.js +0 -0
  1097. /package/dist/config/{entity-id-strategy → entity}/entity-id-strategy.js +0 -0
  1098. /package/dist/config/{entity-id-strategy → entity}/uuid-id-strategy.d.ts +0 -0
  1099. /package/dist/config/{entity-id-strategy → entity}/uuid-id-strategy.js +0 -0
@@ -32,58 +32,58 @@ let Customer = class Customer extends base_entity_1.VendureEntity {
32
32
  }
33
33
  };
34
34
  __decorate([
35
- typeorm_1.Column({ type: Date, nullable: true }),
35
+ (0, typeorm_1.Column)({ type: Date, nullable: true }),
36
36
  __metadata("design:type", Object)
37
37
  ], Customer.prototype, "deletedAt", void 0);
38
38
  __decorate([
39
- typeorm_1.Column({ nullable: true }),
39
+ (0, typeorm_1.Column)({ nullable: true }),
40
40
  __metadata("design:type", String)
41
41
  ], Customer.prototype, "title", void 0);
42
42
  __decorate([
43
- typeorm_1.Column(),
43
+ (0, typeorm_1.Column)(),
44
44
  __metadata("design:type", String)
45
45
  ], Customer.prototype, "firstName", void 0);
46
46
  __decorate([
47
- typeorm_1.Column(),
47
+ (0, typeorm_1.Column)(),
48
48
  __metadata("design:type", String)
49
49
  ], Customer.prototype, "lastName", void 0);
50
50
  __decorate([
51
- typeorm_1.Column({ nullable: true }),
51
+ (0, typeorm_1.Column)({ nullable: true }),
52
52
  __metadata("design:type", String)
53
53
  ], Customer.prototype, "phoneNumber", void 0);
54
54
  __decorate([
55
- typeorm_1.Column(),
55
+ (0, typeorm_1.Column)(),
56
56
  __metadata("design:type", String)
57
57
  ], Customer.prototype, "emailAddress", void 0);
58
58
  __decorate([
59
- typeorm_1.ManyToMany(type => customer_group_entity_1.CustomerGroup, group => group.customers),
60
- typeorm_1.JoinTable(),
59
+ (0, typeorm_1.ManyToMany)(type => customer_group_entity_1.CustomerGroup, group => group.customers),
60
+ (0, typeorm_1.JoinTable)(),
61
61
  __metadata("design:type", Array)
62
62
  ], Customer.prototype, "groups", void 0);
63
63
  __decorate([
64
- typeorm_1.OneToMany(type => address_entity_1.Address, address => address.customer),
64
+ (0, typeorm_1.OneToMany)(type => address_entity_1.Address, address => address.customer),
65
65
  __metadata("design:type", Array)
66
66
  ], Customer.prototype, "addresses", void 0);
67
67
  __decorate([
68
- typeorm_1.OneToMany(type => order_entity_1.Order, order => order.customer),
68
+ (0, typeorm_1.OneToMany)(type => order_entity_1.Order, order => order.customer),
69
69
  __metadata("design:type", Array)
70
70
  ], Customer.prototype, "orders", void 0);
71
71
  __decorate([
72
- typeorm_1.OneToOne(type => user_entity_1.User, { eager: true }),
73
- typeorm_1.JoinColumn(),
72
+ (0, typeorm_1.OneToOne)(type => user_entity_1.User, { eager: true }),
73
+ (0, typeorm_1.JoinColumn)(),
74
74
  __metadata("design:type", user_entity_1.User)
75
75
  ], Customer.prototype, "user", void 0);
76
76
  __decorate([
77
- typeorm_1.Column(type => custom_entity_fields_1.CustomCustomerFields),
77
+ (0, typeorm_1.Column)(type => custom_entity_fields_1.CustomCustomerFields),
78
78
  __metadata("design:type", custom_entity_fields_1.CustomCustomerFields)
79
79
  ], Customer.prototype, "customFields", void 0);
80
80
  __decorate([
81
- typeorm_1.ManyToMany(type => channel_entity_1.Channel),
82
- typeorm_1.JoinTable(),
81
+ (0, typeorm_1.ManyToMany)(type => channel_entity_1.Channel),
82
+ (0, typeorm_1.JoinTable)(),
83
83
  __metadata("design:type", Array)
84
84
  ], Customer.prototype, "channels", void 0);
85
85
  Customer = __decorate([
86
- typeorm_1.Entity(),
86
+ (0, typeorm_1.Entity)(),
87
87
  __metadata("design:paramtypes", [Object])
88
88
  ], Customer);
89
89
  exports.Customer = Customer;
@@ -1 +1 @@
1
- {"version":3,"file":"customer.entity.js","sourceRoot":"","sources":["../../../src/entity/customer/customer.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,qCAAiG;AAIjG,8DAAoD;AACpD,qDAAoD;AACpD,8DAAoD;AACpD,kEAA+D;AAC/D,mFAAwE;AACxE,wDAA8C;AAC9C,qDAA2C;AAE3C;;;;;;;GAOG;AAEH,IAAa,QAAQ,GAArB,MAAa,QAAS,SAAQ,2BAAa;IACvC,YAAY,KAA6B;QACrC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAsCJ,CAAA;AAnCG;IADC,gBAAM,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CAChB;AAGvB;IADC,gBAAM,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCACb;AAEJ;IAAT,gBAAM,EAAE;;2CAAmB;AAElB;IAAT,gBAAM,EAAE;;0CAAkB;AAG3B;IADC,gBAAM,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACP;AAGpB;IADC,gBAAM,EAAE;;8CACY;AAIrB;IAFC,oBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,qCAAa,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC;IAC3D,mBAAS,EAAE;;wCACY;AAGxB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,wBAAO,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC;;2CACnC;AAGrB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,oBAAK,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;;wCAClC;AAIhB;IAFC,kBAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,kBAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACvC,oBAAU,EAAE;8BACN,kBAAI;sCAAC;AAGZ;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,2CAAoB,CAAC;8BACvB,2CAAoB;8CAAC;AAInC;IAFC,oBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,wBAAO,CAAC;IAC3B,mBAAS,EAAE;;0CACQ;AAxCX,QAAQ;IADpB,gBAAM,EAAE;;GACI,QAAQ,CAyCpB;AAzCY,4BAAQ"}
1
+ {"version":3,"file":"customer.entity.js","sourceRoot":"","sources":["../../../src/entity/customer/customer.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,qCAAiG;AAIjG,8DAAoD;AACpD,qDAAoD;AACpD,8DAAoD;AACpD,kEAA+D;AAC/D,mFAAwE;AACxE,wDAA8C;AAC9C,qDAA2C;AAE3C;;;;;;;GAOG;AAEI,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,2BAAa;IACvC,YAAY,KAA6B;QACrC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAsCJ,CAAA;AApCG;IAAC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CAChB;AAEvB;IAAC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCACb;AAEd;IAAC,IAAA,gBAAM,GAAE;;2CAAmB;AAE5B;IAAC,IAAA,gBAAM,GAAE;;0CAAkB;AAE3B;IAAC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACP;AAEpB;IAAC,IAAA,gBAAM,GAAE;;8CACY;AAErB;IAAC,IAAA,oBAAU,EAAC,IAAI,CAAC,EAAE,CAAC,qCAAa,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC;IAC3D,IAAA,mBAAS,GAAE;;wCACY;AAExB;IAAC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,wBAAO,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC;;2CACnC;AAErB;IAAC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,oBAAK,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;;wCAClC;AAEhB;IAAC,IAAA,kBAAQ,EAAC,IAAI,CAAC,EAAE,CAAC,kBAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACvC,IAAA,oBAAU,GAAE;8BACN,kBAAI;sCAAC;AAEZ;IAAC,IAAA,gBAAM,EAAC,IAAI,CAAC,EAAE,CAAC,2CAAoB,CAAC;8BACvB,2CAAoB;8CAAC;AAEnC;IAAC,IAAA,oBAAU,EAAC,IAAI,CAAC,EAAE,CAAC,wBAAO,CAAC;IAC3B,IAAA,mBAAS,GAAE;;0CACQ;AAxCX,QAAQ;IADpB,IAAA,gBAAM,GAAE;;GACI,QAAQ,CAyCpB;AAzCY,4BAAQ"}
@@ -8,10 +8,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
- var _a;
12
11
  Object.defineProperty(exports, "__esModule", { value: true });
13
12
  exports.CustomerGroup = void 0;
14
- const shared_types_1 = require("@vendure/common/lib/shared-types");
15
13
  const typeorm_1 = require("typeorm");
16
14
  const base_entity_1 = require("../base/base.entity");
17
15
  const custom_entity_fields_1 = require("../custom-entity-fields");
@@ -29,20 +27,20 @@ let CustomerGroup = class CustomerGroup extends base_entity_1.VendureEntity {
29
27
  }
30
28
  };
31
29
  __decorate([
32
- typeorm_1.Column(),
30
+ (0, typeorm_1.Column)(),
33
31
  __metadata("design:type", String)
34
32
  ], CustomerGroup.prototype, "name", void 0);
35
33
  __decorate([
36
- typeorm_1.ManyToMany(type => customer_entity_1.Customer, customer => customer.groups),
34
+ (0, typeorm_1.ManyToMany)(type => customer_entity_1.Customer, customer => customer.groups),
37
35
  __metadata("design:type", Array)
38
36
  ], CustomerGroup.prototype, "customers", void 0);
39
37
  __decorate([
40
- typeorm_1.Column(type => custom_entity_fields_1.CustomCustomerGroupFields),
38
+ (0, typeorm_1.Column)(type => custom_entity_fields_1.CustomCustomerGroupFields),
41
39
  __metadata("design:type", custom_entity_fields_1.CustomCustomerGroupFields)
42
40
  ], CustomerGroup.prototype, "customFields", void 0);
43
41
  CustomerGroup = __decorate([
44
- typeorm_1.Entity(),
45
- __metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
42
+ (0, typeorm_1.Entity)(),
43
+ __metadata("design:paramtypes", [Object])
46
44
  ], CustomerGroup);
47
45
  exports.CustomerGroup = CustomerGroup;
48
46
  //# sourceMappingURL=customer-group.entity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"customer-group.entity.js","sourceRoot":"","sources":["../../../src/entity/customer-group/customer-group.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAAqD;AAGrD,qDAAoD;AACpD,kEAAoE;AACpE,iEAAuD;AAEvD;;;;;;GAMG;AAEH,IAAa,aAAa,GAA1B,MAAa,aAAc,SAAQ,2BAAa;IAC5C,YAAY,KAAkC;QAC1C,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CASJ,CAAA;AAPa;IAAT,gBAAM,EAAE;;2CAAc;AAGvB;IADC,oBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,0BAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC;;gDACpC;AAGtB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,gDAAyB,CAAC;8BAC5B,gDAAyB;mDAAC;AAX/B,aAAa;IADzB,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,aAAa,CAYzB;AAZY,sCAAa"}
1
+ {"version":3,"file":"customer-group.entity.js","sourceRoot":"","sources":["../../../src/entity/customer-group/customer-group.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,qCAAqD;AAGrD,qDAAoD;AACpD,kEAAoE;AACpE,iEAAuD;AAEvD;;;;;;GAMG;AAEI,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,2BAAa;IAC5C,YAAY,KAAkC;QAC1C,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CASJ,CAAA;AAPG;IAAC,IAAA,gBAAM,GAAE;;2CAAc;AAEvB;IAAC,IAAA,oBAAU,EAAC,IAAI,CAAC,EAAE,CAAC,0BAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC;;gDACpC;AAEtB;IAAC,IAAA,gBAAM,EAAC,IAAI,CAAC,EAAE,CAAC,gDAAyB,CAAC;8BAC5B,gDAAyB;mDAAC;AAX/B,aAAa;IADzB,IAAA,gBAAM,GAAE;;GACI,aAAa,CAYzB;AAZY,sCAAa"}
@@ -8,45 +8,55 @@ import { Channel } from './channel/channel.entity';
8
8
  import { CollectionAsset } from './collection/collection-asset.entity';
9
9
  import { CollectionTranslation } from './collection/collection-translation.entity';
10
10
  import { Collection } from './collection/collection.entity';
11
- import { CountryTranslation } from './country/country-translation.entity';
12
- import { Country } from './country/country.entity';
13
- import { CustomerGroup } from './customer-group/customer-group.entity';
14
11
  import { Customer } from './customer/customer.entity';
15
- import { FacetValueTranslation } from './facet-value/facet-value-translation.entity';
16
- import { FacetValue } from './facet-value/facet-value.entity';
12
+ import { CustomerGroup } from './customer-group/customer-group.entity';
17
13
  import { FacetTranslation } from './facet/facet-translation.entity';
18
14
  import { Facet } from './facet/facet.entity';
15
+ import { FacetValueTranslation } from './facet-value/facet-value-translation.entity';
16
+ import { FacetValue } from './facet-value/facet-value.entity';
19
17
  import { Fulfillment } from './fulfillment/fulfillment.entity';
20
18
  import { GlobalSettings } from './global-settings/global-settings.entity';
21
19
  import { CustomerHistoryEntry } from './history-entry/customer-history-entry.entity';
22
20
  import { HistoryEntry } from './history-entry/history-entry.entity';
23
21
  import { OrderHistoryEntry } from './history-entry/order-history-entry.entity';
24
- import { OrderItem } from './order-item/order-item.entity';
22
+ import { Order } from './order/order.entity';
25
23
  import { OrderLine } from './order-line/order-line.entity';
24
+ import { FulfillmentLine } from './order-line-reference/fulfillment-line.entity';
25
+ import { OrderLineReference } from './order-line-reference/order-line-reference.entity';
26
+ import { OrderModificationLine } from './order-line-reference/order-modification-line.entity';
27
+ import { RefundLine } from './order-line-reference/refund-line.entity';
26
28
  import { OrderModification } from './order-modification/order-modification.entity';
27
- import { Order } from './order/order.entity';
28
- import { PaymentMethod } from './payment-method/payment-method.entity';
29
29
  import { Payment } from './payment/payment.entity';
30
- import { ProductOptionGroupTranslation } from './product-option-group/product-option-group-translation.entity';
31
- import { ProductOptionGroup } from './product-option-group/product-option-group.entity';
30
+ import { PaymentMethodTranslation } from './payment-method/payment-method-translation.entity';
31
+ import { PaymentMethod } from './payment-method/payment-method.entity';
32
+ import { ProductAsset } from './product/product-asset.entity';
33
+ import { ProductTranslation } from './product/product-translation.entity';
34
+ import { Product } from './product/product.entity';
32
35
  import { ProductOptionTranslation } from './product-option/product-option-translation.entity';
33
36
  import { ProductOption } from './product-option/product-option.entity';
37
+ import { ProductOptionGroupTranslation } from './product-option-group/product-option-group-translation.entity';
38
+ import { ProductOptionGroup } from './product-option-group/product-option-group.entity';
34
39
  import { ProductVariantAsset } from './product-variant/product-variant-asset.entity';
35
40
  import { ProductVariantPrice } from './product-variant/product-variant-price.entity';
36
41
  import { ProductVariantTranslation } from './product-variant/product-variant-translation.entity';
37
42
  import { ProductVariant } from './product-variant/product-variant.entity';
38
- import { ProductAsset } from './product/product-asset.entity';
39
- import { ProductTranslation } from './product/product-translation.entity';
40
- import { Product } from './product/product.entity';
43
+ import { PromotionTranslation } from './promotion/promotion-translation.entity';
41
44
  import { Promotion } from './promotion/promotion.entity';
42
45
  import { Refund } from './refund/refund.entity';
46
+ import { Country } from './region/country.entity';
47
+ import { Province } from './region/province.entity';
48
+ import { RegionTranslation } from './region/region-translation.entity';
49
+ import { Region } from './region/region.entity';
43
50
  import { Role } from './role/role.entity';
51
+ import { Seller } from './seller/seller.entity';
44
52
  import { AnonymousSession } from './session/anonymous-session.entity';
45
53
  import { AuthenticatedSession } from './session/authenticated-session.entity';
46
54
  import { Session } from './session/session.entity';
47
55
  import { ShippingLine } from './shipping-line/shipping-line.entity';
48
56
  import { ShippingMethodTranslation } from './shipping-method/shipping-method-translation.entity';
49
57
  import { ShippingMethod } from './shipping-method/shipping-method.entity';
58
+ import { StockLevel } from './stock-level/stock-level.entity';
59
+ import { StockLocation } from './stock-location/stock-location.entity';
50
60
  import { Allocation } from './stock-movement/allocation.entity';
51
61
  import { Cancellation } from './stock-movement/cancellation.entity';
52
62
  import { Release } from './stock-movement/release.entity';
@@ -76,7 +86,6 @@ export declare const coreEntitiesMap: {
76
86
  CollectionAsset: typeof CollectionAsset;
77
87
  CollectionTranslation: typeof CollectionTranslation;
78
88
  Country: typeof Country;
79
- CountryTranslation: typeof CountryTranslation;
80
89
  Customer: typeof Customer;
81
90
  CustomerGroup: typeof CustomerGroup;
82
91
  CustomerHistoryEntry: typeof CustomerHistoryEntry;
@@ -86,16 +95,19 @@ export declare const coreEntitiesMap: {
86
95
  FacetValue: typeof FacetValue;
87
96
  FacetValueTranslation: typeof FacetValueTranslation;
88
97
  Fulfillment: typeof Fulfillment;
98
+ FulfillmentLine: typeof FulfillmentLine;
89
99
  GlobalSettings: typeof GlobalSettings;
90
100
  HistoryEntry: typeof HistoryEntry;
101
+ OrderModificationLine: typeof OrderModificationLine;
91
102
  NativeAuthenticationMethod: typeof NativeAuthenticationMethod;
92
103
  Order: typeof Order;
93
104
  OrderHistoryEntry: typeof OrderHistoryEntry;
94
- OrderItem: typeof OrderItem;
95
105
  OrderLine: typeof OrderLine;
106
+ OrderLineReference: typeof OrderLineReference;
96
107
  OrderModification: typeof OrderModification;
97
108
  Payment: typeof Payment;
98
109
  PaymentMethod: typeof PaymentMethod;
110
+ PaymentMethodTranslation: typeof PaymentMethodTranslation;
99
111
  Product: typeof Product;
100
112
  ProductAsset: typeof ProductAsset;
101
113
  ProductOption: typeof ProductOption;
@@ -108,7 +120,12 @@ export declare const coreEntitiesMap: {
108
120
  ProductVariantPrice: typeof ProductVariantPrice;
109
121
  ProductVariantTranslation: typeof ProductVariantTranslation;
110
122
  Promotion: typeof Promotion;
123
+ PromotionTranslation: typeof PromotionTranslation;
124
+ Province: typeof Province;
111
125
  Refund: typeof Refund;
126
+ RefundLine: typeof RefundLine;
127
+ Region: typeof Region;
128
+ RegionTranslation: typeof RegionTranslation;
112
129
  Release: typeof Release;
113
130
  Role: typeof Role;
114
131
  Sale: typeof Sale;
@@ -117,11 +134,14 @@ export declare const coreEntitiesMap: {
117
134
  ShippingMethod: typeof ShippingMethod;
118
135
  ShippingMethodTranslation: typeof ShippingMethodTranslation;
119
136
  StockAdjustment: typeof StockAdjustment;
137
+ StockLevel: typeof StockLevel;
138
+ StockLocation: typeof StockLocation;
120
139
  StockMovement: typeof StockMovement;
121
140
  Surcharge: typeof Surcharge;
122
141
  Tag: typeof Tag;
123
142
  TaxCategory: typeof TaxCategory;
124
143
  TaxRate: typeof TaxRate;
125
144
  User: typeof User;
145
+ Seller: typeof Seller;
126
146
  Zone: typeof Zone;
127
147
  };
@@ -11,45 +11,55 @@ const channel_entity_1 = require("./channel/channel.entity");
11
11
  const collection_asset_entity_1 = require("./collection/collection-asset.entity");
12
12
  const collection_translation_entity_1 = require("./collection/collection-translation.entity");
13
13
  const collection_entity_1 = require("./collection/collection.entity");
14
- const country_translation_entity_1 = require("./country/country-translation.entity");
15
- const country_entity_1 = require("./country/country.entity");
16
- const customer_group_entity_1 = require("./customer-group/customer-group.entity");
17
14
  const customer_entity_1 = require("./customer/customer.entity");
18
- const facet_value_translation_entity_1 = require("./facet-value/facet-value-translation.entity");
19
- const facet_value_entity_1 = require("./facet-value/facet-value.entity");
15
+ const customer_group_entity_1 = require("./customer-group/customer-group.entity");
20
16
  const facet_translation_entity_1 = require("./facet/facet-translation.entity");
21
17
  const facet_entity_1 = require("./facet/facet.entity");
18
+ const facet_value_translation_entity_1 = require("./facet-value/facet-value-translation.entity");
19
+ const facet_value_entity_1 = require("./facet-value/facet-value.entity");
22
20
  const fulfillment_entity_1 = require("./fulfillment/fulfillment.entity");
23
21
  const global_settings_entity_1 = require("./global-settings/global-settings.entity");
24
22
  const customer_history_entry_entity_1 = require("./history-entry/customer-history-entry.entity");
25
23
  const history_entry_entity_1 = require("./history-entry/history-entry.entity");
26
24
  const order_history_entry_entity_1 = require("./history-entry/order-history-entry.entity");
27
- const order_item_entity_1 = require("./order-item/order-item.entity");
25
+ const order_entity_1 = require("./order/order.entity");
28
26
  const order_line_entity_1 = require("./order-line/order-line.entity");
27
+ const fulfillment_line_entity_1 = require("./order-line-reference/fulfillment-line.entity");
28
+ const order_line_reference_entity_1 = require("./order-line-reference/order-line-reference.entity");
29
+ const order_modification_line_entity_1 = require("./order-line-reference/order-modification-line.entity");
30
+ const refund_line_entity_1 = require("./order-line-reference/refund-line.entity");
29
31
  const order_modification_entity_1 = require("./order-modification/order-modification.entity");
30
- const order_entity_1 = require("./order/order.entity");
31
- const payment_method_entity_1 = require("./payment-method/payment-method.entity");
32
32
  const payment_entity_1 = require("./payment/payment.entity");
33
- const product_option_group_translation_entity_1 = require("./product-option-group/product-option-group-translation.entity");
34
- const product_option_group_entity_1 = require("./product-option-group/product-option-group.entity");
33
+ const payment_method_translation_entity_1 = require("./payment-method/payment-method-translation.entity");
34
+ const payment_method_entity_1 = require("./payment-method/payment-method.entity");
35
+ const product_asset_entity_1 = require("./product/product-asset.entity");
36
+ const product_translation_entity_1 = require("./product/product-translation.entity");
37
+ const product_entity_1 = require("./product/product.entity");
35
38
  const product_option_translation_entity_1 = require("./product-option/product-option-translation.entity");
36
39
  const product_option_entity_1 = require("./product-option/product-option.entity");
40
+ const product_option_group_translation_entity_1 = require("./product-option-group/product-option-group-translation.entity");
41
+ const product_option_group_entity_1 = require("./product-option-group/product-option-group.entity");
37
42
  const product_variant_asset_entity_1 = require("./product-variant/product-variant-asset.entity");
38
43
  const product_variant_price_entity_1 = require("./product-variant/product-variant-price.entity");
39
44
  const product_variant_translation_entity_1 = require("./product-variant/product-variant-translation.entity");
40
45
  const product_variant_entity_1 = require("./product-variant/product-variant.entity");
41
- const product_asset_entity_1 = require("./product/product-asset.entity");
42
- const product_translation_entity_1 = require("./product/product-translation.entity");
43
- const product_entity_1 = require("./product/product.entity");
46
+ const promotion_translation_entity_1 = require("./promotion/promotion-translation.entity");
44
47
  const promotion_entity_1 = require("./promotion/promotion.entity");
45
48
  const refund_entity_1 = require("./refund/refund.entity");
49
+ const country_entity_1 = require("./region/country.entity");
50
+ const province_entity_1 = require("./region/province.entity");
51
+ const region_translation_entity_1 = require("./region/region-translation.entity");
52
+ const region_entity_1 = require("./region/region.entity");
46
53
  const role_entity_1 = require("./role/role.entity");
54
+ const seller_entity_1 = require("./seller/seller.entity");
47
55
  const anonymous_session_entity_1 = require("./session/anonymous-session.entity");
48
56
  const authenticated_session_entity_1 = require("./session/authenticated-session.entity");
49
57
  const session_entity_1 = require("./session/session.entity");
50
58
  const shipping_line_entity_1 = require("./shipping-line/shipping-line.entity");
51
59
  const shipping_method_translation_entity_1 = require("./shipping-method/shipping-method-translation.entity");
52
60
  const shipping_method_entity_1 = require("./shipping-method/shipping-method.entity");
61
+ const stock_level_entity_1 = require("./stock-level/stock-level.entity");
62
+ const stock_location_entity_1 = require("./stock-location/stock-location.entity");
53
63
  const allocation_entity_1 = require("./stock-movement/allocation.entity");
54
64
  const cancellation_entity_1 = require("./stock-movement/cancellation.entity");
55
65
  const release_entity_1 = require("./stock-movement/release.entity");
@@ -79,7 +89,6 @@ exports.coreEntitiesMap = {
79
89
  CollectionAsset: collection_asset_entity_1.CollectionAsset,
80
90
  CollectionTranslation: collection_translation_entity_1.CollectionTranslation,
81
91
  Country: country_entity_1.Country,
82
- CountryTranslation: country_translation_entity_1.CountryTranslation,
83
92
  Customer: customer_entity_1.Customer,
84
93
  CustomerGroup: customer_group_entity_1.CustomerGroup,
85
94
  CustomerHistoryEntry: customer_history_entry_entity_1.CustomerHistoryEntry,
@@ -89,16 +98,19 @@ exports.coreEntitiesMap = {
89
98
  FacetValue: facet_value_entity_1.FacetValue,
90
99
  FacetValueTranslation: facet_value_translation_entity_1.FacetValueTranslation,
91
100
  Fulfillment: fulfillment_entity_1.Fulfillment,
101
+ FulfillmentLine: fulfillment_line_entity_1.FulfillmentLine,
92
102
  GlobalSettings: global_settings_entity_1.GlobalSettings,
93
103
  HistoryEntry: history_entry_entity_1.HistoryEntry,
104
+ OrderModificationLine: order_modification_line_entity_1.OrderModificationLine,
94
105
  NativeAuthenticationMethod: native_authentication_method_entity_1.NativeAuthenticationMethod,
95
106
  Order: order_entity_1.Order,
96
107
  OrderHistoryEntry: order_history_entry_entity_1.OrderHistoryEntry,
97
- OrderItem: order_item_entity_1.OrderItem,
98
108
  OrderLine: order_line_entity_1.OrderLine,
109
+ OrderLineReference: order_line_reference_entity_1.OrderLineReference,
99
110
  OrderModification: order_modification_entity_1.OrderModification,
100
111
  Payment: payment_entity_1.Payment,
101
112
  PaymentMethod: payment_method_entity_1.PaymentMethod,
113
+ PaymentMethodTranslation: payment_method_translation_entity_1.PaymentMethodTranslation,
102
114
  Product: product_entity_1.Product,
103
115
  ProductAsset: product_asset_entity_1.ProductAsset,
104
116
  ProductOption: product_option_entity_1.ProductOption,
@@ -111,7 +123,12 @@ exports.coreEntitiesMap = {
111
123
  ProductVariantPrice: product_variant_price_entity_1.ProductVariantPrice,
112
124
  ProductVariantTranslation: product_variant_translation_entity_1.ProductVariantTranslation,
113
125
  Promotion: promotion_entity_1.Promotion,
126
+ PromotionTranslation: promotion_translation_entity_1.PromotionTranslation,
127
+ Province: province_entity_1.Province,
114
128
  Refund: refund_entity_1.Refund,
129
+ RefundLine: refund_line_entity_1.RefundLine,
130
+ Region: region_entity_1.Region,
131
+ RegionTranslation: region_translation_entity_1.RegionTranslation,
115
132
  Release: release_entity_1.Release,
116
133
  Role: role_entity_1.Role,
117
134
  Sale: sale_entity_1.Sale,
@@ -120,12 +137,15 @@ exports.coreEntitiesMap = {
120
137
  ShippingMethod: shipping_method_entity_1.ShippingMethod,
121
138
  ShippingMethodTranslation: shipping_method_translation_entity_1.ShippingMethodTranslation,
122
139
  StockAdjustment: stock_adjustment_entity_1.StockAdjustment,
140
+ StockLevel: stock_level_entity_1.StockLevel,
141
+ StockLocation: stock_location_entity_1.StockLocation,
123
142
  StockMovement: stock_movement_entity_1.StockMovement,
124
143
  Surcharge: surcharge_entity_1.Surcharge,
125
144
  Tag: tag_entity_1.Tag,
126
145
  TaxCategory: tax_category_entity_1.TaxCategory,
127
146
  TaxRate: tax_rate_entity_1.TaxRate,
128
147
  User: user_entity_1.User,
148
+ Seller: seller_entity_1.Seller,
129
149
  Zone: zone_entity_1.Zone,
130
150
  };
131
151
  //# sourceMappingURL=entities.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"entities.js","sourceRoot":"","sources":["../../src/entity/entities.ts"],"names":[],"mappings":";;;AAAA,6DAAmD;AACnD,+EAAqE;AACrE,uDAA6C;AAC7C,uGAA4F;AAC5F,yHAA6G;AAC7G,qHAAyG;AACzG,6DAAmD;AACnD,kFAAuE;AACvE,8FAAmF;AACnF,sEAA4D;AAC5D,qFAA0E;AAC1E,6DAAmD;AACnD,kFAAuE;AACvE,gEAAsD;AACtD,iGAAqF;AACrF,yEAA8D;AAC9D,+EAAoE;AACpE,uDAA6C;AAC7C,yEAA+D;AAC/D,qFAA0E;AAC1E,iGAAqF;AACrF,+EAAoE;AACpE,2FAA+E;AAC/E,sEAA2D;AAC3D,sEAA2D;AAC3D,8FAAmF;AACnF,uDAA6C;AAC7C,kFAAuE;AACvE,6DAAmD;AACnD,4HAA+G;AAC/G,oGAAwF;AACxF,0GAA8F;AAC9F,kFAAuE;AACvE,iGAAqF;AACrF,iGAAqF;AACrF,6GAAiG;AACjG,qFAA0E;AAC1E,yEAA8D;AAC9D,qFAA0E;AAC1E,6DAAmD;AACnD,mEAAyD;AACzD,0DAAgD;AAChD,oDAA0C;AAC1C,iFAAsE;AACtE,yFAA8E;AAC9E,6DAAmD;AACnD,+EAAoE;AACpE,6GAAiG;AACjG,qFAA0E;AAC1E,0EAAgE;AAChE,8EAAoE;AACpE,oEAA0D;AAC1D,8DAAoD;AACpD,sFAA2E;AAC3E,kFAAuE;AACvE,mEAAyD;AACzD,iDAAuC;AACvC,4EAAiE;AACjE,gEAAqD;AACrD,oDAA0C;AAC1C,oDAA0C;AAE1C;;GAEG;AACU,QAAA,eAAe,GAAG;IAC3B,OAAO,EAAP,wBAAO;IACP,aAAa,EAAb,oCAAa;IACb,UAAU,EAAV,8BAAU;IACV,gBAAgB,EAAhB,2CAAgB;IAChB,KAAK,EAAL,oBAAK;IACL,oBAAoB,EAApB,mDAAoB;IACpB,oBAAoB,EAApB,mDAAoB;IACpB,YAAY,EAAZ,kCAAY;IACZ,OAAO,EAAP,wBAAO;IACP,UAAU,EAAV,8BAAU;IACV,eAAe,EAAf,yCAAe;IACf,qBAAqB,EAArB,qDAAqB;IACrB,OAAO,EAAP,wBAAO;IACP,kBAAkB,EAAlB,+CAAkB;IAClB,QAAQ,EAAR,0BAAQ;IACR,aAAa,EAAb,qCAAa;IACb,oBAAoB,EAApB,oDAAoB;IACpB,4BAA4B,EAA5B,oEAA4B;IAC5B,KAAK,EAAL,oBAAK;IACL,gBAAgB,EAAhB,2CAAgB;IAChB,UAAU,EAAV,+BAAU;IACV,qBAAqB,EAArB,sDAAqB;IACrB,WAAW,EAAX,gCAAW;IACX,cAAc,EAAd,uCAAc;IACd,YAAY,EAAZ,mCAAY;IACZ,0BAA0B,EAA1B,gEAA0B;IAC1B,KAAK,EAAL,oBAAK;IACL,iBAAiB,EAAjB,8CAAiB;IACjB,SAAS,EAAT,6BAAS;IACT,SAAS,EAAT,6BAAS;IACT,iBAAiB,EAAjB,6CAAiB;IACjB,OAAO,EAAP,wBAAO;IACP,aAAa,EAAb,qCAAa;IACb,OAAO,EAAP,wBAAO;IACP,YAAY,EAAZ,mCAAY;IACZ,aAAa,EAAb,qCAAa;IACb,kBAAkB,EAAlB,gDAAkB;IAClB,6BAA6B,EAA7B,uEAA6B;IAC7B,wBAAwB,EAAxB,4DAAwB;IACxB,kBAAkB,EAAlB,+CAAkB;IAClB,cAAc,EAAd,uCAAc;IACd,mBAAmB,EAAnB,kDAAmB;IACnB,mBAAmB,EAAnB,kDAAmB;IACnB,yBAAyB,EAAzB,8DAAyB;IACzB,SAAS,EAAT,4BAAS;IACT,MAAM,EAAN,sBAAM;IACN,OAAO,EAAP,wBAAO;IACP,IAAI,EAAJ,kBAAI;IACJ,IAAI,EAAJ,kBAAI;IACJ,OAAO,EAAP,wBAAO;IACP,YAAY,EAAZ,mCAAY;IACZ,cAAc,EAAd,uCAAc;IACd,yBAAyB,EAAzB,8DAAyB;IACzB,eAAe,EAAf,yCAAe;IACf,aAAa,EAAb,qCAAa;IACb,SAAS,EAAT,4BAAS;IACT,GAAG,EAAH,gBAAG;IACH,WAAW,EAAX,iCAAW;IACX,OAAO,EAAP,yBAAO;IACP,IAAI,EAAJ,kBAAI;IACJ,IAAI,EAAJ,kBAAI;CACP,CAAC"}
1
+ {"version":3,"file":"entities.js","sourceRoot":"","sources":["../../src/entity/entities.ts"],"names":[],"mappings":";;;AAAA,6DAAmD;AACnD,+EAAqE;AACrE,uDAA6C;AAC7C,uGAA4F;AAC5F,yHAA6G;AAC7G,qHAAyG;AACzG,6DAAmD;AACnD,kFAAuE;AACvE,8FAAmF;AACnF,sEAA4D;AAC5D,gEAAsD;AACtD,kFAAuE;AACvE,+EAAoE;AACpE,uDAA6C;AAC7C,iGAAqF;AACrF,yEAA8D;AAC9D,yEAA+D;AAC/D,qFAA0E;AAC1E,iGAAqF;AACrF,+EAAoE;AACpE,2FAA+E;AAC/E,uDAA6C;AAC7C,sEAA2D;AAC3D,4FAAiF;AACjF,oGAAwF;AACxF,0GAA8F;AAC9F,kFAAuE;AACvE,8FAAmF;AACnF,6DAAmD;AACnD,0GAA8F;AAC9F,kFAAuE;AACvE,yEAA8D;AAC9D,qFAA0E;AAC1E,6DAAmD;AACnD,0GAA8F;AAC9F,kFAAuE;AACvE,4HAA+G;AAC/G,oGAAwF;AACxF,iGAAqF;AACrF,iGAAqF;AACrF,6GAAiG;AACjG,qFAA0E;AAC1E,2FAAgF;AAChF,mEAAyD;AACzD,0DAAgD;AAChD,4DAAkD;AAClD,8DAAoD;AACpD,kFAAuE;AACvE,0DAAgD;AAChD,oDAA0C;AAC1C,0DAAgD;AAChD,iFAAsE;AACtE,yFAA8E;AAC9E,6DAAmD;AACnD,+EAAoE;AACpE,6GAAiG;AACjG,qFAA0E;AAC1E,yEAA8D;AAC9D,kFAAuE;AACvE,0EAAgE;AAChE,8EAAoE;AACpE,oEAA0D;AAC1D,8DAAoD;AACpD,sFAA2E;AAC3E,kFAAuE;AACvE,mEAAyD;AACzD,iDAAuC;AACvC,4EAAiE;AACjE,gEAAqD;AACrD,oDAA0C;AAC1C,oDAA0C;AAE1C;;GAEG;AACU,QAAA,eAAe,GAAG;IAC3B,OAAO,EAAP,wBAAO;IACP,aAAa,EAAb,oCAAa;IACb,UAAU,EAAV,8BAAU;IACV,gBAAgB,EAAhB,2CAAgB;IAChB,KAAK,EAAL,oBAAK;IACL,oBAAoB,EAApB,mDAAoB;IACpB,oBAAoB,EAApB,mDAAoB;IACpB,YAAY,EAAZ,kCAAY;IACZ,OAAO,EAAP,wBAAO;IACP,UAAU,EAAV,8BAAU;IACV,eAAe,EAAf,yCAAe;IACf,qBAAqB,EAArB,qDAAqB;IACrB,OAAO,EAAP,wBAAO;IACP,QAAQ,EAAR,0BAAQ;IACR,aAAa,EAAb,qCAAa;IACb,oBAAoB,EAApB,oDAAoB;IACpB,4BAA4B,EAA5B,oEAA4B;IAC5B,KAAK,EAAL,oBAAK;IACL,gBAAgB,EAAhB,2CAAgB;IAChB,UAAU,EAAV,+BAAU;IACV,qBAAqB,EAArB,sDAAqB;IACrB,WAAW,EAAX,gCAAW;IACX,eAAe,EAAf,yCAAe;IACf,cAAc,EAAd,uCAAc;IACd,YAAY,EAAZ,mCAAY;IACZ,qBAAqB,EAArB,sDAAqB;IACrB,0BAA0B,EAA1B,gEAA0B;IAC1B,KAAK,EAAL,oBAAK;IACL,iBAAiB,EAAjB,8CAAiB;IACjB,SAAS,EAAT,6BAAS;IACT,kBAAkB,EAAlB,gDAAkB;IAClB,iBAAiB,EAAjB,6CAAiB;IACjB,OAAO,EAAP,wBAAO;IACP,aAAa,EAAb,qCAAa;IACb,wBAAwB,EAAxB,4DAAwB;IACxB,OAAO,EAAP,wBAAO;IACP,YAAY,EAAZ,mCAAY;IACZ,aAAa,EAAb,qCAAa;IACb,kBAAkB,EAAlB,gDAAkB;IAClB,6BAA6B,EAA7B,uEAA6B;IAC7B,wBAAwB,EAAxB,4DAAwB;IACxB,kBAAkB,EAAlB,+CAAkB;IAClB,cAAc,EAAd,uCAAc;IACd,mBAAmB,EAAnB,kDAAmB;IACnB,mBAAmB,EAAnB,kDAAmB;IACnB,yBAAyB,EAAzB,8DAAyB;IACzB,SAAS,EAAT,4BAAS;IACT,oBAAoB,EAApB,mDAAoB;IACpB,QAAQ,EAAR,0BAAQ;IACR,MAAM,EAAN,sBAAM;IACN,UAAU,EAAV,+BAAU;IACV,MAAM,EAAN,sBAAM;IACN,iBAAiB,EAAjB,6CAAiB;IACjB,OAAO,EAAP,wBAAO;IACP,IAAI,EAAJ,kBAAI;IACJ,IAAI,EAAJ,kBAAI;IACJ,OAAO,EAAP,wBAAO;IACP,YAAY,EAAZ,mCAAY;IACZ,cAAc,EAAd,uCAAc;IACd,yBAAyB,EAAzB,8DAAyB;IACzB,eAAe,EAAf,yCAAe;IACf,UAAU,EAAV,+BAAU;IACV,aAAa,EAAb,qCAAa;IACb,aAAa,EAAb,qCAAa;IACb,SAAS,EAAT,4BAAS;IACT,GAAG,EAAH,gBAAG;IACH,WAAW,EAAX,iCAAW;IACX,OAAO,EAAP,yBAAO;IACP,IAAI,EAAJ,kBAAI;IACJ,MAAM,EAAN,sBAAM;IACN,IAAI,EAAJ,kBAAI;CACP,CAAC"}
@@ -49,7 +49,7 @@ exports.getIdColumnsFor = getIdColumnsFor;
49
49
  */
50
50
  function getPrimaryGeneratedIdColumn() {
51
51
  if (!primaryGeneratedColumn) {
52
- throw new Error(`primaryGeneratedColumn is undefined. The base VendureEntity must have the @PrimaryGeneratedId() decorator set on its id property.`);
52
+ throw new Error('primaryGeneratedColumn is undefined. The base VendureEntity must have the @PrimaryGeneratedId() decorator set on its id property.');
53
53
  }
54
54
  return primaryGeneratedColumn;
55
55
  }
@@ -8,11 +8,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
- var _a, _b;
12
11
  Object.defineProperty(exports, "__esModule", { value: true });
13
12
  exports.FacetTranslation = void 0;
14
13
  const generated_types_1 = require("@vendure/common/lib/generated-types");
15
- const shared_types_1 = require("@vendure/common/lib/shared-types");
16
14
  const typeorm_1 = require("typeorm");
17
15
  const base_entity_1 = require("../base/base.entity");
18
16
  const custom_entity_fields_1 = require("../custom-entity-fields");
@@ -23,24 +21,25 @@ let FacetTranslation = class FacetTranslation extends base_entity_1.VendureEntit
23
21
  }
24
22
  };
25
23
  __decorate([
26
- typeorm_1.Column('varchar'),
27
- __metadata("design:type", typeof (_a = typeof generated_types_1.LanguageCode !== "undefined" && generated_types_1.LanguageCode) === "function" ? _a : Object)
24
+ (0, typeorm_1.Column)('varchar'),
25
+ __metadata("design:type", String)
28
26
  ], FacetTranslation.prototype, "languageCode", void 0);
29
27
  __decorate([
30
- typeorm_1.Column(),
28
+ (0, typeorm_1.Column)(),
31
29
  __metadata("design:type", String)
32
30
  ], FacetTranslation.prototype, "name", void 0);
33
31
  __decorate([
34
- typeorm_1.ManyToOne(type => facet_entity_1.Facet, base => base.translations, { onDelete: 'CASCADE' }),
32
+ (0, typeorm_1.Index)(),
33
+ (0, typeorm_1.ManyToOne)(type => facet_entity_1.Facet, base => base.translations, { onDelete: 'CASCADE' }),
35
34
  __metadata("design:type", facet_entity_1.Facet)
36
35
  ], FacetTranslation.prototype, "base", void 0);
37
36
  __decorate([
38
- typeorm_1.Column(type => custom_entity_fields_1.CustomFacetFieldsTranslation),
37
+ (0, typeorm_1.Column)(type => custom_entity_fields_1.CustomFacetFieldsTranslation),
39
38
  __metadata("design:type", custom_entity_fields_1.CustomFacetFieldsTranslation)
40
39
  ], FacetTranslation.prototype, "customFields", void 0);
41
40
  FacetTranslation = __decorate([
42
- typeorm_1.Entity(),
43
- __metadata("design:paramtypes", [typeof (_b = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _b : Object])
41
+ (0, typeorm_1.Entity)(),
42
+ __metadata("design:paramtypes", [Object])
44
43
  ], FacetTranslation);
45
44
  exports.FacetTranslation = FacetTranslation;
46
45
  //# sourceMappingURL=facet-translation.entity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"facet-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/facet/facet-translation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yEAAmE;AACnE,mEAA+D;AAC/D,qCAAoD;AAIpD,qDAAoD;AACpD,kEAAuE;AAEvE,iDAAuC;AAGvC,IAAa,gBAAgB,GAA7B,MAAa,gBAAiB,SAAQ,2BAAa;IAC/C,YAAY,KAAkD;QAC1D,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAWJ,CAAA;AATsB;IAAlB,gBAAM,CAAC,SAAS,CAAC;kDAAe,8BAAY,oBAAZ,8BAAY;sDAAC;AAEpC;IAAT,gBAAM,EAAE;;8CAAc;AAGvB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,oBAAK,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACvE,oBAAK;8CAAC;AAGZ;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,mDAA4B,CAAC;8BAC/B,mDAA4B;sDAAC;AAblC,gBAAgB;IAD5B,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,gBAAgB,CAc5B;AAdY,4CAAgB"}
1
+ {"version":3,"file":"facet-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/facet/facet-translation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yEAAmE;AAEnE,qCAA2D;AAI3D,qDAAoD;AACpD,kEAAuE;AAEvE,iDAAuC;AAGhC,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,2BAAa;IAC/C,YAAY,KAAkD;QAC1D,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAYJ,CAAA;AAVG;IAAC,IAAA,gBAAM,EAAC,SAAS,CAAC;;sDAA4B;AAE9C;IAAC,IAAA,gBAAM,GAAE;;8CAAc;AAEvB;IAAC,IAAA,eAAK,GAAE;IACP,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,oBAAK,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACvE,oBAAK;8CAAC;AAEZ;IAAC,IAAA,gBAAM,EAAC,IAAI,CAAC,EAAE,CAAC,mDAA4B,CAAC;8BAC/B,mDAA4B;sDAAC;AAdlC,gBAAgB;IAD5B,IAAA,gBAAM,GAAE;;GACI,gBAAgB,CAe5B;AAfY,4CAAgB"}
@@ -8,10 +8,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
- var _a;
12
11
  Object.defineProperty(exports, "__esModule", { value: true });
13
12
  exports.Facet = void 0;
14
- const shared_types_1 = require("@vendure/common/lib/shared-types");
15
13
  const typeorm_1 = require("typeorm");
16
14
  const base_entity_1 = require("../base/base.entity");
17
15
  const channel_entity_1 = require("../channel/channel.entity");
@@ -35,33 +33,33 @@ let Facet = class Facet extends base_entity_1.VendureEntity {
35
33
  }
36
34
  };
37
35
  __decorate([
38
- typeorm_1.Column({ default: false }),
36
+ (0, typeorm_1.Column)({ default: false }),
39
37
  __metadata("design:type", Boolean)
40
38
  ], Facet.prototype, "isPrivate", void 0);
41
39
  __decorate([
42
- typeorm_1.Column({ unique: true }),
40
+ (0, typeorm_1.Column)({ unique: true }),
43
41
  __metadata("design:type", String)
44
42
  ], Facet.prototype, "code", void 0);
45
43
  __decorate([
46
- typeorm_1.OneToMany(type => facet_translation_entity_1.FacetTranslation, translation => translation.base, { eager: true }),
44
+ (0, typeorm_1.OneToMany)(type => facet_translation_entity_1.FacetTranslation, translation => translation.base, { eager: true }),
47
45
  __metadata("design:type", Array)
48
46
  ], Facet.prototype, "translations", void 0);
49
47
  __decorate([
50
- typeorm_1.OneToMany(type => facet_value_entity_1.FacetValue, value => value.facet),
48
+ (0, typeorm_1.OneToMany)(type => facet_value_entity_1.FacetValue, value => value.facet),
51
49
  __metadata("design:type", Array)
52
50
  ], Facet.prototype, "values", void 0);
53
51
  __decorate([
54
- typeorm_1.Column(type => custom_entity_fields_1.CustomFacetFields),
52
+ (0, typeorm_1.Column)(type => custom_entity_fields_1.CustomFacetFields),
55
53
  __metadata("design:type", custom_entity_fields_1.CustomFacetFields)
56
54
  ], Facet.prototype, "customFields", void 0);
57
55
  __decorate([
58
- typeorm_1.ManyToMany(type => channel_entity_1.Channel),
59
- typeorm_1.JoinTable(),
56
+ (0, typeorm_1.ManyToMany)(type => channel_entity_1.Channel),
57
+ (0, typeorm_1.JoinTable)(),
60
58
  __metadata("design:type", Array)
61
59
  ], Facet.prototype, "channels", void 0);
62
60
  Facet = __decorate([
63
- typeorm_1.Entity(),
64
- __metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
61
+ (0, typeorm_1.Entity)(),
62
+ __metadata("design:paramtypes", [Object])
65
63
  ], Facet);
66
64
  exports.Facet = Facet;
67
65
  //# sourceMappingURL=facet.entity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"facet.entity.js","sourceRoot":"","sources":["../../../src/entity/facet/facet.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAA2E;AAK3E,qDAAoD;AACpD,8DAAoD;AACpD,kEAA4D;AAC5D,0EAA+D;AAE/D,yEAA8D;AAE9D;;;;;;;;;;GAUG;AAEH,IAAa,KAAK,GAAlB,MAAa,KAAM,SAAQ,2BAAa;IACpC,YAAY,KAA0B;QAClC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAsBJ,CAAA;AAjBG;IADC,gBAAM,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;wCACR;AAGnB;IADC,gBAAM,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;mCACZ;AAGb;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,2CAAgB,EAAE,WAAW,CAAC,EAAE,CAAC,WAAW,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;8BACxE,KAAK;2CAAqB;AAGxC;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,+BAAU,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC;;qCAC/B;AAGrB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,wCAAiB,CAAC;8BACpB,wCAAiB;2CAAC;AAIhC;IAFC,oBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,wBAAO,CAAC;IAC3B,mBAAS,EAAE;;uCACQ;AAxBX,KAAK;IADjB,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,KAAK,CAyBjB;AAzBY,sBAAK"}
1
+ {"version":3,"file":"facet.entity.js","sourceRoot":"","sources":["../../../src/entity/facet/facet.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,qCAA2E;AAK3E,qDAAoD;AACpD,8DAAoD;AACpD,kEAA4D;AAC5D,0EAA+D;AAE/D,yEAA8D;AAE9D;;;;;;;;;;GAUG;AAEI,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,2BAAa;IACpC,YAAY,KAA0B;QAClC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAsBJ,CAAA;AAlBG;IAAC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;wCACR;AAEnB;IAAC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;mCACZ;AAEb;IAAC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,2CAAgB,EAAE,WAAW,CAAC,EAAE,CAAC,WAAW,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;8BACxE,KAAK;2CAAqB;AAExC;IAAC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,+BAAU,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC;;qCAC/B;AAErB;IAAC,IAAA,gBAAM,EAAC,IAAI,CAAC,EAAE,CAAC,wCAAiB,CAAC;8BACpB,wCAAiB;2CAAC;AAEhC;IAAC,IAAA,oBAAU,EAAC,IAAI,CAAC,EAAE,CAAC,wBAAO,CAAC;IAC3B,IAAA,mBAAS,GAAE;;uCACQ;AAxBX,KAAK;IADjB,IAAA,gBAAM,GAAE;;GACI,KAAK,CAyBjB;AAzBY,sBAAK"}
@@ -8,11 +8,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
- var _a, _b;
12
11
  Object.defineProperty(exports, "__esModule", { value: true });
13
12
  exports.FacetValueTranslation = void 0;
14
13
  const generated_types_1 = require("@vendure/common/lib/generated-types");
15
- const shared_types_1 = require("@vendure/common/lib/shared-types");
16
14
  const typeorm_1 = require("typeorm");
17
15
  const base_entity_1 = require("../base/base.entity");
18
16
  const custom_entity_fields_1 = require("../custom-entity-fields");
@@ -23,24 +21,25 @@ let FacetValueTranslation = class FacetValueTranslation extends base_entity_1.Ve
23
21
  }
24
22
  };
25
23
  __decorate([
26
- typeorm_1.Column('varchar'),
27
- __metadata("design:type", typeof (_a = typeof generated_types_1.LanguageCode !== "undefined" && generated_types_1.LanguageCode) === "function" ? _a : Object)
24
+ (0, typeorm_1.Column)('varchar'),
25
+ __metadata("design:type", String)
28
26
  ], FacetValueTranslation.prototype, "languageCode", void 0);
29
27
  __decorate([
30
- typeorm_1.Column(),
28
+ (0, typeorm_1.Column)(),
31
29
  __metadata("design:type", String)
32
30
  ], FacetValueTranslation.prototype, "name", void 0);
33
31
  __decorate([
34
- typeorm_1.ManyToOne(type => facet_value_entity_1.FacetValue, base => base.translations, { onDelete: 'CASCADE' }),
32
+ (0, typeorm_1.Index)(),
33
+ (0, typeorm_1.ManyToOne)(type => facet_value_entity_1.FacetValue, base => base.translations, { onDelete: 'CASCADE' }),
35
34
  __metadata("design:type", facet_value_entity_1.FacetValue)
36
35
  ], FacetValueTranslation.prototype, "base", void 0);
37
36
  __decorate([
38
- typeorm_1.Column(type => custom_entity_fields_1.CustomFacetValueFieldsTranslation),
37
+ (0, typeorm_1.Column)(type => custom_entity_fields_1.CustomFacetValueFieldsTranslation),
39
38
  __metadata("design:type", custom_entity_fields_1.CustomFacetValueFieldsTranslation)
40
39
  ], FacetValueTranslation.prototype, "customFields", void 0);
41
40
  FacetValueTranslation = __decorate([
42
- typeorm_1.Entity(),
43
- __metadata("design:paramtypes", [typeof (_b = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _b : Object])
41
+ (0, typeorm_1.Entity)(),
42
+ __metadata("design:paramtypes", [Object])
44
43
  ], FacetValueTranslation);
45
44
  exports.FacetValueTranslation = FacetValueTranslation;
46
45
  //# sourceMappingURL=facet-value-translation.entity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"facet-value-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/facet-value/facet-value-translation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yEAAmE;AACnE,mEAA+D;AAC/D,qCAAoD;AAGpD,qDAAoD;AACpD,kEAA4E;AAE5E,6DAAkD;AAGlD,IAAa,qBAAqB,GAAlC,MAAa,qBAAsB,SAAQ,2BAAa;IACpD,YAAY,KAA4C;QACpD,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAWJ,CAAA;AATsB;IAAlB,gBAAM,CAAC,SAAS,CAAC;kDAAe,8BAAY,oBAAZ,8BAAY;2DAAC;AAEpC;IAAT,gBAAM,EAAE;;mDAAc;AAGvB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,+BAAU,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAC5E,+BAAU;mDAAC;AAGjB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,wDAAiC,CAAC;8BACpC,wDAAiC;2DAAC;AAbvC,qBAAqB;IADjC,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,qBAAqB,CAcjC;AAdY,sDAAqB"}
1
+ {"version":3,"file":"facet-value-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/facet-value/facet-value-translation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yEAAmE;AAEnE,qCAA2D;AAG3D,qDAAoD;AACpD,kEAA4E;AAE5E,6DAAkD;AAG3C,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,2BAAa;IACpD,YAAY,KAA4C;QACpD,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAYJ,CAAA;AAVG;IAAC,IAAA,gBAAM,EAAC,SAAS,CAAC;;2DAA4B;AAE9C;IAAC,IAAA,gBAAM,GAAE;;mDAAc;AAEvB;IAAC,IAAA,eAAK,GAAE;IACP,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,+BAAU,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAC5E,+BAAU;mDAAC;AAEjB;IAAC,IAAA,gBAAM,EAAC,IAAI,CAAC,EAAE,CAAC,wDAAiC,CAAC;8BACpC,wDAAiC;2DAAC;AAdvC,qBAAqB;IADjC,IAAA,gBAAM,GAAE;;GACI,qBAAqB,CAejC;AAfY,sDAAqB"}