qeai-sdk 2.0.0 → 2.0.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 (284) hide show
  1. package/dist/constants/index.d.ts +14 -12
  2. package/dist/constants/index.js +16 -12
  3. package/dist/constants/product-commands.constant.d.ts +6 -0
  4. package/dist/constants/product-commands.constant.js +6 -0
  5. package/dist/constants/services-config.constant.d.ts +3 -0
  6. package/dist/constants/services-config.constant.js +1 -0
  7. package/dist/constants/translation-commands.constant.d.ts +35 -0
  8. package/dist/constants/translation-commands.constant.js +35 -0
  9. package/dist/dtos/auth/index.d.ts +2 -2
  10. package/dist/dtos/auth/index.js +2 -2
  11. package/dist/dtos/auth/register-user.dto.js +4 -1
  12. package/dist/dtos/categories/create-category.dto.js +6 -3
  13. package/dist/dtos/categories/delete-category.dto.d.ts +1 -1
  14. package/dist/dtos/categories/delete-category.dto.js +5 -3
  15. package/dist/dtos/categories/index.d.ts +3 -3
  16. package/dist/dtos/categories/index.js +3 -3
  17. package/dist/dtos/categories/update-category.dto.d.ts +30 -11
  18. package/dist/dtos/categories/update-category.dto.js +48 -14
  19. package/dist/dtos/chain/create-chain.dto.d.ts +12 -13
  20. package/dist/dtos/chain/create-chain.dto.js +16 -15
  21. package/dist/dtos/chain/delete-chain.dto.d.ts +6 -6
  22. package/dist/dtos/chain/delete-chain.dto.js +11 -9
  23. package/dist/dtos/chain/index.d.ts +3 -3
  24. package/dist/dtos/chain/index.js +3 -3
  25. package/dist/dtos/chain/update-chain.dto.d.ts +45 -11
  26. package/dist/dtos/chain/update-chain.dto.js +67 -15
  27. package/dist/dtos/common/index.d.ts +2 -1
  28. package/dist/dtos/common/index.js +2 -1
  29. package/dist/dtos/common/search-by-name.dto.d.ts +27 -0
  30. package/dist/dtos/{tags → common}/search-by-name.dto.js +18 -9
  31. package/dist/dtos/index.d.ts +12 -12
  32. package/dist/dtos/index.js +12 -12
  33. package/dist/dtos/ingredients/create-ingredient.dto.d.ts +5 -5
  34. package/dist/dtos/ingredients/create-ingredient.dto.js +9 -8
  35. package/dist/dtos/ingredients/delete-ingredient.dto.d.ts +14 -7
  36. package/dist/dtos/ingredients/delete-ingredient.dto.js +18 -9
  37. package/dist/dtos/ingredients/index.d.ts +3 -4
  38. package/dist/dtos/ingredients/index.js +3 -4
  39. package/dist/dtos/ingredients/update-ingredient.dto.d.ts +32 -11
  40. package/dist/dtos/ingredients/update-ingredient.dto.js +48 -15
  41. package/dist/dtos/orders/change-order-status.dto.d.ts +19 -10
  42. package/dist/dtos/orders/change-order-status.dto.js +27 -14
  43. package/dist/dtos/orders/create-order.dto.d.ts +34 -24
  44. package/dist/dtos/orders/create-order.dto.js +44 -32
  45. package/dist/dtos/orders/index.d.ts +5 -6
  46. package/dist/dtos/orders/index.js +5 -6
  47. package/dist/dtos/orders/order-item.dto.d.ts +35 -18
  48. package/dist/dtos/orders/order-item.dto.js +54 -32
  49. package/dist/dtos/orders/order-pagination.dto.d.ts +2 -2
  50. package/dist/dtos/orders/order-pagination.dto.js +4 -4
  51. package/dist/dtos/orders/paid-order.dto.d.ts +16 -8
  52. package/dist/dtos/orders/paid-order.dto.js +25 -14
  53. package/dist/dtos/payments/create-payment-audit-dynamo.dto.d.ts +81 -0
  54. package/dist/dtos/payments/create-payment-audit-dynamo.dto.js +81 -0
  55. package/dist/dtos/payments/create-payment-audit-s3.dto.d.ts +81 -0
  56. package/dist/dtos/payments/create-payment-audit-s3.dto.js +81 -0
  57. package/dist/dtos/payments/index.d.ts +5 -3
  58. package/dist/dtos/payments/index.js +5 -3
  59. package/dist/dtos/payments/payment-session-item.dto.d.ts +4 -4
  60. package/dist/dtos/payments/payment-session-item.dto.js +7 -4
  61. package/dist/dtos/payments/payment-session.dto.d.ts +1 -1
  62. package/dist/dtos/payments/payment-session.dto.js +1 -1
  63. package/dist/dtos/payments/webhook-data.dto.d.ts +1 -1
  64. package/dist/dtos/payments/webhook-data.dto.js +1 -0
  65. package/dist/dtos/products/create-product.dto.d.ts +2 -2
  66. package/dist/dtos/products/create-product.dto.js +3 -2
  67. package/dist/dtos/products/delete-product.dto.d.ts +1 -1
  68. package/dist/dtos/products/delete-product.dto.js +5 -3
  69. package/dist/dtos/products/index.d.ts +4 -4
  70. package/dist/dtos/products/index.js +4 -4
  71. package/dist/dtos/products/submodules/index.d.ts +6 -6
  72. package/dist/dtos/products/submodules/index.js +6 -6
  73. package/dist/dtos/products/submodules/product-image/bulk-create-product-image.dto.d.ts +3 -3
  74. package/dist/dtos/products/submodules/product-image/bulk-create-product-image.dto.js +5 -5
  75. package/dist/dtos/products/submodules/product-image/create-product-image.dto.d.ts +1 -1
  76. package/dist/dtos/products/submodules/product-image/create-product-image.dto.js +4 -4
  77. package/dist/dtos/products/submodules/product-image/index.d.ts +4 -4
  78. package/dist/dtos/products/submodules/product-image/index.js +4 -4
  79. package/dist/dtos/products/submodules/product-image/update-product-image.dto.d.ts +1 -1
  80. package/dist/dtos/products/submodules/product-image/update-product-image.dto.js +4 -4
  81. package/dist/dtos/products/submodules/product-question/create-product-question.dto.d.ts +2 -2
  82. package/dist/dtos/products/submodules/product-question/create-product-question.dto.js +8 -8
  83. package/dist/dtos/products/submodules/product-question/find-by-product-id-and-type.dto.d.ts +1 -1
  84. package/dist/dtos/products/submodules/product-question/find-by-product-id-and-type.dto.js +1 -1
  85. package/dist/dtos/products/submodules/product-question/index.d.ts +4 -4
  86. package/dist/dtos/products/submodules/product-question/index.js +4 -4
  87. package/dist/dtos/products/submodules/product-question/replace-by-product-id.dto.d.ts +2 -2
  88. package/dist/dtos/products/submodules/product-question/replace-by-product-id.dto.js +1 -1
  89. package/dist/dtos/products/submodules/product-question/update-product-question.dto.d.ts +2 -2
  90. package/dist/dtos/products/submodules/product-question/update-product-question.dto.js +5 -5
  91. package/dist/dtos/products/submodules/product-recipe/create-product-recipe.dto.d.ts +1 -1
  92. package/dist/dtos/products/submodules/product-recipe/create-product-recipe.dto.js +2 -2
  93. package/dist/dtos/products/submodules/product-recipe/index.d.ts +3 -3
  94. package/dist/dtos/products/submodules/product-recipe/index.js +3 -3
  95. package/dist/dtos/products/submodules/product-recipe/replace-by-product-id.dto.d.ts +2 -2
  96. package/dist/dtos/products/submodules/product-recipe/replace-by-product-id.dto.js +5 -5
  97. package/dist/dtos/products/submodules/product-recipe/update-product-recipe.dto.d.ts +1 -8
  98. package/dist/dtos/products/submodules/product-recipe/update-product-recipe.dto.js +3 -16
  99. package/dist/dtos/products/submodules/product-schedule/create-product-schedule.dto.d.ts +1 -1
  100. package/dist/dtos/products/submodules/product-schedule/create-product-schedule.dto.js +2 -2
  101. package/dist/dtos/products/submodules/product-schedule/index.d.ts +4 -4
  102. package/dist/dtos/products/submodules/product-schedule/index.js +4 -4
  103. package/dist/dtos/products/submodules/product-schedule/replace-by-product-id.dto.d.ts +2 -2
  104. package/dist/dtos/products/submodules/product-schedule/replace-by-product-id.dto.js +1 -1
  105. package/dist/dtos/products/submodules/product-schedule/update-product-schedule.dto.d.ts +1 -1
  106. package/dist/dtos/products/submodules/product-schedule/update-product-schedule.dto.js +4 -4
  107. package/dist/dtos/products/submodules/product-size/create-product-size.dto.js +1 -1
  108. package/dist/dtos/products/submodules/product-size/index.d.ts +4 -4
  109. package/dist/dtos/products/submodules/product-size/index.js +4 -4
  110. package/dist/dtos/products/submodules/product-size/product-size-data.dto.js +1 -1
  111. package/dist/dtos/products/submodules/product-size/replace-by-product-id.dto.d.ts +1 -1
  112. package/dist/dtos/products/submodules/product-size/replace-by-product-id.dto.js +1 -1
  113. package/dist/dtos/products/submodules/product-size/update-product-size.dto.d.ts +1 -1
  114. package/dist/dtos/products/submodules/product-size/update-product-size.dto.js +2 -2
  115. package/dist/dtos/products/submodules/product-tag/index.d.ts +2 -4
  116. package/dist/dtos/products/submodules/product-tag/index.js +2 -4
  117. package/dist/dtos/products/submodules/product-tag/{remove-product-tag.dto.d.ts → product-tag.dto.d.ts} +1 -1
  118. package/dist/dtos/products/submodules/product-tag/{remove-product-tag.dto.js → product-tag.dto.js} +3 -3
  119. package/dist/dtos/products/update-product.dto.d.ts +40 -5
  120. package/dist/dtos/products/update-product.dto.js +73 -7
  121. package/dist/dtos/questions/create-question.dto.d.ts +2 -2
  122. package/dist/dtos/questions/create-question.dto.js +3 -2
  123. package/dist/dtos/questions/delete-question.dto.d.ts +1 -1
  124. package/dist/dtos/questions/delete-question.dto.js +5 -3
  125. package/dist/dtos/questions/index.d.ts +3 -4
  126. package/dist/dtos/questions/index.js +3 -4
  127. package/dist/dtos/questions/update-question.dto.d.ts +40 -5
  128. package/dist/dtos/questions/update-question.dto.js +70 -8
  129. package/dist/dtos/restaurants/create-restaurant.dto.d.ts +15 -1
  130. package/dist/dtos/restaurants/create-restaurant.dto.js +38 -2
  131. package/dist/dtos/restaurants/delete-restaurant.dto.d.ts +1 -1
  132. package/dist/dtos/restaurants/delete-restaurant.dto.js +5 -3
  133. package/dist/dtos/restaurants/index.d.ts +3 -3
  134. package/dist/dtos/restaurants/index.js +3 -3
  135. package/dist/dtos/restaurants/update-restaurant.dto.d.ts +50 -5
  136. package/dist/dtos/restaurants/update-restaurant.dto.js +92 -8
  137. package/dist/dtos/tags/create-tag.dto.d.ts +1 -1
  138. package/dist/dtos/tags/create-tag.dto.js +5 -4
  139. package/dist/dtos/tags/delete-tag.dto.d.ts +1 -1
  140. package/dist/dtos/tags/delete-tag.dto.js +5 -3
  141. package/dist/dtos/tags/index.d.ts +3 -4
  142. package/dist/dtos/tags/index.js +3 -4
  143. package/dist/dtos/tags/update-tag.dto.d.ts +10 -5
  144. package/dist/dtos/tags/update-tag.dto.js +20 -8
  145. package/dist/dtos/translations/create-translation.dto.d.ts +1 -1
  146. package/dist/dtos/translations/create-translation.dto.js +7 -2
  147. package/dist/dtos/translations/delete-translation.dto.d.ts +1 -1
  148. package/dist/dtos/translations/delete-translation.dto.js +4 -3
  149. package/dist/dtos/translations/find-translations-by-entity.dto.d.ts +1 -1
  150. package/dist/dtos/translations/find-translations-by-entity.dto.js +1 -1
  151. package/dist/dtos/translations/index.d.ts +4 -4
  152. package/dist/dtos/translations/index.js +4 -4
  153. package/dist/dtos/translations/update-translation.dto.d.ts +33 -4
  154. package/dist/dtos/translations/update-translation.dto.js +69 -6
  155. package/dist/enums/index.d.ts +10 -12
  156. package/dist/enums/index.js +10 -12
  157. package/dist/index.d.ts +5 -5
  158. package/dist/index.js +5 -5
  159. package/dist/interfaces/auth/access-user.interface.d.ts +2 -2
  160. package/dist/interfaces/auth/account.interface.d.ts +1 -1
  161. package/dist/interfaces/auth/full-token.interface.d.ts +2 -2
  162. package/dist/interfaces/auth/index.d.ts +9 -9
  163. package/dist/interfaces/auth/index.js +9 -9
  164. package/dist/interfaces/auth/payload-jwt.interface.d.ts +2 -2
  165. package/dist/interfaces/auth/responses/auth-response.interface.d.ts +3 -3
  166. package/dist/interfaces/auth/responses/index.d.ts +2 -2
  167. package/dist/interfaces/auth/responses/index.js +2 -2
  168. package/dist/interfaces/auth/responses/refresh-token-response.interface.d.ts +2 -2
  169. package/dist/interfaces/auth/user.interface.d.ts +2 -2
  170. package/dist/interfaces/auth/validate-user.interface.d.ts +2 -2
  171. package/dist/interfaces/categories/categories-list-response.interface.d.ts +3 -3
  172. package/dist/interfaces/categories/category-response.interface.d.ts +2 -2
  173. package/dist/interfaces/categories/index.d.ts +3 -3
  174. package/dist/interfaces/categories/index.js +3 -3
  175. package/dist/interfaces/chains/chain-response.interface.d.ts +2 -2
  176. package/dist/interfaces/chains/chain.interface.d.ts +1 -1
  177. package/dist/interfaces/chains/chains-list-response.interface.d.ts +3 -3
  178. package/dist/interfaces/chains/index.d.ts +3 -3
  179. package/dist/interfaces/chains/index.js +3 -3
  180. package/dist/interfaces/common/api-error-response.interface.d.ts +2 -2
  181. package/dist/interfaces/common/api-response.interface.d.ts +3 -2
  182. package/dist/interfaces/common/index.d.ts +5 -5
  183. package/dist/interfaces/common/index.js +5 -5
  184. package/dist/interfaces/common/rpc-error.interface.d.ts +1 -1
  185. package/dist/interfaces/index.d.ts +12 -12
  186. package/dist/interfaces/index.js +12 -12
  187. package/dist/interfaces/ingredients/index.d.ts +3 -3
  188. package/dist/interfaces/ingredients/index.js +3 -3
  189. package/dist/interfaces/ingredients/ingredient-response.interface.d.ts +2 -2
  190. package/dist/interfaces/ingredients/ingredients-list-response.interface.d.ts +3 -3
  191. package/dist/interfaces/orders/index.d.ts +6 -6
  192. package/dist/interfaces/orders/index.js +6 -6
  193. package/dist/interfaces/orders/order-created.interface.d.ts +3 -3
  194. package/dist/interfaces/orders/order-item.interface.d.ts +4 -4
  195. package/dist/interfaces/orders/order-with-products.interface.d.ts +2 -2
  196. package/dist/interfaces/orders/order.interface.d.ts +9 -9
  197. package/dist/interfaces/orders/responses/change-order-status-response.interface.d.ts +2 -2
  198. package/dist/interfaces/orders/responses/create-order-response.interface.d.ts +2 -2
  199. package/dist/interfaces/orders/responses/index.d.ts +4 -4
  200. package/dist/interfaces/orders/responses/index.js +4 -4
  201. package/dist/interfaces/orders/responses/order-with-products-response.interface.d.ts +2 -2
  202. package/dist/interfaces/orders/responses/orders-list-response.interface.d.ts +3 -3
  203. package/dist/interfaces/payments/audit-storage-strategy.interface.d.ts +1 -1
  204. package/dist/interfaces/payments/index.d.ts +9 -9
  205. package/dist/interfaces/payments/index.js +9 -9
  206. package/dist/interfaces/payments/payment-provider.interface.d.ts +2 -2
  207. package/dist/interfaces/payments/responses/payment-callback-response.interface.d.ts +1 -1
  208. package/dist/interfaces/products/index.d.ts +8 -8
  209. package/dist/interfaces/products/index.js +8 -8
  210. package/dist/interfaces/products/product-recipe.interface.d.ts +1 -1
  211. package/dist/interfaces/products/product-tag.interface.d.ts +1 -1
  212. package/dist/interfaces/products/product.interface.d.ts +3 -3
  213. package/dist/interfaces/products/response/complete-product-response.interface.d.ts +2 -2
  214. package/dist/interfaces/products/response/index.d.ts +6 -6
  215. package/dist/interfaces/products/response/index.js +6 -6
  216. package/dist/interfaces/products/response/product-response.interface.d.ts +2 -2
  217. package/dist/interfaces/products/response/products-list-response.interface.d.ts +3 -3
  218. package/dist/interfaces/products/response/simple-product-response.interface.d.ts +1 -1
  219. package/dist/interfaces/products/response/sub-resources/create-tag-response.interface.d.ts +2 -2
  220. package/dist/interfaces/products/response/sub-resources/delete-sub-resource-response.interface.d.ts +1 -1
  221. package/dist/interfaces/products/response/sub-resources/find-product-image-response.interface.d.ts +2 -2
  222. package/dist/interfaces/products/response/sub-resources/find-product-question-response.interface.d.ts +2 -2
  223. package/dist/interfaces/products/response/sub-resources/find-product-recipe-response.interface.d.ts +2 -2
  224. package/dist/interfaces/products/response/sub-resources/find-product-schedule-response.interface.d.ts +2 -2
  225. package/dist/interfaces/products/response/sub-resources/find-product-size-response.interface.d.ts +2 -2
  226. package/dist/interfaces/products/response/sub-resources/find-product-tag-response.interface.d.ts +2 -2
  227. package/dist/interfaces/products/response/sub-resources/find-sub-resource-response.interface.d.ts +1 -1
  228. package/dist/interfaces/products/response/sub-resources/index.d.ts +25 -25
  229. package/dist/interfaces/products/response/sub-resources/index.js +25 -25
  230. package/dist/interfaces/products/response/sub-resources/list-product-images-response.interface.d.ts +2 -2
  231. package/dist/interfaces/products/response/sub-resources/list-product-questions-response.interface.d.ts +2 -2
  232. package/dist/interfaces/products/response/sub-resources/list-product-recipes-response.interface.d.ts +2 -2
  233. package/dist/interfaces/products/response/sub-resources/list-product-schedules-response.interface.d.ts +2 -2
  234. package/dist/interfaces/products/response/sub-resources/list-product-sizes-response.interface.d.ts +2 -2
  235. package/dist/interfaces/products/response/sub-resources/list-sub-resource-response.interface.d.ts +1 -1
  236. package/dist/interfaces/products/response/sub-resources/product-schedule-availability.interface.d.ts +1 -1
  237. package/dist/interfaces/products/response/sub-resources/question-relationship.interface.d.ts +1 -1
  238. package/dist/interfaces/products/response/sub-resources/recipe-relationship.interface.d.ts +1 -1
  239. package/dist/interfaces/products/response/sub-resources/replace-sub-products-response.interface.d.ts +1 -1
  240. package/dist/interfaces/products/response/sub-resources/sub-resource-response.interface.d.ts +1 -1
  241. package/dist/interfaces/products/response/sub-resources/write-image-response.interface.d.ts +2 -2
  242. package/dist/interfaces/products/response/sub-resources/write-question-product-response.interface.d.ts +2 -2
  243. package/dist/interfaces/products/response/sub-resources/write-recipe-response.interface.d.ts +2 -2
  244. package/dist/interfaces/products/response/sub-resources/write-schedule-response.interface.d.ts +2 -2
  245. package/dist/interfaces/products/response/sub-resources/write-size-response.interface.d.ts +2 -2
  246. package/dist/interfaces/questions/index.d.ts +3 -3
  247. package/dist/interfaces/questions/index.js +3 -3
  248. package/dist/interfaces/questions/question-response.interface.d.ts +2 -2
  249. package/dist/interfaces/questions/questions-list-response.interface.d.ts +3 -3
  250. package/dist/interfaces/restaurants/index.d.ts +3 -3
  251. package/dist/interfaces/restaurants/index.js +3 -3
  252. package/dist/interfaces/restaurants/restaurant-response.interface.d.ts +2 -2
  253. package/dist/interfaces/restaurants/restaurants-list-response.interface.d.ts +3 -3
  254. package/dist/interfaces/tags/index.d.ts +3 -3
  255. package/dist/interfaces/tags/index.js +3 -3
  256. package/dist/interfaces/tags/tag-response.interface.d.ts +2 -2
  257. package/dist/interfaces/tags/tags-list-response.interface.d.ts +3 -3
  258. package/dist/interfaces/translations/index.d.ts +3 -3
  259. package/dist/interfaces/translations/index.js +3 -3
  260. package/dist/interfaces/translations/translation-response.interface.d.ts +2 -2
  261. package/dist/interfaces/translations/translations-list-response.interface.d.ts +2 -2
  262. package/dist/types/index.d.ts +2 -1
  263. package/dist/types/index.js +2 -1
  264. package/dist/types/order-mode.type.d.ts +12 -3
  265. package/dist/types/order-mode.type.js +20 -1
  266. package/dist/types/order-status.type.d.ts +22 -0
  267. package/dist/{enums/order-status.enum.d.ts → types/order-status.type.js} +25 -26
  268. package/package.json +1 -1
  269. package/tsconfig.json +1 -2
  270. package/tsconfig.node.json +10 -9
  271. package/dist/dtos/ingredients/search-by-name.dto.d.ts +0 -18
  272. package/dist/dtos/ingredients/search-by-name.dto.js +0 -33
  273. package/dist/dtos/orders/update-order.dto.d.ts +0 -13
  274. package/dist/dtos/orders/update-order.dto.js +0 -13
  275. package/dist/dtos/products/submodules/product-tag/create-product-tag.dto.d.ts +0 -24
  276. package/dist/dtos/products/submodules/product-tag/create-product-tag.dto.js +0 -46
  277. package/dist/dtos/products/submodules/product-tag/find-product-tag.dto.d.ts +0 -24
  278. package/dist/dtos/products/submodules/product-tag/find-product-tag.dto.js +0 -46
  279. package/dist/dtos/questions/search-by-name.dto.d.ts +0 -18
  280. package/dist/dtos/questions/search-by-name.dto.js +0 -33
  281. package/dist/dtos/tags/search-by-name.dto.d.ts +0 -18
  282. package/dist/enums/order-status.enum.js +0 -69
  283. package/dist/enums/order-type.enum.d.ts +0 -45
  284. package/dist/enums/order-type.enum.js +0 -46
