@wix/auto_sdk_stores_inventory 1.0.77 → 1.0.78

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.
@@ -1,4 +1,4 @@
1
- import { UpdateInventoryVariantsRequest as UpdateInventoryVariantsRequest$1, UpdateInventoryVariantsResponse as UpdateInventoryVariantsResponse$1, DecrementInventoryRequest as DecrementInventoryRequest$1, DecrementInventoryResponse as DecrementInventoryResponse$1, IncrementInventoryRequest as IncrementInventoryRequest$1, IncrementInventoryResponse as IncrementInventoryResponse$1, GetInventoryVariantsRequest as GetInventoryVariantsRequest$1, GetInventoryVariantsResponse as GetInventoryVariantsResponse$1, QueryInventoryRequest as QueryInventoryRequest$1, QueryInventoryResponse as QueryInventoryResponse$1 } from './index.typings.js';
1
+ import { GetInventoryVariantsRequest as GetInventoryVariantsRequest$1, GetInventoryVariantsResponse as GetInventoryVariantsResponse$1, QueryInventoryRequest as QueryInventoryRequest$1, QueryInventoryResponse as QueryInventoryResponse$1, UpdateInventoryVariantsRequest as UpdateInventoryVariantsRequest$1, UpdateInventoryVariantsResponse as UpdateInventoryVariantsResponse$1, DecrementInventoryRequest as DecrementInventoryRequest$1, DecrementInventoryResponse as DecrementInventoryResponse$1, IncrementInventoryRequest as IncrementInventoryRequest$1, IncrementInventoryResponse as IncrementInventoryResponse$1 } from './index.typings.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  interface InventoryItemV2 {
@@ -63,191 +63,6 @@ interface PreorderInfo {
63
63
  */
64
64
  limit?: number | null;
65
65
  }
