@medusajs/types 1.12.0-snapshot-20240405070935 → 1.12.0-snapshot-20240405154416

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. package/dist/auth/common/auth-user.d.ts +21 -16
  2. package/dist/auth/common/auth-user.d.ts.map +1 -1
  3. package/dist/auth/common/provider.d.ts +28 -15
  4. package/dist/auth/common/provider.d.ts.map +1 -1
  5. package/dist/auth/service.d.ts +137 -75
  6. package/dist/auth/service.d.ts.map +1 -1
  7. package/dist/bundles.d.ts +2 -0
  8. package/dist/bundles.d.ts.map +1 -1
  9. package/dist/bundles.js +3 -1
  10. package/dist/bundles.js.map +1 -1
  11. package/dist/cart/common.d.ts +443 -62
  12. package/dist/cart/common.d.ts.map +1 -1
  13. package/dist/cart/mutations.d.ts +483 -0
  14. package/dist/cart/mutations.d.ts.map +1 -1
  15. package/dist/cart/mutations.js.map +1 -1
  16. package/dist/cart/service.d.ts +1607 -0
  17. package/dist/cart/service.d.ts.map +1 -1
  18. package/dist/common/index.d.ts +1 -0
  19. package/dist/common/index.d.ts.map +1 -1
  20. package/dist/common/index.js +1 -0
  21. package/dist/common/index.js.map +1 -1
  22. package/dist/common/rule.d.ts +2 -0
  23. package/dist/common/rule.d.ts.map +1 -0
  24. package/dist/common/rule.js +3 -0
  25. package/dist/common/rule.js.map +1 -0
  26. package/dist/customer/service.d.ts +445 -197
  27. package/dist/customer/service.d.ts.map +1 -1
  28. package/dist/file/common.d.ts +14 -0
  29. package/dist/file/common.d.ts.map +1 -0
  30. package/dist/file/common.js +3 -0
  31. package/dist/file/common.js.map +1 -0
  32. package/dist/file/index.d.ts +4 -0
  33. package/dist/file/index.d.ts.map +1 -0
  34. package/dist/file/index.js +20 -0
  35. package/dist/file/index.js.map +1 -0
  36. package/dist/file/mutations.d.ts +18 -0
  37. package/dist/file/mutations.d.ts.map +1 -0
  38. package/dist/file/mutations.js +3 -0
  39. package/dist/file/mutations.js.map +1 -0
  40. package/dist/file/service.d.ts +76 -0
  41. package/dist/file/service.d.ts.map +1 -0
  42. package/dist/file/service.js +3 -0
  43. package/dist/file/service.js.map +1 -0
  44. package/dist/fulfillment/mutations/shipping-option-rule.d.ts +2 -2
  45. package/dist/fulfillment/mutations/shipping-option-rule.d.ts.map +1 -1
  46. package/dist/http/fulfillment/admin/fulfillment-address.d.ts +22 -0
  47. package/dist/http/fulfillment/admin/fulfillment-address.d.ts.map +1 -0
  48. package/dist/http/fulfillment/admin/fulfillment-address.js +3 -0
  49. package/dist/http/fulfillment/admin/fulfillment-address.js.map +1 -0
  50. package/dist/http/fulfillment/admin/fulfillment-item.d.ts +17 -0
  51. package/dist/http/fulfillment/admin/fulfillment-item.d.ts.map +1 -0
  52. package/dist/http/fulfillment/admin/fulfillment-item.js +3 -0
  53. package/dist/http/fulfillment/admin/fulfillment-item.js.map +1 -0
  54. package/dist/http/fulfillment/admin/fulfillment-label.d.ts +14 -0
  55. package/dist/http/fulfillment/admin/fulfillment-label.d.ts.map +1 -0
  56. package/dist/http/fulfillment/admin/fulfillment-label.js +3 -0
  57. package/dist/http/fulfillment/admin/fulfillment-label.js.map +1 -0
  58. package/dist/http/fulfillment/admin/fulfillment-provider.d.ts +12 -0
  59. package/dist/http/fulfillment/admin/fulfillment-provider.d.ts.map +1 -0
  60. package/dist/http/fulfillment/admin/fulfillment-provider.js +3 -0
  61. package/dist/http/fulfillment/admin/fulfillment-provider.js.map +1 -0
  62. package/dist/http/fulfillment/admin/fulfillment-set.d.ts +15 -0
  63. package/dist/http/fulfillment/admin/fulfillment-set.d.ts.map +1 -0
  64. package/dist/http/fulfillment/admin/fulfillment-set.js +3 -0
  65. package/dist/http/fulfillment/admin/fulfillment-set.js.map +1 -0
  66. package/dist/http/fulfillment/admin/fulfillment.d.ts +27 -0
  67. package/dist/http/fulfillment/admin/fulfillment.d.ts.map +1 -0
  68. package/dist/http/fulfillment/admin/fulfillment.js +3 -0
  69. package/dist/http/fulfillment/admin/fulfillment.js.map +1 -0
  70. package/dist/http/fulfillment/admin/geo-zone.d.ts +17 -0
  71. package/dist/http/fulfillment/admin/geo-zone.d.ts.map +1 -0
  72. package/dist/http/fulfillment/admin/geo-zone.js +3 -0
  73. package/dist/http/fulfillment/admin/geo-zone.js.map +1 -0
  74. package/dist/http/fulfillment/admin/index.d.ts +13 -0
  75. package/dist/http/fulfillment/admin/index.d.ts.map +1 -0
  76. package/dist/http/fulfillment/admin/index.js +29 -0
  77. package/dist/http/fulfillment/admin/index.js.map +1 -0
  78. package/dist/http/fulfillment/admin/service-zone.d.ts +14 -0
  79. package/dist/http/fulfillment/admin/service-zone.d.ts.map +1 -0
  80. package/dist/http/fulfillment/admin/service-zone.js +3 -0
  81. package/dist/http/fulfillment/admin/service-zone.js.map +1 -0
  82. package/dist/http/fulfillment/admin/shipping-option-rule.d.ts +16 -0
  83. package/dist/http/fulfillment/admin/shipping-option-rule.d.ts.map +1 -0
  84. package/dist/http/fulfillment/admin/shipping-option-rule.js +3 -0
  85. package/dist/http/fulfillment/admin/shipping-option-rule.js.map +1 -0
  86. package/dist/http/fulfillment/admin/shipping-option-type.d.ts +14 -0
  87. package/dist/http/fulfillment/admin/shipping-option-type.d.ts.map +1 -0
  88. package/dist/http/fulfillment/admin/shipping-option-type.js +3 -0
  89. package/dist/http/fulfillment/admin/shipping-option-type.js.map +1 -0
  90. package/dist/http/fulfillment/admin/shipping-option.d.ts +31 -0
  91. package/dist/http/fulfillment/admin/shipping-option.d.ts.map +1 -0
  92. package/dist/http/fulfillment/admin/shipping-option.js +3 -0
  93. package/dist/http/fulfillment/admin/shipping-option.js.map +1 -0
  94. package/dist/http/fulfillment/admin/shipping-profile.d.ts +13 -0
  95. package/dist/http/fulfillment/admin/shipping-profile.d.ts.map +1 -0
  96. package/dist/http/fulfillment/admin/shipping-profile.js +3 -0
  97. package/dist/http/fulfillment/admin/shipping-profile.js.map +1 -0
  98. package/dist/http/fulfillment/index.d.ts +2 -0
  99. package/dist/http/fulfillment/index.d.ts.map +1 -0
  100. package/dist/http/fulfillment/index.js +18 -0
  101. package/dist/http/fulfillment/index.js.map +1 -0
  102. package/dist/http/index.d.ts +2 -0
  103. package/dist/http/index.d.ts.map +1 -0
  104. package/dist/http/index.js +18 -0
  105. package/dist/http/index.js.map +1 -0
  106. package/dist/index.d.ts +2 -0
  107. package/dist/index.d.ts.map +1 -1
  108. package/dist/index.js +2 -0
  109. package/dist/index.js.map +1 -1
  110. package/dist/inventory/common/inventory-item.d.ts +55 -64
  111. package/dist/inventory/common/inventory-item.d.ts.map +1 -1
  112. package/dist/inventory/common/inventory-level.d.ts +37 -37
  113. package/dist/inventory/common/inventory-level.d.ts.map +1 -1
  114. package/dist/inventory/common/reservation-item.d.ts +34 -44
  115. package/dist/inventory/common/reservation-item.d.ts.map +1 -1
  116. package/dist/inventory/service-next.d.ts +596 -534
  117. package/dist/inventory/service-next.d.ts.map +1 -1
  118. package/dist/payment/common.d.ts +174 -53
  119. package/dist/payment/common.d.ts.map +1 -1
  120. package/dist/payment/common.js +3 -3
  121. package/dist/payment/common.js.map +1 -1
  122. package/dist/payment/mutations.d.ts +58 -17
  123. package/dist/payment/mutations.d.ts.map +1 -1
  124. package/dist/payment/provider.d.ts +128 -43
  125. package/dist/payment/provider.d.ts.map +1 -1
  126. package/dist/payment/provider.js.map +1 -1
  127. package/dist/payment/service.d.ts +460 -39
  128. package/dist/payment/service.d.ts.map +1 -1
  129. package/dist/pricing/common/price-list.d.ts +2 -2
  130. package/dist/pricing/common/price-set.d.ts +6 -4
  131. package/dist/pricing/common/price-set.d.ts.map +1 -1
  132. package/dist/pricing/service.d.ts +731 -1695
  133. package/dist/pricing/service.d.ts.map +1 -1
  134. package/dist/promotion/common/application-method.d.ts +153 -0
  135. package/dist/promotion/common/application-method.d.ts.map +1 -1
  136. package/dist/promotion/common/campaign-budget.d.ts +37 -0
  137. package/dist/promotion/common/campaign-budget.d.ts.map +1 -1
  138. package/dist/promotion/common/campaign.d.ts +36 -0
  139. package/dist/promotion/common/campaign.d.ts.map +1 -1
  140. package/dist/promotion/common/compute-actions.d.ts +135 -0
  141. package/dist/promotion/common/compute-actions.d.ts.map +1 -1
  142. package/dist/promotion/common/promotion-rule-value.d.ts +30 -0
  143. package/dist/promotion/common/promotion-rule-value.d.ts.map +1 -1
  144. package/dist/promotion/common/promotion-rule.d.ts +77 -0
  145. package/dist/promotion/common/promotion-rule.d.ts.map +1 -1
  146. package/dist/promotion/common/promotion.d.ts +100 -0
  147. package/dist/promotion/common/promotion.d.ts.map +1 -1
  148. package/dist/promotion/mutations.d.ts +84 -0
  149. package/dist/promotion/mutations.d.ts.map +1 -1
  150. package/dist/promotion/service.d.ts +786 -0
  151. package/dist/promotion/service.d.ts.map +1 -1
  152. package/dist/stock-location/common.d.ts +14 -0
  153. package/dist/stock-location/common.d.ts.map +1 -1
  154. package/dist/stock-location/service-next.d.ts +178 -186
  155. package/dist/stock-location/service-next.d.ts.map +1 -1
  156. package/dist/store/common/store.d.ts +42 -0
  157. package/dist/store/common/store.d.ts.map +1 -1
  158. package/dist/store/mutations/store.d.ts +75 -0
  159. package/dist/store/mutations/store.d.ts.map +1 -1
  160. package/dist/store/service.d.ts +113 -75
  161. package/dist/store/service.d.ts.map +1 -1
  162. package/dist/tax/common.d.ts +298 -10
  163. package/dist/tax/common.d.ts.map +1 -1
  164. package/dist/tax/mutations.d.ts +157 -0
  165. package/dist/tax/mutations.d.ts.map +1 -1
  166. package/dist/tax/provider.d.ts +126 -0
  167. package/dist/tax/provider.d.ts.map +1 -1
  168. package/dist/tax/service.d.ts +600 -0
  169. package/dist/tax/service.d.ts.map +1 -1
  170. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/customer/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C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E,MAAM,EAAE,EACrB,MAAM,CAAC,EAAE,aAAa,CAAC,uBAAuB,CAAC,EAC/C,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,MAAM,CAAC,uBAAuB,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;IAE5D;;;;;;;;;;;;;OAaG;IACH,wBAAwB,CAAC,uBAAuB,SAAS,MAAM,GAAG,MAAM,EACtE,QAAQ,EAAE,MAAM,EAAE,EAClB,MAAM,CAAC,EAAE,gBAAgB,CAAC,uBAAuB,CAAC,EAClD,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,MAAM,CAAC,uBAAuB,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;IAE5D;;;;;;;;;;;;;;OAcG;IACH,qBAAqB,CAAC,uBAAuB,SAAS,MAAM,GAAG,MAAM,EACnE,QAAQ,EAAE,MAAM,EAAE,EAClB,MAAM,CAAC,EAAE,aAAa,CAAC,uBAAuB,CAAC,EAC/C,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,MAAM,CAAC,uBAAuB,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;CAC7D"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * The File details.
