@medusajs/types 1.12.0-snapshot-20240408084642 → 1.12.0-snapshot-20240412124109

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. package/dist/api-key/common/api-key.d.ts +0 -2
  2. package/dist/api-key/common/api-key.d.ts.map +1 -1
  3. package/dist/customer/mutations.d.ts +2 -18
  4. package/dist/customer/mutations.d.ts.map +1 -1
  5. package/dist/dal/repository-service.d.ts +1 -1
  6. package/dist/dal/repository-service.d.ts.map +1 -1
  7. package/dist/file/index.d.ts +1 -0
  8. package/dist/file/index.d.ts.map +1 -1
  9. package/dist/file/index.js +1 -0
  10. package/dist/file/index.js.map +1 -1
  11. package/dist/file/provider.d.ts +100 -0
  12. package/dist/file/provider.d.ts.map +1 -0
  13. package/dist/file/provider.js +3 -0
  14. package/dist/file/provider.js.map +1 -0
  15. package/dist/fulfillment/mutations/geo-zone.d.ts +0 -4
  16. package/dist/fulfillment/mutations/geo-zone.d.ts.map +1 -1
  17. package/dist/http/common/deleted-response.d.ts +18 -0
  18. package/dist/http/common/deleted-response.d.ts.map +1 -0
  19. package/dist/http/common/deleted-response.js +3 -0
  20. package/dist/http/common/deleted-response.js.map +1 -0
  21. package/dist/http/common/index.d.ts +1 -0
  22. package/dist/http/common/index.d.ts.map +1 -1
  23. package/dist/http/common/index.js +1 -0
  24. package/dist/http/common/index.js.map +1 -1
  25. package/dist/http/customer/admin/customer.d.ts +4 -0
  26. package/dist/http/customer/admin/customer.d.ts.map +1 -1
  27. package/dist/http/fulfillment/admin/fulfillment-set.d.ts +2 -2
  28. package/dist/http/fulfillment/admin/fulfillment-set.d.ts.map +1 -1
  29. package/dist/http/fulfillment/admin/service-zone.d.ts +13 -7
  30. package/dist/http/fulfillment/admin/service-zone.d.ts.map +1 -1
  31. package/dist/http/fulfillment/admin/shipping-option.d.ts +13 -1
  32. package/dist/http/fulfillment/admin/shipping-option.d.ts.map +1 -1
  33. package/dist/http/fulfillment/admin/shipping-profile.d.ts +8 -1
  34. package/dist/http/fulfillment/admin/shipping-profile.d.ts.map +1 -1
  35. package/dist/http/index.d.ts +2 -0
  36. package/dist/http/index.d.ts.map +1 -1
  37. package/dist/http/index.js +2 -0
  38. package/dist/http/index.js.map +1 -1
  39. package/dist/http/inventory/index.d.ts +3 -0
  40. package/dist/http/inventory/index.d.ts.map +1 -0
  41. package/dist/http/inventory/index.js +19 -0
  42. package/dist/http/inventory/index.js.map +1 -0
  43. package/dist/http/inventory/inventory-level.d.ts +26 -0
  44. package/dist/http/inventory/inventory-level.d.ts.map +1 -0
  45. package/dist/http/inventory/inventory-level.js +3 -0
  46. package/dist/http/inventory/inventory-level.js.map +1 -0
  47. package/dist/http/inventory/inventory.d.ts +32 -0
  48. package/dist/http/inventory/inventory.d.ts.map +1 -0
  49. package/dist/http/inventory/inventory.js +3 -0
  50. package/dist/http/inventory/inventory.js.map +1 -0
  51. package/dist/http/product-category/admin/index.d.ts +2 -0
  52. package/dist/http/product-category/admin/index.d.ts.map +1 -0
  53. package/dist/http/product-category/admin/index.js +18 -0
  54. package/dist/http/product-category/admin/index.js.map +1 -0
  55. package/dist/http/product-category/admin/product-category.d.ts +32 -0
  56. package/dist/http/product-category/admin/product-category.d.ts.map +1 -0
  57. package/dist/http/product-category/admin/product-category.js +3 -0
  58. package/dist/http/product-category/admin/product-category.js.map +1 -0
  59. package/dist/http/product-category/index.d.ts +2 -0
  60. package/dist/http/product-category/index.d.ts.map +1 -0
  61. package/dist/http/product-category/index.js +18 -0
  62. package/dist/http/product-category/index.js.map +1 -0
  63. package/dist/inventory/common/inventory-level.d.ts.map +1 -1
  64. package/dist/inventory/mutations/inventory-level.d.ts +1 -1
  65. package/dist/inventory/mutations/inventory-level.d.ts.map +1 -1
  66. package/dist/inventory/service-next.d.ts +31 -0
  67. package/dist/inventory/service-next.d.ts.map +1 -1
  68. package/dist/product/common.d.ts +26 -40
  69. package/dist/product/common.d.ts.map +1 -1
  70. package/dist/promotion/common/application-method.d.ts +0 -6
  71. package/dist/promotion/common/application-method.d.ts.map +1 -1
  72. package/dist/promotion/common/campaign-budget.d.ts +0 -2
  73. package/dist/promotion/common/campaign-budget.d.ts.map +1 -1
  74. package/dist/promotion/common/compute-actions.d.ts +0 -4
  75. package/dist/promotion/common/compute-actions.d.ts.map +1 -1
  76. package/dist/promotion/common/promotion-rule.d.ts +0 -2
  77. package/dist/promotion/common/promotion-rule.d.ts.map +1 -1
  78. package/dist/promotion/common/promotion.d.ts +0 -2
  79. package/dist/promotion/common/promotion.d.ts.map +1 -1
  80. package/dist/tax/provider.d.ts +2 -0
  81. package/dist/tax/provider.d.ts.map +1 -1
  82. package/dist/workflow/fulfillment/delete-shipping-options.d.ts +4 -0
  83. package/dist/workflow/fulfillment/delete-shipping-options.d.ts.map +1 -0
  84. package/dist/workflow/fulfillment/delete-shipping-options.js +3 -0
  85. package/dist/workflow/fulfillment/delete-shipping-options.js.map +1 -0
  86. package/dist/workflow/fulfillment/index.d.ts +3 -1
  87. package/dist/workflow/fulfillment/index.d.ts.map +1 -1
  88. package/dist/workflow/fulfillment/index.js +3 -1
  89. package/dist/workflow/fulfillment/index.js.map +1 -1
  90. package/dist/workflow/fulfillment/shipping-profiles.d.ts +18 -0
  91. package/dist/workflow/fulfillment/shipping-profiles.d.ts.map +1 -0
  92. package/dist/workflow/fulfillment/shipping-profiles.js +3 -0
  93. package/dist/workflow/fulfillment/shipping-profiles.js.map +1 -0
  94. package/dist/workflow/fulfillment/update-shipping-options.d.ts +6 -4
  95. package/dist/workflow/fulfillment/update-shipping-options.d.ts.map +1 -1
  96. package/dist/workflow/index.d.ts +1 -0
  97. package/dist/workflow/index.d.ts.map +1 -1
  98. package/dist/workflow/index.js +2 -1
  99. package/dist/workflow/index.js.map +1 -1
  100. package/dist/workflow/reservation/create-reservations.d.ts +6 -0
  101. package/dist/workflow/reservation/create-reservations.d.ts.map +1 -0
  102. package/dist/workflow/reservation/create-reservations.js +3 -0
  103. package/dist/workflow/reservation/create-reservations.js.map +1 -0
  104. package/dist/workflow/reservation/index.d.ts +3 -0
  105. package/dist/workflow/reservation/index.d.ts.map +1 -0
  106. package/dist/workflow/reservation/index.js +19 -0
  107. package/dist/workflow/reservation/index.js.map +1 -0
  108. package/dist/workflow/reservation/update-reservations.d.ts +6 -0
  109. package/dist/workflow/reservation/update-reservations.d.ts.map +1 -0
  110. package/dist/workflow/reservation/update-reservations.js +3 -0
  111. package/dist/workflow/reservation/update-reservations.js.map +1 -0
  112. package/package.json +1 -1