@@ -1,4 +1,4 @@
1
- import { CreateProductRecipeDto } from './create-product-recipe.dto';
1
+ import { CreateProductRecipeDto } from "./create-product-recipe.dto.js";
2
2
  /**
3
3
  * DTO for replacing all product-recipe relationships.
4
4
  *
@@ -23,5 +23,5 @@ export declare class ReplaceProductRecipesByProductIdDto {
23
23
  *
24
24
  * @example [{ ingredientId: "...", quantity: 200, unit: "grams" }]
25
25
  */
26
- recipes: CreateProductRecipeDto[];
26
+ recipes: Omit<CreateProductRecipeDto, "productId">[];
27
27
  }
@@ -7,9 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsString, IsNotEmpty, IsUUID, IsArray, ValidateNested, ArrayMinSize, } from 'class-validator';
11
- import { Type } from 'class-transformer';
12
- import { CreateProductRecipeDto } from './create-product-recipe.dto';
10
+ import { IsString, IsNotEmpty, IsUUID, IsArray, ValidateNested, ArrayMinSize, } from "class-validator";
11
+ import { Type } from "class-transformer";
12
+ import { CreateProductRecipeDto } from "./create-product-recipe.dto.js";
13
13
  /**
14
14
  * DTO for replacing all product-recipe relationships.
15
15
  *
@@ -38,13 +38,13 @@ export class ReplaceProductRecipesByProductIdDto {
38
38
  }
39
39
  __decorate([
40
40
  IsString(),
41
- IsNotEmpty({ message: 'Product ID is required' }),
41
+ IsNotEmpty({ message: "Product ID is required" }),
42
42
  IsUUID(),
43
43
  __metadata("design:type", String)
44
44
  ], ReplaceProductRecipesByProductIdDto.prototype, "productId", void 0);
45
45
  __decorate([
46
46
  IsArray(),
47
- ArrayMinSize(0, { message: 'Recipes array can be empty' }),
47
+ ArrayMinSize(0, { message: "Recipes array can be empty" }),
48
48
  ValidateNested({ each: true }),
49
49
  Type(() => CreateProductRecipeDto),
50
50
  __metadata("design:type", Array)
@@ -13,14 +13,7 @@ export declare class UpdateProductRecipeDto {
13
13
  *
14
14
  * @example "990e8400-e29b-41d4-a716-446655440005"
15
15
  */
