@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,232 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AggregationData, BulkActionMetadata, CursorPagingMetadata, CursorQuery, CursorSearch, ExtendedFields, Image, ItemMetadata, Tags } from "../_shared/types.generated.js";
|
|
3
|
+
export type { Aggregation, AggregationData, AggregationResults, AggregationResultsScalarResult, ApplicationError, BulkActionMetadata, CursorPaging, CursorPagingMetadata, CursorQuery, CursorSearch, Cursors, DateHistogramAggregation, DateHistogramResult, DateHistogramResults, ExtendedFields, GroupByValueResults, Image, IncludeMissingValuesOptions, ItemMetadata, NestedAggregation, NestedAggregationItem, NestedAggregationResults, NestedResults, NestedValueAggregationResult, RangeAggregation, RangeAggregationResult, RangeBucket, RangeResults, Results, ScalarAggregation, SearchDetails, Sorting, TagList, Tags, ValueAggregation, ValueAggregationResult, ValueResults } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface BulkCreatePromotionsRequest {
|
|
6
|
+
promotions?: Promotion[];
|
|
7
|
+
returnEntity?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface BulkCreatePromotionsResponse {
|
|
10
|
+
results?: BulkPromotionResult[];
|
|
11
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
12
|
+
}
|
|
13
|
+
export interface BulkDeletePromotionsRequest {
|
|
14
|
+
promotionIds?: string[];
|
|
15
|
+
}
|
|
16
|
+
export interface BulkDeletePromotionsResponse {
|
|
17
|
+
results?: BulkDeletePromotionsResponseBulkPromotionResult[];
|
|
18
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
19
|
+
}
|
|
20
|
+
export interface BulkDeletePromotionsResponseBulkPromotionResult {
|
|
21
|
+
itemMetadata?: ItemMetadata;
|
|
22
|
+
}
|
|
23
|
+
export interface BulkPromotionResult {
|
|
24
|
+
itemMetadata?: ItemMetadata;
|
|
25
|
+
item?: Promotion;
|
|
26
|
+
}
|
|
27
|
+
export interface BulkUpdatePromotionTagsByFilterRequest {
|
|
28
|
+
filter?: Record<string, unknown>;
|
|
29
|
+
assignTags?: Tags;
|
|
30
|
+
unassignTags?: Tags;
|
|
31
|
+
}
|
|
32
|
+
export interface BulkUpdatePromotionTagsByFilterResponse {
|
|
33
|
+
jobId?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface BulkUpdatePromotionTagsRequest {
|
|
36
|
+
promotionIds?: string[];
|
|
37
|
+
assignTags?: Tags;
|
|
38
|
+
unassignTags?: Tags;
|
|
39
|
+
returnEntity?: boolean;
|
|
40
|
+
}
|
|
41
|
+
export interface BulkUpdatePromotionTagsResponse {
|
|
42
|
+
results?: BulkUpdatePromotionTagsResult[];
|
|
43
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
44
|
+
}
|
|
45
|
+
export interface BulkUpdatePromotionTagsResult {
|
|
46
|
+
item?: Promotion;
|
|
47
|
+
itemMetadata?: ItemMetadata;
|
|
48
|
+
}
|
|
49
|
+
export interface BulkUpdatePromotionsRequest {
|
|
50
|
+
promotions?: MaskedPromotion[];
|
|
51
|
+
returnEntity?: boolean;
|
|
52
|
+
}
|
|
53
|
+
export interface BulkUpdatePromotionsResponse {
|
|
54
|
+
results?: BulkUpdatePromotionsResponseBulkPromotionResult[];
|
|
55
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
56
|
+
}
|
|
57
|
+
export interface BulkUpdatePromotionsResponseBulkPromotionResult {
|
|
58
|
+
itemMetadata?: ItemMetadata;
|
|
59
|
+
item?: Promotion;
|
|
60
|
+
}
|
|
61
|
+
export interface CategoryAssignment {
|
|
62
|
+
id?: string;
|
|
63
|
+
position?: number;
|
|
64
|
+
appliedToSubcategories?: boolean;
|
|
65
|
+
}
|
|
66
|
+
export interface CreatePromotionRequest {
|
|
67
|
+
promotion?: Promotion;
|
|
68
|
+
}
|
|
69
|
+
export interface CreatePromotionResponse {
|
|
70
|
+
promotion?: Promotion;
|
|
71
|
+
}
|
|
72
|
+
export interface DeletePromotionRequest {
|
|
73
|
+
promotionId?: string;
|
|
74
|
+
}
|
|
75
|
+
export interface DeletePromotionResponse {
|
|
76
|
+
}
|
|
77
|
+
export interface GetPromotionRequest {
|
|
78
|
+
promotionId?: string;
|
|
79
|
+
}
|
|
80
|
+
export interface GetPromotionResponse {
|
|
81
|
+
promotion?: Promotion;
|
|
82
|
+
}
|
|
83
|
+
export interface MaskedPromotion {
|
|
84
|
+
promotion?: Promotion;
|
|
85
|
+
}
|
|
86
|
+
export interface PositionedPromotion {
|
|
87
|
+
promotion?: Promotion;
|
|
88
|
+
position?: number;
|
|
89
|
+
}
|
|
90
|
+
export interface Promotion {
|
|
91
|
+
id?: string;
|
|
92
|
+
revision?: string;
|
|
93
|
+
createdDate?: string;
|
|
94
|
+
updatedDate?: string;
|
|
95
|
+
name?: string;
|
|
96
|
+
media?: PromotionMedia;
|
|
97
|
+
destinationUrl?: string;
|
|
98
|
+
categories?: CategoryAssignment[];
|
|
99
|
+
enabled?: boolean;
|
|
100
|
+
extendedFields?: ExtendedFields;
|
|
101
|
+
tags?: Tags;
|
|
102
|
+
}
|
|
103
|
+
export interface PromotionMedia {
|
|
104
|
+
id?: string;
|
|
105
|
+
url?: string;
|
|
106
|
+
image?: Image;
|
|
107
|
+
altText?: string;
|
|
108
|
+
displayName?: string;
|
|
109
|
+
mediaType?: string;
|
|
110
|
+
uploadId?: string;
|
|
111
|
+
}
|
|
112
|
+
export interface QueryPromotionsRequest {
|
|
113
|
+
query?: CursorQuery;
|
|
114
|
+
}
|
|
115
|
+
export interface QueryPromotionsResponse {
|
|
116
|
+
promotions?: Promotion[];
|
|
117
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
118
|
+
}
|
|
119
|
+
export interface ResolvePromotionsRequest {
|
|
120
|
+
categoryId?: string;
|
|
121
|
+
}
|
|
122
|
+
export interface ResolvePromotionsResponse {
|
|
123
|
+
promotions?: PositionedPromotion[];
|
|
124
|
+
}
|
|
125
|
+
export interface SearchPromotionsRequest {
|
|
126
|
+
search?: CursorSearch;
|
|
127
|
+
}
|
|
128
|
+
export interface SearchPromotionsResponse {
|
|
129
|
+
promotions?: Promotion[];
|
|
130
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
131
|
+
aggregationData?: AggregationData;
|
|
132
|
+
}
|
|
133
|
+
export interface UpdatePromotionRequest {
|
|
134
|
+
promotion?: Promotion;
|
|
135
|
+
}
|
|
136
|
+
export interface UpdatePromotionResponse {
|
|
137
|
+
promotion?: Promotion;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Creates multiple promotions. Works synchronously.
|
|
141
|
+
*
|
|
142
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
143
|
+
*
|
|
144
|
+
* POST /stores/v3/bulk/promotions/create
|
|
145
|
+
*/
|
|
146
|
+
export declare function bulkCreatePromotions(req?: BulkCreatePromotionsRequest, opts?: WixCallOptions): Promise<BulkCreatePromotionsResponse>;
|
|
147
|
+
/**
|
|
148
|
+
* Deletes multiple promotions. Works synchronously.
|
|
149
|
+
*
|
|
150
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
151
|
+
*
|
|
152
|
+
* POST /stores/v3/bulk/promotions/delete
|
|
153
|
+
*/
|
|
154
|
+
export declare function bulkDeletePromotions(req?: BulkDeletePromotionsRequest, opts?: WixCallOptions): Promise<BulkDeletePromotionsResponse>;
|
|
155
|
+
/**
|
|
156
|
+
* Adds or removes tags on multiple promotions.
|
|
157
|
+
*
|
|
158
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
159
|
+
*
|
|
160
|
+
* POST /stores/v3/bulk/promotions/update-tags
|
|
161
|
+
*/
|
|
162
|
+
export declare function bulkUpdatePromotionTags(req?: BulkUpdatePromotionTagsRequest, opts?: WixCallOptions): Promise<BulkUpdatePromotionTagsResponse>;
|
|
163
|
+
/**
|
|
164
|
+
* Asynchronously updates tags on multiple promotions that match the provided filter criteria.
|
|
165
|
+
*
|
|
166
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
167
|
+
*
|
|
168
|
+
* POST /stores/v3/bulk/promotions/update-tags-by-filter
|
|
169
|
+
*/
|
|
170
|
+
export declare function bulkUpdatePromotionTagsByFilter(req?: BulkUpdatePromotionTagsByFilterRequest, opts?: WixCallOptions): Promise<BulkUpdatePromotionTagsByFilterResponse>;
|
|
171
|
+
/**
|
|
172
|
+
* Updates multiple promotions. Works synchronously.
|
|
173
|
+
*
|
|
174
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
175
|
+
*
|
|
176
|
+
* POST /stores/v3/bulk/promotions/update
|
|
177
|
+
*/
|
|
178
|
+
export declare function bulkUpdatePromotions(req?: BulkUpdatePromotionsRequest, opts?: WixCallOptions): Promise<BulkUpdatePromotionsResponse>;
|
|
179
|
+
/**
|
|
180
|
+
* Creates a promotion.
|
|
181
|
+
*
|
|
182
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
183
|
+
*
|
|
184
|
+
* POST /stores/v3/promotions
|
|
185
|
+
*/
|
|
186
|
+
export declare function createPromotion(req?: CreatePromotionRequest, opts?: WixCallOptions): Promise<CreatePromotionResponse>;
|
|
187
|
+
/**
|
|
188
|
+
* Deletes a promotion.
|
|
189
|
+
*
|
|
190
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
191
|
+
*
|
|
192
|
+
* DELETE /stores/v3/promotions/{promotionId}
|
|
193
|
+
*/
|
|
194
|
+
export declare function deletePromotion(req: DeletePromotionRequest, opts?: WixCallOptions): Promise<DeletePromotionResponse>;
|
|
195
|
+
/**
|
|
196
|
+
* Retrieves a promotion.
|
|
197
|
+
*
|
|
198
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
199
|
+
*
|
|
200
|
+
* GET /stores/v3/promotions/{promotionId}
|
|
201
|
+
*/
|
|
202
|
+
export declare function getPromotion(req: GetPromotionRequest, opts?: WixCallOptions): Promise<GetPromotionResponse>;
|
|
203
|
+
/**
|
|
204
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
205
|
+
*/
|
|
206
|
+
export declare function queryPromotions(req?: QueryPromotionsRequest, opts?: WixCallOptions): Promise<QueryPromotionsResponse>;
|
|
207
|
+
/**
|
|
208
|
+
* Resolves effective promotions for a category. Only enabled promotions are returned, sorted by position in ascending order.
|
|
209
|
+
*
|
|
210
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
211
|
+
*
|
|
212
|
+
* GET /stores/v3/promotions/resolve
|
|
213
|
+
*/
|
|
214
|
+
export declare function resolvePromotions(req?: ResolvePromotionsRequest, opts?: WixCallOptions): Promise<ResolvePromotionsResponse>;
|
|
215
|
+
/**
|
|
216
|
+
* Searches promotions using [WQL - Wix Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language) with support for free-text search and aggregations.
|
|
217
|
+
*
|
|
218
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
219
|
+
* @permissionId stores:catalog:v3:promotion:search_promotions
|
|
220
|
+
* @fqn wix.stores.catalog.promotion.v3.PromotionsService.SearchPromotions
|
|
221
|
+
*
|
|
222
|
+
* POST /stores/v3/promotions/search
|
|
223
|
+
*/
|
|
224
|
+
export declare function searchPromotions(req?: SearchPromotionsRequest, opts?: WixCallOptions): Promise<SearchPromotionsResponse>;
|
|
225
|
+
/**
|
|
226
|
+
* Updates a promotion.
|
|
227
|
+
*
|
|
228
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
229
|
+
*
|
|
230
|
+
* PATCH /stores/v3/promotions/{promotionId}
|
|
231
|
+
*/
|
|
232
|
+
export declare function updatePromotion(req: UpdatePromotionRequest, opts?: WixCallOptions): Promise<UpdatePromotionResponse>;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AggregationData, CursorPagingMetadata, CursorQuery, CursorSearch, FixedMonetaryAmount, InventoryStatus, OptionChoice, PricePerUnitSettings, ProductMedia, RevenueDetails, VariantDigitalProperties, WeightMeasurementUnitInfo } from "../_shared/types.generated.js";
|
|
3
|
+
export type { Aggregation, AggregationData, AggregationResults, AggregationResultsScalarResult, CursorPaging, CursorPagingMetadata, CursorQuery, CursorSearch, Cursors, DateHistogramAggregation, DateHistogramResult, DateHistogramResults, FixedMonetaryAmount, GroupByValueResults, Image, IncludeMissingValuesOptions, InventoryStatus, NestedAggregation, NestedAggregationItem, NestedAggregationResults, NestedResults, NestedValueAggregationResult, OptionChoice, OptionChoiceIds, OptionChoiceNames, PricePerUnitSettings, ProductMedia, RangeAggregation, RangeAggregationResult, RangeBucket, RangeResults, Results, RevenueDetails, ScalarAggregation, SearchDetails, SecuredMedia, Sorting, Thumbnail, ValueAggregation, ValueAggregationResult, ValueResults, VariantDigitalProperties, VideoResolution, VideoV2, WeightMeasurementUnitInfo } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface PhysicalProperties {
|
|
6
|
+
weightMeasurementUnitInfo?: WeightMeasurementUnitInfo;
|
|
7
|
+
}
|
|
8
|
+
export interface PriceInfo {
|
|
9
|
+
actualPrice?: FixedMonetaryAmount;
|
|
10
|
+
compareAtPrice?: FixedMonetaryAmount;
|
|
11
|
+
}
|
|
12
|
+
export interface PricePerUnit {
|
|
13
|
+
settings?: PricePerUnitSettings;
|
|
14
|
+
value?: string;
|
|
15
|
+
description?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface ProductFields {
|
|
18
|
+
physicalProperties?: PhysicalProperties;
|
|
19
|
+
productId?: string;
|
|
20
|
+
name?: string;
|
|
21
|
+
productType?: string;
|
|
22
|
+
slug?: string;
|
|
23
|
+
visible?: boolean;
|
|
24
|
+
visibleInPos?: boolean;
|
|
25
|
+
mainCategoryId?: string;
|
|
26
|
+
currency?: string;
|
|
27
|
+
revision?: string;
|
|
28
|
+
handle?: string;
|
|
29
|
+
}
|
|
30
|
+
export interface QueryVariantsRequest {
|
|
31
|
+
query?: CursorQuery;
|
|
32
|
+
fields?: string[];
|
|
33
|
+
}
|
|
34
|
+
export interface QueryVariantsResponse {
|
|
35
|
+
variants?: ReadOnlyVariant[];
|
|
36
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
37
|
+
}
|
|
38
|
+
export interface ReadOnlyVariant {
|
|
39
|
+
physicalProperties?: VariantPhysicalProperties;
|
|
40
|
+
digitalProperties?: VariantDigitalProperties;
|
|
41
|
+
id?: string;
|
|
42
|
+
visible?: boolean;
|
|
43
|
+
sku?: string;
|
|
44
|
+
barcode?: string;
|
|
45
|
+
optionChoices?: OptionChoice[];
|
|
46
|
+
price?: PriceInfo;
|
|
47
|
+
revenueDetails?: RevenueDetails;
|
|
48
|
+
media?: ProductMedia;
|
|
49
|
+
subscriptionPricesInfo?: SubscriptionPricesInfo;
|
|
50
|
+
inventoryStatus?: InventoryStatus;
|
|
51
|
+
productData?: ProductFields;
|
|
52
|
+
variantId?: string;
|
|
53
|
+
}
|
|
54
|
+
export interface SearchVariantsRequest {
|
|
55
|
+
search?: CursorSearch;
|
|
56
|
+
fields?: string[];
|
|
57
|
+
}
|
|
58
|
+
export interface SearchVariantsResponse {
|
|
59
|
+
variants?: ReadOnlyVariant[];
|
|
60
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
61
|
+
aggregationData?: AggregationData;
|
|
62
|
+
}
|
|
63
|
+
export interface SubscriptionPrice {
|
|
64
|
+
subscriptionId?: string;
|
|
65
|
+
price?: FixedMonetaryAmount;
|
|
66
|
+
pricePerUnit?: SubscriptionPricePerUnit;
|
|
67
|
+
}
|
|
68
|
+
export interface SubscriptionPricePerUnit {
|
|
69
|
+
value?: string;
|
|
70
|
+
description?: string;
|
|
71
|
+
}
|
|
72
|
+
export interface SubscriptionPricesInfo {
|
|
73
|
+
subscriptionPrices?: SubscriptionPrice[];
|
|
74
|
+
}
|
|
75
|
+
export interface VariantPhysicalProperties {
|
|
76
|
+
weight?: number;
|
|
77
|
+
pricePerUnit?: PricePerUnit;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
81
|
+
*/
|
|
82
|
+
export declare function queryVariants(req?: QueryVariantsRequest, opts?: WixCallOptions): Promise<QueryVariantsResponse>;
|
|
83
|
+
/**
|
|
84
|
+
* Search product variants using free-text search with advanced query capabilities.
|
|
85
|
+
*
|
|
86
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
87
|
+
* @permissionId WIX_STORES.READ_ONLY_VARIANT_READ
|
|
88
|
+
* @permissionId WIX_STORES.READ_ONLY_VARIANT_READ_HIDDEN
|
|
89
|
+
* @fqn com.wix.stores.catalog.product.variants.reader.api.v3.ProductVariantsReader.SearchVariants
|
|
90
|
+
*
|
|
91
|
+
* POST /stores/v3/products/search-variants
|
|
92
|
+
*/
|
|
93
|
+
export declare function searchVariants(req?: SearchVariantsRequest, opts?: WixCallOptions): Promise<SearchVariantsResponse>;
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { BulkActionMetadata, CursorPagingMetadata, CursorQuery, ItemMetadata } from "../_shared/types.generated.js";
|
|
3
|
+
export type { ApplicationError, BulkActionMetadata, CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, ItemMetadata, Sorting } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface BulkCreateRibbonsRequest {
|
|
6
|
+
ribbons?: Ribbon[];
|
|
7
|
+
returnEntity?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface BulkCreateRibbonsResponse {
|
|
10
|
+
results?: V3BulkRibbonResult[];
|
|
11
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
12
|
+
}
|
|
13
|
+
export interface BulkDeleteRibbonsRequest {
|
|
14
|
+
ribbonIds?: string[];
|
|
15
|
+
}
|
|
16
|
+
export interface BulkDeleteRibbonsResponse {
|
|
17
|
+
results?: BulkRibbonResult[];
|
|
18
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
19
|
+
}
|
|
20
|
+
export interface BulkGetOrCreateRibbonsRequest {
|
|
21
|
+
ribbonNames?: string[];
|
|
22
|
+
fields?: string[];
|
|
23
|
+
}
|
|
24
|
+
export interface BulkGetOrCreateRibbonsResponse {
|
|
25
|
+
results?: V3BulkRibbonResult[];
|
|
26
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
27
|
+
}
|
|
28
|
+
export interface BulkRibbonResult {
|
|
29
|
+
itemMetadata?: ItemMetadata;
|
|
30
|
+
}
|
|
31
|
+
export interface BulkUpdateRibbonsRequest {
|
|
32
|
+
ribbons?: MaskedRibbon[];
|
|
33
|
+
returnEntity?: boolean;
|
|
34
|
+
fields?: string[];
|
|
35
|
+
}
|
|
36
|
+
export interface BulkUpdateRibbonsResponse {
|
|
37
|
+
results?: V3BulkRibbonResult[];
|
|
38
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
39
|
+
}
|
|
40
|
+
export interface CountRibbonsRequest {
|
|
41
|
+
filter?: Record<string, unknown>;
|
|
42
|
+
}
|
|
43
|
+
export interface CountRibbonsResponse {
|
|
44
|
+
count?: number;
|
|
45
|
+
}
|
|
46
|
+
export interface CreateRibbonRequest {
|
|
47
|
+
ribbon?: Ribbon;
|
|
48
|
+
}
|
|
49
|
+
export interface CreateRibbonResponse {
|
|
50
|
+
ribbon?: Ribbon;
|
|
51
|
+
}
|
|
52
|
+
export interface DeleteRibbonRequest {
|
|
53
|
+
ribbonId?: string;
|
|
54
|
+
}
|
|
55
|
+
export interface DeleteRibbonResponse {
|
|
56
|
+
}
|
|
57
|
+
export interface GetOrCreateRibbonRequest {
|
|
58
|
+
ribbonName?: string;
|
|
59
|
+
fields?: string[];
|
|
60
|
+
}
|
|
61
|
+
export interface GetOrCreateRibbonResponse {
|
|
62
|
+
ribbon?: Ribbon;
|
|
63
|
+
}
|
|
64
|
+
export interface GetRibbonRequest {
|
|
65
|
+
ribbonId?: string;
|
|
66
|
+
fields?: string[];
|
|
67
|
+
}
|
|
68
|
+
export interface GetRibbonResponse {
|
|
69
|
+
ribbon?: Ribbon;
|
|
70
|
+
}
|
|
71
|
+
export interface MaskedRibbon {
|
|
72
|
+
ribbon?: Ribbon;
|
|
73
|
+
fieldMask?: string[];
|
|
74
|
+
}
|
|
75
|
+
export interface QueryRibbonsRequest {
|
|
76
|
+
query?: CursorQuery;
|
|
77
|
+
fields?: string[];
|
|
78
|
+
}
|
|
79
|
+
export interface QueryRibbonsResponse {
|
|
80
|
+
ribbons?: Ribbon[];
|
|
81
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
82
|
+
}
|
|
83
|
+
export interface Ribbon {
|
|
84
|
+
id?: string;
|
|
85
|
+
revision?: string;
|
|
86
|
+
createdDate?: string;
|
|
87
|
+
updatedDate?: string;
|
|
88
|
+
name?: string;
|
|
89
|
+
assignedProductCount?: number;
|
|
90
|
+
}
|
|
91
|
+
export interface UpdateRibbonRequest {
|
|
92
|
+
ribbon?: Ribbon;
|
|
93
|
+
fields?: string[];
|
|
94
|
+
}
|
|
95
|
+
export interface UpdateRibbonResponse {
|
|
96
|
+
ribbon?: Ribbon;
|
|
97
|
+
}
|
|
98
|
+
export interface V3BulkRibbonResult {
|
|
99
|
+
itemMetadata?: ItemMetadata;
|
|
100
|
+
item?: Ribbon;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Creates multiple ribbons.
|
|
104
|
+
*
|
|
105
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
106
|
+
* @permissionId WIX_STORES.RIBBON_CREATE
|
|
107
|
+
* @fqn wix.stores.catalog.ribbon.v3.RibbonService.BulkCreateRibbons
|
|
108
|
+
*
|
|
109
|
+
* POST /stores/v3/bulk/ribbons/create
|
|
110
|
+
*/
|
|
111
|
+
export declare function bulkCreateRibbons(req?: BulkCreateRibbonsRequest, opts?: WixCallOptions): Promise<BulkCreateRibbonsResponse>;
|
|
112
|
+
/**
|
|
113
|
+
* Deletes multiple ribbons.
|
|
114
|
+
*
|
|
115
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
116
|
+
* @permissionId WIX_STORES.RIBBON_DELETE
|
|
117
|
+
* @fqn wix.stores.catalog.ribbon.v3.RibbonService.BulkDeleteRibbons
|
|
118
|
+
*
|
|
119
|
+
* POST /stores/v3/bulk/ribbons/delete
|
|
120
|
+
*/
|
|
121
|
+
export declare function bulkDeleteRibbons(req?: BulkDeleteRibbonsRequest, opts?: WixCallOptions): Promise<BulkDeleteRibbonsResponse>;
|
|
122
|
+
/**
|
|
123
|
+
* Retrieves multiple ribbons by name, or creates multiple ribbons if those with the passed `ribbonNames` don't exist.
|
|
124
|
+
*
|
|
125
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
126
|
+
* @permissionId WIX_STORES.RIBBON_GET_OR_CREATE
|
|
127
|
+
* @fqn wix.stores.catalog.ribbon.v3.RibbonService.BulkGetOrCreateRibbons
|
|
128
|
+
*
|
|
129
|
+
* POST /stores/v3/bulk/ribbons/get-or-create
|
|
130
|
+
*/
|
|
131
|
+
export declare function bulkGetOrCreateRibbons(req?: BulkGetOrCreateRibbonsRequest, opts?: WixCallOptions): Promise<BulkGetOrCreateRibbonsResponse>;
|
|
132
|
+
/**
|
|
133
|
+
* Updates multiple ribbons.
|
|
134
|
+
*
|
|
135
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
136
|
+
* @permissionId WIX_STORES.RIBBON_UPDATE
|
|
137
|
+
* @fqn wix.stores.catalog.ribbon.v3.RibbonService.BulkUpdateRibbons
|
|
138
|
+
*
|
|
139
|
+
* POST /stores/v3/bulk/ribbons/update
|
|
140
|
+
*/
|
|
141
|
+
export declare function bulkUpdateRibbons(req?: BulkUpdateRibbonsRequest, opts?: WixCallOptions): Promise<BulkUpdateRibbonsResponse>;
|
|
142
|
+
/**
|
|
143
|
+
* Counts the ribbons that match the provided filter.
|
|
144
|
+
*
|
|
145
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
146
|
+
* @permissionId WIX_STORES.RIBBON_READ
|
|
147
|
+
* @fqn wix.stores.catalog.ribbon.v3.RibbonService.CountRibbons
|
|
148
|
+
*
|
|
149
|
+
* POST /stores/v3/ribbons/count
|
|
150
|
+
*/
|
|
151
|
+
export declare function countRibbons(req?: CountRibbonsRequest, opts?: WixCallOptions): Promise<CountRibbonsResponse>;
|
|
152
|
+
/**
|
|
153
|
+
* Creates a ribbon.
|
|
154
|
+
*
|
|
155
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
156
|
+
* @permissionId WIX_STORES.RIBBON_CREATE
|
|
157
|
+
* @fqn wix.stores.catalog.ribbon.v3.RibbonService.CreateRibbon
|
|
158
|
+
*
|
|
159
|
+
* POST /stores/v3/ribbons
|
|
160
|
+
*/
|
|
161
|
+
export declare function createRibbon(req?: CreateRibbonRequest, opts?: WixCallOptions): Promise<CreateRibbonResponse>;
|
|
162
|
+
/**
|
|
163
|
+
* Deletes a ribbon.
|
|
164
|
+
*
|
|
165
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
166
|
+
* @permissionId WIX_STORES.RIBBON_DELETE
|
|
167
|
+
* @fqn wix.stores.catalog.ribbon.v3.RibbonService.DeleteRibbon
|
|
168
|
+
*
|
|
169
|
+
* DELETE /stores/v3/ribbons/{ribbonId}
|
|
170
|
+
*/
|
|
171
|
+
export declare function deleteRibbon(req: DeleteRibbonRequest, opts?: WixCallOptions): Promise<DeleteRibbonResponse>;
|
|
172
|
+
/**
|
|
173
|
+
* Retrieves a ribbon by name, or creates a ribbon if one with the passed `ribbonName` doesn't exist.
|
|
174
|
+
*
|
|
175
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
176
|
+
* @permissionId WIX_STORES.RIBBON_GET_OR_CREATE
|
|
177
|
+
* @fqn wix.stores.catalog.ribbon.v3.RibbonService.GetOrCreateRibbon
|
|
178
|
+
*
|
|
179
|
+
* POST /stores/v3/ribbons/get-or-create
|
|
180
|
+
*/
|
|
181
|
+
export declare function getOrCreateRibbon(req?: GetOrCreateRibbonRequest, opts?: WixCallOptions): Promise<GetOrCreateRibbonResponse>;
|
|
182
|
+
/**
|
|
183
|
+
* Retrieves a ribbon.
|
|
184
|
+
*
|
|
185
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
186
|
+
* @permissionId WIX_STORES.RIBBON_READ
|
|
187
|
+
* @fqn wix.stores.catalog.ribbon.v3.RibbonService.GetRibbon
|
|
188
|
+
*
|
|
189
|
+
* GET /stores/v3/ribbons/{ribbonId}
|
|
190
|
+
*/
|
|
191
|
+
export declare function getRibbon(req: GetRibbonRequest, opts?: WixCallOptions): Promise<GetRibbonResponse>;
|
|
192
|
+
/**
|
|
193
|
+
* Retrieves a list of up to 100 ribbons, 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.
|
|
194
|
+
*
|
|
195
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
196
|
+
* @permissionId WIX_STORES.RIBBON_READ
|
|
197
|
+
* @fqn wix.stores.catalog.ribbon.v3.RibbonService.QueryRibbons
|
|
198
|
+
*
|
|
199
|
+
* POST /stores/v3/ribbons/query
|
|
200
|
+
*/
|
|
201
|
+
export declare function queryRibbons(req?: QueryRibbonsRequest, opts?: WixCallOptions): Promise<QueryRibbonsResponse>;
|
|
202
|
+
/**
|
|
203
|
+
* Updates a ribbon.
|
|
204
|
+
*
|
|
205
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
206
|
+
* @permissionId WIX_STORES.RIBBON_UPDATE
|
|
207
|
+
* @fqn wix.stores.catalog.ribbon.v3.RibbonService.UpdateRibbon
|
|
208
|
+
*
|
|
209
|
+
* PATCH /stores/v3/ribbons/{ribbonId}
|
|
210
|
+
*/
|
|
211
|
+
export declare function updateRibbon(req: UpdateRibbonRequest, opts?: WixCallOptions): Promise<UpdateRibbonResponse>;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { CursorPagingMetadata, CursorQuery } from "../_shared/types.generated.js";
|
|
3
|
+
export type { CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, Sorting } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface GetDefaultStoresLocationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetDefaultStoresLocationResponse {
|
|
8
|
+
storesLocation?: StoresLocation;
|
|
9
|
+
}
|
|
10
|
+
export interface GetStoresLocationRequest {
|
|
11
|
+
storesLocationId?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetStoresLocationResponse {
|
|
14
|
+
storesLocation?: StoresLocation;
|
|
15
|
+
}
|
|
16
|
+
export interface QueryStoresLocationsRequest {
|
|
17
|
+
query?: CursorQuery;
|
|
18
|
+
}
|
|
19
|
+
export interface QueryStoresLocationsResponse {
|
|
20
|
+
storesLocations?: StoresLocation[];
|
|
21
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
22
|
+
}
|
|
23
|
+
export interface StoresLocation {
|
|
24
|
+
id?: string;
|
|
25
|
+
revision?: string;
|
|
26
|
+
createdDate?: string;
|
|
27
|
+
updatedDate?: string;
|
|
28
|
+
wixLocationId?: string;
|
|
29
|
+
locationType?: string;
|
|
30
|
+
name?: string;
|
|
31
|
+
defaultLocation?: boolean;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: owner GET /stores/v3/locations/default answered 200 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
35
|
+
*
|
|
36
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
37
|
+
*
|
|
38
|
+
* GET /stores/v3/locations/default
|
|
39
|
+
*/
|
|
40
|
+
export declare function getDefaultStoresLocation(req?: GetDefaultStoresLocationRequest, opts?: WixCallOptions): Promise<GetDefaultStoresLocationResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* Retrieves a Stores location.
|
|
43
|
+
*
|
|
44
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
45
|
+
* @permissionId WIX_STORES.STORES_LOCATION_READ
|
|
46
|
+
* @fqn wix.stores.catalog.location.v3.StoresLocationService.GetStoresLocation
|
|
47
|
+
*
|
|
48
|
+
* GET /stores/v3/locations/{storesLocationId}
|
|
49
|
+
*/
|
|
50
|
+
export declare function getStoresLocation(req: GetStoresLocationRequest, opts?: WixCallOptions): Promise<GetStoresLocationResponse>;
|
|
51
|
+
/**
|
|
52
|
+
* Retrieves a list of up to 100 Stores locations, 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.
|
|
53
|
+
*
|
|
54
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
55
|
+
* @permissionId WIX_STORES.STORES_LOCATION_READ
|
|
56
|
+
* @fqn wix.stores.catalog.location.v3.StoresLocationService.QueryStoresLocations
|
|
57
|
+
*
|
|
58
|
+
* POST /stores/v3/locations/query
|
|
59
|
+
*/
|
|
60
|
+
export declare function queryStoresLocations(req?: QueryStoresLocationsRequest, opts?: WixCallOptions): Promise<QueryStoresLocationsResponse>;
|