import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { I as InventoryItem, C as CreateInventoryItemApplicationErrors, a as CreateInventoryItemValidationErrors, B as BulkCreateInventoryItemsOptions, b as BulkCreateInventoryItemsResponse, c as BulkCreateInventoryItemsApplicationErrors, d as BulkCreateInventoryItemsValidationErrors, U as UpdateInventoryItem, e as UpdateInventoryItemOptions, f as UpdateInventoryItemApplicationErrors, M as MaskedInventoryItem, g as BulkUpdateInventoryItemsOptions, h as BulkUpdateInventoryItemsResponse, i as BulkUpdateInventoryItemsApplicationErrors, j as BulkUpdateInventoryItemsByFilterOptions, k as BulkUpdateInventoryItemsByFilterResponse, l as BulkUpdateInventoryItemsByFilterApplicationErrors, m as BulkDeleteInventoryItemsResponse, n as InventoryItemSearch, S as SearchInventoryItemsResponse, D as DecrementDataById, o as BulkDecrementInventoryItemsOptions, p as BulkDecrementInventoryItemsResponse, q as BulkDecrementInventoryItemsApplicationErrors, r as IncrementDataById, s as BulkIncrementInventoryItemsOptions, t as BulkIncrementInventoryItemsResponse, u as BulkIncrementInventoryItemsApplicationErrors, v as DecrementDataByVariantAndLocation, w as BulkDecrementInventoryItemsByVariantAndLocationOptions, x as BulkDecrementInventoryItemsByVariantAndLocationResponse, y as BulkDecrementInventoryItemsByVariantAndLocationApplicationErrors, z as IncrementDataByVariantAndLocation, A as BulkIncrementInventoryItemsByVariantAndLocationOptions, E as BulkIncrementInventoryItemsByVariantAndLocationResponse, F as BulkIncrementInventoryItemsByVariantAndLocationApplicationErrors, G as InventoryItemCreatedEnvelope, H as InventoryItemDeletedEnvelope, J as InventoryItemStockStatusUpdatedEnvelope, K as InventoryItemUpdatedEnvelope, L as InventoryItemUpdatedWithReasonEnvelope, N as InventoryItemsQueryBuilder, O as InventoryItemQuery, P as typedQueryInventoryItems } from './stores-catalog-v3-inventory-item-inventory-items-v-3.universal-BiExdr6E.js'; export { bY as AccountInfo, b$ as AccountInfoMetadata, bH as ActionEvent, bM as AdjustInventoryAction, bN as AdjustInventoryActionActionOneOf, aT as Aggregation, b7 as AggregationData, aU as AggregationKindOneOf, bq as AggregationResults, br as AggregationResultsResultOneOf, be as AggregationResultsScalarResult, a1 as AggregationType, ck as AggregationTypeWithLiterals, aa as App, an as ApplicationError, Q as AvailabilityStatus, c9 as AvailabilityStatusWithLiterals, bZ as BaseEventMetadata, a6 as Brand, ao as BulkActionMetadata, co as BulkAdjustInventoryItemsByFilterApplicationErrors, c6 as BulkAdjustInventoryItemsByFilterOptions, bP as BulkAdjustInventoryItemsByFilterRequest, bQ as BulkAdjustInventoryItemsByFilterResponse, c7 as BulkCreateInventoryItemsByVariantFilterOptions, bR as BulkCreateInventoryItemsByVariantFilterRequest, bT as BulkCreateInventoryItemsByVariantFilterResponse, ak as BulkCreateInventoryItemsRequest, bz as BulkDecrementInventoryItemsByVariantAndLocationRequest, bx as BulkDecrementInventoryItemsRequest, c1 as BulkDeleteInventoryItemsByFilterOptions, aF as BulkDeleteInventoryItemsByFilterRequest, aG as BulkDeleteInventoryItemsByFilterResponse, aD as BulkDeleteInventoryItemsRequest, bA as BulkIncrementInventoryItemsByVariantAndLocationRequest, by as BulkIncrementInventoryItemsRequest, ah as BulkInventoryItemAction, aE as BulkInventoryItemResult, cn as BulkSetOrAdjustInventoryItemsByFilterApplicationErrors, c5 as BulkSetOrAdjustInventoryItemsByFilterOptions, bL as BulkSetOrAdjustInventoryItemsByFilterRequest, bO as BulkSetOrAdjustInventoryItemsByFilterResponse, az as BulkUpdateInventoryItemsByFilterRequest, av as BulkUpdateInventoryItemsRequest, ay as BulkUpsertInventoryItemResult, cm as BulkUpsertInventoryItemsApplicationErrors, c0 as BulkUpsertInventoryItemsOptions, aw as BulkUpsertInventoryItemsRequest, ax as BulkUpsertInventoryItemsResponse, bU as CatalogRollbackRequested, aP as CommonCursors, cp as CommonQueryWithEntityContext, cq as CommonSearchWithEntityContext, ai as CreateInventoryItemRequest, aj as CreateInventoryItemResponse, aM as CursorPaging, b5 as CursorPagingMetadata, aR as CursorSearch, aS as CursorSearchPagingMethodOneOf, b6 as Cursors, ae as CustomTag, a$ as DateHistogramAggregation, bm as DateHistogramResult, bo as DateHistogramResults, aB as DeleteInventoryItemRequest, aC as DeleteInventoryItemResponse, bB as DomainEvent, bC as DomainEventBodyOneOf, bI as Empty, bD as EntityCreatedEvent, bG as EntityDeletedEvent, bF as EntityUpdatedEvent, b_ as EventMetadata, R as EventType, ca as EventTypeWithLiterals, a7 as ExtendedFields, ad as File, ap as GetInventoryItemRequest, aq as GetInventoryItemResponse, b3 as GroupByAggregation, b4 as GroupByAggregationKindOneOf, bn as GroupByValueResults, bW as IdentificationData, bX as IdentificationDataIdOneOf, aW as IncludeMissingValuesOptions, a0 as Interval, cj as IntervalWithLiterals, a8 as InvalidateCache, a9 as InvalidateCacheGetByOneOf, bS as InventoryCreationData, c3 as InventoryItemQuerySpec, c4 as InventoryItemSearchSpec, at as InventoryItemStockStatusUpdatedEvent, a3 as InventoryItemTrackingMethodOneOf, au as InventoryItemUpdatedWithReason, c2 as InventoryItemsQueryResult, am as ItemMetadata, bV as MessageEnvelope, Z as MissingValues, cg as MissingValuesWithLiterals, V as Mode, cc as ModeWithLiterals, b2 as NestedAggregation, b0 as NestedAggregationItem, b1 as NestedAggregationItemKindOneOf, ba as NestedAggregationResults, bb as NestedAggregationResultsResultOneOf, $ as NestedAggregationType, ci as NestedAggregationTypeWithLiterals, bj as NestedResultValue, bk as NestedResultValueResultOneOf, bp as NestedResults, bf as NestedValueAggregationResult, bt as OffsetSearch, bu as OffsetSearchPagingMethodOneOf, ab as Page, af as Pages, aL as Paging, bw as PagingMetadata, aO as PlatformPagingMetadataV2, a4 as PreorderInfo, a5 as Product, aH as QueryInventoryItemsRequest, aN as QueryInventoryItemsResponse, aI as QueryV2, aJ as QueryV2PagingMethodOneOf, aZ as RangeAggregation, b9 as RangeAggregationResult, aV as RangeBucket, bh as RangeResult, bd as RangeResults, T as ReasonType, cb as ReasonTypeWithLiterals, bJ as RecloneSiteRequest, bK as RecloneSiteResponse, bE as RestoreInfo, bl as Results, a_ as ScalarAggregation, bi as ScalarResult, _ as ScalarType, ch as ScalarTypeWithLiterals, aA as SearchDetails, aQ as SearchInventoryItemsRequest, bs as SearchInventoryItemsWithOffsetRequest, bv as SearchInventoryItemsWithOffsetResponse, Y as SortDirection, cf as SortDirectionWithLiterals, W as SortOrder, cd as SortOrderWithLiterals, X as SortType, ce as SortTypeWithLiterals, aK as Sorting, ac as URI, ag as URIs, ar as UpdateInventoryItemRequest, as as UpdateInventoryItemResponse, al as V3BulkInventoryItemResult, aX as ValueAggregation, aY as ValueAggregationOptionsOneOf, b8 as ValueAggregationResult, bg as ValueResult, bc as ValueResults, a2 as WebhookIdentityType, cl as WebhookIdentityTypeWithLiterals, c8 as utils } from './stores-catalog-v3-inventory-item-inventory-items-v-3.universal-BiExdr6E.js'; declare function createInventoryItem$1(httpClient: HttpClient): CreateInventoryItemSignature; interface CreateInventoryItemSignature { /** * Creates an inventory item. * * The combination of `variantId` and `locationId` must be unique. * @param - Inventory item to create. * @returns Created inventory item. */ (inventoryItem: NonNullablePaths): Promise & { __applicationErrorsType?: CreateInventoryItemApplicationErrors; __validationErrorsType?: CreateInventoryItemValidationErrors; }>; } declare function bulkCreateInventoryItems$1(httpClient: HttpClient): BulkCreateInventoryItemsSignature; interface BulkCreateInventoryItemsSignature { /** * Creates multiple inventory items. * * The combination of `variantId` and `locationId` must be unique for each inventory item. * @param - Inventory items to create. */ (inventoryItems: NonNullablePaths[], options?: BulkCreateInventoryItemsOptions): Promise & { __applicationErrorsType?: BulkCreateInventoryItemsApplicationErrors; __validationErrorsType?: BulkCreateInventoryItemsValidationErrors; }>; } declare function getInventoryItem$1(httpClient: HttpClient): GetInventoryItemSignature; interface GetInventoryItemSignature { /** * Retrieves an inventory item. * @param - Inventory item ID. * @returns Inventory item. */ (inventoryItemId: string): Promise>; } declare function updateInventoryItem$1(httpClient: HttpClient): UpdateInventoryItemSignature; interface UpdateInventoryItemSignature { /** * Updates an inventory item. * * * Each time the inventory item is updated, `revision` increments by 1. * The current `revision` must be passed when updating the inventory item. * This ensures you're working with the latest inventory item and prevents unintended overwrites. * @param - Inventory item ID. * @returns Updated inventory item. */ (_id: string, inventoryItem: NonNullablePaths, options?: UpdateInventoryItemOptions): Promise & { __applicationErrorsType?: UpdateInventoryItemApplicationErrors; }>; } declare function bulkUpdateInventoryItems$1(httpClient: HttpClient): BulkUpdateInventoryItemsSignature; interface BulkUpdateInventoryItemsSignature { /** * Updates multiple inventory items. * * Each time an inventory item is updated, `revision` increments by 1. * The current `revision` must be passed when updating an inventory item. * This ensures you're working with the latest inventory item and prevents unintended overwrites. * @param - Inventory items to update. */ (inventoryItems: NonNullablePaths[], options?: BulkUpdateInventoryItemsOptions): Promise & { __applicationErrorsType?: BulkUpdateInventoryItemsApplicationErrors; }>; } declare function bulkUpdateInventoryItemsByFilter$1(httpClient: HttpClient): BulkUpdateInventoryItemsByFilterSignature; interface BulkUpdateInventoryItemsByFilterSignature { /** * Updates multiple inventory items, given the provided filter. * * Each time an inventory item is updated, `revision` increments by 1. * The current `revision` must be passed when updating an inventory item. * This ensures you're working with the latest inventory item and prevents unintended overwrites. * @param - Filter object. */ (filter: Record, options?: NonNullablePaths): Promise & { __applicationErrorsType?: BulkUpdateInventoryItemsByFilterApplicationErrors; }>; } declare function deleteInventoryItem$1(httpClient: HttpClient): DeleteInventoryItemSignature; interface DeleteInventoryItemSignature { /** * Deletes an inventory item. * @param - Inventory item ID. */ (inventoryItemId: string): Promise; } declare function bulkDeleteInventoryItems$1(httpClient: HttpClient): BulkDeleteInventoryItemsSignature; interface BulkDeleteInventoryItemsSignature { /** * Deletes multiple inventory items. * @param - IDs of inventory items to delete. */ (inventoryItemIds: string[]): Promise>; } declare function searchInventoryItems$1(httpClient: HttpClient): SearchInventoryItemsSignature; interface SearchInventoryItemsSignature { /** * Retrieves a list of inventory items, given the provided filtering, sorting, and cursor paging. * * * Search Inventory Items runs with these defaults, which you can override: * * - `createdDate` is sorted in `DESC` order * - `cursorPaging.limit` is `100` * * To learn about working with _Search_ endpoints, see * [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language), * and [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging). * * Learn more about the differences between [_Query_ and _Search_](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-search-query-and-list-methods) methods. * @param - Search options. */ (search: InventoryItemSearch): Promise>; } declare function bulkDecrementInventoryItems$1(httpClient: HttpClient): BulkDecrementInventoryItemsSignature; interface BulkDecrementInventoryItemsSignature { /** * Decrements quantities of multiple inventory items. * * > **Notes:**: * > + `trackQuantity` must be `true` to allow for decrementing the quantity. * > + If you pass `restrictInventory: true` and the `decrementData.decrementBy` amount is greater than the current quantity in stock, the request will fail with an `INSUFFICIENT_INVENTORY` error. * > + Pass `restrictInventory: false` to allow for negative quantities. * > + If you pass `preorderRequest: true` and the item is available for preorder, the item's `preorderCounter` will increase and the item's quantity will stay the same. * @param - Inventory item IDs and decrement data. */ (decrementData: NonNullablePaths[], options?: BulkDecrementInventoryItemsOptions): Promise & { __applicationErrorsType?: BulkDecrementInventoryItemsApplicationErrors; }>; } declare function bulkIncrementInventoryItems$1(httpClient: HttpClient): BulkIncrementInventoryItemsSignature; interface BulkIncrementInventoryItemsSignature { /** * Increments quantities of multiple inventory items. * * > **Note:** `trackQuantity` must be `true` to allow for incrementing the quantity. * @param - Inventory item IDs and increment data. */ (incrementData: NonNullablePaths[], options?: BulkIncrementInventoryItemsOptions): Promise & { __applicationErrorsType?: BulkIncrementInventoryItemsApplicationErrors; }>; } declare function bulkDecrementInventoryItemsByVariantAndLocation$1(httpClient: HttpClient): BulkDecrementInventoryItemsByVariantAndLocationSignature; interface BulkDecrementInventoryItemsByVariantAndLocationSignature { /** * Decrements quantities of multiple inventory items by variant and location. * * > **Notes:**: * > + `trackQuantity` must be `true` to allow for decrementing the quantity. * > + If you pass `restrictInventory: true` and the `decrementData.decrementBy` amount is greater than the current quantity in stock, the request will fail with an `INSUFFICIENT_INVENTORY` error. * > + Pass `restrictInventory: false` to allow for negative quantities. * > + If you pass `preorderRequest: true` and the item is available for preorder, the item's `preorderCounter` will increase and the item's quantity will stay the same. * @param - Variant and location IDs, as well as decrement data. */ (decrementData: NonNullablePaths[], options?: BulkDecrementInventoryItemsByVariantAndLocationOptions): Promise & { __applicationErrorsType?: BulkDecrementInventoryItemsByVariantAndLocationApplicationErrors; }>; } declare function bulkIncrementInventoryItemsByVariantAndLocation$1(httpClient: HttpClient): BulkIncrementInventoryItemsByVariantAndLocationSignature; interface BulkIncrementInventoryItemsByVariantAndLocationSignature { /** * Increments quantities of multiple inventory items by variant and location. * * > **Note:** `trackQuantity` must be `true` to allow for incrementing the quantity. * @param - Variant and location IDs, as well as increment data. */ (incrementData: NonNullablePaths[], options?: BulkIncrementInventoryItemsByVariantAndLocationOptions): Promise & { __applicationErrorsType?: BulkIncrementInventoryItemsByVariantAndLocationApplicationErrors; }>; } declare const onInventoryItemCreated$1: EventDefinition; declare const onInventoryItemDeleted$1: EventDefinition; declare const onInventoryItemStockStatusUpdated$1: EventDefinition; declare const onInventoryItemUpdated$1: EventDefinition; declare const onInventoryItemUpdatedWithReason$1: EventDefinition; declare function customQueryInventoryItems(httpClient: HttpClient): { (): InventoryItemsQueryBuilder; (query: InventoryItemQuery): ReturnType; }; declare const createInventoryItem: MaybeContext & typeof createInventoryItem$1>; declare const bulkCreateInventoryItems: MaybeContext & typeof bulkCreateInventoryItems$1>; declare const getInventoryItem: MaybeContext & typeof getInventoryItem$1>; declare const updateInventoryItem: MaybeContext & typeof updateInventoryItem$1>; declare const bulkUpdateInventoryItems: MaybeContext & typeof bulkUpdateInventoryItems$1>; declare const bulkUpdateInventoryItemsByFilter: MaybeContext & typeof bulkUpdateInventoryItemsByFilter$1>; declare const deleteInventoryItem: MaybeContext & typeof deleteInventoryItem$1>; declare const bulkDeleteInventoryItems: MaybeContext & typeof bulkDeleteInventoryItems$1>; declare const searchInventoryItems: MaybeContext & typeof searchInventoryItems$1>; declare const bulkDecrementInventoryItems: MaybeContext & typeof bulkDecrementInventoryItems$1>; declare const bulkIncrementInventoryItems: MaybeContext & typeof bulkIncrementInventoryItems$1>; declare const bulkDecrementInventoryItemsByVariantAndLocation: MaybeContext & typeof bulkDecrementInventoryItemsByVariantAndLocation$1>; declare const bulkIncrementInventoryItemsByVariantAndLocation: MaybeContext & typeof bulkIncrementInventoryItemsByVariantAndLocation$1>; declare const queryInventoryItems: MaybeContext & typeof customQueryInventoryItems>; /** */ declare const onInventoryItemCreated: BuildEventDefinition & typeof onInventoryItemCreated$1; /** */ declare const onInventoryItemDeleted: BuildEventDefinition & typeof onInventoryItemDeleted$1; /** * Triggered when an inventory item's stock is updated. */ declare const onInventoryItemStockStatusUpdated: BuildEventDefinition & typeof onInventoryItemStockStatusUpdated$1; /** */ declare const onInventoryItemUpdated: BuildEventDefinition & typeof onInventoryItemUpdated$1; /** * Triggered when an inventory item is updated. */ declare const onInventoryItemUpdatedWithReason: BuildEventDefinition & typeof onInventoryItemUpdatedWithReason$1; export { BulkCreateInventoryItemsApplicationErrors, BulkCreateInventoryItemsOptions, BulkCreateInventoryItemsResponse, BulkCreateInventoryItemsValidationErrors, BulkDecrementInventoryItemsApplicationErrors, BulkDecrementInventoryItemsByVariantAndLocationApplicationErrors, BulkDecrementInventoryItemsByVariantAndLocationOptions, BulkDecrementInventoryItemsByVariantAndLocationResponse, BulkDecrementInventoryItemsOptions, BulkDecrementInventoryItemsResponse, BulkDeleteInventoryItemsResponse, BulkIncrementInventoryItemsApplicationErrors, BulkIncrementInventoryItemsByVariantAndLocationApplicationErrors, BulkIncrementInventoryItemsByVariantAndLocationOptions, BulkIncrementInventoryItemsByVariantAndLocationResponse, BulkIncrementInventoryItemsOptions, BulkIncrementInventoryItemsResponse, BulkUpdateInventoryItemsApplicationErrors, BulkUpdateInventoryItemsByFilterApplicationErrors, BulkUpdateInventoryItemsByFilterOptions, BulkUpdateInventoryItemsByFilterResponse, BulkUpdateInventoryItemsOptions, BulkUpdateInventoryItemsResponse, CreateInventoryItemApplicationErrors, CreateInventoryItemValidationErrors, DecrementDataById, DecrementDataByVariantAndLocation, IncrementDataById, IncrementDataByVariantAndLocation, InventoryItem, InventoryItemCreatedEnvelope, InventoryItemDeletedEnvelope, InventoryItemQuery, InventoryItemSearch, InventoryItemStockStatusUpdatedEnvelope, InventoryItemUpdatedEnvelope, InventoryItemUpdatedWithReasonEnvelope, InventoryItemsQueryBuilder, MaskedInventoryItem, SearchInventoryItemsResponse, UpdateInventoryItem, UpdateInventoryItemApplicationErrors, UpdateInventoryItemOptions, bulkCreateInventoryItems, bulkDecrementInventoryItems, bulkDecrementInventoryItemsByVariantAndLocation, bulkDeleteInventoryItems, bulkIncrementInventoryItems, bulkIncrementInventoryItemsByVariantAndLocation, bulkUpdateInventoryItems, bulkUpdateInventoryItemsByFilter, createInventoryItem, deleteInventoryItem, getInventoryItem, onInventoryItemCreated, onInventoryItemDeleted, onInventoryItemStockStatusUpdated, onInventoryItemUpdated, onInventoryItemUpdatedWithReason, queryInventoryItems, searchInventoryItems, updateInventoryItem };