@medusajs/types 1.12.0-snapshot-20240827104434 → 1.12.0-snapshot-20240904063643

Sign up to get free protection for your applications and to get access to all the features.
Files changed (285) hide show
  1. package/dist/auth/provider.d.ts +5 -0
  2. package/dist/auth/provider.d.ts.map +1 -1
  3. package/dist/auth/providers/github.d.ts +7 -0
  4. package/dist/auth/providers/github.d.ts.map +1 -0
  5. package/dist/{http/api-key/admin/api-key.js → auth/providers/github.js} +1 -1
  6. package/dist/auth/providers/github.js.map +1 -0
  7. package/dist/auth/providers/google.d.ts +2 -2
  8. package/dist/auth/providers/index.d.ts +1 -0
  9. package/dist/auth/providers/index.d.ts.map +1 -1
  10. package/dist/auth/providers/index.js +1 -0
  11. package/dist/auth/providers/index.js.map +1 -1
  12. package/dist/auth/service.d.ts +1 -0
  13. package/dist/auth/service.d.ts.map +1 -1
  14. package/dist/cart/common.d.ts +4 -0
  15. package/dist/cart/common.d.ts.map +1 -1
  16. package/dist/cart/service.d.ts +1 -1
  17. package/dist/cart/service.d.ts.map +1 -1
  18. package/dist/customer/mutations.d.ts +4 -0
  19. package/dist/customer/mutations.d.ts.map +1 -1
  20. package/dist/http/address/entities.d.ts +18 -0
  21. package/dist/http/address/entities.d.ts.map +1 -0
  22. package/dist/http/address/entities.js +3 -0
  23. package/dist/http/address/entities.js.map +1 -0
  24. package/dist/http/address/index.d.ts +2 -0
  25. package/dist/http/address/index.d.ts.map +1 -0
  26. package/dist/http/address/index.js +18 -0
  27. package/dist/http/address/index.js.map +1 -0
  28. package/dist/http/api-key/admin/index.d.ts +3 -1
  29. package/dist/http/api-key/admin/index.d.ts.map +1 -1
  30. package/dist/http/api-key/admin/index.js +3 -1
  31. package/dist/http/api-key/admin/index.js.map +1 -1
  32. package/dist/http/api-key/admin/payloads.d.ts +12 -0
  33. package/dist/http/api-key/admin/payloads.d.ts.map +1 -0
  34. package/dist/http/api-key/admin/payloads.js +3 -0
  35. package/dist/http/api-key/admin/payloads.js.map +1 -0
  36. package/dist/http/api-key/admin/queries.d.ts +17 -0
  37. package/dist/http/api-key/admin/queries.d.ts.map +1 -0
  38. package/dist/http/api-key/admin/queries.js +3 -0
  39. package/dist/http/api-key/admin/queries.js.map +1 -0
  40. package/dist/http/api-key/admin/{api-key.d.ts → responses.d.ts} +6 -5
  41. package/dist/http/api-key/admin/responses.d.ts.map +1 -0
  42. package/dist/http/api-key/admin/responses.js +3 -0
  43. package/dist/http/api-key/admin/responses.js.map +1 -0
  44. package/dist/http/auth/index.d.ts +2 -0
  45. package/dist/http/auth/index.d.ts.map +1 -0
  46. package/dist/http/auth/index.js +18 -0
  47. package/dist/http/auth/index.js.map +1 -0
  48. package/dist/http/auth/payloads.d.ts +7 -0
  49. package/dist/http/auth/payloads.d.ts.map +1 -0
  50. package/dist/http/auth/payloads.js +3 -0
  51. package/dist/http/auth/payloads.js.map +1 -0
  52. package/dist/http/campaign/admin/index.d.ts +1 -0
  53. package/dist/http/campaign/admin/index.d.ts.map +1 -1
  54. package/dist/http/campaign/admin/index.js +1 -0
  55. package/dist/http/campaign/admin/index.js.map +1 -1
  56. package/dist/http/campaign/admin/queries.d.ts +14 -0
  57. package/dist/http/campaign/admin/queries.d.ts.map +1 -0
  58. package/dist/http/campaign/admin/queries.js +3 -0
  59. package/dist/http/campaign/admin/queries.js.map +1 -0
  60. package/dist/http/campaign/admin/responses.d.ts +5 -4
  61. package/dist/http/campaign/admin/responses.d.ts.map +1 -1
  62. package/dist/http/cart/store/responses.d.ts +2 -0
  63. package/dist/http/cart/store/responses.d.ts.map +1 -1
  64. package/dist/http/collection/store/queries.d.ts +3 -1
  65. package/dist/http/collection/store/queries.d.ts.map +1 -1
  66. package/dist/http/common/response.d.ts +3 -1
  67. package/dist/http/common/response.d.ts.map +1 -1
  68. package/dist/http/currency/store/index.d.ts +1 -0
  69. package/dist/http/currency/store/index.d.ts.map +1 -1
  70. package/dist/http/currency/store/index.js +1 -0
  71. package/dist/http/currency/store/index.js.map +1 -1
  72. package/dist/http/currency/store/queries.d.ts +7 -0
  73. package/dist/http/currency/store/queries.d.ts.map +1 -0
  74. package/dist/http/currency/store/queries.js +3 -0
  75. package/dist/http/currency/store/queries.js.map +1 -0
  76. package/dist/http/customer/admin/entities.d.ts +2 -3
  77. package/dist/http/customer/admin/entities.d.ts.map +1 -1
  78. package/dist/http/customer/admin/queries.d.ts +2 -1
  79. package/dist/http/customer/admin/queries.d.ts.map +1 -1
  80. package/dist/http/customer/admin/responses.d.ts +5 -8
  81. package/dist/http/customer/admin/responses.d.ts.map +1 -1
  82. package/dist/http/customer/common.d.ts +2 -1
  83. package/dist/http/customer/common.d.ts.map +1 -1
  84. package/dist/http/customer/store/responses.d.ts +2 -1
  85. package/dist/http/customer/store/responses.d.ts.map +1 -1
  86. package/dist/http/customer-group/admin/entities.d.ts +4 -0
  87. package/dist/http/customer-group/admin/entities.d.ts.map +1 -0
  88. package/dist/http/customer-group/admin/entities.js +3 -0
  89. package/dist/http/customer-group/admin/entities.js.map +1 -0
  90. package/dist/http/customer-group/admin/index.d.ts +5 -0
  91. package/dist/http/customer-group/admin/index.d.ts.map +1 -0
  92. package/dist/http/customer-group/admin/index.js +21 -0
  93. package/dist/http/customer-group/admin/index.js.map +1 -0
  94. package/dist/http/customer-group/admin/payloads.d.ts +9 -0
  95. package/dist/http/customer-group/admin/payloads.d.ts.map +1 -0
  96. package/dist/http/customer-group/admin/payloads.js +3 -0
  97. package/dist/http/customer-group/admin/payloads.js.map +1 -0
  98. package/dist/http/customer-group/admin/queries.d.ts +32 -0
  99. package/dist/http/customer-group/admin/queries.d.ts.map +1 -0
  100. package/dist/http/customer-group/admin/queries.js +3 -0
  101. package/dist/http/customer-group/admin/queries.js.map +1 -0
  102. package/dist/http/customer-group/admin/responses.d.ts +9 -0
  103. package/dist/http/customer-group/admin/responses.d.ts.map +1 -0
  104. package/dist/http/customer-group/admin/responses.js +3 -0
  105. package/dist/http/customer-group/admin/responses.js.map +1 -0
  106. package/dist/http/customer-group/common.d.ts +10 -0
  107. package/dist/http/customer-group/common.d.ts.map +1 -0
  108. package/dist/http/customer-group/common.js +3 -0
  109. package/dist/http/customer-group/common.js.map +1 -0
  110. package/dist/http/customer-group/index.d.ts +2 -0
  111. package/dist/http/customer-group/index.d.ts.map +1 -0
  112. package/dist/http/customer-group/index.js +18 -0
  113. package/dist/http/customer-group/index.js.map +1 -0
  114. package/dist/http/file/admin/responses.d.ts +2 -0
  115. package/dist/http/file/admin/responses.d.ts.map +1 -1
  116. package/dist/http/fulfillment/admin/index.d.ts +1 -0
  117. package/dist/http/fulfillment/admin/index.d.ts.map +1 -1
  118. package/dist/http/fulfillment/admin/index.js +1 -0
  119. package/dist/http/fulfillment/admin/index.js.map +1 -1
  120. package/dist/http/fulfillment/admin/queries.d.ts +7 -0
  121. package/dist/http/fulfillment/admin/queries.d.ts.map +1 -0
  122. package/dist/http/fulfillment/admin/queries.js +3 -0
  123. package/dist/http/fulfillment/admin/queries.js.map +1 -0
  124. package/dist/http/fulfillment-set/admin/responses.d.ts +2 -2
  125. package/dist/http/fulfillment-set/admin/responses.d.ts.map +1 -1
  126. package/dist/http/index.d.ts +3 -0
  127. package/dist/http/index.d.ts.map +1 -1
  128. package/dist/http/index.js +3 -0
  129. package/dist/http/index.js.map +1 -1
  130. package/dist/http/inventory/admin/entities.d.ts +18 -0
  131. package/dist/http/inventory/admin/entities.d.ts.map +1 -1
  132. package/dist/http/inventory/admin/queries.d.ts +2 -2
  133. package/dist/http/inventory/admin/queries.d.ts.map +1 -1
  134. package/dist/http/inventory/admin/responses.d.ts +2 -1
  135. package/dist/http/inventory/admin/responses.d.ts.map +1 -1
  136. package/dist/http/invite/admin/index.d.ts +1 -0
  137. package/dist/http/invite/admin/index.d.ts.map +1 -1
  138. package/dist/http/invite/admin/index.js +1 -0
  139. package/dist/http/invite/admin/index.js.map +1 -1
  140. package/dist/http/invite/admin/queries.d.ts +11 -0
  141. package/dist/http/invite/admin/queries.d.ts.map +1 -0
  142. package/dist/http/invite/admin/queries.js +3 -0
  143. package/dist/http/invite/admin/queries.js.map +1 -0
  144. package/dist/http/invite/admin/responses.d.ts +2 -1
  145. package/dist/http/invite/admin/responses.d.ts.map +1 -1
  146. package/dist/http/order/admin/entities.d.ts +14 -0
  147. package/dist/http/order/admin/entities.d.ts.map +1 -1
  148. package/dist/http/order/admin/queries.d.ts +15 -1
  149. package/dist/http/order/admin/queries.d.ts.map +1 -1
  150. package/dist/http/order/admin/responses.d.ts +4 -0
  151. package/dist/http/order/admin/responses.d.ts.map +1 -1
  152. package/dist/http/order/common.d.ts +10 -4
  153. package/dist/http/order/common.d.ts.map +1 -1
  154. package/dist/http/order/store/queries.d.ts +5 -2
  155. package/dist/http/order/store/queries.d.ts.map +1 -1
  156. package/dist/http/order-edit/admin/responses.d.ts +2 -5
  157. package/dist/http/order-edit/admin/responses.d.ts.map +1 -1
  158. package/dist/http/payment/admin/queries.d.ts +18 -7
  159. package/dist/http/payment/admin/queries.d.ts.map +1 -1
  160. package/dist/http/payment/admin/responses.d.ts +1 -0
  161. package/dist/http/payment/admin/responses.d.ts.map +1 -1
  162. package/dist/http/payment/store/index.d.ts +1 -0
  163. package/dist/http/payment/store/index.d.ts.map +1 -1
  164. package/dist/http/payment/store/index.js +1 -0
  165. package/dist/http/payment/store/index.js.map +1 -1
  166. package/dist/http/payment/store/payloads.d.ts +4 -0
  167. package/dist/http/payment/store/payloads.d.ts.map +1 -0
  168. package/dist/http/payment/store/payloads.js +3 -0
  169. package/dist/http/payment/store/payloads.js.map +1 -0
  170. package/dist/http/payment/store/queries.d.ts +1 -0
  171. package/dist/http/payment/store/queries.d.ts.map +1 -1
  172. package/dist/http/pricing/admin/queries.d.ts +1 -0
  173. package/dist/http/pricing/admin/queries.d.ts.map +1 -1
  174. package/dist/http/product/admin/queries.d.ts +13 -4
  175. package/dist/http/product/admin/queries.d.ts.map +1 -1
  176. package/dist/http/product/admin/responses.d.ts +3 -3
  177. package/dist/http/product/admin/responses.d.ts.map +1 -1
  178. package/dist/http/product/store/queries.d.ts +1 -0
  179. package/dist/http/product/store/queries.d.ts.map +1 -1
  180. package/dist/http/product-category/common.d.ts +1 -0
  181. package/dist/http/product-category/common.d.ts.map +1 -1
  182. package/dist/http/promotion/admin/index.d.ts +2 -0
  183. package/dist/http/promotion/admin/index.d.ts.map +1 -1
  184. package/dist/http/promotion/admin/index.js +2 -0
  185. package/dist/http/promotion/admin/index.js.map +1 -1
  186. package/dist/http/promotion/admin/payloads.d.ts +69 -0
  187. package/dist/http/promotion/admin/payloads.d.ts.map +1 -0
  188. package/dist/http/promotion/admin/payloads.js +3 -0
  189. package/dist/http/promotion/admin/payloads.js.map +1 -0
  190. package/dist/http/promotion/admin/queries.d.ts +30 -0
  191. package/dist/http/promotion/admin/queries.d.ts.map +1 -0
  192. package/dist/http/promotion/admin/queries.js +3 -0
  193. package/dist/http/promotion/admin/queries.js.map +1 -0
  194. package/dist/http/promotion/admin/responses.d.ts +2 -1
  195. package/dist/http/promotion/admin/responses.d.ts.map +1 -1
  196. package/dist/http/promotion/common.d.ts +2 -2
  197. package/dist/http/promotion/common.d.ts.map +1 -1
  198. package/dist/http/region/admin/queries.d.ts +10 -1
  199. package/dist/http/region/admin/queries.d.ts.map +1 -1
  200. package/dist/http/region/admin/responses.d.ts +2 -1
  201. package/dist/http/region/admin/responses.d.ts.map +1 -1
  202. package/dist/http/region/common.d.ts +2 -3
  203. package/dist/http/region/common.d.ts.map +1 -1
  204. package/dist/http/reservation/admin/entities.d.ts +2 -2
  205. package/dist/http/reservation/admin/entities.d.ts.map +1 -1
  206. package/dist/http/reservation/admin/index.d.ts +2 -0
  207. package/dist/http/reservation/admin/index.d.ts.map +1 -1
  208. package/dist/http/reservation/admin/index.js +2 -0
  209. package/dist/http/reservation/admin/index.js.map +1 -1
  210. package/dist/http/reservation/admin/payloads.d.ts +15 -0
  211. package/dist/http/reservation/admin/payloads.d.ts.map +1 -0
  212. package/dist/http/reservation/admin/payloads.js +3 -0
  213. package/dist/http/reservation/admin/payloads.js.map +1 -0
  214. package/dist/http/reservation/admin/queries.d.ts +17 -0
  215. package/dist/http/reservation/admin/queries.d.ts.map +1 -0
  216. package/dist/http/reservation/admin/queries.js +3 -0
  217. package/dist/http/reservation/admin/queries.js.map +1 -0
  218. package/dist/http/reservation/admin/responses.d.ts +5 -4
  219. package/dist/http/reservation/admin/responses.d.ts.map +1 -1
  220. package/dist/http/return/admin/responses.d.ts +2 -1
  221. package/dist/http/return/admin/responses.d.ts.map +1 -1
  222. package/dist/http/return/common.d.ts +2 -0
  223. package/dist/http/return/common.d.ts.map +1 -1
  224. package/dist/http/return/store/index.d.ts +1 -0
  225. package/dist/http/return/store/index.d.ts.map +1 -1
  226. package/dist/http/return/store/index.js +1 -0
  227. package/dist/http/return/store/index.js.map +1 -1
  228. package/dist/http/return/store/payloads.d.ts +20 -0
  229. package/dist/http/return/store/payloads.d.ts.map +1 -0
  230. package/dist/http/return/store/payloads.js +3 -0
  231. package/dist/http/return/store/payloads.js.map +1 -0
  232. package/dist/http/shipping-option/admin/queries.d.ts +6 -4
  233. package/dist/http/shipping-option/admin/queries.d.ts.map +1 -1
  234. package/dist/http/shipping-option/store/index.d.ts +1 -0
  235. package/dist/http/shipping-option/store/index.d.ts.map +1 -1
  236. package/dist/http/shipping-option/store/index.js +1 -0
  237. package/dist/http/shipping-option/store/index.js.map +1 -1
  238. package/dist/http/shipping-option/store/queries.d.ts +6 -0
  239. package/dist/http/shipping-option/store/queries.d.ts.map +1 -0
  240. package/dist/http/shipping-option/store/queries.js +3 -0
  241. package/dist/http/shipping-option/store/queries.js.map +1 -0
  242. package/dist/http/stock-locations/admin/queries.d.ts +5 -1
  243. package/dist/http/stock-locations/admin/queries.d.ts.map +1 -1
  244. package/dist/http/tax-rate/admin/queries.d.ts +6 -7
  245. package/dist/http/tax-rate/admin/queries.d.ts.map +1 -1
  246. package/dist/http/tax-rate/admin/responses.d.ts +2 -1
  247. package/dist/http/tax-rate/admin/responses.d.ts.map +1 -1
  248. package/dist/http/workflow-execution/admin/entities.d.ts +54 -4
  249. package/dist/http/workflow-execution/admin/entities.d.ts.map +1 -1
  250. package/dist/http/workflow-execution/admin/index.d.ts +1 -0
  251. package/dist/http/workflow-execution/admin/index.d.ts.map +1 -1
  252. package/dist/http/workflow-execution/admin/index.js +1 -0
  253. package/dist/http/workflow-execution/admin/index.js.map +1 -1
  254. package/dist/http/workflow-execution/admin/queries.d.ts +6 -0
  255. package/dist/http/workflow-execution/admin/queries.d.ts.map +1 -0
  256. package/dist/http/workflow-execution/admin/queries.js +3 -0
  257. package/dist/http/workflow-execution/admin/queries.js.map +1 -0
  258. package/dist/http/workflow-execution/admin/responses.d.ts.map +1 -1
  259. package/dist/notification/common.d.ts +39 -0
  260. package/dist/notification/common.d.ts.map +1 -1
  261. package/dist/notification/provider.d.ts +9 -0
  262. package/dist/notification/provider.d.ts.map +1 -1
  263. package/dist/order/common.d.ts +8 -0
  264. package/dist/order/common.d.ts.map +1 -1
  265. package/dist/order/mutations.d.ts +3 -0
  266. package/dist/order/mutations.d.ts.map +1 -1
  267. package/dist/order/service.d.ts +175 -175
  268. package/dist/order/service.d.ts.map +1 -1
  269. package/dist/promotion/common/promotion.d.ts +1 -1
  270. package/dist/promotion/common/promotion.d.ts.map +1 -1
  271. package/dist/shared-context.d.ts +5 -0
  272. package/dist/shared-context.d.ts.map +1 -1
  273. package/dist/workflow/order/cancel-claim.d.ts +1 -0
  274. package/dist/workflow/order/cancel-claim.d.ts.map +1 -1
  275. package/dist/workflow/order/cancel-exchange.d.ts +1 -0
  276. package/dist/workflow/order/cancel-exchange.d.ts.map +1 -1
  277. package/dist/workflow/order/cancel-fulfillment.d.ts +1 -0
  278. package/dist/workflow/order/cancel-fulfillment.d.ts.map +1 -1
  279. package/dist/workflow/order/cancel-order.d.ts +1 -0
  280. package/dist/workflow/order/cancel-order.d.ts.map +1 -1
  281. package/dist/workflow/order/cancel-return.d.ts +1 -0
  282. package/dist/workflow/order/cancel-return.d.ts.map +1 -1
  283. package/package.json +1 -1
  284. package/dist/http/api-key/admin/api-key.d.ts.map +0 -1
  285. package/dist/http/api-key/admin/api-key.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,6CAA0B;AAC1B,yCAAsB;AACtB,0CAAuB;AACvB,+CAA4B;AAC5B,2CAAwB;AACxB,6CAA0B;AAC1B,6CAA0B;AAC1B,6CAA0B;AAC1B,yCAAsB;AACtB,gDAA6B;AAC7B,yDAAsC;AACtC,oDAAiC;AACjC,8CAA2B;AAC3B,oDAAiC;AACjC,2CAAwB;AACxB,iDAA8B;AAC9B,0CAAuB;AACvB,+CAA4B;AAC5B,4CAAyB;AACzB,+CAA4B;AAC5B,4CAAyB;AACzB,4CAAyB;AACzB,qDAAkC;AAClC,gDAA6B;AAC7B,iDAA8B;AAC9B,8CAA2B;AAC3B,2CAAwB;AACxB,gDAA6B;AAC7B,2CAAwB;AACxB,kDAA+B;AAC/B,kDAA+B;AAC/B,oDAAiC;AACjC,qDAAkC;AAClC,oDAAiC;AACjC,0CAAuB;AACvB,6CAA0B;AAC1B,+CAA4B;AAC5B,yCAAsB;AACtB,uDAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,4CAAyB;AACzB,yCAAsB;AACtB,6CAA0B;AAC1B,yCAAsB;AACtB,0CAAuB;AACvB,+CAA4B;AAC5B,2CAAwB;AACxB,6CAA0B;AAC1B,6CAA0B;AAC1B,mDAAgC;AAChC,6CAA0B;AAC1B,yCAAsB;AACtB,gDAA6B;AAC7B,yDAAsC;AACtC,oDAAiC;AACjC,8CAA2B;AAC3B,oDAAiC;AACjC,2CAAwB;AACxB,iDAA8B;AAC9B,0CAAuB;AACvB,+CAA4B;AAC5B,4CAAyB;AACzB,+CAA4B;AAC5B,4CAAyB;AACzB,4CAAyB;AACzB,qDAAkC;AAClC,gDAA6B;AAC7B,iDAA8B;AAC9B,8CAA2B;AAC3B,2CAAwB;AACxB,gDAA6B;AAC7B,2CAAwB;AACxB,kDAA+B;AAC/B,kDAA+B;AAC/B,oDAAiC;AACjC,qDAAkC;AAClC,oDAAiC;AACjC,0CAAuB;AACvB,6CAA0B;AAC1B,+CAA4B;AAC5B,yCAAsB;AACtB,uDAAoC"}