66
- interface UpdateInventoryVariantsRequest {
67
- /** Inventory item. */
68
- inventoryItem: InventoryItemV2;
69
- /** @internal */
70
- reason?: ReasonTypeWithLiterals;
71
- }
72
- declare enum ReasonType {
73
- /** Unknown reason. */
74
- UNKNOWN = "UNKNOWN",
75
- /** Order related. */
76
- ORDER = "ORDER",
77
- /** Manual adjustment. */
78
- MANUAL = "MANUAL",
79
- /** Reverting an inventory change. */
80
- REVERT_INVENTORY_CHANGE = "REVERT_INVENTORY_CHANGE"
81
- }
82
- /** @enumType */
83
- type ReasonTypeWithLiterals = ReasonType | 'UNKNOWN' | 'ORDER' | 'MANUAL' | 'REVERT_INVENTORY_CHANGE';
84
- interface UpdateInventoryVariantsResponse {
85
- }
86
- interface BulkUpdateInventoryVariantsRequest extends BulkUpdateInventoryVariantsRequestActionOneOf {
87
- /** Change availability. */
88
- setInStock?: boolean | null;
89
- /** Set new quantity. */
90
- setQuantity?: number | null;
91
- /**
92
- * Number to increment inventory by.
93
- * @min 1
94
- */
95
- incrementBy?: number | null;
96
- /**
97
- * Number to decrement inventory by.
98
- * @min 1
99
- */
100
- decrementBy?: number | null;
101
- /** Variants filter. Learn more about [API query language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language). */
102
- filter?: Record<string, any> | null;
103
- /** @internal */
104
- reason?: ReasonTypeWithLiterals;
105
- /** @internal */
106
- changeTrackingMethod?: boolean;
107
- }
108
- /** @oneof */
109
- interface BulkUpdateInventoryVariantsRequestActionOneOf {
110
- /** Change availability. */
111
- setInStock?: boolean | null;
112
- /** Set new quantity. */
113
- setQuantity?: number | null;
114
- /**
115
- * Number to increment inventory by.
116
- * @min 1
117
- */
118
- incrementBy?: number | null;
119
- /**
120
- * Number to decrement inventory by.
121
- * @min 1
122
- */
123
- decrementBy?: number | null;
124
- }
125
- interface BulkUpdateInventoryVariantsResponse {
126
- }
127
- interface BulkUpdateInventoryItemsRequest {
128
- /** Variants filter */
129
- variantsFilter?: Record<string, any> | null;
130
- /** Whether inventory is being tracked. */
131
- trackInventory?: boolean | null;
132
- }
133
- interface BulkUpdateInventoryItemsResponse {
134
- }
135
- interface DecrementInventoryRequest {
136
- /**
137
- * @minSize 1
138
- * @maxSize 300
139
- */
140
- decrementData?: DecrementData[];
141
- /** @internal */
142
- reason?: ReasonTypeWithLiterals;
143
- /** @internal */
144
- restrictInventoryValue?: boolean;
145
- }
146
- interface DecrementData extends DecrementDataIdOneOf {
147
- /**
148
- * Inventory item ID.
149
- * @maxLength 36
150
- */
151
- inventoryId?: string;
152
- /**
153
- * Deprecated: use productId.
154
- * @maxLength 36
155
- * @deprecated Deprecated: use productId.
156
- * @replacedBy product_id
157
- * @targetRemovalDate 2024-12-31
158
- */
159
- externalId?: string;
160
- /**
161
- * Product ID.
162
- * @maxLength 36
163
- */
164
- productId?: string;
165
- /**
166
- * Variant ID.
167
- * @format GUID
168
- */
169
- variantId?: string;
170
- /**
171
- * Number to decrement inventory by.
172
- * @min 1
173
- */
174
- decrementBy?: number;
175
- /**
176
- * Whether the request to decrement the item's inventory was made as part of a purchase that includes preorder items.
177
- * If true and the item is available for preorder, we allow negative inventory.
178
- * If false and the item is not available for preorder, we allow regular buy flow (no negative inventory).
179
- */
180
- preorderRequest?: boolean;
181
- }
182
- /** @oneof */
183
- interface DecrementDataIdOneOf {
184
- /**
185
- * Inventory item ID.
186
- * @maxLength 36
187
- */
188
- inventoryId?: string;
189
- /**
190
- * Deprecated: use productId.
191
- * @maxLength 36
192
- * @deprecated Deprecated: use productId.
193
- * @replacedBy product_id
194
- * @targetRemovalDate 2024-12-31
195
- */
196
- externalId?: string;
197
- /**
198
- * Product ID.
199
- * @maxLength 36
200
- */
201
- productId?: string;
202
- }
203
- interface DecrementInventoryResponse {
204
- }
205
- interface IncrementInventoryRequest {
206
- /**
207
- * @minSize 1
208
- * @maxSize 300
209
- */
210
- incrementData?: IncrementData[];
211
- /** @internal */
212
- reason?: ReasonTypeWithLiterals;
213
- }
214
- interface IncrementData extends IncrementDataIdOneOf {
215
- /**
216
- * Inventory item ID.
217
- * @maxLength 36
218
- */
219
- inventoryId?: string;
220
- /**
221
- * Product ID.
222
- * @maxLength 36
223
- */
224
- productId?: string;
225
- /**
226
- * Variant ID.
227
- * @format GUID
228
- */
229
- variantId?: string;
230
- /**
231
- * Number to increment inventory by.
232
- * @min 1
233
- */
234
- incrementBy?: number;
235
- }
236
- /** @oneof */
237
- interface IncrementDataIdOneOf {
238
- /**
239
- * Inventory item ID.
240
- * @maxLength 36
241
- */
242
- inventoryId?: string;
243
- /**
244
- * Product ID.
245
- * @maxLength 36
246
- */
247
- productId?: string;
248
- }
249
- interface IncrementInventoryResponse {
250
- }
251
66
  interface InventoryItemChanged {
252
67
  /** Inventory item ID. */
253
68
  inventoryItemId?: string;
@@ -307,6 +122,18 @@ interface ChangedInventoryVariantData {
307
122
  /** Whether the variant is available for preorder. When `true`, the variant is out of stock and preorder is enabled on inventory level. */
308
123
  availableForPreorder?: boolean;
309
124
  }
125
+ declare enum ReasonType {
126
+ /** Unknown reason. */
127
+ UNKNOWN = "UNKNOWN",
128
+ /** Order related. */
129
+ ORDER = "ORDER",
130
+ /** Manual adjustment. */
131
+ MANUAL = "MANUAL",
132
+ /** Reverting an inventory change. */
133
+ REVERT_INVENTORY_CHANGE = "REVERT_INVENTORY_CHANGE"
134
+ }
135
+ /** @enumType */
136
+ type ReasonTypeWithLiterals = ReasonType | 'UNKNOWN' | 'ORDER' | 'MANUAL' | 'REVERT_INVENTORY_CHANGE';
310
137
  interface GetInventoryVariantsRequest extends GetInventoryVariantsRequestIdOneOf {
311
138
  /** Inventory item ID. */
312
139
  inventoryId: string;
@@ -472,6 +299,179 @@ interface AccountInfo {
472
299
  */
473
300
  siteId?: string | null;
474
301
  }
302
+ interface UpdateInventoryVariantsRequest {
303
+ /** Inventory item. */
304
+ inventoryItem: InventoryItemV2;
305
+ /** @internal */
306
+ reason?: ReasonTypeWithLiterals;
307
+ }
308
+ interface UpdateInventoryVariantsResponse {
309
+ }
310
+ interface BulkUpdateInventoryVariantsRequest extends BulkUpdateInventoryVariantsRequestActionOneOf {
311
+ /** Change availability. */
312
+ setInStock?: boolean | null;
313
+ /** Set new quantity. */
314
+ setQuantity?: number | null;
315
+ /**
316
+ * Number to increment inventory by.
317
+ * @min 1
318
+ */
319
+ incrementBy?: number | null;
320
+ /**
321
+ * Number to decrement inventory by.
322
+ * @min 1
323
+ */
324
+ decrementBy?: number | null;
325
+ /** Variants filter. Learn more about [API query language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language). */
326
+ filter?: Record<string, any> | null;
327
+ /** @internal */
328
+ reason?: ReasonTypeWithLiterals;
329
+ /** @internal */
330
+ changeTrackingMethod?: boolean;
331
+ }
332
+ /** @oneof */
333
+ interface BulkUpdateInventoryVariantsRequestActionOneOf {
334
+ /** Change availability. */
335
+ setInStock?: boolean | null;
336
+ /** Set new quantity. */
337
+ setQuantity?: number | null;
338
+ /**
339
+ * Number to increment inventory by.
340
+ * @min 1
341
+ */
342
+ incrementBy?: number | null;
343
+ /**
344
+ * Number to decrement inventory by.
345
+ * @min 1
346
+ */
347
+ decrementBy?: number | null;
348
+ }
349
+ interface BulkUpdateInventoryVariantsResponse {
350
+ }
351
+ interface BulkUpdateInventoryItemsRequest {
352
+ /** Variants filter */
353
+ variantsFilter?: Record<string, any> | null;
354
+ /** Whether inventory is being tracked. */
355
+ trackInventory?: boolean | null;
356
+ }
357
+ interface BulkUpdateInventoryItemsResponse {
358
+ }
359
+ interface DecrementInventoryRequest {
360
+ /**
361
+ * @minSize 1
362
+ * @maxSize 300
363
+ */
364
+ decrementData?: DecrementData[];
365
+ /** @internal */
366
+ reason?: ReasonTypeWithLiterals;
367
+ /** @internal */
368
+ restrictInventoryValue?: boolean;
369
+ }
370
+ interface DecrementData extends DecrementDataIdOneOf {
371
+ /**
372
+ * Inventory item ID.
373
+ * @maxLength 36
374
+ */
375
+ inventoryId?: string;
376
+ /**
377
+ * Deprecated: use productId.
378
+ * @maxLength 36
379
+ * @deprecated Deprecated: use productId.
380
+ * @replacedBy product_id
381
+ * @targetRemovalDate 2024-12-31
382
+ */
383
+ externalId?: string;
384
+ /**
385
+ * Product ID.
386
+ * @maxLength 36
387
+ */
388
+ productId?: string;
389
+ /**
390
+ * Variant ID.
391
+ * @format GUID
392
+ */
393
+ variantId?: string;
394
+ /**
395
+ * Number to decrement inventory by.
396
+ * @min 1
397
+ */
398
+ decrementBy?: number;
399
+ /**
400
+ * Whether the request to decrement the item's inventory was made as part of a purchase that includes preorder items.
401
+ * If true and the item is available for preorder, we allow negative inventory.
402
+ * If false and the item is not available for preorder, we allow regular buy flow (no negative inventory).
403
+ */
404
+ preorderRequest?: boolean;
405
+ }
406
+ /** @oneof */
407
+ interface DecrementDataIdOneOf {
408
+ /**
409
+ * Inventory item ID.
410
+ * @maxLength 36
411
+ */
412
+ inventoryId?: string;
413
+ /**
414
+ * Deprecated: use productId.
415
+ * @maxLength 36
416
+ * @deprecated Deprecated: use productId.
417
+ * @replacedBy product_id
418
+ * @targetRemovalDate 2024-12-31
419
+ */
420
+ externalId?: string;
421
+ /**
422
+ * Product ID.
423
+ * @maxLength 36
424
+ */
425
+ productId?: string;
426
+ }
427
+ interface DecrementInventoryResponse {
428
+ }
429
+ interface IncrementInventoryRequest {
430
+ /**
431
+ * @minSize 1
432
+ * @maxSize 300
433
+ */
434
+ incrementData?: IncrementData[];
435
+ /** @internal */
436
+ reason?: ReasonTypeWithLiterals;
437
+ }
438
+ interface IncrementData extends IncrementDataIdOneOf {
439
+ /**
440
+ * Inventory item ID.
441
+ * @maxLength 36
442
+ */
443
+ inventoryId?: string;
444
+ /**
445
+ * Product ID.
446
+ * @maxLength 36
447
+ */
448
+ productId?: string;
449
+ /**
450
+ * Variant ID.
451
+ * @format GUID
452
+ */
453
+ variantId?: string;
454
+ /**
455
+ * Number to increment inventory by.
456
+ * @min 1
457
+ */
458
+ incrementBy?: number;
459
+ }
460
+ /** @oneof */
461
+ interface IncrementDataIdOneOf {
462
+ /**
463
+ * Inventory item ID.
464
+ * @maxLength 36
465
+ */
466
+ inventoryId?: string;
467
+ /**
468
+ * Product ID.
469
+ * @maxLength 36
470
+ */
471
+ productId?: string;
472
+ }
473
+ interface IncrementInventoryResponse {
474
+ }
475
475
 
476
476
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
477
477
  getUrl: (context: any) => string;
@@ -483,14 +483,14 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
483
483
  __responseType: Q;
484
484
  __originalResponseType: R;
485
485
  };
486
+ declare function getInventoryVariants(): __PublicMethodMetaInfo<'POST', {
487
+ inventoryId: string;
488
+ }, GetInventoryVariantsRequest$1, GetInventoryVariantsRequest, GetInventoryVariantsResponse$1, GetInventoryVariantsResponse>;
489
+ declare function queryInventory(): __PublicMethodMetaInfo<'POST', {}, QueryInventoryRequest$1, QueryInventoryRequest, QueryInventoryResponse$1, QueryInventoryResponse>;
486
490
  declare function updateInventoryVariants(): __PublicMethodMetaInfo<'PATCH', {
487
491
  inventoryItemProductId: string;
488
492
  }, UpdateInventoryVariantsRequest$1, UpdateInventoryVariantsRequest, UpdateInventoryVariantsResponse$1, UpdateInventoryVariantsResponse>;
489
493
  declare function decrementInventory(): __PublicMethodMetaInfo<'POST', {}, DecrementInventoryRequest$1, DecrementInventoryRequest, DecrementInventoryResponse$1, DecrementInventoryResponse>;
490
494
  declare function incrementInventory(): __PublicMethodMetaInfo<'POST', {}, IncrementInventoryRequest$1, IncrementInventoryRequest, IncrementInventoryResponse$1, IncrementInventoryResponse>;
491
- declare function getInventoryVariants(): __PublicMethodMetaInfo<'POST', {
492
- inventoryId: string;
493
- }, GetInventoryVariantsRequest$1, GetInventoryVariantsRequest, GetInventoryVariantsResponse$1, GetInventoryVariantsResponse>;
494
- declare function queryInventory(): __PublicMethodMetaInfo<'POST', {}, QueryInventoryRequest$1, QueryInventoryRequest, QueryInventoryResponse$1, QueryInventoryResponse>;
495
495
 
496
496
  export { type AccountInfo as AccountInfoOriginal, type BulkUpdateInventoryItemsRequest as BulkUpdateInventoryItemsRequestOriginal, type BulkUpdateInventoryItemsResponse as BulkUpdateInventoryItemsResponseOriginal, type BulkUpdateInventoryVariantsRequestActionOneOf as BulkUpdateInventoryVariantsRequestActionOneOfOriginal, type BulkUpdateInventoryVariantsRequest as BulkUpdateInventoryVariantsRequestOriginal, type BulkUpdateInventoryVariantsResponse as BulkUpdateInventoryVariantsResponseOriginal, type ChangedInventoryVariantData as ChangedInventoryVariantDataOriginal, type ChangedInventoryVariant as ChangedInventoryVariantOriginal, type DecrementDataIdOneOf as DecrementDataIdOneOfOriginal, type DecrementData as DecrementDataOriginal, type DecrementInventoryRequest as DecrementInventoryRequestOriginal, type DecrementInventoryResponse as DecrementInventoryResponseOriginal, type GetInventoryItemsRequest as GetInventoryItemsRequestOriginal, type GetInventoryItemsResponse as GetInventoryItemsResponseOriginal, type GetInventoryVariantsRequestIdOneOf as GetInventoryVariantsRequestIdOneOfOriginal, type GetInventoryVariantsRequest as GetInventoryVariantsRequestOriginal, type GetInventoryVariantsResponse as GetInventoryVariantsResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type IncrementDataIdOneOf as IncrementDataIdOneOfOriginal, type IncrementData as IncrementDataOriginal, type IncrementInventoryRequest as IncrementInventoryRequestOriginal, type IncrementInventoryResponse as IncrementInventoryResponseOriginal, type InventoryItemChanged as InventoryItemChangedOriginal, type InventoryItemV2 as InventoryItemV2Original, type InventoryVariantV2 as InventoryVariantV2Original, type InventoryVariantsChanged as InventoryVariantsChangedOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type PagingMetadata as PagingMetadataOriginal, type Paging as PagingOriginal, type PreorderInfo as PreorderInfoOriginal, type QueryInventoryRequest as QueryInventoryRequestOriginal, type QueryInventoryResponse as QueryInventoryResponseOriginal, type Query as QueryOriginal, ReasonType as ReasonTypeOriginal, type ReasonTypeWithLiterals as ReasonTypeWithLiteralsOriginal, type UpdateInventoryVariantsRequest as UpdateInventoryVariantsRequestOriginal, type UpdateInventoryVariantsResponse as UpdateInventoryVariantsResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, decrementInventory, getInventoryVariants, incrementInventory, queryInventory, updateInventoryVariants };
@@ -1,7 +1,25 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { UpdateInventoryVariantsInventoryItem, DecrementData, IncrementData, GetInventoryVariantsOptions, GetInventoryVariantsResponse, QueryInventoryOptions, QueryInventoryResponse, InventoryItemChangedEnvelope, InventoryVariantsChangedEnvelope } from './index.typings.mjs';
2
+ import { GetInventoryVariantsOptions, GetInventoryVariantsResponse, QueryInventoryOptions, QueryInventoryResponse, UpdateInventoryVariantsInventoryItem, DecrementData, IncrementData, InventoryItemChangedEnvelope, InventoryVariantsChangedEnvelope } from './index.typings.mjs';
3
3
  export { AccountInfo, BaseEventMetadata, BulkUpdateInventoryItemsRequest, BulkUpdateInventoryItemsResponse, BulkUpdateInventoryVariantsRequest, BulkUpdateInventoryVariantsRequestActionOneOf, BulkUpdateInventoryVariantsResponse, ChangedInventoryVariant, ChangedInventoryVariantData, DecrementDataIdOneOf, DecrementInventoryRequest, DecrementInventoryResponse, GetInventoryItemsRequest, GetInventoryItemsResponse, GetInventoryVariantsOptionsIdOneOf, GetInventoryVariantsRequest, GetInventoryVariantsRequestIdOneOf, IdentificationData, IdentificationDataIdOneOf, IncrementDataIdOneOf, IncrementInventoryRequest, IncrementInventoryResponse, InventoryItemChanged, InventoryItemV2, InventoryVariantV2, InventoryVariantsChanged, MessageEnvelope, Paging, PagingMetadata, PreorderInfo, Query, QueryInventoryRequest, ReasonType, ReasonTypeWithLiterals, UpdateInventoryVariantsRequest, UpdateInventoryVariantsResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs';
4
4
 
5
+ declare function getInventoryVariants$1(httpClient: HttpClient): GetInventoryVariantsSignature;
6
+ interface GetInventoryVariantsSignature {
7
+ /**
8
+ * Gets inventory variant information based on the specified option choices.
9
+ *
10
+ *
11
+ * The `getInventoryVariants()` function returns a Promise that resolves to the specified inventory variant information.
12
+ * @param - Inventory item ID.
13
+ */
14
+ (inventoryId: string, options?: GetInventoryVariantsOptions): Promise<NonNullablePaths<GetInventoryVariantsResponse, `inventoryItem.variants` | `inventoryItem.variants.${number}.variantId` | `inventoryItem.variants.${number}.availableForPreorder` | `inventoryItem.numericId` | `inventoryItem.preorderInfo.enabled`, 5>>;
15
+ }
16
+ declare function queryInventory$1(httpClient: HttpClient): QueryInventorySignature;
17
+ interface QueryInventorySignature {
18
+ /**
19
+ * Returns a list of inventory items, given the provided paging, sorting and filtering.
20
+ */
21
+ (options?: QueryInventoryOptions): Promise<NonNullablePaths<QueryInventoryResponse, `inventoryItems` | `inventoryItems.${number}.numericId` | `inventoryItems.${number}.preorderInfo.enabled` | `metadata.items` | `metadata.offset` | `totalResults`, 5>>;
22
+ }
5
23
  declare function updateInventoryVariants$1(httpClient: HttpClient): UpdateInventoryVariantsSignature;
6
24
  interface UpdateInventoryVariantsSignature {
7
25
  /**
@@ -36,32 +54,14 @@ interface IncrementInventorySignature {
36
54
  */
37
55
  (incrementData: IncrementData[]): Promise<void>;
38
56
  }
39
- declare function getInventoryVariants$1(httpClient: HttpClient): GetInventoryVariantsSignature;
40
- interface GetInventoryVariantsSignature {
41
- /**
42
- * Gets inventory variant information based on the specified option choices.
43
- *
44
- *
45
- * The `getInventoryVariants()` function returns a Promise that resolves to the specified inventory variant information.
46
- * @param - Inventory item ID.
47
- */
48
- (inventoryId: string, options?: GetInventoryVariantsOptions): Promise<NonNullablePaths<GetInventoryVariantsResponse, `inventoryItem.variants` | `inventoryItem.variants.${number}.variantId` | `inventoryItem.variants.${number}.availableForPreorder` | `inventoryItem.numericId` | `inventoryItem.preorderInfo.enabled`, 5>>;
49
- }
50
- declare function queryInventory$1(httpClient: HttpClient): QueryInventorySignature;
51
- interface QueryInventorySignature {
52
- /**
53
- * Returns a list of inventory items, given the provided paging, sorting and filtering.
54
- */
55
- (options?: QueryInventoryOptions): Promise<NonNullablePaths<QueryInventoryResponse, `inventoryItems` | `inventoryItems.${number}.numericId` | `inventoryItems.${number}.preorderInfo.enabled` | `metadata.items` | `metadata.offset` | `totalResults`, 5>>;
56
- }
57
57
  declare const onInventoryItemChanged$1: EventDefinition<InventoryItemChangedEnvelope, "com.wix.ecommerce.inventory.api.v1.InventoryItemChanged">;
58
58
  declare const onInventoryVariantsChanged$1: EventDefinition<InventoryVariantsChangedEnvelope, "com.wix.ecommerce.inventory.api.v1.InventoryVariantsChanged">;
59
59
 
60
+ declare const getInventoryVariants: MaybeContext<BuildRESTFunction<typeof getInventoryVariants$1> & typeof getInventoryVariants$1>;
61
+ declare const queryInventory: MaybeContext<BuildRESTFunction<typeof queryInventory$1> & typeof queryInventory$1>;
60
62
  declare const updateInventoryVariants: MaybeContext<BuildRESTFunction<typeof updateInventoryVariants$1> & typeof updateInventoryVariants$1>;
61
63
  declare const decrementInventory: MaybeContext<BuildRESTFunction<typeof decrementInventory$1> & typeof decrementInventory$1>;
62
64
  declare const incrementInventory: MaybeContext<BuildRESTFunction<typeof incrementInventory$1> & typeof incrementInventory$1>;
63
- declare const getInventoryVariants: MaybeContext<BuildRESTFunction<typeof getInventoryVariants$1> & typeof getInventoryVariants$1>;
64
- declare const queryInventory: MaybeContext<BuildRESTFunction<typeof queryInventory$1> & typeof queryInventory$1>;
65
65
  /**
66
66
  * Triggered when an inventory item is changed.
67
67
  */