16
- id?: string;
17
- /**
18
- * Optional unique identifier of the ingredient.
19
- * Must be a valid UUID if provided.
20
- *
21
- * @example "660e8400-e29b-41d4-a716-446655440001"
22
- */
23
- ingredientId?: string;
16
+ productRecipeId: string;
24
17
  /**
25
18
  * Optional quantity of the ingredient needed.
26
19
  * Must be a positive number if provided.
@@ -23,14 +23,7 @@ export class UpdateProductRecipeDto {
23
23
  *
24
24
  * @example "990e8400-e29b-41d4-a716-446655440005"
25
25
  */
26
- id;
27
- /**
28
- * Optional unique identifier of the ingredient.
29
- * Must be a valid UUID if provided.
30
- *
31
- * @example "660e8400-e29b-41d4-a716-446655440001"
32
- */
33
- ingredientId;
26
+ productRecipeId;
34
27
  /**
35
28
  * Optional quantity of the ingredient needed.
36
29
  * Must be a positive number if provided.
@@ -47,16 +40,10 @@ export class UpdateProductRecipeDto {
47
40
  }
48
41
  __decorate([
49
42
  IsString(),
50
- IsOptional(),
51
- IsUUID(),
52
- __metadata("design:type", String)
53
- ], UpdateProductRecipeDto.prototype, "id", void 0);
54
- __decorate([
55
- IsOptional(),
56
- IsString(),
43
+ IsNotEmpty(),
57
44
  IsUUID(),
58
45
  __metadata("design:type", String)
59
- ], UpdateProductRecipeDto.prototype, "ingredientId", void 0);
46
+ ], UpdateProductRecipeDto.prototype, "productRecipeId", void 0);
60
47
  __decorate([
61
48
  IsOptional(),
62
49
  IsNumber({}, { message: 'Quantity must be a number' }),
@@ -13,7 +13,7 @@ export declare class CreateProductScheduleDto {
13
13
  *
14
14
  * @example "550e8400-e29b-41d4-a716-446655440000"
15
15
  */
