@vendure/core 1.7.0 → 1.7.2

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 (1059) hide show
  1. package/dist/api/config/generate-permissions.js +1 -1
  2. package/dist/api/decorators/allow.decorator.d.ts +11 -0
  3. package/dist/api/decorators/allow.decorator.js +11 -0
  4. package/dist/api/decorators/allow.decorator.js.map +1 -1
  5. package/dist/api/resolvers/admin/customer.resolver.d.ts +3 -1
  6. package/dist/api/resolvers/admin/customer.resolver.js +13 -2
  7. package/dist/api/resolvers/admin/customer.resolver.js.map +1 -1
  8. package/dist/api/resolvers/base/base-auth.resolver.d.ts +2 -2
  9. package/dist/api/resolvers/base/base-auth.resolver.js.map +1 -1
  10. package/dist/api/resolvers/shop/shop-order.resolver.js +3 -11
  11. package/dist/api/resolvers/shop/shop-order.resolver.js.map +1 -1
  12. package/dist/api/schema/common/order.type.graphql +1 -0
  13. package/dist/connection/remove-custom-fields-with-eager-relations.d.ts +34 -0
  14. package/dist/connection/remove-custom-fields-with-eager-relations.js +55 -0
  15. package/dist/connection/remove-custom-fields-with-eager-relations.js.map +1 -0
  16. package/dist/connection/transactional-connection.d.ts +0 -33
  17. package/dist/connection/transactional-connection.js +21 -53
  18. package/dist/connection/transactional-connection.js.map +1 -1
  19. package/dist/plugin/default-search-plugin/fulltext-search.service.js +3 -0
  20. package/dist/plugin/default-search-plugin/fulltext-search.service.js.map +1 -1
  21. package/dist/plugin/default-search-plugin/search-strategy/mysql-search-strategy.js +13 -8
  22. package/dist/plugin/default-search-plugin/search-strategy/mysql-search-strategy.js.map +1 -1
  23. package/dist/plugin/default-search-plugin/search-strategy/postgres-search-strategy.js +8 -8
  24. package/dist/plugin/default-search-plugin/search-strategy/postgres-search-strategy.js.map +1 -1
  25. package/dist/plugin/default-search-plugin/search-strategy/search-strategy-utils.js +4 -6
  26. package/dist/plugin/default-search-plugin/search-strategy/search-strategy-utils.js.map +1 -1
  27. package/dist/plugin/default-search-plugin/search-strategy/sqlite-search-strategy.js +7 -10
  28. package/dist/plugin/default-search-plugin/search-strategy/sqlite-search-strategy.js.map +1 -1
  29. package/dist/service/services/collection.service.js +3 -0
  30. package/dist/service/services/collection.service.js.map +1 -1
  31. package/dist/service/services/customer-group.service.js +1 -0
  32. package/dist/service/services/customer-group.service.js.map +1 -1
  33. package/dist/service/services/customer.service.d.ts +9 -0
  34. package/dist/service/services/customer.service.js +31 -0
  35. package/dist/service/services/customer.service.js.map +1 -1
  36. package/dist/service/services/order.service.js +1 -1
  37. package/dist/service/services/order.service.js.map +1 -1
  38. package/dist/service/services/product-variant.service.js +1 -12
  39. package/dist/service/services/product-variant.service.js.map +1 -1
  40. package/dist/service/services/product.service.js +3 -1
  41. package/dist/service/services/product.service.js.map +1 -1
  42. package/dist/service/services/user.service.d.ts +1 -1
  43. package/dist/service/services/user.service.js +5 -0
  44. package/dist/service/services/user.service.js.map +1 -1
  45. package/package.json +3 -3
  46. package/cli/api/common/extract-session-token.d.ts +0 -3
  47. package/cli/api/common/extract-session-token.js +0 -35
  48. package/cli/api/common/extract-session-token.js.map +0 -1
  49. package/cli/api/common/get-api-type.d.ts +0 -3
  50. package/cli/api/common/get-api-type.js +0 -12
  51. package/cli/api/common/get-api-type.js.map +0 -1
  52. package/cli/api/common/graphql-value-transformer.d.ts +0 -30
  53. package/cli/api/common/graphql-value-transformer.js +0 -199
  54. package/cli/api/common/graphql-value-transformer.js.map +0 -1
  55. package/cli/api/common/id-codec.d.ts +0 -11
  56. package/cli/api/common/id-codec.js +0 -94
  57. package/cli/api/common/id-codec.js.map +0 -1
  58. package/cli/api/common/id-codec.service.d.ts +0 -7
  59. package/cli/api/common/id-codec.service.js +0 -33
  60. package/cli/api/common/id-codec.service.js.map +0 -1
  61. package/cli/api/common/parse-context.d.ts +0 -16
  62. package/cli/api/common/parse-context.js +0 -39
  63. package/cli/api/common/parse-context.js.map +0 -1
  64. package/cli/api/common/request-context.d.ts +0 -55
  65. package/cli/api/common/request-context.js +0 -143
  66. package/cli/api/common/request-context.js.map +0 -1
  67. package/cli/api/common/set-session-token.d.ts +0 -9
  68. package/cli/api/common/set-session-token.js +0 -27
  69. package/cli/api/common/set-session-token.js.map +0 -1
  70. package/cli/api/decorators/allow.decorator.d.ts +0 -3
  71. package/cli/api/decorators/allow.decorator.js +0 -8
  72. package/cli/api/decorators/allow.decorator.js.map +0 -1
  73. package/cli/api/decorators/api.decorator.d.ts +0 -1
  74. package/cli/api/decorators/api.decorator.js +0 -10
  75. package/cli/api/decorators/api.decorator.js.map +0 -1
  76. package/cli/api/decorators/request-context.decorator.d.ts +0 -1
  77. package/cli/api/decorators/request-context.decorator.js +0 -14
  78. package/cli/api/decorators/request-context.decorator.js.map +0 -1
  79. package/cli/api/decorators/transaction.decorator.d.ts +0 -3
  80. package/cli/api/decorators/transaction.decorator.js +0 -11
  81. package/cli/api/decorators/transaction.decorator.js.map +0 -1
  82. package/cli/api/index.d.ts +0 -11
  83. package/cli/api/index.js +0 -23
  84. package/cli/api/index.js.map +0 -1
  85. package/cli/api/middleware/auth-guard.d.ts +0 -21
  86. package/cli/api/middleware/auth-guard.js +0 -151
  87. package/cli/api/middleware/auth-guard.js.map +0 -1
  88. package/cli/api/middleware/exception-logger.filter.d.ts +0 -6
  89. package/cli/api/middleware/exception-logger.filter.js +0 -82
  90. package/cli/api/middleware/exception-logger.filter.js.map +0 -1
  91. package/cli/api/middleware/id-interceptor.d.ts +0 -12
  92. package/cli/api/middleware/id-interceptor.js +0 -56
  93. package/cli/api/middleware/id-interceptor.js.map +0 -1
  94. package/cli/api/middleware/transaction-interceptor.d.ts +0 -12
  95. package/cli/api/middleware/transaction-interceptor.js +0 -46
  96. package/cli/api/middleware/transaction-interceptor.js.map +0 -1
  97. package/cli/api/resolvers/admin/search.resolver.d.ts +0 -17
  98. package/cli/api/resolvers/admin/search.resolver.js +0 -81
  99. package/cli/api/resolvers/admin/search.resolver.js.map +0 -1
  100. package/cli/cache/index.d.ts +0 -1
  101. package/cli/cache/index.js +0 -14
  102. package/cli/cache/index.js.map +0 -1
  103. package/cli/cache/request-context-cache.service.d.ts +0 -9
  104. package/cli/cache/request-context-cache.service.js +0 -39
  105. package/cli/cache/request-context-cache.service.js.map +0 -1
  106. package/cli/cli/cli-utils.d.ts +0 -1
  107. package/cli/cli/cli-utils.js +0 -8
  108. package/cli/cli/cli-utils.js.map +0 -1
  109. package/cli/cli/index.d.ts +0 -1
  110. package/cli/cli/index.js +0 -14
  111. package/cli/cli/index.js.map +0 -1
  112. package/cli/cli/populate.d.ts +0 -5
  113. package/cli/cli/populate.js +0 -106
  114. package/cli/cli/populate.js.map +0 -1
  115. package/cli/cli/vendure-cli.d.ts +0 -2
  116. package/cli/cli/vendure-cli.js +0 -119
  117. package/cli/cli/vendure-cli.js.map +0 -1
  118. package/cli/common/async-queue.d.ts +0 -17
  119. package/cli/common/async-queue.js +0 -56
  120. package/cli/common/async-queue.js.map +0 -1
  121. package/cli/common/calculated-decorator.d.ts +0 -12
  122. package/cli/common/calculated-decorator.js +0 -22
  123. package/cli/common/calculated-decorator.js.map +0 -1
  124. package/cli/common/configurable-operation.d.ts +0 -53
  125. package/cli/common/configurable-operation.js +0 -96
  126. package/cli/common/configurable-operation.js.map +0 -1
  127. package/cli/common/constants.d.ts +0 -7
  128. package/cli/common/constants.js +0 -66
  129. package/cli/common/constants.js.map +0 -1
  130. package/cli/common/error/error-result.d.ts +0 -8
  131. package/cli/common/error/error-result.js +0 -11
  132. package/cli/common/error/error-result.js.map +0 -1
  133. package/cli/common/error/errors.d.ts +0 -31
  134. package/cli/common/error/errors.js +0 -48
  135. package/cli/common/error/errors.js.map +0 -1
  136. package/cli/common/error/generated-graphql-admin-errors.d.ts +0 -309
  137. package/cli/common/error/generated-graphql-admin-errors.js +0 -446
  138. package/cli/common/error/generated-graphql-admin-errors.js.map +0 -1
  139. package/cli/common/error/generated-graphql-shop-errors.d.ts +0 -254
  140. package/cli/common/error/generated-graphql-shop-errors.js +0 -370
  141. package/cli/common/error/generated-graphql-shop-errors.js.map +0 -1
  142. package/cli/common/finite-state-machine/finite-state-machine.d.ts +0 -14
  143. package/cli/common/finite-state-machine/finite-state-machine.js +0 -55
  144. package/cli/common/finite-state-machine/finite-state-machine.js.map +0 -1
  145. package/cli/common/finite-state-machine/merge-transition-definitions.d.ts +0 -2
  146. package/cli/common/finite-state-machine/merge-transition-definitions.js +0 -27
  147. package/cli/common/finite-state-machine/merge-transition-definitions.js.map +0 -1
  148. package/cli/common/finite-state-machine/types.d.ts +0 -16
  149. package/cli/common/finite-state-machine/types.js +0 -3
  150. package/cli/common/finite-state-machine/types.js.map +0 -1
  151. package/cli/common/finite-state-machine/validate-transition-definition.d.ts +0 -5
  152. package/cli/common/finite-state-machine/validate-transition-definition.js +0 -41
  153. package/cli/common/finite-state-machine/validate-transition-definition.js.map +0 -1
  154. package/cli/common/generate-public-id.d.ts +0 -1
  155. package/cli/common/generate-public-id.js +0 -10
  156. package/cli/common/generate-public-id.js.map +0 -1
  157. package/cli/common/index.d.ts +0 -15
  158. package/cli/common/index.js +0 -28
  159. package/cli/common/index.js.map +0 -1
  160. package/cli/common/injector.d.ts +0 -8
  161. package/cli/common/injector.js +0 -16
  162. package/cli/common/injector.js.map +0 -1
  163. package/cli/common/permission-definition.d.ts +0 -23
  164. package/cli/common/permission-definition.js +0 -53
  165. package/cli/common/permission-definition.js.map +0 -1
  166. package/cli/common/self-refreshing-cache.d.ts +0 -15
  167. package/cli/common/self-refreshing-cache.js +0 -56
  168. package/cli/common/self-refreshing-cache.js.map +0 -1
  169. package/cli/common/tax-utils.d.ts +0 -4
  170. package/cli/common/tax-utils.js +0 -20
  171. package/cli/common/tax-utils.js.map +0 -1
  172. package/cli/common/ttl-cache.d.ts +0 -13
  173. package/cli/common/ttl-cache.js +0 -48
  174. package/cli/common/ttl-cache.js.map +0 -1
  175. package/cli/common/types/adjustment-source.d.ts +0 -14
  176. package/cli/common/types/adjustment-source.js +0 -18
  177. package/cli/common/types/adjustment-source.js.map +0 -1
  178. package/cli/common/types/common-types.d.ts +0 -97
  179. package/cli/common/types/common-types.js +0 -3
  180. package/cli/common/types/common-types.js.map +0 -1
  181. package/cli/common/types/entity-relation-paths.d.ts +0 -16
  182. package/cli/common/types/entity-relation-paths.js +0 -3
  183. package/cli/common/types/entity-relation-paths.js.map +0 -1
  184. package/cli/common/types/injectable-strategy.d.ts +0 -5
  185. package/cli/common/types/injectable-strategy.js +0 -3
  186. package/cli/common/types/injectable-strategy.js.map +0 -1
  187. package/cli/common/types/locale-types.d.ts +0 -43
  188. package/cli/common/types/locale-types.js +0 -3
  189. package/cli/common/types/locale-types.js.map +0 -1
  190. package/cli/common/utils.d.ts +0 -11
  191. package/cli/common/utils.js +0 -66
  192. package/cli/common/utils.js.map +0 -1
  193. package/cli/config/asset-naming-strategy/asset-naming-strategy.d.ts +0 -6
  194. package/cli/config/asset-naming-strategy/asset-naming-strategy.js +0 -3
  195. package/cli/config/asset-naming-strategy/asset-naming-strategy.js.map +0 -1
  196. package/cli/config/asset-naming-strategy/default-asset-naming-strategy.d.ts +0 -11
  197. package/cli/config/asset-naming-strategy/default-asset-naming-strategy.js +0 -55
  198. package/cli/config/asset-naming-strategy/default-asset-naming-strategy.js.map +0 -1
  199. package/cli/config/asset-preview-strategy/asset-preview-strategy.d.ts +0 -6
  200. package/cli/config/asset-preview-strategy/asset-preview-strategy.js +0 -3
  201. package/cli/config/asset-preview-strategy/asset-preview-strategy.js.map +0 -1
  202. package/cli/config/asset-preview-strategy/no-asset-preview-strategy.d.ts +0 -6
  203. package/cli/config/asset-preview-strategy/no-asset-preview-strategy.js +0 -11
  204. package/cli/config/asset-preview-strategy/no-asset-preview-strategy.js.map +0 -1
  205. package/cli/config/asset-storage-strategy/asset-storage-strategy.d.ts +0 -13
  206. package/cli/config/asset-storage-strategy/asset-storage-strategy.js +0 -3
  207. package/cli/config/asset-storage-strategy/asset-storage-strategy.js.map +0 -1
  208. package/cli/config/asset-storage-strategy/no-asset-storage-strategy.d.ts +0 -13
  209. package/cli/config/asset-storage-strategy/no-asset-storage-strategy.js +0 -30
  210. package/cli/config/asset-storage-strategy/no-asset-storage-strategy.js.map +0 -1
  211. package/cli/config/auth/authentication-strategy.d.ts +0 -10
  212. package/cli/config/auth/authentication-strategy.js +0 -3
  213. package/cli/config/auth/authentication-strategy.js.map +0 -1
  214. package/cli/config/auth/bcrypt-password-hashing-strategy.d.ts +0 -7
  215. package/cli/config/auth/bcrypt-password-hashing-strategy.js +0 -21
  216. package/cli/config/auth/bcrypt-password-hashing-strategy.js.map +0 -1
  217. package/cli/config/auth/default-password-validation-strategy.d.ts +0 -10
  218. package/cli/config/auth/default-password-validation-strategy.js +0 -24
  219. package/cli/config/auth/default-password-validation-strategy.js.map +0 -1
  220. package/cli/config/auth/native-authentication-strategy.d.ts +0 -21
  221. package/cli/config/auth/native-authentication-strategy.js +0 -87
  222. package/cli/config/auth/native-authentication-strategy.js.map +0 -1
  223. package/cli/config/auth/password-hashing-strategy.d.ts +0 -5
  224. package/cli/config/auth/password-hashing-strategy.js +0 -3
  225. package/cli/config/auth/password-hashing-strategy.js.map +0 -1
  226. package/cli/config/auth/password-validation-strategy.d.ts +0 -5
  227. package/cli/config/auth/password-validation-strategy.js +0 -3
  228. package/cli/config/auth/password-validation-strategy.js.map +0 -1
  229. package/cli/config/catalog/collection-filter.d.ts +0 -13
  230. package/cli/config/catalog/collection-filter.js +0 -15
  231. package/cli/config/catalog/collection-filter.js.map +0 -1
  232. package/cli/config/catalog/default-collection-filters.d.ts +0 -52
  233. package/cli/config/catalog/default-collection-filters.js +0 -112
  234. package/cli/config/catalog/default-collection-filters.js.map +0 -1
  235. package/cli/config/catalog/default-product-variant-price-calculation-strategy.d.ts +0 -8
  236. package/cli/config/catalog/default-product-variant-price-calculation-strategy.js +0 -31
  237. package/cli/config/catalog/default-product-variant-price-calculation-strategy.js.map +0 -1
  238. package/cli/config/catalog/default-stock-display-strategy.d.ts +0 -8
  239. package/cli/config/catalog/default-stock-display-strategy.js +0 -17
  240. package/cli/config/catalog/default-stock-display-strategy.js.map +0 -1
  241. package/cli/config/catalog/product-variant-price-calculation-strategy.d.ts +0 -13
  242. package/cli/config/catalog/product-variant-price-calculation-strategy.js +0 -3
  243. package/cli/config/catalog/product-variant-price-calculation-strategy.js.map +0 -1
  244. package/cli/config/catalog/stock-display-strategy.d.ts +0 -6
  245. package/cli/config/catalog/stock-display-strategy.js +0 -3
  246. package/cli/config/catalog/stock-display-strategy.js.map +0 -1
  247. package/cli/config/config-helpers.d.ts +0 -3
  248. package/cli/config/config-helpers.js +0 -15
  249. package/cli/config/config-helpers.js.map +0 -1
  250. package/cli/config/config.module.d.ts +0 -16
  251. package/cli/config/config.module.js +0 -120
  252. package/cli/config/config.module.js.map +0 -1
  253. package/cli/config/config.service.d.ts +0 -30
  254. package/cli/config/config.service.js +0 -86
  255. package/cli/config/config.service.js.map +0 -1
  256. package/cli/config/custom-field/custom-field-types.d.ts +0 -65
  257. package/cli/config/custom-field/custom-field-types.js +0 -3
  258. package/cli/config/custom-field/custom-field-types.js.map +0 -1
  259. package/cli/config/default-config.d.ts +0 -2
  260. package/cli/config/default-config.js +0 -174
  261. package/cli/config/default-config.js.map +0 -1
  262. package/cli/config/entity-id-strategy/auto-increment-id-strategy.d.ts +0 -6
  263. package/cli/config/entity-id-strategy/auto-increment-id-strategy.js +0 -17
  264. package/cli/config/entity-id-strategy/auto-increment-id-strategy.js.map +0 -1
  265. package/cli/config/entity-id-strategy/entity-id-strategy.d.ts +0 -7
  266. package/cli/config/entity-id-strategy/entity-id-strategy.js +0 -3
  267. package/cli/config/entity-id-strategy/entity-id-strategy.js.map +0 -1
  268. package/cli/config/entity-id-strategy/uuid-id-strategy.d.ts +0 -6
  269. package/cli/config/entity-id-strategy/uuid-id-strategy.js +0 -16
  270. package/cli/config/entity-id-strategy/uuid-id-strategy.js.map +0 -1
  271. package/cli/config/fulfillment/custom-fulfillment-process.d.ts +0 -9
  272. package/cli/config/fulfillment/custom-fulfillment-process.js +0 -3
  273. package/cli/config/fulfillment/custom-fulfillment-process.js.map +0 -1
  274. package/cli/config/fulfillment/fulfillment-handler.d.ts +0 -21
  275. package/cli/config/fulfillment/fulfillment-handler.js +0 -23
  276. package/cli/config/fulfillment/fulfillment-handler.js.map +0 -1
  277. package/cli/config/fulfillment/manual-fulfillment-handler.d.ts +0 -11
  278. package/cli/config/fulfillment/manual-fulfillment-handler.js +0 -26
  279. package/cli/config/fulfillment/manual-fulfillment-handler.js.map +0 -1
  280. package/cli/config/index.d.ts +0 -61
  281. package/cli/config/index.js +0 -74
  282. package/cli/config/index.js.map +0 -1
  283. package/cli/config/job-queue/inspectable-job-queue-strategy.d.ts +0 -12
  284. package/cli/config/job-queue/inspectable-job-queue-strategy.js +0 -11
  285. package/cli/config/job-queue/inspectable-job-queue-strategy.js.map +0 -1
  286. package/cli/config/job-queue/job-queue-strategy.d.ts +0 -8
  287. package/cli/config/job-queue/job-queue-strategy.js +0 -3
  288. package/cli/config/job-queue/job-queue-strategy.js.map +0 -1
  289. package/cli/config/logger/default-logger.d.ts +0 -24
  290. package/cli/config/logger/default-logger.js +0 -90
  291. package/cli/config/logger/default-logger.js.map +0 -1
  292. package/cli/config/logger/noop-logger.d.ts +0 -8
  293. package/cli/config/logger/noop-logger.js +0 -17
  294. package/cli/config/logger/noop-logger.js.map +0 -1
  295. package/cli/config/logger/typeorm-logger.d.ts +0 -15
  296. package/cli/config/logger/typeorm-logger.js +0 -74
  297. package/cli/config/logger/typeorm-logger.js.map +0 -1
  298. package/cli/config/logger/vendure-logger.d.ts +0 -32
  299. package/cli/config/logger/vendure-logger.js +0 -68
  300. package/cli/config/logger/vendure-logger.js.map +0 -1
  301. package/cli/config/merge-config.d.ts +0 -2
  302. package/cli/config/merge-config.js +0 -34
  303. package/cli/config/merge-config.js.map +0 -1
  304. package/cli/config/order/changed-price-handling-strategy.d.ts +0 -7
  305. package/cli/config/order/changed-price-handling-strategy.js +0 -3
  306. package/cli/config/order/changed-price-handling-strategy.js.map +0 -1
  307. package/cli/config/order/custom-order-process.d.ts +0 -9
  308. package/cli/config/order/custom-order-process.js +0 -3
  309. package/cli/config/order/custom-order-process.js.map +0 -1
  310. package/cli/config/order/default-changed-price-handling-strategy.d.ts +0 -6
  311. package/cli/config/order/default-changed-price-handling-strategy.js +0 -10
  312. package/cli/config/order/default-changed-price-handling-strategy.js.map +0 -1
  313. package/cli/config/order/default-order-item-price-calculation-strategy.d.ts +0 -7
  314. package/cli/config/order/default-order-item-price-calculation-strategy.js +0 -13
  315. package/cli/config/order/default-order-item-price-calculation-strategy.js.map +0 -1
  316. package/cli/config/order/default-order-placed-strategy.d.ts +0 -7
  317. package/cli/config/order/default-order-placed-strategy.js +0 -13
  318. package/cli/config/order/default-order-placed-strategy.js.map +0 -1
  319. package/cli/config/order/default-stock-allocation-strategy.d.ts +0 -7
  320. package/cli/config/order/default-stock-allocation-strategy.js +0 -11
  321. package/cli/config/order/default-stock-allocation-strategy.js.map +0 -1
  322. package/cli/config/order/merge-orders-strategy.d.ts +0 -7
  323. package/cli/config/order/merge-orders-strategy.js +0 -29
  324. package/cli/config/order/merge-orders-strategy.js.map +0 -1
  325. package/cli/config/order/order-by-code-access-strategy.d.ts +0 -11
  326. package/cli/config/order/order-by-code-access-strategy.js +0 -25
  327. package/cli/config/order/order-by-code-access-strategy.js.map +0 -1
  328. package/cli/config/order/order-code-strategy.d.ts +0 -8
  329. package/cli/config/order/order-code-strategy.js +0 -11
  330. package/cli/config/order/order-code-strategy.js.map +0 -1
  331. package/cli/config/order/order-item-price-calculation-strategy.d.ts +0 -9
  332. package/cli/config/order/order-item-price-calculation-strategy.js +0 -3
  333. package/cli/config/order/order-item-price-calculation-strategy.js.map +0 -1
  334. package/cli/config/order/order-merge-strategy.d.ts +0 -14
  335. package/cli/config/order/order-merge-strategy.js +0 -12
  336. package/cli/config/order/order-merge-strategy.js.map +0 -1
  337. package/cli/config/order/order-placed-strategy.d.ts +0 -7
  338. package/cli/config/order/order-placed-strategy.js +0 -3
  339. package/cli/config/order/order-placed-strategy.js.map +0 -1
  340. package/cli/config/order/stock-allocation-strategy.d.ts +0 -7
  341. package/cli/config/order/stock-allocation-strategy.js +0 -3
  342. package/cli/config/order/stock-allocation-strategy.js.map +0 -1
  343. package/cli/config/order/use-existing-strategy.d.ts +0 -6
  344. package/cli/config/order/use-existing-strategy.js +0 -11
  345. package/cli/config/order/use-existing-strategy.js.map +0 -1
  346. package/cli/config/order/use-guest-if-existing-empty-strategy.d.ts +0 -6
  347. package/cli/config/order/use-guest-if-existing-empty-strategy.js +0 -13
  348. package/cli/config/order/use-guest-if-existing-empty-strategy.js.map +0 -1
  349. package/cli/config/order/use-guest-strategy.d.ts +0 -6
  350. package/cli/config/order/use-guest-strategy.js +0 -11
  351. package/cli/config/order/use-guest-strategy.js.map +0 -1
  352. package/cli/config/payment/custom-payment-process.d.ts +0 -9
  353. package/cli/config/payment/custom-payment-process.js +0 -3
  354. package/cli/config/payment/custom-payment-process.js.map +0 -1
  355. package/cli/config/payment/dummy-payment-method-handler.d.ts +0 -17
  356. package/cli/config/payment/dummy-payment-method-handler.js +0 -74
  357. package/cli/config/payment/dummy-payment-method-handler.js.map +0 -1
  358. package/cli/config/payment/example-payment-method-handler.d.ts +0 -11
  359. package/cli/config/payment/example-payment-method-handler.js +0 -59
  360. package/cli/config/payment/example-payment-method-handler.js.map +0 -1
  361. package/cli/config/payment/payment-method-eligibility-checker.d.ts +0 -13
  362. package/cli/config/payment/payment-method-eligibility-checker.js +0 -15
  363. package/cli/config/payment/payment-method-eligibility-checker.js.map +0 -1
  364. package/cli/config/payment/payment-method-handler.d.ts +0 -73
  365. package/cli/config/payment/payment-method-handler.js +0 -36
  366. package/cli/config/payment/payment-method-handler.js.map +0 -1
  367. package/cli/config/promotion/actions/buy-x-get-y-free-action.d.ts +0 -37
  368. package/cli/config/promotion/actions/buy-x-get-y-free-action.js +0 -30
  369. package/cli/config/promotion/actions/buy-x-get-y-free-action.js.map +0 -1
  370. package/cli/config/promotion/actions/facet-values-percentage-discount-action.d.ts +0 -17
  371. package/cli/config/promotion/actions/facet-values-percentage-discount-action.js +0 -39
  372. package/cli/config/promotion/actions/facet-values-percentage-discount-action.js.map +0 -1
  373. package/cli/config/promotion/actions/free-shipping-action.d.ts +0 -2
  374. package/cli/config/promotion/actions/free-shipping-action.js +0 -14
  375. package/cli/config/promotion/actions/free-shipping-action.js.map +0 -1
  376. package/cli/config/promotion/actions/order-fixed-discount-action.d.ts +0 -9
  377. package/cli/config/promotion/actions/order-fixed-discount-action.js +0 -21
  378. package/cli/config/promotion/actions/order-fixed-discount-action.js.map +0 -1
  379. package/cli/config/promotion/actions/order-percentage-discount-action.d.ts +0 -10
  380. package/cli/config/promotion/actions/order-percentage-discount-action.js +0 -23
  381. package/cli/config/promotion/actions/order-percentage-discount-action.js.map +0 -1
  382. package/cli/config/promotion/actions/product-percentage-discount-action.d.ts +0 -22
  383. package/cli/config/promotion/actions/product-percentage-discount-action.js +0 -36
  384. package/cli/config/promotion/actions/product-percentage-discount-action.js.map +0 -1
  385. package/cli/config/promotion/conditions/buy-x-get-y-free-condition.d.ts +0 -37
  386. package/cli/config/promotion/conditions/buy-x-get-y-free-condition.js +0 -71
  387. package/cli/config/promotion/conditions/buy-x-get-y-free-condition.js.map +0 -1
  388. package/cli/config/promotion/conditions/contains-products-condition.d.ts +0 -19
  389. package/cli/config/promotion/conditions/contains-products-condition.js +0 -38
  390. package/cli/config/promotion/conditions/contains-products-condition.js.map +0 -1
  391. package/cli/config/promotion/conditions/customer-group-condition.d.ts +0 -14
  392. package/cli/config/promotion/conditions/customer-group-condition.js +0 -72
  393. package/cli/config/promotion/conditions/customer-group-condition.js.map +0 -1
  394. package/cli/config/promotion/conditions/has-facet-values-condition.d.ts +0 -14
  395. package/cli/config/promotion/conditions/has-facet-values-condition.js +0 -31
  396. package/cli/config/promotion/conditions/has-facet-values-condition.js.map +0 -1
  397. package/cli/config/promotion/conditions/min-order-amount-condition.d.ts +0 -14
  398. package/cli/config/promotion/conditions/min-order-amount-condition.js +0 -27
  399. package/cli/config/promotion/conditions/min-order-amount-condition.js.map +0 -1
  400. package/cli/config/promotion/index.d.ts +0 -170
  401. package/cli/config/promotion/index.js +0 -50
  402. package/cli/config/promotion/index.js.map +0 -1
  403. package/cli/config/promotion/promotion-action.d.ts +0 -56
  404. package/cli/config/promotion/promotion-action.js +0 -49
  405. package/cli/config/promotion/promotion-action.js.map +0 -1
  406. package/cli/config/promotion/promotion-condition.d.ts +0 -19
  407. package/cli/config/promotion/promotion-condition.js +0 -19
  408. package/cli/config/promotion/promotion-condition.js.map +0 -1
  409. package/cli/config/promotion/utils/facet-value-checker.d.ts +0 -9
  410. package/cli/config/promotion/utils/facet-value-checker.js +0 -31
  411. package/cli/config/promotion/utils/facet-value-checker.js.map +0 -1
  412. package/cli/config/session-cache/in-memory-session-cache-strategy.d.ts +0 -11
  413. package/cli/config/session-cache/in-memory-session-cache-strategy.js +0 -44
  414. package/cli/config/session-cache/in-memory-session-cache-strategy.js.map +0 -1
  415. package/cli/config/session-cache/noop-session-cache-strategy.d.ts +0 -7
  416. package/cli/config/session-cache/noop-session-cache-strategy.js +0 -19
  417. package/cli/config/session-cache/noop-session-cache-strategy.js.map +0 -1
  418. package/cli/config/session-cache/session-cache-strategy.d.ts +0 -25
  419. package/cli/config/session-cache/session-cache-strategy.js +0 -3
  420. package/cli/config/session-cache/session-cache-strategy.js.map +0 -1
  421. package/cli/config/shipping-method/default-shipping-calculator.d.ts +0 -51
  422. package/cli/config/shipping-method/default-shipping-calculator.js +0 -69
  423. package/cli/config/shipping-method/default-shipping-calculator.js.map +0 -1
  424. package/cli/config/shipping-method/default-shipping-eligibility-checker.d.ts +0 -19
  425. package/cli/config/shipping-method/default-shipping-eligibility-checker.js +0 -27
  426. package/cli/config/shipping-method/default-shipping-eligibility-checker.js.map +0 -1
  427. package/cli/config/shipping-method/shipping-calculator.d.ts +0 -20
  428. package/cli/config/shipping-method/shipping-calculator.js +0 -15
  429. package/cli/config/shipping-method/shipping-calculator.js.map +0 -1
  430. package/cli/config/shipping-method/shipping-eligibility-checker.d.ts +0 -19
  431. package/cli/config/shipping-method/shipping-eligibility-checker.js +0 -38
  432. package/cli/config/shipping-method/shipping-eligibility-checker.js.map +0 -1
  433. package/cli/config/tax/default-tax-line-calculation-strategy.d.ts +0 -5
  434. package/cli/config/tax/default-tax-line-calculation-strategy.js +0 -11
  435. package/cli/config/tax/default-tax-line-calculation-strategy.js.map +0 -1
  436. package/cli/config/tax/default-tax-zone-strategy.d.ts +0 -6
  437. package/cli/config/tax/default-tax-zone-strategy.js +0 -10
  438. package/cli/config/tax/default-tax-zone-strategy.js.map +0 -1
  439. package/cli/config/tax/tax-line-calculation-strategy.d.ts +0 -17
  440. package/cli/config/tax/tax-line-calculation-strategy.js +0 -3
  441. package/cli/config/tax/tax-line-calculation-strategy.js.map +0 -1
  442. package/cli/config/tax/tax-zone-strategy.d.ts +0 -6
  443. package/cli/config/tax/tax-zone-strategy.js +0 -3
  444. package/cli/config/tax/tax-zone-strategy.js.map +0 -1
  445. package/cli/config/vendure-config.d.ts +0 -192
  446. package/cli/config/vendure-config.js +0 -3
  447. package/cli/config/vendure-config.js.map +0 -1
  448. package/cli/connection/connection.module.d.ts +0 -7
  449. package/cli/connection/connection.module.js +0 -61
  450. package/cli/connection/connection.module.js.map +0 -1
  451. package/cli/connection/transaction-subscriber.d.ts +0 -19
  452. package/cli/connection/transaction-subscriber.js +0 -54
  453. package/cli/connection/transaction-subscriber.js.map +0 -1
  454. package/cli/connection/transaction-wrapper.d.ts +0 -9
  455. package/cli/connection/transaction-wrapper.js +0 -79
  456. package/cli/connection/transaction-wrapper.js.map +0 -1
  457. package/cli/connection/transactional-connection.d.ts +0 -25
  458. package/cli/connection/transactional-connection.js +0 -170
  459. package/cli/connection/transactional-connection.js.map +0 -1
  460. package/cli/connection/types.d.ts +0 -8
  461. package/cli/connection/types.js +0 -3
  462. package/cli/connection/types.js.map +0 -1
  463. package/cli/entity/address/address.entity.d.ts +0 -22
  464. package/cli/entity/address/address.entity.js +0 -80
  465. package/cli/entity/address/address.entity.js.map +0 -1
  466. package/cli/entity/administrator/administrator.entity.d.ts +0 -15
  467. package/cli/entity/administrator/administrator.entity.js +0 -52
  468. package/cli/entity/administrator/administrator.entity.js.map +0 -1
  469. package/cli/entity/asset/asset.entity.d.ts +0 -26
  470. package/cli/entity/asset/asset.entity.js +0 -79
  471. package/cli/entity/asset/asset.entity.js.map +0 -1
  472. package/cli/entity/asset/orderable-asset.entity.d.ts +0 -10
  473. package/cli/entity/asset/orderable-asset.entity.js +0 -34
  474. package/cli/entity/asset/orderable-asset.entity.js.map +0 -1
  475. package/cli/entity/authentication-method/authentication-method.entity.d.ts +0 -5
  476. package/cli/entity/authentication-method/authentication-method.entity.js +0 -27
  477. package/cli/entity/authentication-method/authentication-method.entity.js.map +0 -1
  478. package/cli/entity/authentication-method/external-authentication-method.entity.d.ts +0 -8
  479. package/cli/entity/authentication-method/external-authentication-method.entity.js +0 -37
  480. package/cli/entity/authentication-method/external-authentication-method.entity.js.map +0 -1
  481. package/cli/entity/authentication-method/native-authentication-method.entity.d.ts +0 -11
  482. package/cli/entity/authentication-method/native-authentication-method.entity.js +0 -49
  483. package/cli/entity/authentication-method/native-authentication-method.entity.js.map +0 -1
  484. package/cli/entity/base/base.entity.d.ts +0 -7
  485. package/cli/entity/base/base.entity.js +0 -37
  486. package/cli/entity/base/base.entity.js.map +0 -1
  487. package/cli/entity/channel/channel.entity.d.ts +0 -17
  488. package/cli/entity/channel/channel.entity.js +0 -67
  489. package/cli/entity/channel/channel.entity.js.map +0 -1
  490. package/cli/entity/collection/collection-asset.entity.d.ts +0 -8
  491. package/cli/entity/collection/collection-asset.entity.js +0 -34
  492. package/cli/entity/collection/collection-asset.entity.js.map +0 -1
  493. package/cli/entity/collection/collection-translation.entity.d.ts +0 -16
  494. package/cli/entity/collection/collection-translation.entity.js +0 -52
  495. package/cli/entity/collection/collection-translation.entity.js.map +0 -1
  496. package/cli/entity/collection/collection.entity.d.ts +0 -29
  497. package/cli/entity/collection/collection.entity.js +0 -81
  498. package/cli/entity/collection/collection.entity.js.map +0 -1
  499. package/cli/entity/country/country-translation.entity.d.ts +0 -14
  500. package/cli/entity/country/country-translation.entity.js +0 -44
  501. package/cli/entity/country/country-translation.entity.js.map +0 -1
  502. package/cli/entity/country/country.entity.d.ts +0 -13
  503. package/cli/entity/country/country.entity.js +0 -43
  504. package/cli/entity/country/country.entity.js.map +0 -1
  505. package/cli/entity/custom-entity-fields.d.ts +0 -68
  506. package/cli/entity/custom-entity-fields.js +0 -106
  507. package/cli/entity/custom-entity-fields.js.map +0 -1
  508. package/cli/entity/customer/customer.entity.d.ts +0 -25
  509. package/cli/entity/customer/customer.entity.js +0 -82
  510. package/cli/entity/customer/customer.entity.js.map +0 -1
  511. package/cli/entity/customer-group/customer-group.entity.d.ts +0 -11
  512. package/cli/entity/customer-group/customer-group.entity.js +0 -39
  513. package/cli/entity/customer-group/customer-group.entity.js.map +0 -1
  514. package/cli/entity/entities.d.ts +0 -124
  515. package/cli/entity/entities.js +0 -128
  516. package/cli/entity/entities.js.map +0 -1
  517. package/cli/entity/entity-id.decorator.d.ts +0 -18
  518. package/cli/entity/entity-id.decorator.js +0 -40
  519. package/cli/entity/entity-id.decorator.js.map +0 -1
  520. package/cli/entity/facet/facet-translation.entity.d.ts +0 -14
  521. package/cli/entity/facet/facet-translation.entity.js +0 -44
  522. package/cli/entity/facet/facet-translation.entity.js.map +0 -1
  523. package/cli/entity/facet/facet.entity.d.ts +0 -18
  524. package/cli/entity/facet/facet.entity.js +0 -54
  525. package/cli/entity/facet/facet.entity.js.map +0 -1
  526. package/cli/entity/facet-value/facet-value-translation.entity.d.ts +0 -13
  527. package/cli/entity/facet-value/facet-value-translation.entity.js +0 -44
  528. package/cli/entity/facet-value/facet-value-translation.entity.js.map +0 -1
  529. package/cli/entity/facet-value/facet-value.entity.d.ts +0 -17
  530. package/cli/entity/facet-value/facet-value.entity.js +0 -50
  531. package/cli/entity/facet-value/facet-value.entity.js.map +0 -1
  532. package/cli/entity/fulfillment/fulfillment.entity.d.ts +0 -15
  533. package/cli/entity/fulfillment/fulfillment.entity.js +0 -51
  534. package/cli/entity/fulfillment/fulfillment.entity.js.map +0 -1
  535. package/cli/entity/global-settings/global-settings.entity.d.ts +0 -12
  536. package/cli/entity/global-settings/global-settings.entity.js +0 -42
  537. package/cli/entity/global-settings/global-settings.entity.js.map +0 -1
  538. package/cli/entity/history-entry/customer-history-entry.entity.d.ts +0 -7
  539. package/cli/entity/history-entry/customer-history-entry.entity.js +0 -30
  540. package/cli/entity/history-entry/customer-history-entry.entity.js.map +0 -1
  541. package/cli/entity/history-entry/history-entry.entity.d.ts +0 -9
  542. package/cli/entity/history-entry/history-entry.entity.js +0 -40
  543. package/cli/entity/history-entry/history-entry.entity.js.map +0 -1
  544. package/cli/entity/history-entry/order-history-entry.entity.d.ts +0 -7
  545. package/cli/entity/history-entry/order-history-entry.entity.js +0 -30
  546. package/cli/entity/history-entry/order-history-entry.entity.js.map +0 -1
  547. package/cli/entity/index.d.ts +0 -52
  548. package/cli/entity/index.js +0 -65
  549. package/cli/entity/index.js.map +0 -1
  550. package/cli/entity/order/order.entity.d.ts +0 -48
  551. package/cli/entity/order/order.entity.js +0 -277
  552. package/cli/entity/order/order.entity.js.map +0 -1
  553. package/cli/entity/order-item/order-item.entity.d.ts +0 -35
  554. package/cli/entity/order-item/order-item.entity.js +0 -182
  555. package/cli/entity/order-item/order-item.entity.js.map +0 -1
  556. package/cli/entity/order-line/order-line.entity.d.ts +0 -44
  557. package/cli/entity/order-line/order-line.entity.js +0 -275
  558. package/cli/entity/order-line/order-line.entity.js.map +0 -1
  559. package/cli/entity/order-modification/order-modification.entity.d.ts +0 -21
  560. package/cli/entity/order-modification/order-modification.entity.js +0 -81
  561. package/cli/entity/order-modification/order-modification.entity.js.map +0 -1
  562. package/cli/entity/payment/payment.entity.d.ts +0 -17
  563. package/cli/entity/payment/payment.entity.js +0 -59
  564. package/cli/entity/payment/payment.entity.js.map +0 -1
  565. package/cli/entity/payment-method/payment-method.entity.d.ts +0 -18
  566. package/cli/entity/payment-method/payment-method.entity.js +0 -60
  567. package/cli/entity/payment-method/payment-method.entity.js.map +0 -1
  568. package/cli/entity/product/product-asset.entity.d.ts +0 -8
  569. package/cli/entity/product/product-asset.entity.js +0 -34
  570. package/cli/entity/product/product-asset.entity.js.map +0 -1
  571. package/cli/entity/product/product-translation.entity.d.ts +0 -16
  572. package/cli/entity/product/product-translation.entity.js +0 -52
  573. package/cli/entity/product/product-translation.entity.js.map +0 -1
  574. package/cli/entity/product/product.entity.d.ts +0 -28
  575. package/cli/entity/product/product.entity.js +0 -75
  576. package/cli/entity/product/product.entity.js.map +0 -1
  577. package/cli/entity/product-option/product-option-translation.entity.d.ts +0 -14
  578. package/cli/entity/product-option/product-option-translation.entity.js +0 -44
  579. package/cli/entity/product-option/product-option-translation.entity.js.map +0 -1
  580. package/cli/entity/product-option/product-option.entity.d.ts +0 -17
  581. package/cli/entity/product-option/product-option.entity.js +0 -53
  582. package/cli/entity/product-option/product-option.entity.js.map +0 -1
  583. package/cli/entity/product-option-group/product-option-group-translation.entity.d.ts +0 -14
  584. package/cli/entity/product-option-group/product-option-group-translation.entity.js +0 -44
  585. package/cli/entity/product-option-group/product-option-group-translation.entity.js.map +0 -1
  586. package/cli/entity/product-option-group/product-option-group.entity.d.ts +0 -18
  587. package/cli/entity/product-option-group/product-option-group.entity.js +0 -53
  588. package/cli/entity/product-option-group/product-option-group.entity.js.map +0 -1
  589. package/cli/entity/product-variant/product-variant-asset.entity.d.ts +0 -8
  590. package/cli/entity/product-variant/product-variant-asset.entity.js +0 -34
  591. package/cli/entity/product-variant/product-variant-asset.entity.js.map +0 -1
  592. package/cli/entity/product-variant/product-variant-price.entity.d.ts +0 -9
  593. package/cli/entity/product-variant/product-variant-price.entity.js +0 -39
  594. package/cli/entity/product-variant/product-variant-price.entity.js.map +0 -1
  595. package/cli/entity/product-variant/product-variant-translation.entity.d.ts +0 -14
  596. package/cli/entity/product-variant/product-variant-translation.entity.js +0 -44
  597. package/cli/entity/product-variant/product-variant-translation.entity.js.map +0 -1
  598. package/cli/entity/product-variant/product-variant.entity.d.ts +0 -49
  599. package/cli/entity/product-variant/product-variant.entity.js +0 -155
  600. package/cli/entity/product-variant/product-variant.entity.js.map +0 -1
  601. package/cli/entity/promotion/promotion.entity.d.ts +0 -56
  602. package/cli/entity/promotion/promotion.entity.js +0 -157
  603. package/cli/entity/promotion/promotion.entity.js.map +0 -1
  604. package/cli/entity/refund/refund.entity.d.ts +0 -21
  605. package/cli/entity/refund/refund.entity.js +0 -78
  606. package/cli/entity/refund/refund.entity.js.map +0 -1
  607. package/cli/entity/role/role.entity.d.ts +0 -12
  608. package/cli/entity/role/role.entity.js +0 -43
  609. package/cli/entity/role/role.entity.js.map +0 -1
  610. package/cli/entity/session/anonymous-session.entity.d.ts +0 -5
  611. package/cli/entity/session/anonymous-session.entity.js +0 -25
  612. package/cli/entity/session/anonymous-session.entity.js.map +0 -1
  613. package/cli/entity/session/authenticated-session.entity.d.ts +0 -8
  614. package/cli/entity/session/authenticated-session.entity.js +0 -34
  615. package/cli/entity/session/authenticated-session.entity.js.map +0 -1
  616. package/cli/entity/session/session.entity.d.ts +0 -13
  617. package/cli/entity/session/session.entity.js +0 -54
  618. package/cli/entity/session/session.entity.js.map +0 -1
  619. package/cli/entity/shipping-line/shipping-line.entity.d.ts +0 -24
  620. package/cli/entity/shipping-line/shipping-line.entity.js +0 -128
  621. package/cli/entity/shipping-line/shipping-line.entity.js.map +0 -1
  622. package/cli/entity/shipping-method/shipping-method-translation.entity.d.ts +0 -16
  623. package/cli/entity/shipping-method/shipping-method-translation.entity.js +0 -48
  624. package/cli/entity/shipping-method/shipping-method-translation.entity.js.map +0 -1
  625. package/cli/entity/shipping-method/shipping-method.entity.d.ts +0 -28
  626. package/cli/entity/shipping-method/shipping-method.entity.js +0 -92
  627. package/cli/entity/shipping-method/shipping-method.entity.js.map +0 -1
  628. package/cli/entity/stock-movement/allocation.entity.d.ts +0 -9
  629. package/cli/entity/stock-movement/allocation.entity.js +0 -32
  630. package/cli/entity/stock-movement/allocation.entity.js.map +0 -1
  631. package/cli/entity/stock-movement/cancellation.entity.d.ts +0 -9
  632. package/cli/entity/stock-movement/cancellation.entity.js +0 -32
  633. package/cli/entity/stock-movement/cancellation.entity.js.map +0 -1
  634. package/cli/entity/stock-movement/release.entity.d.ts +0 -9
  635. package/cli/entity/stock-movement/release.entity.js +0 -32
  636. package/cli/entity/stock-movement/release.entity.js.map +0 -1
  637. package/cli/entity/stock-movement/sale.entity.d.ts +0 -9
  638. package/cli/entity/stock-movement/sale.entity.js +0 -32
  639. package/cli/entity/stock-movement/sale.entity.js.map +0 -1
  640. package/cli/entity/stock-movement/stock-adjustment.entity.d.ts +0 -7
  641. package/cli/entity/stock-movement/stock-adjustment.entity.js +0 -27
  642. package/cli/entity/stock-movement/stock-adjustment.entity.js.map +0 -1
  643. package/cli/entity/stock-movement/stock-movement.entity.d.ts +0 -8
  644. package/cli/entity/stock-movement/stock-movement.entity.js +0 -36
  645. package/cli/entity/stock-movement/stock-movement.entity.js.map +0 -1
  646. package/cli/entity/surcharge/surcharge.entity.d.ts +0 -18
  647. package/cli/entity/surcharge/surcharge.entity.js +0 -82
  648. package/cli/entity/surcharge/surcharge.entity.js.map +0 -1
  649. package/cli/entity/tag/tag.entity.d.ts +0 -6
  650. package/cli/entity/tag/tag.entity.js +0 -29
  651. package/cli/entity/tag/tag.entity.js.map +0 -1
  652. package/cli/entity/tax-category/tax-category.entity.d.ts +0 -10
  653. package/cli/entity/tax-category/tax-category.entity.js +0 -38
  654. package/cli/entity/tax-category/tax-category.entity.js.map +0 -1
  655. package/cli/entity/tax-rate/tax-rate.entity.d.ts +0 -24
  656. package/cli/entity/tax-rate/tax-rate.entity.js +0 -81
  657. package/cli/entity/tax-rate/tax-rate.entity.js.map +0 -1
  658. package/cli/entity/user/user.entity.d.ts +0 -19
  659. package/cli/entity/user/user.entity.js +0 -69
  660. package/cli/entity/user/user.entity.js.map +0 -1
  661. package/cli/entity/value-transformers.d.ts +0 -5
  662. package/cli/entity/value-transformers.js +0 -13
  663. package/cli/entity/value-transformers.js.map +0 -1
  664. package/cli/entity/zone/zone.entity.d.ts +0 -11
  665. package/cli/entity/zone/zone.entity.js +0 -40
  666. package/cli/entity/zone/zone.entity.js.map +0 -1
  667. package/cli/event-bus/event-bus.d.ts +0 -15
  668. package/cli/event-bus/event-bus.js +0 -51
  669. package/cli/event-bus/event-bus.js.map +0 -1
  670. package/cli/event-bus/event-bus.module.d.ts +0 -2
  671. package/cli/event-bus/event-bus.module.js +0 -23
  672. package/cli/event-bus/event-bus.module.js.map +0 -1
  673. package/cli/event-bus/events/account-registration-event.d.ts +0 -8
  674. package/cli/event-bus/events/account-registration-event.js +0 -13
  675. package/cli/event-bus/events/account-registration-event.js.map +0 -1
  676. package/cli/event-bus/events/account-verified-event.d.ts +0 -8
  677. package/cli/event-bus/events/account-verified-event.js +0 -13
  678. package/cli/event-bus/events/account-verified-event.js.map +0 -1
  679. package/cli/event-bus/events/administrator-event.d.ts +0 -10
  680. package/cli/event-bus/events/administrator-event.js +0 -11
  681. package/cli/event-bus/events/administrator-event.js.map +0 -1
  682. package/cli/event-bus/events/asset-channel-event.d.ts +0 -11
  683. package/cli/event-bus/events/asset-channel-event.js +0 -15
  684. package/cli/event-bus/events/asset-channel-event.js.map +0 -1
  685. package/cli/event-bus/events/asset-event.d.ts +0 -11
  686. package/cli/event-bus/events/asset-event.js +0 -14
  687. package/cli/event-bus/events/asset-event.js.map +0 -1
  688. package/cli/event-bus/events/attempted-login-event.d.ts +0 -8
  689. package/cli/event-bus/events/attempted-login-event.js +0 -14
  690. package/cli/event-bus/events/attempted-login-event.js.map +0 -1
  691. package/cli/event-bus/events/change-channel-event.d.ts +0 -13
  692. package/cli/event-bus/events/change-channel-event.js +0 -16
  693. package/cli/event-bus/events/change-channel-event.js.map +0 -1
  694. package/cli/event-bus/events/channel-event.d.ts +0 -10
  695. package/cli/event-bus/events/channel-event.js +0 -11
  696. package/cli/event-bus/events/channel-event.js.map +0 -1
  697. package/cli/event-bus/events/collection-event.d.ts +0 -10
  698. package/cli/event-bus/events/collection-event.js +0 -11
  699. package/cli/event-bus/events/collection-event.js.map +0 -1
  700. package/cli/event-bus/events/collection-modification-event.d.ts +0 -10
  701. package/cli/event-bus/events/collection-modification-event.js +0 -14
  702. package/cli/event-bus/events/collection-modification-event.js.map +0 -1
  703. package/cli/event-bus/events/country-event.d.ts +0 -10
  704. package/cli/event-bus/events/country-event.js +0 -11
  705. package/cli/event-bus/events/country-event.js.map +0 -1
  706. package/cli/event-bus/events/coupon-code-event.d.ts +0 -10
  707. package/cli/event-bus/events/coupon-code-event.js +0 -15
  708. package/cli/event-bus/events/coupon-code-event.js.map +0 -1
  709. package/cli/event-bus/events/customer-address-event.d.ts +0 -15
  710. package/cli/event-bus/events/customer-address-event.js +0 -18
  711. package/cli/event-bus/events/customer-address-event.js.map +0 -1
  712. package/cli/event-bus/events/customer-event.d.ts +0 -13
  713. package/cli/event-bus/events/customer-event.js +0 -14
  714. package/cli/event-bus/events/customer-event.js.map +0 -1
  715. package/cli/event-bus/events/customer-group-entity-event.d.ts +0 -10
  716. package/cli/event-bus/events/customer-group-entity-event.js +0 -11
  717. package/cli/event-bus/events/customer-group-entity-event.js.map +0 -1
  718. package/cli/event-bus/events/customer-group-event.d.ts +0 -18
  719. package/cli/event-bus/events/customer-group-event.js +0 -25
  720. package/cli/event-bus/events/customer-group-event.js.map +0 -1
  721. package/cli/event-bus/events/facet-event.d.ts +0 -10
  722. package/cli/event-bus/events/facet-event.js +0 -11
  723. package/cli/event-bus/events/facet-event.js.map +0 -1
  724. package/cli/event-bus/events/facet-value-event.d.ts +0 -10
  725. package/cli/event-bus/events/facet-value-event.js +0 -11
  726. package/cli/event-bus/events/facet-value-event.js.map +0 -1
  727. package/cli/event-bus/events/fulfillment-event.d.ts +0 -14
  728. package/cli/event-bus/events/fulfillment-event.js +0 -11
  729. package/cli/event-bus/events/fulfillment-event.js.map +0 -1
  730. package/cli/event-bus/events/fulfillment-state-transition-event.d.ts +0 -11
  731. package/cli/event-bus/events/fulfillment-state-transition-event.js +0 -15
  732. package/cli/event-bus/events/fulfillment-state-transition-event.js.map +0 -1
  733. package/cli/event-bus/events/global-settings-event.d.ts +0 -7
  734. package/cli/event-bus/events/global-settings-event.js +0 -11
  735. package/cli/event-bus/events/global-settings-event.js.map +0 -1
  736. package/cli/event-bus/events/history-entry-event.d.ts +0 -14
  737. package/cli/event-bus/events/history-entry-event.js +0 -12
  738. package/cli/event-bus/events/history-entry-event.js.map +0 -1
  739. package/cli/event-bus/events/identifier-change-event.d.ts +0 -9
  740. package/cli/event-bus/events/identifier-change-event.js +0 -14
  741. package/cli/event-bus/events/identifier-change-event.js.map +0 -1
  742. package/cli/event-bus/events/identifier-change-request-event.d.ts +0 -8
  743. package/cli/event-bus/events/identifier-change-request-event.js +0 -13
  744. package/cli/event-bus/events/identifier-change-request-event.js.map +0 -1
  745. package/cli/event-bus/events/login-event.d.ts +0 -8
  746. package/cli/event-bus/events/login-event.js +0 -13
  747. package/cli/event-bus/events/login-event.js.map +0 -1
  748. package/cli/event-bus/events/logout-event.d.ts +0 -6
  749. package/cli/event-bus/events/logout-event.js +0 -12
  750. package/cli/event-bus/events/logout-event.js.map +0 -1
  751. package/cli/event-bus/events/order-event.d.ts +0 -9
  752. package/cli/event-bus/events/order-event.js +0 -14
  753. package/cli/event-bus/events/order-event.js.map +0 -1
  754. package/cli/event-bus/events/order-line-event.d.ts +0 -10
  755. package/cli/event-bus/events/order-line-event.js +0 -15
  756. package/cli/event-bus/events/order-line-event.js.map +0 -1
  757. package/cli/event-bus/events/order-placed-event.d.ts +0 -11
  758. package/cli/event-bus/events/order-placed-event.js +0 -15
  759. package/cli/event-bus/events/order-placed-event.js.map +0 -1
  760. package/cli/event-bus/events/order-state-transition-event.d.ts +0 -11
  761. package/cli/event-bus/events/order-state-transition-event.js +0 -15
  762. package/cli/event-bus/events/order-state-transition-event.js.map +0 -1
  763. package/cli/event-bus/events/password-reset-event.d.ts +0 -8
  764. package/cli/event-bus/events/password-reset-event.js +0 -13
  765. package/cli/event-bus/events/password-reset-event.js.map +0 -1
  766. package/cli/event-bus/events/password-reset-verified-event.d.ts +0 -8
  767. package/cli/event-bus/events/password-reset-verified-event.js +0 -13
  768. package/cli/event-bus/events/password-reset-verified-event.js.map +0 -1
  769. package/cli/event-bus/events/payment-method-event.d.ts +0 -10
  770. package/cli/event-bus/events/payment-method-event.js +0 -11
  771. package/cli/event-bus/events/payment-method-event.js.map +0 -1
  772. package/cli/event-bus/events/payment-state-transition-event.d.ts +0 -13
  773. package/cli/event-bus/events/payment-state-transition-event.js +0 -16
  774. package/cli/event-bus/events/payment-state-transition-event.js.map +0 -1
  775. package/cli/event-bus/events/product-channel-event.d.ts +0 -11
  776. package/cli/event-bus/events/product-channel-event.js +0 -15
  777. package/cli/event-bus/events/product-channel-event.js.map +0 -1
  778. package/cli/event-bus/events/product-event.d.ts +0 -11
  779. package/cli/event-bus/events/product-event.js +0 -14
  780. package/cli/event-bus/events/product-event.js.map +0 -1
  781. package/cli/event-bus/events/product-option-event.d.ts +0 -10
  782. package/cli/event-bus/events/product-option-event.js +0 -11
  783. package/cli/event-bus/events/product-option-event.js.map +0 -1
  784. package/cli/event-bus/events/product-option-group-change-event.d.ts +0 -11
  785. package/cli/event-bus/events/product-option-group-change-event.js +0 -15
  786. package/cli/event-bus/events/product-option-group-change-event.js.map +0 -1
  787. package/cli/event-bus/events/product-option-group-event.d.ts +0 -10
  788. package/cli/event-bus/events/product-option-group-event.js +0 -11
  789. package/cli/event-bus/events/product-option-group-event.js.map +0 -1
  790. package/cli/event-bus/events/product-variant-channel-event.d.ts +0 -11
  791. package/cli/event-bus/events/product-variant-channel-event.js +0 -15
  792. package/cli/event-bus/events/product-variant-channel-event.js.map +0 -1
  793. package/cli/event-bus/events/product-variant-event.d.ts +0 -11
  794. package/cli/event-bus/events/product-variant-event.js +0 -14
  795. package/cli/event-bus/events/product-variant-event.js.map +0 -1
  796. package/cli/event-bus/events/promotion-event.d.ts +0 -10
  797. package/cli/event-bus/events/promotion-event.js +0 -11
  798. package/cli/event-bus/events/promotion-event.js.map +0 -1
  799. package/cli/event-bus/events/refund-state-transition-event.d.ts +0 -13
  800. package/cli/event-bus/events/refund-state-transition-event.js +0 -16
  801. package/cli/event-bus/events/refund-state-transition-event.js.map +0 -1
  802. package/cli/event-bus/events/role-change-event.d.ts +0 -11
  803. package/cli/event-bus/events/role-change-event.js +0 -15
  804. package/cli/event-bus/events/role-change-event.js.map +0 -1
  805. package/cli/event-bus/events/role-event.d.ts +0 -10
  806. package/cli/event-bus/events/role-event.js +0 -11
  807. package/cli/event-bus/events/role-event.js.map +0 -1
  808. package/cli/event-bus/events/shipping-method-event.d.ts +0 -10
  809. package/cli/event-bus/events/shipping-method-event.js +0 -11
  810. package/cli/event-bus/events/shipping-method-event.js.map +0 -1
  811. package/cli/event-bus/events/stock-movement-event.d.ts +0 -10
  812. package/cli/event-bus/events/stock-movement-event.js +0 -15
  813. package/cli/event-bus/events/stock-movement-event.js.map +0 -1
  814. package/cli/event-bus/events/tax-category-event.d.ts +0 -10
  815. package/cli/event-bus/events/tax-category-event.js +0 -11
  816. package/cli/event-bus/events/tax-category-event.js.map +0 -1
  817. package/cli/event-bus/events/tax-rate-event.d.ts +0 -10
  818. package/cli/event-bus/events/tax-rate-event.js +0 -11
  819. package/cli/event-bus/events/tax-rate-event.js.map +0 -1
  820. package/cli/event-bus/events/tax-rate-modification-event.d.ts +0 -8
  821. package/cli/event-bus/events/tax-rate-modification-event.js +0 -13
  822. package/cli/event-bus/events/tax-rate-modification-event.js.map +0 -1
  823. package/cli/event-bus/events/zone-event.d.ts +0 -10
  824. package/cli/event-bus/events/zone-event.js +0 -11
  825. package/cli/event-bus/events/zone-event.js.map +0 -1
  826. package/cli/event-bus/events/zone-members-event.d.ts +0 -11
  827. package/cli/event-bus/events/zone-members-event.js +0 -15
  828. package/cli/event-bus/events/zone-members-event.js.map +0 -1
  829. package/cli/event-bus/index.d.ts +0 -55
  830. package/cli/event-bus/index.js +0 -68
  831. package/cli/event-bus/index.js.map +0 -1
  832. package/cli/event-bus/vendure-entity-event.d.ts +0 -9
  833. package/cli/event-bus/vendure-entity-event.js +0 -15
  834. package/cli/event-bus/vendure-entity-event.js.map +0 -1
  835. package/cli/event-bus/vendure-event.d.ts +0 -4
  836. package/cli/event-bus/vendure-event.js +0 -10
  837. package/cli/event-bus/vendure-event.js.map +0 -1
  838. package/cli/health-check/constants.d.ts +0 -1
  839. package/cli/health-check/constants.js +0 -5
  840. package/cli/health-check/constants.js.map +0 -1
  841. package/cli/i18n/i18n-error.d.ts +0 -13
  842. package/cli/i18n/i18n-error.js +0 -16
  843. package/cli/i18n/i18n-error.js.map +0 -1
  844. package/cli/job-queue/constants.d.ts +0 -1
  845. package/cli/job-queue/constants.js +0 -5
  846. package/cli/job-queue/constants.js.map +0 -1
  847. package/cli/job-queue/in-memory-job-queue-strategy.d.ts +0 -34
  848. package/cli/job-queue/in-memory-job-queue-strategy.js +0 -187
  849. package/cli/job-queue/in-memory-job-queue-strategy.js.map +0 -1
  850. package/cli/job-queue/index.d.ts +0 -11
  851. package/cli/job-queue/index.js +0 -24
  852. package/cli/job-queue/index.js.map +0 -1
  853. package/cli/job-queue/injectable-job-queue-strategy.d.ts +0 -12
  854. package/cli/job-queue/injectable-job-queue-strategy.js +0 -21
  855. package/cli/job-queue/injectable-job-queue-strategy.js.map +0 -1
  856. package/cli/job-queue/job-buffer/in-memory-job-buffer-storage-strategy.d.ts +0 -13
  857. package/cli/job-queue/job-buffer/in-memory-job-buffer-storage-strategy.js +0 -47
  858. package/cli/job-queue/job-buffer/in-memory-job-buffer-storage-strategy.js.map +0 -1
  859. package/cli/job-queue/job-buffer/job-buffer-storage-strategy.d.ts +0 -11
  860. package/cli/job-queue/job-buffer/job-buffer-storage-strategy.js +0 -3
  861. package/cli/job-queue/job-buffer/job-buffer-storage-strategy.js.map +0 -1
  862. package/cli/job-queue/job-buffer/job-buffer.d.ts +0 -7
  863. package/cli/job-queue/job-buffer/job-buffer.js +0 -3
  864. package/cli/job-queue/job-buffer/job-buffer.js.map +0 -1
  865. package/cli/job-queue/job-buffer/job-buffer.service.d.ts +0 -16
  866. package/cli/job-queue/job-buffer/job-buffer.service.js +0 -76
  867. package/cli/job-queue/job-buffer/job-buffer.service.js.map +0 -1
  868. package/cli/job-queue/job-queue.d.ts +0 -16
  869. package/cli/job-queue/job-queue.js +0 -59
  870. package/cli/job-queue/job-queue.js.map +0 -1
  871. package/cli/job-queue/job-queue.service.d.ts +0 -27
  872. package/cli/job-queue/job-queue.service.js +0 -84
  873. package/cli/job-queue/job-queue.service.js.map +0 -1
  874. package/cli/job-queue/job.d.ts +0 -41
  875. package/cli/job-queue/job.js +0 -160
  876. package/cli/job-queue/job.js.map +0 -1
  877. package/cli/job-queue/polling-job-queue-strategy.d.ts +0 -26
  878. package/cli/job-queue/polling-job-queue-strategy.js +0 -163
  879. package/cli/job-queue/polling-job-queue-strategy.js.map +0 -1
  880. package/cli/job-queue/queue-name-process-storage.d.ts +0 -7
  881. package/cli/job-queue/queue-name-process-storage.js +0 -40
  882. package/cli/job-queue/queue-name-process-storage.js.map +0 -1
  883. package/cli/job-queue/subscribable-job.d.ts +0 -13
  884. package/cli/job-queue/subscribable-job.js +0 -52
  885. package/cli/job-queue/subscribable-job.js.map +0 -1
  886. package/cli/job-queue/types.d.ts +0 -22
  887. package/cli/job-queue/types.js +0 -3
  888. package/cli/job-queue/types.js.map +0 -1
  889. package/cli/process-context/process-context.d.ts +0 -7
  890. package/cli/process-context/process-context.js +0 -18
  891. package/cli/process-context/process-context.js.map +0 -1
  892. package/cli/service/helpers/config-arg/config-arg.service.d.ts +0 -31
  893. package/cli/service/helpers/config-arg/config-arg.service.js +0 -88
  894. package/cli/service/helpers/config-arg/config-arg.service.js.map +0 -1
  895. package/cli/service/helpers/custom-field-relation/custom-field-relation.service.d.ts +0 -18
  896. package/cli/service/helpers/custom-field-relation/custom-field-relation.service.js +0 -63
  897. package/cli/service/helpers/custom-field-relation/custom-field-relation.service.js.map +0 -1
  898. package/cli/service/helpers/fulfillment-state-machine/fulfillment-state-machine.d.ts +0 -21
  899. package/cli/service/helpers/fulfillment-state-machine/fulfillment-state-machine.js +0 -113
  900. package/cli/service/helpers/fulfillment-state-machine/fulfillment-state-machine.js.map +0 -1
  901. package/cli/service/helpers/fulfillment-state-machine/fulfillment-state.d.ts +0 -11
  902. package/cli/service/helpers/fulfillment-state-machine/fulfillment-state.js +0 -21
  903. package/cli/service/helpers/fulfillment-state-machine/fulfillment-state.js.map +0 -1
  904. package/cli/service/helpers/list-query-builder/connection-utils.d.ts +0 -10
  905. package/cli/service/helpers/list-query-builder/connection-utils.js +0 -26
  906. package/cli/service/helpers/list-query-builder/connection-utils.js.map +0 -1
  907. package/cli/service/helpers/list-query-builder/get-calculated-columns.d.ts +0 -3
  908. package/cli/service/helpers/list-query-builder/get-calculated-columns.js +0 -16
  909. package/cli/service/helpers/list-query-builder/get-calculated-columns.js.map +0 -1
  910. package/cli/service/helpers/list-query-builder/list-query-builder.d.ts +0 -30
  911. package/cli/service/helpers/list-query-builder/list-query-builder.js +0 -204
  912. package/cli/service/helpers/list-query-builder/list-query-builder.js.map +0 -1
  913. package/cli/service/helpers/list-query-builder/parse-channel-param.d.ts +0 -5
  914. package/cli/service/helpers/list-query-builder/parse-channel-param.js +0 -18
  915. package/cli/service/helpers/list-query-builder/parse-channel-param.js.map +0 -1
  916. package/cli/service/helpers/list-query-builder/parse-filter-params.d.ts +0 -13
  917. package/cli/service/helpers/list-query-builder/parse-filter-params.js +0 -155
  918. package/cli/service/helpers/list-query-builder/parse-filter-params.js.map +0 -1
  919. package/cli/service/helpers/list-query-builder/parse-sort-params.d.ts +0 -7
  920. package/cli/service/helpers/list-query-builder/parse-sort-params.js +0 -50
  921. package/cli/service/helpers/list-query-builder/parse-sort-params.js.map +0 -1
  922. package/cli/service/helpers/order-calculator/order-calculator.d.ts +0 -32
  923. package/cli/service/helpers/order-calculator/order-calculator.js +0 -311
  924. package/cli/service/helpers/order-calculator/order-calculator.js.map +0 -1
  925. package/cli/service/helpers/order-calculator/prorate.d.ts +0 -1
  926. package/cli/service/helpers/order-calculator/prorate.js +0 -35
  927. package/cli/service/helpers/order-calculator/prorate.js.map +0 -1
  928. package/cli/service/helpers/order-merger/order-merger.d.ts +0 -40
  929. package/cli/service/helpers/order-merger/order-merger.js +0 -97
  930. package/cli/service/helpers/order-merger/order-merger.js.map +0 -1
  931. package/cli/service/helpers/order-modifier/order-modifier.d.ts +0 -45
  932. package/cli/service/helpers/order-modifier/order-modifier.js +0 -423
  933. package/cli/service/helpers/order-modifier/order-modifier.js.map +0 -1
  934. package/cli/service/helpers/order-state-machine/order-state-machine.d.ts +0 -29
  935. package/cli/service/helpers/order-state-machine/order-state-machine.js +0 -240
  936. package/cli/service/helpers/order-state-machine/order-state-machine.js.map +0 -1
  937. package/cli/service/helpers/order-state-machine/order-state.d.ts +0 -9
  938. package/cli/service/helpers/order-state-machine/order-state.js +0 -64
  939. package/cli/service/helpers/order-state-machine/order-state.js.map +0 -1
  940. package/cli/service/helpers/password-cipher/password-cipher.d.ts +0 -7
  941. package/cli/service/helpers/password-cipher/password-cipher.js +0 -31
  942. package/cli/service/helpers/password-cipher/password-cipher.js.map +0 -1
  943. package/cli/service/helpers/payment-state-machine/payment-state-machine.d.ts +0 -20
  944. package/cli/service/helpers/payment-state-machine/payment-state-machine.js +0 -113
  945. package/cli/service/helpers/payment-state-machine/payment-state-machine.js.map +0 -1
  946. package/cli/service/helpers/payment-state-machine/payment-state.d.ts +0 -11
  947. package/cli/service/helpers/payment-state-machine/payment-state.js +0 -24
  948. package/cli/service/helpers/payment-state-machine/payment-state.js.map +0 -1
  949. package/cli/service/helpers/product-price-applicator/product-price-applicator.d.ts +0 -15
  950. package/cli/service/helpers/product-price-applicator/product-price-applicator.js +0 -64
  951. package/cli/service/helpers/product-price-applicator/product-price-applicator.js.map +0 -1
  952. package/cli/service/helpers/refund-state-machine/refund-state-machine.d.ts +0 -14
  953. package/cli/service/helpers/refund-state-machine/refund-state-machine.js +0 -65
  954. package/cli/service/helpers/refund-state-machine/refund-state-machine.js.map +0 -1
  955. package/cli/service/helpers/refund-state-machine/refund-state.d.ts +0 -11
  956. package/cli/service/helpers/refund-state-machine/refund-state.js +0 -15
  957. package/cli/service/helpers/refund-state-machine/refund-state.js.map +0 -1
  958. package/cli/service/helpers/request-context/request-context.service.d.ts +0 -29
  959. package/cli/service/helpers/request-context/request-context.service.js +0 -127
  960. package/cli/service/helpers/request-context/request-context.service.js.map +0 -1
  961. package/cli/service/helpers/shipping-calculator/shipping-calculator.d.ts +0 -18
  962. package/cli/service/helpers/shipping-calculator/shipping-calculator.js +0 -50
  963. package/cli/service/helpers/shipping-calculator/shipping-calculator.js.map +0 -1
  964. package/cli/service/helpers/translatable-saver/translatable-saver.d.ts +0 -24
  965. package/cli/service/helpers/translatable-saver/translatable-saver.js +0 -64
  966. package/cli/service/helpers/translatable-saver/translatable-saver.js.map +0 -1
  967. package/cli/service/helpers/translatable-saver/translation-differ.d.ts +0 -17
  968. package/cli/service/helpers/translatable-saver/translation-differ.js +0 -65
  969. package/cli/service/helpers/translatable-saver/translation-differ.js.map +0 -1
  970. package/cli/service/helpers/utils/address-to-line.d.ts +0 -3
  971. package/cli/service/helpers/utils/address-to-line.js +0 -21
  972. package/cli/service/helpers/utils/address-to-line.js.map +0 -1
  973. package/cli/service/helpers/utils/get-user-channels-permissions.d.ts +0 -10
  974. package/cli/service/helpers/utils/get-user-channels-permissions.js +0 -26
  975. package/cli/service/helpers/utils/get-user-channels-permissions.js.map +0 -1
  976. package/cli/service/helpers/utils/order-utils.d.ts +0 -9
  977. package/cli/service/helpers/utils/order-utils.js +0 -64
  978. package/cli/service/helpers/utils/order-utils.js.map +0 -1
  979. package/cli/service/helpers/utils/patch-entity.d.ts +0 -5
  980. package/cli/service/helpers/utils/patch-entity.js +0 -17
  981. package/cli/service/helpers/utils/patch-entity.js.map +0 -1
  982. package/cli/service/helpers/utils/samples-each.d.ts +0 -1
  983. package/cli/service/helpers/utils/samples-each.js +0 -18
  984. package/cli/service/helpers/utils/samples-each.js.map +0 -1
  985. package/cli/service/helpers/utils/translate-entity.d.ts +0 -24
  986. package/cli/service/helpers/utils/translate-entity.js +0 -99
  987. package/cli/service/helpers/utils/translate-entity.js.map +0 -1
  988. package/cli/service/helpers/verification-token-generator/verification-token-generator.d.ts +0 -7
  989. package/cli/service/helpers/verification-token-generator/verification-token-generator.js +0 -44
  990. package/cli/service/helpers/verification-token-generator/verification-token-generator.js.map +0 -1
  991. package/cli/service/services/administrator.service.d.ts +0 -36
  992. package/cli/service/services/administrator.service.js +0 -230
  993. package/cli/service/services/administrator.service.js.map +0 -1
  994. package/cli/service/services/asset.service.d.ts +0 -63
  995. package/cli/service/services/asset.service.js +0 -478
  996. package/cli/service/services/asset.service.js.map +0 -1
  997. package/cli/service/services/channel.service.d.ts +0 -38
  998. package/cli/service/services/channel.service.js +0 -222
  999. package/cli/service/services/channel.service.js.map +0 -1
  1000. package/cli/service/services/country.service.d.ts +0 -24
  1001. package/cli/service/services/country.service.js +0 -119
  1002. package/cli/service/services/country.service.js.map +0 -1
  1003. package/cli/service/services/customer.service.d.ts +0 -62
  1004. package/cli/service/services/customer.service.js +0 -662
  1005. package/cli/service/services/customer.service.js.map +0 -1
  1006. package/cli/service/services/facet-value.service.d.ts +0 -32
  1007. package/cli/service/services/facet-value.service.js +0 -151
  1008. package/cli/service/services/facet-value.service.js.map +0 -1
  1009. package/cli/service/services/fulfillment.service.d.ts +0 -32
  1010. package/cli/service/services/fulfillment.service.js +0 -106
  1011. package/cli/service/services/fulfillment.service.js.map +0 -1
  1012. package/cli/service/services/global-settings.service.d.ts +0 -17
  1013. package/cli/service/services/global-settings.service.js +0 -74
  1014. package/cli/service/services/global-settings.service.js.map +0 -1
  1015. package/cli/service/services/history.service.d.ts +0 -139
  1016. package/cli/service/services/history.service.js +0 -143
  1017. package/cli/service/services/history.service.js.map +0 -1
  1018. package/cli/service/services/order.service.d.ts +0 -136
  1019. package/cli/service/services/order.service.js +0 -1158
  1020. package/cli/service/services/order.service.js.map +0 -1
  1021. package/cli/service/services/payment-method.service.d.ts +0 -37
  1022. package/cli/service/services/payment-method.service.js +0 -178
  1023. package/cli/service/services/payment-method.service.js.map +0 -1
  1024. package/cli/service/services/payment.service.d.ts +0 -32
  1025. package/cli/service/services/payment.service.js +0 -216
  1026. package/cli/service/services/payment.service.js.map +0 -1
  1027. package/cli/service/services/product-variant.service.d.ts +0 -70
  1028. package/cli/service/services/product-variant.service.js +0 -560
  1029. package/cli/service/services/product-variant.service.js.map +0 -1
  1030. package/cli/service/services/promotion.service.d.ts +0 -41
  1031. package/cli/service/services/promotion.service.js +0 -219
  1032. package/cli/service/services/promotion.service.js.map +0 -1
  1033. package/cli/service/services/role.service.d.ts +0 -39
  1034. package/cli/service/services/role.service.js +0 -240
  1035. package/cli/service/services/role.service.js.map +0 -1
  1036. package/cli/service/services/session.service.d.ts +0 -38
  1037. package/cli/service/services/session.service.js +0 -228
  1038. package/cli/service/services/session.service.js.map +0 -1
  1039. package/cli/service/services/shipping-method.service.d.ts +0 -36
  1040. package/cli/service/services/shipping-method.service.js +0 -181
  1041. package/cli/service/services/shipping-method.service.js.map +0 -1
  1042. package/cli/service/services/stock-movement.service.d.ts +0 -39
  1043. package/cli/service/services/stock-movement.service.js +0 -214
  1044. package/cli/service/services/stock-movement.service.js.map +0 -1
  1045. package/cli/service/services/tag.service.d.ts +0 -21
  1046. package/cli/service/services/tag.service.js +0 -82
  1047. package/cli/service/services/tag.service.js.map +0 -1
  1048. package/cli/service/services/tax-category.service.d.ts +0 -16
  1049. package/cli/service/services/tax-category.service.js +0 -95
  1050. package/cli/service/services/tax-category.service.js.map +0 -1
  1051. package/cli/service/services/tax-rate.service.d.ts +0 -28
  1052. package/cli/service/services/tax-rate.service.js +0 -134
  1053. package/cli/service/services/tax-rate.service.js.map +0 -1
  1054. package/cli/service/services/user.service.d.ts +0 -37
  1055. package/cli/service/services/user.service.js +0 -287
  1056. package/cli/service/services/user.service.js.map +0 -1
  1057. package/cli/service/services/zone.service.d.ts +0 -26
  1058. package/cli/service/services/zone.service.js +0 -168
  1059. package/cli/service/services/zone.service.js.map +0 -1
