@wix/auto_sdk_stores_inventory 1.0.98 → 1.0.99
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.
- package/build/cjs/index.d.ts +21 -21
- package/build/cjs/index.js +151 -139
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +197 -197
- package/build/cjs/index.typings.js +134 -122
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +178 -178
- package/build/cjs/meta.js +120 -108
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +21 -21
- package/build/es/index.mjs +151 -139
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +197 -197
- package/build/es/index.typings.mjs +134 -122
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +178 -178
- package/build/es/meta.mjs +120 -108
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +21 -21
- package/build/internal/cjs/index.typings.d.ts +242 -242
- package/build/internal/cjs/meta.d.ts +190 -190
- package/build/internal/es/index.d.mts +21 -21
- package/build/internal/es/index.typings.d.mts +242 -242
- package/build/internal/es/meta.d.mts +190 -190
- package/package.json +2 -2
package/build/es/index.mjs
CHANGED
|
@@ -19,35 +19,6 @@ import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths
|
|
|
19
19
|
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
20
20
|
var TRANSFORM_PATHS_0 = [{ path: "inventoryItem.lastUpdated" }];
|
|
21
21
|
var TRANSFORM_PATHS_1 = [{ path: "inventoryItems.lastUpdated" }];
|
|
22
|
-
function resolveWixInventoryApiV1InventoryReadApiUrl(opts) {
|
|
23
|
-
const domainToMappings = {
|
|
24
|
-
"www.wixapis.com": [
|
|
25
|
-
{
|
|
26
|
-
srcPath: "/stores-reader/v2/inventoryItems",
|
|
27
|
-
destPath: "/v2/inventoryItems"
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
"api._api_base_domain_": [
|
|
31
|
-
{
|
|
32
|
-
srcPath: "/inventory-read-api-proxy",
|
|
33
|
-
destPath: ""
|
|
34
|
-
}
|
|
35
|
-
],
|
|
36
|
-
_: [
|
|
37
|
-
{
|
|
38
|
-
srcPath: "/stores-reader/v2/inventoryItems",
|
|
39
|
-
destPath: "/v2/inventoryItems"
|
|
40
|
-
}
|
|
41
|
-
],
|
|
42
|
-
"*.dev.wix-code.com": [
|
|
43
|
-
{
|
|
44
|
-
srcPath: "/stores-reader/v2/inventoryItems",
|
|
45
|
-
destPath: "/v2/inventoryItems"
|
|
46
|
-
}
|
|
47
|
-
]
|
|
48
|
-
};
|
|
49
|
-
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
50
|
-
}
|
|
51
22
|
function resolveWixInventoryApiV1InventoryWriteApiUrl(opts) {
|
|
52
23
|
const domainToMappings = {
|
|
53
24
|
_: [
|
|
@@ -126,6 +97,18 @@ function resolveWixInventoryApiV1InventoryWriteApiUrl(opts) {
|
|
|
126
97
|
{
|
|
127
98
|
srcPath: "/catalog-write-api-proxy",
|
|
128
99
|
destPath: ""
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
srcPath: "/_api/catalog-server/v1/products",
|
|
103
|
+
destPath: "/v1/products"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
srcPath: "/_api/catalog-server/v1/collections",
|
|
107
|
+
destPath: "/v1/collections"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
srcPath: "/_api/catalog-server/v1/bulk/products",
|
|
111
|
+
destPath: "/v1/bulk/products"
|
|
129
112
|
}
|
|
130
113
|
],
|
|
131
114
|
"editor._base_domain_": [
|
|
@@ -149,7 +132,90 @@ function resolveWixInventoryApiV1InventoryWriteApiUrl(opts) {
|
|
|
149
132
|
};
|
|
150
133
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
151
134
|
}
|
|
135
|
+
function resolveWixInventoryApiV1InventoryReadApiUrl(opts) {
|
|
136
|
+
const domainToMappings = {
|
|
137
|
+
"www.wixapis.com": [
|
|
138
|
+
{
|
|
139
|
+
srcPath: "/stores-reader/v2/inventoryItems",
|
|
140
|
+
destPath: "/v2/inventoryItems"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"api._api_base_domain_": [
|
|
144
|
+
{
|
|
145
|
+
srcPath: "/inventory-read-api-proxy",
|
|
146
|
+
destPath: ""
|
|
147
|
+
}
|
|
148
|
+
],
|
|
149
|
+
_: [
|
|
150
|
+
{
|
|
151
|
+
srcPath: "/stores-reader/v2/inventoryItems",
|
|
152
|
+
destPath: "/v2/inventoryItems"
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"*.dev.wix-code.com": [
|
|
156
|
+
{
|
|
157
|
+
srcPath: "/stores-reader/v2/inventoryItems",
|
|
158
|
+
destPath: "/v2/inventoryItems"
|
|
159
|
+
}
|
|
160
|
+
]
|
|
161
|
+
};
|
|
162
|
+
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
163
|
+
}
|
|
152
164
|
var PACKAGE_NAME = "@wix/auto_sdk_stores_inventory";
|
|
165
|
+
function getInventoryVariants(payload) {
|
|
166
|
+
function __getInventoryVariants({ host }) {
|
|
167
|
+
const metadata = {
|
|
168
|
+
entityFqdn: "wix.stores.v2.inventory",
|
|
169
|
+
method: "POST",
|
|
170
|
+
methodFqn: "wix.inventory.api.v1.InventoryReadApi.GetInventoryVariants",
|
|
171
|
+
packageName: PACKAGE_NAME,
|
|
172
|
+
migrationOptions: {
|
|
173
|
+
optInTransformResponse: true
|
|
174
|
+
},
|
|
175
|
+
url: resolveWixInventoryApiV1InventoryReadApiUrl({
|
|
176
|
+
protoPath: "/v2/inventoryItems/{inventoryId}/getVariants",
|
|
177
|
+
data: payload,
|
|
178
|
+
host
|
|
179
|
+
}),
|
|
180
|
+
data: payload,
|
|
181
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
182
|
+
{
|
|
183
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
184
|
+
paths: TRANSFORM_PATHS_0
|
|
185
|
+
}
|
|
186
|
+
])
|
|
187
|
+
};
|
|
188
|
+
return metadata;
|
|
189
|
+
}
|
|
190
|
+
return __getInventoryVariants;
|
|
191
|
+
}
|
|
192
|
+
function queryInventory(payload) {
|
|
193
|
+
function __queryInventory({ host }) {
|
|
194
|
+
const metadata = {
|
|
195
|
+
entityFqdn: "wix.stores.v2.inventory",
|
|
196
|
+
method: "POST",
|
|
197
|
+
methodFqn: "wix.inventory.api.v1.InventoryReadApi.QueryInventory",
|
|
198
|
+
packageName: PACKAGE_NAME,
|
|
199
|
+
migrationOptions: {
|
|
200
|
+
optInTransformResponse: true
|
|
201
|
+
},
|
|
202
|
+
url: resolveWixInventoryApiV1InventoryReadApiUrl({
|
|
203
|
+
protoPath: "/v2/inventoryItems/query",
|
|
204
|
+
data: payload,
|
|
205
|
+
host
|
|
206
|
+
}),
|
|
207
|
+
data: payload,
|
|
208
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
209
|
+
{
|
|
210
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
211
|
+
paths: TRANSFORM_PATHS_1
|
|
212
|
+
}
|
|
213
|
+
])
|
|
214
|
+
};
|
|
215
|
+
return metadata;
|
|
216
|
+
}
|
|
217
|
+
return __queryInventory;
|
|
218
|
+
}
|
|
153
219
|
function updateInventoryVariants(payload) {
|
|
154
220
|
function __updateInventoryVariants({ host }) {
|
|
155
221
|
const serializedData = transformPaths(payload, [
|
|
@@ -219,60 +285,6 @@ function incrementInventory(payload) {
|
|
|
219
285
|
}
|
|
220
286
|
return __incrementInventory;
|
|
221
287
|
}
|
|
222
|
-
function getInventoryVariants(payload) {
|
|
223
|
-
function __getInventoryVariants({ host }) {
|
|
224
|
-
const metadata = {
|
|
225
|
-
entityFqdn: "wix.stores.v2.inventory",
|
|
226
|
-
method: "POST",
|
|
227
|
-
methodFqn: "wix.inventory.api.v1.InventoryReadApi.GetInventoryVariants",
|
|
228
|
-
packageName: PACKAGE_NAME,
|
|
229
|
-
migrationOptions: {
|
|
230
|
-
optInTransformResponse: true
|
|
231
|
-
},
|
|
232
|
-
url: resolveWixInventoryApiV1InventoryReadApiUrl({
|
|
233
|
-
protoPath: "/v2/inventoryItems/{inventoryId}/getVariants",
|
|
234
|
-
data: payload,
|
|
235
|
-
host
|
|
236
|
-
}),
|
|
237
|
-
data: payload,
|
|
238
|
-
transformResponse: (payload2) => transformPaths(payload2, [
|
|
239
|
-
{
|
|
240
|
-
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
241
|
-
paths: TRANSFORM_PATHS_0
|
|
242
|
-
}
|
|
243
|
-
])
|
|
244
|
-
};
|
|
245
|
-
return metadata;
|
|
246
|
-
}
|
|
247
|
-
return __getInventoryVariants;
|
|
248
|
-
}
|
|
249
|
-
function queryInventory(payload) {
|
|
250
|
-
function __queryInventory({ host }) {
|
|
251
|
-
const metadata = {
|
|
252
|
-
entityFqdn: "wix.stores.v2.inventory",
|
|
253
|
-
method: "POST",
|
|
254
|
-
methodFqn: "wix.inventory.api.v1.InventoryReadApi.QueryInventory",
|
|
255
|
-
packageName: PACKAGE_NAME,
|
|
256
|
-
migrationOptions: {
|
|
257
|
-
optInTransformResponse: true
|
|
258
|
-
},
|
|
259
|
-
url: resolveWixInventoryApiV1InventoryReadApiUrl({
|
|
260
|
-
protoPath: "/v2/inventoryItems/query",
|
|
261
|
-
data: payload,
|
|
262
|
-
host
|
|
263
|
-
}),
|
|
264
|
-
data: payload,
|
|
265
|
-
transformResponse: (payload2) => transformPaths(payload2, [
|
|
266
|
-
{
|
|
267
|
-
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
268
|
-
paths: TRANSFORM_PATHS_1
|
|
269
|
-
}
|
|
270
|
-
])
|
|
271
|
-
};
|
|
272
|
-
return metadata;
|
|
273
|
-
}
|
|
274
|
-
return __queryInventory;
|
|
275
|
-
}
|
|
276
288
|
|
|
277
289
|
// src/stores-v2-inventory-inventory.universal.ts
|
|
278
290
|
var ReasonType = /* @__PURE__ */ ((ReasonType2) => {
|
|
@@ -290,60 +302,70 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
290
302
|
WebhookIdentityType2["APP"] = "APP";
|
|
291
303
|
return WebhookIdentityType2;
|
|
292
304
|
})(WebhookIdentityType || {});
|
|
293
|
-
async function
|
|
305
|
+
async function getInventoryVariants2(inventoryId, options) {
|
|
294
306
|
const { httpClient, sideEffects } = arguments[2];
|
|
295
307
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
296
|
-
|
|
308
|
+
inventoryId,
|
|
309
|
+
externalId: options?.externalId,
|
|
310
|
+
productId: options?.productId,
|
|
311
|
+
variantIds: options?.variantIds
|
|
297
312
|
});
|
|
298
|
-
const reqOpts =
|
|
313
|
+
const reqOpts = getInventoryVariants(payload);
|
|
299
314
|
sideEffects?.onSiteCall?.();
|
|
300
315
|
try {
|
|
301
316
|
const result = await httpClient.request(reqOpts);
|
|
302
317
|
sideEffects?.onSuccess?.(result);
|
|
318
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
303
319
|
} catch (err) {
|
|
304
320
|
const transformedError = sdkTransformError(
|
|
305
321
|
err,
|
|
306
322
|
{
|
|
307
|
-
spreadPathsToArguments: {
|
|
308
|
-
explicitPathsToArguments: {
|
|
323
|
+
spreadPathsToArguments: {},
|
|
324
|
+
explicitPathsToArguments: {
|
|
325
|
+
inventoryId: "$[0]",
|
|
326
|
+
externalId: "$[1].externalId",
|
|
327
|
+
productId: "$[1].productId",
|
|
328
|
+
variantIds: "$[1].variantIds"
|
|
329
|
+
},
|
|
309
330
|
singleArgumentUnchanged: false
|
|
310
331
|
},
|
|
311
|
-
["
|
|
332
|
+
["inventoryId", "options"]
|
|
312
333
|
);
|
|
313
334
|
sideEffects?.onError?.(err);
|
|
314
335
|
throw transformedError;
|
|
315
336
|
}
|
|
316
337
|
}
|
|
317
|
-
async function
|
|
338
|
+
async function queryInventory2(options) {
|
|
318
339
|
const { httpClient, sideEffects } = arguments[1];
|
|
319
340
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
320
|
-
|
|
341
|
+
query: options?.query
|
|
321
342
|
});
|
|
322
|
-
const reqOpts =
|
|
343
|
+
const reqOpts = queryInventory(payload);
|
|
323
344
|
sideEffects?.onSiteCall?.();
|
|
324
345
|
try {
|
|
325
346
|
const result = await httpClient.request(reqOpts);
|
|
326
347
|
sideEffects?.onSuccess?.(result);
|
|
348
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
327
349
|
} catch (err) {
|
|
328
350
|
const transformedError = sdkTransformError(
|
|
329
351
|
err,
|
|
330
352
|
{
|
|
331
353
|
spreadPathsToArguments: {},
|
|
332
|
-
explicitPathsToArguments: {
|
|
354
|
+
explicitPathsToArguments: { query: "$[0].query" },
|
|
333
355
|
singleArgumentUnchanged: false
|
|
334
356
|
},
|
|
335
|
-
["
|
|
357
|
+
["options"]
|
|
336
358
|
);
|
|
337
359
|
sideEffects?.onError?.(err);
|
|
338
360
|
throw transformedError;
|
|
339
361
|
}
|
|
340
362
|
}
|
|
341
|
-
async function
|
|
342
|
-
const { httpClient, sideEffects } = arguments[
|
|
363
|
+
async function updateInventoryVariants2(productId, inventoryItem) {
|
|
364
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
343
365
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
344
|
-
|
|
366
|
+
inventoryItem: { ...inventoryItem, productId }
|
|
345
367
|
});
|
|
346
|
-
const reqOpts =
|
|
368
|
+
const reqOpts = updateInventoryVariants(payload);
|
|
347
369
|
sideEffects?.onSiteCall?.();
|
|
348
370
|
try {
|
|
349
371
|
const result = await httpClient.request(reqOpts);
|
|
@@ -352,69 +374,59 @@ async function incrementInventory2(incrementData) {
|
|
|
352
374
|
const transformedError = sdkTransformError(
|
|
353
375
|
err,
|
|
354
376
|
{
|
|
355
|
-
spreadPathsToArguments: {},
|
|
356
|
-
explicitPathsToArguments: {
|
|
377
|
+
spreadPathsToArguments: { inventoryItem: "$[1]" },
|
|
378
|
+
explicitPathsToArguments: { "inventoryItem.productId": "$[0]" },
|
|
357
379
|
singleArgumentUnchanged: false
|
|
358
380
|
},
|
|
359
|
-
["
|
|
381
|
+
["productId", "inventoryItem"]
|
|
360
382
|
);
|
|
361
383
|
sideEffects?.onError?.(err);
|
|
362
384
|
throw transformedError;
|
|
363
385
|
}
|
|
364
386
|
}
|
|
365
|
-
async function
|
|
366
|
-
const { httpClient, sideEffects } = arguments[
|
|
387
|
+
async function decrementInventory2(decrementData) {
|
|
388
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
367
389
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
368
|
-
|
|
369
|
-
externalId: options?.externalId,
|
|
370
|
-
productId: options?.productId,
|
|
371
|
-
variantIds: options?.variantIds
|
|
390
|
+
decrementData
|
|
372
391
|
});
|
|
373
|
-
const reqOpts =
|
|
392
|
+
const reqOpts = decrementInventory(payload);
|
|
374
393
|
sideEffects?.onSiteCall?.();
|
|
375
394
|
try {
|
|
376
395
|
const result = await httpClient.request(reqOpts);
|
|
377
396
|
sideEffects?.onSuccess?.(result);
|
|
378
|
-
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
379
397
|
} catch (err) {
|
|
380
398
|
const transformedError = sdkTransformError(
|
|
381
399
|
err,
|
|
382
400
|
{
|
|
383
401
|
spreadPathsToArguments: {},
|
|
384
|
-
explicitPathsToArguments: {
|
|
385
|
-
inventoryId: "$[0]",
|
|
386
|
-
externalId: "$[1].externalId",
|
|
387
|
-
productId: "$[1].productId",
|
|
388
|
-
variantIds: "$[1].variantIds"
|
|
389
|
-
},
|
|
402
|
+
explicitPathsToArguments: { decrementData: "$[0]" },
|
|
390
403
|
singleArgumentUnchanged: false
|
|
391
404
|
},
|
|
392
|
-
["
|
|
405
|
+
["decrementData"]
|
|
393
406
|
);
|
|
394
407
|
sideEffects?.onError?.(err);
|
|
395
408
|
throw transformedError;
|
|
396
409
|
}
|
|
397
410
|
}
|
|
398
|
-
async function
|
|
411
|
+
async function incrementInventory2(incrementData) {
|
|
399
412
|
const { httpClient, sideEffects } = arguments[1];
|
|
400
413
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
401
|
-
|
|
414
|
+
incrementData
|
|
402
415
|
});
|
|
403
|
-
const reqOpts =
|
|
416
|
+
const reqOpts = incrementInventory(payload);
|
|
404
417
|
sideEffects?.onSiteCall?.();
|
|
405
418
|
try {
|
|
406
419
|
const result = await httpClient.request(reqOpts);
|
|
407
420
|
sideEffects?.onSuccess?.(result);
|
|
408
|
-
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
409
421
|
} catch (err) {
|
|
410
422
|
const transformedError = sdkTransformError(
|
|
411
423
|
err,
|
|
412
424
|
{
|
|
413
425
|
spreadPathsToArguments: {},
|
|
414
|
-
explicitPathsToArguments: {
|
|
426
|
+
explicitPathsToArguments: { incrementData: "$[0]" },
|
|
415
427
|
singleArgumentUnchanged: false
|
|
416
428
|
},
|
|
417
|
-
["
|
|
429
|
+
["incrementData"]
|
|
418
430
|
);
|
|
419
431
|
sideEffects?.onError?.(err);
|
|
420
432
|
throw transformedError;
|
|
@@ -424,6 +436,21 @@ async function queryInventory2(options) {
|
|
|
424
436
|
// src/stores-v2-inventory-inventory.public.ts
|
|
425
437
|
var TRANSFORM_PATHS_02 = [{ path: "data.fieldMask" }];
|
|
426
438
|
var TRANSFORM_PATHS_12 = [{ path: "data.updatedDate" }];
|
|
439
|
+
function getInventoryVariants3(httpClient) {
|
|
440
|
+
return (inventoryId, options) => getInventoryVariants2(
|
|
441
|
+
inventoryId,
|
|
442
|
+
options,
|
|
443
|
+
// @ts-ignore
|
|
444
|
+
{ httpClient }
|
|
445
|
+
);
|
|
446
|
+
}
|
|
447
|
+
function queryInventory3(httpClient) {
|
|
448
|
+
return (options) => queryInventory2(
|
|
449
|
+
options,
|
|
450
|
+
// @ts-ignore
|
|
451
|
+
{ httpClient }
|
|
452
|
+
);
|
|
453
|
+
}
|
|
427
454
|
function updateInventoryVariants3(httpClient) {
|
|
428
455
|
return (productId, inventoryItem) => updateInventoryVariants2(
|
|
429
456
|
productId,
|
|
@@ -446,21 +473,6 @@ function incrementInventory3(httpClient) {
|
|
|
446
473
|
{ httpClient }
|
|
447
474
|
);
|
|
448
475
|
}
|
|
449
|
-
function getInventoryVariants3(httpClient) {
|
|
450
|
-
return (inventoryId, options) => getInventoryVariants2(
|
|
451
|
-
inventoryId,
|
|
452
|
-
options,
|
|
453
|
-
// @ts-ignore
|
|
454
|
-
{ httpClient }
|
|
455
|
-
);
|
|
456
|
-
}
|
|
457
|
-
function queryInventory3(httpClient) {
|
|
458
|
-
return (options) => queryInventory2(
|
|
459
|
-
options,
|
|
460
|
-
// @ts-ignore
|
|
461
|
-
{ httpClient }
|
|
462
|
-
);
|
|
463
|
-
}
|
|
464
476
|
var onInventoryItemChanged = /* @__PURE__ */ EventDefinition(
|
|
465
477
|
"com.wix.ecommerce.inventory.api.v1.InventoryItemChanged",
|
|
466
478
|
false,
|
|
@@ -493,11 +505,11 @@ var onInventoryVariantsChanged = /* @__PURE__ */ EventDefinition(
|
|
|
493
505
|
// src/stores-v2-inventory-inventory.context.ts
|
|
494
506
|
import { createRESTModule } from "@wix/sdk-runtime/rest-modules";
|
|
495
507
|
import { createEventModule } from "@wix/sdk-runtime/event-definition-modules";
|
|
508
|
+
var getInventoryVariants4 = /* @__PURE__ */ createRESTModule(getInventoryVariants3);
|
|
509
|
+
var queryInventory4 = /* @__PURE__ */ createRESTModule(queryInventory3);
|
|
496
510
|
var updateInventoryVariants4 = /* @__PURE__ */ createRESTModule(updateInventoryVariants3);
|
|
497
511
|
var decrementInventory4 = /* @__PURE__ */ createRESTModule(decrementInventory3);
|
|
498
512
|
var incrementInventory4 = /* @__PURE__ */ createRESTModule(incrementInventory3);
|
|
499
|
-
var getInventoryVariants4 = /* @__PURE__ */ createRESTModule(getInventoryVariants3);
|
|
500
|
-
var queryInventory4 = /* @__PURE__ */ createRESTModule(queryInventory3);
|
|
501
513
|
var onInventoryItemChanged2 = /* @__PURE__ */ createEventModule(
|
|
502
514
|
onInventoryItemChanged
|
|
503
515
|
);
|