16
- productId?: string;
16
+ productId: string;
17
17
  /**
18
18
  * Day of week (0-6, where 0 is Sunday and 6 is Saturday).
19
19
  * Must be an integer between 0 and 6.
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsString, IsNotEmpty, IsInt, Min, Max, Matches, IsOptional, IsUUID } from 'class-validator';
10
+ import { IsString, IsNotEmpty, IsInt, Min, Max, Matches, IsUUID } from 'class-validator';
11
11
  import { Type } from 'class-transformer';
12
12
  /**
13
13
  * DTO for creating a new product schedule.
@@ -49,7 +49,7 @@ export class CreateProductScheduleDto {
49
49
  }
50
50
  __decorate([
51
51
  IsString(),
52
- IsOptional(),
52
+ IsNotEmpty(),
53
53
  IsUUID(),
54
54
  __metadata("design:type", String)
55
55
  ], CreateProductScheduleDto.prototype, "productId", void 0);
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @since 2.0.0
8
8
  */
9
- export * from './create-product-schedule.dto';
10
- export * from './update-product-schedule.dto';
11
- export * from './replace-by-product-id.dto';
12
- export * from './is-available-at-time.dto';
9
+ export * from './create-product-schedule.dto.js';
10
+ export * from './update-product-schedule.dto.js';
11
+ export * from './replace-by-product-id.dto.js';
12
+ export * from './is-available-at-time.dto.js';
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @since 2.0.0
8
8
  */
