@medusajs/js-sdk 1.0.0-rc-20241016093905 → 2.0.0-preview-20241022094107

Sign up to get free protection for your applications and to get access to all the features.
Files changed (349) hide show
  1. package/dist/admin/api-key.d.ts +6 -0
  2. package/dist/admin/api-key.d.ts.map +1 -1
  3. package/dist/admin/api-key.js +3 -0
  4. package/dist/admin/api-key.js.map +1 -1
  5. package/dist/admin/campaign.d.ts +6 -0
  6. package/dist/admin/campaign.d.ts.map +1 -1
  7. package/dist/admin/campaign.js +3 -0
  8. package/dist/admin/campaign.js.map +1 -1
  9. package/dist/admin/claim.d.ts +6 -1
  10. package/dist/admin/claim.d.ts.map +1 -1
  11. package/dist/admin/claim.js +3 -7
  12. package/dist/admin/claim.js.map +1 -1
  13. package/dist/admin/currency.d.ts +6 -0
  14. package/dist/admin/currency.d.ts.map +1 -1
  15. package/dist/admin/currency.js +3 -0
  16. package/dist/admin/currency.js.map +1 -1
  17. package/dist/admin/customer-group.d.ts +6 -0
  18. package/dist/admin/customer-group.d.ts.map +1 -1
  19. package/dist/admin/customer-group.js +3 -0
  20. package/dist/admin/customer-group.js.map +1 -1
  21. package/dist/admin/customer.d.ts +6 -0
  22. package/dist/admin/customer.d.ts.map +1 -1
  23. package/dist/admin/customer.js +3 -0
  24. package/dist/admin/customer.js.map +1 -1
  25. package/dist/admin/exchange.d.ts +6 -4
  26. package/dist/admin/exchange.d.ts.map +1 -1
  27. package/dist/admin/exchange.js +3 -30
  28. package/dist/admin/exchange.js.map +1 -1
  29. package/dist/admin/fulfillment-provider.d.ts +6 -0
  30. package/dist/admin/fulfillment-provider.d.ts.map +1 -1
  31. package/dist/admin/fulfillment-provider.js +3 -0
  32. package/dist/admin/fulfillment-provider.js.map +1 -1
  33. package/dist/admin/fulfillment-set.d.ts +6 -0
  34. package/dist/admin/fulfillment-set.d.ts.map +1 -1
  35. package/dist/admin/fulfillment-set.js +3 -0
  36. package/dist/admin/fulfillment-set.js.map +1 -1
  37. package/dist/admin/fulfillment.d.ts +6 -0
  38. package/dist/admin/fulfillment.d.ts.map +1 -1
  39. package/dist/admin/fulfillment.js +3 -0
  40. package/dist/admin/fulfillment.js.map +1 -1
  41. package/dist/admin/inventory-item.d.ts +6 -0
  42. package/dist/admin/inventory-item.d.ts.map +1 -1
  43. package/dist/admin/inventory-item.js +3 -0
  44. package/dist/admin/inventory-item.js.map +1 -1
  45. package/dist/admin/invite.d.ts +6 -0
  46. package/dist/admin/invite.d.ts.map +1 -1
  47. package/dist/admin/invite.js +3 -0
  48. package/dist/admin/invite.js.map +1 -1
  49. package/dist/admin/notification.d.ts +6 -0
  50. package/dist/admin/notification.d.ts.map +1 -1
  51. package/dist/admin/notification.js +3 -0
  52. package/dist/admin/notification.js.map +1 -1
  53. package/dist/admin/order-edit.d.ts +6 -0
  54. package/dist/admin/order-edit.d.ts.map +1 -1
  55. package/dist/admin/order-edit.js +3 -0
  56. package/dist/admin/order-edit.js.map +1 -1
  57. package/dist/admin/order.d.ts +7 -0
  58. package/dist/admin/order.d.ts.map +1 -1
  59. package/dist/admin/order.js +9 -0
  60. package/dist/admin/order.js.map +1 -1
  61. package/dist/admin/payment-collection.d.ts +6 -0
  62. package/dist/admin/payment-collection.d.ts.map +1 -1
  63. package/dist/admin/payment-collection.js +3 -0
  64. package/dist/admin/payment-collection.js.map +1 -1
  65. package/dist/admin/payment.d.ts +6 -0
  66. package/dist/admin/payment.d.ts.map +1 -1
  67. package/dist/admin/payment.js +3 -0
  68. package/dist/admin/payment.js.map +1 -1
  69. package/dist/admin/price-list.d.ts +6 -0
  70. package/dist/admin/price-list.d.ts.map +1 -1
  71. package/dist/admin/price-list.js +3 -0
  72. package/dist/admin/price-list.js.map +1 -1
  73. package/dist/admin/price-preference.d.ts +6 -0
  74. package/dist/admin/price-preference.d.ts.map +1 -1
  75. package/dist/admin/price-preference.js +3 -0
  76. package/dist/admin/price-preference.js.map +1 -1
  77. package/dist/admin/product-category.d.ts +6 -0
  78. package/dist/admin/product-category.d.ts.map +1 -1
  79. package/dist/admin/product-category.js +3 -0
  80. package/dist/admin/product-category.js.map +1 -1
  81. package/dist/admin/product-collection.d.ts +6 -0
  82. package/dist/admin/product-collection.d.ts.map +1 -1
  83. package/dist/admin/product-collection.js +3 -0
  84. package/dist/admin/product-collection.js.map +1 -1
  85. package/dist/admin/product-tag.d.ts +6 -0
  86. package/dist/admin/product-tag.d.ts.map +1 -1
  87. package/dist/admin/product-tag.js +3 -0
  88. package/dist/admin/product-tag.js.map +1 -1
  89. package/dist/admin/product-type.d.ts +6 -0
  90. package/dist/admin/product-type.d.ts.map +1 -1
  91. package/dist/admin/product-type.js +3 -0
  92. package/dist/admin/product-type.js.map +1 -1
  93. package/dist/admin/product-variant.d.ts +6 -0
  94. package/dist/admin/product-variant.d.ts.map +1 -1
  95. package/dist/admin/product-variant.js +3 -0
  96. package/dist/admin/product-variant.js.map +1 -1
  97. package/dist/admin/product.d.ts +6 -0
  98. package/dist/admin/product.d.ts.map +1 -1
  99. package/dist/admin/product.js +3 -0
  100. package/dist/admin/product.js.map +1 -1
  101. package/dist/admin/promotion.d.ts +6 -0
  102. package/dist/admin/promotion.d.ts.map +1 -1
  103. package/dist/admin/promotion.js +3 -0
  104. package/dist/admin/promotion.js.map +1 -1
  105. package/dist/admin/refund-reasons.d.ts +6 -0
  106. package/dist/admin/refund-reasons.d.ts.map +1 -1
  107. package/dist/admin/refund-reasons.js +3 -0
  108. package/dist/admin/refund-reasons.js.map +1 -1
  109. package/dist/admin/region.d.ts +6 -0
  110. package/dist/admin/region.d.ts.map +1 -1
  111. package/dist/admin/region.js +3 -0
  112. package/dist/admin/region.js.map +1 -1
  113. package/dist/admin/reservation.d.ts +6 -0
  114. package/dist/admin/reservation.d.ts.map +1 -1
  115. package/dist/admin/reservation.js +3 -0
  116. package/dist/admin/reservation.js.map +1 -1
  117. package/dist/admin/return-reason.d.ts +6 -0
  118. package/dist/admin/return-reason.d.ts.map +1 -1
  119. package/dist/admin/return-reason.js +3 -0
  120. package/dist/admin/return-reason.js.map +1 -1
  121. package/dist/admin/return.d.ts +6 -0
  122. package/dist/admin/return.d.ts.map +1 -1
  123. package/dist/admin/return.js +3 -0
  124. package/dist/admin/return.js.map +1 -1
  125. package/dist/admin/sales-channel.d.ts +6 -0
  126. package/dist/admin/sales-channel.d.ts.map +1 -1
  127. package/dist/admin/sales-channel.js +3 -0
  128. package/dist/admin/sales-channel.js.map +1 -1
  129. package/dist/admin/shipping-option.d.ts +6 -0
  130. package/dist/admin/shipping-option.d.ts.map +1 -1
  131. package/dist/admin/shipping-option.js +3 -0
  132. package/dist/admin/shipping-option.js.map +1 -1
  133. package/dist/admin/shipping-profile.d.ts +6 -0
  134. package/dist/admin/shipping-profile.d.ts.map +1 -1
  135. package/dist/admin/shipping-profile.js +3 -0
  136. package/dist/admin/shipping-profile.js.map +1 -1
  137. package/dist/admin/stock-location.d.ts +6 -0
  138. package/dist/admin/stock-location.d.ts.map +1 -1
  139. package/dist/admin/stock-location.js +3 -0
  140. package/dist/admin/stock-location.js.map +1 -1
  141. package/dist/admin/store.d.ts +6 -0
  142. package/dist/admin/store.d.ts.map +1 -1
  143. package/dist/admin/store.js +3 -0
  144. package/dist/admin/store.js.map +1 -1
  145. package/dist/admin/tax-rate.d.ts +6 -0
  146. package/dist/admin/tax-rate.d.ts.map +1 -1
  147. package/dist/admin/tax-rate.js +3 -0
  148. package/dist/admin/tax-rate.js.map +1 -1
  149. package/dist/admin/tax-region.d.ts +6 -0
  150. package/dist/admin/tax-region.d.ts.map +1 -1
  151. package/dist/admin/tax-region.js +3 -0
  152. package/dist/admin/tax-region.js.map +1 -1
  153. package/dist/admin/upload.d.ts +6 -0
  154. package/dist/admin/upload.d.ts.map +1 -1
  155. package/dist/admin/upload.js +3 -0
  156. package/dist/admin/upload.js.map +1 -1
  157. package/dist/admin/user.d.ts +6 -0
  158. package/dist/admin/user.d.ts.map +1 -1
  159. package/dist/admin/user.js +3 -0
  160. package/dist/admin/user.js.map +1 -1
  161. package/dist/admin/workflow-execution.d.ts +6 -0
  162. package/dist/admin/workflow-execution.d.ts.map +1 -1
  163. package/dist/admin/workflow-execution.js +3 -0
  164. package/dist/admin/workflow-execution.js.map +1 -1
  165. package/dist/auth/index.d.ts +156 -0
  166. package/dist/auth/index.d.ts.map +1 -1
  167. package/dist/auth/index.js +152 -1
  168. package/dist/auth/index.js.map +1 -1
  169. package/dist/esm/admin/api-key.d.ts +6 -0
  170. package/dist/esm/admin/api-key.d.ts.map +1 -1
  171. package/dist/esm/admin/api-key.js +3 -0
  172. package/dist/esm/admin/api-key.js.map +1 -1
  173. package/dist/esm/admin/campaign.d.ts +6 -0
  174. package/dist/esm/admin/campaign.d.ts.map +1 -1
  175. package/dist/esm/admin/campaign.js +3 -0
  176. package/dist/esm/admin/campaign.js.map +1 -1
  177. package/dist/esm/admin/claim.d.ts +6 -1
  178. package/dist/esm/admin/claim.d.ts.map +1 -1
  179. package/dist/esm/admin/claim.js +3 -9
  180. package/dist/esm/admin/claim.js.map +1 -1
  181. package/dist/esm/admin/currency.d.ts +6 -0
  182. package/dist/esm/admin/currency.d.ts.map +1 -1
  183. package/dist/esm/admin/currency.js +3 -0
  184. package/dist/esm/admin/currency.js.map +1 -1
  185. package/dist/esm/admin/customer-group.d.ts +6 -0
  186. package/dist/esm/admin/customer-group.d.ts.map +1 -1
  187. package/dist/esm/admin/customer-group.js +3 -0
  188. package/dist/esm/admin/customer-group.js.map +1 -1
  189. package/dist/esm/admin/customer.d.ts +6 -0
  190. package/dist/esm/admin/customer.d.ts.map +1 -1
  191. package/dist/esm/admin/customer.js +3 -0
  192. package/dist/esm/admin/customer.js.map +1 -1
  193. package/dist/esm/admin/exchange.d.ts +6 -4
  194. package/dist/esm/admin/exchange.d.ts.map +1 -1
  195. package/dist/esm/admin/exchange.js +3 -38
  196. package/dist/esm/admin/exchange.js.map +1 -1
  197. package/dist/esm/admin/fulfillment-provider.d.ts +6 -0
  198. package/dist/esm/admin/fulfillment-provider.d.ts.map +1 -1
  199. package/dist/esm/admin/fulfillment-provider.js +3 -0
  200. package/dist/esm/admin/fulfillment-provider.js.map +1 -1
  201. package/dist/esm/admin/fulfillment-set.d.ts +6 -0
  202. package/dist/esm/admin/fulfillment-set.d.ts.map +1 -1
  203. package/dist/esm/admin/fulfillment-set.js +3 -0
  204. package/dist/esm/admin/fulfillment-set.js.map +1 -1
  205. package/dist/esm/admin/fulfillment.d.ts +6 -0
  206. package/dist/esm/admin/fulfillment.d.ts.map +1 -1
  207. package/dist/esm/admin/fulfillment.js +3 -0
  208. package/dist/esm/admin/fulfillment.js.map +1 -1
  209. package/dist/esm/admin/inventory-item.d.ts +6 -0
  210. package/dist/esm/admin/inventory-item.d.ts.map +1 -1
  211. package/dist/esm/admin/inventory-item.js +3 -0
  212. package/dist/esm/admin/inventory-item.js.map +1 -1
  213. package/dist/esm/admin/invite.d.ts +6 -0
  214. package/dist/esm/admin/invite.d.ts.map +1 -1
  215. package/dist/esm/admin/invite.js +3 -0
  216. package/dist/esm/admin/invite.js.map +1 -1
  217. package/dist/esm/admin/notification.d.ts +6 -0
  218. package/dist/esm/admin/notification.d.ts.map +1 -1
  219. package/dist/esm/admin/notification.js +3 -0
  220. package/dist/esm/admin/notification.js.map +1 -1
  221. package/dist/esm/admin/order-edit.d.ts +6 -0
  222. package/dist/esm/admin/order-edit.d.ts.map +1 -1
  223. package/dist/esm/admin/order-edit.js +3 -0
  224. package/dist/esm/admin/order-edit.js.map +1 -1
  225. package/dist/esm/admin/order.d.ts +7 -0
  226. package/dist/esm/admin/order.d.ts.map +1 -1
  227. package/dist/esm/admin/order.js +11 -0
  228. package/dist/esm/admin/order.js.map +1 -1
  229. package/dist/esm/admin/payment-collection.d.ts +6 -0
  230. package/dist/esm/admin/payment-collection.d.ts.map +1 -1
  231. package/dist/esm/admin/payment-collection.js +3 -0
  232. package/dist/esm/admin/payment-collection.js.map +1 -1
  233. package/dist/esm/admin/payment.d.ts +6 -0
  234. package/dist/esm/admin/payment.d.ts.map +1 -1
  235. package/dist/esm/admin/payment.js +3 -0
  236. package/dist/esm/admin/payment.js.map +1 -1
  237. package/dist/esm/admin/price-list.d.ts +6 -0
  238. package/dist/esm/admin/price-list.d.ts.map +1 -1
  239. package/dist/esm/admin/price-list.js +3 -0
  240. package/dist/esm/admin/price-list.js.map +1 -1
  241. package/dist/esm/admin/price-preference.d.ts +6 -0
  242. package/dist/esm/admin/price-preference.d.ts.map +1 -1
  243. package/dist/esm/admin/price-preference.js +3 -0
  244. package/dist/esm/admin/price-preference.js.map +1 -1
  245. package/dist/esm/admin/product-category.d.ts +6 -0
  246. package/dist/esm/admin/product-category.d.ts.map +1 -1
  247. package/dist/esm/admin/product-category.js +3 -0
  248. package/dist/esm/admin/product-category.js.map +1 -1
  249. package/dist/esm/admin/product-collection.d.ts +6 -0
  250. package/dist/esm/admin/product-collection.d.ts.map +1 -1
  251. package/dist/esm/admin/product-collection.js +3 -0
  252. package/dist/esm/admin/product-collection.js.map +1 -1
  253. package/dist/esm/admin/product-tag.d.ts +6 -0
  254. package/dist/esm/admin/product-tag.d.ts.map +1 -1
  255. package/dist/esm/admin/product-tag.js +3 -0
  256. package/dist/esm/admin/product-tag.js.map +1 -1
  257. package/dist/esm/admin/product-type.d.ts +6 -0
  258. package/dist/esm/admin/product-type.d.ts.map +1 -1
  259. package/dist/esm/admin/product-type.js +3 -0
  260. package/dist/esm/admin/product-type.js.map +1 -1
  261. package/dist/esm/admin/product-variant.d.ts +6 -0
  262. package/dist/esm/admin/product-variant.d.ts.map +1 -1
  263. package/dist/esm/admin/product-variant.js +3 -0
  264. package/dist/esm/admin/product-variant.js.map +1 -1
  265. package/dist/esm/admin/product.d.ts +6 -0
  266. package/dist/esm/admin/product.d.ts.map +1 -1
  267. package/dist/esm/admin/product.js +3 -0
  268. package/dist/esm/admin/product.js.map +1 -1
  269. package/dist/esm/admin/promotion.d.ts +6 -0
  270. package/dist/esm/admin/promotion.d.ts.map +1 -1
  271. package/dist/esm/admin/promotion.js +3 -0
  272. package/dist/esm/admin/promotion.js.map +1 -1
  273. package/dist/esm/admin/refund-reasons.d.ts +6 -0
  274. package/dist/esm/admin/refund-reasons.d.ts.map +1 -1
  275. package/dist/esm/admin/refund-reasons.js +3 -0
  276. package/dist/esm/admin/refund-reasons.js.map +1 -1
  277. package/dist/esm/admin/region.d.ts +6 -0
  278. package/dist/esm/admin/region.d.ts.map +1 -1
  279. package/dist/esm/admin/region.js +3 -0
  280. package/dist/esm/admin/region.js.map +1 -1
  281. package/dist/esm/admin/reservation.d.ts +6 -0
  282. package/dist/esm/admin/reservation.d.ts.map +1 -1
  283. package/dist/esm/admin/reservation.js +3 -0
  284. package/dist/esm/admin/reservation.js.map +1 -1
  285. package/dist/esm/admin/return-reason.d.ts +6 -0
  286. package/dist/esm/admin/return-reason.d.ts.map +1 -1
  287. package/dist/esm/admin/return-reason.js +3 -0
  288. package/dist/esm/admin/return-reason.js.map +1 -1
  289. package/dist/esm/admin/return.d.ts +6 -0
  290. package/dist/esm/admin/return.d.ts.map +1 -1
  291. package/dist/esm/admin/return.js +3 -0
  292. package/dist/esm/admin/return.js.map +1 -1
  293. package/dist/esm/admin/sales-channel.d.ts +6 -0
  294. package/dist/esm/admin/sales-channel.d.ts.map +1 -1
  295. package/dist/esm/admin/sales-channel.js +3 -0
  296. package/dist/esm/admin/sales-channel.js.map +1 -1
  297. package/dist/esm/admin/shipping-option.d.ts +6 -0
  298. package/dist/esm/admin/shipping-option.d.ts.map +1 -1
  299. package/dist/esm/admin/shipping-option.js +3 -0
  300. package/dist/esm/admin/shipping-option.js.map +1 -1
  301. package/dist/esm/admin/shipping-profile.d.ts +6 -0
  302. package/dist/esm/admin/shipping-profile.d.ts.map +1 -1
  303. package/dist/esm/admin/shipping-profile.js +3 -0
  304. package/dist/esm/admin/shipping-profile.js.map +1 -1
  305. package/dist/esm/admin/stock-location.d.ts +6 -0
  306. package/dist/esm/admin/stock-location.d.ts.map +1 -1
  307. package/dist/esm/admin/stock-location.js +3 -0
  308. package/dist/esm/admin/stock-location.js.map +1 -1
  309. package/dist/esm/admin/store.d.ts +6 -0
  310. package/dist/esm/admin/store.d.ts.map +1 -1
  311. package/dist/esm/admin/store.js +3 -0
  312. package/dist/esm/admin/store.js.map +1 -1
  313. package/dist/esm/admin/tax-rate.d.ts +6 -0
  314. package/dist/esm/admin/tax-rate.d.ts.map +1 -1
  315. package/dist/esm/admin/tax-rate.js +3 -0
  316. package/dist/esm/admin/tax-rate.js.map +1 -1
  317. package/dist/esm/admin/tax-region.d.ts +6 -0
  318. package/dist/esm/admin/tax-region.d.ts.map +1 -1
  319. package/dist/esm/admin/tax-region.js +3 -0
  320. package/dist/esm/admin/tax-region.js.map +1 -1
  321. package/dist/esm/admin/upload.d.ts +6 -0
  322. package/dist/esm/admin/upload.d.ts.map +1 -1
  323. package/dist/esm/admin/upload.js +3 -0
  324. package/dist/esm/admin/upload.js.map +1 -1
  325. package/dist/esm/admin/user.d.ts +6 -0
  326. package/dist/esm/admin/user.d.ts.map +1 -1
  327. package/dist/esm/admin/user.js +3 -0
  328. package/dist/esm/admin/user.js.map +1 -1
  329. package/dist/esm/admin/workflow-execution.d.ts +6 -0
  330. package/dist/esm/admin/workflow-execution.d.ts.map +1 -1
  331. package/dist/esm/admin/workflow-execution.js +3 -0
  332. package/dist/esm/admin/workflow-execution.js.map +1 -1
  333. package/dist/esm/auth/index.d.ts +156 -0
  334. package/dist/esm/auth/index.d.ts.map +1 -1
  335. package/dist/esm/auth/index.js +152 -1
  336. package/dist/esm/auth/index.js.map +1 -1
  337. package/dist/esm/store/index.d.ts +973 -83
  338. package/dist/esm/store/index.d.ts.map +1 -1
  339. package/dist/esm/store/index.js +946 -0
  340. package/dist/esm/store/index.js.map +1 -1
  341. package/dist/esm/types.d.ts +5 -0
  342. package/dist/esm/types.d.ts.map +1 -1
  343. package/dist/store/index.d.ts +973 -83
  344. package/dist/store/index.d.ts.map +1 -1
  345. package/dist/store/index.js +946 -0
  346. package/dist/store/index.js.map +1 -1
  347. package/dist/types.d.ts +5 -0
  348. package/dist/types.d.ts.map +1 -1
  349. package/package.json +2 -2