@@ -1,7 +1,5 @@
1
1
  import { BaseFilterable } from "../../dal";
2
2
  /**
3
- * @interface
4
- *
5
3
  * An API key's type.
6
4
  */
7
5
  export type ApiKeyType = "secret" | "publishable";
@@ -1 +1 @@
1
- {"version":3,"file":"api-key.d.ts","sourceRoot":"","sources":["../../../src/api-key/common/api-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,aAAa,CAAA;AAEjD;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,IAAI,EAAE,UAAU,CAAA;IAEhB;;OAEG;IACH,YAAY,EAAE,IAAI,GAAG,IAAI,CAAA;IAEzB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAEhB;;;OAGG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IAEzB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,qBACf,SAAQ,cAAc,CAAC,qBAAqB,CAAC;IAC7C;;OAEG;IACH,EAAE,CAAC,EAAE,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AAE,UAAU,CAAA;CAClB"}
@@ -231,23 +231,6 @@ export interface CustomerUpdatableFields {
231
231
  */
232
232
  metadata?: Record<string, unknown> | null;
233
233
  }
234
- /**
235
- * The customer group to be created.
236
- */
237
- export interface CreateCustomerGroupDTO {
238
- /**
239
- * The name of the customer group.
240
- */
241
- name: string;
242
- /**
243
- * Holds custom data in key-value pairs.
244
- */
245
- metadata?: Record<string, unknown> | null;
246
- /**
247
- * Who the customer group.
248
- */
249
- created_by?: string;
250
- }
251
234
  /**
252
235
  * The updatable fields of a customer group.
253
236
  */
@@ -295,7 +278,8 @@ export interface CreateCustomerGroupDTO {
295
278
  */
296
279
  metadata?: Record<string, unknown> | null;
297
280
  /**
298
- * Who created the customer group.
281
+ * Who created the customer group. For example,
282
+ * the ID of the user that created the customer group.
299
283
  */
300
284
  created_by?: string;
301
285
  }
@@ -1 +1 @@
1
- {"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/customer/mutations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAE7B;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAE5B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,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CAAA;IAEX;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IAEvB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IAEzC;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C"}
@@ -1,6 +1,6 @@
1
1
  import { RepositoryTransformOptions } from "../common";
2
2
  import { Context } from "../shared-context";
3
- import { BaseFilterable, FilterQuery as InternalFilterQuery, FilterQuery, FindOptions, UpsertWithReplaceConfig } from "./index";
3
+ import { BaseFilterable, FilterQuery, FindOptions, FilterQuery as InternalFilterQuery, UpsertWithReplaceConfig } from "./index";
4
4
  /**
5
5
  * Data access layer (DAL) interface to implements for any repository service.
6
6
  * This layer helps to separate the business logic (service layer) from accessing the
@@ -1 +1 @@
1
- {"version":3,"file":"repository-service.d.ts","sourceRoot":"","sources":["../../src/dal/repository-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAA;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EACL,cAAc,EACd,WAAW,IAAI,mBAAmB,EAClC,WAAW,EACX,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,IAAI,CAAC,CAAA;CACrD;AAED;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,CAAC,uBAAuB,GAAG,MAAM,IAAI;IAC/D;;OAEG;IACH,kBAAkB,CAAC,EAAE,uBAAuB,EAAE,CAAA;CAC/C,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,aAAa,CAAC,uBAAuB,GAAG,MAAM,IAAI;IAC5D;;OAEG;IACH,kBAAkB,CAAC,EAAE,uBAAuB,EAAE,CAAA;CAC/C,CAAA"}
@@ -1,4 +1,5 @@
1
1
  export * from "./common";
2
2
  export * from "./mutations";
3
3
  export * from "./service";
4
+ export * from "./provider";
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/file/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/file/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA"}
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./common"), exports);
18
18
  __exportStar(require("./mutations"), exports);
19
19
  __exportStar(require("./service"), exports);
20
+ __exportStar(require("./provider"), exports);
20
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/file/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,8CAA2B;AAC3B,4CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/file/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,8CAA2B;AAC3B,4CAAyB;AACzB,6CAA0B"}
@@ -0,0 +1,100 @@
1
+ /**
2
+ * @interface
3
+ *
4
+ * Details of a file upload's result.
5
+ */
6
+ export type ProviderFileResultDTO = {
7
+ /**
8
+ * The file's URL.
9
+ */
10
+ url: string;
11
+ /**
12
+ * The file's key. This key is used in other operations,
13
+ * such as deleting a file.
14
+ */
15
+ key: string;
16
+ };
17
+ /**
18
+ * @interface
19
+ *
20
+ * The details of a file to retrieve.
21
+ */
22
+ export type ProviderGetFileDTO = {
23
+ /**
24
+ * The file's key.
25
+ */
26
+ fileKey: string;
27
+ /**
28
+ * Whether the file is private.
29
+ */
30
+ isPrivate?: boolean;
31
+ [x: string]: unknown;
32
+ };
33
+ /**
34
+ * @interface
35
+ *
36
+ * The details of the file to remove.
37
+ */
38
+ export type ProviderDeleteFileDTO = {
39
+ /**
40
+ * The file's key. When uploading a file, the
41
+ * returned key is used here.
42
+ */
43
+ fileKey: string;
44
+ [x: string]: unknown;
45
+ };
46
+ /**
47
+ * @interface
48
+ *
49
+ * The details of the file to create.
50
+ */
51
+ export type ProviderUploadFileDTO = {
52
+ /**
53
+ * The filename of the uploaded file
54
+ */
55
+ filename: string;
56
+ /**
57
+ * The mimetype of the uploaded file
58
+ */
59
+ mimeType: string;
60
+ /**
61
+ * The file content
62
+ */
63
+ content: Blob;
64
+ };
65
+ /**
66
+ * ## Overview
67
+ *
68
+ * File provider interface for the file module.
69
+ *
70
+ */
71
+ export interface IFileProvider {
72
+ /**
73
+ * This method is used to upload a file
74
+ *
75
+ * @param {ProviderUploadFileDTO} file - The contents and metadata of the file.
76
+ * Among the file’s details, you can access the file’s path in the `path` property of the file object.
77
+ * @returns {Promise<ProviderFileResultDTO>} The details of the upload's result.
78
+ *
79
+ */
80
+ upload(file: ProviderUploadFileDTO): Promise<ProviderFileResultDTO>;
81
+ /**
82
+ * This method is used to delete a file from storage.
83
+ *
84
+ * @param {ProviderDeleteFileDTO} fileData - The details of the file to remove.
85
+ * @returns {Promise<void>} Resolves when the file is deleted successfully.
86
+ *
87
+ */
88
+ delete(fileData: ProviderDeleteFileDTO): Promise<void>;
89
+ /**
90
+ * This method is used to retrieve a download URL of the file. For some file services, such as S3, a presigned URL indicates a temporary URL to get access to a file.
91
+ *
92
+ * If your file service doesn’t perform or offer a similar functionality, you can just return the URL to download the file.
93
+ *
94
+ * @param {ProviderGetFileDTO} fileData - The details of the file.
95
+ * @returns {Promise<string>} The presigned URL to download the file
96
+ *
97
+ */
98
+ getPresignedDownloadUrl(fileData: ProviderGetFileDTO): Promise<string>;
99
+ }
100
+ //# sourceMappingURL=provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/file/provider.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;;OAGG;IACH,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAA;IACf,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,OAAO,EAAE,IAAI,CAAA;CACd,CAAA;AAED;;;;;GAKG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;;;;OAOG;IACH,MAAM,CAAC,IAAI,EAAE,qBAAqB,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAA;IACnE;;;;;;OAMG;IACH,MAAM,CAAC,QAAQ,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IACtD;;;;;;;;OAQG;IACH,uBAAuB,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;CACvE"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.js","sourceRoot":"","sources":["../../src/file/provider.ts"],"names":[],"mappings":""}
@@ -85,8 +85,6 @@ export interface CreateZipGeoZoneDTO extends CreateGeoZoneBaseDTO {
85
85
  postal_expression: Record<string, any>;
86
86
  }
87
87
  /**
88
- * @interface
89
- *
90
88
  * The geo zone to be created. The value of the `type` attributes allows for passing more attributes.
91
89
  */
92
90
  export type CreateGeoZoneDTO = CreateCountryGeoZoneDTO | CreateProvinceGeoZoneDTO | CreateCityGeoZoneDTO | CreateZipGeoZoneDTO;
@@ -164,8 +162,6 @@ export interface UpdateZipGeoZoneDTO extends UpdateGeoZoneBaseDTO {
164
162
  postal_expression?: Record<string, any>;
165
163
  }
166
164
  /**
167
- * @interface
168
- *
169
165
  * The attributes to update in the geo zone. The value of the `type` attributes allows for passing more attributes.
170
166
  */
171
167
  export type UpdateGeoZoneDTO = UpdateCountryGeoZoneDTO | UpdateProvinceGeoZoneDTO | UpdateCityGeoZoneDTO | UpdateZipGeoZoneDTO;
@@ -1 +1 @@
1
- {"version":3,"file":"geo-zone.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/mutations/geo-zone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC;;GAEG;AACH,UAAU,oBAAoB;IAC5B;;OAEG;IACH,IAAI,EAAE,WAAW,CAAA;IAEjB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAA;IAEvB;;OAEG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oBAAoB;IAC/D;;;OAGG;IACH,IAAI,EAAE,KAAK,CAAA;IAEX;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CACxC;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACxB,uBAAuB,GACvB,wBAAwB,GACxB,oBAAoB,GACpB,mBAAmB,CAAA"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * The fields returned in the response of a DELETE request.
3
+ */
4
+ export type DeleteResponse = {
5
+ /**
6
+ * The ID of the item that was deleted.
7
+ */
8
+ id: string;
9
+ /**
10
+ * The type of the item that was deleted.
11
+ */
12
+ object: string;
13
+ /**
14
+ * Whether the item was deleted successfully.
15
+ */
16
+ deleted: boolean;
17
+ };
18
+ //# sourceMappingURL=deleted-response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleted-response.d.ts","sourceRoot":"","sources":["../../../src/http/common/deleted-response.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=deleted-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleted-response.js","sourceRoot":"","sources":["../../../src/http/common/deleted-response.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  export * from "./paginated-response";
2
+ export * from "./deleted-response";
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA"}
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./paginated-response"), exports);
18
+ __exportStar(require("./deleted-response"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,qDAAkC"}
@@ -5,6 +5,10 @@ import { PaginatedResponse } from "../../../common";
5
5
  export interface CustomerGroupResponse {
6
6
  id: string;
7
7
  name: string | null;
8
+ customers: CustomerResponse[];
9
+ metadata: Record<string, unknown> | null;
10
+ created_at: string;
11
+ updated_at: string;
8
12
  }
9
13
  /**
10
14
  * @experimental
@@ -1 +1 @@
1
- {"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/admin/customer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAEnD;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,mBAAmB,EAAE,OAAO,CAAA;IAC5B,kBAAkB,EAAE,OAAO,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,EAAE,gBAAgB,CAAA;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,iBAAiB;IAClE,SAAS,EAAE,gBAAgB,EAAE,CAAA;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,qBAAqB,CAAA;CACtC;AAED;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,iBAAiB;IACvE,eAAe,EAAE,qBAAqB,EAAE,CAAA;CACzC"}
@@ -1,4 +1,4 @@
1
- import { AdminServiceZoneResponse } from "./service-zone";
1
+ import { ServiceZoneResponse } from "./service-zone";
2
2
  /**
3
3
  * @experimental
4
4
  */
@@ -7,7 +7,7 @@ export interface FulfillmentSetResponse {
7
7
  name: string;
8
8
  type: string;
9
9
  metadata: Record<string, unknown> | null;
10
- service_zones: AdminServiceZoneResponse[];
10
+ service_zones: ServiceZoneResponse[];
11
11
  created_at: Date;
12
12
  updated_at: Date;
13
13
  deleted_at: Date | null;
@@ -1 +1 @@
1
- {"version":3,"file":"fulfillment-set.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AAEzD;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,aAAa,EAAE,wBAAwB,EAAE,CAAA;IACzC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,eAAe,EAAE,sBAAsB,CAAA;CACxC"}
1
+ {"version":3,"file":"fulfillment-set.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,aAAa,EAAE,mBAAmB,EAAE,CAAA;IACpC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,eAAe,EAAE,sBAAsB,CAAA;CACxC"}
@@ -4,13 +4,7 @@ import { AdminGeoZoneResponse } from "./geo-zone";
4
4
  * @experimental
5
5
  */
6
6
  export interface AdminServiceZoneResponse {
7
- id: string;
8
- name: string;
9
- metadata: Record<string, unknown> | null;
10
- geo_zones: AdminGeoZoneResponse[];
11
- created_at: Date;
12
- updated_at: Date;
13
- deleted_at: Date | null;
7
+ service_zone: ServiceZoneResponse;
14
8
  }
15
9
  /**
16
10
  * @experimental
@@ -21,4 +15,16 @@ export interface AdminServiceZoneDeleteResponse {
21
15
  deleted: boolean;
22
16
  parent: FulfillmentSetResponse;
23
17
  }
18
+ /**
19
+ * @experimental
20
+ */
21
+ export interface ServiceZoneResponse {
22
+ id: string;
23
+ name: string;
24
+ metadata: Record<string, unknown> | null;
25
+ geo_zones: AdminGeoZoneResponse[];
26
+ created_at: Date;
27
+ updated_at: Date;
28
+ deleted_at: Date | null;
29
+ }
24
30
  //# sourceMappingURL=service-zone.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"service-zone.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/service-zone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEjD;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,SAAS,EAAE,oBAAoB,EAAE,CAAA;IACjC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,cAAc,CAAA;IACtB,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,EAAE,sBAAsB,CAAA;CAC/B"}
1
+ {"version":3,"file":"service-zone.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/service-zone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEjD;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,mBAAmB,CAAA;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,cAAc,CAAA;IACtB,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,EAAE,sBAAsB,CAAA;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,SAAS,EAAE,oBAAoB,EAAE,CAAA;IACjC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
@@ -5,6 +5,7 @@ import { AdminShippingOptionRuleResponse } from "./shipping-option-rule";
5
5
  import { AdminShippingProfileResponse } from "./shipping-profile";
6
6
  import { AdminFulfillmentProviderResponse } from "./fulfillment-provider";
7
7
  import { AdminPriceSetPriceResponse } from "../../pricing";
8
+ import { DeleteResponse, PaginatedResponse } from "../../common";
8
9
  /**
9
10
  * @experimental
10
11
  */
@@ -32,7 +33,18 @@ interface AdminShippingOptionResponse {
32
33
  * @experimental
33
34
  */
34
35
  export interface AdminShippingOptionRetrieveResponse {
35
- shipping_option: AdminShippingOptionResponse[];
36
+ shipping_option: AdminShippingOptionResponse;
37
+ }
38
+ /**
39
+ * @experimental
40
+ */
41
+ export interface AdminShippingOptionListResponse extends PaginatedResponse {
42
+ shipping_options: AdminShippingOptionResponse[];
43
+ }
44
+ /**
45
+ * @experimental
46
+ */
47
+ export interface AdminShippingOptionDeleteResponse extends DeleteResponse {
36
48
  }
37
49
  export {};
38
50
  //# sourceMappingURL=shipping-option.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shipping-option.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/shipping-option.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAA;AAE1D;;GAEG;AACH,UAAU,2BAA2B;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,uBAAuB,CAAA;IACnC,eAAe,EAAE,MAAM,CAAA;IACvB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAA;IACtC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACpC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,YAAY,EAAE,wBAAwB,CAAA;IACtC,gBAAgB,EAAE,4BAA4B,CAAA;IAC9C,QAAQ,EAAE,gCAAgC,CAAA;IAC1C,IAAI,EAAE,+BAA+B,CAAA;IACrC,KAAK,EAAE,+BAA+B,EAAE,CAAA;IACxC,MAAM,EAAE,0BAA0B,EAAE,CAAA;IACpC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAClD,eAAe,EAAE,2BAA2B,EAAE,CAAA;CAC/C"}
1
+ {"version":3,"file":"shipping-option.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/shipping-option.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE;;GAEG;AACH,UAAU,2BAA2B;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,uBAAuB,CAAA;IACnC,eAAe,EAAE,MAAM,CAAA;IACvB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAA;IACtC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACpC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,YAAY,EAAE,wBAAwB,CAAA;IACtC,gBAAgB,EAAE,4BAA4B,CAAA;IAC9C,QAAQ,EAAE,gCAAgC,CAAA;IAC1C,IAAI,EAAE,+BAA+B,CAAA;IACrC,KAAK,EAAE,+BAA+B,EAAE,CAAA;IACxC,MAAM,EAAE,0BAA0B,EAAE,CAAA;IACpC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAClD,eAAe,EAAE,2BAA2B,CAAA;CAC7C;AAED;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,iBAAiB;IACxE,gBAAgB,EAAE,2BAA2B,EAAE,CAAA;CAChD;AAED;;GAEG;AACH,MAAM,WAAW,iCAAkC,SAAQ,cAAc;CAAG"}
@@ -1,7 +1,8 @@
1
+ import { PaginatedResponse } from "../../../common";
1
2
  /**
2
3
  * @experimental
3
4
  */
4
- export interface AdminShippingProfileResponse {
5
+ export interface ShippingProfileResponse {
5
6
  id: string;
6
7
  name: string;
7
8
  type: string;
@@ -10,4 +11,10 @@ export interface AdminShippingProfileResponse {
10
11
  updated_at: Date;
11
12
  deleted_at: Date | null;
12
13
  }
14
+ export interface AdminShippingProfileResponse {
15
+ shipping_profile: ShippingProfileResponse;
16
+ }
17
+ export interface AdminShippingProfilesResponse extends PaginatedResponse {
18
+ shipping_profiles: ShippingProfileResponse[];
19
+ }
13
20
  //# sourceMappingURL=shipping-profile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shipping-profile.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/shipping-profile.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
1
+ {"version":3,"file":"shipping-profile.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/shipping-profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAEnD;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED,MAAM,WAAW,4BAA4B;IAC3C,gBAAgB,EAAE,uBAAuB,CAAA;CAC1C;AAED,MAAM,WAAW,6BAA8B,SAAQ,iBAAiB;IACtE,iBAAiB,EAAE,uBAAuB,EAAE,CAAA;CAC7C"}
@@ -1,8 +1,10 @@
1
1
  export * from "./api-key";
2
2
  export * from "./customer";
3
3
  export * from "./fulfillment";
4
+ export * from "./inventory";
4
5
  export * from "./pricing";
5
6
  export * from "./sales-channel";
6
7
  export * from "./stock-locations";
7
8
  export * from "./tax";
9
+ export * from "./product-category";
8
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,WAAW,CAAA;AACzB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,OAAO,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA;AACzB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,OAAO,CAAA;AACrB,cAAc,oBAAoB,CAAA"}
@@ -17,8 +17,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./api-key"), exports);
18
18
  __exportStar(require("./customer"), exports);
19
19
  __exportStar(require("./fulfillment"), exports);
20
+ __exportStar(require("./inventory"), exports);
20
21
  __exportStar(require("./pricing"), exports);
21
22
  __exportStar(require("./sales-channel"), exports);
22
23
  __exportStar(require("./stock-locations"), exports);
23
24
  __exportStar(require("./tax"), exports);
25
+ __exportStar(require("./product-category"), exports);
24
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,6CAA0B;AAC1B,gDAA6B;AAC7B,4CAAyB;AACzB,kDAA+B;AAC/B,oDAAiC;AACjC,wCAAqB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,6CAA0B;AAC1B,gDAA6B;AAC7B,8CAA2B;AAC3B,4CAAyB;AACzB,kDAA+B;AAC/B,oDAAiC;AACjC,wCAAqB;AACrB,qDAAkC"}
@@ -0,0 +1,3 @@
1
+ export * from "./inventory";
2
+ export * from "./inventory-level";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/inventory/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,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("./inventory"), exports);
18
+ __exportStar(require("./inventory-level"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/inventory/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,oDAAiC"}
@@ -0,0 +1,26 @@
1
+ import { AdminInventoryItemResponse } from "./inventory";
2
+ import { PaginatedResponse } from "../common";
3
+ interface InventoryLevelResponse {
4
+ id: string;
5
+ inventory_item_id: string;
6
+ location_id: string;
7
+ stocked_quantity: number;
8
+ reserved_quantity: number;
9
+ available_quantity: number;
10
+ incoming_quantity: number;
11
+ metadata?: Record<string, unknown> | null;
12
+ }
13
+ /**
14
+ * @experimental
15
+ */
16
+ export interface AdminInventoryLevelResponse {
17
+ inventory_item: AdminInventoryItemResponse;
18
+ }
19
+ /**
20
+ * @experimental
21
+ */
22
+ export interface AdminInventoryLevelListResponse extends PaginatedResponse {
23
+ inventory_levels: InventoryLevelResponse[];
24
+ }
25
+ export {};
26
+ //# sourceMappingURL=inventory-level.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inventory-level.d.ts","sourceRoot":"","sources":["../../../src/http/inventory/inventory-level.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAE7C,UAAU,sBAAsB;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,iBAAiB,EAAE,MAAM,CAAA;IACzB,WAAW,EAAE,MAAM,CAAA;IACnB,gBAAgB,EAAE,MAAM,CAAA;IACxB,iBAAiB,EAAE,MAAM,CAAA;IACzB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,iBAAiB,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AACD;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,cAAc,EAAE,0BAA0B,CAAA;CAC3C;AAED;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,iBAAiB;IACxE,gBAAgB,EAAE,sBAAsB,EAAE,CAAA;CAC3C"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=inventory-level.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inventory-level.js","sourceRoot":"","sources":["../../../src/http/inventory/inventory-level.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
1
+ import { PaginatedResponse } from "../common";
2
+ interface InventoryItemResponse {
3
+ id: string;
4
+ sku?: string | null;
5
+ origin_country?: string | null;
6
+ hs_code?: string | null;
7
+ requires_shipping: boolean;
8
+ mid_code?: string | null;
9
+ material?: string | null;
10
+ weight?: number | null;
11
+ length?: number | null;
12
+ height?: number | null;
13
+ width?: number | null;
14
+ title?: string | null;
15
+ description?: string | null;
16
+ thumbnail?: string | null;
17
+ metadata?: Record<string, unknown> | null;
18
+ }
19
+ /**
20
+ * @experimental
21
+ */
22
+ export interface AdminInventoryItemResponse {
23
+ inventory_item: InventoryItemResponse;
24
+ }
25
+ /**
26
+ * @experimental
27
+ */
28
+ export interface AdminInventoryItemListResponse extends PaginatedResponse {
29
+ inventory_items: InventoryItemResponse[];
30
+ }
31
+ export {};
32
+ //# sourceMappingURL=inventory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inventory.d.ts","sourceRoot":"","sources":["../../../src/http/inventory/inventory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAE7C,UAAU,qBAAqB;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,iBAAiB,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AACD;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,qBAAqB,CAAA;CACtC;AAED;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,iBAAiB;IACvE,eAAe,EAAE,qBAAqB,EAAE,CAAA;CACzC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=inventory.js.map