9
- export * from './create-product-schedule.dto';
10
- export * from './update-product-schedule.dto';
11
- export * from './replace-by-product-id.dto';
12
- export * from './is-available-at-time.dto';
9
+ export * from './create-product-schedule.dto.js';
10
+ export * from './update-product-schedule.dto.js';
11
+ export * from './replace-by-product-id.dto.js';
12
+ export * from './is-available-at-time.dto.js';
@@ -1,4 +1,4 @@
1
- import { CreateProductScheduleDto } from './create-product-schedule.dto';
1
+ import { CreateProductScheduleDto } from './create-product-schedule.dto.js';
2
2
  /**
3
3
  * DTO for replacing all product schedules.
4
4
  *
@@ -23,5 +23,5 @@ export declare class ReplaceProductSchedulesByProductIdDto {
23
23
  *
24
24
  * @example [{ dayOfWeek: 1, startTime: "09:00", endTime: "18:00" }]
25
25
  */
26
- schedules: CreateProductScheduleDto[];
26
+ schedules: Omit<CreateProductScheduleDto, 'productId'>[];
27
27
  }
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  };
10
10
  import { IsString, IsNotEmpty, IsArray, ValidateNested, ArrayMinSize, IsUUID } from 'class-validator';
11
11
  import { Type } from 'class-transformer';
