@wix/himalaya-cli 0.2004.0 → 0.2005.0
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/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/extensions.d.ts +33 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/extensions.d.ts +1 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/options.d.ts +4 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/product-details.d.ts +58 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/_shared/types.generated.d.ts +2336 -26
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/addOns.generated.d.ts +169 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attendance.generated.d.ts +150 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attributeDefinition.generated.d.ts +124 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attributeValue.generated.d.ts +107 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/availabilityCalendar.generated.d.ts +66 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/availabilityTimeSlots.generated.d.ts +115 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingFees.generated.d.ts +82 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingPolicies.generated.d.ts +174 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingPolicySnapshots.generated.d.ts +54 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookings.generated.d.ts +732 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingsSettings.generated.d.ts +54 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/catalogSearch.generated.d.ts +158 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/categories.generated.d.ts +74 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/categoriesV2.generated.d.ts +122 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/eventTimeSlots.generated.d.ts +76 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/extendedBookings.generated.d.ts +239 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/externalCalendars.generated.d.ts +229 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/index.generated.d.ts +28 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/multiServiceAvailabilityTimeSlots.generated.d.ts +97 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/pricing.generated.d.ts +138 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/relatedProducts.generated.d.ts +78 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/resourceTypes.generated.d.ts +109 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/resources.generated.d.ts +210 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/serviceOptionsAndVariants.generated.d.ts +194 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/services.generated.d.ts +642 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/staffMemberSettings.generated.d.ts +46 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/staffMembers.generated.d.ts +399 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/timeSlotsConfiguration.generated.d.ts +93 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/conferencing.generated.d.ts +200 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/eventViews.generated.d.ts +20 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/events.generated.d.ts +355 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/index.generated.d.ts +6 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/participations.generated.d.ts +98 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/scheduleTimeFrames.generated.d.ts +45 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/schedules.generated.d.ts +123 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/categories.generated.d.ts +15 -7
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/comments.generated.d.ts +32 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/contentRevisions.generated.d.ts +27 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/widgets.generated.d.ts +20 -13
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/abandonedCheckouts.generated.d.ts +215 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/backInStockNotifications.generated.d.ts +148 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/backInStockSettings.generated.d.ts +56 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/cart.generated.d.ts +380 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/cartV2.generated.d.ts +529 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkout.generated.d.ts +461 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutContent.generated.d.ts +27 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutSettings.generated.d.ts +137 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutTemplates.generated.d.ts +189 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/contactTaxDetails.generated.d.ts +185 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currencies.generated.d.ts +62 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currentCart.generated.d.ts +326 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currentCartV2.generated.d.ts +442 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/deliveryProfile.generated.d.ts +399 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/deliverySolutions.generated.d.ts +110 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/discountRules.generated.d.ts +186 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/discountsCustomTrigger.generated.d.ts +22 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/draftOrders.generated.d.ts +877 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/draftSubscriptionContracts.generated.d.ts +301 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/ecommerceSettings.generated.d.ts +24 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/giftVouchers.generated.d.ts +73 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/index.generated.d.ts +45 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/localDeliveryOptions.generated.d.ts +99 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/manualTaxMappings.generated.d.ts +207 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderBilling.generated.d.ts +399 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderFulfillments.generated.d.ts +137 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderInvoices.generated.d.ts +80 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderPaymentRequests.generated.d.ts +171 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderTransactions.generated.d.ts +167 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orders.generated.d.ts +695 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/ordersSettings.generated.d.ts +39 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/recommendations.generated.d.ts +57 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/shippingOptions.generated.d.ts +144 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/shippoConfigurations.generated.d.ts +178 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/subscriptionContracts.generated.d.ts +209 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxCalculation.generated.d.ts +115 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxExemptGroups.generated.d.ts +218 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxGroups.generated.d.ts +140 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxRegions.generated.d.ts +126 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxSettings.generated.d.ts +38 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tipSettings.generated.d.ts +116 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tippableStaff.generated.d.ts +28 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tips.generated.d.ts +221 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/totalsCalculator.generated.d.ts +141 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/wishlists.generated.d.ts +57 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/index.generated.d.ts +7 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/orders.generated.d.ts +368 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/planBenefits.generated.d.ts +94 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/plans.generated.d.ts +235 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/plansV3.generated.d.ts +266 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/pricingPlansSettings.generated.d.ts +48 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/pricingVariantCategories.generated.d.ts +92 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/brandsV3.generated.d.ts +211 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/catalogImportsV3.generated.d.ts +382 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/catalogVersioning.generated.d.ts +17 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/collections.generated.d.ts +52 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/customizationsV3.generated.d.ts +292 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/index.generated.d.ts +18 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/infoSectionsV3.generated.d.ts +306 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/inventory.generated.d.ts +126 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/inventoryItemsV3.generated.d.ts +389 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/productGroupsV3.generated.d.ts +282 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/products.generated.d.ts +678 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/productsV3.generated.d.ts +1069 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/promotionsV3.generated.d.ts +232 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/readOnlyVariantsV3.generated.d.ts +93 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/ribbonsV3.generated.d.ts +211 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/storesLocationsV3.generated.d.ts +60 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/subscriptionOptions.generated.d.ts +223 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/wishlist.generated.d.ts +37 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +2 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-bookings.mjs +1036 -4
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-calendar.mjs +286 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-comments.mjs +23 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-ecom.mjs +1663 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-pricing-plans.mjs +336 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-stores.mjs +1029 -11
- package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +8 -4
- package/dist/cli.mjs +8 -8
- package/guides/importable-sdks.md +1 -0
- package/guides/sdk-reference.json +15672 -8927
- package/guides/wix-api-usage.md +28 -0
- package/package.json +2 -2
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { Paging, PagingMetadata } from "../_shared/types.generated.js";
|
|
3
|
+
export type { Paging, PagingMetadata } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface DecrementData {
|
|
6
|
+
inventoryId?: string;
|
|
7
|
+
externalId?: string;
|
|
8
|
+
productId?: string;
|
|
9
|
+
variantId?: string;
|
|
10
|
+
decrementBy?: number;
|
|
11
|
+
preorderRequest?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface DecrementInventoryRequest {
|
|
14
|
+
decrementData?: DecrementData[];
|
|
15
|
+
}
|
|
16
|
+
export interface DecrementInventoryResponse {
|
|
17
|
+
}
|
|
18
|
+
export interface GetInventoryVariantsRequest {
|
|
19
|
+
inventoryId?: string;
|
|
20
|
+
externalId?: string;
|
|
21
|
+
productId?: string;
|
|
22
|
+
variantIds?: string[];
|
|
23
|
+
}
|
|
24
|
+
export interface GetInventoryVariantsResponse {
|
|
25
|
+
inventoryItem?: InventoryItemV2;
|
|
26
|
+
}
|
|
27
|
+
export interface IncrementData {
|
|
28
|
+
inventoryId?: string;
|
|
29
|
+
productId?: string;
|
|
30
|
+
variantId?: string;
|
|
31
|
+
incrementBy?: number;
|
|
32
|
+
}
|
|
33
|
+
export interface IncrementInventoryRequest {
|
|
34
|
+
incrementData?: IncrementData[];
|
|
35
|
+
}
|
|
36
|
+
export interface IncrementInventoryResponse {
|
|
37
|
+
}
|
|
38
|
+
export interface InventoryItemV2 {
|
|
39
|
+
id?: string;
|
|
40
|
+
externalId?: string;
|
|
41
|
+
productId?: string;
|
|
42
|
+
trackQuantity?: boolean;
|
|
43
|
+
variants?: InventoryVariantV2[];
|
|
44
|
+
lastUpdated?: string;
|
|
45
|
+
numericId?: string;
|
|
46
|
+
preorderInfo?: PreorderInfo;
|
|
47
|
+
}
|
|
48
|
+
export interface InventoryVariantV2 {
|
|
49
|
+
variantId?: string;
|
|
50
|
+
inStock?: boolean;
|
|
51
|
+
quantity?: number;
|
|
52
|
+
availableForPreorder?: boolean;
|
|
53
|
+
}
|
|
54
|
+
export interface PreorderInfo {
|
|
55
|
+
enabled?: boolean;
|
|
56
|
+
message?: string;
|
|
57
|
+
limit?: number;
|
|
58
|
+
}
|
|
59
|
+
export interface Query {
|
|
60
|
+
paging?: Paging;
|
|
61
|
+
filter?: string;
|
|
62
|
+
sort?: string;
|
|
63
|
+
}
|
|
64
|
+
export interface QueryInventoryRequest {
|
|
65
|
+
query?: Query;
|
|
66
|
+
}
|
|
67
|
+
export interface QueryInventoryResponse {
|
|
68
|
+
inventoryItems?: InventoryItemV2[];
|
|
69
|
+
metadata?: PagingMetadata;
|
|
70
|
+
totalResults?: number;
|
|
71
|
+
}
|
|
72
|
+
export interface UpdateInventoryVariantsRequest {
|
|
73
|
+
inventoryItem?: InventoryItemV2;
|
|
74
|
+
}
|
|
75
|
+
export interface UpdateInventoryVariantsResponse {
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Subtracts a set number of items from inventory.
|
|
79
|
+
*
|
|
80
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
81
|
+
* @permissionId WIX_STORES.MODIFY_INVENTORY
|
|
82
|
+
* @fqn wix.inventory.api.v1.InventoryWriteApi.DecrementInventory
|
|
83
|
+
*
|
|
84
|
+
* POST /stores/v2/inventoryItems/decrement
|
|
85
|
+
*/
|
|
86
|
+
export declare function decrementInventory(req?: DecrementInventoryRequest, opts?: WixCallOptions): Promise<DecrementInventoryResponse>;
|
|
87
|
+
/**
|
|
88
|
+
* Gets inventory variant information based on the specified option choices.
|
|
89
|
+
*
|
|
90
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
91
|
+
* @permissionId WIX_STORES.READ_INVENTORY
|
|
92
|
+
* @fqn wix.inventory.api.v1.InventoryReadApi.GetInventoryVariants
|
|
93
|
+
*
|
|
94
|
+
* POST /stores-reader/v2/inventoryItems/{inventoryId}/getVariants
|
|
95
|
+
*/
|
|
96
|
+
export declare function getInventoryVariants(req: GetInventoryVariantsRequest, opts?: WixCallOptions): Promise<GetInventoryVariantsResponse>;
|
|
97
|
+
/**
|
|
98
|
+
* Adds a set number of items to inventory.
|
|
99
|
+
*
|
|
100
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
101
|
+
* @permissionId WIX_STORES.MODIFY_INVENTORY
|
|
102
|
+
* @fqn wix.inventory.api.v1.InventoryWriteApi.IncrementInventory
|
|
103
|
+
*
|
|
104
|
+
* POST /stores/v2/inventoryItems/increment
|
|
105
|
+
*/
|
|
106
|
+
export declare function incrementInventory(req?: IncrementInventoryRequest, opts?: WixCallOptions): Promise<IncrementInventoryResponse>;
|
|
107
|
+
/**
|
|
108
|
+
* Returns a list of inventory items, given the provided paging, sorting and filtering.
|
|
109
|
+
*
|
|
110
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
111
|
+
* @permissionId WIX_STORES.READ_INVENTORY
|
|
112
|
+
* @fqn wix.inventory.api.v1.InventoryReadApi.QueryInventory
|
|
113
|
+
*
|
|
114
|
+
* POST /stores-reader/v2/inventoryItems/query
|
|
115
|
+
*/
|
|
116
|
+
export declare function queryInventory(req?: QueryInventoryRequest, opts?: WixCallOptions): Promise<QueryInventoryResponse>;
|
|
117
|
+
/**
|
|
118
|
+
* Updates product inventory, including total quantity, whether the product is in stock, and whether the product inventory is tracked.
|
|
119
|
+
*
|
|
120
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
121
|
+
* @permissionId WIX_STORES.MODIFY_INVENTORY
|
|
122
|
+
* @fqn wix.inventory.api.v1.InventoryWriteApi.UpdateInventoryVariants
|
|
123
|
+
*
|
|
124
|
+
* PATCH /stores/v2/inventoryItems/product/{inventoryItemProductId}
|
|
125
|
+
*/
|
|
126
|
+
export declare function updateInventoryVariants(req: UpdateInventoryVariantsRequest, opts?: WixCallOptions): Promise<UpdateInventoryVariantsResponse>;
|
|
@@ -0,0 +1,389 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AggregationData, BulkActionMetadata, CommonCursors, CursorPaging, CursorPagingMetadata, DateHistogramAggregation, GroupByAggregation, InventoryItem, ItemMetadata, NestedAggregation, Paging, RangeAggregation, ScalarAggregation, SearchDetails, Sorting, ValueAggregation } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AggregationData, AggregationResults, AggregationResultsScalarResult, ApplicationError, BulkActionMetadata, CommonCursors, CursorPaging, CursorPagingMetadata, Cursors, DateHistogramAggregation, DateHistogramResult, DateHistogramResults, ExtendedFields, GroupByAggregation, GroupByValueResults, IncludeMissingValuesOptions, InventoryItem, ItemMetadata, NestedAggregation, NestedAggregationItem, NestedAggregationResults, NestedResults, NestedValueAggregationResult, Paging, PreorderInfo, Product, RangeAggregation, RangeAggregationResult, RangeBucket, RangeResults, Results, ScalarAggregation, SearchDetails, Sorting, ValueAggregation, ValueAggregationResult, ValueResults } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface AdjustInventoryAction {
|
|
6
|
+
incrementBy?: number;
|
|
7
|
+
decrementBy?: number;
|
|
8
|
+
}
|
|
9
|
+
export interface Aggregation {
|
|
10
|
+
value?: ValueAggregation;
|
|
11
|
+
range?: RangeAggregation;
|
|
12
|
+
scalar?: ScalarAggregation;
|
|
13
|
+
dateHistogram?: DateHistogramAggregation;
|
|
14
|
+
nested?: NestedAggregation;
|
|
15
|
+
name?: string;
|
|
16
|
+
type?: string;
|
|
17
|
+
fieldPath?: string;
|
|
18
|
+
groupBy?: GroupByAggregation;
|
|
19
|
+
}
|
|
20
|
+
export interface BulkAdjustInventoryItemsByFilterRequest {
|
|
21
|
+
filter?: Record<string, unknown>;
|
|
22
|
+
adjustment?: AdjustInventoryAction;
|
|
23
|
+
search?: SearchDetails;
|
|
24
|
+
trackQuantity?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface BulkAdjustInventoryItemsByFilterResponse {
|
|
27
|
+
jobId?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface BulkCreateInventoryItemsByVariantFilterRequest {
|
|
30
|
+
filter?: Record<string, unknown>;
|
|
31
|
+
search?: SearchDetails;
|
|
32
|
+
locationId?: string;
|
|
33
|
+
inventoryCreationData?: InventoryCreationData;
|
|
34
|
+
}
|
|
35
|
+
export interface BulkCreateInventoryItemsByVariantFilterResponse {
|
|
36
|
+
jobId?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface BulkCreateInventoryItemsRequest {
|
|
39
|
+
inventoryItems?: InventoryItem[];
|
|
40
|
+
returnEntity?: boolean;
|
|
41
|
+
}
|
|
42
|
+
export interface BulkCreateInventoryItemsResponse {
|
|
43
|
+
results?: V3BulkInventoryItemResult[];
|
|
44
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
45
|
+
}
|
|
46
|
+
export interface BulkDecrementInventoryItemsByVariantAndLocationRequest {
|
|
47
|
+
decrementData?: DecrementDataByVariantAndLocation[];
|
|
48
|
+
restrictInventory?: boolean;
|
|
49
|
+
returnEntity?: boolean;
|
|
50
|
+
reason?: string;
|
|
51
|
+
}
|
|
52
|
+
export interface BulkDecrementInventoryItemsByVariantAndLocationResponse {
|
|
53
|
+
results?: V3BulkInventoryItemResult[];
|
|
54
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
55
|
+
}
|
|
56
|
+
export interface BulkDecrementInventoryItemsRequest {
|
|
57
|
+
decrementData?: DecrementDataById[];
|
|
58
|
+
restrictInventory?: boolean;
|
|
59
|
+
returnEntity?: boolean;
|
|
60
|
+
reason?: string;
|
|
61
|
+
}
|
|
62
|
+
export interface BulkDecrementInventoryItemsResponse {
|
|
63
|
+
results?: V3BulkInventoryItemResult[];
|
|
64
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
65
|
+
}
|
|
66
|
+
export interface BulkDeleteInventoryItemsByFilterRequest {
|
|
67
|
+
filter?: Record<string, unknown>;
|
|
68
|
+
search?: SearchDetails;
|
|
69
|
+
}
|
|
70
|
+
export interface BulkDeleteInventoryItemsByFilterResponse {
|
|
71
|
+
jobId?: string;
|
|
72
|
+
}
|
|
73
|
+
export interface BulkDeleteInventoryItemsRequest {
|
|
74
|
+
inventoryItemIds?: string[];
|
|
75
|
+
}
|
|
76
|
+
export interface BulkDeleteInventoryItemsResponse {
|
|
77
|
+
results?: BulkInventoryItemResult[];
|
|
78
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
79
|
+
}
|
|
80
|
+
export interface BulkIncrementInventoryItemsByVariantAndLocationRequest {
|
|
81
|
+
incrementData?: IncrementDataByVariantAndLocation[];
|
|
82
|
+
returnEntity?: boolean;
|
|
83
|
+
reason?: string;
|
|
84
|
+
}
|
|
85
|
+
export interface BulkIncrementInventoryItemsByVariantAndLocationResponse {
|
|
86
|
+
results?: V3BulkInventoryItemResult[];
|
|
87
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
88
|
+
}
|
|
89
|
+
export interface BulkIncrementInventoryItemsRequest {
|
|
90
|
+
incrementData?: IncrementDataById[];
|
|
91
|
+
returnEntity?: boolean;
|
|
92
|
+
reason?: string;
|
|
93
|
+
}
|
|
94
|
+
export interface BulkIncrementInventoryItemsResponse {
|
|
95
|
+
results?: V3BulkInventoryItemResult[];
|
|
96
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
97
|
+
}
|
|
98
|
+
export interface BulkInventoryItemResult {
|
|
99
|
+
itemMetadata?: ItemMetadata;
|
|
100
|
+
}
|
|
101
|
+
export interface BulkSetOrAdjustInventoryItemsByFilterRequest {
|
|
102
|
+
filter?: Record<string, unknown>;
|
|
103
|
+
adjustedInventoryAction?: AdjustInventoryAction;
|
|
104
|
+
search?: SearchDetails;
|
|
105
|
+
}
|
|
106
|
+
export interface BulkSetOrAdjustInventoryItemsByFilterResponse {
|
|
107
|
+
jobId?: string;
|
|
108
|
+
}
|
|
109
|
+
export interface BulkUpdateInventoryItemsByFilterRequest {
|
|
110
|
+
filter?: Record<string, unknown>;
|
|
111
|
+
inventoryItem?: InventoryItem;
|
|
112
|
+
search?: SearchDetails;
|
|
113
|
+
}
|
|
114
|
+
export interface BulkUpdateInventoryItemsByFilterResponse {
|
|
115
|
+
jobId?: string;
|
|
116
|
+
}
|
|
117
|
+
export interface BulkUpdateInventoryItemsRequest {
|
|
118
|
+
inventoryItems?: MaskedInventoryItem[];
|
|
119
|
+
returnEntity?: boolean;
|
|
120
|
+
reason?: string;
|
|
121
|
+
}
|
|
122
|
+
export interface BulkUpdateInventoryItemsResponse {
|
|
123
|
+
results?: V3BulkInventoryItemResult[];
|
|
124
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
125
|
+
}
|
|
126
|
+
export interface BulkUpsertInventoryItemResult {
|
|
127
|
+
itemMetadata?: ItemMetadata;
|
|
128
|
+
item?: InventoryItem;
|
|
129
|
+
}
|
|
130
|
+
export interface BulkUpsertInventoryItemsRequest {
|
|
131
|
+
inventoryItems?: MaskedInventoryItem[];
|
|
132
|
+
returnEntity?: boolean;
|
|
133
|
+
}
|
|
134
|
+
export interface BulkUpsertInventoryItemsResponse {
|
|
135
|
+
results?: BulkUpsertInventoryItemResult[];
|
|
136
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
137
|
+
}
|
|
138
|
+
export interface CountInventoryItemsRequest {
|
|
139
|
+
filter?: Record<string, unknown>;
|
|
140
|
+
search?: SearchDetails;
|
|
141
|
+
}
|
|
142
|
+
export interface CountInventoryItemsResponse {
|
|
143
|
+
count?: number;
|
|
144
|
+
}
|
|
145
|
+
export interface CreateInventoryItemRequest {
|
|
146
|
+
inventoryItem?: InventoryItem;
|
|
147
|
+
}
|
|
148
|
+
export interface CreateInventoryItemResponse {
|
|
149
|
+
inventoryItem?: InventoryItem;
|
|
150
|
+
}
|
|
151
|
+
export interface CursorSearch {
|
|
152
|
+
cursorPaging?: CursorPaging;
|
|
153
|
+
filter?: Record<string, unknown>;
|
|
154
|
+
sort?: Sorting[];
|
|
155
|
+
aggregations?: Aggregation[];
|
|
156
|
+
search?: SearchDetails;
|
|
157
|
+
timeZone?: string;
|
|
158
|
+
}
|
|
159
|
+
export interface DecrementDataById {
|
|
160
|
+
inventoryItemId?: string;
|
|
161
|
+
decrementBy?: number;
|
|
162
|
+
preorderRequest?: boolean;
|
|
163
|
+
}
|
|
164
|
+
export interface DecrementDataByVariantAndLocation {
|
|
165
|
+
variantId?: string;
|
|
166
|
+
locationId?: string;
|
|
167
|
+
decrementBy?: number;
|
|
168
|
+
preorderRequest?: boolean;
|
|
169
|
+
}
|
|
170
|
+
export interface DeleteInventoryItemRequest {
|
|
171
|
+
inventoryItemId?: string;
|
|
172
|
+
}
|
|
173
|
+
export interface DeleteInventoryItemResponse {
|
|
174
|
+
}
|
|
175
|
+
export interface GetInventoryItemRequest {
|
|
176
|
+
inventoryItemId?: string;
|
|
177
|
+
}
|
|
178
|
+
export interface GetInventoryItemResponse {
|
|
179
|
+
inventoryItem?: InventoryItem;
|
|
180
|
+
}
|
|
181
|
+
export interface IncrementDataById {
|
|
182
|
+
inventoryItemId?: string;
|
|
183
|
+
incrementBy?: number;
|
|
184
|
+
}
|
|
185
|
+
export interface IncrementDataByVariantAndLocation {
|
|
186
|
+
variantId?: string;
|
|
187
|
+
locationId?: string;
|
|
188
|
+
incrementBy?: number;
|
|
189
|
+
}
|
|
190
|
+
export interface InventoryCreationData {
|
|
191
|
+
quantity?: number;
|
|
192
|
+
}
|
|
193
|
+
export interface MaskedInventoryItem {
|
|
194
|
+
inventoryItem?: InventoryItem;
|
|
195
|
+
}
|
|
196
|
+
export interface PlatformPagingMetadataV2 {
|
|
197
|
+
count?: number;
|
|
198
|
+
cursors?: CommonCursors;
|
|
199
|
+
}
|
|
200
|
+
export interface QueryInventoryItemsRequest {
|
|
201
|
+
query?: QueryV2;
|
|
202
|
+
}
|
|
203
|
+
export interface QueryInventoryItemsResponse {
|
|
204
|
+
inventoryItems?: InventoryItem[];
|
|
205
|
+
pagingMetadata?: PlatformPagingMetadataV2;
|
|
206
|
+
}
|
|
207
|
+
export interface QueryV2 {
|
|
208
|
+
paging?: Paging;
|
|
209
|
+
cursorPaging?: CursorPaging;
|
|
210
|
+
filter?: Record<string, unknown>;
|
|
211
|
+
sort?: Sorting[];
|
|
212
|
+
}
|
|
213
|
+
export interface SearchInventoryItemsRequest {
|
|
214
|
+
search?: CursorSearch;
|
|
215
|
+
}
|
|
216
|
+
export interface SearchInventoryItemsResponse {
|
|
217
|
+
inventoryItems?: InventoryItem[];
|
|
218
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
219
|
+
aggregationData?: AggregationData;
|
|
220
|
+
}
|
|
221
|
+
export interface UpdateInventoryItemRequest {
|
|
222
|
+
inventoryItem?: InventoryItem;
|
|
223
|
+
reason?: string;
|
|
224
|
+
}
|
|
225
|
+
export interface UpdateInventoryItemResponse {
|
|
226
|
+
inventoryItem?: InventoryItem;
|
|
227
|
+
}
|
|
228
|
+
export interface V3BulkInventoryItemResult {
|
|
229
|
+
itemMetadata?: ItemMetadata;
|
|
230
|
+
item?: InventoryItem;
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: visitor POST /stores/v3/bulk/inventory-items/adjust-by-filter answered 400 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
234
|
+
*
|
|
235
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
236
|
+
*
|
|
237
|
+
* POST /stores/v3/bulk/inventory-items/adjust-by-filter
|
|
238
|
+
*/
|
|
239
|
+
export declare function bulkAdjustInventoryItemsByFilter(req?: BulkAdjustInventoryItemsByFilterRequest, opts?: WixCallOptions): Promise<BulkAdjustInventoryItemsByFilterResponse>;
|
|
240
|
+
/**
|
|
241
|
+
* Creates multiple inventory items.
|
|
242
|
+
*
|
|
243
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
244
|
+
*
|
|
245
|
+
* POST /stores/v3/bulk/inventory-items/create
|
|
246
|
+
*/
|
|
247
|
+
export declare function bulkCreateInventoryItems(req?: BulkCreateInventoryItemsRequest, opts?: WixCallOptions): Promise<BulkCreateInventoryItemsResponse>;
|
|
248
|
+
/**
|
|
249
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: visitor POST /stores/v3/bulk/inventory-items/create-by-variant-filter answered 400 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
250
|
+
*
|
|
251
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
252
|
+
*
|
|
253
|
+
* POST /stores/v3/bulk/inventory-items/create-by-variant-filter
|
|
254
|
+
*/
|
|
255
|
+
export declare function bulkCreateInventoryItemsByVariantFilter(req?: BulkCreateInventoryItemsByVariantFilterRequest, opts?: WixCallOptions): Promise<BulkCreateInventoryItemsByVariantFilterResponse>;
|
|
256
|
+
/**
|
|
257
|
+
* Decrements quantities of multiple inventory items.
|
|
258
|
+
*
|
|
259
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
260
|
+
*
|
|
261
|
+
* POST /stores/v3/bulk/inventory-items/decrement
|
|
262
|
+
*/
|
|
263
|
+
export declare function bulkDecrementInventoryItems(req?: BulkDecrementInventoryItemsRequest, opts?: WixCallOptions): Promise<BulkDecrementInventoryItemsResponse>;
|
|
264
|
+
/**
|
|
265
|
+
* Decrements quantities of multiple inventory items by variant and location.
|
|
266
|
+
*
|
|
267
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
268
|
+
*
|
|
269
|
+
* POST /stores/v3/bulk/inventory-items/decrement-by-variant-and-location
|
|
270
|
+
*/
|
|
271
|
+
export declare function bulkDecrementInventoryItemsByVariantAndLocation(req?: BulkDecrementInventoryItemsByVariantAndLocationRequest, opts?: WixCallOptions): Promise<BulkDecrementInventoryItemsByVariantAndLocationResponse>;
|
|
272
|
+
/**
|
|
273
|
+
* Deletes multiple inventory items.
|
|
274
|
+
*
|
|
275
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
276
|
+
*
|
|
277
|
+
* POST /stores/v3/bulk/inventory-items/delete
|
|
278
|
+
*/
|
|
279
|
+
export declare function bulkDeleteInventoryItems(req?: BulkDeleteInventoryItemsRequest, opts?: WixCallOptions): Promise<BulkDeleteInventoryItemsResponse>;
|
|
280
|
+
/**
|
|
281
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: visitor POST /stores/v3/bulk/inventory-items/delete-by-filter answered 400 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
282
|
+
*
|
|
283
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
284
|
+
*
|
|
285
|
+
* POST /stores/v3/bulk/inventory-items/delete-by-filter
|
|
286
|
+
*/
|
|
287
|
+
export declare function bulkDeleteInventoryItemsByFilter(req?: BulkDeleteInventoryItemsByFilterRequest, opts?: WixCallOptions): Promise<BulkDeleteInventoryItemsByFilterResponse>;
|
|
288
|
+
/**
|
|
289
|
+
* Increments quantities of multiple inventory items.
|
|
290
|
+
*
|
|
291
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
292
|
+
*
|
|
293
|
+
* POST /stores/v3/bulk/inventory-items/increment
|
|
294
|
+
*/
|
|
295
|
+
export declare function bulkIncrementInventoryItems(req?: BulkIncrementInventoryItemsRequest, opts?: WixCallOptions): Promise<BulkIncrementInventoryItemsResponse>;
|
|
296
|
+
/**
|
|
297
|
+
* Increments quantities of multiple inventory items by variant and location.
|
|
298
|
+
*
|
|
299
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
300
|
+
*
|
|
301
|
+
* POST /stores/v3/bulk/inventory-items/increment-by-variant-and-location
|
|
302
|
+
*/
|
|
303
|
+
export declare function bulkIncrementInventoryItemsByVariantAndLocation(req?: BulkIncrementInventoryItemsByVariantAndLocationRequest, opts?: WixCallOptions): Promise<BulkIncrementInventoryItemsByVariantAndLocationResponse>;
|
|
304
|
+
/**
|
|
305
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: visitor POST /stores/v3/bulk/inventory-items/set-or-adjust-by-filter answered 400 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
306
|
+
*
|
|
307
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
308
|
+
*
|
|
309
|
+
* POST /stores/v3/bulk/inventory-items/set-or-adjust-by-filter
|
|
310
|
+
*/
|
|
311
|
+
export declare function bulkSetOrAdjustInventoryItemsByFilter(req?: BulkSetOrAdjustInventoryItemsByFilterRequest, opts?: WixCallOptions): Promise<BulkSetOrAdjustInventoryItemsByFilterResponse>;
|
|
312
|
+
/**
|
|
313
|
+
* Updates multiple inventory items.
|
|
314
|
+
*
|
|
315
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
316
|
+
*
|
|
317
|
+
* POST /stores/v3/bulk/inventory-items/update
|
|
318
|
+
*/
|
|
319
|
+
export declare function bulkUpdateInventoryItems(req?: BulkUpdateInventoryItemsRequest, opts?: WixCallOptions): Promise<BulkUpdateInventoryItemsResponse>;
|
|
320
|
+
/**
|
|
321
|
+
* Updates multiple inventory items, given the provided filter.
|
|
322
|
+
*
|
|
323
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
324
|
+
*
|
|
325
|
+
* POST /stores/v3/bulk/inventory-items/update-by-filter
|
|
326
|
+
*/
|
|
327
|
+
export declare function bulkUpdateInventoryItemsByFilter(req?: BulkUpdateInventoryItemsByFilterRequest, opts?: WixCallOptions): Promise<BulkUpdateInventoryItemsByFilterResponse>;
|
|
328
|
+
/**
|
|
329
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: visitor POST /stores/v3/bulk/inventory-items/upsert answered 400 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
330
|
+
*
|
|
331
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
332
|
+
*
|
|
333
|
+
* POST /stores/v3/bulk/inventory-items/upsert
|
|
334
|
+
*/
|
|
335
|
+
export declare function bulkUpsertInventoryItems(req?: BulkUpsertInventoryItemsRequest, opts?: WixCallOptions): Promise<BulkUpsertInventoryItemsResponse>;
|
|
336
|
+
/**
|
|
337
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: owner GET /stores/v3/inventory-items/count answered 200 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
338
|
+
*
|
|
339
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
340
|
+
*
|
|
341
|
+
* POST /stores/v3/inventory-items/count
|
|
342
|
+
*/
|
|
343
|
+
export declare function countInventoryItems(req?: CountInventoryItemsRequest, opts?: WixCallOptions): Promise<CountInventoryItemsResponse>;
|
|
344
|
+
/**
|
|
345
|
+
* Creates an inventory item.
|
|
346
|
+
*
|
|
347
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
348
|
+
*
|
|
349
|
+
* POST /stores/v3/inventory-items
|
|
350
|
+
*/
|
|
351
|
+
export declare function createInventoryItem(req?: CreateInventoryItemRequest, opts?: WixCallOptions): Promise<CreateInventoryItemResponse>;
|
|
352
|
+
/**
|
|
353
|
+
* Deletes an inventory item.
|
|
354
|
+
*
|
|
355
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
356
|
+
*
|
|
357
|
+
* DELETE /stores/v3/inventory-items/{inventoryItemId}
|
|
358
|
+
*/
|
|
359
|
+
export declare function deleteInventoryItem(req: DeleteInventoryItemRequest, opts?: WixCallOptions): Promise<DeleteInventoryItemResponse>;
|
|
360
|
+
/**
|
|
361
|
+
* Retrieves an inventory item.
|
|
362
|
+
*
|
|
363
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
364
|
+
*
|
|
365
|
+
* GET /stores/v3/inventory-items/{inventoryItemId}
|
|
366
|
+
*/
|
|
367
|
+
export declare function getInventoryItem(req: GetInventoryItemRequest, opts?: WixCallOptions): Promise<GetInventoryItemResponse>;
|
|
368
|
+
/**
|
|
369
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
370
|
+
*/
|
|
371
|
+
export declare function queryInventoryItems(req?: QueryInventoryItemsRequest, opts?: WixCallOptions): Promise<QueryInventoryItemsResponse>;
|
|
372
|
+
/**
|
|
373
|
+
* Retrieves a list of inventory items, given the provided filtering, sorting, and cursor paging.
|
|
374
|
+
*
|
|
375
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
376
|
+
* @permissionId WIX_STORES.INVENTORY_READ
|
|
377
|
+
* @fqn com.wix.stores.catalog.inventory.api.v3.InventoryService.SearchInventoryItems
|
|
378
|
+
*
|
|
379
|
+
* POST /stores/v3/inventory-items/search
|
|
380
|
+
*/
|
|
381
|
+
export declare function searchInventoryItems(req?: SearchInventoryItemsRequest, opts?: WixCallOptions): Promise<SearchInventoryItemsResponse>;
|
|
382
|
+
/**
|
|
383
|
+
* Updates an inventory item.
|
|
384
|
+
*
|
|
385
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
386
|
+
*
|
|
387
|
+
* PATCH /stores/v3/inventory-items/{inventoryItemId}
|
|
388
|
+
*/
|
|
389
|
+
export declare function updateInventoryItem(req: UpdateInventoryItemRequest, opts?: WixCallOptions): Promise<UpdateInventoryItemResponse>;
|