@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,6 +1,6 @@
1
1
  import { CampaignBudgetTypeValues } from "../../../promotion";
2
- import { PaginatedResponse } from "../../common";
3
- export interface CampaignResponse {
2
+ import { DeleteResponse, PaginatedResponse } from "../../common";
3
+ export interface AdminCampaign {
4
4
  id: string;
5
5
  name: string;
6
6
  description: string;
@@ -17,9 +17,10 @@ export interface CampaignResponse {
17
17
  };
18
18
  }
19
19
  export type AdminCampaignListResponse = PaginatedResponse<{
20
- campaigns: CampaignResponse[];
20
+ campaigns: AdminCampaign[];
21
21
  }>;
22
22
  export interface AdminCampaignResponse {
23
- campaign: CampaignResponse;
23
+ campaign: AdminCampaign;
24
24
  }
25
+ export type AdminCampaignDeleteResponse = DeleteResponse<"campaign">;
25
26
  //# sourceMappingURL=responses.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/campaign/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhD,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE;QACN,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,wBAAwB,CAAA;QAC9B,aAAa,EAAE,MAAM,CAAA;QACrB,KAAK,EAAE,MAAM,CAAA;QACb,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;CACF;AAED,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IACxD,SAAS,EAAE,gBAAgB,EAAE,CAAA;CAC9B,CAAC,CAAA;AAEF,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,gBAAgB,CAAA;CAC3B"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/campaign/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE;QACN,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,wBAAwB,CAAA;QAC9B,aAAa,EAAE,MAAM,CAAA;QACrB,KAAK,EAAE,MAAM,CAAA;QACb,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;CACF;AAED,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IACxD,SAAS,EAAE,aAAa,EAAE,CAAA;CAC3B,CAAC,CAAA;AAEF,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,MAAM,2BAA2B,GAAG,cAAc,CAAC,UAAU,CAAC,CAAA"}
@@ -1,3 +1,4 @@
1
+ import { DeleteResponseWithParent } from "../../common";
1
2
  import { StoreOrder } from "../../order";
2
3
  import { StoreCart } from "./entities";
3
4
  export interface StoreCartResponse {
@@ -15,4 +16,5 @@ export type StoreCompleteCartResponse = {
15
16
  type: "order";
16
17
  order: StoreOrder;
17
18
  };
19
+ export type StoreLineItemDeleteResponse = DeleteResponseWithParent<"line-item", StoreCart>;
18
20
  //# sourceMappingURL=responses.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/cart/store/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAEtC,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,SAAS,CAAA;CAChB;AAED,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,SAAS,CAAA;IACf,KAAK,EAAE;QACL,OAAO,EAAE,MAAM,CAAA;QACf,IAAI,EAAE,MAAM,CAAA;QACZ,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;CACF,GAAG;IACF,IAAI,EAAE,OAAO,CAAA;IACb,KAAK,EAAE,UAAU,CAAA;CAClB,CAAA"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/cart/store/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAA;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAEtC,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,SAAS,CAAA;CAChB;AAED,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,SAAS,CAAA;IACf,KAAK,EAAE;QACL,OAAO,EAAE,MAAM,CAAA;QACf,IAAI,EAAE,MAAM,CAAA;QACZ,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;CACF,GAAG;IACF,IAAI,EAAE,OAAO,CAAA;IACb,KAAK,EAAE,UAAU,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG,wBAAwB,CAAC,WAAW,EAAE,SAAS,CAAC,CAAA"}
@@ -1,4 +1,6 @@
1
+ import { OperatorMap } from "../../../dal";
1
2
  import { BaseCollectionListParams } from "../common";
2
- export interface StoreCollectionFilters extends BaseCollectionListParams {
3
+ export interface StoreCollectionFilters extends Omit<BaseCollectionListParams, "id"> {
4
+ deleted_at?: OperatorMap<string>;
3
5
  }
4
6
  //# sourceMappingURL=queries.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/collection/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAErD,MAAM,WAAW,sBAAuB,SAAQ,wBAAwB;CAAG"}
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/collection/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAErD,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,wBAAwB,EAAE,IAAI,CAAC;IAClF,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC"}
@@ -1,4 +1,4 @@
1
- export type DeleteResponse<TObject extends string, TParent = {}> = {
1
+ export type DeleteResponse<TObject extends string> = {
2
2
  /**
3
3
  * The ID of the item that was deleted.
4
4
  */
@@ -11,6 +11,8 @@ export type DeleteResponse<TObject extends string, TParent = {}> = {
11
11
  * Whether the item was deleted successfully.
12
12
  */
13
13
  deleted: boolean;
14
+ };
15
+ export type DeleteResponseWithParent<TObject extends string, TParent = {}> = DeleteResponse<TObject> & {
14
16
  /**
15
17
  * The parent resource of the item that was deleted, if applicable.
16
18
  */
@@ -1 +1 @@
1
- {"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../src/http/common/response.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,CAAC,OAAO,SAAS,MAAM,EAAE,OAAO,GAAG,EAAE,IAAI;IACjE;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,MAAM,EAAE,OAAO,CAAA;IAEf;;OAEG;IACH,OAAO,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;CACd,GAAG,CAAC,CAAA"}
1
+ {"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../src/http/common/response.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,CAAC,OAAO,SAAS,MAAM,IAAI;IACnD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,MAAM,EAAE,OAAO,CAAA;IAEf;;OAEG;IACH,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,wBAAwB,CAAC,OAAO,SAAS,MAAM,EAAE,OAAO,GAAG,EAAE,IACvE,cAAc,CAAC,OAAO,CAAC,GACvB;IACE;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAEH,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;CACd,GAAG,CAAC,CAAA"}
@@ -1,3 +1,4 @@
1
1
  export * from "./entities";
2
+ export * from "./queries";
2
3
  export * from "./responses";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/currency/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/currency/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA"}
@@ -15,5 +15,6 @@ 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("./queries"), exports);
18
19
  __exportStar(require("./responses"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/currency/store/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,8CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/currency/store/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
@@ -0,0 +1,7 @@
1
+ import { BaseFilterable } from "../../../dal";
2
+ import { FindParams } from "../../common";
3
+ export interface StoreGetCurrencyListParams extends FindParams, BaseFilterable<StoreGetCurrencyListParams> {
4
+ q?: string;
5
+ code?: string | string[];
6
+ }
7
+ //# sourceMappingURL=queries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/currency/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,WAAW,0BAA2B,SAC1C,UAAU,EAAE,cAAc,CAAC,0BAA0B,CAAC;IACpD,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CACzB"}
@@ -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/currency/store/queries.ts"],"names":[],"mappings":""}
@@ -1,6 +1,5 @@
1
- import { BaseCustomer, BaseCustomerAddress, BaseCustomerGroup } from "../common";
2
- export interface AdminCustomerGroup extends BaseCustomerGroup {
3
- }
1
+ import { AdminCustomerGroup } from "../../customer-group";
2
+ import { BaseCustomer, BaseCustomerAddress } from "../common";
4
3
  export interface AdminCustomer extends BaseCustomer {
5
4
  has_account: boolean;
6
5
  groups?: AdminCustomerGroup[];
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,aAAc,SAAQ,YAAY;IACjD,WAAW,EAAE,OAAO,CAAA;IACpB,MAAM,CAAC,EAAE,kBAAkB,EAAE,CAAA;CAC9B;AACD,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;CAAG"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAA;AAE7D,MAAM,WAAW,aAAc,SAAQ,YAAY;IACjD,WAAW,EAAE,OAAO,CAAA;IACpB,MAAM,CAAC,EAAE,kBAAkB,EAAE,CAAA;CAC9B;AACD,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;CAAG"}
@@ -1,6 +1,7 @@
1
1
  import { BaseCustomerAddressFilters, BaseCustomerFilters, CustomerGroupInCustomerFilters } from "../common";
2
2
  export interface AdminCustomerFilters extends BaseCustomerFilters {
3
- groups: CustomerGroupInCustomerFilters | string[] | string;
3
+ groups?: CustomerGroupInCustomerFilters | string[] | string;
4
+ has_account?: boolean;
4
5
  }
5
6
  export interface AdminCustomerAddressFilters extends BaseCustomerAddressFilters {
6
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,mBAAmB,EACnB,8BAA8B,EAC/B,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;IAC/D,MAAM,EAAE,8BAA8B,GAAG,MAAM,EAAE,GAAG,MAAM,CAAA;CAC3D;AACD,MAAM,WAAW,2BACf,SAAQ,0BAA0B;CAAG"}
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,mBAAmB,EACnB,8BAA8B,EAC/B,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;IAC/D,MAAM,CAAC,EAAE,8BAA8B,GAAG,MAAM,EAAE,GAAG,MAAM,CAAA;IAC3D,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AACD,MAAM,WAAW,2BACf,SAAQ,0BAA0B;CAAG"}
@@ -1,21 +1,18 @@
1
- import { PaginatedResponse } from "../../common";
2
- import { AdminCustomer, AdminCustomerAddress, AdminCustomerGroup } from "./entities";
1
+ import { DeleteResponse, DeleteResponseWithParent, PaginatedResponse } from "../../common";
2
+ import { AdminCustomer, AdminCustomerAddress } from "./entities";
3
3
  export interface AdminCustomerResponse {
4
4
  customer: AdminCustomer;
5
5
  }
6
6
  export type AdminCustomerListResponse = PaginatedResponse<{
7
7
  customers: AdminCustomer;
8
8
  }>;
9
- export interface AdminCustomerGroupResponse {
10
- customer_group: AdminCustomerGroup;
11
- }
12
- export type AdminCustomerGroupListResponse = PaginatedResponse<{
13
- customer_groups: AdminCustomerGroup[];
14
- }>;
15
9
  export interface AdminCustomerAddressResponse {
16
10
  address: AdminCustomerAddress;
17
11
  }
18
12
  export type AdminCustomerAddressListResponse = PaginatedResponse<{
19
13
  addresses: AdminCustomerAddress[];
20
14
  }>;
15
+ export type AdminCustomerDeleteResponse = DeleteResponse<"customer">;
16
+ export type AdminCustomerGroupDeleteResponse = DeleteResponse<"customer_group">;
17
+ export type AdminCustomerAddressDeleteResponse = DeleteResponseWithParent<"customer_address", AdminCustomer>;
21
18
  //# sourceMappingURL=responses.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErF,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IAAE,SAAS,EAAE,aAAa,CAAA;CAAE,CAAC,CAAA;AAEvF,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,4BAA4B;IAC3C,OAAO,EAAE,oBAAoB,CAAA;CAC9B;AAED,MAAM,MAAM,gCAAgC,GAAG,iBAAiB,CAAC;IAC/D,SAAS,EAAE,oBAAoB,EAAE,CAAA;CAClC,CAAC,CAAA"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAC1F,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEhE,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IACxD,SAAS,EAAE,aAAa,CAAA;CACzB,CAAC,CAAA;AAEF,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,oBAAoB,CAAA;CAC9B;AAED,MAAM,MAAM,gCAAgC,GAAG,iBAAiB,CAAC;IAC/D,SAAS,EAAE,oBAAoB,EAAE,CAAA;CAClC,CAAC,CAAA;AAEF,MAAM,MAAM,2BAA2B,GAAG,cAAc,CAAC,UAAU,CAAC,CAAA;AAEpE,MAAM,MAAM,gCAAgC,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAAA;AAE/E,MAAM,MAAM,kCAAkC,GAAG,wBAAwB,CACvE,kBAAkB,EAClB,aAAa,CACd,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import { BaseFilterable, OperatorMap } from "../../dal";
2
+ import { FindParams } from "../common";
2
3
  export interface BaseCustomerGroup {
3
4
  id: string;
4
5
  name: string | null;
@@ -50,7 +51,7 @@ export interface CustomerGroupInCustomerFilters {
50
51
  updated_at: OperatorMap<string>;
51
52
  deleted_at: OperatorMap<string>;
52
53
  }
53
- export interface BaseCustomerFilters extends BaseFilterable<BaseCustomerFilters> {
54
+ export interface BaseCustomerFilters extends FindParams, BaseFilterable<BaseCustomerFilters> {
54
55
  q?: string;
55
56
  id?: string[] | string | OperatorMap<string | string[]>;
56
57
  email?: string[] | string | OperatorMap<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/customer/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvD,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG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IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAClC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC7B;AAED,MAAM,WAAW,yBAAyB;IACxC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACzC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC7B"}
@@ -1,4 +1,4 @@
1
- import { PaginatedResponse } from "../../common";
1
+ import { DeleteResponseWithParent, PaginatedResponse } from "../../common";
2
2
  import { StoreCustomer, StoreCustomerAddress } from "./entities";
3
3
  export interface StoreCustomerResponse {
4
4
  customer: StoreCustomer;
@@ -10,4 +10,5 @@ export interface StoreCustomerAddressListResponse extends PaginatedResponse<{
10
10
  addresses: StoreCustomerAddress[];
11
11
  }> {
12
12
  }
13
+ export type StoreCustomerAddressDeleteResponse = DeleteResponseWithParent<"address", StoreCustomer>;
13
14
  //# sourceMappingURL=responses.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/store/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEjE,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,oBAAoB,CAAA;CAC9B;AAED,MAAM,WAAW,gCACf,SAAQ,iBAAiB,CAAC;IAAE,SAAS,EAAE,oBAAoB,EAAE,CAAA;CAAE,CAAC;CAAG"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/store/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEjE,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,oBAAoB,CAAA;CAC9B;AAED,MAAM,WAAW,gCACf,SAAQ,iBAAiB,CAAC;IAAE,SAAS,EAAE,oBAAoB,EAAE,CAAA;CAAE,CAAC;CAAG;AAErE,MAAM,MAAM,kCAAkC,GAAG,wBAAwB,CAAC,SAAS,EAAE,aAAa,CAAC,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { BaseCustomerGroup } from "../common";
2
+ export interface AdminCustomerGroup extends BaseCustomerGroup {
3
+ }
4
+ //# sourceMappingURL=entities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/customer-group/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAE7C,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=entities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/customer-group/admin/entities.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export * from "./entities";
2
+ export * from "./payloads";
3
+ export * from "./queries";
4
+ export * from "./responses";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/customer-group/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./payloads"), exports);
19
+ __exportStar(require("./queries"), exports);
20
+ __exportStar(require("./responses"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/customer-group/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
@@ -0,0 +1,9 @@
1
+ export interface AdminCreateCustomerGroup {
2
+ name: string;
3
+ metadata?: Record<string, unknown> | null;
4
+ }
5
+ export interface AdminUpdateCustomerGroup {
6
+ name?: string;
7
+ metadata?: Record<string, unknown> | null;
8
+ }
9
+ //# sourceMappingURL=payloads.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/customer-group/admin/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C"}
@@ -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/customer-group/admin/payloads.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
1
+ import { BaseFilterable, OperatorMap } from "../../../dal";
2
+ import { FindParams, SelectParams } from "../../common";
3
+ export interface AdminCustomerInGroupFilters {
4
+ id?: string | string[];
5
+ email?: string | string[] | OperatorMap<string>;
6
+ default_billing_address_id?: string | string[];
7
+ default_shipping_address_id?: string | string[];
8
+ company_name?: string | string[];
9
+ first_name?: string | string[];
10
+ last_name?: string | string[];
11
+ created_by?: string | string[];
12
+ created_at?: OperatorMap<string>;
13
+ updated_at?: OperatorMap<string>;
14
+ deleted_at?: OperatorMap<string>;
15
+ }
16
+ export interface AdminGetCustomerGroupsParams extends FindParams, BaseFilterable<AdminGetCustomerGroupsParams> {
17
+ limit?: number;
18
+ offset?: number;
19
+ q?: string;
20
+ id?: string | string[];
21
+ name?: string | string[];
22
+ customers?: string | string[] | AdminCustomerInGroupFilters;
23
+ created_by?: string | string[];
24
+ created_at?: OperatorMap<string>;
25
+ updated_at?: OperatorMap<string>;
26
+ deleted_at?: OperatorMap<string>;
27
+ $and?: AdminGetCustomerGroupsParams[];
28
+ $or?: AdminGetCustomerGroupsParams[];
29
+ }
30
+ export interface AdminGetCustomerGroupParams extends SelectParams {
31
+ }
32
+ //# sourceMappingURL=queries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/customer-group/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1D,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAEvD,MAAM,WAAW,2BAA2B;IAC1C,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IAC/C,0BAA0B,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC9C,2BAA2B,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC/C,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAChC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC9B,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC7B,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC9B,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,4BACf,SAAQ,UAAU,EAChB,cAAc,CAAC,4BAA4B,CAAC;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACxB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,2BAA2B,CAAA;IAC3D,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC9B,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;IAChC,IAAI,CAAC,EAAE,4BAA4B,EAAE,CAAA;IACrC,GAAG,CAAC,EAAE,4BAA4B,EAAE,CAAA;CACrC;AAED,MAAM,WAAW,2BAA4B,SAAQ,YAAY;CAAG"}
@@ -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/customer-group/admin/queries.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import { PaginatedResponse } from "../../common";
2
+ import { AdminCustomerGroup } from "./entities";
3
+ export interface AdminCustomerGroupResponse {
4
+ customer_group: AdminCustomerGroup;
5
+ }
6
+ export type AdminCustomerGroupListResponse = PaginatedResponse<{
7
+ customer_groups: AdminCustomerGroup[];
8
+ }>;
9
+ //# sourceMappingURL=responses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/customer-group/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,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"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=responses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/customer-group/admin/responses.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import { BaseCustomer } from "../customer/common";
2
+ export interface BaseCustomerGroup {
3
+ id: string;
4
+ name: string | null;
5
+ customers: BaseCustomer[];
6
+ metadata: Record<string, unknown> | null;
7
+ created_at: string;
8
+ updated_at: string;
9
+ }
10
+ //# sourceMappingURL=common.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/customer-group/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEjD,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,SAAS,EAAE,YAAY,EAAE,CAAA;IACzB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;CACnB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=common.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/http/customer-group/common.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./admin";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/customer-group/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./admin"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/customer-group/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
@@ -1,3 +1,4 @@
1
+ import { DeleteResponse } from "../../common";
1
2
  import { AdminFile } from "./entities";
2
3
  export interface AdminFileResponse {
3
4
  file: AdminFile;
@@ -5,4 +6,5 @@ export interface AdminFileResponse {
5
6
  export interface AdminFileListResponse {
6
7
  files: AdminFile[];
7
8
  }
9
+ export type AdminFileDeleteResponse = DeleteResponse<"file">;
8
10
  //# sourceMappingURL=responses.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/file/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,SAAS,CAAA;CAChB;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,SAAS,EAAE,CAAA;CACnB"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/file/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,SAAS,CAAA;CAChB;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,SAAS,EAAE,CAAA;CACnB;AAED,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,MAAM,CAAC,CAAA"}
@@ -1,4 +1,5 @@
1
1
  export * from "./entitites";
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/fulfillment/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,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("./entitites"), 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/fulfillment/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,6CAA0B;AAC1B,8CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
@@ -0,0 +1,7 @@
1
+ export interface AdminGetFulfillmentProvidersParams {
2
+ id?: string | string[];
3
+ stock_location_id?: string | string[];
4
+ is_enabled?: boolean;
5
+ q?: string;
6
+ }
7
+ //# sourceMappingURL=queries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/queries.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kCAAkC;IACjD,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,iBAAiB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACrC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,CAAC,CAAC,EAAE,MAAM,CAAA;CACX"}
@@ -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/fulfillment/admin/queries.ts"],"names":[],"mappings":""}
@@ -1,9 +1,9 @@
1
- import { DeleteResponse } from "../../common";
1
+ import { DeleteResponse, DeleteResponseWithParent } from "../../common";
2
2
  import { AdminFulfillmentSet, AdminServiceZone } from "./entities";
3
3
  export interface AdminServiceZoneResponse {
4
4
  service_zone: AdminServiceZone;
5
5
  }
6
- export interface AdminServiceZoneDeleteResponse extends DeleteResponse<"service_zone", AdminFulfillmentSet> {
6
+ export interface AdminServiceZoneDeleteResponse extends DeleteResponseWithParent<"service_zone", AdminFulfillmentSet> {
7
7
  }
8
8
  export interface AdminFulfillmentSetResponse {
9
9
  fulfillment_set: AdminFulfillmentSet;
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment-set/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAElE,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,gBAAgB,CAAA;CAC/B;AAED,MAAM,WAAW,8BACf,SAAQ,cAAc,CAAC,cAAc,EAAE,mBAAmB,CAAC;CAAG;AAEhE,MAAM,WAAW,2BAA2B;IAC1C,eAAe,EAAE,mBAAmB,CAAA;CACrC;AAED,MAAM,WAAW,iCACf,SAAQ,cAAc,CAAC,iBAAiB,CAAC;CAAG"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment-set/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAA;AACvE,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAElE,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,gBAAgB,CAAA;CAC/B;AAED,MAAM,WAAW,8BACf,SAAQ,wBAAwB,CAAC,cAAc,EAAE,mBAAmB,CAAC;CAAG;AAE1E,MAAM,WAAW,2BAA2B;IAC1C,eAAe,EAAE,mBAAmB,CAAA;CACrC;AAED,MAAM,WAAW,iCACf,SAAQ,cAAc,CAAC,iBAAiB,CAAC;CAAG"}
@@ -1,4 +1,6 @@
1
+ export * from "./address";
1
2
  export * from "./api-key";
3
+ export * from "./auth";
2
4
  export * from "./campaign";
3
5
  export * from "./cart";
4
6
  export * from "./claim";
@@ -6,6 +8,7 @@ export * from "./collection";
6
8
  export * from "./common";
7
9
  export * from "./currency";
8
10
  export * from "./customer";
11
+ export * from "./customer-group";
9
12
  export * from "./exchange";
10
13
  export * from "./file";
11
14
  export * from "./fulfillment";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA;AACtB,cAAc,eAAe,CAAA;AAC7B,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAA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ACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA;AACtB,cAAc,sBAAsB,CAAA"}
@@ -14,7 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./address"), exports);
17
18
  __exportStar(require("./api-key"), exports);
19
+ __exportStar(require("./auth"), exports);
18
20
  __exportStar(require("./campaign"), exports);
19
21
  __exportStar(require("./cart"), exports);
20
22
  __exportStar(require("./claim"), exports);
@@ -22,6 +24,7 @@ __exportStar(require("./collection"), exports);
22
24
  __exportStar(require("./common"), exports);
23
25
  __exportStar(require("./currency"), exports);
24
26
  __exportStar(require("./customer"), exports);
27
+ __exportStar(require("./customer-group"), exports);
25
28
  __exportStar(require("./exchange"), exports);
26
29
  __exportStar(require("./file"), exports);
27
30
  __exportStar(require("./fulfillment"), exports);