@medusajs/types 2.10.4-snapshot-20251009094748 → 2.10.4-snapshot-20251013091555

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ type Providers = string[] | {
6
6
  id: string;
7
7
  /**
8
8
  * Optional custom time-to-live (TTL) (in seconds) for this provider. If not provided, the default TTL configured
9
- * in the provider is used.
9
+ * in the provider is used, or the default TTL of the Caching Module if not configured in the provider.
10
10
  */
11
11
  ttl?: number;
12
12
  }[];
@@ -25,7 +25,7 @@ export interface ICachingModuleService extends IModuleService {
25
25
  *
26
26
  * ```ts
27
27
  * const data = await cacheModuleService.get({
28
- * key: "products",
28
+ * key: "products", // this key would typically be a hash
29
29
  * }) as { id: string; title: string; }
30
30
  * ```
31
31
  *
@@ -33,7 +33,7 @@ export interface ICachingModuleService extends IModuleService {
33
33
  *
34
34
  * ```ts
35
35
  * const data = await cacheModuleService.get({
36
- * tags: ["products-list"],
36
+ * tags: ["Product:list:*"],
37
37
  * }) as { id: string; title: string; }[]
38
38
  * ```
39
39
  *
@@ -41,7 +41,7 @@ export interface ICachingModuleService extends IModuleService {
41
41
  *
42
42
  * ```ts
43
43
  * const data = await cacheModuleService.get({
44
- * key: "products",
44
+ * key: "products", // this key would typically be a hash
45
45
  * providers: ["caching-redis", "caching-memcached"]
46
46
  * }) as { id: string; title: string; }
47
47
  * ```
@@ -67,7 +67,8 @@ export interface ICachingModuleService extends IModuleService {
67
67
  providers?: string[];
68
68
  }): Promise<any | null>;
69
69
  /**
70
- * This method stores data in the cache.
70
+ * This method stores data in the cache using the
71
+ * [default Caching Module Provider](https://docs.medusajs.com/infrastructure-modules/caching/providers#default-caching-module-provider).
71
72
  *
72
73
  * @param param0 - The options for storing the item.
73
74
  * @returns A promise that resolves when the item has been stored.
@@ -76,28 +77,40 @@ export interface ICachingModuleService extends IModuleService {
76
77
  * To store with key:
77
78
  *
78
79
  * ```ts
80
+ * const data = { id: "prod_123", title: "Product 123" }
81
+ * const key = await cacheModuleService.computeKey(data)
79
82
  * await cacheModuleService.set({
80
- * key: "products",
81
- * data: { id: "prod_123", title: "Product 123" },
83
+ * key,
84
+ * data
82
85
  * })
83
86
  * ```
84
87
  *
85
88
  * To store with tags:
86
89
  *
90
+ * :::note
91
+ *
92
+ * Tags should follow [conventions](https://docs.medusajs.com/infrastructure-modules/caching/concepts#caching-tags-convention) to ensure they're automatically invalidated.
93
+ *
94
+ * :::
95
+ *
87
96
  * ```ts
97
+ * const data = [{ id: "prod_123", title: "Product 123" }]
98
+ * const key = await cacheModuleService.computeKey(data)
88
99
  * await cacheModuleService.set({
89
- * key: "products-list",
90
- * data: [{ id: "prod_123", title: "Product 123" }],
91
- * tags: ["products"]
100
+ * key,
101
+ * data,
102
+ * tags: [`Product:${data[0].id}`, "Product:list:*"]
92
103
  * })
93
104
  * ```
94
105
  *
95
106
  * To disable auto-invalidation for the item:
96
107
  *
97
108
  * ```ts
109
+ * const data = [{ id: "prod_123", title: "Product 123" }]
110
+ * const key = await cacheModuleService.computeKey(data)
98
111
  * await cacheModuleService.set({
99
- * key: "products-list",
100
- * data: [{ id: "prod_123", title: "Product 123" }],
112
+ * key,
113
+ * data,
101
114
  * options: { autoInvalidate: false }
102
115
  * })
103
116
  * ```
@@ -107,9 +120,11 @@ export interface ICachingModuleService extends IModuleService {
107
120
  * To store with specific providers:
108
121
  *
109
122
  * ```ts
123
+ * const data = { id: "prod_123", title: "Product 123" }
124
+ * const key = await cacheModuleService.computeKey(data)
110
125
  * await cacheModuleService.set({
111
- * key: "products",
112
- * data: { id: "prod_123", title: "Product 123" },
126
+ * key,
127
+ * data,
113
128
  * providers: [
114
129
  * "caching-redis",
115
130
  * { id: "caching-memcached", ttl: 120 } // custom TTL for this provider
@@ -117,7 +132,7 @@ export interface ICachingModuleService extends IModuleService {
117
132
  * })
118
133
  * ```
119
134
  *
120
- * This example will store the item in both the `caching-redis` and `caching-memcached` providers, with a custom TTL of 120 seconds for the `caching-memcached` provider.
135
+ * This example will store the item in both the `caching-redis` and `caching-memcached` providers, with a custom TTL of `120` seconds for the `caching-memcached` provider.
121
136
  *
122
137
  */
123
138
  set({ key, data, ttl, tags, options, providers, }: {
@@ -160,8 +175,8 @@ export interface ICachingModuleService extends IModuleService {
160
175
  /**
161
176
  * This method clears data from the cache. If neither `key` nor `tags` are provided, nothing is cleared.
162
177
  *
163
- * If no options are specified, all items matching the key or tags are cleared.
164
- * Otherwise, only items matching the options are cleared.
178
+ * By default, all items matching the key or tags are cleared regardless of their options. If you provide `options.autoInvalidate: true`,
179
+ * only items that were set with `options.autoInvalidate: true` are cleared.
165
180
  *
166
181
  * For example, if you set `options.autoInvalidate: true`, only items that were set with `options.autoInvalidate: true` are cleared.
167
182
  * Items that were set with `options.autoInvalidate: false` are only cleared when you don't provide any options.
@@ -170,36 +185,36 @@ export interface ICachingModuleService extends IModuleService {
170
185
  * @returns A promise that resolves when the item(s) have been cleared.
171
186
  *
172
187
  * @example
173
- * To clear by key:
188
+ * To invalidate cache by key:
174
189
  *
175
190
  * ```ts
176
191
  * await cacheModuleService.clear({
177
- * key: "products"
192
+ * key: "products" // this key would typically be a hash
178
193
  * })
179
194
  * ```
180
195
  *
181
196
  * This example will clear the item with the key `products` regardless of its `options.autoInvalidate` value.
182
197
  *
183
- * To clear by tags:
198
+ * To invalidate cache by tags:
184
199
  *
185
200
  * ```ts
186
201
  * await cacheModuleService.clear({
187
- * tags: ["products-list"]
202
+ * tags: ["Product:list:*"]
188
203
  * })
189
204
  * ```
190
205
  *
191
- * This example will clear all items with the tag `products-list` regardless of their `options.autoInvalidate` value.
206
+ * This example will clear all items with the tag `Product:list:*` regardless of their `options.autoInvalidate` value.
192
207
  *
193
- * To clear only items that were set to automatically invalidate:
208
+ * To invalidate only the cache data that were set to automatically invalidate:
194
209
  *
195
210
  * ```ts
196
211
  * await cacheModuleService.clear({
197
- * tags: ["products-list"],
212
+ * tags: ["Product:list:*"],
198
213
  * options: { autoInvalidate: true }
199
214
  * })
200
215
  * ```
201
216
  *
202
- * This example will only clear items with the tag `products-list` that were set with `options.autoInvalidate: true`.
217
+ * This example will only clear items with the tag `Product:list:*` that were set with `options.autoInvalidate: true`.
203
218
  * Items that were set with `options.autoInvalidate: false` will not be cleared.
204
219
  *
205
220
  * :::note
@@ -209,7 +224,7 @@ export interface ICachingModuleService extends IModuleService {
209
224
  *
210
225
  * :::
211
226
  *
212
- * To clear from specific providers:
227
+ * To invalidate cache from specific providers:
213
228
  *
214
229
  * ```ts
215
230
  * await cacheModuleService.clear({
@@ -258,7 +273,7 @@ export interface ICachingModuleService extends IModuleService {
258
273
  * id: "prod_123",
259
274
  * title: "Product 123"
260
275
  * })
261
- * // key will be a string like "a1b2c3d4e5f6g7h8i9j0"
276
+ * // key will be a hash string like "a1b2c3d4e5f6g7h8i9j0"
262
277
  */
263
278
  computeKey(input: object): Promise<string>;
264
279
  /**
@@ -271,11 +286,10 @@ export interface ICachingModuleService extends IModuleService {
271
286
  * @example
272
287
  * const tags = await cacheModuleService.computeTags({
273
288
  * products: [{ id: "prod_123" }, { id: "prod_456" }],
274
- * category: { id: "cat_123" }
275
289
  * }, {
276
290
  * operation: "updated"
277
291
  * })
278
- * // tags might be ["product-prod_123", "product-prod_456", "category-cat_123"]
292
+ * // tags might be ["Product:prod_123", "Product:prod_456", "Product:list:*"]
279
293
  */
280
294
  computeTags(input: object, options?: Record<string, any>): Promise<string[]>;
281
295
  }
@@ -350,7 +364,7 @@ export interface ICachingModuleService extends IModuleService {
350
364
  */
351
365
  export interface ICachingProviderService {
352
366
  /**
353
- * This method retrieves data from the cache. If neither `key` nor `tags` are provided, `null` should be returned.
367
+ * This method retrieves data from the cache either by `key` or `tags`. If neither `key` nor `tags` are provided, `null` should be returned.
354
368
  * If both `key` and `tags` are provided, `key` should take precedence over `tags`.
355
369
  *
356
370
  * @param param0 - The parameters for retrieving the item.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../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AAC,MAAM,EAAE,GAAG,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAAA;CAC7E"}
@@ -47,6 +47,10 @@ export interface AdminCreateCampaign {
47
47
  * The budget's limit.
48
48
  */
49
49
  limit?: number | null;
50
+ /**
51
+ * The budget's attribute.
52
+ */
53
+ attribute?: string | null;
50
54
  } | null;
51
55
  }
52
56
  export interface AdminUpdateCampaign {
@@ -1 +1 @@
1
- {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/campaign/admin/payloads.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAA;AAE7D,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACvB;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE;QACP;;;WAGG;QACH,IAAI,CAAC,EAAE,wBAAwB,CAAA;QAC/B;;;;;WAKG;QACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAC7B;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KACtB,GAAG,IAAI,CAAA;CACT;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACvB;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE;QACP;;;WAGG;QACH,IAAI,CAAC,EAAE,wBAAwB,CAAA;QAC/B;;;;;WAKG;QACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAC7B;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KACtB,GAAG,IAAI,CAAA;CACT"}
1
+ {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/campaign/admin/payloads.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAA;AAE7D,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACvB;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE;QACP;;;WAGG;QACH,IAAI,CAAC,EAAE,wBAAwB,CAAA;QAC/B;;;;;WAKG;QACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAC7B;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QACrB;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAC1B,GAAG,IAAI,CAAA;CACT;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACvB;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE;QACP;;;WAGG;QACH,IAAI,CAAC,EAAE,wBAAwB,CAAA;QAC/B;;;;;WAKG;QACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAC7B;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KACtB,GAAG,IAAI,CAAA;CACT"}
@@ -62,6 +62,10 @@ export interface AdminCampaign {
62
62
  * promotions have been used so far.
63
63
  */
64
64
  used: number;
65
+ /**
66
+ * The budget's attribute if type is `use_by_attribute`.
67
+ */
68
+ attribute: string;
65
69
  };
66
70
  created_at: string;
67
71
  updated_at: string;
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/campaign/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;;;;OAKG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAA;IAC3B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,MAAM,EAAE;QACN;;WAEG;QACH,EAAE,EAAE,MAAM,CAAA;QACV;;;WAGG;QACH,IAAI,EAAE,wBAAwB,CAAA;QAC9B;;;;;WAKG;QACH,aAAa,EAAE,MAAM,CAAA;QACrB;;WAEG;QACH,KAAK,EAAE,MAAM,CAAA;QACb;;;;WAIG;QACH,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;IACD,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B;AAED,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IACxD,SAAS,EAAE,aAAa,EAAE,CAAA;CAC3B,CAAC,CAAA;AAEF,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,MAAM,2BAA2B,GAAG,cAAc,CAAC,UAAU,CAAC,CAAA"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/campaign/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;;;;OAKG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAA;IAC3B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,MAAM,EAAE;QACN;;WAEG;QACH,EAAE,EAAE,MAAM,CAAA;QACV;;;WAGG;QACH,IAAI,EAAE,wBAAwB,CAAA;QAC9B;;;;;WAKG;QACH,aAAa,EAAE,MAAM,CAAA;QACrB;;WAEG;QACH,KAAK,EAAE,MAAM,CAAA;QACb;;;;WAIG;QACH,IAAI,EAAE,MAAM,CAAA;QACZ;;WAEG;QACH,SAAS,EAAE,MAAM,CAAA;KAClB,CAAA;IACD,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B;AAED,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IACxD,SAAS,EAAE,aAAa,EAAE,CAAA;CAC3B,CAAC,CAAA;AAEF,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,MAAM,2BAA2B,GAAG,cAAc,CAAC,UAAU,CAAC,CAAA"}
@@ -37,12 +37,33 @@ export interface BaseRefundReason {
37
37
  updated_at: string;
38
38
  }
39
39
  export interface BaseRefundReasonListParams extends FindParams {
40
+ /**
41
+ * A search term to search for refund reasons by label or description.
42
+ */
40
43
  q?: string;
44
+ /**
45
+ * Filter by refund reason ID(s).
46
+ */
41
47
  id?: string | string[];
48
+ /**
49
+ * Filter by label(s).
50
+ */
42
51
  label?: string | OperatorMap<string>;
52
+ /**
53
+ * Filter by description(s).
54
+ */
43
55
  description?: string | OperatorMap<string>;
56
+ /**
57
+ * Filter by parent refund reason ID(s).
58
+ */
44
59
  parent_refund_reason_id?: string | OperatorMap<string | string[]>;
60
+ /**
61
+ * Filter by creation date.
62
+ */
45
63
  created_at?: OperatorMap<string>;
64
+ /**
65
+ * Filter by update date.
66
+ */
46
67
  updated_at?: OperatorMap<string>;
47
68
  }
48
69
  //# sourceMappingURL=common.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/refund-reason/common.ts"],"names":[],"mappings":"AAAA,OAA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MAAM,CAAA;IACb;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;IACrC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,0BAA2B,SAAQ,UAAU;IAC5D;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACpC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IAC1C;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IACjE;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC"}
@@ -1,8 +1,9 @@
1
1
  import { BaseFilterable } from "../../dal";
2
+ import { CampaignBudgetUsageDTO } from "./campaing-budget-usage";
2
3
  /**
3
4
  * The campaign budget's possible types.
4
5
  */
5
- export type CampaignBudgetTypeValues = "spend" | "usage";
6
+ export type CampaignBudgetTypeValues = "spend" | "usage" | "use_by_attribute" | "spend_by_attribute";
6
7
  /**
7
8
  * The campaign budget details.
8
9
  */
@@ -16,6 +17,8 @@ export interface CampaignBudgetDTO {
16
17
  *
17
18
  * - `spend` indicates that the budget is limited by the amount discounted by the promotions in the associated campaign.
18
19
  * - `usage` indicates that the budget is limited by the number of times the promotions of the associated campaign have been used.
20
+ * - `use_by_attribute` indicates that the budget is limited by the number of times the promotions of the associated campaign have been used by a specific attribute value.
21
+ * - `spend_by_attribute` indicates that the budget is limited by the amount discounted by the promotions in the associated campaign by a specific attribute value.
19
22
  *
20
23
  */
21
24
  type?: CampaignBudgetTypeValues;
@@ -35,6 +38,14 @@ export interface CampaignBudgetDTO {
35
38
  * The currency of the campaign.
36
39
  */
37
40
  currency_code?: string;
41
+ /**
42
+ * The attribute of the campaign budget.
43
+ */
44
+ attribute?: string;
45
+ /**
46
+ * The usages of the campaign budget.
47
+ */
48
+ usages?: CampaignBudgetUsageDTO[];
38
49
  }
39
50
  /**
40
51
  * The filters to apply on the retrieved campaign budgets.
@@ -1 +1 @@
1
- {"version":3,"file":"campaign-budget.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/campaign-budget.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,GAAG,OAAO,CAAA;AAExD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAA;IAE/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAErB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,6BACf,SAAQ,cAAc,CAAC,6BAA6B,CAAC;IACrD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;CAChB"}
1
+ {"version":3,"file":"campaign-budget.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/campaign-budget.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAChC,OAAO,GACP,OAAO,GACP,kBAAkB,GAClB,oBAAoB,CAAA;AAExB;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAA;IAE/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAErB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,sBAAsB,EAAE,CAAA;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,6BACf,SAAQ,cAAc,CAAC,6BAA6B,CAAC;IACrD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;CAChB"}
@@ -0,0 +1,55 @@
1
+ /**
2
+ * The context passed when promotion use is registered, reverted or limit is checked.
3
+ */
4
+ export type CampaignBudgetUsageContext = {
5
+ /**
6
+ * The ID of the customer.
7
+ */
8
+ customer_id: string | null;
9
+ /**
10
+ * The email of the customer.
11
+ */
12
+ customer_email: string | null;
13
+ };
14
+ /**
15
+ * Record of promotion usage as part of a campaign
16
+ */
17
+ export interface CampaignBudgetUsageDTO {
18
+ /**
19
+ * The ID of the campaign budget usage.
20
+ */
21
+ id: string;
22
+ /**
23
+ * The value of the attribute that the promotion was used by.
24
+ * e.g. if budget campaign is defined on `email` as a useage attribute,
25
+ * `attribute_value` could contains email addresses
26
+ */
27
+ attribute_value: string;
28
+ /**
29
+ * The amount of times the promotion was used or
30
+ * the amount of money discounted by the promotion.
31
+ * Depends on the CampaignBudget type.
32
+ */
33
+ used: number;
34
+ /**
35
+ * The ID of the campaign budget.
36
+ */
37
+ budget_id: string;
38
+ /**
39
+ * The raw used value.
40
+ */
41
+ raw_used: Record<string, any>;
42
+ /**
43
+ * The date and time the campaign budget usage was created.
44
+ */
45
+ created_at: string;
46
+ /**
47
+ * The date and time the campaign budget usage was updated.
48
+ */
49
+ updated_at: string;
50
+ /**
51
+ * The date and time the campaign budget usage was deleted.
52
+ */
53
+ deleted_at: string;
54
+ }
55
+ //# sourceMappingURL=campaing-budget-usage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"campaing-budget-usage.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/campaing-budget-usage.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAA;CAC9B,CAAA;AACD;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAA;IACvB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC7B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;CACnB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=campaing-budget-usage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"campaing-budget-usage.js","sourceRoot":"","sources":["../../../src/promotion/common/campaing-budget-usage.ts"],"names":[],"mappings":""}
@@ -8,7 +8,7 @@ export type ComputeActions = AddItemAdjustmentAction | RemoveItemAdjustmentActio
8
8
  */
9
9
  export type UsageComputedActions = {
10
10
  /**
11
- * The amount to remove off the shipping method's total.
11
+ * The amount (of usage or money) to adjust the campaign budget by.
12
12
  */
13
13
  amount: BigNumberInput;
14
14
  /**
@@ -199,6 +199,10 @@ export interface ComputeActionContext extends Record<string, unknown> {
199
199
  * The cart's currency
200
200
  */
201
201
  currency_code: string;
202
+ /**
203
+ * The cart's email
204
+ */
205
+ email?: string;
202
206
  /**
203
207
  * The cart's line items.
204
208
  */
@@ -1 +1 @@
1
- {"version":3,"file":"compute-actions.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/compute-actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C;;GAEG;AACH,MAAM,MAAM,cAAc,GACtB,uBAAuB,GACvB,0BAA0B,GAC1B,2BAA2B,GAC3B,8BAA8B,GAC9B,4BAA4B,CAAA;AAEhC;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,MAAM,EAAE,cAAc,CAAA;IAEtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED;;;GAGG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,MAAM,EAAE,wBAAwB,CAAA;IAEhC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;CACb;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,MAAM,EAAE,mBAAmB,CAAA;IAE3B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,MAAM,EAAE,cAAc,CAAA;IAEtB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAE1B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G;IACH,WAAW,CAAC,EAAE,2BAA2B,EAAE,CAAA;IAE3C;;OAEG;IACH,OAAO,CAAC,EAAE;QACR,EAAE,EAAE,MAAM,CAAA;KACX,CAAA;CACF;AAED;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACxE;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,QAAQ,EAAE,cAAc,CAAA;IAExB;;OAEG;IACH,cAAc,EAAE,cAAc,CAAA;IAE9B;;OAEG;IACH,WAAW,CAAC,EAAE,2BAA2B,EAAE,CAAA;CAC5C;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACnE;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,qBAAqB,EAAE,CAAA;IAE/B;;OAEG;IACH,gBAAgB,CAAC,EAAE,yBAAyB,EAAE,CAAA;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAA;CAClC"}
1
+ {"version":3,"file":"compute-actions.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/compute-actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C;;GAEG;AACH,MAAM,MAAM,cAAc,GACtB,uBAAuB,GACvB,0BAA0B,GAC1B,2BAA2B,GAC3B,8BAA8B,GAC9B,4BAA4B,CAAA;AAEhC;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,MAAM,EAAE,cAAc,CAAA;IAEtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED;;;GAGG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,MAAM,EAAE,wBAAwB,CAAA;IAEhC;;O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,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACpE;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,QAAQ,EAAE,cAAc,CAAA;IAExB;;OAEG;IACH,QAAQ,EAAE,cAAc,CAAA;IAExB;;OAEG;IACH,cAAc,EAAE,cAAc,CAAA;IAE9B;;OAEG;IACH,eAAe,EAAE,OAAO,CAAA;IAExB;;OAEG;IACH,WAAW,CAAC,EAAE,2BAA2B,EAAE,CAAA;IAE3C;;OAEG;IACH,OAAO,CAAC,EAAE;QACR,EAAE,EAAE,MAAM,CAAA;KACX,CAAA;CACF;AAED;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACxE;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,QAAQ,EAAE,cAAc,CAAA;IAExB;;OAEG;IACH,cAAc,EAAE,cAAc,CAAA;IAE9B;;OAEG;IACH,WAAW,CAAC,EAAE,2BAA2B,EAAE,CAAA;CAC5C;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACnE;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,qBAAqB,EAAE,CAAA;IAE/B;;OAEG;IACH,gBAAgB,CAAC,EAAE,yBAAyB,EAAE,CAAA;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAA;CAClC"}
@@ -2,6 +2,7 @@ export * from "./application-method";
2
2
  export * from "./campaign";
3
3
  export * from "./campaign-budget";
4
4
  export * from "./compute-actions";
5
+ export * from "./campaing-budget-usage";
5
6
  export * from "./promotion";
6
7
  export * from "./promotion-rule";
7
8
  export * from "./promotion-rule-value";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA;AACvC,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA"}
@@ -18,6 +18,7 @@ __exportStar(require("./application-method"), exports);
18
18
  __exportStar(require("./campaign"), exports);
19
19
  __exportStar(require("./campaign-budget"), exports);
20
20
  __exportStar(require("./compute-actions"), exports);
21
+ __exportStar(require("./campaing-budget-usage"), exports);
21
22
  __exportStar(require("./promotion"), exports);
22
23
  __exportStar(require("./promotion-rule"), exports);
23
24
  __exportStar(require("./promotion-rule-value"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/promotion/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,6CAA0B;AAC1B,oDAAiC;AACjC,oDAAiC;AACjC,8CAA2B;AAC3B,mDAAgC;AAChC,yDAAsC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/promotion/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,6CAA0B;AAC1B,oDAAiC;AACjC,oDAAiC;AACjC,0DAAuC;AACvC,8CAA2B;AAC3B,mDAAgC;AAChC,yDAAsC"}
@@ -19,6 +19,10 @@ export interface CreateCampaignBudgetDTO {
19
19
  * The currency of the campaign.
20
20
  */
21
21
  currency_code?: string | null;
22
+ /**
23
+ * The attribute by which the campaign budget usage is limited.
24
+ */
25
+ attribute?: string | null;
22
26
  }
23
27
  /**
24
28
  * The attributes to update in the campaign budget.
@@ -1 +1 @@
1
- {"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/promotion/mutations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAA;AAEnD;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAA;IAE/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAA;IAE/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAErB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE7B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE3B;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAA;IAE3B;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAEvB;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAErB;;OAEG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AED,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,aAAa,EAAE,MAAM,EAAE,CAAA;CACxB"}
@@ -2,7 +2,7 @@ import { FindConfig } from "../common";
2
2
  import { RestoreReturn, SoftDeleteReturn } from "../dal";
3
3
  import { IModuleService } from "../modules-sdk";
4
4
  import { Context } from "../shared-context";
5
- import { CampaignDTO, ComputeActionContext, ComputeActions, CreatePromotionDTO, CreatePromotionRuleDTO, FilterableCampaignProps, FilterablePromotionProps, FilterablePromotionRuleProps, PromotionDTO, PromotionRuleDTO, UpdatePromotionDTO, UpdatePromotionRuleDTO, UsageComputedActions } from "./common";
5
+ import { CampaignDTO, CampaignBudgetUsageContext, ComputeActionContext, ComputeActions, CreatePromotionDTO, CreatePromotionRuleDTO, FilterableCampaignProps, FilterablePromotionProps, FilterablePromotionRuleProps, PromotionDTO, PromotionRuleDTO, UpdatePromotionDTO, UpdatePromotionRuleDTO, UsageComputedActions } from "./common";
6
6
  import { AddPromotionsToCampaignDTO, CreateCampaignDTO, RemovePromotionsFromCampaignDTO, UpdateCampaignDTO } from "./mutations";
7
7
  /**
8
8
  * The main service interface for the Promotion Module.
@@ -14,6 +14,7 @@ export interface IPromotionModuleService extends IModuleService {
14
14
  * computed actions.
15
15
  *
16
16
  * @param {UsageComputedActions[]} computedActions - The computed actions to adjust their promotion's campaign budget.
17
+ * @param {CampaignBudgetUsageContext} registrationContext - The context of the campaign budget usage.
17
18
  * @returns {Promise<void>} Resolves when the campaign budgets have been adjusted successfully.
18
19
  *
19
20
  * @example
@@ -28,12 +29,13 @@ export interface IPromotionModuleService extends IModuleService {
28
29
  * },
29
30
  * ])
30
31
  */
31
- registerUsage(computedActions: UsageComputedActions[]): Promise<void>;
32
+ registerUsage(computedActions: UsageComputedActions[], registrationContext: CampaignBudgetUsageContext): Promise<void>;
32
33
  /**
33
34
  * This method is used to revert the changes made by registerUsage action
34
35
  *
35
36
  * @param {UsageComputedActions[]} computedActions - The computed actions to adjust their promotion's campaign budget.
36
- * @returns {Promise<void>} Resolves when the campaign budgets have been adjusted successfully.
37
+ * @param {CampaignBudgetUsageContext} registrationContext - The context of the campaign budget usage.
38
+ * @returns {Promise<void>} Resolves when the campaign budgets have been reverted successfully.
37
39
  *
38
40
  * @example
39
41
  * await promotionModuleService.revertUsage([
@@ -47,7 +49,7 @@ export interface IPromotionModuleService extends IModuleService {
47
49
  * },
48
50
  * ])
49
51
  */
50
- revertUsage(computedActions: UsageComputedActions[]): Promise<void>;
52
+ revertUsage(computedActions: UsageComputedActions[], registrationContext: CampaignBudgetUsageContext): Promise<void>;
51
53
  /**
52
54
  * This method provides the actions to perform on a cart based on the specified promotions
53
55
  * and context.
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/promotion/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,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EACL,WAAW,EACX,oBAAoB,EACpB,cAAc,EACd,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,4BAA4B,EAC5B,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACtB,oBAAoB,EACrB,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,0BAA0B,EAC1B,iBAAiB,EACjB,+BAA+B,EAC/B,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAEpB;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,cAAc;IAC7D;;;;;;;;;;;;;;;;;;;OAmBG;IACH,aAAa,CAAC,eAAe,EAAE,oBAAoB,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC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AO,GACtB,OAAO,CAAC;QAAE,GAAG,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAA;CAC9B"}
@@ -1 +1 @@
1
- {"root":["../src/bundles.ts","../src/index.ts","../src/shared-context.ts","../src/address/common.ts","../src/address/index.ts","../src/admin/extensions.ts","../src/admin/index.ts","../src/analytics/index.ts","../src/analytics/mutations.ts","../src/analytics/provider.ts","../src/analytics/service.ts","../src/analytics/providers/index.ts","../src/analytics/providers/local.ts","../src/analytics/providers/posthog.ts","../src/api-key/index.ts","../src/api-key/service.ts","../src/api-key/common/api-key.ts","../src/api-key/common/index.ts","../src/api-key/mutations/api-key.ts","../src/api-key/mutations/index.ts","../src/auth/index.ts","../src/auth/provider.ts","../src/auth/service.ts","../src/auth/common/auth-identity.ts","../src/auth/common/index.ts","../src/auth/common/provider.ts","../src/auth/providers/emailpass.ts","../src/auth/providers/github.ts","../src/auth/providers/google.ts","../src/auth/providers/index.ts","../src/cache/index.ts","../src/cache/service.ts","../src/caching/index.ts","../src/cart/common.ts","../src/cart/index.ts","../src/cart/mutations.ts","../src/cart/service.ts","../src/cart/workflows.ts","../src/common/batch.ts","../src/common/camel-case.ts","../src/common/common.ts","../src/common/config-file.ts","../src/common/config-module.ts","../src/common/index.ts","../src/common/medusa-cli.ts","../src/common/medusa-container.ts","../src/common/rule.ts","../src/common/with-calculated.ts","../src/common/__tests__/pluralize.spec.ts","../src/currency/index.ts","../src/currency/service.ts","../src/currency/common/currency.ts","../src/currency/common/index.ts","../src/customer/common.ts","../src/customer/index.ts","../src/customer/mutations.ts","../src/customer/service.ts","../src/dal/entity.ts","../src/dal/index.ts","../src/dal/repository-service.ts","../src/dal/utils.ts","../src/dml/index.ts","../src/event-bus/common.ts","../src/event-bus/event-bus-module.ts","../src/event-bus/event-bus.ts","../src/event-bus/index.ts","../src/feature-flag/common.ts","../src/feature-flag/index.ts","../src/file/common.ts","../src/file/index.ts","../src/file/mutations.ts","../src/file/provider.ts","../src/file/service.ts","../src/file/providers/index.ts","../src/file/providers/local.ts","../src/file/providers/s3.ts","../src/file-service/index.ts","../src/fulfillment/index.ts","../src/fulfillment/provider.ts","../src/fulfillment/service.ts","../src/fulfillment/workflows.ts","../src/fulfillment/common/address.ts","../src/fulfillment/common/cart.ts","../src/fulfillment/common/fulfillment-item.ts","../src/fulfillment/common/fulfillment-label.ts","../src/fulfillment/common/fulfillment-provider.ts","../src/fulfillment/common/fulfillment-set.ts","../src/fulfillment/common/fulfillment.ts","../src/fulfillment/common/geo-zone.ts","../src/fulfillment/common/index.ts","../src/fulfillment/common/order.ts","../src/fulfillment/common/service-zone.ts","../src/fulfillment/common/shipping-option-rule.ts","../src/fulfillment/common/shipping-option-type.ts","../src/fulfillment/common/shipping-option.ts","../src/fulfillment/common/shipping-profile.ts","../src/fulfillment/mutations/fulfillment-address.ts","../src/fulfillment/mutations/fulfillment-item.ts","../src/fulfillment/mutations/fulfillment-label.ts","../src/fulfillment/mutations/fulfillment-set.ts","../src/fulfillment/mutations/fulfillment.ts","../src/fulfillment/mutations/geo-zone.ts","../src/fulfillment/mutations/index.ts","../src/fulfillment/mutations/service-zone.ts","../src/fulfillment/mutations/shipping-option-rule.ts","../src/fulfillment/mutations/shipping-option-type.ts","../src/fulfillment/mutations/shipping-option.ts","../src/fulfillment/mutations/shipping-profile.ts","../src/http/index.ts","../src/http/address/entities.ts","../src/http/address/index.ts","../src/http/api-key/index.ts","../src/http/api-key/admin/index.ts","../src/http/api-key/admin/payloads.ts","../src/http/api-key/admin/queries.ts","../src/http/api-key/admin/responses.ts","../src/http/auth/index.ts","../src/http/auth/payloads.ts","../src/http/campaign/index.ts","../src/http/campaign/admin/index.ts","../src/http/campaign/admin/payloads.ts","../src/http/campaign/admin/queries.ts","../src/http/campaign/admin/responses.ts","../src/http/cart/common.ts","../src/http/cart/index.ts","../src/http/cart/store/entities.ts","../src/http/cart/store/index.ts","../src/http/cart/store/payloads.ts","../src/http/cart/store/responses.ts","../src/http/claim/common.ts","../src/http/claim/index.ts","../src/http/claim/admin/entities.ts","../src/http/claim/admin/index.ts","../src/http/claim/admin/payloads.ts","../src/http/claim/admin/queries.ts","../src/http/claim/admin/responses.ts","../src/http/collection/common.ts","../src/http/collection/index.ts","../src/http/collection/admin/entities.ts","../src/http/collection/admin/index.ts","../src/http/collection/admin/payloads.ts","../src/http/collection/admin/queries.ts","../src/http/collection/admin/responses.ts","../src/http/collection/store/entities.ts","../src/http/collection/store/index.ts","../src/http/collection/store/queries.ts","../src/http/collection/store/responses.ts","../src/http/common/additional_data.ts","../src/http/common/index.ts","../src/http/common/request.ts","../src/http/common/response.ts","../src/http/currency/common.ts","../src/http/currency/index.ts","../src/http/currency/admin/entities.ts","../src/http/currency/admin/index.ts","../src/http/currency/admin/queries.ts","../src/http/currency/admin/responses.ts","../src/http/currency/store/entities.ts","../src/http/currency/store/index.ts","../src/http/currency/store/queries.ts","../src/http/currency/store/responses.ts","../src/http/customer/common.ts","../src/http/customer/index.ts","../src/http/customer/admin/entities.ts","../src/http/customer/admin/index.ts","../src/http/customer/admin/payloads.ts","../src/http/customer/admin/queries.ts","../src/http/customer/admin/responses.ts","../src/http/customer/store/entities.ts","../src/http/customer/store/index.ts","../src/http/customer/store/payloads.ts","../src/http/customer/store/queries.ts","../src/http/customer/store/responses.ts","../src/http/customer-group/common.ts","../src/http/customer-group/index.ts","../src/http/customer-group/admin/entities.ts","../src/http/customer-group/admin/index.ts","../src/http/customer-group/admin/payloads.ts","../src/http/customer-group/admin/queries.ts","../src/http/customer-group/admin/responses.ts","../src/http/draft-order/index.ts","../src/http/draft-order/admin/entities.ts","../src/http/draft-order/admin/index.ts","../src/http/draft-order/admin/payloads.ts","../src/http/draft-order/admin/queries.ts","../src/http/draft-order/admin/responses.ts","../src/http/exchange/common.ts","../src/http/exchange/index.ts","../src/http/exchange/admin/entities.ts","../src/http/exchange/admin/index.ts","../src/http/exchange/admin/payloads.ts","../src/http/exchange/admin/queries.ts","../src/http/exchange/admin/responses.ts","../src/http/file/common.ts","../src/http/file/index.ts","../src/http/file/store.ts","../src/http/file/admin/entities.ts","../src/http/file/admin/index.ts","../src/http/file/admin/payloads.ts","../src/http/file/admin/responses.ts","../src/http/fulfillment/index.ts","../src/http/fulfillment/admin/entitites.ts","../src/http/fulfillment/admin/index.ts","../src/http/fulfillment/admin/payloads.ts","../src/http/fulfillment/admin/queries.ts","../src/http/fulfillment/admin/responses.ts","../src/http/fulfillment/store/index.ts","../src/http/fulfillment-provider/common.ts","../src/http/fulfillment-provider/index.ts","../src/http/fulfillment-provider/admin/entities.ts","../src/http/fulfillment-provider/admin/index.ts","../src/http/fulfillment-provider/admin/queries.ts","../src/http/fulfillment-provider/admin/responses.ts","../src/http/fulfillment-set/index.ts","../src/http/fulfillment-set/admin/entities.ts","../src/http/fulfillment-set/admin/index.ts","../src/http/fulfillment-set/admin/payloads.ts","../src/http/fulfillment-set/admin/queries.ts","../src/http/fulfillment-set/admin/responses.ts","../src/http/inventory/index.ts","../src/http/inventory/admin/entities.ts","../src/http/inventory/admin/index.ts","../src/http/inventory/admin/payloads.ts","../src/http/inventory/admin/queries.ts","../src/http/inventory/admin/responses.ts","../src/http/inventory-level/index.ts","../src/http/inventory-level/admin/entities.ts","../src/http/inventory-level/admin/index.ts","../src/http/inventory-level/admin/payloads.ts","../src/http/inventory-level/admin/queries.ts","../src/http/inventory-level/admin/responses.ts","../src/http/invite/index.ts","../src/http/invite/admin/entities.ts","../src/http/invite/admin/index.ts","../src/http/invite/admin/payloads.ts","../src/http/invite/admin/queries.ts","../src/http/invite/admin/responses.ts","../src/http/notification/index.ts","../src/http/notification/admin/entities.ts","../src/http/notification/admin/index.ts","../src/http/notification/admin/queries.ts","../src/http/notification/admin/responses.ts","../src/http/order/common.ts","../src/http/order/index.ts","../src/http/order/admin/entities.ts","../src/http/order/admin/index.ts","../src/http/order/admin/payload.ts","../src/http/order/admin/queries.ts","../src/http/order/admin/responses.ts","../src/http/order/store/entities.ts","../src/http/order/store/index.ts","../src/http/order/store/payloads.ts","../src/http/order/store/queries.ts","../src/http/order/store/responses.ts","../src/http/order-edit/common.ts","../src/http/order-edit/index.ts","../src/http/order-edit/admin/index.ts","../src/http/order-edit/admin/payloads.ts","../src/http/order-edit/admin/responses.ts","../src/http/payment/common.ts","../src/http/payment/index.ts","../src/http/payment/admin/entities.ts","../src/http/payment/admin/index.ts","../src/http/payment/admin/payloads.ts","../src/http/payment/admin/queries.ts","../src/http/payment/admin/responses.ts","../src/http/payment/store/entities.ts","../src/http/payment/store/index.ts","../src/http/payment/store/payloads.ts","../src/http/payment/store/queries.ts","../src/http/payment/store/responses.ts","../src/http/plugins/index.ts","../src/http/plugins/admin/responses.ts","../src/http/price-list/index.ts","../src/http/price-list/admin/entities.ts","../src/http/price-list/admin/index.ts","../src/http/price-list/admin/payloads.ts","../src/http/price-list/admin/queries.ts","../src/http/price-list/admin/responses.ts","../src/http/pricing/common.ts","../src/http/pricing/index.ts","../src/http/pricing/admin/entities.ts","../src/http/pricing/admin/index.ts","../src/http/pricing/admin/payloads.ts","../src/http/pricing/admin/queries.ts","../src/http/pricing/admin/responses.ts","../src/http/pricing/store/entities.ts","../src/http/pricing/store/index.ts","../src/http/product/common.ts","../src/http/product/index.ts","../src/http/product/admin/entitites.ts","../src/http/product/admin/index.ts","../src/http/product/admin/payloads.ts","../src/http/product/admin/queries.ts","../src/http/product/admin/responses.ts","../src/http/product/store/entitites.ts","../src/http/product/store/index.ts","../src/http/product/store/queries.ts","../src/http/product/store/responses.ts","../src/http/product-category/common.ts","../src/http/product-category/index.ts","../src/http/product-category/admin/entities.ts","../src/http/product-category/admin/index.ts","../src/http/product-category/admin/payloads.ts","../src/http/product-category/admin/queries.ts","../src/http/product-category/admin/responses.ts","../src/http/product-category/store/entities.ts","../src/http/product-category/store/index.ts","../src/http/product-category/store/queries.ts","../src/http/product-category/store/responses.ts","../src/http/product-tag/common.ts","../src/http/product-tag/index.ts","../src/http/product-tag/admin/entities.ts","../src/http/product-tag/admin/index.ts","../src/http/product-tag/admin/payloads.ts","../src/http/product-tag/admin/queries.ts","../src/http/product-tag/admin/responses.ts","../src/http/product-tag/store/entities.ts","../src/http/product-tag/store/index.ts","../src/http/product-tag/store/queries.ts","../src/http/product-tag/store/responses.ts","../src/http/product-type/common.ts","../src/http/product-type/index.ts","../src/http/product-type/admin/entities.ts","../src/http/product-type/admin/index.ts","../src/http/product-type/admin/payloads.ts","../src/http/product-type/admin/queries.ts","../src/http/product-type/admin/responses.ts","../src/http/product-type/store/entities.ts","../src/http/product-type/store/index.ts","../src/http/product-type/store/queries.ts","../src/http/product-type/store/responses.ts","../src/http/promotion/common.ts","../src/http/promotion/index.ts","../src/http/promotion/store.ts","../src/http/promotion/admin/entities.ts","../src/http/promotion/admin/index.ts","../src/http/promotion/admin/payloads.ts","../src/http/promotion/admin/queries.ts","../src/http/promotion/admin/responses.ts","../src/http/refund-reason/common.ts","../src/http/refund-reason/index.ts","../src/http/refund-reason/admin/entities.ts","../src/http/refund-reason/admin/index.ts","../src/http/refund-reason/admin/payloads.ts","../src/http/refund-reason/admin/queries.ts","../src/http/refund-reason/admin/responses.ts","../src/http/region/common.ts","../src/http/region/index.ts","../src/http/region/admin/entities.ts","../src/http/region/admin/index.ts","../src/http/region/admin/payloads.ts","../src/http/region/admin/queries.ts","../src/http/region/admin/responses.ts","../src/http/region/store/entities.ts","../src/http/region/store/index.ts","../src/http/region/store/queries.ts","../src/http/region/store/responses.ts","../src/http/reservation/index.ts","../src/http/reservation/admin/entities.ts","../src/http/reservation/admin/index.ts","../src/http/reservation/admin/payloads.ts","../src/http/reservation/admin/queries.ts","../src/http/reservation/admin/responses.ts","../src/http/return/common.ts","../src/http/return/index.ts","../src/http/return/admin/entities.ts","../src/http/return/admin/index.ts","../src/http/return/admin/payloads.ts","../src/http/return/admin/queries.ts","../src/http/return/admin/responses.ts","../src/http/return/store/entities.ts","../src/http/return/store/index.ts","../src/http/return/store/payloads.ts","../src/http/return/store/responses.ts","../src/http/return-reason/common.ts","../src/http/return-reason/index.ts","../src/http/return-reason/admin/entities.ts","../src/http/return-reason/admin/index.ts","../src/http/return-reason/admin/payloads.ts","../src/http/return-reason/admin/queries.ts","../src/http/return-reason/admin/responses.ts","../src/http/return-reason/store/entities.ts","../src/http/return-reason/store/index.ts","../src/http/return-reason/store/responses.ts","../src/http/sales-channel/index.ts","../src/http/sales-channel/admin/entities.ts","../src/http/sales-channel/admin/index.ts","../src/http/sales-channel/admin/payloads.ts","../src/http/sales-channel/admin/queries.ts","../src/http/sales-channel/admin/responses.ts","../src/http/shipping-option/index.ts","../src/http/shipping-option/admin/entities.ts","../src/http/shipping-option/admin/index.ts","../src/http/shipping-option/admin/payloads.ts","../src/http/shipping-option/admin/queries.ts","../src/http/shipping-option/admin/responses.ts","../src/http/shipping-option/store/entities.ts","../src/http/shipping-option/store/index.ts","../src/http/shipping-option/store/payloads.ts","../src/http/shipping-option/store/queries.ts","../src/http/shipping-option/store/responses.ts","../src/http/shipping-profile/index.ts","../src/http/shipping-profile/admin/entities.ts","../src/http/shipping-profile/admin/index.ts","../src/http/shipping-profile/admin/payloads.ts","../src/http/shipping-profile/admin/queries.ts","../src/http/shipping-profile/admin/responses.ts","../src/http/stock-locations/index.ts","../src/http/stock-locations/admin/entities.ts","../src/http/stock-locations/admin/index.ts","../src/http/stock-locations/admin/payloads.ts","../src/http/stock-locations/admin/queries.ts","../src/http/stock-locations/admin/responses.ts","../src/http/store/index.ts","../src/http/store/admin/entities.ts","../src/http/store/admin/index.ts","../src/http/store/admin/payloads.ts","../src/http/store/admin/queries.ts","../src/http/store/admin/responses.ts","../src/http/tax-provider/index.ts","../src/http/tax-provider/admin/entities.ts","../src/http/tax-provider/admin/index.ts","../src/http/tax-provider/admin/queries.ts","../src/http/tax-provider/admin/responses.ts","../src/http/tax-rate/index.ts","../src/http/tax-rate/admin/entities.ts","../src/http/tax-rate/admin/index.ts","../src/http/tax-rate/admin/payloads.ts","../src/http/tax-rate/admin/queries.ts","../src/http/tax-rate/admin/responses.ts","../src/http/tax-region/index.ts","../src/http/tax-region/admin/entities.ts","../src/http/tax-region/admin/index.ts","../src/http/tax-region/admin/payloads.ts","../src/http/tax-region/admin/queries.ts","../src/http/tax-region/admin/responses.ts","../src/http/user/index.ts","../src/http/user/admin/entities.ts","../src/http/user/admin/index.ts","../src/http/user/admin/payloads.ts","../src/http/user/admin/queries.ts","../src/http/user/admin/responses.ts","../src/http/view-configuration/index.ts","../src/http/view-configuration/admin/columns.ts","../src/http/view-configuration/admin/index.ts","../src/http/view-configuration/admin/payloads.ts","../src/http/view-configuration/admin/queries.ts","../src/http/view-configuration/admin/responses.ts","../src/http/workflow-execution/index.ts","../src/http/workflow-execution/admin/entities.ts","../src/http/workflow-execution/admin/index.ts","../src/http/workflow-execution/admin/queries.ts","../src/http/workflow-execution/admin/responses.ts","../src/index-data/common.ts","../src/index-data/index-operator-map.ts","../src/index-data/index-service-entry-points.ts","../src/index-data/index.ts","../src/index-data/service.ts","../src/index-data/storage-provider.ts","../src/index-data/__fixtures__/index-service-entry-points.ts","../src/index-data/__tests__/index.spec.ts","../src/index-data/query-config/common.ts","../src/index-data/query-config/index.ts","../src/index-data/query-config/query-input-config-fields.ts","../src/index-data/query-config/query-input-config-filters.ts","../src/index-data/query-config/query-input-config-order-by.ts","../src/index-data/query-config/query-input-config.ts","../src/inventory/index.ts","../src/inventory/service.ts","../src/inventory/common/index.ts","../src/inventory/common/inventory-item.ts","../src/inventory/common/inventory-level.ts","../src/inventory/common/reservation-item.ts","../src/inventory/mutations/index.ts","../src/inventory/mutations/inventory-item.ts","../src/inventory/mutations/inventory-level.ts","../src/inventory/mutations/reservation-item.ts","../src/joiner/index.ts","../src/link-modules/index.ts","../src/link-modules/migrations.ts","../src/link-modules/service.ts","../src/locking/index.ts","../src/logger/index.ts","../src/modules-sdk/index.ts","../src/modules-sdk/medusa-internal-service.ts","../src/modules-sdk/module-provider.ts","../src/modules-sdk/object-to-remote-query-fields.ts","../src/modules-sdk/remote-query-entry-points.ts","../src/modules-sdk/remote-query-object-from-string.ts","../src/modules-sdk/remote-query.ts","../src/modules-sdk/to-remote-query.ts","../src/modules-sdk/__fixtures__/remote-query.ts","../src/modules-sdk/__tests__/object-to-remote-query-fields.spec.ts","../src/modules-sdk/__tests__/query.spec.ts","../src/modules-sdk/__tests__/remote-query.spec.ts","../src/notification/common.ts","../src/notification/index.ts","../src/notification/mutations.ts","../src/notification/provider.ts","../src/notification/service.ts","../src/notification/providers/index.ts","../src/notification/providers/logger.ts","../src/notification/providers/sendgrid.ts","../src/order/common.ts","../src/order/index.ts","../src/order/mutations.ts","../src/order/service.ts","../src/order/workflows.ts","../src/payment/common.ts","../src/payment/index.ts","../src/payment/mutations.ts","../src/payment/provider.ts","../src/payment/service.ts","../src/pricing/index.ts","../src/pricing/service.ts","../src/pricing/workflows.ts","../src/pricing/common/index.ts","../src/pricing/common/money-amount.ts","../src/pricing/common/price-list.ts","../src/pricing/common/price-preference.ts","../src/pricing/common/price-rule.ts","../src/pricing/common/price-set.ts","../src/pricing/common/price.ts","../src/pricing/common/pricing-context.ts","../src/product/common.ts","../src/product/index.ts","../src/product/service.ts","../src/product-category/index.ts","../src/product-category/repository.ts","../src/promotion/http.ts","../src/promotion/index.ts","../src/promotion/mutations.ts","../src/promotion/service.ts","../src/promotion/workflows.ts","../src/promotion/common/application-method.ts","../src/promotion/common/campaign-budget.ts","../src/promotion/common/campaign.ts","../src/promotion/common/compute-actions.ts","../src/promotion/common/index.ts","../src/promotion/common/promotion-rule-value.ts","../src/promotion/common/promotion-rule.ts","../src/promotion/common/promotion.ts","../src/region/common.ts","../src/region/index.ts","../src/region/mutations.ts","../src/region/service.ts","../src/sales-channel/common.ts","../src/sales-channel/index.ts","../src/sales-channel/mutations.ts","../src/sales-channel/service.ts","../src/search/index.ts","../src/search/interface.ts","../src/search/settings.ts","../src/settings/common.ts","../src/settings/index.ts","../src/settings/mutations.ts","../src/settings/service.ts","../src/stock-location/common.ts","../src/stock-location/index.ts","../src/stock-location/service.ts","../src/store/index.ts","../src/store/service.ts","../src/store/common/index.ts","../src/store/common/store.ts","../src/store/mutations/index.ts","../src/store/mutations/store.ts","../src/tax/common.ts","../src/tax/index.ts","../src/tax/mutations.ts","../src/tax/provider.ts","../src/tax/service.ts","../src/totals/big-number.ts","../src/totals/index.ts","../src/transaction-base/index.ts","../src/transaction-base/transaction-base.ts","../src/user/common.ts","../src/user/index.ts","../src/user/mutations.ts","../src/user/service.ts","../src/workflow/common.ts","../src/workflow/index.ts","../src/workflow/cart/create-cart.ts","../src/workflow/cart/index.ts","../src/workflow/fulfillment/calculate-shipping-options-prices.ts","../src/workflow/fulfillment/create-fulfillment.ts","../src/workflow/fulfillment/create-shipment.ts","../src/workflow/fulfillment/create-shipping-options.ts","../src/workflow/fulfillment/delete-shipping-options.ts","../src/workflow/fulfillment/index.ts","../src/workflow/fulfillment/service-zones.ts","../src/workflow/fulfillment/shipping-profiles.ts","../src/workflow/fulfillment/update-fulfillment.ts","../src/workflow/fulfillment/update-shipping-options.ts","../src/workflow/inventory/create-inventory-items.ts","../src/workflow/inventory/index.ts","../src/workflow/invite/accept-invite.ts","../src/workflow/invite/create-invite.ts","../src/workflow/invite/delete-invite.ts","../src/workflow/invite/index.ts","../src/workflow/invite/resend-invite.ts","../src/workflow/order/accept-transfer.ts","../src/workflow/order/begin-claim-order.ts","../src/workflow/order/begin-exchange-order.ts","../src/workflow/order/begin-order-edit.ts","../src/workflow/order/begin-return-order.ts","../src/workflow/order/cancel-claim.ts","../src/workflow/order/cancel-exchange.ts","../src/workflow/order/cancel-fulfillment.ts","../src/workflow/order/cancel-order.ts","../src/workflow/order/cancel-return.ts","../src/workflow/order/cancel-transfer.ts","../src/workflow/order/create-fulfillment.ts","../src/workflow/order/create-return-order.ts","../src/workflow/order/create-shipment.ts","../src/workflow/order/decline-transfer.ts","../src/workflow/order/index.ts","../src/workflow/order/items.ts","../src/workflow/order/receive-return.ts","../src/workflow/order/request-item-return.ts","../src/workflow/order/request-transfer.ts","../src/workflow/order/shipping-method.ts","../src/workflow/order/update-order.ts","../src/workflow/order/update-return.ts","../src/workflow/price-list/create-price-list.ts","../src/workflow/price-list/index.ts","../src/workflow/price-list/remove-price-list.ts","../src/workflow/pricing/index.ts","../src/workflow/product/create-product-variants.ts","../src/workflow/product/create-products.ts","../src/workflow/product/export-products.ts","../src/workflow/product/import-products.ts","../src/workflow/product/index.ts","../src/workflow/product/update-product-variants.ts","../src/workflow/product/update-products.ts","../src/workflow/product-category/index.ts","../src/workflow/region/create-regions.ts","../src/workflow/region/index.ts","../src/workflow/region/update-regions.ts","../src/workflow/reservation/create-reservations.ts","../src/workflow/reservation/index.ts","../src/workflow/reservation/update-reservations.ts","../src/workflow/store/index.ts","../src/workflow/user/create-user.ts","../src/workflow/user/delete-user.ts","../src/workflow/user/index.ts","../src/workflow/user/update-user.ts","../src/workflows/index.ts","../src/workflows/products/index.ts","../src/workflows/products/mutations.ts","../src/workflows/stock-locations/index.ts","../src/workflows/stock-locations/mutations.ts","../src/workflows-sdk/common.ts","../src/workflows-sdk/index.ts","../src/workflows-sdk/mutations.ts","../src/workflows-sdk/service.ts"],"version":"5.6.2"}
1
+ {"root":["../src/bundles.ts","../src/index.ts","../src/shared-context.ts","../src/address/common.ts","../src/address/index.ts","../src/admin/extensions.ts","../src/admin/index.ts","../src/analytics/index.ts","../src/analytics/mutations.ts","../src/analytics/provider.ts","../src/analytics/service.ts","../src/analytics/providers/index.ts","../src/analytics/providers/local.ts","../src/analytics/providers/posthog.ts","../src/api-key/index.ts","../src/api-key/service.ts","../src/api-key/common/api-key.ts","../src/api-key/common/index.ts","../src/api-key/mutations/api-key.ts","../src/api-key/mutations/index.ts","../src/auth/index.ts","../src/auth/provider.ts","../src/auth/service.ts","../src/auth/common/auth-identity.ts","../src/auth/common/index.ts","../src/auth/common/provider.ts","../src/auth/providers/emailpass.ts","../src/auth/providers/github.ts","../src/auth/providers/google.ts","../src/auth/providers/index.ts","../src/cache/index.ts","../src/cache/service.ts","../src/caching/index.ts","../src/cart/common.ts","../src/cart/index.ts","../src/cart/mutations.ts","../src/cart/service.ts","../src/cart/workflows.ts","../src/common/batch.ts","../src/common/camel-case.ts","../src/common/common.ts","../src/common/config-file.ts","../src/common/config-module.ts","../src/common/index.ts","../src/common/medusa-cli.ts","../src/common/medusa-container.ts","../src/common/rule.ts","../src/common/with-calculated.ts","../src/common/__tests__/pluralize.spec.ts","../src/currency/index.ts","../src/currency/service.ts","../src/currency/common/currency.ts","../src/currency/common/index.ts","../src/customer/common.ts","../src/customer/index.ts","../src/customer/mutations.ts","../src/customer/service.ts","../src/dal/entity.ts","../src/dal/index.ts","../src/dal/repository-service.ts","../src/dal/utils.ts","../src/dml/index.ts","../src/event-bus/common.ts","../src/event-bus/event-bus-module.ts","../src/event-bus/event-bus.ts","../src/event-bus/index.ts","../src/feature-flag/common.ts","../src/feature-flag/index.ts","../src/file/common.ts","../src/file/index.ts","../src/file/mutations.ts","../src/file/provider.ts","../src/file/service.ts","../src/file/providers/index.ts","../src/file/providers/local.ts","../src/file/providers/s3.ts","../src/file-service/index.ts","../src/fulfillment/index.ts","../src/fulfillment/provider.ts","../src/fulfillment/service.ts","../src/fulfillment/workflows.ts","../src/fulfillment/common/address.ts","../src/fulfillment/common/cart.ts","../src/fulfillment/common/fulfillment-item.ts","../src/fulfillment/common/fulfillment-label.ts","../src/fulfillment/common/fulfillment-provider.ts","../src/fulfillment/common/fulfillment-set.ts","../src/fulfillment/common/fulfillment.ts","../src/fulfillment/common/geo-zone.ts","../src/fulfillment/common/index.ts","../src/fulfillment/common/order.ts","../src/fulfillment/common/service-zone.ts","../src/fulfillment/common/shipping-option-rule.ts","../src/fulfillment/common/shipping-option-type.ts","../src/fulfillment/common/shipping-option.ts","../src/fulfillment/common/shipping-profile.ts","../src/fulfillment/mutations/fulfillment-address.ts","../src/fulfillment/mutations/fulfillment-item.ts","../src/fulfillment/mutations/fulfillment-label.ts","../src/fulfillment/mutations/fulfillment-set.ts","../src/fulfillment/mutations/fulfillment.ts","../src/fulfillment/mutations/geo-zone.ts","../src/fulfillment/mutations/index.ts","../src/fulfillment/mutations/service-zone.ts","../src/fulfillment/mutations/shipping-option-rule.ts","../src/fulfillment/mutations/shipping-option-type.ts","../src/fulfillment/mutations/shipping-option.ts","../src/fulfillment/mutations/shipping-profile.ts","../src/http/index.ts","../src/http/address/entities.ts","../src/http/address/index.ts","../src/http/api-key/index.ts","../src/http/api-key/admin/index.ts","../src/http/api-key/admin/payloads.ts","../src/http/api-key/admin/queries.ts","../src/http/api-key/admin/responses.ts","../src/http/auth/index.ts","../src/http/auth/payloads.ts","../src/http/campaign/index.ts","../src/http/campaign/admin/index.ts","../src/http/campaign/admin/payloads.ts","../src/http/campaign/admin/queries.ts","../src/http/campaign/admin/responses.ts","../src/http/cart/common.ts","../src/http/cart/index.ts","../src/http/cart/store/entities.ts","../src/http/cart/store/index.ts","../src/http/cart/store/payloads.ts","../src/http/cart/store/responses.ts","../src/http/claim/common.ts","../src/http/claim/index.ts","../src/http/claim/admin/entities.ts","../src/http/claim/admin/index.ts","../src/http/claim/admin/payloads.ts","../src/http/claim/admin/queries.ts","../src/http/claim/admin/responses.ts","../src/http/collection/common.ts","../src/http/collection/index.ts","../src/http/collection/admin/entities.ts","../src/http/collection/admin/index.ts","../src/http/collection/admin/payloads.ts","../src/http/collection/admin/queries.ts","../src/http/collection/admin/responses.ts","../src/http/collection/store/entities.ts","../src/http/collection/store/index.ts","../src/http/collection/store/queries.ts","../src/http/collection/store/responses.ts","../src/http/common/additional_data.ts","../src/http/common/index.ts","../src/http/common/request.ts","../src/http/common/response.ts","../src/http/currency/common.ts","../src/http/currency/index.ts","../src/http/currency/admin/entities.ts","../src/http/currency/admin/index.ts","../src/http/currency/admin/queries.ts","../src/http/currency/admin/responses.ts","../src/http/currency/store/entities.ts","../src/http/currency/store/index.ts","../src/http/currency/store/queries.ts","../src/http/currency/store/responses.ts","../src/http/customer/common.ts","../src/http/customer/index.ts","../src/http/customer/admin/entities.ts","../src/http/customer/admin/index.ts","../src/http/customer/admin/payloads.ts","../src/http/customer/admin/queries.ts","../src/http/customer/admin/responses.ts","../src/http/customer/store/entities.ts","../src/http/customer/store/index.ts","../src/http/customer/store/payloads.ts","../src/http/customer/store/queries.ts","../src/http/customer/store/responses.ts","../src/http/customer-group/common.ts","../src/http/customer-group/index.ts","../src/http/customer-group/admin/entities.ts","../src/http/customer-group/admin/index.ts","../src/http/customer-group/admin/payloads.ts","../src/http/customer-group/admin/queries.ts","../src/http/customer-group/admin/responses.ts","../src/http/draft-order/index.ts","../src/http/draft-order/admin/entities.ts","../src/http/draft-order/admin/index.ts","../src/http/draft-order/admin/payloads.ts","../src/http/draft-order/admin/queries.ts","../src/http/draft-order/admin/responses.ts","../src/http/exchange/common.ts","../src/http/exchange/index.ts","../src/http/exchange/admin/entities.ts","../src/http/exchange/admin/index.ts","../src/http/exchange/admin/payloads.ts","../src/http/exchange/admin/queries.ts","../src/http/exchange/admin/responses.ts","../src/http/file/common.ts","../src/http/file/index.ts","../src/http/file/store.ts","../src/http/file/admin/entities.ts","../src/http/file/admin/index.ts","../src/http/file/admin/payloads.ts","../src/http/file/admin/responses.ts","../src/http/fulfillment/index.ts","../src/http/fulfillment/admin/entitites.ts","../src/http/fulfillment/admin/index.ts","../src/http/fulfillment/admin/payloads.ts","../src/http/fulfillment/admin/queries.ts","../src/http/fulfillment/admin/responses.ts","../src/http/fulfillment/store/index.ts","../src/http/fulfillment-provider/common.ts","../src/http/fulfillment-provider/index.ts","../src/http/fulfillment-provider/admin/entities.ts","../src/http/fulfillment-provider/admin/index.ts","../src/http/fulfillment-provider/admin/queries.ts","../src/http/fulfillment-provider/admin/responses.ts","../src/http/fulfillment-set/index.ts","../src/http/fulfillment-set/admin/entities.ts","../src/http/fulfillment-set/admin/index.ts","../src/http/fulfillment-set/admin/payloads.ts","../src/http/fulfillment-set/admin/queries.ts","../src/http/fulfillment-set/admin/responses.ts","../src/http/inventory/index.ts","../src/http/inventory/admin/entities.ts","../src/http/inventory/admin/index.ts","../src/http/inventory/admin/payloads.ts","../src/http/inventory/admin/queries.ts","../src/http/inventory/admin/responses.ts","../src/http/inventory-level/index.ts","../src/http/inventory-level/admin/entities.ts","../src/http/inventory-level/admin/index.ts","../src/http/inventory-level/admin/payloads.ts","../src/http/inventory-level/admin/queries.ts","../src/http/inventory-level/admin/responses.ts","../src/http/invite/index.ts","../src/http/invite/admin/entities.ts","../src/http/invite/admin/index.ts","../src/http/invite/admin/payloads.ts","../src/http/invite/admin/queries.ts","../src/http/invite/admin/responses.ts","../src/http/notification/index.ts","../src/http/notification/admin/entities.ts","../src/http/notification/admin/index.ts","../src/http/notification/admin/queries.ts","../src/http/notification/admin/responses.ts","../src/http/order/common.ts","../src/http/order/index.ts","../src/http/order/admin/entities.ts","../src/http/order/admin/index.ts","../src/http/order/admin/payload.ts","../src/http/order/admin/queries.ts","../src/http/order/admin/responses.ts","../src/http/order/store/entities.ts","../src/http/order/store/index.ts","../src/http/order/store/payloads.ts","../src/http/order/store/queries.ts","../src/http/order/store/responses.ts","../src/http/order-edit/common.ts","../src/http/order-edit/index.ts","../src/http/order-edit/admin/index.ts","../src/http/order-edit/admin/payloads.ts","../src/http/order-edit/admin/responses.ts","../src/http/payment/common.ts","../src/http/payment/index.ts","../src/http/payment/admin/entities.ts","../src/http/payment/admin/index.ts","../src/http/payment/admin/payloads.ts","../src/http/payment/admin/queries.ts","../src/http/payment/admin/responses.ts","../src/http/payment/store/entities.ts","../src/http/payment/store/index.ts","../src/http/payment/store/payloads.ts","../src/http/payment/store/queries.ts","../src/http/payment/store/responses.ts","../src/http/plugins/index.ts","../src/http/plugins/admin/responses.ts","../src/http/price-list/index.ts","../src/http/price-list/admin/entities.ts","../src/http/price-list/admin/index.ts","../src/http/price-list/admin/payloads.ts","../src/http/price-list/admin/queries.ts","../src/http/price-list/admin/responses.ts","../src/http/pricing/common.ts","../src/http/pricing/index.ts","../src/http/pricing/admin/entities.ts","../src/http/pricing/admin/index.ts","../src/http/pricing/admin/payloads.ts","../src/http/pricing/admin/queries.ts","../src/http/pricing/admin/responses.ts","../src/http/pricing/store/entities.ts","../src/http/pricing/store/index.ts","../src/http/product/common.ts","../src/http/product/index.ts","../src/http/product/admin/entitites.ts","../src/http/product/admin/index.ts","../src/http/product/admin/payloads.ts","../src/http/product/admin/queries.ts","../src/http/product/admin/responses.ts","../src/http/product/store/entitites.ts","../src/http/product/store/index.ts","../src/http/product/store/queries.ts","../src/http/product/store/responses.ts","../src/http/product-category/common.ts","../src/http/product-category/index.ts","../src/http/product-category/admin/entities.ts","../src/http/product-category/admin/index.ts","../src/http/product-category/admin/payloads.ts","../src/http/product-category/admin/queries.ts","../src/http/product-category/admin/responses.ts","../src/http/product-category/store/entities.ts","../src/http/product-category/store/index.ts","../src/http/product-category/store/queries.ts","../src/http/product-category/store/responses.ts","../src/http/product-tag/common.ts","../src/http/product-tag/index.ts","../src/http/product-tag/admin/entities.ts","../src/http/product-tag/admin/index.ts","../src/http/product-tag/admin/payloads.ts","../src/http/product-tag/admin/queries.ts","../src/http/product-tag/admin/responses.ts","../src/http/product-tag/store/entities.ts","../src/http/product-tag/store/index.ts","../src/http/product-tag/store/queries.ts","../src/http/product-tag/store/responses.ts","../src/http/product-type/common.ts","../src/http/product-type/index.ts","../src/http/product-type/admin/entities.ts","../src/http/product-type/admin/index.ts","../src/http/product-type/admin/payloads.ts","../src/http/product-type/admin/queries.ts","../src/http/product-type/admin/responses.ts","../src/http/product-type/store/entities.ts","../src/http/product-type/store/index.ts","../src/http/product-type/store/queries.ts","../src/http/product-type/store/responses.ts","../src/http/promotion/common.ts","../src/http/promotion/index.ts","../src/http/promotion/store.ts","../src/http/promotion/admin/entities.ts","../src/http/promotion/admin/index.ts","../src/http/promotion/admin/payloads.ts","../src/http/promotion/admin/queries.ts","../src/http/promotion/admin/responses.ts","../src/http/refund-reason/common.ts","../src/http/refund-reason/index.ts","../src/http/refund-reason/admin/entities.ts","../src/http/refund-reason/admin/index.ts","../src/http/refund-reason/admin/payloads.ts","../src/http/refund-reason/admin/queries.ts","../src/http/refund-reason/admin/responses.ts","../src/http/region/common.ts","../src/http/region/index.ts","../src/http/region/admin/entities.ts","../src/http/region/admin/index.ts","../src/http/region/admin/payloads.ts","../src/http/region/admin/queries.ts","../src/http/region/admin/responses.ts","../src/http/region/store/entities.ts","../src/http/region/store/index.ts","../src/http/region/store/queries.ts","../src/http/region/store/responses.ts","../src/http/reservation/index.ts","../src/http/reservation/admin/entities.ts","../src/http/reservation/admin/index.ts","../src/http/reservation/admin/payloads.ts","../src/http/reservation/admin/queries.ts","../src/http/reservation/admin/responses.ts","../src/http/return/common.ts","../src/http/return/index.ts","../src/http/return/admin/entities.ts","../src/http/return/admin/index.ts","../src/http/return/admin/payloads.ts","../src/http/return/admin/queries.ts","../src/http/return/admin/responses.ts","../src/http/return/store/entities.ts","../src/http/return/store/index.ts","../src/http/return/store/payloads.ts","../src/http/return/store/responses.ts","../src/http/return-reason/common.ts","../src/http/return-reason/index.ts","../src/http/return-reason/admin/entities.ts","../src/http/return-reason/admin/index.ts","../src/http/return-reason/admin/payloads.ts","../src/http/return-reason/admin/queries.ts","../src/http/return-reason/admin/responses.ts","../src/http/return-reason/store/entities.ts","../src/http/return-reason/store/index.ts","../src/http/return-reason/store/responses.ts","../src/http/sales-channel/index.ts","../src/http/sales-channel/admin/entities.ts","../src/http/sales-channel/admin/index.ts","../src/http/sales-channel/admin/payloads.ts","../src/http/sales-channel/admin/queries.ts","../src/http/sales-channel/admin/responses.ts","../src/http/shipping-option/index.ts","../src/http/shipping-option/admin/entities.ts","../src/http/shipping-option/admin/index.ts","../src/http/shipping-option/admin/payloads.ts","../src/http/shipping-option/admin/queries.ts","../src/http/shipping-option/admin/responses.ts","../src/http/shipping-option/store/entities.ts","../src/http/shipping-option/store/index.ts","../src/http/shipping-option/store/payloads.ts","../src/http/shipping-option/store/queries.ts","../src/http/shipping-option/store/responses.ts","../src/http/shipping-profile/index.ts","../src/http/shipping-profile/admin/entities.ts","../src/http/shipping-profile/admin/index.ts","../src/http/shipping-profile/admin/payloads.ts","../src/http/shipping-profile/admin/queries.ts","../src/http/shipping-profile/admin/responses.ts","../src/http/stock-locations/index.ts","../src/http/stock-locations/admin/entities.ts","../src/http/stock-locations/admin/index.ts","../src/http/stock-locations/admin/payloads.ts","../src/http/stock-locations/admin/queries.ts","../src/http/stock-locations/admin/responses.ts","../src/http/store/index.ts","../src/http/store/admin/entities.ts","../src/http/store/admin/index.ts","../src/http/store/admin/payloads.ts","../src/http/store/admin/queries.ts","../src/http/store/admin/responses.ts","../src/http/tax-provider/index.ts","../src/http/tax-provider/admin/entities.ts","../src/http/tax-provider/admin/index.ts","../src/http/tax-provider/admin/queries.ts","../src/http/tax-provider/admin/responses.ts","../src/http/tax-rate/index.ts","../src/http/tax-rate/admin/entities.ts","../src/http/tax-rate/admin/index.ts","../src/http/tax-rate/admin/payloads.ts","../src/http/tax-rate/admin/queries.ts","../src/http/tax-rate/admin/responses.ts","../src/http/tax-region/index.ts","../src/http/tax-region/admin/entities.ts","../src/http/tax-region/admin/index.ts","../src/http/tax-region/admin/payloads.ts","../src/http/tax-region/admin/queries.ts","../src/http/tax-region/admin/responses.ts","../src/http/user/index.ts","../src/http/user/admin/entities.ts","../src/http/user/admin/index.ts","../src/http/user/admin/payloads.ts","../src/http/user/admin/queries.ts","../src/http/user/admin/responses.ts","../src/http/view-configuration/index.ts","../src/http/view-configuration/admin/columns.ts","../src/http/view-configuration/admin/index.ts","../src/http/view-configuration/admin/payloads.ts","../src/http/view-configuration/admin/queries.ts","../src/http/view-configuration/admin/responses.ts","../src/http/workflow-execution/index.ts","../src/http/workflow-execution/admin/entities.ts","../src/http/workflow-execution/admin/index.ts","../src/http/workflow-execution/admin/queries.ts","../src/http/workflow-execution/admin/responses.ts","../src/index-data/common.ts","../src/index-data/index-operator-map.ts","../src/index-data/index-service-entry-points.ts","../src/index-data/index.ts","../src/index-data/service.ts","../src/index-data/storage-provider.ts","../src/index-data/__fixtures__/index-service-entry-points.ts","../src/index-data/__tests__/index.spec.ts","../src/index-data/query-config/common.ts","../src/index-data/query-config/index.ts","../src/index-data/query-config/query-input-config-fields.ts","../src/index-data/query-config/query-input-config-filters.ts","../src/index-data/query-config/query-input-config-order-by.ts","../src/index-data/query-config/query-input-config.ts","../src/inventory/index.ts","../src/inventory/service.ts","../src/inventory/common/index.ts","../src/inventory/common/inventory-item.ts","../src/inventory/common/inventory-level.ts","../src/inventory/common/reservation-item.ts","../src/inventory/mutations/index.ts","../src/inventory/mutations/inventory-item.ts","../src/inventory/mutations/inventory-level.ts","../src/inventory/mutations/reservation-item.ts","../src/joiner/index.ts","../src/link-modules/index.ts","../src/link-modules/migrations.ts","../src/link-modules/service.ts","../src/locking/index.ts","../src/logger/index.ts","../src/modules-sdk/index.ts","../src/modules-sdk/medusa-internal-service.ts","../src/modules-sdk/module-provider.ts","../src/modules-sdk/object-to-remote-query-fields.ts","../src/modules-sdk/remote-query-entry-points.ts","../src/modules-sdk/remote-query-object-from-string.ts","../src/modules-sdk/remote-query.ts","../src/modules-sdk/to-remote-query.ts","../src/modules-sdk/__fixtures__/remote-query.ts","../src/modules-sdk/__tests__/object-to-remote-query-fields.spec.ts","../src/modules-sdk/__tests__/query.spec.ts","../src/modules-sdk/__tests__/remote-query.spec.ts","../src/notification/common.ts","../src/notification/index.ts","../src/notification/mutations.ts","../src/notification/provider.ts","../src/notification/service.ts","../src/notification/providers/index.ts","../src/notification/providers/logger.ts","../src/notification/providers/sendgrid.ts","../src/order/common.ts","../src/order/index.ts","../src/order/mutations.ts","../src/order/service.ts","../src/order/workflows.ts","../src/payment/common.ts","../src/payment/index.ts","../src/payment/mutations.ts","../src/payment/provider.ts","../src/payment/service.ts","../src/pricing/index.ts","../src/pricing/service.ts","../src/pricing/workflows.ts","../src/pricing/common/index.ts","../src/pricing/common/money-amount.ts","../src/pricing/common/price-list.ts","../src/pricing/common/price-preference.ts","../src/pricing/common/price-rule.ts","../src/pricing/common/price-set.ts","../src/pricing/common/price.ts","../src/pricing/common/pricing-context.ts","../src/product/common.ts","../src/product/index.ts","../src/product/service.ts","../src/product-category/index.ts","../src/product-category/repository.ts","../src/promotion/http.ts","../src/promotion/index.ts","../src/promotion/mutations.ts","../src/promotion/service.ts","../src/promotion/workflows.ts","../src/promotion/common/application-method.ts","../src/promotion/common/campaign-budget.ts","../src/promotion/common/campaign.ts","../src/promotion/common/campaing-budget-usage.ts","../src/promotion/common/compute-actions.ts","../src/promotion/common/index.ts","../src/promotion/common/promotion-rule-value.ts","../src/promotion/common/promotion-rule.ts","../src/promotion/common/promotion.ts","../src/region/common.ts","../src/region/index.ts","../src/region/mutations.ts","../src/region/service.ts","../src/sales-channel/common.ts","../src/sales-channel/index.ts","../src/sales-channel/mutations.ts","../src/sales-channel/service.ts","../src/search/index.ts","../src/search/interface.ts","../src/search/settings.ts","../src/settings/common.ts","../src/settings/index.ts","../src/settings/mutations.ts","../src/settings/service.ts","../src/stock-location/common.ts","../src/stock-location/index.ts","../src/stock-location/service.ts","../src/store/index.ts","../src/store/service.ts","../src/store/common/index.ts","../src/store/common/store.ts","../src/store/mutations/index.ts","../src/store/mutations/store.ts","../src/tax/common.ts","../src/tax/index.ts","../src/tax/mutations.ts","../src/tax/provider.ts","../src/tax/service.ts","../src/totals/big-number.ts","../src/totals/index.ts","../src/transaction-base/index.ts","../src/transaction-base/transaction-base.ts","../src/user/common.ts","../src/user/index.ts","../src/user/mutations.ts","../src/user/service.ts","../src/workflow/common.ts","../src/workflow/index.ts","../src/workflow/cart/create-cart.ts","../src/workflow/cart/index.ts","../src/workflow/fulfillment/calculate-shipping-options-prices.ts","../src/workflow/fulfillment/create-fulfillment.ts","../src/workflow/fulfillment/create-shipment.ts","../src/workflow/fulfillment/create-shipping-options.ts","../src/workflow/fulfillment/delete-shipping-options.ts","../src/workflow/fulfillment/index.ts","../src/workflow/fulfillment/service-zones.ts","../src/workflow/fulfillment/shipping-profiles.ts","../src/workflow/fulfillment/update-fulfillment.ts","../src/workflow/fulfillment/update-shipping-options.ts","../src/workflow/inventory/create-inventory-items.ts","../src/workflow/inventory/index.ts","../src/workflow/invite/accept-invite.ts","../src/workflow/invite/create-invite.ts","../src/workflow/invite/delete-invite.ts","../src/workflow/invite/index.ts","../src/workflow/invite/resend-invite.ts","../src/workflow/order/accept-transfer.ts","../src/workflow/order/begin-claim-order.ts","../src/workflow/order/begin-exchange-order.ts","../src/workflow/order/begin-order-edit.ts","../src/workflow/order/begin-return-order.ts","../src/workflow/order/cancel-claim.ts","../src/workflow/order/cancel-exchange.ts","../src/workflow/order/cancel-fulfillment.ts","../src/workflow/order/cancel-order.ts","../src/workflow/order/cancel-return.ts","../src/workflow/order/cancel-transfer.ts","../src/workflow/order/create-fulfillment.ts","../src/workflow/order/create-return-order.ts","../src/workflow/order/create-shipment.ts","../src/workflow/order/decline-transfer.ts","../src/workflow/order/index.ts","../src/workflow/order/items.ts","../src/workflow/order/receive-return.ts","../src/workflow/order/request-item-return.ts","../src/workflow/order/request-transfer.ts","../src/workflow/order/shipping-method.ts","../src/workflow/order/update-order.ts","../src/workflow/order/update-return.ts","../src/workflow/price-list/create-price-list.ts","../src/workflow/price-list/index.ts","../src/workflow/price-list/remove-price-list.ts","../src/workflow/pricing/index.ts","../src/workflow/product/create-product-variants.ts","../src/workflow/product/create-products.ts","../src/workflow/product/export-products.ts","../src/workflow/product/import-products.ts","../src/workflow/product/index.ts","../src/workflow/product/update-product-variants.ts","../src/workflow/product/update-products.ts","../src/workflow/product-category/index.ts","../src/workflow/region/create-regions.ts","../src/workflow/region/index.ts","../src/workflow/region/update-regions.ts","../src/workflow/reservation/create-reservations.ts","../src/workflow/reservation/index.ts","../src/workflow/reservation/update-reservations.ts","../src/workflow/store/index.ts","../src/workflow/user/create-user.ts","../src/workflow/user/delete-user.ts","../src/workflow/user/index.ts","../src/workflow/user/update-user.ts","../src/workflows/index.ts","../src/workflows/products/index.ts","../src/workflows/products/mutations.ts","../src/workflows/stock-locations/index.ts","../src/workflows/stock-locations/mutations.ts","../src/workflows-sdk/common.ts","../src/workflows-sdk/index.ts","../src/workflows-sdk/mutations.ts","../src/workflows-sdk/service.ts"],"version":"5.6.2"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/types",
3
- "version": "2.10.4-snapshot-20251009094748",
3
+ "version": "2.10.4-snapshot-20251013091555",
4
4
  "description": "Medusa Types definition",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -35,7 +35,7 @@
35
35
  "bignumber.js": "^9.1.2"
36
36
  },
37
37
  "devDependencies": {
38
- "@medusajs/deps": "2.10.4-snapshot-20251009094748",
38
+ "@medusajs/deps": "2.10.4-snapshot-20251013091555",
39
39
  "@types/jsonwebtoken": "^8.5.9",
40
40
  "expect-type": "^0.20.0",
41
41
  "ioredis": "^5.4.1",