@medusajs/types 1.12.0-snapshot-20240516091433 → 1.12.0-snapshot-20240520151134

Sign up to get free protection for your applications and to get access to all the features.
Files changed (207) hide show
  1. package/dist/cart/common.d.ts +0 -107
  2. package/dist/cart/common.d.ts.map +1 -1
  3. package/dist/common/common.d.ts +0 -160
  4. package/dist/common/common.d.ts.map +1 -1
  5. package/dist/common/config-module.d.ts +267 -186
  6. package/dist/common/config-module.d.ts.map +1 -1
  7. package/dist/common/index.d.ts +1 -0
  8. package/dist/common/index.d.ts.map +1 -1
  9. package/dist/common/index.js +1 -0
  10. package/dist/common/index.js.map +1 -1
  11. package/dist/common/with-calculated.d.ts +6 -0
  12. package/dist/common/with-calculated.d.ts.map +1 -0
  13. package/dist/{http/common/deleted-response.js → common/with-calculated.js} +1 -1
  14. package/dist/common/with-calculated.js.map +1 -0
  15. package/dist/fulfillment/mutations/shipping-option.d.ts +12 -0
  16. package/dist/fulfillment/mutations/shipping-option.d.ts.map +1 -1
  17. package/dist/http/api-key/admin/api-key.d.ts +3 -12
  18. package/dist/http/api-key/admin/api-key.d.ts.map +1 -1
  19. package/dist/http/campaign/admin/campaign.d.ts +2 -11
  20. package/dist/http/campaign/admin/campaign.d.ts.map +1 -1
  21. package/dist/http/cart/common.d.ts +636 -0
  22. package/dist/http/cart/common.d.ts.map +1 -0
  23. package/dist/http/{common/paginated-response.js → cart/common.js} +1 -1
  24. package/dist/http/cart/common.js.map +1 -0
  25. package/dist/http/cart/index.d.ts +2 -0
  26. package/dist/http/cart/index.d.ts.map +1 -0
  27. package/dist/http/cart/index.js +18 -0
  28. package/dist/http/cart/index.js.map +1 -0
  29. package/dist/http/cart/store.d.ts +45 -0
  30. package/dist/http/cart/store.d.ts.map +1 -0
  31. package/dist/http/{order/admin/index.js → cart/store.js} +1 -1
  32. package/dist/http/cart/store.js.map +1 -0
  33. package/dist/http/collection/admin.d.ts +6 -0
  34. package/dist/http/collection/admin.d.ts.map +1 -0
  35. package/dist/http/collection/admin.js +3 -0
  36. package/dist/http/collection/admin.js.map +1 -0
  37. package/dist/http/collection/common.d.ts +19 -0
  38. package/dist/http/collection/common.d.ts.map +1 -0
  39. package/dist/http/collection/common.js +3 -0
  40. package/dist/http/collection/common.js.map +1 -0
  41. package/dist/http/collection/index.d.ts +3 -0
  42. package/dist/http/collection/index.d.ts.map +1 -0
  43. package/dist/http/collection/index.js +19 -0
  44. package/dist/http/collection/index.js.map +1 -0
  45. package/dist/http/collection/store.d.ts +6 -0
  46. package/dist/http/collection/store.d.ts.map +1 -0
  47. package/dist/http/collection/store.js +3 -0
  48. package/dist/http/collection/store.js.map +1 -0
  49. package/dist/http/common/index.d.ts +2 -2
  50. package/dist/http/common/index.d.ts.map +1 -1
  51. package/dist/http/common/index.js +2 -2
  52. package/dist/http/common/index.js.map +1 -1
  53. package/dist/http/common/request.d.ts +9 -0
  54. package/dist/http/common/request.d.ts.map +1 -0
  55. package/dist/http/common/request.js +3 -0
  56. package/dist/http/common/request.js.map +1 -0
  57. package/dist/http/common/response.d.ts +24 -0
  58. package/dist/http/common/response.d.ts.map +1 -0
  59. package/dist/http/common/response.js +3 -0
  60. package/dist/http/common/response.js.map +1 -0
  61. package/dist/http/customer/admin/customer.d.ts +5 -26
  62. package/dist/http/customer/admin/customer.d.ts.map +1 -1
  63. package/dist/http/fulfillment/admin/fulfillment-address.d.ts +0 -3
  64. package/dist/http/fulfillment/admin/fulfillment-address.d.ts.map +1 -1
  65. package/dist/http/fulfillment/admin/fulfillment-item.d.ts +0 -3
  66. package/dist/http/fulfillment/admin/fulfillment-item.d.ts.map +1 -1
  67. package/dist/http/fulfillment/admin/fulfillment-label.d.ts +0 -3
  68. package/dist/http/fulfillment/admin/fulfillment-label.d.ts.map +1 -1
  69. package/dist/http/fulfillment/admin/fulfillment-provider.d.ts +0 -3
  70. package/dist/http/fulfillment/admin/fulfillment-provider.d.ts.map +1 -1
  71. package/dist/http/fulfillment/admin/fulfillment-set.d.ts +0 -6
  72. package/dist/http/fulfillment/admin/fulfillment-set.d.ts.map +1 -1
  73. package/dist/http/fulfillment/admin/fulfillment.d.ts +1 -7
  74. package/dist/http/fulfillment/admin/fulfillment.d.ts.map +1 -1
  75. package/dist/http/fulfillment/admin/geo-zone.d.ts +0 -3
  76. package/dist/http/fulfillment/admin/geo-zone.d.ts.map +1 -1
  77. package/dist/http/fulfillment/admin/service-zone.d.ts +0 -9
  78. package/dist/http/fulfillment/admin/service-zone.d.ts.map +1 -1
  79. package/dist/http/fulfillment/admin/shipping-option-rule.d.ts +0 -3
  80. package/dist/http/fulfillment/admin/shipping-option-rule.d.ts.map +1 -1
  81. package/dist/http/fulfillment/admin/shipping-option-type.d.ts +0 -3
  82. package/dist/http/fulfillment/admin/shipping-option-type.d.ts.map +1 -1
  83. package/dist/http/fulfillment/admin/shipping-option.d.ts +2 -14
  84. package/dist/http/fulfillment/admin/shipping-option.d.ts.map +1 -1
  85. package/dist/http/fulfillment/admin/shipping-profile.d.ts +3 -9
  86. package/dist/http/fulfillment/admin/shipping-profile.d.ts.map +1 -1
  87. package/dist/http/index.d.ts +6 -0
  88. package/dist/http/index.d.ts.map +1 -1
  89. package/dist/http/index.js +6 -0
  90. package/dist/http/index.js.map +1 -1
  91. package/dist/http/inventory/inventory-level.d.ts +2 -8
  92. package/dist/http/inventory/inventory-level.d.ts.map +1 -1
  93. package/dist/http/inventory/inventory.d.ts +2 -8
  94. package/dist/http/inventory/inventory.d.ts.map +1 -1
  95. package/dist/http/order/admin.d.ts +4 -0
  96. package/dist/http/order/admin.d.ts.map +1 -0
  97. package/dist/http/order/admin.js +3 -0
  98. package/dist/http/order/admin.js.map +1 -0
  99. package/dist/http/order/{admin/index.d.ts → common.d.ts} +30 -96
  100. package/dist/http/order/common.d.ts.map +1 -0
  101. package/dist/http/order/common.js +3 -0
  102. package/dist/http/order/common.js.map +1 -0
  103. package/dist/http/order/index.d.ts +1 -0
  104. package/dist/http/order/index.d.ts.map +1 -1
  105. package/dist/http/order/index.js +1 -0
  106. package/dist/http/order/index.js.map +1 -1
  107. package/dist/http/order/store.d.ts +4 -0
  108. package/dist/http/order/store.d.ts.map +1 -0
  109. package/dist/http/order/store.js +3 -0
  110. package/dist/http/order/store.js.map +1 -0
  111. package/dist/http/payment/admin.d.ts +16 -0
  112. package/dist/http/payment/admin.d.ts.map +1 -0
  113. package/dist/http/payment/admin.js +3 -0
  114. package/dist/http/payment/admin.js.map +1 -0
  115. package/dist/http/payment/common.d.ts +339 -0
  116. package/dist/http/payment/common.d.ts.map +1 -0
  117. package/dist/http/payment/common.js +3 -0
  118. package/dist/http/payment/common.js.map +1 -0
  119. package/dist/http/payment/index.d.ts +3 -0
  120. package/dist/http/payment/index.d.ts.map +1 -0
  121. package/dist/http/payment/index.js +19 -0
  122. package/dist/http/payment/index.js.map +1 -0
  123. package/dist/http/payment/store.d.ts +14 -0
  124. package/dist/http/payment/store.d.ts.map +1 -0
  125. package/dist/http/payment/store.js +3 -0
  126. package/dist/http/payment/store.js.map +1 -0
  127. package/dist/http/product/admin.d.ts +33 -0
  128. package/dist/http/product/admin.d.ts.map +1 -0
  129. package/dist/http/product/admin.js +3 -0
  130. package/dist/http/product/admin.js.map +1 -0
  131. package/dist/http/product/common.d.ts +176 -0
  132. package/dist/http/product/common.d.ts.map +1 -0
  133. package/dist/http/product/common.js +3 -0
  134. package/dist/http/product/common.js.map +1 -0
  135. package/dist/http/product/index.d.ts +3 -0
  136. package/dist/http/product/index.d.ts.map +1 -0
  137. package/dist/http/product/index.js +19 -0
  138. package/dist/http/product/index.js.map +1 -0
  139. package/dist/http/product/store.d.ts +30 -0
  140. package/dist/http/product/store.d.ts.map +1 -0
  141. package/dist/http/product/store.js +3 -0
  142. package/dist/http/product/store.js.map +1 -0
  143. package/dist/http/product-category/admin.d.ts +3 -9
  144. package/dist/http/product-category/admin.d.ts.map +1 -1
  145. package/dist/http/product-category/common.d.ts +0 -3
  146. package/dist/http/product-category/common.d.ts.map +1 -1
  147. package/dist/http/product-category/store.d.ts +3 -9
  148. package/dist/http/product-category/store.d.ts.map +1 -1
  149. package/dist/http/promotion/admin/promotion-rule.d.ts +0 -6
  150. package/dist/http/promotion/admin/promotion-rule.d.ts.map +1 -1
  151. package/dist/http/promotion/admin/rule-attribute-options.d.ts +0 -6
  152. package/dist/http/promotion/admin/rule-attribute-options.d.ts.map +1 -1
  153. package/dist/http/promotion/admin/rule-operator-options.d.ts +0 -6
  154. package/dist/http/promotion/admin/rule-operator-options.d.ts.map +1 -1
  155. package/dist/http/region/admin.d.ts +26 -0
  156. package/dist/http/region/admin.d.ts.map +1 -0
  157. package/dist/http/region/admin.js +3 -0
  158. package/dist/http/region/admin.js.map +1 -0
  159. package/dist/http/region/common.d.ts +39 -0
  160. package/dist/http/region/common.d.ts.map +1 -0
  161. package/dist/http/region/common.js +3 -0
  162. package/dist/http/region/common.js.map +1 -0
  163. package/dist/http/region/index.d.ts +3 -0
  164. package/dist/http/region/index.d.ts.map +1 -0
  165. package/dist/http/region/index.js +19 -0
  166. package/dist/http/region/index.js.map +1 -0
  167. package/dist/http/region/store.d.ts +10 -0
  168. package/dist/http/region/store.d.ts.map +1 -0
  169. package/dist/http/region/store.js +3 -0
  170. package/dist/http/region/store.js.map +1 -0
  171. package/dist/http/reservation/admin/reservation.d.ts +3 -12
  172. package/dist/http/reservation/admin/reservation.d.ts.map +1 -1
  173. package/dist/http/sales-channel/admin/sales-channel.d.ts +2 -11
  174. package/dist/http/sales-channel/admin/sales-channel.d.ts.map +1 -1
  175. package/dist/http/tax/admin/tax-rates.d.ts +3 -12
  176. package/dist/http/tax/admin/tax-rates.d.ts.map +1 -1
  177. package/dist/http/tax/admin/tax-regions.d.ts +3 -12
  178. package/dist/http/tax/admin/tax-regions.d.ts.map +1 -1
  179. package/dist/order/common.d.ts +8 -1
  180. package/dist/order/common.d.ts.map +1 -1
  181. package/dist/order/mutations.d.ts +2 -2
  182. package/dist/order/mutations.d.ts.map +1 -1
  183. package/dist/order/service.d.ts +4 -0
  184. package/dist/order/service.d.ts.map +1 -1
  185. package/dist/workflow/fulfillment/create-fulfillment.d.ts +1 -0
  186. package/dist/workflow/fulfillment/create-fulfillment.d.ts.map +1 -1
  187. package/dist/workflow/index.d.ts +1 -0
  188. package/dist/workflow/index.d.ts.map +1 -1
  189. package/dist/workflow/index.js +2 -1
  190. package/dist/workflow/index.js.map +1 -1
  191. package/dist/workflow/order/create-return-order.d.ts +26 -0
  192. package/dist/workflow/order/create-return-order.d.ts.map +1 -0
  193. package/dist/workflow/order/create-return-order.js +3 -0
  194. package/dist/workflow/order/create-return-order.js.map +1 -0
  195. package/dist/workflow/order/index.d.ts +2 -0
  196. package/dist/workflow/order/index.d.ts.map +1 -0
  197. package/dist/workflow/order/index.js +18 -0
  198. package/dist/workflow/order/index.js.map +1 -0
  199. package/package.json +1 -1
  200. package/dist/http/common/deleted-response.d.ts +0 -18
  201. package/dist/http/common/deleted-response.d.ts.map +0 -1
  202. package/dist/http/common/deleted-response.js.map +0 -1
  203. package/dist/http/common/paginated-response.d.ts +0 -6
  204. package/dist/http/common/paginated-response.d.ts.map +0 -1
  205. package/dist/http/common/paginated-response.js.map +0 -1
  206. package/dist/http/order/admin/index.d.ts.map +0 -1
  207. package/dist/http/order/admin/index.js.map +0 -1
