@medusajs/types 1.12.0-snapshot-20240704130951 → 1.12.0-snapshot-20240711051411

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/common/common.d.ts +1 -1
  2. package/dist/common/common.d.ts.map +1 -1
  3. package/dist/common/config-module.d.ts +0 -30
  4. package/dist/common/config-module.d.ts.map +1 -1
  5. package/dist/common/with-calculated.d.ts +1 -0
  6. package/dist/common/with-calculated.d.ts.map +1 -1
  7. package/dist/dal/entity.d.ts +2 -2
  8. package/dist/dal/entity.d.ts.map +1 -1
  9. package/dist/event-bus/common.d.ts +1 -2
  10. package/dist/event-bus/common.d.ts.map +1 -1
  11. package/dist/http/collection/admin/entities.d.ts +4 -0
  12. package/dist/http/collection/admin/entities.d.ts.map +1 -0
  13. package/dist/http/collection/admin/entities.js +3 -0
  14. package/dist/http/collection/admin/entities.js.map +1 -0
  15. package/dist/http/collection/admin/index.d.ts +5 -0
  16. package/dist/http/collection/admin/index.d.ts.map +1 -0
  17. package/dist/http/collection/admin/index.js +21 -0
  18. package/dist/http/collection/admin/index.js.map +1 -0
  19. package/dist/http/collection/admin/payloads.d.ts +15 -0
  20. package/dist/http/collection/admin/payloads.d.ts.map +1 -0
  21. package/dist/http/collection/admin/payloads.js +3 -0
  22. package/dist/http/collection/admin/payloads.js.map +1 -0
  23. package/dist/http/collection/admin/queries.d.ts +8 -0
  24. package/dist/http/collection/admin/queries.d.ts.map +1 -0
  25. package/dist/http/collection/admin/queries.js +3 -0
  26. package/dist/http/collection/admin/queries.js.map +1 -0
  27. package/dist/http/collection/admin/responses.d.ts +12 -0
  28. package/dist/http/collection/admin/responses.d.ts.map +1 -0
  29. package/dist/http/collection/admin/responses.js +3 -0
  30. package/dist/http/collection/admin/responses.js.map +1 -0
  31. package/dist/http/collection/common.d.ts +11 -9
  32. package/dist/http/collection/common.d.ts.map +1 -1
  33. package/dist/http/collection/store.d.ts +2 -2
  34. package/dist/http/collection/store.d.ts.map +1 -1
  35. package/dist/http/index.d.ts +1 -0
  36. package/dist/http/index.d.ts.map +1 -1
  37. package/dist/http/index.js +1 -0
  38. package/dist/http/index.js.map +1 -1
  39. package/dist/http/order/admin.d.ts +13 -0
  40. package/dist/http/order/admin.d.ts.map +1 -1
  41. package/dist/http/pricing/admin/entities.d.ts +9 -0
  42. package/dist/http/pricing/admin/entities.d.ts.map +1 -1
  43. package/dist/http/pricing/admin/index.d.ts +3 -0
  44. package/dist/http/pricing/admin/index.d.ts.map +1 -1
  45. package/dist/http/pricing/admin/index.js +3 -0
  46. package/dist/http/pricing/admin/index.js.map +1 -1
  47. package/dist/http/pricing/admin/payloads.d.ts +11 -0
  48. package/dist/http/pricing/admin/payloads.d.ts.map +1 -0
  49. package/dist/http/pricing/admin/payloads.js +3 -0
  50. package/dist/http/pricing/admin/payloads.js.map +1 -0
  51. package/dist/http/pricing/admin/queries.d.ts +10 -0
  52. package/dist/http/pricing/admin/queries.d.ts.map +1 -0
  53. package/dist/http/pricing/admin/queries.js +3 -0
  54. package/dist/http/pricing/admin/queries.js.map +1 -0
  55. package/dist/http/pricing/admin/responses.d.ts +12 -0
  56. package/dist/http/pricing/admin/responses.d.ts.map +1 -0
  57. package/dist/http/pricing/admin/responses.js +3 -0
  58. package/dist/http/pricing/admin/responses.js.map +1 -0
  59. package/dist/http/pricing/common.d.ts +95 -0
  60. package/dist/http/pricing/common.d.ts.map +1 -0
  61. package/dist/http/pricing/common.js +3 -0
  62. package/dist/http/pricing/common.js.map +1 -0
  63. package/dist/http/product/admin/entitites.d.ts +3 -3
  64. package/dist/http/product/admin/entitites.d.ts.map +1 -1
  65. package/dist/http/product/admin/payloads.d.ts +3 -0
  66. package/dist/http/product/admin/payloads.d.ts.map +1 -1
  67. package/dist/http/product/admin/queries.d.ts +1 -3
  68. package/dist/http/product/admin/queries.d.ts.map +1 -1
  69. package/dist/http/product/common.d.ts +5 -13
  70. package/dist/http/product/common.d.ts.map +1 -1
  71. package/dist/http/product/store/entitites.d.ts +1 -3
  72. package/dist/http/product/store/entitites.d.ts.map +1 -1
  73. package/dist/http/product/store/queries.d.ts +1 -3
  74. package/dist/http/product/store/queries.d.ts.map +1 -1
  75. package/dist/http/product-tag/admin/entities.d.ts +4 -0
  76. package/dist/http/product-tag/admin/entities.d.ts.map +1 -0
  77. package/dist/http/product-tag/admin/entities.js +3 -0
  78. package/dist/http/product-tag/admin/entities.js.map +1 -0
  79. package/dist/http/product-tag/admin/index.d.ts +5 -0
  80. package/dist/http/product-tag/admin/index.d.ts.map +1 -0
  81. package/dist/http/product-tag/admin/index.js +21 -0
  82. package/dist/http/product-tag/admin/index.js.map +1 -0
  83. package/dist/http/product-tag/admin/payloads.d.ts +9 -0
  84. package/dist/http/product-tag/admin/payloads.d.ts.map +1 -0
  85. package/dist/http/product-tag/admin/payloads.js +3 -0
  86. package/dist/http/product-tag/admin/payloads.js.map +1 -0
  87. package/dist/http/product-tag/admin/queries.d.ts +9 -0
  88. package/dist/http/product-tag/admin/queries.d.ts.map +1 -0
  89. package/dist/http/product-tag/admin/queries.js +3 -0
  90. package/dist/http/product-tag/admin/queries.js.map +1 -0
  91. package/dist/http/product-tag/admin/responses.d.ts +12 -0
  92. package/dist/http/product-tag/admin/responses.d.ts.map +1 -0
  93. package/dist/http/product-tag/admin/responses.js +3 -0
  94. package/dist/http/product-tag/admin/responses.js.map +1 -0
  95. package/dist/http/product-tag/common.d.ts +18 -0
  96. package/dist/http/product-tag/common.d.ts.map +1 -0
  97. package/dist/http/product-tag/common.js +3 -0
  98. package/dist/http/product-tag/common.js.map +1 -0
  99. package/dist/http/product-tag/index.d.ts +3 -0
  100. package/dist/http/product-tag/index.d.ts.map +1 -0
  101. package/dist/http/product-tag/index.js +19 -0
  102. package/dist/http/product-tag/index.js.map +1 -0
  103. package/dist/http/product-tag/store/entities.d.ts +4 -0
  104. package/dist/http/product-tag/store/entities.d.ts.map +1 -0
  105. package/dist/http/product-tag/store/entities.js +3 -0
  106. package/dist/http/product-tag/store/entities.js.map +1 -0
  107. package/dist/http/product-tag/store/index.d.ts +3 -0
  108. package/dist/http/product-tag/store/index.d.ts.map +1 -0
  109. package/dist/http/product-tag/store/index.js +19 -0
  110. package/dist/http/product-tag/store/index.js.map +1 -0
  111. package/dist/http/product-tag/store/queries.d.ts +8 -0
  112. package/dist/http/product-tag/store/queries.d.ts.map +1 -0
  113. package/dist/http/product-tag/store/queries.js +3 -0
  114. package/dist/http/product-tag/store/queries.js.map +1 -0
  115. package/dist/http/product-type/common.d.ts +2 -2
  116. package/dist/http/product-type/common.d.ts.map +1 -1
  117. package/dist/http/region/admin.d.ts +2 -0
  118. package/dist/http/region/admin.d.ts.map +1 -1
  119. package/dist/http/store/admin/payloads.d.ts +3 -2
  120. package/dist/http/store/admin/payloads.d.ts.map +1 -1
  121. package/dist/http/tax-rate/admin/payloads.d.ts +1 -1
  122. package/dist/http/tax-rate/admin/payloads.d.ts.map +1 -1
  123. package/dist/http/tax-region/admin/entities.d.ts +2 -1
  124. package/dist/http/tax-region/admin/entities.d.ts.map +1 -1
  125. package/dist/http/tax-region/admin/queries.d.ts +5 -3
  126. package/dist/http/tax-region/admin/queries.d.ts.map +1 -1
  127. package/dist/order/common.d.ts +42 -0
  128. package/dist/order/common.d.ts.map +1 -1
  129. package/dist/order/mutations.d.ts +10 -8
  130. package/dist/order/mutations.d.ts.map +1 -1
  131. package/dist/order/service.d.ts +158 -1
  132. package/dist/order/service.d.ts.map +1 -1
  133. package/dist/pricing/common/index.d.ts +1 -0
  134. package/dist/pricing/common/index.d.ts.map +1 -1
  135. package/dist/pricing/common/index.js +1 -0
  136. package/dist/pricing/common/index.js.map +1 -1
  137. package/dist/pricing/common/price-preference.d.ts +90 -0
  138. package/dist/pricing/common/price-preference.d.ts.map +1 -0
  139. package/dist/pricing/common/price-preference.js +3 -0
  140. package/dist/pricing/common/price-preference.js.map +1 -0
  141. package/dist/pricing/common/price-set.d.ts +8 -0
  142. package/dist/pricing/common/price-set.d.ts.map +1 -1
  143. package/dist/pricing/service.d.ts +211 -0
  144. package/dist/pricing/service.d.ts.map +1 -1
  145. package/dist/product/common.d.ts +6 -2
  146. package/dist/product/common.d.ts.map +1 -1
  147. package/dist/store/mutations/store.d.ts +4 -4
  148. package/dist/store/mutations/store.d.ts.map +1 -1
  149. package/dist/tax/common.d.ts +1 -1
  150. package/dist/tax/common.d.ts.map +1 -1
  151. package/dist/workflow/index.d.ts +2 -0
  152. package/dist/workflow/index.d.ts.map +1 -1
  153. package/dist/workflow/index.js +3 -1
  154. package/dist/workflow/index.js.map +1 -1
  155. package/dist/workflow/pricing/index.d.ts +17 -0
  156. package/dist/workflow/pricing/index.d.ts.map +1 -0
  157. package/dist/{http/collection/admin.js → workflow/pricing/index.js} +1 -1
  158. package/dist/workflow/pricing/index.js.map +1 -0
  159. package/dist/workflow/region/create-regions.d.ts +4 -1
  160. package/dist/workflow/region/create-regions.d.ts.map +1 -1
  161. package/dist/workflow/region/update-regions.d.ts +1 -0
  162. package/dist/workflow/region/update-regions.d.ts.map +1 -1
  163. package/dist/workflow/store/index.d.ts +14 -0
  164. package/dist/workflow/store/index.d.ts.map +1 -0
  165. package/dist/workflow/store/index.js +3 -0
  166. package/dist/workflow/store/index.js.map +1 -0
  167. package/package.json +1 -1
  168. package/dist/http/collection/admin.d.ts +0 -17
  169. package/dist/http/collection/admin.d.ts.map +0 -1
  170. package/dist/http/collection/admin.js.map +0 -1