12
- import { CreateProductScheduleDto } from './create-product-schedule.dto';
12
+ import { CreateProductScheduleDto } from './create-product-schedule.dto.js';
13
13
  /**
14
14
  * DTO for replacing all product schedules.
15
15
  *
@@ -13,7 +13,7 @@ export declare class UpdateProductScheduleDto {
13
13
  *
14
14
  * @example "880e8400-e29b-41d4-a716-446655440004"
15
15
  */
16
- id?: string;
16
+ productScheduleId: string;
17
17
  /**
18
18
  * Optional day of week (0-6, where 0 is Sunday and 6 is Saturday).
19
19
  * Must be an integer between 0 and 6 if provided.
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsString, IsOptional, IsInt, Min, Max, Matches, IsUUID, } from 'class-validator';
10
+ import { IsString, IsOptional, IsInt, Min, Max, Matches, IsUUID, IsNotEmpty, } from 'class-validator';
11
11
  import { Type } from 'class-transformer';
12
12
  /**
13
13
  * DTO for updating an existing product schedule.
@@ -24,7 +24,7 @@ export class UpdateProductScheduleDto {
24
24
  *
25
25
  * @example "880e8400-e29b-41d4-a716-446655440004"
26
26
  */
27
- id;
27
+ productScheduleId;
28
28
  /**
29
29
  * Optional day of week (0-6, where 0 is Sunday and 6 is Saturday).
30
30
  * Must be an integer between 0 and 6 if provided.
@@ -49,10 +49,10 @@ export class UpdateProductScheduleDto {
49
49
  }
50
50
  __decorate([
51
51
  IsString(),
52
- IsOptional(),
52
+ IsNotEmpty(),
53
53
  IsUUID(),
54
54
  __metadata("design:type", String)
55
- ], UpdateProductScheduleDto.prototype, "id", void 0);
55
+ ], UpdateProductScheduleDto.prototype, "productScheduleId", void 0);
56
56
  __decorate([
57
57
  IsOptional(),
58
58
  IsInt({ message: 'Day of week must be an integer' }),
@@ -46,7 +46,7 @@ export class CreateProductSizeDto {
46
46
  * @example true
47
47
  * @default true
48
48
  */
49
- status;
49
+ status = true;
50
50
  }