3
+ */
4
+ export interface FileDTO {
5
+ /**
6
+ * The ID of the File.
7
+ */
8
+ id: string;
9
+ /**
10
+ * The URL of the File.
11
+ */
12
+ url: string;
13
+ }
14
+ //# sourceMappingURL=common.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/file/common.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;CACZ"}
@@ -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/file/common.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export * from "./common";
2
+ export * from "./mutations";
3
+ export * from "./service";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,20 @@
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("./common"), exports);
18
+ __exportStar(require("./mutations"), exports);
19
+ __exportStar(require("./service"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/file/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,8CAA2B;AAC3B,4CAAyB"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * The File to be created.
3
+ */
4
+ export interface CreateFileDTO {
5
+ /**
6
+ * The filename of the uploaded file
7
+ */
8
+ filename: string;
9
+ /**
10
+ * The mimetype of the uploaded file
11
+ */
12
+ mimeType: string;
13
+ /**
14
+ * The file content
15
+ */
16
+ content: Blob;
17
+ }
18
+ //# sourceMappingURL=mutations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/file/mutations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,OAAO,EAAE,IAAI,CAAA;CACd"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=mutations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mutations.js","sourceRoot":"","sources":["../../src/file/mutations.ts"],"names":[],"mappings":""}
@@ -0,0 +1,76 @@
1
+ import { IModuleService } from "../modules-sdk";
2
+ import { FileDTO } from "./common";
3
+ import { FindConfig } from "../common";
4
+ import { Context } from "../shared-context";
5
+ import { CreateFileDTO } from "./mutations";
6
+ /**
7
+ * The main service interface for the File Module.
8
+ */
9
+ export interface IFileModuleService extends IModuleService {
10
+ /**
11
+ * This method uploads files to the designated file storage system.
12
+ *
13
+ * @param {CreateFileDTO[]} data - The files to be created.
14
+ * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
15
+ * @returns {Promise<FileDTO[]>} The created files.
16
+ *
17
+ * @example
18
+ * const [file] = await fileModuleService.create([{
19
+ * filename: "product.png",
20
+ * mimeType: "image/png",
21
+ * content: "somecontent"
22
+ * }])
23
+ */
24
+ create(data: CreateFileDTO[], sharedContext?: Context): Promise<FileDTO[]>;
25
+ /**
26
+ * This method uploads a file to the designated file storage system.
27
+ *
28
+ * @param {CreateFileDTO} data - The file to be created.
29
+ * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
30
+ * @returns {Promise<FileDTO>} The created file.
31
+ *
32
+ * @example
33
+ * const file = await fileModuleService.create({
34
+ * filename: "product.png",
35
+ * mimeType: "image/png",
36
+ * content: "somecontent"
37
+ * })
38
+ */
39
+ create(data: CreateFileDTO, sharedContext?: Context): Promise<FileDTO>;
40
+ /**
41
+ * This method deletes files by their IDs.
42
+ *
43
+ * @param {string[]} ids - The IDs of the files.
44
+ * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
45
+ * @returns {Promise<void>} Resolves when the files are deleted successfully.
46
+ *
47
+ * @example
48
+ * await fileModuleService.delete(["file_123"])
49
+ */
50
+ delete(ids: string[], sharedContext?: Context): Promise<void>;
51
+ /**
52
+ * This method deletes a file by its ID.
53
+ *
54
+ * @param {string} id - The ID of the file.
55
+ * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
56
+ * @returns {Promise<void>} Resolves when the file is deleted successfully.
57
+ *
58
+ * @example
59
+ * await fileModuleService.delete("file_123")
60
+ */
61
+ delete(id: string, sharedContext?: Context): Promise<void>;
62
+ /**
63
+ * This method retrieves a file with a downloadable URL by its ID.
64
+ *
65
+ * @param {string} id - The ID of the file.
66
+ * @param {FindConfig<FileDTO>} config - The configurations determining how the file is retrieved. Its properties, such as `select` or `relations`, accept the
67
+ * attributes or relations associated with a file.
68
+ * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
69
+ * @returns {Promise<FileDTO>} The retrieved file.
70
+ *
71
+ * @example
72
+ * const file = await fileModuleService.retrieve("file_123")
73
+ */
74
+ retrieve(id: string, config?: FindConfig<FileDTO>, sharedContext?: Context): Promise<FileDTO>;
75
+ }
76
+ //# sourceMappingURL=service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/file/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE3C;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,cAAc;IACxD;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAI,EAAE,aAAa,EAAE,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC,CAAA;IAE1E;;;;;;;;;;;;;OAaG;IAEH,MAAM,CAAC,IAAI,EAAE,aAAa,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IAEtE;;;;;;;;;OASG;IACH,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAE7D;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAE1D;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,EAC5B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,OAAO,CAAC,CAAA;CACpB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.js","sourceRoot":"","sources":["../../src/file/service.ts"],"names":[],"mappings":""}
@@ -1,7 +1,7 @@
1
- export type ShippingOptionRuleOperatorType = "in" | "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | "nin";
1
+ import { RuleOperatorType } from "../../common";
2
2
  export interface CreateShippingOptionRuleDTO {
3
3
  attribute: string;
4
- operator: ShippingOptionRuleOperatorType;
4
+ operator: RuleOperatorType;
5
5
  value: string | string[];
6
6
  shipping_option_id: string;
7
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"shipping-option-rule.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/mutations/shipping-option-rule.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,8BAA8B,GACtC,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,KAAK,GACL,IAAI,GACJ,KAAK,GACL,KAAK,CAAA;AAET,MAAM,WAAW,2BAA2B;IAC1C,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,8BAA8B,CAAA;IACxC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACxB,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED,MAAM,WAAW,2BACf,SAAQ,OAAO,CAAC,2BAA2B,CAAC;IAC5C,EAAE,EAAE,MAAM,CAAA;CACX"}
1
+ {"version":3,"file":"shipping-option-rule.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/mutations/shipping-option-rule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAE/C,MAAM,WAAW,2BAA2B;IAC1C,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,gBAAgB,CAAA;IAC1B,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACxB,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED,MAAM,WAAW,2BACf,SAAQ,OAAO,CAAC,2BAA2B,CAAC;IAC5C,EAAE,EAAE,MAAM,CAAA;CACX"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @experimental
3
+ */
4
+ export interface AdminFulfillmentAddressResponse {
5
+ id: string;
6
+ fulfillment_id: string | null;
7
+ company: string | null;
8
+ first_name: string | null;
9
+ last_name: string | null;
10
+ address_1: string | null;
11
+ address_2: string | null;
12
+ city: string | null;
13
+ country_code: string | null;
14
+ province: string | null;
15
+ postal_code: string | null;
16
+ phone: string | null;
17
+ metadata: Record<string, unknown> | null;
18
+ created_at: Date;
19
+ updated_at: Date;
20
+ deleted_at: Date | null;
21
+ }
22
+ //# sourceMappingURL=fulfillment-address.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fulfillment-address.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment-address.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,EAAE,EAAE,MAAM,CAAA;IACV,cAAc,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,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"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=fulfillment-address.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fulfillment-address.js","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment-address.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @experimental
3
+ */
4
+ export interface AdminFulfillmentItemResponse {
5
+ id: string;
6
+ title: string;
7
+ quantity: number;
8
+ sku: string;
9
+ barcode: string;
10
+ line_item_id: string | null;
11
+ inventory_item_id: string | null;
12
+ fulfillment_id: string;
13
+ created_at: Date;
14
+ updated_at: Date;
15
+ deleted_at: Date | null;
16
+ }
17
+ //# sourceMappingURL=fulfillment-item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fulfillment-item.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment-item.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=fulfillment-item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fulfillment-item.js","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment-item.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @experimental
3
+ */
4
+ export interface AdminFulfillmentLabelResponse {
5
+ id: string;
6
+ tracking_number: string;
7
+ tracking_url: string;
8
+ label_url: string;
9
+ fulfillment_id: string;
10
+ created_at: Date;
11
+ updated_at: Date;
12
+ deleted_at: Date | null;
13
+ }
14
+ //# sourceMappingURL=fulfillment-label.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fulfillment-label.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment-label.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,MAAM,CAAA;IACV,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;IACjB,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=fulfillment-label.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fulfillment-label.js","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment-label.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @experimental
3
+ */
4
+ export interface AdminFulfillmentProviderResponse {
5
+ id: string;
6
+ name: string;
7
+ metadata: Record<string, unknown> | null;
8
+ created_at: Date;
9
+ updated_at: Date;
10
+ deleted_at: Date | null;
11
+ }
12
+ //# sourceMappingURL=fulfillment-provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fulfillment-provider.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment-provider.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C,EAAE,EAAE,MAAM,CAAA;IACV,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"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=fulfillment-provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fulfillment-provider.js","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment-provider.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ import { AdminServiceZoneResponse } from "./service-zone";
2
+ /**
3
+ * @experimental
4
+ */
5
+ export interface AdminFulfillmentSetResponse {
6
+ id: string;
7
+ name: string;
8
+ type: string;
9
+ metadata: Record<string, unknown> | null;
10
+ service_zones: AdminServiceZoneResponse[];
11
+ created_at: Date;
12
+ updated_at: Date;
13
+ deleted_at: Date | null;
14
+ }
15
+ //# sourceMappingURL=fulfillment-set.d.ts.map
@@ -0,0 +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,2BAA2B;IAC1C,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"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=fulfillment-set.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fulfillment-set.js","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment-set.ts"],"names":[],"mappings":""}
@@ -0,0 +1,27 @@
1
+ import { AdminFulfillmentAddressResponse } from "./fulfillment-address";
2
+ import { AdminFulfillmentProviderResponse } from "./fulfillment-provider";
3
+ import { AdminFulfillmentItemResponse } from "./fulfillment-item";
4
+ import { AdminFulfillmentLabelResponse } from "./fulfillment-label";
5
+ /**
6
+ * @experimental
7
+ */
8
+ export interface AdminFulfillmentResponse {
9
+ id: string;
10
+ location_id: string;
11
+ packed_at: Date | null;
12
+ shipped_at: Date | null;
13
+ delivered_at: Date | null;
14
+ canceled_at: Date | null;
15
+ data: Record<string, unknown> | null;
16
+ provider_id: string;
17
+ shipping_option_id: string | null;
18
+ metadata: Record<string, unknown> | null;
19
+ provider: AdminFulfillmentProviderResponse;
20
+ delivery_address: AdminFulfillmentAddressResponse;
21
+ items: AdminFulfillmentItemResponse[];
22
+ labels: AdminFulfillmentLabelResponse[];
23
+ created_at: Date;
24
+ updated_at: Date;
25
+ deleted_at: Date | null;
26
+ }
27
+ //# sourceMappingURL=fulfillment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fulfillment.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,uBAAuB,CAAA;AACvE,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAA;AAEnE;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAA;IACtB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;IACvB,YAAY,EAAE,IAAI,GAAG,IAAI,CAAA;IACzB,WAAW,EAAE,IAAI,GAAG,IAAI,CAAA;IACxB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACpC,WAAW,EAAE,MAAM,CAAA;IACnB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,QAAQ,EAAE,gCAAgC,CAAA;IAC1C,gBAAgB,EAAE,+BAA+B,CAAA;IACjD,KAAK,EAAE,4BAA4B,EAAE,CAAA;IACrC,MAAM,EAAE,6BAA6B,EAAE,CAAA;IACvC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=fulfillment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fulfillment.js","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import { GeoZoneType } from "../../../fulfillment";
2
+ /**
3
+ * @experimental
4
+ */
5
+ export interface AdminGeoZoneResponse {
6
+ id: string;
7
+ type: GeoZoneType;
8
+ country_code: string;
9
+ province_code: string | null;
10
+ city: string | null;
11
+ postal_expression: Record<string, unknown> | null;
12
+ metadata: Record<string, unknown> | null;
13
+ created_at: Date;
14
+ updated_at: Date;
15
+ deleted_at: Date | null;
16
+ }
17
+ //# sourceMappingURL=geo-zone.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geo-zone.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/geo-zone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAElD;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,WAAW,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACjD,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"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=geo-zone.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geo-zone.js","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/geo-zone.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ export * from "./fulfillment";
2
+ export * from "./fulfillment-item";
3
+ export * from "./fulfillment-set";
4
+ export * from "./fulfillment-label";
5
+ export * from "./fulfillment-provider";
6
+ export * from "./fulfillment-address";
7
+ export * from "./geo-zone";
8
+ export * from "./service-zone";
9
+ export * from "./shipping-option";
10
+ export * from "./shipping-option-rule";
11
+ export * from "./shipping-option-type";
12
+ export * from "./shipping-profile";
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA"}
@@ -0,0 +1,29 @@
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("./fulfillment"), exports);
18
+ __exportStar(require("./fulfillment-item"), exports);
19
+ __exportStar(require("./fulfillment-set"), exports);
20
+ __exportStar(require("./fulfillment-label"), exports);
21
+ __exportStar(require("./fulfillment-provider"), exports);
22
+ __exportStar(require("./fulfillment-address"), exports);
23
+ __exportStar(require("./geo-zone"), exports);
24
+ __exportStar(require("./service-zone"), exports);
25
+ __exportStar(require("./shipping-option"), exports);
26
+ __exportStar(require("./shipping-option-rule"), exports);
27
+ __exportStar(require("./shipping-option-type"), exports);
28
+ __exportStar(require("./shipping-profile"), exports);
29
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA6B;AAC7B,qDAAkC;AAClC,oDAAiC;AACjC,sDAAmC;AACnC,yDAAsC;AACtC,wDAAqC;AACrC,6CAA0B;AAC1B,iDAA8B;AAC9B,oDAAiC;AACjC,yDAAsC;AACtC,yDAAsC;AACtC,qDAAkC"}
@@ -0,0 +1,14 @@
1
+ import { AdminGeoZoneResponse } from "./geo-zone";
2
+ /**
3
+ * @experimental
4
+ */
5
+ export interface AdminServiceZoneResponse {
6
+ id: string;
7
+ name: string;
8
+ metadata: Record<string, unknown> | null;
9
+ geo_zones: AdminGeoZoneResponse[];
10
+ created_at: Date;
11
+ updated_at: Date;
12
+ deleted_at: Date | null;
13
+ }
14
+ //# sourceMappingURL=service-zone.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service-zone.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/service-zone.ts"],"names":[],"mappings":"AAAA,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"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=service-zone.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service-zone.js","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/service-zone.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @experimental
3
+ */
4
+ export interface AdminShippingOptionRuleResponse {
5
+ id: string;
6
+ attribute: string;
7
+ operator: string;
8
+ value: {
9
+ value: string | string[];
10
+ } | null;
11
+ shipping_option_id: string;
12
+ created_at: Date;
13
+ updated_at: Date;
14
+ deleted_at: Date | null;
15
+ }
16
+ //# sourceMappingURL=shipping-option-rule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shipping-option-rule.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/shipping-option-rule.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;KAAE,GAAG,IAAI,CAAA;IAC1C,kBAAkB,EAAE,MAAM,CAAA;IAC1B,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=shipping-option-rule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shipping-option-rule.js","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/shipping-option-rule.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @experimental
3
+ */
4
+ export interface AdminShippingOptionTypeResponse {
5
+ id: string;
6
+ label: string;
7
+ description: string;
8
+ code: string;
9
+ shipping_option_id: string;
10
+ created_at: Date;
11
+ updated_at: Date;
12
+ deleted_at: Date | null;
13
+ }
14
+ //# sourceMappingURL=shipping-option-type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shipping-option-type.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/shipping-option-type.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,kBAAkB,EAAE,MAAM,CAAA;IAC1B,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=shipping-option-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shipping-option-type.js","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/shipping-option-type.ts"],"names":[],"mappings":""}