@@ -0,0 +1,19 @@
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
+ __exportStar(require("./store"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/product/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,0CAAuB"}
@@ -0,0 +1,30 @@
1
+ import { BaseProduct, BaseProductCategory, BaseProductCategoryFilters, BaseProductFilters, BaseProductImage, BaseProductOption, BaseProductOptionFilters, BaseProductOptionValue, BaseProductTag, BaseProductTagFilters, BaseProductType, BaseProductTypeFilters, BaseProductVariant, BaseProductVariantFilters } from "./common";
2
+ export interface StoreProduct extends BaseProduct {
3
+ }
4
+ export interface StoreProductCategory extends BaseProductCategory {
5
+ }
6
+ export interface StoreProductVariant extends BaseProductVariant {
7
+ }
8
+ export interface StoreProductTag extends BaseProductTag {
9
+ }
10
+ export interface StoreProductType extends BaseProductType {
11
+ }
12
+ export interface StoreProductOption extends BaseProductOption {
13
+ }
14
+ export interface StoreProductImage extends BaseProductImage {
15
+ }
16
+ export interface StoreProductOptionValue extends BaseProductOptionValue {
17
+ }
18
+ export interface StoreProductFilters extends BaseProductFilters {
19
+ }
20
+ export interface StoreProductTagFilters extends BaseProductTagFilters {
21
+ }
22
+ export interface StoreProductTypeFilters extends BaseProductTypeFilters {
23
+ }
24
+ export interface StoreProductOptionFilters extends BaseProductOptionFilters {
25
+ }
26
+ export interface StoreProductVariantFilters extends BaseProductVariantFilters {
27
+ }
28
+ export interface StoreProductCategoryFilters extends BaseProductCategoryFilters {
29
+ }
30
+ //# sourceMappingURL=store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/http/product/store.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,mBAAmB,EACnB,0BAA0B,EAC1B,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,wBAAwB,EACxB,sBAAsB,EACtB,cAAc,EACd,qBAAqB,EACrB,eAAe,EACf,sBAAsB,EACtB,kBAAkB,EAClB,yBAAyB,EAC1B,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,YAAa,SAAQ,WAAW;CAAG;AACpD,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;CAAG;AACpE,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAClE,MAAM,WAAW,eAAgB,SAAQ,cAAc;CAAG;AAC1D,MAAM,WAAW,gBAAiB,SAAQ,eAAe;CAAG;AAC5D,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;CAAG;AAE1E,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAClE,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;CAAG;AACxE,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;CAAG;AAC1E,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG;AAC9E,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG;AAChF,MAAM,WAAW,2BACf,SAAQ,0BAA0B;CAAG"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=store.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/http/product/store.ts"],"names":[],"mappings":""}
@@ -1,15 +1,9 @@
1
- import { PaginatedResponse } from "../../common";
1
+ import { PaginatedResponse } from "../common";
2
2
  import { ProductCategoryResponse } from "./common";
3
- /**
4
- * @experimental
5
- */
6
3
  export interface AdminProductCategoryResponse {
7
4
  product_category: ProductCategoryResponse;
8
5
  }
9
- /**
10
- * @experimental
11
- */
12
- export interface AdminProductCategoryListResponse extends PaginatedResponse {
6
+ export type AdminProductCategoryListResponse = PaginatedResponse<{
13
7
  product_categories: ProductCategoryResponse[];
14
- }
8
+ }>;
15
9
  //# sourceMappingURL=admin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/product-category/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAElD;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,gBAAgB,EAAE,uBAAuB,CAAA;CAC1C;AAED;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,iBAAiB;IACzE,kBAAkB,EAAE,uBAAuB,EAAE,CAAA;CAC9C"}
1
+ {"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/product-category/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAElD,MAAM,WAAW,4BAA4B;IAC3C,gBAAgB,EAAE,uBAAuB,CAAA;CAC1C;AAED,MAAM,MAAM,gCAAgC,GAAG,iBAAiB,CAAC;IAC/D,kBAAkB,EAAE,uBAAuB,EAAE,CAAA;CAC9C,CAAC,CAAA"}
@@ -1,6 +1,3 @@
1
- /**
2
- * @experimental
3
- */
4
1
  export interface ProductCategoryResponse {
5
2
  id: string;
6
3
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/product-category/common.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,SAAS,EAAE,OAAO,CAAA;IAClB,WAAW,EAAE,OAAO,CAAA;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IAEzB,eAAe,EAAE,uBAAuB,CAAA;IACxC,iBAAiB,EAAE,uBAAuB,EAAE,CAAA;CAC7C"}
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/product-category/common.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,SAAS,EAAE,OAAO,CAAA;IAClB,WAAW,EAAE,OAAO,CAAA;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IAEzB,eAAe,EAAE,uBAAuB,CAAA;IACxC,iBAAiB,EAAE,uBAAuB,EAAE,CAAA;CAC7C"}
@@ -1,15 +1,9 @@
1
- import { PaginatedResponse } from "../../common";
1
+ import { PaginatedResponse } from "../common";
2
2
  import { ProductCategoryResponse } from "./common";
3
- /**
4
- * @experimental
5
- */
6
3
  export interface StoreProductCategoryResponse {
7
4
  product_category: ProductCategoryResponse;
8
5
  }
9
- /**
10
- * @experimental
11
- */
12
- export interface StoreProductCategoryListResponse extends PaginatedResponse {
6
+ export type StoreProductCategoryListResponse = PaginatedResponse<{
13
7
  product_categories: ProductCategoryResponse[];
14
- }
8
+ }>;
15
9
  //# sourceMappingURL=store.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/http/product-category/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAElD;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,gBAAgB,EAAE,uBAAuB,CAAA;CAC1C;AAED;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,iBAAiB;IACzE,kBAAkB,EAAE,uBAAuB,EAAE,CAAA;CAC9C"}
1
+ {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/http/product-category/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAElD,MAAM,WAAW,4BAA4B;IAC3C,gBAAgB,EAAE,uBAAuB,CAAA;CAC1C;AAED,MAAM,MAAM,gCAAgC,GAAG,iBAAiB,CAAC;IAC/D,kBAAkB,EAAE,uBAAuB,EAAE,CAAA;CAC9C,CAAC,CAAA"}
@@ -1,6 +1,3 @@
1
- /**
2
- * @experimental
3
- */
4
1
  export interface PromotionRuleResponse {
5
2
  id: string;
6
3
  attribute: string;
@@ -14,9 +11,6 @@ export interface PromotionRuleResponse {
14
11
  disguised: boolean;
15
12
  required: boolean;
16
13
  }
17
- /**
18
- * @experimental
19
- */
20
14
  export interface AdminPromotionRuleListResponse {
21
15
  attributes: PromotionRuleResponse[];
22
16
  }
@@ -1 +1 @@
1
- {"version":3,"file":"promotion-rule.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/promotion-rule.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,eAAe,EAAE,MAAM,CAAA;IACvB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IAC3B,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C,UAAU,EAAE,qBAAqB,EAAE,CAAA;CACpC"}
1
+ {"version":3,"file":"promotion-rule.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/promotion-rule.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,eAAe,EAAE,MAAM,CAAA;IACvB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IAC3B,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,8BAA8B;IAC7C,UAAU,EAAE,qBAAqB,EAAE,CAAA;CACpC"}
@@ -1,6 +1,3 @@
1
- /**
2
- * @experimental
3
- */
4
1
  export interface RuleAttributeOptionsResponse {
5
2
  id: string;
6
3
  value: string;
@@ -9,9 +6,6 @@ export interface RuleAttributeOptionsResponse {
9
6
  required: boolean;
10
7
  disguised: boolean;
11
8
  }
12
- /**
13
- * @experimental
14
- */
15
9
  export interface AdminRuleAttributeOptionsListResponse {
16
10
  attributes: RuleAttributeOptionsResponse[];
17
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"rule-attribute-options.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/rule-attribute-options.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;IACjB,SAAS,EAAE,OAAO,CAAA;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,qCAAqC;IACpD,UAAU,EAAE,4BAA4B,EAAE,CAAA;CAC3C"}
1
+ {"version":3,"file":"rule-attribute-options.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/rule-attribute-options.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;IACjB,SAAS,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,qCAAqC;IACpD,UAAU,EAAE,4BAA4B,EAAE,CAAA;CAC3C"}
@@ -1,14 +1,8 @@
1
- /**
2
- * @experimental
3
- */
4
1
  export interface RuleOperatorOptionsResponse {
5
2
  id: string;
6
3
  value: string;
7
4
  label: string;
8
5
  }
9
- /**
10
- * @experimental
11
- */
12
6
  export interface AdminRuleOperatorOptionsListResponse {
13
7
  operators: RuleOperatorOptionsResponse[];
14
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"rule-operator-options.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/rule-operator-options.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd;AAED;;GAEG;AACH,MAAM,WAAW,oCAAoC;IACnD,SAAS,EAAE,2BAA2B,EAAE,CAAA;CACzC"}
1
+ {"version":3,"file":"rule-operator-options.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/rule-operator-options.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,2BAA2B;IAC1C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,oCAAoC;IACnD,SAAS,EAAE,2BAA2B,EAAE,CAAA;CACzC"}
@@ -0,0 +1,26 @@
1
+ import { BaseRegion, BaseRegionCountry, BaseRegionCountryFilters, BaseRegionFilters } from "./common";
2
+ export interface AdminRegion extends BaseRegion {
3
+ }
4
+ export interface AdminRegionCountry extends BaseRegionCountry {
5
+ }
6
+ export interface AdminRegionFilters extends BaseRegionFilters {
7
+ }
8
+ export interface AdminRegionCountryFilters extends BaseRegionCountryFilters {
9
+ }
10
+ export interface AdminCreateRegion {
11
+ name: string;
12
+ currency_code: string;
13
+ countries?: string[];
14
+ automatic_taxes?: boolean;
15
+ payment_providers?: string[];
16
+ metadata?: Record<string, any>;
17
+ }
18
+ export interface AdminUpdateRegion {
19
+ name?: string;
20
+ currency_code?: string;
21
+ countries?: string[];
22
+ automatic_taxes?: boolean;
23
+ payment_providers?: string[];
24
+ metadata?: Record<string, any>;
25
+ }
26
+ //# sourceMappingURL=admin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/region/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,iBAAiB,EACjB,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,WAAY,SAAQ,UAAU;CAAG;AAClD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG;AAE9E,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=admin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"admin.js","sourceRoot":"","sources":["../../../src/http/region/admin.ts"],"names":[],"mappings":""}
@@ -0,0 +1,39 @@
1
+ import { BaseFilterable, OperatorMap } from "../../dal";
2
+ import { AdminPaymentProvider } from "../payment";
3
+ export interface BaseRegion {
4
+ id: string;
5
+ name: string;
6
+ currency_code: string;
7
+ automatic_taxes?: boolean;
8
+ countries?: BaseRegionCountry[];
9
+ payment_providers?: AdminPaymentProvider[];
10
+ metadata?: Record<string, any> | null;
11
+ created_at?: string;
12
+ updated_at?: string;
13
+ }
14
+ export interface BaseRegionCountry {
15
+ id: string;
16
+ iso_2?: string;
17
+ iso_3?: string;
18
+ num_code?: number;
19
+ name?: string;
20
+ display_name?: string;
21
+ }
22
+ export interface BaseRegionFilters extends BaseFilterable<BaseRegionFilters> {
23
+ q?: string;
24
+ id?: string[] | string | OperatorMap<string | string[]>;
25
+ name?: string | OperatorMap<string>;
26
+ currency_code?: string | OperatorMap<string>;
27
+ metadata?: Record<string, unknown> | OperatorMap<Record<string, unknown>>;
28
+ created_at?: OperatorMap<string>;
29
+ updated_at?: OperatorMap<string>;
30
+ }
31
+ export interface BaseRegionCountryFilters extends BaseFilterable<BaseRegionCountryFilters> {
32
+ id?: string[] | string;
33
+ iso_2?: string[] | string;
34
+ iso_3?: string[] | string;
35
+ num_code?: number[] | string;
36
+ name?: string[] | string;
37
+ display_name?: string[] | string;
38
+ }
39
+ //# sourceMappingURL=common.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/region/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEjD,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,SAAS,CAAC,EAAE,iBAAiB,EAAE,CAAA;IAC/B,iBAAiB,CAAC,EAAE,oBAAoB,EAAE,CAAA;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;IACrC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,iBAAiB,CAAC;IAC1E,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IACvD,IAAI,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACnC,aAAa,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IAC5C,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;IACzE,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC;AAED,MAAM,WAAW,wBACf,SAAQ,cAAc,CAAC,wBAAwB,CAAC;IAChD,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IAC5B,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IACxB,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;CACjC"}
@@ -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/region/common.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export * from "./admin";
2
+ export * from "./store";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/region/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}
@@ -0,0 +1,19 @@
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
+ __exportStar(require("./store"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/region/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,0CAAuB"}
@@ -0,0 +1,10 @@
1
+ import { BaseRegion, BaseRegionCountry, BaseRegionCountryFilters, BaseRegionFilters } from "./common";
2
+ export interface StoreRegion extends BaseRegion {
3
+ }
4
+ export interface StoreRegionCountry extends BaseRegionCountry {
5
+ }
6
+ export interface StoreRegionFilters extends BaseRegionFilters {
7
+ }
8
+ export interface StoreRegionCountryFilters extends BaseRegionCountryFilters {
9
+ }
10
+ //# sourceMappingURL=store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/http/region/store.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,iBAAiB,EACjB,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,WAAY,SAAQ,UAAU;CAAG;AAClD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=store.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/http/region/store.ts"],"names":[],"mappings":""}
@@ -1,7 +1,4 @@
1
- import { PaginatedResponse } from "../../../common";
2
- /**
3
- * @experimental
4
- */
1
+ import { PaginatedResponse } from "../../common";
5
2
  interface ReservationResponse {
6
3
  id: string;
7
4
  line_item_id: string | null;
@@ -17,17 +14,11 @@ interface ReservationResponse {
17
14
  created_at?: Date | string;
18
15
  updated_at?: Date | string;
19
16
  }
20
- /**
21
- * @experimental
22
- */
23
17
  export interface AdminReservationResponse {
24
18
  reservation: ReservationResponse;
25
19
  }
26
- /**
27
- * @experimental
28
- */
29
- export interface AdminReservationListResponse extends PaginatedResponse {
20
+ export type AdminReservationListResponse = PaginatedResponse<{
30
21
  reservations: ReservationResponse[];
31
- }
22
+ }>;
32
23
  export {};
33
24
  //# sourceMappingURL=reservation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reservation.d.ts","sourceRoot":"","sources":["../../../../src/http/reservation/admin/reservation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAEnD;;GAEG;AACH,UAAU,mBAAmB;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,iBAAiB,EAAE,MAAM,CAAA;IACzB,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,O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AAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,mBAAmB,CAAA;CACjC;AAED,MAAM,MAAM,4BAA4B,GAAG,iBAAiB,CAAC;IAC3D,YAAY,EAAE,mBAAmB,EAAE,CAAA;CACpC,CAAC,CAAA"}
@@ -1,7 +1,4 @@
1
1
  import { PaginatedResponse } from "../../common";
2
- /**
3
- * @experimental
4
- */
5
2
  interface SalesChannelResponse {
6
3
  id: string;
7
4
  name: string;
@@ -9,15 +6,9 @@ interface SalesChannelResponse {
9
6
  is_disabled: boolean;
10
7
  metadata: Record<string, unknown> | null;
11
8
  }
12
- /**
13
- * @experimental
14
- */
15
- export interface AdminSalesChannelListResponse extends PaginatedResponse {
9
+ export type AdminSalesChannelListResponse = PaginatedResponse<{
16
10
  sales_channels: SalesChannelResponse[];
17
- }
18
- /**
19
- * @experimental
20
- */
11
+ }>;
21
12
  export interface AdminSalesChannelResponse {
22
13
  sales_channel: SalesChannelResponse;
23
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"sales-channel.d.ts","sourceRoot":"","sources":["../../../../src/http/sales-channel/admin/sales-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhD;;GAEG;AACH,UAAU,oBAAoB;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,WAAW,EAAE,OAAO,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CACzC;AAED;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,iBAAiB;IACtE,cAAc,EAAE,oBAAoB,EAAE,CAAA;CACvC;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,aAAa,EAAE,oBAAoB,CAAA;CACpC"}
1
+ {"version":3,"file":"sales-channel.d.ts","sourceRoot":"","sources":["../../../../src/http/sales-channel/admin/sales-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhD,UAAU,oBAAoB;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,WAAW,EAAE,OAAO,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CACzC;AAED,MAAM,MAAM,6BAA6B,GAAG,iBAAiB,CAAC;IAC5D,cAAc,EAAE,oBAAoB,EAAE,CAAA;CACvC,CAAC,CAAA;AAEF,MAAM,WAAW,yBAAyB;IACxC,aAAa,EAAE,oBAAoB,CAAA;CACpC"}
@@ -1,8 +1,5 @@
1
- import { PaginatedResponse } from "../../../common";
1
+ import { PaginatedResponse } from "../../common";
2
2
  import { TaxRegionResponse } from "./tax-regions";
3
- /**
4
- * @experimental
5
- */
6
3
  export interface TaxRateResponse {
7
4
  id: string;
8
5
  rate: number | null;
@@ -22,16 +19,10 @@ export interface TaxRateResponse {
22
19
  reference_id: string;
23
20
  }[];
24
21
  }
25
- /**
26
- * @experimental
27
- */
28
22
  export interface AdminTaxRateResponse {
29
23
  tax_rate: TaxRateResponse;
30
24
  }
31
- /**
32
- * @experimental
33
- */
34
- export interface AdminTaxRateListResponse extends PaginatedResponse {
25
+ export type AdminTaxRateListResponse = PaginatedResponse<{
35
26
  tax_rates: TaxRateResponse[];
36
- }
27
+ }>;
37
28
  //# sourceMappingURL=tax-rates.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tax-rates.d.ts","sourceRoot":"","sources":["../../../../src/http/tax/admin/tax-rates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAEjD;;GAEG;AACH,MAAM,WAAW,eA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,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,OAAO,CAAA;IACtB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;IACvB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,iBAAiB,CAAA;IAC7B,KAAK,EAAE;QACL,SAAS,EAAE,MAAM,CAAA;QACjB,YAAY,EAAE,MAAM,CAAA;KACrB,EAAE,CAAA;CACJ;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,eAAe,CAAA;CAC1B;AAED,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACvD,SAAS,EAAE,eAAe,EAAE,CAAA;CAC7B,CAAC,CAAA"}
@@ -1,8 +1,5 @@
1
- import { PaginatedResponse } from "../../../common";
1
+ import { PaginatedResponse } from "../../common";
2
2
  import { TaxRateResponse } from "./tax-rates";
3
- /**
4
- * @experimental
5
- */
6
3
  export interface TaxRegionResponse {
7
4
  id: string;
8
5
  rate: number | null;
@@ -22,16 +19,10 @@ export interface TaxRegionResponse {
22
19
  tax_rates: TaxRateResponse[];
23
20
  parent: TaxRegionResponse;
24
21
  }
25
- /**
26
- * @experimental
27
- */
28
22
  export interface AdminTaxRegionResponse {
29
23
  tax_region: TaxRegionResponse;
30
24
  }
31
- /**
32
- * @experimental
33
- */
34
- export interface AdminTaxRegionListResponse extends PaginatedResponse {
25
+ export type AdminTaxRegionListResponse = PaginatedResponse<{
35
26
  tax_regions: TaxRegionResponse[];
36
- }
27
+ }>;
37
28
  //# sourceMappingURL=tax-regions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tax-regions.d.ts","sourceRoot":"","sources":["../../../../src/http/tax/admin/tax-regions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,C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AAA;IACnB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,OAAO,CAAA;IACtB,UAAU,EAAE,OAAO,CAAA;IACnB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;IACvB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IAEzB,SAAS,EAAE,eAAe,EAAE,CAAA;IAE5B,MAAM,EAAE,iBAAiB,CAAA;CAC1B;AAED,MAAM,WAAW,sBAAsB;IACrC,UAAU,EAAE,iBAAiB,CAAA;CAC9B;AAED,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;IACzD,WAAW,EAAE,iBAAiB,EAAE,CAAA;CACjC,CAAC,CAAA"}
@@ -1,6 +1,7 @@
1
1
  import { BaseFilterable } from "../dal";
2
2
  import { OperatorMap } from "../dal/utils";
3
3
  import { BigNumberRawValue, BigNumberValue } from "../totals";
4
+ export type ChangeActionType = "CANCEL" | "CANCEL_RETURN" | "FULFILL_ITEM" | "ITEM_ADD" | "ITEM_REMOVE" | "RECEIVE_DAMAGED_RETURN_ITEM" | "RECEIVE_RETURN_ITEM" | "RETURN_ITEM" | "SHIPPING_ADD" | "SHIP_ITEM" | "WRITE_OFF_ITEM";
4
5
  export type OrderSummaryDTO = {
5
6
  total: BigNumberValue;
6
7
  subtotal: BigNumberValue;
@@ -656,6 +657,7 @@ export interface OrderItemDTO {
656
657
  */
657
658
  updated_at: Date;
658
659
  }
660
+ type OrderStatus = "pending" | "completed" | "draft" | "archived" | "canceled" | "requires_action";
659
661
  export interface OrderDTO {
660
662
  /**
661
663
  * The ID of the order.
@@ -665,6 +667,10 @@ export interface OrderDTO {
665
667
  * The version of the order.
666
668
  */
667
669
  version: number;
670
+ /**
671
+ * The status of the order.
672
+ */
673
+ status: OrderStatus;
668
674
  /**
669
675
  * The ID of the region the order belongs to.
670
676
  */
@@ -1018,7 +1024,7 @@ export interface OrderChangeActionDTO {
1018
1024
  /**
1019
1025
  * The action of the order change action
1020
1026
  */
1021
- action: string;
1027
+ action: ChangeActionType;
1022
1028
  /**
1023
1029
  * The details of the order change action
1024
1030
  */
@@ -1263,4 +1269,5 @@ export interface FilterableOrderReturnReasonProps {
1263
1269
  label?: string;
1264
1270
  description?: string;
1265
1271
  }
1272
+ export {};
1266
1273
  //# sourceMappingURL=common.d.ts.map