51
51
  __decorate([
52
52
  IsString(),
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @since 2.0.0
8
8
  */
9
- export * from './create-product-size.dto';
10
- export * from './update-product-size.dto';
11
- export * from './replace-by-product-id.dto';
12
- export * from './product-size-data.dto';
9
+ export * from './create-product-size.dto.js';
10
+ export * from './update-product-size.dto.js';
11
+ export * from './replace-by-product-id.dto.js';
12
+ export * from './product-size-data.dto.js';
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @since 2.0.0
8
8
  */
9
- export * from './create-product-size.dto';
10
- export * from './update-product-size.dto';
11
- export * from './replace-by-product-id.dto';
12
- export * from './product-size-data.dto';
9
+ export * from './create-product-size.dto.js';
10
+ export * from './update-product-size.dto.js';
11
+ export * from './replace-by-product-id.dto.js';
12
+ export * from './product-size-data.dto.js';
@@ -39,7 +39,7 @@ export class ProductSizeDataDto {
39
39
  * @example true
40
40
  * @default true
41
41
  */
42
- status;
42
+ status = true;
43
43
  }
44
44
  __decorate([
45
45
  IsString(),
@@ -1,4 +1,4 @@
1
- import { ProductSizeDataDto } from './product-size-data.dto';
1
+ import { ProductSizeDataDto } from './product-size-data.dto.js';
2
2
  /**
3
3
  * DTO for replacing all product sizes.
4
4
  *
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  };
10
10
  import { IsString, IsNotEmpty, IsArray, ValidateNested, ArrayMinSize, IsUUID } from 'class-validator';
11
11
  import { Type } from 'class-transformer';
12
- import { ProductSizeDataDto } from './product-size-data.dto';
12
+ import { ProductSizeDataDto } from './product-size-data.dto.js';
13
13
  /**
14
14
  * DTO for replacing all product sizes.
15
15
  *
@@ -13,7 +13,7 @@ export declare class UpdateProductSizeDto {
13
13
  *
14
14
  * @example "770e8400-e29b-41d4-a716-446655440002"
15
15
  */
16
- id: string;
16
+ productSizeId: string;
17
17
  /**
18
18
  * Optional name of the size variant.
19
19
  * Maximum length of 50 characters if provided.
@@ -24,7 +24,7 @@ export class UpdateProductSizeDto {
24
24
  *
25
25
  * @example "770e8400-e29b-41d4-a716-446655440002"
26
26
  */
27
- id;
27
+ productSizeId;
28
28
  /**
29
29
  * Optional name of the size variant.
30
30
  * Maximum length of 50 characters if provided.
@@ -51,7 +51,7 @@ __decorate([
51
51
  IsNotEmpty({ message: 'Size ID is required' }),
52
52
  IsUUID(),
53
53
  __metadata("design:type", String)
54
- ], UpdateProductSizeDto.prototype, "id", void 0);
54
+ ], UpdateProductSizeDto.prototype, "productSizeId", void 0);
55
55
  __decorate([
56
56
  IsOptional(),
57
57
  IsString(),
@@ -6,7 +6,5 @@
6
6
  *
7
7
  * @since 2.0.0
8
8
  */
9
- export * from './create-product-tag.dto';
10
- export * from './find-product-tag.dto';
11
- export * from './remove-product-tag.dto';
12
- export * from './replace-by-product-id.dto';
9
+ export * from './product-tag.dto.js';
10
+ export * from './replace-by-product-id.dto.js';
@@ -6,7 +6,5 @@
6
6
  *
7
7
  * @since 2.0.0
8
8
  */
9
- export * from './create-product-tag.dto';
10
- export * from './find-product-tag.dto';
11
- export * from './remove-product-tag.dto';
12
- export * from './replace-by-product-id.dto';
9
+ export * from './product-tag.dto.js';
10
+ export * from './replace-by-product-id.dto.js';
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @since 2.0.0
8
8
  */
9
- export declare class RemoveProductTagDto {
9
+ export declare class ProductTagDto {
10
10
  /**
11
11
  * Unique identifier of the product.
12
12
  * Must not be empty and must be a valid UUID.
@@ -16,7 +16,7 @@ import { IsString, IsNotEmpty, IsUUID } from 'class-validator';
16
16
  *
17
17
  * @since 2.0.0
18
18
  */
19
- export class RemoveProductTagDto {
19
+ export class ProductTagDto {
20
20
  /**
21
21
  * Unique identifier of the product.
22
22
  * Must not be empty and must be a valid UUID.
@@ -37,10 +37,10 @@ __decorate([
37
37
  IsNotEmpty({ message: 'Product ID is required' }),
38
38
  IsUUID(),
39
39
  __metadata("design:type", String)
40
- ], RemoveProductTagDto.prototype, "productId", void 0);
40
+ ], ProductTagDto.prototype, "productId", void 0);
41
41
  __decorate([
42
42
  IsString(),
43
43
  IsNotEmpty({ message: 'Tag ID is required' }),
44
44
  IsUUID(),
45
45
  __metadata("design:type", String)
46
- ], RemoveProductTagDto.prototype, "tagId", void 0);
46
+ ], ProductTagDto.prototype, "tagId", void 0);
@@ -1,4 +1,4 @@
1
- declare const UpdateProductDto_base: import("@nestjs/mapped-types").MappedType<Partial<unknown>>;
1
+ import { ProductStatus } from '../../enums/product-status.enum.js';
2
2
  /**
3
3
  * DTO for updating an existing product.
4
4
  *
@@ -8,20 +8,55 @@ declare const UpdateProductDto_base: import("@nestjs/mapped-types").MappedType<P
8
8
  *
9
9
  * @since 2.0.0
10
10
  */
11
- export declare class UpdateProductDto extends UpdateProductDto_base {
11
+ export declare class UpdateProductDto {
12
+ /**
13
+ * Product SKU (Stock Keeping Unit).
14
+ * Optional unique identifier for inventory management.
15
+ *
16
+ * @example "PROD-001"
17
+ */
18
+ sku?: string;
19
+ /**
20
+ * Product name.
21
+ * Must not be empty.
22
+ *
23
+ * @example "Big Mac"
24
+ */
25
+ name?: string;
26
+ /**
27
+ * Product description.
28
+ * Optional detailed description of the product.
29
+ *
30
+ * @example "Two all-beef patties, special sauce, lettuce, cheese, pickles, onions on a sesame seed bun"
31
+ */
32
+ description?: string;
33
+ /**
34
+ * Product base price.
35
+ * Must be a number with maximum 4 decimal places and minimum value of 0.
36
+ *
37
+ * @example 5.99
38
+ */
39
+ basePrice?: number;
40
+ /**
41
+ * Product status.
42
+ * Defaults to ACTIVE if not provided.
43
+ *
44
+ * @example ProductStatus.ACTIVE
45
+ * @default ProductStatus.ACTIVE
46
+ */
47
+ status?: ProductStatus;
12
48
  /**
13
49
  * Product ID to update.
14
50
  * Must be a valid UUID.
15
51
  *
16
52
  * @example "550e8400-e29b-41d4-a716-446655440000"
17
53
  */
18
- id: string;
54
+ productId: string;
19
55
  /**
20
56
  * User who updated the product.
21
57
  * Must be a valid MongoDB ObjectId if provided.
22
58
  *
23
59
  * @example "507f1f77bcf86cd799439011"
24
60
  */
25
- updatedBy?: string;
61
+ updatedBy: string;
26
62
  }
27
- export {};
@@ -7,9 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { PartialType } from '@nestjs/mapped-types';
11
- import { IsMongoId, IsString, IsUUID, IsOptional } from 'class-validator';
12
- import { CreateProductDto } from './create-product.dto';
10
+ import { IsMongoId, IsString, IsUUID, IsOptional, IsEnum, Min, IsNumber, IsNotEmpty } from 'class-validator';
11
+ import { ProductStatus } from '../../enums/product-status.enum.js';
12
+ import { Type } from 'class-transformer';
13
13
  /**
14
14
  * DTO for updating an existing product.
15
15
  *
@@ -19,14 +19,50 @@ import { CreateProductDto } from './create-product.dto';
19
19
  *
20
20
  * @since 2.0.0
21
21
  */
22
- export class UpdateProductDto extends PartialType(CreateProductDto) {
22
+ export class UpdateProductDto {
23
+ /**
24
+ * Product SKU (Stock Keeping Unit).
25
+ * Optional unique identifier for inventory management.
26
+ *
27
+ * @example "PROD-001"
28
+ */
29
+ sku;
30
+ /**
31
+ * Product name.
32
+ * Must not be empty.
33
+ *
34
+ * @example "Big Mac"
35
+ */
36
+ name;
37
+ /**
38
+ * Product description.
39
+ * Optional detailed description of the product.
40
+ *
41
+ * @example "Two all-beef patties, special sauce, lettuce, cheese, pickles, onions on a sesame seed bun"
42
+ */
43
+ description;
44
+ /**
45
+ * Product base price.
46
+ * Must be a number with maximum 4 decimal places and minimum value of 0.
47
+ *
48
+ * @example 5.99
49
+ */
50
+ basePrice;
51
+ /**
52
+ * Product status.
53
+ * Defaults to ACTIVE if not provided.
54
+ *
55
+ * @example ProductStatus.ACTIVE
56
+ * @default ProductStatus.ACTIVE
57
+ */
58
+ status = ProductStatus.ACTIVE;
23
59
  /**
24
60
  * Product ID to update.
25
61
  * Must be a valid UUID.
26
62
  *
27
63
  * @example "550e8400-e29b-41d4-a716-446655440000"
28
64
  */
29
- id;
65
+ productId;
30
66
  /**
31
67
  * User who updated the product.
32
68
  * Must be a valid MongoDB ObjectId if provided.
@@ -35,14 +71,44 @@ export class UpdateProductDto extends PartialType(CreateProductDto) {
35
71
  */
36
72
  updatedBy;
37
73
  }
74
+ __decorate([
75
+ IsOptional(),
76
+ IsString(),
77
+ __metadata("design:type", String)
78
+ ], UpdateProductDto.prototype, "sku", void 0);
79
+ __decorate([
80
+ IsOptional(),
81
+ IsString(),
82
+ __metadata("design:type", String)
83
+ ], UpdateProductDto.prototype, "name", void 0);
84
+ __decorate([
85
+ IsOptional(),
86
+ IsString(),
87
+ __metadata("design:type", String)
88
+ ], UpdateProductDto.prototype, "description", void 0);
89
+ __decorate([
90
+ IsOptional(),
91
+ IsNumber({
92
+ maxDecimalPlaces: 4,
93
+ }, { message: 'Base price must be a number with maximum 4 decimal places' }),
94
+ Type(() => Number),
95
+ Min(0, { message: 'Base price must be greater than or equal to 0' }),
96
+ __metadata("design:type", Number)
97
+ ], UpdateProductDto.prototype, "basePrice", void 0);
98
+ __decorate([
99
+ IsOptional(),
100
+ IsEnum(ProductStatus, { message: 'Status must be ACTIVE, INACTIVE, or OUT_OF_STOCK' }),
101
+ __metadata("design:type", String)
102
+ ], UpdateProductDto.prototype, "status", void 0);
38
103
  __decorate([
39
104
  IsString(),
40
105
  IsUUID(),
106
+ IsNotEmpty(),
41
107
  __metadata("design:type", String)
42
- ], UpdateProductDto.prototype, "id", void 0);
108
+ ], UpdateProductDto.prototype, "productId", void 0);
43
109
  __decorate([
44
110
  IsString(),
45
111
  IsMongoId(),
46
- IsOptional(),
112
+ IsNotEmpty(),
47
113
  __metadata("design:type", String)
48
114
  ], UpdateProductDto.prototype, "updatedBy", void 0);
@@ -1,4 +1,4 @@
1
- import { QuestionType } from '../../enums/question-type.enum';
1
+ import { QuestionType } from '../../enums/question-type.enum.js';
2
2
  /**
3
3
  * DTO for creating a new question.
4
4
  *
@@ -50,5 +50,5 @@ export declare class CreateQuestionDto {
50
50
  *
51
51
  * @example "507f1f77bcf86cd799439011"
52
52
  */
53
- createdBy?: string;
53
+ createdBy: string;
54
54
  }
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
10
  import { IsString, IsNotEmpty, IsOptional, IsBoolean, IsInt, IsEnum, Min, IsMongoId } from 'class-validator';
11
- import { QuestionType } from '../../enums/question-type.enum';
11
+ import { QuestionType } from '../../enums/question-type.enum.js';
12
12
  /**
13
13
  * DTO for creating a new question.
14
14
  *
@@ -86,11 +86,12 @@ __decorate([
86
86
  ], CreateQuestionDto.prototype, "max", void 0);
87
87
  __decorate([
88
88
  IsEnum(QuestionType, { message: 'Question type must be a valid QuestionType' }),
89
+ IsNotEmpty(),
89
90
  __metadata("design:type", String)
90
91
  ], CreateQuestionDto.prototype, "type", void 0);
91
92
  __decorate([
92
93
  IsString(),
93
94
  IsMongoId(),
94
- IsOptional(),
95
+ IsNotEmpty(),
95
96
  __metadata("design:type", String)
96
97
  ], CreateQuestionDto.prototype, "createdBy", void 0);
@@ -13,7 +13,7 @@ export declare class DeleteQuestionDto {
13
13
  *
14
14
  * @example "550e8400-e29b-41d4-a716-446655440000"
15
15
  */
16
- id: string;
16
+ questionId: string;
17
17
  /**
18
18
  * User who deleted the question.
19
19
  * Must be a valid MongoDB ObjectId.
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsString, IsMongoId, IsUUID } from 'class-validator';
10
+ import { IsString, IsMongoId, IsUUID, IsNotEmpty } from 'class-validator';
11
11
  /**
12
12
  * DTO for deleting a question.
13
13
  *
@@ -23,7 +23,7 @@ export class DeleteQuestionDto {
23
23
  *
24
24
  * @example "550e8400-e29b-41d4-a716-446655440000"
25
25
  */
26
- id;
26
+ questionId;
27
27
  /**
28
28
  * User who deleted the question.
29
29
  * Must be a valid MongoDB ObjectId.
@@ -35,10 +35,12 @@ export class DeleteQuestionDto {
35
35
  __decorate([
36
36
  IsString(),
37
37
  IsUUID(),
38
+ IsNotEmpty(),
38
39
  __metadata("design:type", String)
39
- ], DeleteQuestionDto.prototype, "id", void 0);
40
+ ], DeleteQuestionDto.prototype, "questionId", void 0);
40
41
  __decorate([
41
42
  IsString(),
42
43
  IsMongoId(),
44
+ IsNotEmpty(),
43
45
  __metadata("design:type", String)
44
46
  ], DeleteQuestionDto.prototype, "deletedBy", void 0);
@@ -6,7 +6,6 @@
6
6
  *
7
7
  * @since 2.0.0
8
8
  */
9
- export * from './create-question.dto';
10
- export * from './update-question.dto';
11
- export * from './delete-question.dto';
12
- export * from './search-by-name.dto';
9
+ export * from './create-question.dto.js';
10
+ export * from './update-question.dto.js';
11
+ export * from './delete-question.dto.js';
@@ -6,7 +6,6 @@
6
6
  *
7
7
  * @since 2.0.0
8
8
  */
9
- export * from './create-question.dto';
10
- export * from './update-question.dto';
11
- export * from './delete-question.dto';
12
- export * from './search-by-name.dto';
9
+ export * from './create-question.dto.js';
10
+ export * from './update-question.dto.js';
11
+ export * from './delete-question.dto.js';