@@ -264,7 +264,7 @@ export interface NumericalComparisonOperator {
264
264
  /**
265
265
  * @ignore
266
266
  */
267
- export type Pluralize<Singular extends string> = Singular extends `${infer R}ey` ? `${R}eys` : Singular extends `${infer R}y` ? `${R}ies` : Singular extends `${infer R}es` ? `${Singular}` : Singular extends `${infer R}ss` | `${infer R}sh` | `${infer R}ch` | `${infer R}x` | `${infer R}z` | `${infer R}o` ? `${Singular}es` : `${Singular}s`;
267
+ export type Pluralize<Singular extends string> = Singular extends `${infer R}ey` ? `${R}eys` : Singular extends `${infer R}y` ? `${R}ies` : Singular extends `${infer R}es` ? `${Singular}` : Singular extends `${infer R}ss` | `${infer R}sh` | `${infer R}ch` | `${infer R}x` | `${infer R}z` | `${infer R}o` ? `${Singular}es` : Singular extends `${infer R}fe` ? `${R}ves` : Singular extends `${infer R}ex` | `${infer R}ix` ? `${R}ices` : Singular extends `${infer R}eau` ? `${R}eaux` : Singular extends `${infer R}ieu` ? `${R}ieux` : Singular extends `${infer R}sis` ? `${R}ses` : Singular extends `${infer R}is` ? `${R}ises` : `${Singular}s`;
268
268
  export type SnakeCase<S extends string> = S extends `${infer T}${infer U}${infer V}` ? U extends Uppercase<U> ? `${Lowercase<T>}_${SnakeCase<`${Lowercase<U>}${V}`>}` : `${T}${SnakeCase<`${U}${V}`>}` : S;
269
269
  export type KebabCase<S extends string> = S extends `${infer T}${infer U}${infer V}` ? U extends Uppercase<U> ? `${Lowercase<T>}-${KebabCase<`${Lowercase<U>}${V}`>}` : `${T}${KebabCase<`${U}${V}`>}` : S;
270
270
  export type MetadataType = Record<string, unknown> | null;
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/common/common.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,SAAS,CAAA;AAEhB,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAA;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAA;AAEhF;;GAEG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI;KACvB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,GAAG,EAAE,CAAA;AAEN;;GAEG;AACH,MAAM,MAAM,oBAAoB,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,CAAC,GAAG;KAC1D,QAAQ,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC;CAC/B,CAAA;AAED;;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C,SAAS,MAAM,IACpC,CAAC,SAAS,GAAG,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,MAAM,CAAC,EAAE,GACtC,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,GACpB,GAAG,SAAS,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,GACrD,GAAG,CAAC,GAAG,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,GAChC,CAAC,CAAA;AAEP,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,MAAM,IACpC,CAAC,SAAS,GAAG,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,MAAM,CAAC,EAAE,GACtC,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,GACpB,GAAG,SAAS,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,GACrD,GAAG,CAAC,GAAG,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,GAChC,CAAC,CAAA;AAEP,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;AAEzD,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;CAClB,CAAA"}
@@ -209,36 +209,6 @@ export type ProjectConfigOptions = {
209
209
  * only postgres is supported, so this config has no effect
210
210
  */
211
211
  databaseType?: string;
212
- /**
213
- * An object that includes additional configurations to pass to the database connection. You can pass any configuration. One defined configuration to pass is
214
- * `ssl` which enables support for TLS/SSL connections.
215
- *
216
- * This is useful for production databases, which can be supported by setting the `rejectUnauthorized` attribute of `ssl` object to `false`.
217
- * During development, it’s recommended not to pass this option.
218
- *
219
- * @example
220
- * ```js title="medusa-config.js"
221
- * module.exports = defineConfig({
222
- * projectConfig: {
223
- * databaseExtra: process.env.NODE_ENV !== "development" ?
224
- * { ssl: { rejectUnauthorized: false } } : {}
225
- * // ...
226
- * },
227
- * // ...
228
- * })
229
- * ```
230
- */
231
- databaseExtra?: Record<string, unknown> & {
232
- /**
233
- * Configure support for TLS/SSL connection
234
- */
235
- ssl: {
236
- /**
237
- * Whether to fail connection if the server certificate is verified against the list of supplied CAs and the hostname and no match is found.
238
- */
239
- rejectUnauthorized: false;
240
- };
241
- };
242
212
  /**
243
213
  * An object that includes additional configurations to pass to the database connection for v2. You can pass any configuration. One defined configuration to pass is
244
214
  * `ssl` which enables support for TLS/SSL connections.
@@ -1 +1 @@
1
- {"version":3,"file":"config-module.d.ts","sourceRoot":"","sources":["../../src/common/config-module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,gBAAgB,CAAA;AAEvB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AAExC;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,IAAI,MAAM,EAAE,CAAA;IACnB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,CAAA;CAC9C,CAAA;AAED;;;;GAIG;AACH,KAAK,cAAc,GAAG;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;OAGG;IACH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MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAChC,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA"}
@@ -1,6 +1,7 @@
1
1
  export interface WithCalculatedPrice {
2
2
  calculated_price: {
3
3
  calculated_amount: number;
4
+ is_calculated_price_tax_inclusive?: boolean;
4
5
  };
5
6
  }
6
7
  //# sourceMappingURL=with-calculated.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"with-calculated.d.ts","sourceRoot":"","sources":["../../src/common/with-calculated.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,gBAAgB,EAAE;QAAE,iBAAiB,EAAE,MAAM,CAAA;KAAE,CAAA;CAChD"}
1
+ {"version":3,"file":"with-calculated.d.ts","sourceRoot":"","sources":["../../src/common/with-calculated.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,gBAAgB,EAAE;QAChB,iBAAiB,EAAE,MAAM,CAAA;QACzB,iCAAiC,CAAC,EAAE,OAAO,CAAA;KAC5C,CAAA;CACF"}
@@ -1,3 +1,3 @@
1
- export type EntityDateColumns = "created_at" | "updated_at";
2
- export type SoftDeletableEntityDateColumns = "deleted_at" | EntityDateColumns;
1
+ export type ModelDateColumns = "created_at" | "updated_at";
2
+ export type SoftDeletableModelDateColumns = "deleted_at" | ModelDateColumns;
3
3
  //# sourceMappingURL=entity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entity.d.ts","sourceRoot":"","sources":["../../src/dal/entity.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG,YAAY,CAAA;AAC3D,MAAM,MAAM,8BAA8B,GAAG,YAAY,GAAG,iBAAiB,CAAA"}
1
+ {"version":3,"file":"entity.d.ts","sourceRoot":"","sources":["../../src/dal/entity.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,YAAY,CAAA;AAC1D,MAAM,MAAM,6BAA6B,GAAG,YAAY,GAAG,gBAAgB,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { Context } from "../shared-context";
2
- export type Subscriber<TData = unknown> = (data: TData, eventName: string) => Promise<void>;
2
+ export type Subscriber<TData = unknown> = (data: MessageBody<TData>) => Promise<void>;
3
3
  export type SubscriberContext = {
4
4
  subscriberId: string;
5
5
  };
@@ -7,7 +7,6 @@ export type SubscriberDescriptor = {
7
7
  id: string;
8
8
  subscriber: Subscriber;
9
9
  };
10
- export type EventHandler<TData = unknown> = (data: TData, eventName: string) => Promise<void>;
11
10
  export type EventMetadata = Record<string, unknown> & {
12
11
  eventGroupId?: string;
13
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/event-bus/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAE3C,MAAM,MAAM,UAAU,CAAC,KAAK,GAAG,OAAO,IAAI,CACxC,IAAI,EAAE,KAAK,EACX,SAAS,EAAE,MAAM,KACd,OAAO,CAAC,IAAI,CAAC,CAAA;AAElB,MAAM,MAAM,iBAAiB,GAAG;IAC9B,YAAY,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,UAAU,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,YAAY,CAAC,KAAK,GAAG,OAAO,IAAI,CAC1C,IAAI,EAAE,KAAK,EACX,SAAS,EAAE,MAAM,KACd,OAAO,CAAC,IAAI,CAAC,CAAA;AAElB,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IACpD,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,MAAM,MAAM,WAAW,CAAC,KAAK,G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,GAAG,OAAO,IAAI;IACzC,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,IAAI,EAAE,KAAK,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,OAAO,CAAC,KAAK,GAAG,OAAO,IAAI,WAAW,CAAC,KAAK,CAAC,GAAG;IAC1D,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAClC,CAAA;AAED,MAAM,MAAM,gBAAgB,CAAC,KAAK,GAAG,GAAG,IAAI;IAC1C,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,KAAK,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,IAAI,CAAC,OAAO,EAAE,cAAc,CAAC,CAAA;IACvC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC9B,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { BaseCollection } from "../common";
2
+ export interface AdminCollection extends BaseCollection {
3
+ }
4
+ //# sourceMappingURL=entities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/collection/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C,MAAM,WAAW,eAAgB,SAAQ,cAAc;CAAG"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=entities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/collection/admin/entities.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export * from "./entities";
2
+ export * from "./payloads";
3
+ export * from "./queries";
4
+ export * from "./responses";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/collection/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./payloads"), exports);
19
+ __exportStar(require("./queries"), exports);
20
+ __exportStar(require("./responses"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/collection/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
@@ -0,0 +1,15 @@
1
+ export interface AdminCreateCollection {
2
+ title: string;
3
+ handle?: string;
4
+ metadata?: Record<string, any>;
5
+ }
6
+ export interface AdminUpdateCollection {
7
+ title?: string;
8
+ handle?: string;
9
+ metadata?: Record<string, any>;
10
+ }
11
+ export interface AdminUpdateCollectionProducts {
12
+ add?: string[];
13
+ remove?: string[];
14
+ }
15
+ //# sourceMappingURL=payloads.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/collection/admin/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,6BAA6B;IAC5C,GAAG,CAAC,EAAE,MAAM,EAAE,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=payloads.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/collection/admin/payloads.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { OperatorMap } from "../../../dal";
2
+ import { BaseCollectionListParams, BaseCollectionParams } from "../common";
3
+ export interface AdminCollectionListParams extends BaseCollectionListParams {
4
+ deleted_at?: OperatorMap<string>;
5
+ }
6
+ export interface AdminCollectionParams extends BaseCollectionParams {
7
+ }
8
+ //# sourceMappingURL=queries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/collection/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAA;AAE1E,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;IACzE,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC;AACD,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;CAAG"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=queries.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/collection/admin/queries.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ import { DeleteResponse, PaginatedResponse } from "../../common";
2
+ import { AdminCollection } from "./entities";
3
+ export interface AdminCollectionResponse {
4
+ collection: AdminCollection;
5
+ }
6
+ export interface AdminCollectionListResponse extends PaginatedResponse<{
7
+ collections: AdminCollection[];
8
+ }> {
9
+ }
10
+ export interface AdminCollectionDeleteResponse extends DeleteResponse<"collection"> {
11
+ }
12
+ //# sourceMappingURL=responses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/collection/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAE5C,MAAM,WAAW,uBAAuB;IACtC,UAAU,EAAE,eAAe,CAAA;CAC5B;AAED,MAAM,WAAW,2BACf,SAAQ,iBAAiB,CAAC;IACxB,WAAW,EAAE,eAAe,EAAE,CAAA;CAC/B,CAAC;CAAG;AAEP,MAAM,WAAW,6BACf,SAAQ,cAAc,CAAC,YAAY,CAAC;CAAG"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=responses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/collection/admin/responses.ts"],"names":[],"mappings":""}
@@ -1,22 +1,24 @@
1
1
  import { BaseFilterable, OperatorMap } from "../../dal";
2
+ import { FindParams, SelectParams } from "../common";
2
3
  import { AdminProduct } from "../product";
3
4
  export interface BaseCollection {
4
- id?: string;
5
- title?: string;
6
- handle?: string;
7
- created_at?: string;
8
- updated_at?: string;
9
- deleted_at?: string | null;
5
+ id: string;
6
+ title: string;
7
+ handle: string;
8
+ created_at: string;
9
+ updated_at: string;
10
+ deleted_at: string | null;
10
11
  products?: AdminProduct[];
11
- metadata?: Record<string, unknown> | null;
12
+ metadata: Record<string, unknown> | null;
12
13
  }
13
- export interface BaseCollectionFilters extends BaseFilterable<BaseCollectionFilters> {
14
+ export interface BaseCollectionParams extends SelectParams {
15
+ }
16
+ export interface BaseCollectionListParams extends FindParams, BaseFilterable<BaseCollectionListParams> {
14
17
  q?: string;
15
18
  id?: string | string[];
16
19
  handle?: string | string[];
17
20
  title?: string | string[];
18
21
  created_at?: OperatorMap<string>;
19
22
  updated_at?: OperatorMap<string>;
20
- deleted_at?: OperatorMap<string>;
21
23
  }
22
24
  //# sourceMappingURL=common.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/collection/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAEzC,MAAM,WAAW,cAAc;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,QAAQ,CAAC,EAAE,YAAY,EAAE,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OA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AM,EAAE,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC1B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACzB,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC"}
@@ -1,6 +1,6 @@
1
- import { BaseCollection, BaseCollectionFilters } from "./common";
1
+ import { BaseCollection, BaseCollectionListParams } from "./common";
2
2
  export interface StoreCollection extends BaseCollection {
3
3
  }
4
- export interface StoreCollectionFilters extends BaseCollectionFilters {
4
+ export interface StoreCollectionFilters extends BaseCollectionListParams {
5
5
  }
6
6
  //# sourceMappingURL=store.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/http/collection/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAA;AAEhE,MAAM,WAAW,eAAgB,SAAQ,cAAc;CAAG;AAC1D,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;CAAG"}
1
+ {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/http/collection/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAA;AAEnE,MAAM,WAAW,eAAgB,SAAQ,cAAc;CAAG;AAC1D,MAAM,WAAW,sBAAuB,SAAQ,wBAAwB;CAAG"}
@@ -18,6 +18,7 @@ export * from "./price-list";
18
18
  export * from "./pricing";
19
19
  export * from "./product";
20
20
  export * from "./product-category";
21
+ export * from "./product-tag";
21
22
  export * from "./product-type";
22
23
  export * from "./promotion";
23
24
  export * from "./region";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,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Ac,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA"}
@@ -34,6 +34,7 @@ __exportStar(require("./price-list"), exports);
34
34
  __exportStar(require("./pricing"), exports);
35
35
  __exportStar(require("./product"), exports);
36
36
  __exportStar(require("./product-category"), exports);
37
+ __exportStar(require("./product-tag"), exports);
37
38
  __exportStar(require("./product-type"), exports);
38
39
  __exportStar(require("./promotion"), exports);
39
40
  __exportStar(require("./region"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,6CAA0B;AAC1B,yCAAsB;AACtB,+CAA4B;AAC5B,2CAAwB;AACxB,6CAA0B;AAC1B,6CAA0B;AAC1B,yCAAsB;AACtB,gDAA6B;AAC7B,yDAAsC;AACtC,oDAAiC;AACjC,8CAA2B;AAC3B,oDAAiC;AACjC,2CAAwB;AACxB,0CAAuB;AACvB,4CAAyB;AACzB,+CAA4B;AAC5B,4CAAyB;AACzB,4CAAyB;AACzB,qDAAkC;AAClC,iDAA8B;AAC9B,8CAA2B;AAC3B,2CAAwB;AACxB,gDAA6B;AAC7B,kDAA+B;AAC/B,oDAAiC;AACjC,qDAAkC;AAClC,oDAAiC;AACjC,0CAAuB;AACvB,6CAA0B;AAC1B,+CAA4B;AAC5B,yCAAsB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,6CAA0B;AAC1B,yCAAsB;AACtB,+CAA4B;AAC5B,2CAAwB;AACxB,6CAA0B;AAC1B,6CAA0B;AAC1B,yCAAsB;AACtB,gDAA6B;AAC7B,yDAAsC;AACtC,oDAAiC;AACjC,8CAA2B;AAC3B,oDAAiC;AACjC,2CAAwB;AACxB,0CAAuB;AACvB,4CAAyB;AACzB,+CAA4B;AAC5B,4CAAyB;AACzB,4CAAyB;AACzB,qDAAkC;AAClC,gDAA6B;AAC7B,iDAA8B;AAC9B,8CAA2B;AAC3B,2CAAwB;AACxB,gDAA6B;AAC7B,kDAA+B;AAC/B,oDAAiC;AACjC,qDAAkC;AAClC,oDAAiC;AACjC,0CAAuB;AACvB,6CAA0B;AAC1B,+CAA4B;AAC5B,yCAAsB"}
@@ -18,6 +18,19 @@ export interface AdminCreateOrderFulfillment {
18
18
  no_notification?: boolean;
19
19
  metadata?: Record<string, any>;
20
20
  }
21
+ export interface AdminCreateOrderShipment {
22
+ items: {
23
+ id: string;
24
+ quantity: number;
25
+ }[];
26
+ labels?: {
27
+ tracking_number: string;
28
+ tracking_url: string;
29
+ label_url: string;
30
+ }[];
31
+ no_notification?: boolean;
32
+ metadata?: Record<string, any>;
33
+ }
21
34
  export interface AdminCancelOrderFulfillment {
22
35
  no_notification?: boolean;
23
36
  }
@@ -1 +1 @@
1
- {"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/order/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,UAAW,SAAQ,SAAS;CAAG;AAChD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,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MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACzC,MAAM,CAAC,EAAE;QACP,eAAe,EAAE,MAAM,CAAA;QACvB,YAAY,EAAE,MAAM,CAAA;QACpB,SAAS,EAAE,MAAM,CAAA;KAClB,EAAE,CAAA;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,2BAA2B;IAC1C,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B"}
@@ -29,4 +29,13 @@ export interface AdminPrice {
29
29
  updated_at: string;
30
30
  deleted_at: string | null;
31
31
  }
32
+ export interface AdminPricePreference {
33
+ id: string;
34
+ attribute: string | null;
35
+ value: string | null;
36
+ is_tax_inclusive: boolean;
37
+ created_at: string;
38
+ updated_at: string;
39
+ deleted_at: null | string;
40
+ }
32
41
  //# sourceMappingURL=entities.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/pricing/admin/entities.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,MAAM,CAAA;IACrB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACnC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/pricing/admin/entities.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,MAAM,CAAA;IACrB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACnC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B;AAED,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,gBAAgB,EAAE,OAAO,CAAA;IACzB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,IAAI,GAAG,MAAM,CAAA;CAC1B"}
@@ -1,2 +1,5 @@
1
1
  export * from "./entities";
2
+ export * from "./payloads";
3
+ export * from "./queries";
4
+ export * from "./responses";
2
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/pricing/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/pricing/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA"}
@@ -15,4 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./payloads"), exports);
19
+ __exportStar(require("./queries"), exports);
20
+ __exportStar(require("./responses"), exports);
18
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/pricing/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/pricing/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
@@ -0,0 +1,11 @@
1
+ export interface AdminCreatePricePreference {
2
+ attribute?: string;
3
+ value?: string;
4
+ is_tax_inclusive?: boolean;
5
+ }
6
+ export interface AdminUpdatePricePreference {
7
+ attribute?: string | null;
8
+ value?: string | null;
9
+ is_tax_inclusive?: boolean;
10
+ }
11
+ //# sourceMappingURL=payloads.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/pricing/admin/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,0BAA0B;IACzC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B;AAED,MAAM,WAAW,0BAA0B;IACzC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=payloads.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/pricing/admin/payloads.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import { BaseFilterable } from "../../../dal";
2
+ import { FindParams, SelectParams } from "../../common";
3
+ export interface AdminPricePreferenceListParams extends FindParams, BaseFilterable<AdminPricePreferenceListParams> {
4
+ id?: string | string[];
5
+ attribute?: string | string[];
6
+ value?: string | string[];
7
+ }
8
+ export interface AdminPricePreferenceParams extends SelectParams {
9
+ }
10
+ //# sourceMappingURL=queries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/pricing/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAEvD,MAAM,WAAW,8BACf,SAAQ,UAAU,EAChB,cAAc,CAAC,8BAA8B,CAAC;IAChD,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAC1B;AAED,MAAM,WAAW,0BAA2B,SAAQ,YAAY;CAAG"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=queries.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/pricing/admin/queries.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ import { DeleteResponse, PaginatedResponse } from "../../common";
2
+ import { AdminPricePreference } from "./entities";
3
+ export interface AdminPricePreferenceResponse {
4
+ price_preference: AdminPricePreference;
5
+ }
6
+ export interface AdminPricePreferenceListResponse extends PaginatedResponse<{
7
+ price_preferences: AdminPricePreference[];
8
+ }> {
9
+ }
10
+ export interface AdminPricePreferenceDeleteResponse extends DeleteResponse<"price_preference"> {
11
+ }
12
+ //# sourceMappingURL=responses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/pricing/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEjD,MAAM,WAAW,4BAA4B;IAC3C,gBAAgB,EAAE,oBAAoB,CAAA;CACvC;AAED,MAAM,WAAW,gCACf,SAAQ,iBAAiB,CAAC;IACxB,iBAAiB,EAAE,oBAAoB,EAAE,CAAA;CAC1C,CAAC;CAAG;AAEP,MAAM,WAAW,kCACf,SAAQ,cAAc,CAAC,kBAAkB,CAAC;CAAG"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=responses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/pricing/admin/responses.ts"],"names":[],"mappings":""}