@@ -1,87 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
- Object.defineProperty(o, "default", { enumerable: true, value: v });
11
- }) : function(o, v) {
12
- o["default"] = v;
13
- });
14
- var __importStar = (this && this.__importStar) || function (mod) {
15
- if (mod && mod.__esModule) return mod;
16
- var result = {};
17
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
- __setModuleDefault(result, mod);
19
- return result;
20
- };
21
- var __importDefault = (this && this.__importDefault) || function (mod) {
22
- return (mod && mod.__esModule) ? mod : { "default": mod };
23
- };
24
- Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.NativeAuthenticationStrategy = exports.NATIVE_AUTH_STRATEGY_NAME = void 0;
26
- const graphql_tag_1 = __importDefault(require("graphql-tag"));
27
- const transactional_connection_1 = require("../../connection/transactional-connection");
28
- const native_authentication_method_entity_1 = require("../../entity/authentication-method/native-authentication-method.entity");
29
- const user_entity_1 = require("../../entity/user/user.entity");
30
- exports.NATIVE_AUTH_STRATEGY_NAME = 'native';
31
- class NativeAuthenticationStrategy {
32
- constructor() {
33
- this.name = exports.NATIVE_AUTH_STRATEGY_NAME;
34
- }
35
- async init(injector) {
36
- this.connection = injector.get(transactional_connection_1.TransactionalConnection);
37
- const { PasswordCipher } = await Promise.resolve().then(() => __importStar(require('../../service/helpers/password-cipher/password-cipher')));
38
- this.passwordCipher = injector.get(PasswordCipher);
39
- }
40
- defineInputType() {
41
- return graphql_tag_1.default `
42
- input NativeAuthInput {
43
- username: String!
44
- password: String!
45
- }
46
- `;
47
- }
48
- async authenticate(ctx, data) {
49
- const user = await this.getUserFromIdentifier(ctx, data.username);
50
- if (!user) {
51
- return false;
52
- }
53
- const passwordMatch = await this.verifyUserPassword(ctx, user.id, data.password);
54
- if (!passwordMatch) {
55
- return false;
56
- }
57
- return user;
58
- }
59
- getUserFromIdentifier(ctx, identifier) {
60
- return this.connection.getRepository(ctx, user_entity_1.User).findOne({
61
- where: { identifier, deletedAt: null },
62
- relations: ['roles', 'roles.channels'],
63
- });
64
- }
65
- async verifyUserPassword(ctx, userId, password) {
66
- var _a, _b;
67
- const user = await this.connection.getRepository(ctx, user_entity_1.User).findOne(userId, {
68
- relations: ['authenticationMethods'],
69
- });
70
- if (!user) {
71
- return false;
72
- }
73
- const nativeAuthMethod = user.getNativeAuthenticationMethod();
74
- const pw = (_b = (_a = (await this.connection
75
- .getRepository(ctx, native_authentication_method_entity_1.NativeAuthenticationMethod)
76
- .findOne(nativeAuthMethod.id, {
77
- select: ['passwordHash'],
78
- }))) === null || _a === void 0 ? void 0 : _a.passwordHash) !== null && _b !== void 0 ? _b : '';
79
- const passwordMatches = await this.passwordCipher.check(password, pw);
80
- if (!passwordMatches) {
81
- return false;
82
- }
83
- return true;
84
- }
85
- }
86
- exports.NativeAuthenticationStrategy = NativeAuthenticationStrategy;
87
- //# sourceMappingURL=native-authentication-strategy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"native-authentication-strategy.js","sourceRoot":"","sources":["../../../src/config/auth/native-authentication-strategy.ts"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P,CAAC;IAKD,KAAK,CAAC,kBAAkB,CAAC,GAAmB,EAAE,MAAU,EAAE,QAAgB;;QACtE,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,GAAG,EAAE,kBAAI,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE;YACxE,SAAS,EAAE,CAAC,uBAAuB,CAAC;SACvC,CAAC,CAAC;QACH,IAAI,CAAC,IAAI,EAAE;YACP,OAAO,KAAK,CAAC;SAChB;QACD,MAAM,gBAAgB,GAAG,IAAI,CAAC,6BAA6B,EAAE,CAAC;QAC9D,MAAM,EAAE,GACJ,MAAA,MAAA,CACI,MAAM,IAAI,CAAC,UAAU;aAChB,aAAa,CAAC,GAAG,EAAE,gEAA0B,CAAC;aAC9C,OAAO,CAAC,gBAAgB,CAAC,EAAE,EAAE;YAC1B,MAAM,EAAE,CAAC,cAAc,CAAC;SAC3B,CAAC,CACT,0CAAE,YAAY,mCAAI,EAAE,CAAC;QAC1B,MAAM,eAAe,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;QACtE,IAAI,CAAC,eAAe,EAAE;YAClB,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAlED,oEAkEC"}
@@ -1,5 +0,0 @@
1
- import { InjectableStrategy } from '../../common/types/injectable-strategy';
2
- export interface PasswordHashingStrategy extends InjectableStrategy {
3
- hash(plaintext: string): Promise<string>;
4
- check(plaintext: string, hash: string): Promise<boolean>;
5
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=password-hashing-strategy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"password-hashing-strategy.js","sourceRoot":"","sources":["../../../src/config/auth/password-hashing-strategy.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import { RequestContext } from '../../api/index';
2
- import { InjectableStrategy } from '../../common/types/injectable-strategy';
3
- export interface PasswordValidationStrategy extends InjectableStrategy {
4
- validate(ctx: RequestContext, password: string): Promise<boolean | string> | boolean | string;
5
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=password-validation-strategy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"password-validation-strategy.js","sourceRoot":"","sources":["../../../src/config/auth/password-validation-strategy.ts"],"names":[],"mappings":""}
@@ -1,13 +0,0 @@
1
- import { ConfigArg } from '@vendure/common/lib/generated-types';
2
- import { SelectQueryBuilder } from 'typeorm';
3
- import { ConfigArgs, ConfigArgValues, ConfigurableOperationDef, ConfigurableOperationDefOptions } from '../../common/configurable-operation';
4
- import { ProductVariant } from '../../entity/product-variant/product-variant.entity';
5
- export declare type ApplyCollectionFilterFn<T extends ConfigArgs> = (qb: SelectQueryBuilder<ProductVariant>, args: ConfigArgValues<T>) => SelectQueryBuilder<ProductVariant>;
6
- export interface CollectionFilterConfig<T extends ConfigArgs> extends ConfigurableOperationDefOptions<T> {
7
- apply: ApplyCollectionFilterFn<T>;
8
- }
9
- export declare class CollectionFilter<T extends ConfigArgs = ConfigArgs> extends ConfigurableOperationDef<T> {
10
- private readonly applyFn;
11
- constructor(config: CollectionFilterConfig<T>);
12
- apply(qb: SelectQueryBuilder<ProductVariant>, args: ConfigArg[]): SelectQueryBuilder<ProductVariant>;
13
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CollectionFilter = void 0;
4
- const configurable_operation_1 = require("../../common/configurable-operation");
5
- class CollectionFilter extends configurable_operation_1.ConfigurableOperationDef {
6
- constructor(config) {
7
- super(config);
8
- this.applyFn = config.apply;
9
- }
10
- apply(qb, args) {
11
- return this.applyFn(qb, this.argsArrayToHash(args));
12
- }
13
- }
14
- exports.CollectionFilter = CollectionFilter;
15
- //# sourceMappingURL=collection-filter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"collection-filter.js","sourceRoot":"","sources":["../../../src/config/catalog/collection-filter.ts"],"names":[],"mappings":";;;AAGA,gFAK6C;AAuB7C,MAAa,gBAAoD,SAAQ,iDAA2B;IAGhG,YAAY,MAAiC;QACzC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC;IAChC,CAAC;IAED,KAAK,CAAC,EAAsC,EAAE,IAAiB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,EAAE,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC;IACxD,CAAC;CACJ;AAXD,4CAWC"}
@@ -1,52 +0,0 @@
1
- import { CollectionFilter } from './collection-filter';
2
- export declare const facetValueCollectionFilter: CollectionFilter<{
3
- facetValueIds: {
4
- type: "ID";
5
- list: true;
6
- ui: {
7
- component: string;
8
- };
9
- };
10
- containsAny: {
11
- type: "boolean";
12
- };
13
- }>;
14
- export declare const variantNameCollectionFilter: CollectionFilter<{
15
- operator: {
16
- type: "string";
17
- ui: {
18
- component: string;
19
- options: {
20
- value: string;
21
- }[];
22
- };
23
- };
24
- term: {
25
- type: "string";
26
- };
27
- }>;
28
- export declare const defaultCollectionFilters: (CollectionFilter<{
29
- facetValueIds: {
30
- type: "ID";
31
- list: true;
32
- ui: {
33
- component: string;
34
- };
35
- };
36
- containsAny: {
37
- type: "boolean";
38
- };
39
- }> | CollectionFilter<{
40
- operator: {
41
- type: "string";
42
- ui: {
43
- component: string;
44
- options: {
45
- value: string;
46
- }[];
47
- };
48
- };
49
- term: {
50
- type: "string";
51
- };
52
- }>)[];
@@ -1,112 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defaultCollectionFilters = exports.variantNameCollectionFilter = exports.facetValueCollectionFilter = void 0;
4
- const generated_types_1 = require("@vendure/common/lib/generated-types");
5
- const nanoid_1 = require("nanoid");
6
- const errors_1 = require("../../common/error/errors");
7
- const product_variant_entity_1 = require("../../entity/product-variant/product-variant.entity");
8
- const collection_filter_1 = require("./collection-filter");
9
- exports.facetValueCollectionFilter = new collection_filter_1.CollectionFilter({
10
- args: {
11
- facetValueIds: {
12
- type: 'ID',
13
- list: true,
14
- ui: {
15
- component: 'facet-value-form-input',
16
- },
17
- },
18
- containsAny: { type: 'boolean' },
19
- },
20
- code: 'facet-value-filter',
21
- description: [{ languageCode: generated_types_1.LanguageCode.en, value: 'Filter by FacetValues' }],
22
- apply: (qb, args) => {
23
- const ids = args.facetValueIds;
24
- if (ids.length) {
25
- const safeIdsConcat = ids.join('_').replace(/-/g, '_');
26
- const idsName = `ids_${safeIdsConcat}`;
27
- const countName = `count_${safeIdsConcat}`;
28
- const productFacetValues = qb.connection
29
- .createQueryBuilder(product_variant_entity_1.ProductVariant, 'product_variant')
30
- .select('product_variant.id', 'variant_id')
31
- .addSelect('facet_value.id', 'facet_value_id')
32
- .leftJoin('product_variant.facetValues', 'facet_value')
33
- .where(`facet_value.id IN (:...${idsName})`);
34
- const variantFacetValues = qb.connection
35
- .createQueryBuilder(product_variant_entity_1.ProductVariant, 'product_variant')
36
- .select('product_variant.id', 'variant_id')
37
- .addSelect('facet_value.id', 'facet_value_id')
38
- .leftJoin('product_variant.product', 'product')
39
- .leftJoin('product.facetValues', 'facet_value')
40
- .where(`facet_value.id IN (:...${idsName})`);
41
- const union = qb.connection
42
- .createQueryBuilder()
43
- .select('union_table.variant_id')
44
- .from(`(${productFacetValues.getQuery()} UNION ${variantFacetValues.getQuery()})`, 'union_table')
45
- .groupBy('variant_id')
46
- .having(`COUNT(*) >= :${countName}`);
47
- const variantIds = qb.connection
48
- .createQueryBuilder()
49
- .select('variant_ids_table.variant_id')
50
- .from(`(${union.getQuery()})`, 'variant_ids_table');
51
- qb.andWhere(`productVariant.id IN (${variantIds.getQuery()})`).setParameters({
52
- [idsName]: ids,
53
- [countName]: args.containsAny ? 1 : ids.length,
54
- });
55
- }
56
- else {
57
- qb.andWhere('1 = 0');
58
- }
59
- return qb;
60
- },
61
- });
62
- exports.variantNameCollectionFilter = new collection_filter_1.CollectionFilter({
63
- args: {
64
- operator: {
65
- type: 'string',
66
- ui: {
67
- component: 'select-form-input',
68
- options: [
69
- { value: 'startsWith' },
70
- { value: 'endsWith' },
71
- { value: 'contains' },
72
- { value: 'doesNotContain' },
73
- ],
74
- },
75
- },
76
- term: { type: 'string' },
77
- },
78
- code: 'variant-name-filter',
79
- description: [{ languageCode: generated_types_1.LanguageCode.en, value: 'Filter by ProductVariant name' }],
80
- apply: (qb, args) => {
81
- const translationAlias = `variant_name_filter_translation`;
82
- const nanoid = nanoid_1.customAlphabet('123456789abcdefghijklmnopqrstuvwxyz', 6);
83
- const termName = `term_${nanoid()}`;
84
- const hasJoinOnTranslations = !!qb.expressionMap.joinAttributes.find(ja => ja.entityOrProperty === 'productVariant.translations');
85
- if (!hasJoinOnTranslations) {
86
- qb.leftJoin('productVariant.translations', translationAlias);
87
- }
88
- const LIKE = qb.connection.options.type === 'postgres' ? 'ILIKE' : 'LIKE';
89
- switch (args.operator) {
90
- case 'contains':
91
- return qb.andWhere(`${translationAlias}.name ${LIKE} :${termName}`, {
92
- [termName]: `%${args.term}%`,
93
- });
94
- case 'doesNotContain':
95
- return qb.andWhere(`${translationAlias}.name NOT ${LIKE} :${termName}`, {
96
- [termName]: `%${args.term}%`,
97
- });
98
- case 'startsWith':
99
- return qb.andWhere(`${translationAlias}.name ${LIKE} :${termName}`, {
100
- [termName]: `${args.term}%`,
101
- });
102
- case 'endsWith':
103
- return qb.andWhere(`${translationAlias}.name ${LIKE} :${termName}`, {
104
- [termName]: `%${args.term}`,
105
- });
106
- default:
107
- throw new errors_1.UserInputError(`${args.operator} is not a valid operator`);
108
- }
109
- },
110
- });
111
- exports.defaultCollectionFilters = [exports.facetValueCollectionFilter, exports.variantNameCollectionFilter];
112
- //# sourceMappingURL=default-collection-filters.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"default-collection-filters.js","sourceRoot":"","sources":["../../../src/config/catalog/default-collection-filters.ts"],"names":[],"mappings":";;;AAAA,yEAAmE;AACnE,mCAAwC;AAExC,sDAA2D;AAC3D,gGAAqF;AAErF,2DAAuD;AAK1C,QAAA,0BAA0B,GAAG,IAAI,oCAAgB,CAAC;IAC3D,IAAI,EAAE;QACF,aAAa,EAAE;YACX,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,IAAI;YACV,EAAE,EAAE;gBACA,SAAS,EAAE,wBAAwB;aACtC;SACJ;QACD,WAAW,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KACnC;IACD,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE,CAAC,EAAE,YAAY,EAAE,8BAAY,CAAC,EAAE,EAAE,KAAK,EAAE,uBAAuB,EAAE,CAAC;IAChF,KAAK,EAAE,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE;QAChB,MAAM,GAAG,GAAG,IAAI,CAAC,aAAa,CAAC;QAE/B,IAAI,GAAG,CAAC,MAAM,EAAE;YAEZ,MAAM,aAAa,GAAG,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;YACvD,MAAM,OAAO,GAAG,OAAO,aAAa,EAAE,CAAC;YACvC,MAAM,SAAS,GAAG,SAAS,aAAa,EAAE,CAAC;YAC3C,MAAM,kBAAkB,GAAG,EAAE,CAAC,UAAU;iBACnC,kBAAkB,CAAC,uCAAc,EAAE,iBAAiB,CAAC;iBACrD,MAAM,CAAC,oBAAoB,EAAE,YAAY,CAAC;iBAC1C,SAAS,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;iBAC7C,QAAQ,CAAC,6BAA6B,EAAE,aAAa,CAAC;iBACtD,KAAK,CAAC,0BAA0B,OAAO,GAAG,CAAC,CAAC;YAEjD,MAAM,kBAAkB,GAAG,EAAE,CAAC,UAAU;iBACnC,kBAAkB,CAAC,uC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GAAG;iBAC/B,CAAC,CAAC;YACP,KAAK,gBAAgB;gBACjB,OAAO,EAAE,CAAC,QAAQ,CAAC,GAAG,gBAAgB,aAAa,IAAI,KAAK,QAAQ,EAAE,EAAE;oBACpE,CAAC,QAAQ,CAAC,EAAE,IAAI,IAAI,CAAC,IAAI,GAAG;iBAC/B,CAAC,CAAC;YACP,KAAK,YAAY;gBACb,OAAO,EAAE,CAAC,QAAQ,CAAC,GAAG,gBAAgB,SAAS,IAAI,KAAK,QAAQ,EAAE,EAAE;oBAChE,CAAC,QAAQ,CAAC,EAAE,GAAG,IAAI,CAAC,IAAI,GAAG;iBAC9B,CAAC,CAAC;YACP,KAAK,UAAU;gBACX,OAAO,EAAE,CAAC,QAAQ,CAAC,GAAG,gBAAgB,SAAS,IAAI,KAAK,QAAQ,EAAE,EAAE;oBAChE,CAAC,QAAQ,CAAC,EAAE,IAAI,IAAI,CAAC,IAAI,EAAE;iBAC9B,CAAC,CAAC;YACP;gBACI,MAAM,IAAI,uBAAc,CAAC,GAAG,IAAI,CAAC,QAAQ,0BAA0B,CAAC,CAAC;SAC5E;IACL,CAAC;CACJ,CAAC,CAAC;AAEU,QAAA,wBAAwB,GAAG,CAAC,kCAA0B,EAAE,mCAA2B,CAAC,CAAC"}
@@ -1,8 +0,0 @@
1
- import { Injector } from '../../common/injector';
2
- import { PriceCalculationResult } from '../../common/types/common-types';
3
- import { ProductVariantPriceCalculationArgs, ProductVariantPriceCalculationStrategy } from './product-variant-price-calculation-strategy';
4
- export declare class DefaultProductVariantPriceCalculationStrategy implements ProductVariantPriceCalculationStrategy {
5
- private taxRateService;
6
- init(injector: Injector): void;
7
- calculate(args: ProductVariantPriceCalculationArgs): Promise<PriceCalculationResult>;
8
- }
@@ -1,31 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DefaultProductVariantPriceCalculationStrategy = void 0;
4
- const utils_1 = require("../../common/utils");
5
- const tax_rate_service_1 = require("../../service/services/tax-rate.service");
6
- class DefaultProductVariantPriceCalculationStrategy {
7
- init(injector) {
8
- this.taxRateService = injector.get(tax_rate_service_1.TaxRateService);
9
- }
10
- async calculate(args) {
11
- const { inputPrice, activeTaxZone, ctx, taxCategory } = args;
12
- let price = inputPrice;
13
- let priceIncludesTax = false;
14
- if (ctx.channel.pricesIncludeTax) {
15
- const isDefaultZone = utils_1.idsAreEqual(activeTaxZone.id, ctx.channel.defaultTaxZone.id);
16
- if (isDefaultZone) {
17
- priceIncludesTax = true;
18
- }
19
- else {
20
- const taxRateForDefaultZone = await this.taxRateService.getApplicableTaxRate(ctx, ctx.channel.defaultTaxZone, taxCategory);
21
- price = taxRateForDefaultZone.netPriceOf(inputPrice);
22
- }
23
- }
24
- return {
25
- price,
26
- priceIncludesTax,
27
- };
28
- }
29
- }
30
- exports.DefaultProductVariantPriceCalculationStrategy = DefaultProductVariantPriceCalculationStrategy;
31
- //# sourceMappingURL=default-product-variant-price-calculation-strategy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"default-product-variant-price-calculation-strategy.js","sourceRoot":"","sources":["../../../src/config/catalog/default-product-variant-price-calculation-strategy.ts"],"names":[],"mappings":";;;AAEA,8CAAiD;AACjD,8EAAyE;AAazE,MAAa,6CAA6C;IAGtD,IAAI,CAAC,QAAkB;QACnB,IAAI,CAAC,cAAc,GAAG,QAAQ,CAAC,GAAG,CAAC,iCAAc,CAAC,CAAC;IACvD,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,IAAwC;QACpD,MAAM,EAAE,UAAU,EAAE,aAAa,EAAE,GAAG,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;QAC7D,IAAI,KAAK,GAAG,UAAU,CAAC;QACvB,IAAI,gBAAgB,GAAG,KAAK,CAAC;QAE7B,IAAI,GAAG,CAAC,OAAO,CAAC,gBAAgB,EAAE;YAC9B,MAAM,aAAa,GAAG,mBAAW,CAAC,aAAa,CAAC,EAAE,EAAE,GAAG,CAAC,OAAO,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC;YACnF,IAAI,aAAa,EAAE;gBACf,gBAAgB,GAAG,IAAI,CAAC;aAC3B;iBAAM;gBACH,MAAM,qBAAqB,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,oBAAoB,CACxE,GAAG,EACH,GAAG,CAAC,OAAO,CAAC,cAAc,EAC1B,WAAW,CACd,CAAC;gBACF,KAAK,GAAG,qBAAqB,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;aACxD;SACJ;QAED,OAAO;YACH,KAAK;YACL,gBAAgB;SACnB,CAAC;IACN,CAAC;CACJ;AA/BD,sGA+BC"}
@@ -1,8 +0,0 @@
1
- import { RequestContext } from '../../api/common/request-context';
2
- import { ProductVariant } from '../../entity/product-variant/product-variant.entity';
3
- import { StockDisplayStrategy } from './stock-display-strategy';
4
- export declare class DefaultStockDisplayStrategy implements StockDisplayStrategy {
5
- private lowStockLevel;
6
- constructor(lowStockLevel?: number);
7
- getStockLevel(ctx: RequestContext, productVariant: ProductVariant, saleableStockLevel: number): string;
8
- }
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DefaultStockDisplayStrategy = void 0;
4
- class DefaultStockDisplayStrategy {
5
- constructor(lowStockLevel = 2) {
6
- this.lowStockLevel = lowStockLevel;
7
- }
8
- getStockLevel(ctx, productVariant, saleableStockLevel) {
9
- return saleableStockLevel < 1
10
- ? 'OUT_OF_STOCK'
11
- : saleableStockLevel <= this.lowStockLevel
12
- ? 'LOW_STOCK'
13
- : 'IN_STOCK';
14
- }
15
- }
16
- exports.DefaultStockDisplayStrategy = DefaultStockDisplayStrategy;
17
- //# sourceMappingURL=default-stock-display-strategy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"default-stock-display-strategy.js","sourceRoot":"","sources":["../../../src/config/catalog/default-stock-display-strategy.ts"],"names":[],"mappings":";;;AAaA,MAAa,2BAA2B;IACpC,YAAoB,gBAAwB,CAAC;QAAzB,kBAAa,GAAb,aAAa,CAAY;IAAG,CAAC;IACjD,aAAa,CAAC,GAAmB,EAAE,cAA8B,EAAE,kBAA0B;QACzF,OAAO,kBAAkB,GAAG,CAAC;YACzB,CAAC,CAAC,cAAc;YAChB,CAAC,CAAC,kBAAkB,IAAI,IAAI,CAAC,aAAa;gBAC1C,CAAC,CAAC,WAAW;gBACb,CAAC,CAAC,UAAU,CAAC;IACrB,CAAC;CACJ;AATD,kEASC"}
@@ -1,13 +0,0 @@
1
- import { RequestContext } from '../../api/common/request-context';
2
- import { PriceCalculationResult } from '../../common/types/common-types';
3
- import { InjectableStrategy } from '../../common/types/injectable-strategy';
4
- import { TaxCategory, Zone } from '../../entity/index';
5
- export interface ProductVariantPriceCalculationStrategy extends InjectableStrategy {
6
- calculate(args: ProductVariantPriceCalculationArgs): Promise<PriceCalculationResult>;
7
- }
8
- export interface ProductVariantPriceCalculationArgs {
9
- inputPrice: number;
10
- taxCategory: TaxCategory;
11
- activeTaxZone: Zone;
12
- ctx: RequestContext;
13
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=product-variant-price-calculation-strategy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"product-variant-price-calculation-strategy.js","sourceRoot":"","sources":["../../../src/config/catalog/product-variant-price-calculation-strategy.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- import { RequestContext } from '../../api/common/request-context';
2
- import { InjectableStrategy } from '../../common/types/injectable-strategy';
3
- import { ProductVariant } from '../../entity/product-variant/product-variant.entity';
4
- export interface StockDisplayStrategy extends InjectableStrategy {
5
- getStockLevel(ctx: RequestContext, productVariant: ProductVariant, saleableStockLevel: number): string | Promise<string>;
6
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=stock-display-strategy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stock-display-strategy.js","sourceRoot":"","sources":["../../../src/config/catalog/stock-display-strategy.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- import { PartialVendureConfig, RuntimeVendureConfig } from './vendure-config';
2
- export declare function setConfig(userConfig: PartialVendureConfig): void;
3
- export declare function getConfig(): Readonly<RuntimeVendureConfig>;
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getConfig = exports.setConfig = void 0;
4
- const default_config_1 = require("./default-config");
5
- const merge_config_1 = require("./merge-config");
6
- let activeConfig = default_config_1.defaultConfig;
7
- function setConfig(userConfig) {
8
- activeConfig = merge_config_1.mergeConfig(activeConfig, userConfig);
9
- }
10
- exports.setConfig = setConfig;
11
- function getConfig() {
12
- return activeConfig;
13
- }
14
- exports.getConfig = getConfig;
15
- //# sourceMappingURL=config-helpers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config-helpers.js","sourceRoot":"","sources":["../../src/config/config-helpers.ts"],"names":[],"mappings":";;;AAAA,qDAAiD;AACjD,iDAA6C;AAG7C,IAAI,YAAY,GAAG,8BAAa,CAAC;AAMjC,SAAgB,SAAS,CAAC,UAAgC;IACtD,YAAY,GAAG,0BAAW,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;AACzD,CAAC;AAFD,8BAEC;AAOD,SAAgB,SAAS;IACrB,OAAO,YAAY,CAAC;AACxB,CAAC;AAFD,8BAEC"}
@@ -1,16 +0,0 @@
1
- import { OnApplicationBootstrap, OnApplicationShutdown } from '@nestjs/common';
2
- import { ModuleRef } from '@nestjs/core';
3
- import { ConfigService } from './config.service';
4
- export declare class ConfigModule implements OnApplicationBootstrap, OnApplicationShutdown {
5
- private configService;
6
- private moduleRef;
7
- constructor(configService: ConfigService, moduleRef: ModuleRef);
8
- onApplicationBootstrap(): Promise<void>;
9
- onApplicationShutdown(signal?: string): Promise<void>;
10
- private initInjectableStrategies;
11
- private destroyInjectableStrategies;
12
- private initConfigurableOperations;
13
- private destroyConfigurableOperations;
14
- private getInjectableStrategies;
15
- private getConfigurableOperations;
16
- }
@@ -1,120 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ConfigModule = void 0;
13
- const common_1 = require("@nestjs/common");
14
- const core_1 = require("@nestjs/core");
15
- const shared_utils_1 = require("@vendure/common/lib/shared-utils");
16
- const injector_1 = require("../common/injector");
17
- const config_service_1 = require("./config.service");
18
- let ConfigModule = class ConfigModule {
19
- constructor(configService, moduleRef) {
20
- this.configService = configService;
21
- this.moduleRef = moduleRef;
22
- }
23
- async onApplicationBootstrap() {
24
- await this.initInjectableStrategies();
25
- await this.initConfigurableOperations();
26
- }
27
- async onApplicationShutdown(signal) {
28
- await this.destroyInjectableStrategies();
29
- await this.destroyConfigurableOperations();
30
- }
31
- async initInjectableStrategies() {
32
- const injector = new injector_1.Injector(this.moduleRef);
33
- for (const strategy of this.getInjectableStrategies()) {
34
- if (typeof strategy.init === 'function') {
35
- await strategy.init(injector);
36
- }
37
- }
38
- }
39
- async destroyInjectableStrategies() {
40
- for (const strategy of this.getInjectableStrategies()) {
41
- if (typeof strategy.destroy === 'function') {
42
- await strategy.destroy();
43
- }
44
- }
45
- }
46
- async initConfigurableOperations() {
47
- const injector = new injector_1.Injector(this.moduleRef);
48
- for (const operation of this.getConfigurableOperations()) {
49
- await operation.init(injector);
50
- }
51
- }
52
- async destroyConfigurableOperations() {
53
- for (const operation of this.getConfigurableOperations()) {
54
- await operation.destroy();
55
- }
56
- }
57
- getInjectableStrategies() {
58
- const { assetNamingStrategy, assetPreviewStrategy, assetStorageStrategy } = this.configService.assetOptions;
59
- const { productVariantPriceCalculationStrategy, stockDisplayStrategy } = this.configService.catalogOptions;
60
- const { adminAuthenticationStrategy, shopAuthenticationStrategy, sessionCacheStrategy, passwordHashingStrategy, passwordValidationStrategy, } = this.configService.authOptions;
61
- const { taxZoneStrategy } = this.configService.taxOptions;
62
- const { jobQueueStrategy, jobBufferStorageStrategy } = this.configService.jobQueueOptions;
63
- const { mergeStrategy, checkoutMergeStrategy, orderItemPriceCalculationStrategy, process, orderCodeStrategy, orderByCodeAccessStrategy, stockAllocationStrategy, } = this.configService.orderOptions;
64
- const { customFulfillmentProcess } = this.configService.shippingOptions;
65
- const { customPaymentProcess } = this.configService.paymentOptions;
66
- const { entityIdStrategy: entityIdStrategyDeprecated } = this.configService;
67
- const { entityIdStrategy } = this.configService.entityOptions;
68
- return [
69
- ...adminAuthenticationStrategy,
70
- ...shopAuthenticationStrategy,
71
- sessionCacheStrategy,
72
- passwordHashingStrategy,
73
- passwordValidationStrategy,
74
- assetNamingStrategy,
75
- assetPreviewStrategy,
76
- assetStorageStrategy,
77
- taxZoneStrategy,
78
- jobQueueStrategy,
79
- jobBufferStorageStrategy,
80
- mergeStrategy,
81
- checkoutMergeStrategy,
82
- orderCodeStrategy,
83
- orderByCodeAccessStrategy,
84
- entityIdStrategyDeprecated,
85
- ...[entityIdStrategy].filter(shared_utils_1.notNullOrUndefined),
86
- productVariantPriceCalculationStrategy,
87
- orderItemPriceCalculationStrategy,
88
- ...process,
89
- ...customFulfillmentProcess,
90
- ...customPaymentProcess,
91
- stockAllocationStrategy,
92
- stockDisplayStrategy,
93
- ];
94
- }
95
- getConfigurableOperations() {
96
- const { paymentMethodHandlers, paymentMethodEligibilityCheckers } = this.configService.paymentOptions;
97
- const { collectionFilters } = this.configService.catalogOptions;
98
- const { promotionActions, promotionConditions } = this.configService.promotionOptions;
99
- const { shippingCalculators, shippingEligibilityCheckers, fulfillmentHandlers } = this.configService.shippingOptions;
100
- return [
101
- ...(paymentMethodEligibilityCheckers || []),
102
- ...paymentMethodHandlers,
103
- ...collectionFilters,
104
- ...(promotionActions || []),
105
- ...(promotionConditions || []),
106
- ...(shippingCalculators || []),
107
- ...(shippingEligibilityCheckers || []),
108
- ...(fulfillmentHandlers || []),
109
- ];
110
- }
111
- };
112
- ConfigModule = __decorate([
113
- common_1.Module({
114
- providers: [config_service_1.ConfigService],
115
- exports: [config_service_1.ConfigService],
116
- }),
117
- __metadata("design:paramtypes", [config_service_1.ConfigService, core_1.ModuleRef])
118
- ], ConfigModule);
119
- exports.ConfigModule = ConfigModule;
120
- //# sourceMappingURL=config.module.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.module.js","sourceRoot":"","sources":["../../src/config/config.module.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAuF;AACvF,uCAAyC;AACzC,mEAAsE;AAGtE,iDAA8C;AAG9C,qDAAiD;AAMjD,IAAa,YAAY,GAAzB,MAAa,YAAY;IACrB,YAAoB,aAA4B,EAAU,SAAoB;QAA1D,kBAAa,GAAb,aAAa,CAAe;QAAU,cAAS,GAAT,SAAS,CAAW;IAAG,CAAC;IAElF,KAAK,CAAC,sBAAsB;QACxB,MAAM,IAAI,CAAC,wBAAwB,EAAE,CAAC;QACtC,MAAM,IAAI,CAAC,0BAA0B,EAAE,CAAC;IAC5C,CAAC;IAED,KAAK,CAAC,qBAAqB,CAAC,MAAe;QACvC,MAAM,IAAI,CAAC,2BAA2B,EAAE,CAAC;QACzC,MAAM,IAAI,CAAC,6BAA6B,EAAE,CAAC;IAC/C,CAAC;IAEO,KAAK,CAAC,wBAAwB;QAClC,MAAM,QAAQ,GAAG,IAAI,mBAAQ,CAAC,IAAI,CAAC,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