@@ -14,5 +14,23 @@ export interface AdminInventoryItem {
14
14
  description?: string | null;
15
15
  thumbnail?: string | null;
16
16
  metadata?: Record<string, unknown> | null;
17
+ location_levels?: AdminInventoryLevel[];
18
+ }
19
+ export interface AdminInventoryLevel {
20
+ id: string;
21
+ created_at: Date;
22
+ updated_at: Date;
23
+ deleted_at: Date | null;
24
+ inventory_item_id: string;
25
+ location_id: string;
26
+ stocked_quantity: number;
27
+ raw_stocked_quantity: Record<string, unknown>;
28
+ reserved_quantity: number;
29
+ raw_reserved_quantity: Record<string, unknown>;
30
+ incoming_quantity: number;
31
+ raw_incoming_quantity: Record<string, unknown>;
32
+ metadata: Record<string, unknown> | null;
33
+ inventory_item?: AdminInventoryItem;
34
+ available_quantity: number | null;
17
35
  }
18
36
  //# sourceMappingURL=entities.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory/admin/entities.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,iBAAiB,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI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CAAC,EAAE,mBAAmB,EAAE,CAAA;CACxC;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;IACvB,iBAAiB,EAAE,MAAM,CAAA;IACzB,WAAW,EAAE,MAAM,CAAA;IACnB,gBAAgB,EAAE,MAAM,CAAA;IACxB,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC7C,iBAAiB,EAAE,MAAM,CAAA;IACzB,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC9C,iBAAiB,EAAE,MAAM,CAAA;IACzB,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC9C,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,cAAc,CAAC,EAAE,kBAAkB,CAAA;IACnC,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAA;CAClC"}
