@wix/himalaya-cli 0.2003.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 +541 -7
- 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,292 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { BulkActionMetadata, CommonImage, CursorPagingMetadata, CursorQuery, FreeTextSettings, ItemMetadata } from "../_shared/types.generated.js";
|
|
3
|
+
export type { ApplicationError, BulkActionMetadata, CommonImage, CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, FreeTextSettings, ItemMetadata, Sorting } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface AddCustomizationChoicesRequest {
|
|
6
|
+
customizationId?: string;
|
|
7
|
+
choices?: Choice[];
|
|
8
|
+
fields?: string[];
|
|
9
|
+
}
|
|
10
|
+
export interface AddCustomizationChoicesResponse {
|
|
11
|
+
customization?: Customization;
|
|
12
|
+
}
|
|
13
|
+
export interface BulkAddCustomizationChoicesRequest {
|
|
14
|
+
customizationsChoices?: CustomizationChoices[];
|
|
15
|
+
returnEntity?: boolean;
|
|
16
|
+
fields?: string[];
|
|
17
|
+
}
|
|
18
|
+
export interface BulkAddCustomizationChoicesResponse {
|
|
19
|
+
results?: BulkCustomizationResult[];
|
|
20
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
21
|
+
}
|
|
22
|
+
export interface BulkCreateCustomizationsRequest {
|
|
23
|
+
customizations?: Customization[];
|
|
24
|
+
returnEntity?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface BulkCreateCustomizationsResponse {
|
|
27
|
+
results?: BulkCustomizationResult[];
|
|
28
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
29
|
+
}
|
|
30
|
+
export interface BulkCustomizationResult {
|
|
31
|
+
itemMetadata?: ItemMetadata;
|
|
32
|
+
customization?: Customization;
|
|
33
|
+
}
|
|
34
|
+
export interface BulkUpdateCustomizationsRequest {
|
|
35
|
+
customizations?: MaskedCustomization[];
|
|
36
|
+
returnEntity?: boolean;
|
|
37
|
+
fields?: string[];
|
|
38
|
+
}
|
|
39
|
+
export interface BulkUpdateCustomizationsResponse {
|
|
40
|
+
results?: BulkCustomizationResult[];
|
|
41
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
42
|
+
}
|
|
43
|
+
export interface Choice {
|
|
44
|
+
colorCode?: string;
|
|
45
|
+
id?: string;
|
|
46
|
+
choiceType?: string;
|
|
47
|
+
key?: string;
|
|
48
|
+
name?: string;
|
|
49
|
+
defaultAddedPrice?: string;
|
|
50
|
+
displayImage?: CommonImage;
|
|
51
|
+
primaryChoiceIds?: string[];
|
|
52
|
+
}
|
|
53
|
+
export interface ChoicesSettings {
|
|
54
|
+
choices?: Choice[];
|
|
55
|
+
}
|
|
56
|
+
export interface CountCustomizationsRequest {
|
|
57
|
+
filter?: Record<string, unknown>;
|
|
58
|
+
}
|
|
59
|
+
export interface CountCustomizationsResponse {
|
|
60
|
+
count?: number;
|
|
61
|
+
}
|
|
62
|
+
export interface CreateCustomizationRequest {
|
|
63
|
+
customization?: Customization;
|
|
64
|
+
}
|
|
65
|
+
export interface CreateCustomizationResponse {
|
|
66
|
+
customization?: Customization;
|
|
67
|
+
}
|
|
68
|
+
export interface Customization {
|
|
69
|
+
freeTextInput?: FreeTextSettings;
|
|
70
|
+
choicesSettings?: ChoicesSettings;
|
|
71
|
+
id?: string;
|
|
72
|
+
revision?: string;
|
|
73
|
+
createdDate?: string;
|
|
74
|
+
updatedDate?: string;
|
|
75
|
+
key?: string;
|
|
76
|
+
name?: string;
|
|
77
|
+
customizationType?: string;
|
|
78
|
+
customizationRenderType?: string;
|
|
79
|
+
assignedProductsCount?: number;
|
|
80
|
+
}
|
|
81
|
+
export interface CustomizationChoices {
|
|
82
|
+
customizationId?: string;
|
|
83
|
+
choices?: Choice[];
|
|
84
|
+
}
|
|
85
|
+
export interface DeleteCustomizationRequest {
|
|
86
|
+
customizationId?: string;
|
|
87
|
+
}
|
|
88
|
+
export interface DeleteCustomizationResponse {
|
|
89
|
+
}
|
|
90
|
+
export interface GetCustomizationRequest {
|
|
91
|
+
customizationId?: string;
|
|
92
|
+
fields?: string[];
|
|
93
|
+
}
|
|
94
|
+
export interface GetCustomizationResponse {
|
|
95
|
+
customization?: Customization;
|
|
96
|
+
}
|
|
97
|
+
export interface MaskedChoice {
|
|
98
|
+
choice?: Choice;
|
|
99
|
+
}
|
|
100
|
+
export interface MaskedCustomization {
|
|
101
|
+
customization?: Customization;
|
|
102
|
+
}
|
|
103
|
+
export interface QueryCustomizationsRequest {
|
|
104
|
+
query?: CursorQuery;
|
|
105
|
+
fields?: string[];
|
|
106
|
+
}
|
|
107
|
+
export interface QueryCustomizationsResponse {
|
|
108
|
+
customizations?: Customization[];
|
|
109
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
110
|
+
}
|
|
111
|
+
export interface RemoveCustomizationChoicesRequest {
|
|
112
|
+
customizationId?: string;
|
|
113
|
+
choiceIds?: string[];
|
|
114
|
+
revision?: string;
|
|
115
|
+
fields?: string[];
|
|
116
|
+
}
|
|
117
|
+
export interface RemoveCustomizationChoicesResponse {
|
|
118
|
+
customization?: Customization;
|
|
119
|
+
}
|
|
120
|
+
export interface ReorderCustomizationChoicesRequest {
|
|
121
|
+
customizationId?: string;
|
|
122
|
+
revision?: string;
|
|
123
|
+
choiceIds?: string[];
|
|
124
|
+
fields?: string[];
|
|
125
|
+
}
|
|
126
|
+
export interface ReorderCustomizationChoicesResponse {
|
|
127
|
+
customization?: Customization;
|
|
128
|
+
}
|
|
129
|
+
export interface SetCustomizationChoicesRequest {
|
|
130
|
+
customizationId?: string;
|
|
131
|
+
choices?: Choice[];
|
|
132
|
+
fields?: string[];
|
|
133
|
+
}
|
|
134
|
+
export interface SetCustomizationChoicesResponse {
|
|
135
|
+
customization?: Customization;
|
|
136
|
+
}
|
|
137
|
+
export interface UpdateCustomizationChoicesRequest {
|
|
138
|
+
customizationId?: string;
|
|
139
|
+
revision?: string;
|
|
140
|
+
choices?: MaskedChoice[];
|
|
141
|
+
fields?: string[];
|
|
142
|
+
}
|
|
143
|
+
export interface UpdateCustomizationChoicesResponse {
|
|
144
|
+
customization?: Customization;
|
|
145
|
+
}
|
|
146
|
+
export interface UpdateCustomizationRequest {
|
|
147
|
+
customization?: Customization;
|
|
148
|
+
fields?: string[];
|
|
149
|
+
}
|
|
150
|
+
export interface UpdateCustomizationResponse {
|
|
151
|
+
customization?: Customization;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Adds choices to a customization.
|
|
155
|
+
*
|
|
156
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
157
|
+
* @permissionId WIX_STORES.CUSTOMIZATION_UPDATE
|
|
158
|
+
* @fqn wix.stores.catalog.customization.v3.CustomizationService.AddCustomizationChoices
|
|
159
|
+
*
|
|
160
|
+
* POST /stores/v3/customizations/{customizationId}/add-choices
|
|
161
|
+
*/
|
|
162
|
+
export declare function addCustomizationChoices(req: AddCustomizationChoicesRequest, opts?: WixCallOptions): Promise<AddCustomizationChoicesResponse>;
|
|
163
|
+
/**
|
|
164
|
+
* Adds choices to multiple customizations.
|
|
165
|
+
*
|
|
166
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
167
|
+
* @permissionId WIX_STORES.CUSTOMIZATION_UPDATE
|
|
168
|
+
* @fqn wix.stores.catalog.customization.v3.CustomizationService.BulkAddCustomizationChoices
|
|
169
|
+
*
|
|
170
|
+
* POST /stores/v3/bulk/customizations/add-choices
|
|
171
|
+
*/
|
|
172
|
+
export declare function bulkAddCustomizationChoices(req?: BulkAddCustomizationChoicesRequest, opts?: WixCallOptions): Promise<BulkAddCustomizationChoicesResponse>;
|
|
173
|
+
/**
|
|
174
|
+
* Creates multiple customizations.
|
|
175
|
+
*
|
|
176
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
177
|
+
* @permissionId WIX_STORES.CUSTOMIZATION_CREATE
|
|
178
|
+
* @fqn wix.stores.catalog.customization.v3.CustomizationService.BulkCreateCustomizations
|
|
179
|
+
*
|
|
180
|
+
* POST /stores/v3/bulk/customizations/create
|
|
181
|
+
*/
|
|
182
|
+
export declare function bulkCreateCustomizations(req?: BulkCreateCustomizationsRequest, opts?: WixCallOptions): Promise<BulkCreateCustomizationsResponse>;
|
|
183
|
+
/**
|
|
184
|
+
* Updates multiple customizations.
|
|
185
|
+
*
|
|
186
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
187
|
+
* @permissionId WIX_STORES.CUSTOMIZATION_UPDATE
|
|
188
|
+
* @fqn wix.stores.catalog.customization.v3.CustomizationService.BulkUpdateCustomizations
|
|
189
|
+
*
|
|
190
|
+
* POST /stores/v3/bulk/customizations/update
|
|
191
|
+
*/
|
|
192
|
+
export declare function bulkUpdateCustomizations(req?: BulkUpdateCustomizationsRequest, opts?: WixCallOptions): Promise<BulkUpdateCustomizationsResponse>;
|
|
193
|
+
/**
|
|
194
|
+
* Counts the customizations that match the provided filter.
|
|
195
|
+
*
|
|
196
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
197
|
+
* @permissionId WIX_STORES.CUSTOMIZATION_READ
|
|
198
|
+
* @fqn wix.stores.catalog.customization.v3.CustomizationService.CountCustomizations
|
|
199
|
+
*
|
|
200
|
+
* POST /stores/v3/customizations/count
|
|
201
|
+
*/
|
|
202
|
+
export declare function countCustomizations(req?: CountCustomizationsRequest, opts?: WixCallOptions): Promise<CountCustomizationsResponse>;
|
|
203
|
+
/**
|
|
204
|
+
* Creates a customization.
|
|
205
|
+
*
|
|
206
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
207
|
+
* @permissionId WIX_STORES.CUSTOMIZATION_CREATE
|
|
208
|
+
* @fqn wix.stores.catalog.customization.v3.CustomizationService.CreateCustomization
|
|
209
|
+
*
|
|
210
|
+
* POST /stores/v3/customizations
|
|
211
|
+
*/
|
|
212
|
+
export declare function createCustomization(req?: CreateCustomizationRequest, opts?: WixCallOptions): Promise<CreateCustomizationResponse>;
|
|
213
|
+
/**
|
|
214
|
+
* Deletes a customization.
|
|
215
|
+
*
|
|
216
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
217
|
+
* @permissionId WIX_STORES.CUSTOMIZATION_DELETE
|
|
218
|
+
* @fqn wix.stores.catalog.customization.v3.CustomizationService.DeleteCustomization
|
|
219
|
+
*
|
|
220
|
+
* DELETE /stores/v3/customizations/{customizationId}
|
|
221
|
+
*/
|
|
222
|
+
export declare function deleteCustomization(req: DeleteCustomizationRequest, opts?: WixCallOptions): Promise<DeleteCustomizationResponse>;
|
|
223
|
+
/**
|
|
224
|
+
* Retrieves a customization.
|
|
225
|
+
*
|
|
226
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
227
|
+
* @permissionId WIX_STORES.CUSTOMIZATION_READ
|
|
228
|
+
* @fqn wix.stores.catalog.customization.v3.CustomizationService.GetCustomization
|
|
229
|
+
*
|
|
230
|
+
* GET /stores/v3/customizations/{customizationId}
|
|
231
|
+
*/
|
|
232
|
+
export declare function getCustomization(req: GetCustomizationRequest, opts?: WixCallOptions): Promise<GetCustomizationResponse>;
|
|
233
|
+
/**
|
|
234
|
+
* Retrieves a list of up to 100 customizations, given the provided filtering, sorting, and cursor paging. Pass supported values to the `fields` array in the request to include those fields in the response.
|
|
235
|
+
*
|
|
236
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
237
|
+
* @permissionId WIX_STORES.CUSTOMIZATION_READ
|
|
238
|
+
* @fqn wix.stores.catalog.customization.v3.CustomizationService.QueryCustomizations
|
|
239
|
+
*
|
|
240
|
+
* POST /stores/v3/customizations/query
|
|
241
|
+
*/
|
|
242
|
+
export declare function queryCustomizations(req?: QueryCustomizationsRequest, opts?: WixCallOptions): Promise<QueryCustomizationsResponse>;
|
|
243
|
+
/**
|
|
244
|
+
* Removes choices from a customization.
|
|
245
|
+
*
|
|
246
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
247
|
+
* @permissionId WIX_STORES.CUSTOMIZATION_UPDATE
|
|
248
|
+
* @fqn wix.stores.catalog.customization.v3.CustomizationService.RemoveCustomizationChoices
|
|
249
|
+
*
|
|
250
|
+
* POST /stores/v3/customizations/{customizationId}/remove-choices
|
|
251
|
+
*/
|
|
252
|
+
export declare function removeCustomizationChoices(req: RemoveCustomizationChoicesRequest, opts?: WixCallOptions): Promise<RemoveCustomizationChoicesResponse>;
|
|
253
|
+
/**
|
|
254
|
+
* Sets the display order of a customization's choices.
|
|
255
|
+
*
|
|
256
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
257
|
+
* @permissionId WIX_STORES.CUSTOMIZATION_UPDATE
|
|
258
|
+
* @fqn wix.stores.catalog.customization.v3.CustomizationService.ReorderCustomizationChoices
|
|
259
|
+
*
|
|
260
|
+
* POST /stores/v3/customizations/{customizationId}/reorder-choices
|
|
261
|
+
*/
|
|
262
|
+
export declare function reorderCustomizationChoices(req: ReorderCustomizationChoicesRequest, opts?: WixCallOptions): Promise<ReorderCustomizationChoicesResponse>;
|
|
263
|
+
/**
|
|
264
|
+
* Sets a customization's choices. Any and all existing choices will be overridden.
|
|
265
|
+
*
|
|
266
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
267
|
+
* @permissionId WIX_STORES.CUSTOMIZATION_UPDATE
|
|
268
|
+
* @fqn wix.stores.catalog.customization.v3.CustomizationService.SetCustomizationChoices
|
|
269
|
+
*
|
|
270
|
+
* POST /stores/v3/customizations/{customizationId}/set-choices
|
|
271
|
+
*/
|
|
272
|
+
export declare function setCustomizationChoices(req: SetCustomizationChoicesRequest, opts?: WixCallOptions): Promise<SetCustomizationChoicesResponse>;
|
|
273
|
+
/**
|
|
274
|
+
* Updates a customization.
|
|
275
|
+
*
|
|
276
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
277
|
+
* @permissionId WIX_STORES.CUSTOMIZATION_UPDATE
|
|
278
|
+
* @fqn wix.stores.catalog.customization.v3.CustomizationService.UpdateCustomization
|
|
279
|
+
*
|
|
280
|
+
* PATCH /stores/v3/customizations/{customizationId}
|
|
281
|
+
*/
|
|
282
|
+
export declare function updateCustomization(req: UpdateCustomizationRequest, opts?: WixCallOptions): Promise<UpdateCustomizationResponse>;
|
|
283
|
+
/**
|
|
284
|
+
* Updates properties of existing choices in a customization. Choices are identified by their IDs. Only the fields specified in `fieldMask` are updated.
|
|
285
|
+
*
|
|
286
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
287
|
+
* @permissionId WIX_STORES.CUSTOMIZATION_UPDATE
|
|
288
|
+
* @fqn wix.stores.catalog.customization.v3.CustomizationService.UpdateCustomizationChoices
|
|
289
|
+
*
|
|
290
|
+
* POST /stores/v3/customizations/{customizationId}/update-choices
|
|
291
|
+
*/
|
|
292
|
+
export declare function updateCustomizationChoices(req: UpdateCustomizationChoicesRequest, opts?: WixCallOptions): Promise<UpdateCustomizationChoicesResponse>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export * from "../../wix-sdk/stores-v1/src/index.js";
|
|
2
|
+
export * as brandsV3 from "./brandsV3.generated.js";
|
|
3
|
+
export * as catalogImportsV3 from "./catalogImportsV3.generated.js";
|
|
4
|
+
export * as catalogVersioning from "./catalogVersioning.generated.js";
|
|
5
|
+
export * as collections from "./collections.generated.js";
|
|
6
|
+
export * as customizationsV3 from "./customizationsV3.generated.js";
|
|
7
|
+
export * as infoSectionsV3 from "./infoSectionsV3.generated.js";
|
|
8
|
+
export * as inventory from "./inventory.generated.js";
|
|
9
|
+
export * as inventoryItemsV3 from "./inventoryItemsV3.generated.js";
|
|
10
|
+
export * as productGroupsV3 from "./productGroupsV3.generated.js";
|
|
11
|
+
export * as products from "./products.generated.js";
|
|
12
|
+
export * as productsV3 from "./productsV3.generated.js";
|
|
13
|
+
export * as promotionsV3 from "./promotionsV3.generated.js";
|
|
14
|
+
export * as readOnlyVariantsV3 from "./readOnlyVariantsV3.generated.js";
|
|
15
|
+
export * as ribbonsV3 from "./ribbonsV3.generated.js";
|
|
16
|
+
export * as storesLocationsV3 from "./storesLocationsV3.generated.js";
|
|
17
|
+
export * as subscriptionOptions from "./subscriptionOptions.generated.js";
|
|
18
|
+
export * as wishlist from "./wishlist.generated.js";
|
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { Animation, AppEmbedData, AudioData, BlockquoteData, BulkActionMetadata, BulletedListData, ButtonData, CaptionData, CardData, CheckboxListData, CodeBlockData, CollapsibleListData, CursorPagingMetadata, CursorQuery, Design, DividerData, DocumentStyle, EmbedData, FileData, GIFData, GalleryOptions, HTMLData, HeadingData, ImageData, ItemMetadata, LayoutCellData, LayoutData, Link, LinkPreviewData, ListItemNodeData, MapData, Media, Metadata, NodeStyle, Option, OrderedListData, ParagraphData, Permissions, PluginContainerData, PollDataLayout, ShapeData, SlotData, SmartBlockCellData, SmartBlockData, TableCellData, TableData, TextData, TocData, Video, VideoData } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AnchorData, Animation, AppEmbedData, ApplicationError, AudioData, Backdrop, Background, BackgroundGradient, BackgroundImage, Banner, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulkActionMetadata, BulletedListData, ButtonData, ButtonStyles, CaptionData, CardData, CardDataBackground, CardStyles, CellStyle, CheckboxListData, CodeBlockData, CollapsibleListData, ColorData, ColorDataBackground, Colors, CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, Decoration, Design, Dimensions, DividerData, DividerDataStyles, DocumentStyle, EmbedData, EntranceAnimation, EntranceEffect, EventData, FileData, FileSource, FontFamilyData, FontSizeData, GIF, GIFData, GalleryOptions, GalleryOptionsLayout, Gradient, HTMLData, HeadingData, Height, ImageData, ImageDataCrop, ImageDataStyles, ImageStyles, ItemMetadata, ItemStyle, Layers, LayoutCellData, LayoutData, LayoutDataBackground, LayoutDataBackgroundImage, Link, LinkData, LinkPreviewData, LinkPreviewDataStyles, ListItemNodeData, LoopAnimation, LoopEffect, MapData, MapSettings, Media, MentionData, Metadata, NodeStyle, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, PDFSettings, ParagraphData, Permissions, PlaybackOptions, PluginContainerData, PluginContainerDataWidth, PointerEffect, PollDataLayout, PollDesign, PollDesignBackground, PollLayout, PricingData, Rel, RibbonStyles, SectionDivider, ShapeData, ShapeDataStyles, SketchData, SlotData, SlotDesign, SmartBlockCellData, SmartBlockData, Sorting, Spoiler, SpoilerData, Stop, Styles, StylesBorder, TableCellData, TableData, TextData, TextNodeStyle, TextStyle, Thumbnails, TocData, Video, VideoData } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface BulkCreateInfoSectionsRequest {
|
|
6
|
+
infoSections?: InfoSection[];
|
|
7
|
+
returnEntity?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface BulkCreateInfoSectionsResponse {
|
|
10
|
+
results?: BulkInfoSectionItemResult[];
|
|
11
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
12
|
+
}
|
|
13
|
+
export interface BulkDeleteInfoSectionsRequest {
|
|
14
|
+
infoSectionIds?: string[];
|
|
15
|
+
}
|
|
16
|
+
export interface BulkDeleteInfoSectionsResponse {
|
|
17
|
+
results?: BulkInfoSectionResult[];
|
|
18
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
19
|
+
}
|
|
20
|
+
export interface BulkGetOrCreateInfoSectionsRequest {
|
|
21
|
+
infoSections?: InfoSectionForGetOrCreate[];
|
|
22
|
+
fields?: string[];
|
|
23
|
+
}
|
|
24
|
+
export interface BulkGetOrCreateInfoSectionsResponse {
|
|
25
|
+
results?: BulkInfoSectionItemResult[];
|
|
26
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
27
|
+
}
|
|
28
|
+
export interface BulkInfoSectionItemResult {
|
|
29
|
+
itemMetadata?: ItemMetadata;
|
|
30
|
+
item?: InfoSection;
|
|
31
|
+
}
|
|
32
|
+
export interface BulkInfoSectionResult {
|
|
33
|
+
itemMetadata?: ItemMetadata;
|
|
34
|
+
}
|
|
35
|
+
export interface BulkUpdateInfoSectionsRequest {
|
|
36
|
+
infoSections?: MaskedInfoSection[];
|
|
37
|
+
returnEntity?: boolean;
|
|
38
|
+
fields?: string[];
|
|
39
|
+
}
|
|
40
|
+
export interface BulkUpdateInfoSectionsResponse {
|
|
41
|
+
results?: BulkInfoSectionItemResult[];
|
|
42
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
43
|
+
}
|
|
44
|
+
export interface CountInfoSectionsRequest {
|
|
45
|
+
filter?: Record<string, unknown>;
|
|
46
|
+
}
|
|
47
|
+
export interface CountInfoSectionsResponse {
|
|
48
|
+
count?: number;
|
|
49
|
+
}
|
|
50
|
+
export interface CreateInfoSectionRequest {
|
|
51
|
+
infoSection?: InfoSection;
|
|
52
|
+
}
|
|
53
|
+
export interface CreateInfoSectionResponse {
|
|
54
|
+
infoSection?: InfoSection;
|
|
55
|
+
}
|
|
56
|
+
export interface DeleteInfoSectionRequest {
|
|
57
|
+
infoSectionId?: string;
|
|
58
|
+
}
|
|
59
|
+
export interface DeleteInfoSectionResponse {
|
|
60
|
+
}
|
|
61
|
+
export interface GalleryData {
|
|
62
|
+
containerData?: PluginContainerData;
|
|
63
|
+
items?: Item[];
|
|
64
|
+
options?: GalleryOptions;
|
|
65
|
+
disableExpand?: boolean;
|
|
66
|
+
disableDownload?: boolean;
|
|
67
|
+
animation?: Animation;
|
|
68
|
+
}
|
|
69
|
+
export interface GetInfoSectionRequest {
|
|
70
|
+
infoSectionId?: string;
|
|
71
|
+
fields?: string[];
|
|
72
|
+
}
|
|
73
|
+
export interface GetInfoSectionResponse {
|
|
74
|
+
infoSection?: InfoSection;
|
|
75
|
+
}
|
|
76
|
+
export interface GetOrCreateInfoSectionRequest {
|
|
77
|
+
infoSection?: InfoSectionForGetOrCreate;
|
|
78
|
+
fields?: string[];
|
|
79
|
+
}
|
|
80
|
+
export interface GetOrCreateInfoSectionResponse {
|
|
81
|
+
infoSection?: InfoSection;
|
|
82
|
+
}
|
|
83
|
+
export interface Image {
|
|
84
|
+
media?: Media;
|
|
85
|
+
link?: Link;
|
|
86
|
+
}
|
|
87
|
+
export interface InfoSection {
|
|
88
|
+
id?: string;
|
|
89
|
+
revision?: string;
|
|
90
|
+
createdDate?: string;
|
|
91
|
+
updatedDate?: string;
|
|
92
|
+
uniqueName?: string;
|
|
93
|
+
title?: string;
|
|
94
|
+
description?: RichContent;
|
|
95
|
+
plainDescription?: string;
|
|
96
|
+
assignedProductsCount?: number;
|
|
97
|
+
}
|
|
98
|
+
export interface InfoSectionForGetOrCreate {
|
|
99
|
+
id?: string;
|
|
100
|
+
uniqueName?: string;
|
|
101
|
+
title?: string;
|
|
102
|
+
description?: RichContent;
|
|
103
|
+
plainDescription?: string;
|
|
104
|
+
}
|
|
105
|
+
export interface Item {
|
|
106
|
+
image?: Image;
|
|
107
|
+
video?: Video;
|
|
108
|
+
title?: string;
|
|
109
|
+
altText?: string;
|
|
110
|
+
}
|
|
111
|
+
export interface MaskedInfoSection {
|
|
112
|
+
infoSection?: InfoSection;
|
|
113
|
+
fieldMask?: string[];
|
|
114
|
+
}
|
|
115
|
+
export interface Node {
|
|
116
|
+
buttonData?: ButtonData;
|
|
117
|
+
codeBlockData?: CodeBlockData;
|
|
118
|
+
dividerData?: DividerData;
|
|
119
|
+
fileData?: FileData;
|
|
120
|
+
galleryData?: GalleryData;
|
|
121
|
+
gifData?: GIFData;
|
|
122
|
+
headingData?: HeadingData;
|
|
123
|
+
htmlData?: HTMLData;
|
|
124
|
+
imageData?: ImageData;
|
|
125
|
+
linkPreviewData?: LinkPreviewData;
|
|
126
|
+
mapData?: MapData;
|
|
127
|
+
paragraphData?: ParagraphData;
|
|
128
|
+
pollData?: PollData;
|
|
129
|
+
textData?: TextData;
|
|
130
|
+
appEmbedData?: AppEmbedData;
|
|
131
|
+
videoData?: VideoData;
|
|
132
|
+
embedData?: EmbedData;
|
|
133
|
+
collapsibleListData?: CollapsibleListData;
|
|
134
|
+
tableData?: TableData;
|
|
135
|
+
tableCellData?: TableCellData;
|
|
136
|
+
externalData?: Record<string, unknown>;
|
|
137
|
+
audioData?: AudioData;
|
|
138
|
+
orderedListData?: OrderedListData;
|
|
139
|
+
bulletedListData?: BulletedListData;
|
|
140
|
+
blockquoteData?: BlockquoteData;
|
|
141
|
+
captionData?: CaptionData;
|
|
142
|
+
layoutData?: LayoutData;
|
|
143
|
+
layoutCellData?: LayoutCellData;
|
|
144
|
+
shapeData?: ShapeData;
|
|
145
|
+
cardData?: CardData;
|
|
146
|
+
tocData?: TocData;
|
|
147
|
+
smartBlockData?: SmartBlockData;
|
|
148
|
+
smartBlockCellData?: SmartBlockCellData;
|
|
149
|
+
checkboxListData?: CheckboxListData;
|
|
150
|
+
listItemData?: ListItemNodeData;
|
|
151
|
+
slotData?: SlotData;
|
|
152
|
+
type?: string;
|
|
153
|
+
id?: string;
|
|
154
|
+
nodes?: Node[];
|
|
155
|
+
style?: NodeStyle;
|
|
156
|
+
}
|
|
157
|
+
export interface Poll {
|
|
158
|
+
id?: string;
|
|
159
|
+
title?: string;
|
|
160
|
+
creatorId?: string;
|
|
161
|
+
image?: Media;
|
|
162
|
+
options?: Option[];
|
|
163
|
+
settings?: Settings;
|
|
164
|
+
}
|
|
165
|
+
export interface PollData {
|
|
166
|
+
containerData?: PluginContainerData;
|
|
167
|
+
poll?: Poll;
|
|
168
|
+
layout?: PollDataLayout;
|
|
169
|
+
design?: Design;
|
|
170
|
+
animation?: Animation;
|
|
171
|
+
}
|
|
172
|
+
export interface QueryInfoSectionsRequest {
|
|
173
|
+
query?: CursorQuery;
|
|
174
|
+
fields?: string[];
|
|
175
|
+
}
|
|
176
|
+
export interface QueryInfoSectionsResponse {
|
|
177
|
+
infoSections?: InfoSection[];
|
|
178
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
179
|
+
}
|
|
180
|
+
export interface RichContent {
|
|
181
|
+
nodes?: Node[];
|
|
182
|
+
metadata?: Metadata;
|
|
183
|
+
documentStyle?: DocumentStyle;
|
|
184
|
+
}
|
|
185
|
+
export interface Settings {
|
|
186
|
+
permissions?: Permissions;
|
|
187
|
+
showVoters?: boolean;
|
|
188
|
+
showVotesCount?: boolean;
|
|
189
|
+
}
|
|
190
|
+
export interface UpdateInfoSectionRequest {
|
|
191
|
+
infoSection?: InfoSection;
|
|
192
|
+
fields?: string[];
|
|
193
|
+
}
|
|
194
|
+
export interface UpdateInfoSectionResponse {
|
|
195
|
+
infoSection?: InfoSection;
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Creates multiple info sections.
|
|
199
|
+
*
|
|
200
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
201
|
+
* @permissionId WIX_STORES.INFO_SECTION_CREATE
|
|
202
|
+
* @fqn com.wix.stores.catalog.info.section.v3.InfoSectionsService.BulkCreateInfoSections
|
|
203
|
+
*
|
|
204
|
+
* POST /stores/v3/bulk/info-sections/create
|
|
205
|
+
*/
|
|
206
|
+
export declare function bulkCreateInfoSections(req?: BulkCreateInfoSectionsRequest, opts?: WixCallOptions): Promise<BulkCreateInfoSectionsResponse>;
|
|
207
|
+
/**
|
|
208
|
+
* Deletes multiple info sections.
|
|
209
|
+
*
|
|
210
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
211
|
+
* @permissionId WIX_STORES.INFO_SECTION_DELETE
|
|
212
|
+
* @fqn com.wix.stores.catalog.info.section.v3.InfoSectionsService.BulkDeleteInfoSections
|
|
213
|
+
*
|
|
214
|
+
* POST /stores/v3/bulk/info-sections/delete
|
|
215
|
+
*/
|
|
216
|
+
export declare function bulkDeleteInfoSections(req?: BulkDeleteInfoSectionsRequest, opts?: WixCallOptions): Promise<BulkDeleteInfoSectionsResponse>;
|
|
217
|
+
/**
|
|
218
|
+
* Retrieves multiple info sections by ID or `uniqueName`, or creates multiple info sections if those with the passed `uniqueName` don't exist.
|
|
219
|
+
*
|
|
220
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
221
|
+
* @permissionId WIX_STORES.INFO_SECTION_GET_OR_CREATE
|
|
222
|
+
* @fqn com.wix.stores.catalog.info.section.v3.InfoSectionsService.BulkGetOrCreateInfoSections
|
|
223
|
+
*
|
|
224
|
+
* POST /stores/v3/bulk/info-sections/get-or-create
|
|
225
|
+
*/
|
|
226
|
+
export declare function bulkGetOrCreateInfoSections(req?: BulkGetOrCreateInfoSectionsRequest, opts?: WixCallOptions): Promise<BulkGetOrCreateInfoSectionsResponse>;
|
|
227
|
+
/**
|
|
228
|
+
* Updates multiple info sections.
|
|
229
|
+
*
|
|
230
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
231
|
+
* @permissionId WIX_STORES.INFO_SECTION_UPDATE
|
|
232
|
+
* @fqn com.wix.stores.catalog.info.section.v3.InfoSectionsService.BulkUpdateInfoSections
|
|
233
|
+
*
|
|
234
|
+
* POST /stores/v3/bulk/info-sections/update
|
|
235
|
+
*/
|
|
236
|
+
export declare function bulkUpdateInfoSections(req?: BulkUpdateInfoSectionsRequest, opts?: WixCallOptions): Promise<BulkUpdateInfoSectionsResponse>;
|
|
237
|
+
/**
|
|
238
|
+
* Counts the info sections that match the provided filter.
|
|
239
|
+
*
|
|
240
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
241
|
+
* @permissionId WIX_STORES.INFO_SECTION_READ
|
|
242
|
+
* @fqn com.wix.stores.catalog.info.section.v3.InfoSectionsService.CountInfoSections
|
|
243
|
+
*
|
|
244
|
+
* POST /stores/v3/info-sections/count
|
|
245
|
+
*/
|
|
246
|
+
export declare function countInfoSections(req?: CountInfoSectionsRequest, opts?: WixCallOptions): Promise<CountInfoSectionsResponse>;
|
|
247
|
+
/**
|
|
248
|
+
* Creates an info section.
|
|
249
|
+
*
|
|
250
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
251
|
+
* @permissionId WIX_STORES.INFO_SECTION_CREATE
|
|
252
|
+
* @fqn com.wix.stores.catalog.info.section.v3.InfoSectionsService.CreateInfoSection
|
|
253
|
+
*
|
|
254
|
+
* POST /stores/v3/info-sections
|
|
255
|
+
*/
|
|
256
|
+
export declare function createInfoSection(req?: CreateInfoSectionRequest, opts?: WixCallOptions): Promise<CreateInfoSectionResponse>;
|
|
257
|
+
/**
|
|
258
|
+
* Deletes an info section.
|
|
259
|
+
*
|
|
260
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
261
|
+
* @permissionId WIX_STORES.INFO_SECTION_DELETE
|
|
262
|
+
* @fqn com.wix.stores.catalog.info.section.v3.InfoSectionsService.DeleteInfoSection
|
|
263
|
+
*
|
|
264
|
+
* DELETE /stores/v3/info-sections/{infoSectionId}
|
|
265
|
+
*/
|
|
266
|
+
export declare function deleteInfoSection(req: DeleteInfoSectionRequest, opts?: WixCallOptions): Promise<DeleteInfoSectionResponse>;
|
|
267
|
+
/**
|
|
268
|
+
* Retrieves an info section.
|
|
269
|
+
*
|
|
270
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
271
|
+
* @permissionId WIX_STORES.INFO_SECTION_READ
|
|
272
|
+
* @fqn com.wix.stores.catalog.info.section.v3.InfoSectionsService.GetInfoSection
|
|
273
|
+
*
|
|
274
|
+
* GET /stores/v3/info-sections/{infoSectionId}
|
|
275
|
+
*/
|
|
276
|
+
export declare function getInfoSection(req: GetInfoSectionRequest, opts?: WixCallOptions): Promise<GetInfoSectionResponse>;
|
|
277
|
+
/**
|
|
278
|
+
* Retrieves an info section by ID or `uniqueName`, or creates an info section if one with the passed `uniqueName` doesn't exist.
|
|
279
|
+
*
|
|
280
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
281
|
+
* @permissionId WIX_STORES.INFO_SECTION_GET_OR_CREATE
|
|
282
|
+
* @fqn com.wix.stores.catalog.info.section.v3.InfoSectionsService.GetOrCreateInfoSection
|
|
283
|
+
*
|
|
284
|
+
* POST /stores/v3/info-sections/get-or-create
|
|
285
|
+
*/
|
|
286
|
+
export declare function getOrCreateInfoSection(req?: GetOrCreateInfoSectionRequest, opts?: WixCallOptions): Promise<GetOrCreateInfoSectionResponse>;
|
|
287
|
+
/**
|
|
288
|
+
* Retrieves a list of up to 100 info sections, given the provided filtering, sorting, and cursor paging. Pass supported values to the `fields` array in the request to include those fields in the response.
|
|
289
|
+
*
|
|
290
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
291
|
+
* @permissionId WIX_STORES.INFO_SECTION_READ
|
|
292
|
+
* @fqn com.wix.stores.catalog.info.section.v3.InfoSectionsService.QueryInfoSections
|
|
293
|
+
*
|
|
294
|
+
* POST /stores/v3/info-sections/query
|
|
295
|
+
*/
|
|
296
|
+
export declare function queryInfoSections(req?: QueryInfoSectionsRequest, opts?: WixCallOptions): Promise<QueryInfoSectionsResponse>;
|
|
297
|
+
/**
|
|
298
|
+
* Updates an info section.
|
|
299
|
+
*
|
|
300
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
301
|
+
* @permissionId WIX_STORES.INFO_SECTION_UPDATE
|
|
302
|
+
* @fqn com.wix.stores.catalog.info.section.v3.InfoSectionsService.UpdateInfoSection
|
|
303
|
+
*
|
|
304
|
+
* PATCH /stores/v3/info-sections/{infoSectionId}
|
|
305
|
+
*/
|
|
306
|
+
export declare function updateInfoSection(req: UpdateInfoSectionRequest, opts?: WixCallOptions): Promise<UpdateInfoSectionResponse>;
|