@@ -4,6 +4,9 @@ exports.TaxRegion = void 0;
4
4
  const taxRegionUrl = "/admin/tax-regions";
5
5
  // TODO: Add support for updating a tax region
6
6
  class TaxRegion {
7
+ /**
8
+ * @ignore
9
+ */
7
10
  constructor(client) {
8
11
  this.client = client;
9
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"tax-region.js","sourceRoot":"","sources":["../../src/admin/tax-region.ts"],"names":[],"mappings":";;;AAIA,MAAM,YAAY,GAAG,oBAAoB,CAAA;AAEzC,8CAA8C;AAC9C,MAAa,SAAS;IAEpB,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAED,KAAK,CAAC,MAAM,CACV,IAAoC,EACpC,KAA8B,EAC9B,OAAuB;QAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,YAAY,EACZ;YACE,MAAM,EAAE,MAAM;YACd,OAAO;YACP,IAAI;YACJ,KAAK;SACN,CACF,CAAA;IACH,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,EAAU,EAAE,OAAuB;QAC9C,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,GAAG,YAAY,IAAI,EAAE,EAAE,EACvB;YACE,MAAM,EAAE,QAAQ;YAChB,OAAO;SACR,CACF,CAAA;IACH,CAAC;IAED,KAAK,CAAC,QAAQ,CACZ,EAAU,EACV,KAA8B,EAC9B,OAAuB;QAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,GAAG,YAAY,IAAI,EAAE,EAAE,EACvB;YACE,MAAM,EAAE,KAAK;YACb,OAAO;YACP,KAAK;SACN,CACF,CAAA;IACH,CAAC;IAED,KAAK,CAAC,IAAI,CACR,KAA0C,EAC1C,OAAuB;QAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,YAAY,EACZ;YACE,MAAM,EAAE,KAAK;YACb,OAAO;YACP,KAAK;SACN,CACF,CAAA;IACH,CAAC;CACF;AA5DD,8BA4DC"}
1
+ {"version":3,"file":"tax-region.js","sourceRoot":"","sources":["../../src/admin/tax-region.ts"],"names":[],"mappings":";;;AAIA,MAAM,YAAY,GAAG,oBAAoB,CAAA;AAEzC,8CAA8C;AAC9C,MAAa,SAAS;IAKpB;;OAEG;IACH,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAED,KAAK,CAAC,MAAM,CACV,IAAoC,EACpC,KAA8B,EAC9B,OAAuB;QAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,YAAY,EACZ;YACE,MAAM,EAAE,MAAM;YACd,OAAO;YACP,IAAI;YACJ,KAAK;SACN,CACF,CAAA;IACH,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,EAAU,EAAE,OAAuB;QAC9C,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,GAAG,YAAY,IAAI,EAAE,EAAE,EACvB;YACE,MAAM,EAAE,QAAQ;YAChB,OAAO;SACR,CACF,CAAA;IACH,CAAC;IAED,KAAK,CAAC,QAAQ,CACZ,EAAU,EACV,KAA8B,EAC9B,OAAuB;QAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,GAAG,YAAY,IAAI,EAAE,EAAE,EACvB;YACE,MAAM,EAAE,KAAK;YACb,OAAO;YACP,KAAK;SACN,CACF,CAAA;IACH,CAAC;IAED,KAAK,CAAC,IAAI,CACR,KAA0C,EAC1C,OAAuB;QAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,YAAY,EACZ;YACE,MAAM,EAAE,KAAK;YACb,OAAO;YACP,KAAK;SACN,CACF,CAAA;IACH,CAAC;CACF;AAlED,8BAkEC"}
@@ -2,7 +2,13 @@ import { HttpTypes, SelectParams } from "@medusajs/types";
2
2
  import { Client } from "../client";
3
3
  import { ClientHeaders } from "../types";
4
4
  export declare class Upload {
5
+ /**
6
+ * @ignore
7
+ */
5
8
  private client;
9
+ /**
10
+ * @ignore
11
+ */
6
12
  constructor(client: Client);
7
13
  create(body: HttpTypes.AdminUploadFile, query?: SelectParams, headers?: ClientHeaders): Promise<{
8
14
  files: HttpTypes.AdminFile[];
@@ -1 +1 @@
1
- {"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../../src/admin/upload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAExC,qBAAa,MAAM;IACjB,OAAO,CAAC,MAAM,CAAQ;gBACV,MAAM,EAAE,MAAM;IAKpB,MAAM,CACV,IAAI,EAAE,SAAS,CAAC,eAAe,EAC/B,KAAK,CAAC,EAAE,YAAY,EACpB,OAAO,CAAC,EAAE,aAAa;eAqBW,SAAS,CAAC,SAAS,EAAE;;IAenD,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,aAAa;cACrC,SAAS,CAAC,SAAS;;IAShD,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa;CASjD"}
1
+ {"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../../src/admin/upload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAExC,qBAAa,MAAM;IACjB;;OAEG;IACH,OAAO,CAAC,MAAM,CAAQ;IACtB;;OAEG;gBACS,MAAM,EAAE,MAAM;IAKpB,MAAM,CACV,IAAI,EAAE,SAAS,CAAC,eAAe,EAC/B,KAAK,CAAC,EAAE,YAAY,EACpB,OAAO,CAAC,EAAE,aAAa;eAqBW,SAAS,CAAC,SAAS,EAAE;;IAenD,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,aAAa;cACrC,SAAS,CAAC,SAAS;;IAShD,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa;CASjD"}
@@ -2,6 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Upload = void 0;
4
4
  class Upload {
5
+ /**
6
+ * @ignore
7
+ */
5
8
  constructor(client) {
6
9
  this.client = client;
7
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"upload.js","sourceRoot":"","sources":["../../src/admin/upload.ts"],"names":[],"mappings":";;;AAIA,MAAa,MAAM;IAEjB,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAED,+HAA+H;IAC/H,KAAK,CAAC,MAAM,CACV,IAA+B,EAC/B,KAAoB,EACpB,OAAuB;QAEvB,MAAM,IAAI,GAAG,IAAI,QAAQ,EAAE,CAAA;QAC3B,IAAI,IAAI,YAAY,QAAQ,EAAE,CAAC;YAC7B,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;gBAChC,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAA;YAC5B,CAAC,CAAC,CAAA;QACJ,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;gBAC1B,IAAI,CAAC,MAAM,CACT,OAAO,EACP,SAAS,IAAI,IAAI;oBACf,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE;wBACvB,IAAI,EAAE,YAAY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AC,CAAC,CAAA;QACJ,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;gBAC1B,IAAI,CAAC,MAAM,CACT,OAAO,EACP,SAAS,IAAI,IAAI;oBACf,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE;wBACvB,IAAI,EAAE,YAAY;qBACnB,CAAC;oBACJ,CAAC,CAAC,IAAI,EACR,IAAI,CAAC,IAAI,CACV,CAAA;YACH,CAAC,CAAC,CAAA;QACJ,CAAC;QAED,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CACtB,gBAAgB,EAChB;YACE,MAAM,EAAE,MAAM;YACd,OAAO,EAAE;gBACP,GAAG,OAAO;gBACV,8CAA8C;gBAC9C,cAAc,EAAE,IAAI;aACrB;YACD,IAAI,EAAE,IAAI;YACV,KAAK;SACN,CACF,CAAA;IACH,CAAC;IAED,KAAK,CAAC,QAAQ,CAAC,EAAU,EAAE,KAAoB,EAAE,OAAuB;QACtE,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CACtB,kBAAkB,EAAE,EAAE,EACtB;YACE,KAAK;YACL,OAAO;SACR,CACF,CAAA;IACH,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,EAAU,EAAE,OAAuB;QAC9C,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CACtB,kBAAkB,EAAE,EAAE,EACtB;YACE,MAAM,EAAE,QAAQ;YAChB,OAAO;SACR,CACF,CAAA;IACH,CAAC;CACF;AAvED,wBAuEC"}
@@ -2,7 +2,13 @@ import { HttpTypes } from "@medusajs/types";
2
2
  import { Client } from "../client";
3
3
  import { ClientHeaders } from "../types";
4
4
  export declare class User {
5
+ /**
6
+ * @ignore
7
+ */
5
8
  private client;
9
+ /**
10
+ * @ignore
11
+ */
6
12
  constructor(client: Client);
7
13
  create(body: HttpTypes.AdminCreateUser, query?: HttpTypes.AdminUserParams, headers?: ClientHeaders): Promise<HttpTypes.AdminUserResponse>;
8
14
  update(id: string, body: HttpTypes.AdminUpdateUser, query?: HttpTypes.AdminUserParams, headers?: ClientHeaders): Promise<HttpTypes.AdminUserResponse>;
@@ -1 +1 @@
1
- {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/admin/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAExC,qBAAa,IAAI;IACf,OAAO,CAAC,MAAM,CAAQ;gBACV,MAAM,EAAE,MAAM;IAIpB,MAAM,CACV,IAAI,EAAE,SAAS,CAAC,eAAe,EAC/B,KAAK,CAAC,EAAE,SAAS,CAAC,eAAe,EACjC,OAAO,CAAC,EAAE,aAAa;IAUnB,MAAM,CACV,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,SAAS,CAAC,eAAe,EAC/B,KAAK,CAAC,EAAE,SAAS,CAAC,eAAe,EACjC,OAAO,CAAC,EAAE,aAAa;IAanB,IAAI,CACR,WAAW,CAAC,EAAE,SAAS,CAAC,mBAAmB,EAC3C,OAAO,CAAC,EAAE,aAAa;IAQnB,QAAQ,CACZ,EAAE,EAAE,MAAM,EACV,KAAK,CAAC,EAAE,SAAS,CAAC,eAAe,EACjC,OAAO,CAAC,EAAE,aAAa;IAWnB,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa;IAU1C,EAAE,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC,eAAe,EAAE,OAAO,CAAC,EAAE,aAAa;CAMpE"}
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/admin/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAExC,qBAAa,IAAI;IACf;;OAEG;IACH,OAAO,CAAC,MAAM,CAAQ;IACtB;;OAEG;gBACS,MAAM,EAAE,MAAM;IAIpB,MAAM,CACV,IAAI,EAAE,SAAS,CAAC,eAAe,EAC/B,KAAK,CAAC,EAAE,SAAS,CAAC,eAAe,EACjC,OAAO,CAAC,EAAE,aAAa;IAUnB,MAAM,CACV,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,SAAS,CAAC,eAAe,EAC/B,KAAK,CAAC,EAAE,SAAS,CAAC,eAAe,EACjC,OAAO,CAAC,EAAE,aAAa;IAanB,IAAI,CACR,WAAW,CAAC,EAAE,SAAS,CAAC,mBAAmB,EAC3C,OAAO,CAAC,EAAE,aAAa;IAQnB,QAAQ,CACZ,EAAE,EAAE,MAAM,EACV,KAAK,CAAC,EAAE,SAAS,CAAC,eAAe,EACjC,OAAO,CAAC,EAAE,aAAa;IAWnB,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa;IAU1C,EAAE,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC,eAAe,EAAE,OAAO,CAAC,EAAE,aAAa;CAMpE"}
@@ -2,6 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.User = void 0;
4
4
  class User {
5
+ /**
6
+ * @ignore
7
+ */
5
8
  constructor(client) {
6
9
  this.client = client;
7
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"user.js","sourceRoot":"","sources":["../../src/admin/user.ts"],"names":[],"mappings":";;;AAIA,MAAa,IAAI;IAEf,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAED,KAAK,CAAC,MAAM,CACV,IAA+B,EAC/B,KAAiC,EACjC,OAAuB;QAEvB,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAA8B,cAAc,EAAE;YACpE,MAAM,EAAE,MAAM;YACd,OAAO;YACP,IAAI;YACJ,KAAK;SACN,CAAC,CAAA;IACJ,CAAC;IAED,KAAK,CAAC,MAAM,CACV,EAAU,EACV,IAA+B,EAC/B,KAAiC,EACjC,OAAuB;QAEvB,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CACtB,gBAAgB,EAAE,EAAE,EACpB;YACE,MAAM,EAAE,MAAM;YACd,OAAO;YACP,IAAI;YACJ,KAAK;SACN,CACF,CAAA;IACH,CAAC;IAED,KAAK,CAAC,IAAI,CACR,WAA2C,EAC3C,OAAuB;QAEvB,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAkC,cAAc,EAAE;YACxE,OAAO;YACP,KAAK,EAAE,WAAW;SACnB,CAAC,CAAA;IACJ,CAAC;IAED,KAAK,CAAC,QAAQ,CACZ,EAAU,EACV,KAAiC,EACjC,OAAuB;QAEvB,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CACtB,gBAAgB,EAAE,EAAE,EACpB;YACE,KAAK;YACL,OAAO;SACR,CACF,CAAA;IACH,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,EAAU,EAAE,OAAuB;QAC9C,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CACtB,gBAAgB,EAAE,EAAE,EACpB;YACE,MAAM,EAAE,QAAQ;YAChB,OAAO;SACR,CACF,CAAA;IACH,CAAC;IAED,KAAK,CAAC,EAAE,CAAC,KAAiC,EAAE,OAAuB;QACjE,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAA8B,iBAAiB,EAAE;YACvE,KAAK;YACL,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;CACF;AA5ED,oBA4EC"}
1
+ {"version":3,"file":"user.js","sourceRoot":"","sources":["../../src/admin/user.ts"],"names":[],"mappings":";;;AAIA,MAAa,IAAI;IAKf;;OAEG;IACH,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAED,KAAK,CAAC,MAAM,CACV,IAA+B,EAC/B,KAAiC,EACjC,OAAuB;QAEvB,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAA8B,cAAc,EAAE;YACpE,MAAM,EAAE,MAAM;YACd,OAAO;YACP,IAAI;YACJ,KAAK;SACN,CAAC,CAAA;IACJ,CAAC;IAED,KAAK,CAAC,MAAM,CACV,EAAU,EACV,IAA+B,EAC/B,KAAiC,EACjC,OAAuB;QAEvB,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CACtB,gBAAgB,EAAE,EAAE,EACpB;YACE,MAAM,EAAE,MAAM;YACd,OAAO;YACP,IAAI;YACJ,KAAK;SACN,CACF,CAAA;IACH,CAAC;IAED,KAAK,CAAC,IAAI,CACR,WAA2C,EAC3C,OAAuB;QAEvB,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAkC,cAAc,EAAE;YACxE,OAAO;YACP,KAAK,EAAE,WAAW;SACnB,CAAC,CAAA;IACJ,CAAC;IAED,KAAK,CAAC,QAAQ,CACZ,EAAU,EACV,KAAiC,EACjC,OAAuB;QAEvB,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CACtB,gBAAgB,EAAE,EAAE,EACpB;YACE,KAAK;YACL,OAAO;SACR,CACF,CAAA;IACH,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,EAAU,EAAE,OAAuB;QAC9C,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CACtB,gBAAgB,EAAE,EAAE,EACpB;YACE,MAAM,EAAE,QAAQ;YAChB,OAAO;SACR,CACF,CAAA;IACH,CAAC;IAED,KAAK,CAAC,EAAE,CAAC,KAAiC,EAAE,OAAuB;QACjE,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAA8B,iBAAiB,EAAE;YACvE,KAAK;YACL,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;CACF;AAlFD,oBAkFC"}
@@ -2,7 +2,13 @@ import { HttpTypes } from "@medusajs/types";
2
2
  import { Client } from "../client";
3
3
  import { ClientHeaders } from "../types";
4
4
  export declare class WorkflowExecution {
5
+ /**
6
+ * @ignore
7
+ */
5
8
  private client;
9
+ /**
10
+ * @ignore
11
+ */
6
12
  constructor(client: Client);
7
13
  list(queryParams?: HttpTypes.AdminGetWorkflowExecutionsParams, headers?: ClientHeaders): Promise<HttpTypes.AdminWorkflowExecutionListResponse>;
8
14
  retrieve(id: string, headers?: ClientHeaders): Promise<HttpTypes.AdminWorkflowExecutionResponse>;
@@ -1 +1 @@
1
- {"version":3,"file":"workflow-execution.d.ts","sourceRoot":"","sources":["../../src/admin/workflow-execution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAExC,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,MAAM,CAAQ;gBACV,MAAM,EAAE,MAAM;IAIpB,IAAI,CACR,WAAW,CAAC,EAAE,SAAS,CAAC,gCAAgC,EACxD,OAAO,CAAC,EAAE,aAAa;IAWnB,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa;CAQnD"}
1
+ {"version":3,"file":"workflow-execution.d.ts","sourceRoot":"","sources":["../../src/admin/workflow-execution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAExC,qBAAa,iBAAiB;IAC5B;;OAEG;IACH,OAAO,CAAC,MAAM,CAAQ;IACtB;;OAEG;gBACS,MAAM,EAAE,MAAM;IAIpB,IAAI,CACR,WAAW,CAAC,EAAE,SAAS,CAAC,gCAAgC,EACxD,OAAO,CAAC,EAAE,aAAa;IAWnB,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa;CAQnD"}
@@ -2,6 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WorkflowExecution = void 0;
4
4
  class WorkflowExecution {
5
+ /**
6
+ * @ignore
7
+ */
5
8
  constructor(client) {
6
9
  this.client = client;
7
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"workflow-execution.js","sourceRoot":"","sources":["../../src/admin/workflow-execution.ts"],"names":[],"mappings":";;;AAIA,MAAa,iBAAiB;IAE5B,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAED,KAAK,CAAC,IAAI,CACR,WAAwD,EACxD,OAAuB;QAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,6BAA6B,EAC7B;YACE,KAAK,EAAE,WAAW;YAClB,OAAO;SACR,CACF,CAAA;IACH,CAAC;IAED,KAAK,CAAC,QAAQ,CAAC,EAAU,EAAE,OAAuB;QAChD,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,+BAA+B,EAAE,EAAE,EACnC;YACE,OAAO;SACR,CACF,CAAA;IACH,CAAC;CACF;AA3BD,8CA2BC"}
1
+ {"version":3,"file":"workflow-execution.js","sourceRoot":"","sources":["../../src/admin/workflow-execution.ts"],"names":[],"mappings":";;;AAIA,MAAa,iBAAiB;IAK5B;;OAEG;IACH,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAED,KAAK,CAAC,IAAI,CACR,WAAwD,EACxD,OAAuB;QAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,6BAA6B,EAC7B;YACE,KAAK,EAAE,WAAW;YAClB,OAAO;SACR,CACF,CAAA;IACH,CAAC;IAED,KAAK,CAAC,QAAQ,CAAC,EAAU,EAAE,OAAuB;QAChD,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,+BAA+B,EAAE,EAAE,EACnC;YACE,OAAO;SACR,CACF,CAAA;IACH,CAAC;CACF;AAjCD,8CAiCC"}
@@ -5,17 +5,173 @@ export declare class Auth {
5
5
  private client;
6
6
  private config;
7
7
  constructor(client: Client, config: Config);
8
+ /**
9
+ * This method is used to retrieve a registration JWT token for a user, customer, or custom actor type. It sends a request to the
10
+ * [Retrieve Registration Token API route](https://docs.medusajs.com/v2/api/store#auth_postactor_typeauth_provider_register).
11
+ *
12
+ * @param actor - The actor type. For example, `user` for admin user, or `customer` for customer.
13
+ * @param method - The authentication provider to use. For example, `emailpass` or `google`.
14
+ * @param payload - The data to pass in the request's body for authentication. When using the `emailpass` provider,
15
+ * you pass the email and password.
16
+ * @returns The JWT token used for registration later.
17
+ *
18
+ * @example
19
+ * sdk.auth.register(
20
+ * "customer",
21
+ * "emailpass",
22
+ * {
23
+ * email: "customer@gmail.com",
24
+ * password: "supersecret"
25
+ * }
26
+ * ).then((token) => {
27
+ * console.log(token)
28
+ * })
29
+ */
8
30
  register: (actor: string, method: string, payload: HttpTypes.AdminSignUpWithEmailPassword) => Promise<string>;
31
+ /**
32
+ * This method retrieves the JWT authenticated token for an admin user, customer, or custom
33
+ * actor type. It sends a request to the [Authenticate API Route](https://docs.medusajs.com/v2/api/admin#auth_postactor_typeauth_provider).
34
+ *
35
+ * If the `auth.type` of the SDK is set to `session`, this method will also send a request to the
36
+ * [Set Authentication Session API route](https://docs.medusajs.com/v2/api/admin#auth_postsession).
37
+ *
38
+ * Subsequent requests using the SDK will automatically have the necessary authentication headers / session
39
+ * set.
40
+ *
41
+ * @param actor - The actor type. For example, `user` for admin user, or `customer` for customer.
42
+ * @param method - The authentication provider to use. For example, `emailpass` or `google`.
43
+ * @param payload - The data to pass in the request's body for authentication. When using the `emailpass` provider,
44
+ * you pass the email and password.
45
+ * @returns The authentication JWT token
46
+ *
47
+ * @example
48
+ * sdk.auth.login(
49
+ * "customer",
50
+ * "emailpass",
51
+ * {
52
+ * email: "customer@gmail.com",
53
+ * password: "supersecret"
54
+ * }
55
+ * ).then((token) => {
56
+ * console.log(token)
57
+ * })
58
+ */
9
59
  login: (actor: string, method: string, payload: HttpTypes.AdminSignInWithEmailPassword | Record<string, unknown>) => Promise<string | {
10
60
  location: string;
11
61
  }>;
62
+ /**
63
+ * This method is used to validate an Oauth callback from a third-party service, such as Google, for an admin user, customer, or custom actor types.
64
+ * It sends a request to the [Validate Authentication Callback](https://docs.medusajs.com/v2/api/admin#auth_postactor_typeauth_providercallback).
65
+ *
66
+ * @param actor - The actor type. For example, `user` for admin user, or `customer` for customer.
67
+ * @param method - The authentication provider to use. For example, `google`.
68
+ * @param query - The query parameters from the Oauth callback, which should be passed to the API route.
69
+ * @returns The authentication JWT token
70
+ *
71
+ * @example
72
+ * sdk.auth.callback(
73
+ * "customer",
74
+ * "google",
75
+ * {
76
+ * code: "123",
77
+ * }
78
+ * ).then((token) => {
79
+ * console.log(token)
80
+ * })
81
+ *
82
+ *
83
+ * @privateRemarks
84
+ * The callback expects all query parameters from the Oauth callback to be passed to
85
+ * the backend, and the provider is in charge of parsing and validating them
86
+ */
12
87
  callback: (actor: string, method: string, query?: Record<string, unknown>) => Promise<string>;
88
+ /**
89
+ * This method refreshes a JWT authentication token, which is useful after validating the Oauth callback
90
+ * with {@link callback}. It sends a request to the [Refresh Authentication Token API route](https://docs.medusajs.com/v2/api/admin#auth_postadminauthtokenrefresh).
91
+ *
92
+ * @returns The refreshed JWT authentication token.
93
+ *
94
+ * @example
95
+ * sdk.auth.refresh()
96
+ * .then((token) => {
97
+ * console.log(token)
98
+ * })
99
+ */
13
100
  refresh: () => Promise<string>;
101
+ /**
102
+ * This method deletes the authentication session of the currently logged-in user to log them out.
103
+ * It sends a request to the [Delete Authentication Session API route](https://docs.medusajs.com/v2/api/admin#auth_deletesession).
104
+ *
105
+ * @example
106
+ * sdk.auth.logout()
107
+ * .then(() => {
108
+ * // user is logged out
109
+ * })
110
+ */
14
111
  logout: () => Promise<void>;
112
+ /**
113
+ * This method requests a reset password token for an admin user, customer, or custom actor type.
114
+ * It sends a request to the [Generate Reset Password Token API route](https://docs.medusajs.com/v2/api/admin#auth_postactor_typeauth_providerresetpassword).
115
+ *
116
+ * To reset the password later using the token delivered to the user, use the {@link updateProvider} method.
117
+ *
118
+ * Related guide: [How to allow customers to reset their passwords in a storefront](https://docs.medusajs.com/v2/resources/storefront-development/customers/reset-password).
119
+ *
120
+ * @param actor - The actor type. For example, `user` for admin user, or `customer` for customer.
121
+ * @param provider - The authentication provider to use. For example, `emailpass`.
122
+ * @param body - The data required to identify the user.
123
+ *
124
+ * @example
125
+ * sdk.auth.resetPassword(
126
+ * "customer",
127
+ * "emailpass",
128
+ * {
129
+ * identifier: "customer@gmail.com"
130
+ * }
131
+ * )
132
+ * .then(() => {
133
+ * // user receives token
134
+ * })
135
+ */
15
136
  resetPassword: (actor: string, provider: string, body: {
137
+ /**
138
+ * The user's identifier. For example, when using the `emailpass` provider,
139
+ * this would be the user's email.
140
+ */
16
141
  identifier: string;
17
142
  }) => Promise<void>;
143
+ /**
144
+ * This method is used to update user-related data authentication data.
145
+ *
146
+ * More specifically, use this method when updating the password of an admin user, customer, or
147
+ * custom actor type after requesting to reset their password with {@link resetPassword}.
148
+ *
149
+ * This method sends a request to [this API route](https://docs.medusajs.com/v2/api/admin#auth_postactor_typeauth_providerupdate).
150
+ *
151
+ * Related guide: [How to allow customers to reset their passwords in a storefront](https://docs.medusajs.com/v2/resources/storefront-development/customers/reset-password).
152
+ *
153
+ * @param actor - The actor type. For example, `user` for admin user, or `customer` for customer.
154
+ * @param provider - The authentication provider to use. For example, `emailpass`.
155
+ * @param body - The data necessary to update the user's authentication data. When resetting the user's password,
156
+ * send the `email` and `password` properties.
157
+ *
158
+ * @example
159
+ * sdk.auth.updateProvider(
160
+ * "customer",
161
+ * "emailpass",
162
+ * {
163
+ * email: "customer@gmail.com",
164
+ * password: "supersecret"
165
+ * }
166
+ * )
167
+ * .then(() => {
168
+ * // password updated
169
+ * })
170
+ */
18
171
  updateProvider: (actor: string, provider: string, body: Record<string, unknown>) => Promise<void>;
172
+ /**
173
+ * @ignore
174
+ */
19
175
  private setToken_;
20
176
  }
21
177
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/auth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,qBAAa,IAAI;IACf,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,MAAM,CAAQ;gBAEV,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IAK1C,QAAQ,UACC,MAAM,UACL,MAAM,WACL,SAAS,CAAC,4BAA4B,qBAahD;IAED,KAAK,UACI,MAAM,UACL,MAAM,WACL,SAAS,CAAC,4BAA4B,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;OAmB1E;IAGD,QAAQ,UACC,MAAM,UACL,MAAM,UACN,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,qBAYhC;IAED,OAAO,wBAYN;IAED,MAAM,sBAQL;IAED,aAAa,UACJ,MAAM,YACH,MAAM,QACV;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,mBAO7B;IAED,cAAc,UACL,MAAM,YACH,MAAM,QACV,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,mBAM9B;IAED,OAAO,CAAC,SAAS,CAUhB;CACF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/auth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,qBAAa,IAAI;IACf,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,MAAM,CAAQ;gBAEV,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IAK1C;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,QAAQ,UACC,MAAM,UACL,MAAM,WACL,SAAS,CAAC,4BAA4B,qBAahD;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,KAAK,UACI,MAAM,UACL,MAAM,WACL,SAAS,CAAC,4BAA4B,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;OAmB1E;IAED;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,QAAQ,UACC,MAAM,UACL,MAAM,UACN,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,qBAYhC;IAED;;;;;;;;;;;OAWG;IACH,OAAO,wBAYN;IAED;;;;;;;;;OASG;IACH,MAAM,sBAQL;IAED;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,aAAa,UACJ,MAAM,YACH,MAAM,QACV;QACJ;;;WAGG;QACH,UAAU,EAAE,MAAM,CAAA;KACnB,mBAOF;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,cAAc,UACL,MAAM,YACH,MAAM,QACV,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,mBAM9B;IAED;;OAEG;IACH,OAAO,CAAC,SAAS,CAUhB;CACF"}
@@ -3,6 +3,28 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Auth = void 0;
4
4
  class Auth {
5
5
  constructor(client, config) {
6
+ /**
7
+ * This method is used to retrieve a registration JWT token for a user, customer, or custom actor type. It sends a request to the
8
+ * [Retrieve Registration Token API route](https://docs.medusajs.com/v2/api/store#auth_postactor_typeauth_provider_register).
9
+ *
10
+ * @param actor - The actor type. For example, `user` for admin user, or `customer` for customer.
11
+ * @param method - The authentication provider to use. For example, `emailpass` or `google`.
12
+ * @param payload - The data to pass in the request's body for authentication. When using the `emailpass` provider,
13
+ * you pass the email and password.
14
+ * @returns The JWT token used for registration later.
15
+ *
16
+ * @example
17
+ * sdk.auth.register(
18
+ * "customer",
19
+ * "emailpass",
20
+ * {
21
+ * email: "customer@gmail.com",
22
+ * password: "supersecret"
23
+ * }
24
+ * ).then((token) => {
25
+ * console.log(token)
26
+ * })
27
+ */
6
28
  this.register = async (actor, method, payload) => {
7
29
  const { token } = await this.client.fetch(`/auth/${actor}/${method}/register`, {
8
30
  method: "POST",
@@ -11,6 +33,34 @@ class Auth {
11
33
  this.client.setToken(token);
12
34
  return token;
13
35
  };
36
+ /**
37
+ * This method retrieves the JWT authenticated token for an admin user, customer, or custom
38
+ * actor type. It sends a request to the [Authenticate API Route](https://docs.medusajs.com/v2/api/admin#auth_postactor_typeauth_provider).
39
+ *
40
+ * If the `auth.type` of the SDK is set to `session`, this method will also send a request to the
41
+ * [Set Authentication Session API route](https://docs.medusajs.com/v2/api/admin#auth_postsession).
42
+ *
43
+ * Subsequent requests using the SDK will automatically have the necessary authentication headers / session
44
+ * set.
45
+ *
46
+ * @param actor - The actor type. For example, `user` for admin user, or `customer` for customer.
47
+ * @param method - The authentication provider to use. For example, `emailpass` or `google`.
48
+ * @param payload - The data to pass in the request's body for authentication. When using the `emailpass` provider,
49
+ * you pass the email and password.
50
+ * @returns The authentication JWT token
51
+ *
52
+ * @example
53
+ * sdk.auth.login(
54
+ * "customer",
55
+ * "emailpass",
56
+ * {
57
+ * email: "customer@gmail.com",
58
+ * password: "supersecret"
59
+ * }
60
+ * ).then((token) => {
61
+ * console.log(token)
62
+ * })
63
+ */
14
64
  this.login = async (actor, method, payload) => {
15
65
  // There will either be token or location returned from the backend.
16
66
  const { token, location } = await this.client.fetch(`/auth/${actor}/${method}`, {
@@ -25,7 +75,31 @@ class Auth {
25
75
  await this.setToken_(token);
26
76
  return token;
27
77
  };
28
- // The callback expects all query parameters from the Oauth callback to be passed to the backend, and the provider is in charge of parsing and validating them
78
+ /**
79
+ * This method is used to validate an Oauth callback from a third-party service, such as Google, for an admin user, customer, or custom actor types.
80
+ * It sends a request to the [Validate Authentication Callback](https://docs.medusajs.com/v2/api/admin#auth_postactor_typeauth_providercallback).
81
+ *
82
+ * @param actor - The actor type. For example, `user` for admin user, or `customer` for customer.
83
+ * @param method - The authentication provider to use. For example, `google`.
84
+ * @param query - The query parameters from the Oauth callback, which should be passed to the API route.
85
+ * @returns The authentication JWT token
86
+ *
87
+ * @example
88
+ * sdk.auth.callback(
89
+ * "customer",
90
+ * "google",
91
+ * {
92
+ * code: "123",
93
+ * }
94
+ * ).then((token) => {
95
+ * console.log(token)
96
+ * })
97
+ *
98
+ *
99
+ * @privateRemarks
100
+ * The callback expects all query parameters from the Oauth callback to be passed to
101
+ * the backend, and the provider is in charge of parsing and validating them
102
+ */
29
103
  this.callback = async (actor, method, query) => {
30
104
  const { token } = await this.client.fetch(`/auth/${actor}/${method}/callback`, {
31
105
  method: "GET",
@@ -34,6 +108,18 @@ class Auth {
34
108
  await this.setToken_(token);
35
109
  return token;
36
110
  };
111
+ /**
112
+ * This method refreshes a JWT authentication token, which is useful after validating the Oauth callback
113
+ * with {@link callback}. It sends a request to the [Refresh Authentication Token API route](https://docs.medusajs.com/v2/api/admin#auth_postadminauthtokenrefresh).
114
+ *
115
+ * @returns The refreshed JWT authentication token.
116
+ *
117
+ * @example
118
+ * sdk.auth.refresh()
119
+ * .then((token) => {
120
+ * console.log(token)
121
+ * })
122
+ */
37
123
  this.refresh = async () => {
38
124
  const { token } = await this.client.fetch("/auth/token/refresh", {
39
125
  method: "POST",
@@ -43,6 +129,16 @@ class Auth {
43
129
  await this.setToken_(token);
44
130
  return token;
45
131
  };
132
+ /**
133
+ * This method deletes the authentication session of the currently logged-in user to log them out.
134
+ * It sends a request to the [Delete Authentication Session API route](https://docs.medusajs.com/v2/api/admin#auth_deletesession).
135
+ *
136
+ * @example
137
+ * sdk.auth.logout()
138
+ * .then(() => {
139
+ * // user is logged out
140
+ * })
141
+ */
46
142
  this.logout = async () => {
47
143
  if (this.config?.auth?.type === "session") {
48
144
  await this.client.fetch("/auth/session", {
@@ -51,6 +147,30 @@ class Auth {
51
147
  }
52
148
  this.client.clearToken();
53
149
  };
150
+ /**
151
+ * This method requests a reset password token for an admin user, customer, or custom actor type.
152
+ * It sends a request to the [Generate Reset Password Token API route](https://docs.medusajs.com/v2/api/admin#auth_postactor_typeauth_providerresetpassword).
153
+ *
154
+ * To reset the password later using the token delivered to the user, use the {@link updateProvider} method.
155
+ *
156
+ * Related guide: [How to allow customers to reset their passwords in a storefront](https://docs.medusajs.com/v2/resources/storefront-development/customers/reset-password).
157
+ *
158
+ * @param actor - The actor type. For example, `user` for admin user, or `customer` for customer.
159
+ * @param provider - The authentication provider to use. For example, `emailpass`.
160
+ * @param body - The data required to identify the user.
161
+ *
162
+ * @example
163
+ * sdk.auth.resetPassword(
164
+ * "customer",
165
+ * "emailpass",
166
+ * {
167
+ * identifier: "customer@gmail.com"
168
+ * }
169
+ * )
170
+ * .then(() => {
171
+ * // user receives token
172
+ * })
173
+ */
54
174
  this.resetPassword = async (actor, provider, body) => {
55
175
  await this.client.fetch(`/auth/${actor}/${provider}/reset-password`, {
56
176
  method: "POST",
@@ -58,12 +178,43 @@ class Auth {
58
178
  headers: { accept: "text/plain" }, // 201 Created response
59
179
  });
60
180
  };
181
+ /**
182
+ * This method is used to update user-related data authentication data.
183
+ *
184
+ * More specifically, use this method when updating the password of an admin user, customer, or
185
+ * custom actor type after requesting to reset their password with {@link resetPassword}.
186
+ *
187
+ * This method sends a request to [this API route](https://docs.medusajs.com/v2/api/admin#auth_postactor_typeauth_providerupdate).
188
+ *
189
+ * Related guide: [How to allow customers to reset their passwords in a storefront](https://docs.medusajs.com/v2/resources/storefront-development/customers/reset-password).
190
+ *
191
+ * @param actor - The actor type. For example, `user` for admin user, or `customer` for customer.
192
+ * @param provider - The authentication provider to use. For example, `emailpass`.
193
+ * @param body - The data necessary to update the user's authentication data. When resetting the user's password,
194
+ * send the `email` and `password` properties.
195
+ *
196
+ * @example
197
+ * sdk.auth.updateProvider(
198
+ * "customer",
199
+ * "emailpass",
200
+ * {
201
+ * email: "customer@gmail.com",
202
+ * password: "supersecret"
203
+ * }
204
+ * )
205
+ * .then(() => {
206
+ * // password updated
207
+ * })
208
+ */
61
209
  this.updateProvider = async (actor, provider, body) => {
62
210
  await this.client.fetch(`/auth/${actor}/${provider}/update`, {
63
211
  method: "POST",
64
212
  body,
65
213
  });
66
214
  };
215
+ /**
216
+ * @ignore
217
+ */
67
218
  this.setToken_ = async (token) => {
68
219
  // By default we just set the token in the configured storage, if configured to use sessions we convert it into session storage instead.
69
220
  if (this.config?.auth?.type === "session") {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/auth/index.ts"],"names":[],"mappings":";;;AAIA,MAAa,IAAI;IAIf,YAAY,MAAc,EAAE,MAAc;QAK1C,aAAQ,GAAG,KAAK,EACd,KAAa,EACb,MAAc,EACd,OAA+C,EAC/C,EAAE;YACF,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CACvC,SAAS,KAAK,IAAI,MAAM,WAAW,EACnC;gBACE,MAAM,EAAE,MAAM;gBACd,IAAI,EAAE,OAAO;aACd,CACF,CAAA;YAED,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;YAE3B,OAAO,KAAK,CAAA;QACd,CAAC,CAAA;QAED,UAAK,GAAG,KAAK,EACX,KAAa,EACb,MAAc,EACd,OAAyE,EACzE,EAAE;YACF,oEAAoE;YACpE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAGhD,SAAS,KAAK,IAAI,MAAM,EAAE,EAAE;gBAC7B,MAAM,EAAE,MAAM;gBACd,IAAI,EAAE,OAAO;aACd,CAAC,CAAA;YAEF,gFAAgF;YAChF,4EAA4E;YA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IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;gBAC1C,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,eAAe,EAAE;oBACvC,MAAM,EAAE,MAAM;oBACd,OAAO,EAAE,EAAE,aAAa,EAAE,UAAU,KAAK,EAAE,EAAE;iBAC9C,CAAC,CAAA;YACJ,CAAC;iBAAM,CAAC;gBACN,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;YAC7B,CAAC;QACH,CAAC,CAAA;QAtRC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;CAqRF;AA5RD,oBA4RC"}
@@ -2,7 +2,13 @@ import { HttpTypes } from "@medusajs/types";
2
2
  import { Client } from "../client";
3
3
  import { ClientHeaders } from "../types";
4
4
  export declare class ApiKey {
5
+ /**
6
+ * @ignore
7
+ */
5
8
  private client;
9
+ /**
10
+ * @ignore
11
+ */
6
12
  constructor(client: Client);
7
13
  list(queryParams?: HttpTypes.AdminGetApiKeysParams, headers?: ClientHeaders): Promise<HttpTypes.PaginatedResponse<HttpTypes.AdminApiKeyListResponse>>;
8
14
  create(body: HttpTypes.AdminCreateApiKey, query?: HttpTypes.AdminGetApiKeysParams, headers?: ClientHeaders): Promise<HttpTypes.AdminApiKeyResponse>;
@@ -1 +1 @@
1
- {"version":3,"file":"api-key.d.ts","sourceRoot":"","sources":["../../../src/admin/api-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAqB,MAAM,iBAAiB,CAAA;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAExC,qBAAa,MAAM;IACjB,OAAO,CAAC,MAAM,CAAQ;gBACV,MAAM,EAAE,MAAM;IAIpB,IAAI,CACR,WAAW,CAAC,EAAE,SAAS,C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aAAa;IAU1C,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa;IAS5C,MAAM,CACV,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,SAAS,CAAC,iBAAiB,EACjC,KAAK,CAAC,EAAE,SAAS,CAAC,qBAAqB,EACvC,OAAO,CAAC,EAAE,aAAa;IAanB,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa;IAU1C,kBAAkB,CACtB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,SAAS,CAAC,cAAc,EAC9B,OAAO,CAAC,EAAE,aAAa;CAW1B"}
@@ -8,6 +8,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  });
9
9
  };
10
10
  export class ApiKey {
11
+ /**
12
+ * @ignore
13
+ */
11
14
  constructor(client) {
12
15
  this.client = client;
13
16
  }
@@ -1 +1 @@
1
- {"version":3,"file":"api-key.js","sourceRoot":"","sources":["../../../src/admin/api-key.ts"],"names":[],"mappings":";;;;;;;;;AAIA,MAAM,OAAO,MAAM;IAEjB,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAEK,IAAI,CACR,WAA6C,EAC7C,OAAuB;;YAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAE5B,iBAAiB,EAAE;gBACnB,KAAK,EAAE,WAAW;gBAClB,OAAO;aACR,CAAC,CAAA;QACJ,CAAC;KAAA;IAEK,MAAM,CACV,IAAiC,EACjC,KAAuC,EACvC,OAAuB;;YAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,iBAAiB,EACjB;gBACE,MAAM,EAAE,MAAM;gBACd,OAAO;gBACP,IAAI;gBACJ,KAAK;aACN,CACF,CAAA;QACH,CAAC;KAAA;IAEK,MAAM,CAAC,EAAU,EAAE,OAAuB;;YAC9C,OAAO,MAAM,IAAI,CAAC,MA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;gBACE,MAAM,EAAE,MAAM;gBACd,OAAO;gBACP,IAAI;aACL,CACF,CAAA;QACH,CAAC;KAAA;CACF"}
@@ -2,7 +2,13 @@ import { HttpTypes } from "@medusajs/types";
2
2
  import { Client } from "../client";
3
3
  import { ClientHeaders } from "../types";
4
4
  export declare class Campaign {
5
+ /**
6
+ * @ignore
7
+ */
5
8
  private client;
9
+ /**
10
+ * @ignore
11
+ */
6
12
  constructor(client: Client);
7
13
  retrieve(id: string, query?: HttpTypes.AdminGetCampaignParams, headers?: ClientHeaders): Promise<HttpTypes.AdminCampaignResponse>;
8
14
  list(query?: HttpTypes.AdminGetCampaignsParams, headers?: ClientHeaders): Promise<HttpTypes.AdminCampaignListResponse>;
@@ -1 +1 @@
1
- {"version":3,"file":"campaign.d.ts","sourceRoot":"","sources":["../../../src/admin/campaign.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAExC,qBAAa,QAAQ;IACnB,OAAO,CAAC,MAAM,CAAQ;gBACV,MAAM,EAAE,MAAM;IAIpB,QAAQ,CACZ,EAAE,EAAE,MAAM,EACV,KAAK,CAAC,EAAE,SAAS,CAAC,sBAAsB,EACxC,OAAO,CAAC,EAAE,aAAa;IAWnB,IAAI,CACR,KAAK,CAAC,EAAE,SAAS,CAAC,uBAAuB,EACzC,OAAO,CAAC,EAAE,aAAa;IAWnB,MAAM,CACV,OAAO,EAAE,SAAS,CAAC,mBAAmB,EACtC,OAAO,CAAC,EAAE,aAAa;IAYnB,MAAM,CACV,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,SAAS,CAAC,mBAAmB,EACtC,OAAO,CAAC,EAAE,aAAa;IAYnB,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa;IAU1C,eAAe,CACnB,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,SAAS,CAAC,cAAc,EACjC,OAAO,CAAC,EAAE,aAAa;CAW1B"}
1
+ {"version":3,"file":"campaign.d.ts","sourceRoot":"","sources":["../../../src/admin/campaign.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAExC,qBAAa,QAAQ;IACnB;;OAEG;IACH,OAAO,CAAC,MAAM,CAAQ;IACtB;;OAEG;gBACS,MAAM,EAAE,MAAM;IAIpB,QAAQ,CACZ,EAAE,EAAE,MAAM,EACV,KAAK,CAAC,EAAE,SAAS,CAAC,sBAAsB,EACxC,OAAO,CAAC,EAAE,aAAa;IAWnB,IAAI,CACR,KAAK,CAAC,EAAE,SAAS,CAAC,uBAAuB,EACzC,OAAO,CAAC,EAAE,aAAa;IAWnB,MAAM,CACV,OAAO,EAAE,SAAS,CAAC,mBAAmB,EACtC,OAAO,CAAC,EAAE,aAAa;IAYnB,MAAM,CACV,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,SAAS,CAAC,mBAAmB,EACtC,OAAO,CAAC,EAAE,aAAa;IAYnB,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa;IAU1C,eAAe,CACnB,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,SAAS,CAAC,cAAc,EACjC,OAAO,CAAC,EAAE,aAAa;CAW1B"}
@@ -8,6 +8,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  });
9
9
  };
10
10
  export class Campaign {
11
+ /**
12
+ * @ignore
13
+ */
11
14
  constructor(client) {
12
15
  this.client = client;
13
16
  }
@@ -1 +1 @@
1
- {"version":3,"file":"campaign.js","sourceRoot":"","sources":["../../../src/admin/campaign.ts"],"names":[],"mappings":";;;;;;;;;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;gBACd,OAAO;gBACP,IAAI,EAAE,OAAO;aACd,CACF,CAAA;QACH,CAAC;KAAA;CACF"}
1
+ {"version":3,"file":"campaign.js","sourceRoot":"","sources":["../../../src/admin/campaign.ts"],"names":[],"mappings":";;;;;;;;;AAIA,MAAM,OAAO,QAAQ;IAKnB;;OAEG;IACH,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAEK,QAAQ,CACZ,EAAU,EACV,KAAwC,EACxC,OAAuB;;YAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,oBAAoB,EAAE,EAAE,EACxB;gBACE,OAAO;gBACP,KAAK;aACN,CACF,CAAA;QACH,CAAC;KAAA;IAEK,IAAI,CACR,KAAyC,EACzC,OAAuB;;YAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,kBAAkB,EAClB;gBACE,OAAO;gBACP,KAAK;aACN,CACF,CAAA;QACH,CAAC;KAAA;IAEK,MAAM,CACV,OAAsC,EACtC,OAAuB;;YAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,kBAAkB,EAClB;gBACE,MAAM,EAAE,MAAM;gBACd,OAAO;gBACP,IAAI,EAAE,OAAO;aACd,CACF,CAAA;QACH,CAAC;KAAA;IAEK,MAAM,CACV,EAAU,EACV,OAAsC,EACtC,OAAuB;;YAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,oBAAoB,EAAE,EAAE,EACxB;gBACE,MAAM,EAAE,MAAM;gBACd,OAAO;gBACP,IAAI,EAAE,OAAO;aACd,CACF,CAAA;QACH,CAAC;KAAA;IAEK,MAAM,CAAC,EAAU,EAAE,OAAuB;;YAC9C,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,oBAAoB,EAAE,EAAE,EACxB;gBACE,MAAM,EAAE,QAAQ;gBAChB,OAAO;aACR,CACF,CAAA;QAC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