@wix/auto_sdk_stores_inventory 1.0.39 → 1.0.41

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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +22 -22
  2. package/build/cjs/index.js +171 -171
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +202 -202
  5. package/build/cjs/index.typings.js +154 -154
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +183 -183
  8. package/build/cjs/meta.js +140 -140
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +22 -22
  11. package/build/es/index.mjs +171 -171
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +202 -202
  14. package/build/es/index.typings.mjs +154 -154
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +183 -183
  17. package/build/es/meta.mjs +140 -140
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +22 -22
  20. package/build/internal/cjs/index.js +171 -171
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +235 -235
  23. package/build/internal/cjs/index.typings.js +154 -154
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +183 -183
  26. package/build/internal/cjs/meta.js +140 -140
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +22 -22
  29. package/build/internal/es/index.mjs +171 -171
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +235 -235
  32. package/build/internal/es/index.typings.mjs +154 -154
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +183 -183
  35. package/build/internal/es/meta.mjs +140 -140
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -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,179 +63,6 @@ interface PreorderInfo {
63
63
  */
64
64
  limit?: number | null;
65
65
  }
66
- interface UpdateInventoryVariantsRequest {
67
- /** Inventory item. */
68
- inventoryItem: InventoryItemV2;
69
- }
70
- declare enum ReasonType {
71
- /** Unknown reason. */
72
- UNKNOWN = "UNKNOWN",
73
- /** Order related. */
74
- ORDER = "ORDER",
75
- /** Manual adjustment. */
76
- MANUAL = "MANUAL",
77
- /** Reverting an inventory change. */
78
- REVERT_INVENTORY_CHANGE = "REVERT_INVENTORY_CHANGE"
79
- }
80
- /** @enumType */
81
- type ReasonTypeWithLiterals = ReasonType | 'UNKNOWN' | 'ORDER' | 'MANUAL' | 'REVERT_INVENTORY_CHANGE';
82
- interface UpdateInventoryVariantsResponse {
83
- }
84
- interface BulkUpdateInventoryVariantsRequest extends BulkUpdateInventoryVariantsRequestActionOneOf {
85
- /** Change availability. */
86
- setInStock?: boolean | null;
87
- /** Set new quantity. */
88
- setQuantity?: number | null;
89
- /**
90
- * Number to increment inventory by.
91
- * @min 1
92
- */
93
- incrementBy?: number | null;
94
- /**
95
- * Number to decrement inventory by.
96
- * @min 1
97
- */
98
- decrementBy?: number | null;
99
- /** Variants filter. Learn more about [API query language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language). */
100
- filter?: Record<string, any> | null;
101
- }
102
- /** @oneof */
103
- interface BulkUpdateInventoryVariantsRequestActionOneOf {
104
- /** Change availability. */
105
- setInStock?: boolean | null;
106
- /** Set new quantity. */
107
- setQuantity?: number | null;
108
- /**
109
- * Number to increment inventory by.
110
- * @min 1
111
- */
112
- incrementBy?: number | null;
113
- /**
114
- * Number to decrement inventory by.
115
- * @min 1
116
- */
117
- decrementBy?: number | null;
118
- }
119
- interface BulkUpdateInventoryVariantsResponse {
120
- }
121
- interface BulkUpdateInventoryItemsRequest {
122
- /** Variants filter */
123
- variantsFilter?: Record<string, any> | null;
124
- /** Whether inventory is being tracked. */
125
- trackInventory?: boolean | null;
126
- }
127
- interface BulkUpdateInventoryItemsResponse {
128
- }
129
- interface DecrementInventoryRequest {
130
- /**
131
- * @minSize 1
132
- * @maxSize 300
133
- */
134
- decrementData?: DecrementData[];
135
- }
136
- interface DecrementData extends DecrementDataIdOneOf {
137
- /**
138
- * Inventory item ID.
139
- * @maxLength 36
140
- */
141
- inventoryId?: string;
142
- /**
143
- * Deprecated: use productId.
144
- * @maxLength 36
145
- * @deprecated Deprecated: use productId.
146
- * @replacedBy product_id
147
- * @targetRemovalDate 2024-12-31
148
- */
149
- externalId?: string;
150
- /**
151
- * Product ID.
152
- * @maxLength 36
153
- */
154
- productId?: string;
155
- /**
156
- * Variant ID.
157
- * @format GUID
158
- */
159
- variantId?: string;
160
- /**
161
- * Number to decrement inventory by.
162
- * @min 1
163
- */
164
- decrementBy?: number;
165
- /**
166
- * Whether the request to decrement the item's inventory was made as part of a purchase that includes preorder items.
167
- * If true and the item is available for preorder, we allow negative inventory.
168
- * If false and the item is not available for preorder, we allow regular buy flow (no negative inventory).
169
- */
170
- preorderRequest?: boolean;
171
- }
172
- /** @oneof */
173
- interface DecrementDataIdOneOf {
174
- /**
175
- * Inventory item ID.
176
- * @maxLength 36
177
- */
178
- inventoryId?: string;
179
- /**
180
- * Deprecated: use productId.
181
- * @maxLength 36
182
- * @deprecated Deprecated: use productId.
183
- * @replacedBy product_id
184
- * @targetRemovalDate 2024-12-31
185
- */
186
- externalId?: string;
187
- /**
188
- * Product ID.
189
- * @maxLength 36
190
- */
191
- productId?: string;
192
- }
193
- interface DecrementInventoryResponse {
194
- }
195
- interface IncrementInventoryRequest {
196
- /**
197
- * @minSize 1
198
- * @maxSize 300
199
- */
200
- incrementData?: IncrementData[];
201
- }
202
- interface IncrementData extends IncrementDataIdOneOf {
203
- /**
204
- * Inventory item ID.
205
- * @maxLength 36
206
- */
207
- inventoryId?: string;
208
- /**
209
- * Product ID.
210
- * @maxLength 36
211
- */
212
- productId?: string;
213
- /**
214
- * Variant ID.
215
- * @format GUID
216
- */
217
- variantId?: string;
218
- /**
219
- * Number to increment inventory by.
220
- * @min 1
221
- */
222
- incrementBy?: number;
223
- }
224
- /** @oneof */
225
- interface IncrementDataIdOneOf {
226
- /**
227
- * Inventory item ID.
228
- * @maxLength 36
229
- */
230
- inventoryId?: string;
231
- /**
232
- * Product ID.
233
- * @maxLength 36
234
- */
235
- productId?: string;
236
- }
237
- interface IncrementInventoryResponse {
238
- }
239
66
  interface InventoryItemChanged {
240
67
  /** Inventory item ID. */
241
68
  inventoryItemId?: string;
@@ -290,6 +117,18 @@ interface ChangedInventoryVariantData {
290
117
  /** Whether the variant is available for preorder. When `true`, the variant is out of stock and preorder is enabled on inventory level. */
291
118
  availableForPreorder?: boolean;
292
119
  }
120
+ declare enum ReasonType {
121
+ /** Unknown reason. */
122
+ UNKNOWN = "UNKNOWN",
123
+ /** Order related. */
124
+ ORDER = "ORDER",
125
+ /** Manual adjustment. */
126
+ MANUAL = "MANUAL",
127
+ /** Reverting an inventory change. */
128
+ REVERT_INVENTORY_CHANGE = "REVERT_INVENTORY_CHANGE"
129
+ }
130
+ /** @enumType */
131
+ type ReasonTypeWithLiterals = ReasonType | 'UNKNOWN' | 'ORDER' | 'MANUAL' | 'REVERT_INVENTORY_CHANGE';
293
132
  interface GetInventoryVariantsRequest extends GetInventoryVariantsRequestIdOneOf {
294
133
  /** Inventory item ID. */
295
134
  inventoryId: string;
@@ -436,23 +275,184 @@ declare enum WebhookIdentityType {
436
275
  }
437
276
  /** @enumType */
438
277
  type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
439
- interface AccountDetails {
278
+ interface AccountInfo {
440
279
  /**
441
- * ID of the account.
280
+ * ID of the Wix account associated with the event.
442
281
  * @format GUID
443
282
  */
444
283
  accountId?: string | null;
445
284
  /**
446
- * ID of the parent account.
285
+ * ID of the parent Wix account. Only included when accountId belongs to a child account.
447
286
  * @format GUID
448
287
  */
449
288
  parentAccountId?: string | null;
450
289
  /**
451
- * ID of the site, if applicable.
290
+ * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
452
291
  * @format GUID
453
292
  */
454
293
  siteId?: string | null;
455
294
  }
295
+ interface UpdateInventoryVariantsRequest {
296
+ /** Inventory item. */
297
+ inventoryItem: InventoryItemV2;
298
+ }
299
+ interface UpdateInventoryVariantsResponse {
300
+ }
301
+ interface BulkUpdateInventoryVariantsRequest extends BulkUpdateInventoryVariantsRequestActionOneOf {
302
+ /** Change availability. */
303
+ setInStock?: boolean | null;
304
+ /** Set new quantity. */
305
+ setQuantity?: number | null;
306
+ /**
307
+ * Number to increment inventory by.
308
+ * @min 1
309
+ */
310
+ incrementBy?: number | null;
311
+ /**
312
+ * Number to decrement inventory by.
313
+ * @min 1
314
+ */
315
+ decrementBy?: number | null;
316
+ /** Variants filter. Learn more about [API query language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language). */
317
+ filter?: Record<string, any> | null;
318
+ }
319
+ /** @oneof */
320
+ interface BulkUpdateInventoryVariantsRequestActionOneOf {
321
+ /** Change availability. */
322
+ setInStock?: boolean | null;
323
+ /** Set new quantity. */
324
+ setQuantity?: number | null;
325
+ /**
326
+ * Number to increment inventory by.
327
+ * @min 1
328
+ */
329
+ incrementBy?: number | null;
330
+ /**
331
+ * Number to decrement inventory by.
332
+ * @min 1
333
+ */
334
+ decrementBy?: number | null;
335
+ }
336
+ interface BulkUpdateInventoryVariantsResponse {
337
+ }
338
+ interface BulkUpdateInventoryItemsRequest {
339
+ /** Variants filter */
340
+ variantsFilter?: Record<string, any> | null;
341
+ /** Whether inventory is being tracked. */
342
+ trackInventory?: boolean | null;
343
+ }
344
+ interface BulkUpdateInventoryItemsResponse {
345
+ }
346
+ interface DecrementInventoryRequest {
347
+ /**
348
+ * @minSize 1
349
+ * @maxSize 300
350
+ */
351
+ decrementData?: DecrementData[];
352
+ }
353
+ interface DecrementData extends DecrementDataIdOneOf {
354
+ /**
355
+ * Inventory item ID.
356
+ * @maxLength 36
357
+ */
358
+ inventoryId?: string;
359
+ /**
360
+ * Deprecated: use productId.
361
+ * @maxLength 36
362
+ * @deprecated Deprecated: use productId.
363
+ * @replacedBy product_id
364
+ * @targetRemovalDate 2024-12-31
365
+ */
366
+ externalId?: string;
367
+ /**
368
+ * Product ID.
369
+ * @maxLength 36
370
+ */
371
+ productId?: string;
372
+ /**
373
+ * Variant ID.
374
+ * @format GUID
375
+ */
376
+ variantId?: string;
377
+ /**
378
+ * Number to decrement inventory by.
379
+ * @min 1
380
+ */
381
+ decrementBy?: number;
382
+ /**
383
+ * Whether the request to decrement the item's inventory was made as part of a purchase that includes preorder items.
384
+ * If true and the item is available for preorder, we allow negative inventory.
385
+ * If false and the item is not available for preorder, we allow regular buy flow (no negative inventory).
386
+ */
387
+ preorderRequest?: boolean;
388
+ }
389
+ /** @oneof */
390
+ interface DecrementDataIdOneOf {
391
+ /**
392
+ * Inventory item ID.
393
+ * @maxLength 36
394
+ */
395
+ inventoryId?: string;
396
+ /**
397
+ * Deprecated: use productId.
398
+ * @maxLength 36
399
+ * @deprecated Deprecated: use productId.
400
+ * @replacedBy product_id
401
+ * @targetRemovalDate 2024-12-31
402
+ */
403
+ externalId?: string;
404
+ /**
405
+ * Product ID.
406
+ * @maxLength 36
407
+ */
408
+ productId?: string;
409
+ }
410
+ interface DecrementInventoryResponse {
411
+ }
412
+ interface IncrementInventoryRequest {
413
+ /**
414
+ * @minSize 1
415
+ * @maxSize 300
416
+ */
417
+ incrementData?: IncrementData[];
418
+ }
419
+ interface IncrementData extends IncrementDataIdOneOf {
420
+ /**
421
+ * Inventory item ID.
422
+ * @maxLength 36
423
+ */
424
+ inventoryId?: string;
425
+ /**
426
+ * Product ID.
427
+ * @maxLength 36
428
+ */
429
+ productId?: string;
430
+ /**
431
+ * Variant ID.
432
+ * @format GUID
433
+ */
434
+ variantId?: string;
435
+ /**
436
+ * Number to increment inventory by.
437
+ * @min 1
438
+ */
439
+ incrementBy?: number;
440
+ }
441
+ /** @oneof */
442
+ interface IncrementDataIdOneOf {
443
+ /**
444
+ * Inventory item ID.
445
+ * @maxLength 36
446
+ */
447
+ inventoryId?: string;
448
+ /**
449
+ * Product ID.
450
+ * @maxLength 36
451
+ */
452
+ productId?: string;
453
+ }
454
+ interface IncrementInventoryResponse {
455
+ }
456
456
 
457
457
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
458
458
  getUrl: (context: any) => string;
@@ -464,14 +464,14 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
464
464
  __responseType: Q;
465
465
  __originalResponseType: R;
466
466
  };
467
+ declare function getInventoryVariants(): __PublicMethodMetaInfo<'POST', {
468
+ inventoryId: string;
469
+ }, GetInventoryVariantsRequest$1, GetInventoryVariantsRequest, GetInventoryVariantsResponse$1, GetInventoryVariantsResponse>;
470
+ declare function queryInventory(): __PublicMethodMetaInfo<'POST', {}, QueryInventoryRequest$1, QueryInventoryRequest, QueryInventoryResponse$1, QueryInventoryResponse>;
467
471
  declare function updateInventoryVariants(): __PublicMethodMetaInfo<'PATCH', {
468
472
  inventoryItemProductId: string;
469
473
  }, UpdateInventoryVariantsRequest$1, UpdateInventoryVariantsRequest, UpdateInventoryVariantsResponse$1, UpdateInventoryVariantsResponse>;
470
474
  declare function decrementInventory(): __PublicMethodMetaInfo<'POST', {}, DecrementInventoryRequest$1, DecrementInventoryRequest, DecrementInventoryResponse$1, DecrementInventoryResponse>;
471
475
  declare function incrementInventory(): __PublicMethodMetaInfo<'POST', {}, IncrementInventoryRequest$1, IncrementInventoryRequest, IncrementInventoryResponse$1, IncrementInventoryResponse>;
472
- declare function getInventoryVariants(): __PublicMethodMetaInfo<'POST', {
473
- inventoryId: string;
474
- }, GetInventoryVariantsRequest$1, GetInventoryVariantsRequest, GetInventoryVariantsResponse$1, GetInventoryVariantsResponse>;
475
- declare function queryInventory(): __PublicMethodMetaInfo<'POST', {}, QueryInventoryRequest$1, QueryInventoryRequest, QueryInventoryResponse$1, QueryInventoryResponse>;
476
476
 
477
- export { type AccountDetails as AccountDetailsOriginal, 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 };
477
+ 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 };