@@ -1,6 +1,6 @@
1
1
  import { FindParams } from "../../common";
2
- import { OperatorMap } from "../../../dal";
3
- export interface AdminInventoryItemParams extends FindParams {
2
+ import { BaseFilterable, OperatorMap } from "../../../dal";
3
+ export interface AdminInventoryItemParams extends FindParams, BaseFilterable<AdminInventoryItemParams> {
4
4
  id?: string | string[];
5
5
  q?: string;
6
6
  sku?: string | string[];
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C,MAAM,WAAW,wBAAyB,SAAQ,UAAU;IAC1D,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,C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AC5B,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC5B,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACrC,MAAM,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACrC,MAAM,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACrC,KAAK,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACpC,eAAe,CAAC,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;CAC3D"}
@@ -1,4 +1,4 @@
1
- import { DeleteResponse, PaginatedResponse } from "../../common";
1
+ import { DeleteResponse, DeleteResponseWithParent, PaginatedResponse } from "../../common";
2
2
  import { AdminInventoryItem } from "./entities";
3
3
  export interface AdminInventoryItemResponse {
4
4
  inventory_item: AdminInventoryItem;
@@ -7,4 +7,5 @@ export type AdminInventoryItemListResponse = PaginatedResponse<{
7
7
  inventory_items: AdminInventoryItem[];
8
8
  }>;
9
9
  export type AdminInventoryItemDeleteResponse = DeleteResponse<"inventory_item">;
10
+ export type AdminInventoryLevelDeleteResponse = DeleteResponseWithParent<"inventory-level", AdminInventoryItem>;
10
11
  //# sourceMappingURL=responses.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE/C,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,kBAAkB,CAAA;CACnC;AAED,MAAM,MAAM,8BAA8B,GAAG,iBAAiB,CAAC;IAC7D,eAAe,EAAE,kBAAkB,EAAE,CAAA;CACtC,CAAC,CAAA;AAEF,MAAM,MAAM,gCAAgC,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAAA"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAC1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE/C,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,kBAAkB,CAAA;CACnC;AAED,MAAM,MAAM,8BAA8B,GAAG,iBAAiB,CAAC;IAC7D,eAAe,EAAE,kBAAkB,EAAE,CAAA;CACtC,CAAC,CAAA;AAEF,MAAM,MAAM,gCAAgC,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAAA;AAE/E,MAAM,MAAM,iCAAiC,GAAG,wBAAwB,CACtE,iBAAiB,EACjB,kBAAkB,CACnB,CAAA"}
@@ -1,4 +1,5 @@
1
1
  export * from "./entities";
2
2
  export * from "./payloads";
3
+ export * from "./queries";
3
4
  export * from "./responses";
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/invite/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/invite/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA"}
@@ -16,5 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./entities"), exports);
18
18
  __exportStar(require("./payloads"), exports);
19
+ __exportStar(require("./queries"), exports);
19
20
  __exportStar(require("./responses"), exports);
20
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/invite/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,8CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/invite/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
@@ -0,0 +1,11 @@
1
+ import { BaseFilterable, OperatorMap } from "../../../dal";
2
+ import { FindParams } from "../../common";
3
+ export interface AdminGetInvitesParams extends FindParams, BaseFilterable<AdminGetInvitesParams> {
4
+ q?: string;
5
+ id?: string | string[];
6
+ email?: string | string[];
7
+ created_at?: OperatorMap<string>;
8
+ updated_at?: OperatorMap<string>;
9
+ deleted_at?: OperatorMap<string>;
10
+ }
11
+ //# sourceMappingURL=queries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/invite/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,MAAM,WAAW,qBAAsB,SAAQ,UAAU,EAAE,cAAc,CAAC,qBAAqB,CAAC;IAC9F,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACzB,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=queries.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/invite/admin/queries.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- import { PaginatedResponse } from "../../common";
1
+ import { DeleteResponse, PaginatedResponse } from "../../common";
2
2
  import { AdminUser } from "../../user";
3
3
  import { AdminInvite } from "./entities";
4
4
  export interface AdminInviteResponse {
@@ -12,4 +12,5 @@ export type AdminAcceptInviteResponse = {
12
12
  } | {
13
13
  message: string;
14
14
  };
15
+ export type AdminInviteDeleteResponse = DeleteResponse<"invite">;
15
16
  //# sourceMappingURL=responses.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/invite/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IACtD,OAAO,EAAE,WAAW,EAAE,CAAA;CACvB,CAAC,CAAA;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,SAAS,CAAA;CAChB,GAAG;IACF,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/invite/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IACtD,OAAO,EAAE,WAAW,EAAE,CAAA;CACvB,CAAC,CAAA;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,SAAS,CAAA;CAChB,GAAG;IACF,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAA"}
@@ -1,14 +1,28 @@
1
+ import { AdminCustomer } from "../../customer";
1
2
  import { AdminPaymentCollection } from "../../payment/admin";
3
+ import { AdminProductVariant } from "../../product";
4
+ import { AdminRegionCountry } from "../../region";
5
+ import { AdminSalesChannel } from "../../sales-channel";
2
6
  import { BaseOrder, BaseOrderAddress, BaseOrderChange, BaseOrderChangeAction, BaseOrderFulfillment, BaseOrderLineItem, BaseOrderShippingMethod } from "../common";
3
7
  export interface AdminOrder extends BaseOrder {
4
8
  payment_collections: AdminPaymentCollection[];
5
9
  fulfillments?: BaseOrderFulfillment[];
10
+ sales_channel?: AdminSalesChannel;
11
+ customer?: AdminCustomer;
12
+ shipping_address?: AdminOrderAddress | null;
13
+ billing_address?: AdminOrderAddress | null;
14
+ }
15
+ export interface AdminOrderLineItem extends BaseOrderLineItem {
16
+ variant?: AdminProductVariant;
17
+ }
18
+ export interface AdminOrderChange extends BaseOrderChange {
6
19
  }
7
20
  export interface AdminOrderFulfillment extends BaseOrderFulfillment {
8
21
  }
9
22
  export interface AdminOrderLineItem extends BaseOrderLineItem {
10
23
  }
11
24
  export interface AdminOrderAddress extends BaseOrderAddress {
25
+ country?: AdminRegionCountry;
12
26
  }
13
27
  export interface AdminOrderShippingMethod extends BaseOrderShippingMethod {
14
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,UAAW,SAAQ,SAAS;IAC3C,mBAAmB,EAAE,sBAAsB,EAAE,CAAA;IAC7C,YAAY,CAAC,EAAE,oBAAoB,EAAE,CAAA;CACtC;AAED,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;CAAG;AAEtE,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAC5E,MAAM,WAAW,iBACf,SAAQ,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,kBAAkB,CAAC;IACtD,sBAAsB,EAAE,MAAM,CAAA;IAC9B,YAAY,EAAE,eAAe,CAAA;IAC7B,KAAK,EAAE,CAAC,iBAAiB,GAAG;QAAE,OAAO,CAAC,EAAE,qBAAqB,EAAE,CAAA;KAAE,CAAC,EAAE,CAAA;IACpE,gBAAgB,EAAE,CAAC,uBAAuB,GAAG;QAC3C,OAAO,CAAC,EAAE,qBAAqB,EAAE,CAAA;KAClC,CAAC,EAAE,CAAA;CACL"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAC9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AACnD,OAAO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AAE,CAAA;KAClC,CAAC,EAAE,CAAA;CACL"}
@@ -1,4 +1,18 @@
1
+ import { OperatorMap } from "../../../dal";
2
+ import { FulfillmentStatus, PaymentStatus } from "../../../order";
3
+ import { FindParams } from "../../common";
1
4
  import { BaseOrderFilters } from "../common";
2
- export interface AdminOrderFilters extends BaseOrderFilters {
5
+ import { BaseOrderChangesFilters } from "../common";
6
+ export interface AdminOrderFilters extends FindParams, BaseOrderFilters {
7
+ id?: string[] | string;
8
+ sales_channel_id?: string[];
9
+ fulfillment_status?: FulfillmentStatus[];
10
+ payment_status?: PaymentStatus[];
11
+ region_id?: string[];
12
+ q?: string;
13
+ created_at?: OperatorMap<string>;
14
+ updated_at?: OperatorMap<string>;
15
+ }
16
+ export interface AdminOrderChangesFilters extends BaseOrderChangesFilters {
3
17
  }
4
18
  //# sourceMappingURL=queries.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG"}
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAA;AAEnD,MAAM,WAAW,iBAAkB,SAAQ,UAAU,EAAE,gBAAgB;IACrE,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IACtB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC3B,kBAAkB,CAAC,EAAE,iBAAiB,EAAE,CAAA;IACxC,cAAc,CAAC,EAAE,aAAa,EAAE,CAAA;IAChC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC;AAGD,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG"}
@@ -1,8 +1,12 @@
1
1
  import { PaginatedResponse } from "../../common";
2
+ import { BaseOrderChange } from "../common";
2
3
  import { AdminOrder, AdminOrderPreview } from "./entities";
3
4
  export interface AdminOrderResponse {
4
5
  order: AdminOrder;
5
6
  }
7
+ export interface AdminOrderChangesResponse {
8
+ order_changes: BaseOrderChange[];
9
+ }
6
10
  export type AdminOrderListResponse = PaginatedResponse<{
7
11
  orders: AdminOrder[];
8
12
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAE1D,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,UAAU,CAAA;CAClB;AAED,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;IACrD,MAAM,EAAE,UAAU,EAAE,CAAA;CACrB,CAAC,CAAA;AAEF,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,iBAAiB,CAAA;CACzB;AAED,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,UAAU,CAAA;CACxB;AAED,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;IAC1D,YAAY,EAAE,UAAU,CAAA;CACzB,CAAC,CAAA"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAE1D,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,UAAU,CAAA;CAClB;AAED,MAAM,WAAW,yBAAyB;IACxC,aAAa,EAAE,eAAe,EAAE,CAAA;CACjC;AAED,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;IACrD,MAAM,EAAE,UAAU,EAAE,CAAA;CACrB,CAAC,CAAA;AAEF,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,iBAAiB,CAAA;CACzB;AAED,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,UAAU,CAAA;CACxB;AAED,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;IAC1D,YAAY,EAAE,UAAU,CAAA;CACzB,CAAC,CAAA"}
@@ -1,6 +1,7 @@
1
1
  import { BaseFilterable, OperatorMap } from "../../dal";
2
2
  import { BigNumberValue } from "../../totals";
3
3
  import { BaseClaim } from "../claim/common";
4
+ import { FindParams } from "../common";
4
5
  import { BasePaymentCollection } from "../payment/common";
5
6
  import { BaseProduct, BaseProductVariant } from "../product/common";
6
7
  export interface BaseOrderSummary {
@@ -227,9 +228,9 @@ export interface BaseOrder {
227
228
  sales_channel_id: string | null;
228
229
  email: string | null;
229
230
  currency_code: string;
230
- display_id?: string;
231
- shipping_address?: BaseOrderAddress;
232
- billing_address?: BaseOrderAddress;
231
+ display_id?: number;
232
+ shipping_address?: BaseOrderAddress | null;
233
+ billing_address?: BaseOrderAddress | null;
233
234
  items: BaseOrderLineItem[] | null;
234
235
  shipping_methods: BaseOrderShippingMethod[] | null;
235
236
  payment_collections?: BasePaymentCollection[];
@@ -264,10 +265,15 @@ export interface BaseOrder {
264
265
  original_shipping_subtotal: number;
265
266
  original_shipping_tax_total: number;
266
267
  }
267
- export interface BaseOrderFilters extends BaseFilterable<BaseOrderFilters> {
268
+ export interface BaseOrderFilters extends FindParams, BaseFilterable<BaseOrderFilters> {
268
269
  id?: string[] | string | OperatorMap<string | string[]>;
269
270
  status?: string[] | string | OperatorMap<string | string[]>;
270
271
  }
272
+ export interface BaseOrderChangesFilters extends BaseFilterable<BaseOrderChangesFilters> {
273
+ id?: string[] | string | OperatorMap<string | string[]>;
274
+ status?: string[] | string | OperatorMap<string | string[]>;
275
+ change_type?: string[] | string | OperatorMap<string | string[]>;
276
+ }
271
277
  export interface BaseOrderChange {
272
278
  /**
273
279
  * The ID of the order change
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/order/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAA;AACzD,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAEnE,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;IACvB,cAAc,EAAE,MAAM,CAAA;IACtB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,eAAe,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,MAAM,CAAA;IACvB,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,CAAA;IACrB,OAAO,EAAE,MAAM,CAAA;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I,CAAA;IAE9B;;;;OAIG;IACH,YAAY,EAAE,eAAe,GAAG,IAAI,CAAA;IAEpC;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IAEvB;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IAExB;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IAEvB;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAE1B;;;;OAIG;IACH,KAAK,EAAE,SAAS,GAAG,IAAI,CAAA;IAEvB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IAEvC;;OAEG;IACH,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;IAE5B;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,CAAA;IAEzB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,CAAA;CAC1B"}
@@ -1,4 +1,7 @@
1
- import { BaseOrderFilters } from "../common";
2
- export interface StoreOrderFilters extends BaseOrderFilters {
1
+ import { BaseFilterable } from "../../../dal";
2
+ import { FindParams } from "../../common";
3
+ export interface StoreOrderFilters extends FindParams, BaseFilterable<StoreOrderFilters> {
4
+ id?: string | string[];
5
+ name?: string | string[];
3
6
  }
4
7
  //# sourceMappingURL=queries.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/order/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG"}
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/order/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,WAAW,iBAAkB,SACjC,UAAU,EAAE,cAAc,CAAC,iBAAiB,CAAC;IAC3C,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CACzB"}
@@ -1,13 +1,10 @@
1
1
  import { OrderChangeDTO, OrderPreviewDTO } from "../../../order";
2
+ import { DeleteResponse } from "../../common";
2
3
  export interface AdminOrderEditPreviewResponse {
3
4
  order_preview: OrderPreviewDTO;
4
5
  }
5
6
  export interface AdminOrderEditResponse {
6
7
  order_change: OrderChangeDTO;
7
8
  }
8
- export interface AdminOrderEditDeleteResponse {
9
- id: string;
10
- object: "order-edit";
11
- deleted: true;
12
- }
9
+ export type AdminOrderEditDeleteResponse = DeleteResponse<"order-edit">;
13
10
  //# sourceMappingURL=responses.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/order-edit/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAEhE,MAAM,WAAW,6BAA6B;IAC5C,aAAa,EAAE,eAAe,CAAA;CAC/B;AAED,MAAM,WAAW,sBAAsB;IACrC,YAAY,EAAE,cAAc,CAAA;CAC7B;AAED,MAAM,WAAW,4BAA4B;IAC3C,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,YAAY,CAAA;IACpB,OAAO,EAAE,IAAI,CAAA;CACd"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/order-edit/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,MAAM,WAAW,6BAA6B;IAC5C,aAAa,EAAE,eAAe,CAAA;CAC/B;AAED,MAAM,WAAW,sBAAsB;IACrC,YAAY,EAAE,cAAc,CAAA;CAC7B;AAED,MAAM,MAAM,4BAA4B,GAAG,cAAc,CAAC,YAAY,CAAC,CAAA"}
@@ -1,19 +1,30 @@
1
- import { BaseFilterable } from "../../../dal";
2
- import { BasePaymentCollectionFilters, BasePaymentFilters, BasePaymentProviderFilters, BasePaymentSessionFilters } from "../common";
3
- import { AdminRefund, AdminRefundReason } from "./entities";
4
- export interface AdminPaymentProviderFilters extends BasePaymentProviderFilters {
1
+ import { BaseFilterable, OperatorMap } from "../../../dal";
2
+ import { FindParams } from "../../common";
3
+ import { BasePaymentCollectionFilters, BasePaymentFilters, BasePaymentSessionFilters } from "../common";
4
+ import { AdminRefundReason } from "./entities";
5
+ export interface AdminPaymentProviderFilters extends FindParams, BaseFilterable<AdminPaymentProviderFilters> {
6
+ id: string | string[];
5
7
  is_enabled?: boolean;
6
8
  }
7
9
  export interface AdminPaymentCollectionFilters extends BasePaymentCollectionFilters {
8
10
  }
9
11
  export interface AdminPaymentSessionFilters extends BasePaymentSessionFilters {
10
12
  }
11
- export interface AdminPaymentFilters extends BasePaymentFilters {
13
+ export interface AdminPaymentFilters extends FindParams, BasePaymentFilters {
14
+ q?: string;
15
+ payment_session_id?: string | string[];
16
+ created_at?: OperatorMap<string>;
17
+ updated_at?: OperatorMap<string>;
18
+ deleted_at?: OperatorMap<string>;
12
19
  }
13
- export interface RefundFilters extends BaseFilterable<AdminRefund> {
20
+ export interface RefundReasonFilters extends FindParams, BaseFilterable<AdminRefundReason> {
14
21
  id?: string | string[];
22
+ q?: string;
15
23
  }
16
- export interface RefundReasonFilters extends BaseFilterable<AdminRefundReason> {
24
+ export interface AdminGetPaymentProvidersParams extends FindParams, BaseFilterable<AdminGetPaymentProvidersParams> {
17
25
  id?: string | string[];
26
+ is_enabled?: boolean;
27
+ $and?: AdminGetPaymentProvidersParams[];
28
+ $or?: AdminGetPaymentProvidersParams[];
18
29
  }
19
30
  //# sourceMappingURL=queries.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EACL,4BAA4B,EAC5B,kBAAkB,EAClB,0BAA0B,EAC1B,yBAAyB,EAC1B,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAE3D,MAAM,WAAW,2BACf,SAAQ,0BAA0B;IAClC,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AACD,MAAM,WAAW,6BACf,SAAQ,4BAA4B;CAAG;AACzC,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG;AAEhF,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAElE,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,WAAW,CAAC;IAChE,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CACvB;AACD,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,iBAAiB,CAAC;IAC5E,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CACvB"}
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EACL,4BAA4B,EAC5B,kBAAkB,EAClB,yBAAyB,EAC1B,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAE9C,MAAM,WAAW,2BAA4B,SAC3C,UAAU,EAAE,cAAc,CAAC,2BAA2B,CAAC;IACrD,EAAE,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACrB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AACH,MAAM,WAAW,6BACf,SAAQ,4BAA4B;CAAG;AACzC,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG;AAEhF,MAAM,WAAW,mBAAoB,SAAQ,UAAU,EAAE,kBAAkB;IACzE,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,kBAAkB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC;AAED,MAAM,WAAW,mBAAoB,SAAQ,UAAU,EAAE,cAAc,CAAC,iBAAiB,CAAC;IACxF,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,CAAC,CAAC,EAAE,MAAM,CAAA;CACX;AAED,MAAM,WAAW,8BACf,SAAQ,UAAU,EAChB,cAAc,CAAC,8BAA8B,CAAC;IAChD,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,IAAI,CAAC,EAAE,8BAA8B,EAAE,CAAA;IACvC,GAAG,CAAC,EAAE,8BAA8B,EAAE,CAAA;CACvC"}
@@ -29,4 +29,5 @@ export type RefundReasonsResponse = PaginatedResponse<{
29
29
  export type AdminPaymentProviderListResponse = PaginatedResponse<{
30
30
  payment_providers: AdminPaymentProvider[];
31
31
  }>;
32
+ export type AdminRefundReasonDeleteResponse = DeleteResponse<"refund_reason">;
32
33
  //# sourceMappingURL=responses.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EACL,YAAY,EACZ,sBAAsB,EACtB,oBAAoB,EACpB,WAAW,EACX,iBAAiB,EAClB,MAAM,YAAY,CAAA;AAEnB,MAAM,WAAW,8BAA8B;IAC7C,kBAAkB,EAAE,sBAAsB,CAAA;CAC3C;AAED,MAAM,WAAW,oCACf,SAAQ,cAAc,CAAC,oBAAoB,CAAC;CAAG;AAEjD,MAAM,WAAW,+BAA+B;IAC9C,mBAAmB,EAAE,sBAAsB,EAAE,CAAA;CAC9C;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,YAAY,CAAA;CACtB;AAED,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,CAAC;IACpD,QAAQ,EAAE,YAAY,EAAE,CAAA;CACzB,CAAC,CAAA;AAEF,MAAM,WAAW,mBAAmB;IAClC,aAAa,EAAE,WAAW,CAAA;CAC3B;AAED,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC;IACnD,cAAc,EAAE,WAAW,EAAE,CAAA;CAC9B,CAAC,CAAA;AAEF,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,iBAAiB,CAAA;CACjC;AAED,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,CAAC;IACpD,cAAc,EAAE,iBAAiB,EAAE,CAAA;CACpC,CAAC,CAAA;AAEF,MAAM,MAAM,gCAAgC,GAAG,iBAAiB,CAAC;IAC/D,iBAAiB,EAAE,oBAAoB,EAAE,CAAA;CAC1C,CAAC,CAAA"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EACL,YAAY,EACZ,sBAAsB,EACtB,oBAAoB,EACpB,WAAW,EACX,iBAAiB,EAClB,MAAM,YAAY,CAAA;AAEnB,MAAM,WAAW,8BAA8B;IAC7C,kBAAkB,EAAE,sBAAsB,CAAA;CAC3C;AAED,MAAM,WAAW,oCACf,SAAQ,cAAc,CAAC,oBAAoB,CAAC;CAAG;AAEjD,MAAM,WAAW,+BAA+B;IAC9C,mBAAmB,EAAE,sBAAsB,EAAE,CAAA;CAC9C;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,YAAY,CAAA;CACtB;AAED,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,CAAC;IACpD,QAAQ,EAAE,YAAY,EAAE,CAAA;CACzB,CAAC,CAAA;AAEF,MAAM,WAAW,mBAAmB;IAClC,aAAa,EAAE,WAAW,CAAA;CAC3B;AAED,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC;IACnD,cAAc,EAAE,WAAW,EAAE,CAAA;CAC9B,CAAC,CAAA;AAEF,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,iBAAiB,CAAA;CACjC;AAED,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,CAAC;IACpD,cAAc,EAAE,iBAAiB,EAAE,CAAA;CACpC,CAAC,CAAA;AAEF,MAAM,MAAM,gCAAgC,GAAG,iBAAiB,CAAC;IAC/D,iBAAiB,EAAE,oBAAoB,EAAE,CAAA;CAC1C,CAAC,CAAA;AAEF,MAAM,MAAM,+BAA+B,GAAG,cAAc,CAAC,eAAe,CAAC,CAAA"}
@@ -1,4 +1,5 @@
1
1
  export * from "./entities";
2
+ export * from "./payloads";
2
3
  export * from "./queries";
3
4
  export * from "./responses";
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA"}
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./payloads"), exports);
18
19
  __exportStar(require("./queries"), exports);
19
20
  __exportStar(require("./responses"), exports);
20
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/payment/store/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/payment/store/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
@@ -0,0 +1,4 @@
1
+ export interface StoreCreatePaymentCollection {
2
+ cart_id: string;
3
+ }
4
+ //# sourceMappingURL=payloads.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,MAAM,CAAA;CAChB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=payloads.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/payment/store/payloads.ts"],"names":[],"mappings":""}
@@ -1,5 +1,6 @@
1
1
  import { BasePaymentCollectionFilters, BasePaymentProviderFilters, BasePaymentSessionFilters } from "../common";
2
2
  export interface StorePaymentProviderFilters extends BasePaymentProviderFilters {
3
+ is_enabled?: boolean;
3
4
  }
4
5
  export interface StorePaymentCollectionFilters extends BasePaymentCollectionFilters {
5
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,0BAA0B,EAC1B,yBAAyB,EAC1B,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,2BACf,SAAQ,0BAA0B;CAAG;AACvC,MAAM,WAAW,6BACf,SAAQ,4BAA4B;CAAG;AACzC,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG"}
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,0BAA0B,EAC1B,yBAAyB,EAC1B,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,2BACf,SAAQ,0BAA0B;IAChC,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AACH,MAAM,WAAW,6BACf,SAAQ,4BAA4B;CAAG;AACzC,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG"}
@@ -4,6 +4,7 @@ export interface AdminPricePreferenceListParams extends FindParams, BaseFilterab
4
4
  id?: string | string[];
5
5
  attribute?: string | string[];
6
6
  value?: string | string[];
7
+ q?: string;
7
8
  }
8
9
  export interface AdminPricePreferenceParams extends SelectParams {
9
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/pricing/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAEvD,MAAM,WAAW,8BACf,SAAQ,UAAU,EAChB,cAAc,CAAC,8BAA8B,CAAC;IAChD,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAC1B;AAED,MAAM,WAAW,0BAA2B,SAAQ,YAAY;CAAG"}
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/pricing/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAEvD,MAAM,WAAW,8BACf,SAAQ,UAAU,EAChB,cAAc,CAAC,8BAA8B,CAAC;IAChD,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACzB,CAAC,CAAC,EAAE,MAAM,CAAA;CACX;AAED,MAAM,WAAW,0BAA2B,SAAQ,YAAY;CAAG"}
@@ -1,9 +1,18 @@
1
- import { BaseProductListParams, BaseProductOptionParams, BaseProductVariantParams } from "../common";
2
- export interface AdminProductOptionParams extends BaseProductOptionParams {
1
+ import { BaseFilterable, OperatorMap } from "../../../dal";
2
+ import { FindParams } from "../../common";
3
+ import { BaseProductListParams, BaseProductOptionParams } from "../common";
4
+ export interface AdminProductOptionParams extends Omit<BaseProductOptionParams, "product_id"> {
3
5
  }
4
- export interface AdminProductVariantParams extends BaseProductVariantParams {
6
+ export interface AdminProductVariantParams extends FindParams, BaseFilterable<AdminProductVariantParams> {
7
+ q?: string;
8
+ id?: string | string[];
9
+ manage_inventory?: boolean;
10
+ allow_backorder?: boolean;
11
+ created_at?: OperatorMap<string>;
12
+ updated_at?: OperatorMap<string>;
13
+ deleted_at?: OperatorMap<string>;
5
14
  }
6
- export interface AdminProductListParams extends BaseProductListParams {
15
+ export interface AdminProductListParams extends Omit<BaseProductListParams, "categories"> {
7
16
  price_list_id?: string | string[];
8
17
  variants?: AdminProductVariantParams;
9
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACzB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAC5E,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG;AAC9E,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;IACnE,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACjC,QAAQ,CAAC,EAAE,yBAAyB,CAAA;CACrC"}
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,wBAAyB,SAAQ,IAAI,CAAC,uBAAuB,EAAE,YAAY,CAAC;CAAG;AAChG,MAAM,WAAW,yBAA0B,SACzC,UAAU,EAAE,cAAc,CAAC,yBAAyB,CAAC;IACnD,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC;AACH,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,qBAAqB,EAAE,YAAY,CAAC;IACvF,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACjC,QAAQ,CAAC,EAAE,yBAAyB,CAAA;CACrC"}
@@ -1,5 +1,5 @@
1
1
  import { BatchMethodResponse } from "../../../common";
2
- import { DeleteResponse, PaginatedResponse } from "../../common";
2
+ import { DeleteResponse, DeleteResponseWithParent, PaginatedResponse } from "../../common";
3
3
  import { AdminProduct, AdminProductOption, AdminProductVariant, AdminProductVariantInventoryLink } from "./entitites";
4
4
  import { AdminInventoryItem } from "../../inventory";
5
5
  export interface AdminProductResponse {
@@ -18,7 +18,7 @@ export interface AdminProductVariantResponse {
18
18
  export type AdminProductVariantListResponse = PaginatedResponse<{
19
19
  variants: AdminProductVariant[];
20
20
  }>;
21
- export interface AdminProductVariantDeleteResponse extends DeleteResponse<"variant", AdminProduct> {
21
+ export interface AdminProductVariantDeleteResponse extends DeleteResponseWithParent<"variant", AdminProduct> {
22
22
  }
23
23
  export interface AdminExportProductResponse {
24
24
  transaction_id: string;
@@ -40,7 +40,7 @@ export interface AdminProductOptionResponse {
40
40
  export type AdminProductOptionListResponse = PaginatedResponse<{
41
41
  product_options: AdminProductOption[];
42
42
  }>;
43
- export interface AdminProductOptionDeleteResponse extends DeleteResponse<"product_option", AdminProduct> {
43
+ export interface AdminProductOptionDeleteResponse extends DeleteResponseWithParent<"product_option", AdminProduct> {
44
44
  }
45
45
  export type AdminProductVariantInventoryResponse = AdminProductVariantInventoryLink | AdminProductVariantInventoryLink[];
46
46
  export interface AdminProductVariantInventoryBatchResponse {
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,iB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AE,CAAA;CAChC,CAAC,CAAA;AAEF,MAAM,WAAW,iCACf,SAAQ,wBAAwB,CAAC,SAAS,EAAE,YAAY,CAAC;CAAG;AAE9D,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,MAAM,CAAA;IACtB,OAAO,EAAE;QACP,QAAQ,EAAE,MAAM,CAAA;QAChB,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAA;CACF;AAED,MAAM,WAAW,gCACf,SAAQ,mBAAmB,CAAC,mBAAmB,CAAC;CAAG;AAErD,MAAM,WAAW,6CACf,SAAQ,mBAAmB,CAAC,kBAAkB,CAAC;CAAG;AAEpD,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,kBAAkB,CAAA;CACnC;AAED,MAAM,MAAM,8BAA8B,GAAG,iBAAiB,CAAC;IAC7D,eAAe,EAAE,kBAAkB,EAAE,CAAA;CACtC,CAAC,CAAA;AAEF,MAAM,WAAW,gCACf,SAAQ,wBAAwB,CAAC,gBAAgB,EAAE,YAAY,CAAC;CAAG;AAErE,MAAM,MAAM,oCAAoC,GAAG,gCAAgC,GAAG,gCAAgC,EAAE,CAAA;AAExH,MAAM,WAAW,yCAAyC;IACxD,OAAO,EAAE,oCAAoC,CAAA;IAC7C,OAAO,EAAE,oCAAoC,CAAA;IAC7C,OAAO,EAAE,oCAAoC,CAAA;CAC9C;AAED,MAAM,WAAW,8CAA8C;IAC7D,EAAE,EAAE,gCAAgC,CAAA;IACpC,MAAM,EAAE,6BAA6B,CAAA;IACrC,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,EAAE,mBAAmB,CAAA;CAC5B"}
@@ -7,5 +7,6 @@ export interface StoreProductParams extends BaseProductListParams {
7
7
  region_id?: string;
8
8
  currency_code?: string;
9
9
  variants?: StoreProductVariantParams;
10
+ province?: string;
10
11
  }
11
12
  //# sourceMappingURL=queries.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/product/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACzB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAC5E,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG;AAC9E,MAAM,WAAW,kBAAmB,SAAQ,qBAAqB;IAE/D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,yBAAyB,CAAA;CACrC"}
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/product/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACzB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAC5E,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG;AAC9E,MAAM,WAAW,kBAAmB,SAAQ,qBAAqB;IAE/D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,yBAAyB,CAAA;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB"}
@@ -13,6 +13,7 @@ export interface BaseProductCategory {
13
13
  parent_category: BaseProductCategory | null;
14
14
  category_children: BaseProductCategory[];
15
15
  products?: BaseProduct[];
16
+ metadata?: Record<string, unknown> | null;
16
17
  created_at: string;
17
18
  updated_at: string;
18
19
  deleted_at: string | null;