@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,169 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { BulkActionMetadata, CursorPagingMetadata, CursorQuery, ExtendedFields, ItemMetadata, MediaItem, Money, TagList } from "../_shared/types.generated.js";
|
|
3
|
+
export type { ApplicationError, BulkActionMetadata, CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, ExtendedFields, Image, ItemMetadata, MediaItem, Money, Sorting, TagList } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface AddOn {
|
|
6
|
+
durationInMinutes?: number;
|
|
7
|
+
maxQuantity?: number;
|
|
8
|
+
id?: string;
|
|
9
|
+
revision?: string;
|
|
10
|
+
createdDate?: string;
|
|
11
|
+
updatedDate?: string;
|
|
12
|
+
name?: string;
|
|
13
|
+
price?: Money;
|
|
14
|
+
taxGroup?: string;
|
|
15
|
+
mainMedia?: MediaItem;
|
|
16
|
+
extendedFields?: ExtendedFields;
|
|
17
|
+
tags?: Tags;
|
|
18
|
+
}
|
|
19
|
+
export interface BulkAddOnResult {
|
|
20
|
+
itemMetadata?: ItemMetadata;
|
|
21
|
+
item?: AddOn;
|
|
22
|
+
}
|
|
23
|
+
export interface BulkCreateAddOnsRequest {
|
|
24
|
+
addOns?: AddOn[];
|
|
25
|
+
returnEntity?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface BulkCreateAddOnsResponse {
|
|
28
|
+
results?: BulkAddOnResult[];
|
|
29
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
30
|
+
}
|
|
31
|
+
export interface BulkDeleteAddOnsRequest {
|
|
32
|
+
addOnIds?: string[];
|
|
33
|
+
}
|
|
34
|
+
export interface BulkDeleteAddOnsResponse {
|
|
35
|
+
results?: BulkDeleteAddOnsResponseBulkAddOnResult[];
|
|
36
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
37
|
+
}
|
|
38
|
+
export interface BulkDeleteAddOnsResponseBulkAddOnResult {
|
|
39
|
+
itemMetadata?: ItemMetadata;
|
|
40
|
+
}
|
|
41
|
+
export interface BulkUpdateAddOnsRequest {
|
|
42
|
+
addOns?: MaskedAddOn[];
|
|
43
|
+
returnEntity?: boolean;
|
|
44
|
+
}
|
|
45
|
+
export interface BulkUpdateAddOnsResponse {
|
|
46
|
+
results?: BulkUpdateAddOnsResponseBulkAddOnResult[];
|
|
47
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
48
|
+
}
|
|
49
|
+
export interface BulkUpdateAddOnsResponseBulkAddOnResult {
|
|
50
|
+
itemMetadata?: ItemMetadata;
|
|
51
|
+
item?: AddOn;
|
|
52
|
+
}
|
|
53
|
+
export interface CreateAddOnRequest {
|
|
54
|
+
addOn?: AddOn;
|
|
55
|
+
}
|
|
56
|
+
export interface CreateAddOnResponse {
|
|
57
|
+
addOn?: AddOn;
|
|
58
|
+
}
|
|
59
|
+
export interface DeleteAddOnRequest {
|
|
60
|
+
addOnId?: string;
|
|
61
|
+
}
|
|
62
|
+
export interface DeleteAddOnResponse {
|
|
63
|
+
}
|
|
64
|
+
export interface GetAddOnRequest {
|
|
65
|
+
addOnId?: string;
|
|
66
|
+
}
|
|
67
|
+
export interface GetAddOnResponse {
|
|
68
|
+
addOn?: AddOn;
|
|
69
|
+
}
|
|
70
|
+
export interface MaskedAddOn {
|
|
71
|
+
addOn?: AddOn;
|
|
72
|
+
}
|
|
73
|
+
export interface QueryAddOnsRequest {
|
|
74
|
+
query?: CursorQuery;
|
|
75
|
+
}
|
|
76
|
+
export interface QueryAddOnsResponse {
|
|
77
|
+
addOns?: AddOn[];
|
|
78
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
79
|
+
}
|
|
80
|
+
export interface Tags {
|
|
81
|
+
privateTags?: TagList;
|
|
82
|
+
tags?: TagList;
|
|
83
|
+
}
|
|
84
|
+
export interface UpdateAddOnRequest {
|
|
85
|
+
addOn?: AddOn;
|
|
86
|
+
}
|
|
87
|
+
export interface UpdateAddOnResponse {
|
|
88
|
+
addOn?: AddOn;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Creates multiple add-ons in a single request.
|
|
92
|
+
*
|
|
93
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
94
|
+
* @permissionId ADD_ONS.ADD_ON_CREATE
|
|
95
|
+
* @fqn wix.addons.v1.AddOnsService.BulkCreateAddOns
|
|
96
|
+
*
|
|
97
|
+
* POST /addons/v1/bulk/add-ons/create
|
|
98
|
+
*/
|
|
99
|
+
export declare function bulkCreateAddOns(req?: BulkCreateAddOnsRequest, opts?: WixCallOptions): Promise<BulkCreateAddOnsResponse>;
|
|
100
|
+
/**
|
|
101
|
+
* Deletes multiple add-ons in a single request.
|
|
102
|
+
*
|
|
103
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
104
|
+
* @permissionId ADD_ONS.ADD_ON_DELETE
|
|
105
|
+
* @fqn wix.addons.v1.AddOnsService.BulkDeleteAddOns
|
|
106
|
+
*
|
|
107
|
+
* POST /addons/v1/bulk/add-ons/delete
|
|
108
|
+
*/
|
|
109
|
+
export declare function bulkDeleteAddOns(req?: BulkDeleteAddOnsRequest, opts?: WixCallOptions): Promise<BulkDeleteAddOnsResponse>;
|
|
110
|
+
/**
|
|
111
|
+
* Updates multiple add-ons in a single request.
|
|
112
|
+
*
|
|
113
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
114
|
+
* @permissionId ADD_ONS.ADD_ON_UPDATE
|
|
115
|
+
* @fqn wix.addons.v1.AddOnsService.BulkUpdateAddOns
|
|
116
|
+
*
|
|
117
|
+
* POST /addons/v1/bulk/add-ons/update
|
|
118
|
+
*/
|
|
119
|
+
export declare function bulkUpdateAddOns(req?: BulkUpdateAddOnsRequest, opts?: WixCallOptions): Promise<BulkUpdateAddOnsResponse>;
|
|
120
|
+
/**
|
|
121
|
+
* Creates an add-on.
|
|
122
|
+
*
|
|
123
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
124
|
+
* @permissionId ADD_ONS.ADD_ON_CREATE
|
|
125
|
+
* @fqn wix.addons.v1.AddOnsService.CreateAddOn
|
|
126
|
+
*
|
|
127
|
+
* POST /addons/v1/add-ons
|
|
128
|
+
*/
|
|
129
|
+
export declare function createAddOn(req?: CreateAddOnRequest, opts?: WixCallOptions): Promise<CreateAddOnResponse>;
|
|
130
|
+
/**
|
|
131
|
+
* Deletes an add-on and removes it from all add-on groups.
|
|
132
|
+
*
|
|
133
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
134
|
+
* @permissionId ADD_ONS.ADD_ON_DELETE
|
|
135
|
+
* @fqn wix.addons.v1.AddOnsService.DeleteAddOn
|
|
136
|
+
*
|
|
137
|
+
* DELETE /addons/v1/add-ons/{addOnId}
|
|
138
|
+
*/
|
|
139
|
+
export declare function deleteAddOn(req: DeleteAddOnRequest, opts?: WixCallOptions): Promise<DeleteAddOnResponse>;
|
|
140
|
+
/**
|
|
141
|
+
* Retrieves an add-on.
|
|
142
|
+
*
|
|
143
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
144
|
+
* @permissionId ADD_ONS.ADD_ON_READ
|
|
145
|
+
* @fqn wix.addons.v1.AddOnsService.GetAddOn
|
|
146
|
+
*
|
|
147
|
+
* GET /addons/v1/add-ons/{addOnId}
|
|
148
|
+
*/
|
|
149
|
+
export declare function getAddOn(req: GetAddOnRequest, opts?: WixCallOptions): Promise<GetAddOnResponse>;
|
|
150
|
+
/**
|
|
151
|
+
* Retrieves up to 100 add-ons, given the specified filtering, sorting, and paging.
|
|
152
|
+
*
|
|
153
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
154
|
+
* @permissionId ADD_ONS.ADD_ON_READ
|
|
155
|
+
* @fqn wix.addons.v1.AddOnsService.QueryAddOns
|
|
156
|
+
*
|
|
157
|
+
* POST /addons/v1/add-ons/query
|
|
158
|
+
*/
|
|
159
|
+
export declare function queryAddOns(req?: QueryAddOnsRequest, opts?: WixCallOptions): Promise<QueryAddOnsResponse>;
|
|
160
|
+
/**
|
|
161
|
+
* Updates an existing add-on.
|
|
162
|
+
*
|
|
163
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
164
|
+
* @permissionId ADD_ONS.ADD_ON_UPDATE
|
|
165
|
+
* @fqn wix.addons.v1.AddOnsService.UpdateAddOn
|
|
166
|
+
*
|
|
167
|
+
* PATCH /addons/v1/add-ons/{addOnId}
|
|
168
|
+
*/
|
|
169
|
+
export declare function updateAddOn(req: UpdateAddOnRequest, opts?: WixCallOptions): Promise<UpdateAddOnResponse>;
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { BulkActionMetadata, CursorPaging, Cursors, ItemMetadata, Sorting } from "../_shared/types.generated.js";
|
|
3
|
+
export type { ApplicationError, BulkActionMetadata, CursorPaging, Cursors, ItemMetadata, Sorting } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface Attendance {
|
|
6
|
+
id?: string;
|
|
7
|
+
bookingId?: string;
|
|
8
|
+
sessionId?: string;
|
|
9
|
+
status?: string;
|
|
10
|
+
numberOfAttendees?: number;
|
|
11
|
+
eventId?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface AttendanceDetails {
|
|
14
|
+
attendance?: Attendance;
|
|
15
|
+
participantNotification?: ParticipantNotification;
|
|
16
|
+
}
|
|
17
|
+
export interface BulkAttendanceResult {
|
|
18
|
+
item?: Attendance;
|
|
19
|
+
itemMetadata?: ItemMetadata;
|
|
20
|
+
}
|
|
21
|
+
export interface BulkDeleteAttendancesRequest {
|
|
22
|
+
attendanceIds?: string[];
|
|
23
|
+
}
|
|
24
|
+
export interface BulkDeleteAttendancesResponse {
|
|
25
|
+
results?: BulkDeleteAttendancesResult[];
|
|
26
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
27
|
+
}
|
|
28
|
+
export interface BulkDeleteAttendancesResult {
|
|
29
|
+
itemMetadata?: ItemMetadata;
|
|
30
|
+
}
|
|
31
|
+
export interface BulkSetAttendanceRequest {
|
|
32
|
+
returnFullEntity?: boolean;
|
|
33
|
+
attendanceDetails?: AttendanceDetails[];
|
|
34
|
+
}
|
|
35
|
+
export interface BulkSetAttendanceResponse {
|
|
36
|
+
results?: BulkAttendanceResult[];
|
|
37
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
38
|
+
}
|
|
39
|
+
export interface CountAttendancesRequest {
|
|
40
|
+
filter?: Record<string, unknown>;
|
|
41
|
+
}
|
|
42
|
+
export interface CountAttendancesResponse {
|
|
43
|
+
count?: number;
|
|
44
|
+
}
|
|
45
|
+
export interface CursorPagingMetadata {
|
|
46
|
+
cursors?: Cursors;
|
|
47
|
+
hasNext?: boolean;
|
|
48
|
+
}
|
|
49
|
+
export interface DeleteAttendanceRequest {
|
|
50
|
+
attendanceId?: string;
|
|
51
|
+
}
|
|
52
|
+
export interface DeleteAttendanceResponse {
|
|
53
|
+
}
|
|
54
|
+
export interface GetAttendanceRequest {
|
|
55
|
+
attendanceId?: string;
|
|
56
|
+
}
|
|
57
|
+
export interface GetAttendanceResponse {
|
|
58
|
+
attendance?: Attendance;
|
|
59
|
+
}
|
|
60
|
+
export interface ParticipantNotification {
|
|
61
|
+
notifyParticipants?: boolean;
|
|
62
|
+
message?: string;
|
|
63
|
+
}
|
|
64
|
+
export interface QueryAttendanceRequest {
|
|
65
|
+
query?: QueryV2;
|
|
66
|
+
}
|
|
67
|
+
export interface QueryAttendanceResponse {
|
|
68
|
+
attendances?: Attendance[];
|
|
69
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
70
|
+
}
|
|
71
|
+
export interface QueryV2 {
|
|
72
|
+
cursorPaging?: CursorPaging;
|
|
73
|
+
filter?: Record<string, unknown>;
|
|
74
|
+
sort?: Sorting[];
|
|
75
|
+
}
|
|
76
|
+
export interface SetAttendanceRequest {
|
|
77
|
+
attendance?: Attendance;
|
|
78
|
+
participantNotification?: ParticipantNotification;
|
|
79
|
+
}
|
|
80
|
+
export interface SetAttendanceResponse {
|
|
81
|
+
attendance?: Attendance;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Deletes multiple attendance records.
|
|
85
|
+
*
|
|
86
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
87
|
+
* @permissionId bookings:v2:attendance:attendance:bulk_delete_attendances
|
|
88
|
+
* @fqn com.wixpress.bookings.attendance.v2.AttendanceService.BulkDeleteAttendances
|
|
89
|
+
*
|
|
90
|
+
* POST /bookings/v2/bulk/attendance/delete
|
|
91
|
+
*/
|
|
92
|
+
export declare function bulkDeleteAttendances(req?: BulkDeleteAttendancesRequest, opts?: WixCallOptions): Promise<BulkDeleteAttendancesResponse>;
|
|
93
|
+
/**
|
|
94
|
+
* Sets or updates attendance information for multiple booking sessions.
|
|
95
|
+
*
|
|
96
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
97
|
+
* @permissionId BOOKINGS.ATTENDANCE_SET
|
|
98
|
+
* @fqn com.wixpress.bookings.attendance.v2.AttendanceService.BulkSetAttendance
|
|
99
|
+
*
|
|
100
|
+
* POST /bookings/v2/bulk/attendance/set
|
|
101
|
+
*/
|
|
102
|
+
export declare function bulkSetAttendance(req?: BulkSetAttendanceRequest, opts?: WixCallOptions): Promise<BulkSetAttendanceResponse>;
|
|
103
|
+
/**
|
|
104
|
+
* Counts attendance records for the calling [member](https://dev.wix.com/docs/api-reference/crm/members-contacts/members/introduction). The member is identified from the site member ID in the `Authorization` header's auth token. Calls with other [identity types](https://dev.wix.com/docs/api-reference/articles/authentication/about-identities) return a `PERMISSION_DENIED` error. Returns the total number of attendance records matching the provided filters. If no filters are provided, returns the count of all attendance records for the caller.
|
|
105
|
+
*
|
|
106
|
+
* @permissionId BOOKINGS.ATTENDANCE_READ
|
|
107
|
+
* @fqn com.wixpress.bookings.attendance.v2.AttendanceService.CountAttendances
|
|
108
|
+
*
|
|
109
|
+
* POST /bookings/bookings-attendance/count
|
|
110
|
+
*/
|
|
111
|
+
export declare function countAttendances(req?: CountAttendancesRequest, opts?: WixCallOptions): Promise<CountAttendancesResponse>;
|
|
112
|
+
/**
|
|
113
|
+
* Deletes an attendance record.
|
|
114
|
+
*
|
|
115
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
116
|
+
* @permissionId bookings:v2:attendance:attendance:delete_attendance
|
|
117
|
+
* @fqn com.wixpress.bookings.attendance.v2.AttendanceService.DeleteAttendance
|
|
118
|
+
*
|
|
119
|
+
* DELETE /bookings/bookings-attendance/{attendanceId}
|
|
120
|
+
*/
|
|
121
|
+
export declare function deleteAttendance(req: DeleteAttendanceRequest, opts?: WixCallOptions): Promise<DeleteAttendanceResponse>;
|
|
122
|
+
/**
|
|
123
|
+
* Retrieves attendance information.
|
|
124
|
+
*
|
|
125
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
126
|
+
* @permissionId BOOKINGS.ATTENDANCE_READ
|
|
127
|
+
* @fqn com.wixpress.bookings.attendance.v2.AttendanceService.GetAttendance
|
|
128
|
+
*
|
|
129
|
+
* GET /bookings/bookings-attendance/{attendanceId}
|
|
130
|
+
*/
|
|
131
|
+
export declare function getAttendance(req: GetAttendanceRequest, opts?: WixCallOptions): Promise<GetAttendanceResponse>;
|
|
132
|
+
/**
|
|
133
|
+
* Creates a query to retrieve a list of attendances.
|
|
134
|
+
*
|
|
135
|
+
* @permissionId BOOKINGS.ATTENDANCE_READ
|
|
136
|
+
* @fqn com.wixpress.bookings.attendance.v2.AttendanceService.QueryAttendance
|
|
137
|
+
*
|
|
138
|
+
* POST /bookings/bookings-attendance/query
|
|
139
|
+
*/
|
|
140
|
+
export declare function queryAttendance(req?: QueryAttendanceRequest, opts?: WixCallOptions): Promise<QueryAttendanceResponse>;
|
|
141
|
+
/**
|
|
142
|
+
* Sets or updates attendance information for a booking session. This information is stored in an `attendance` object.
|
|
143
|
+
*
|
|
144
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
145
|
+
* @permissionId BOOKINGS.ATTENDANCE_SET
|
|
146
|
+
* @fqn com.wixpress.bookings.attendance.v2.AttendanceService.SetAttendance
|
|
147
|
+
*
|
|
148
|
+
* POST /bookings/bookings-attendance/set
|
|
149
|
+
*/
|
|
150
|
+
export declare function setAttendance(req?: SetAttendanceRequest, opts?: WixCallOptions): Promise<SetAttendanceResponse>;
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AttributeDefinition, BulkActionMetadata, CursorPagingMetadata, CursorQuery, ItemMetadata, Tags } from "../_shared/types.generated.js";
|
|
3
|
+
export type { ApplicationError, AttributeDefaultValue, AttributeDefinition, BulkActionMetadata, CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, ExtendedFields, ItemMetadata, NumberConfig, Sorting, StringConfig, TagList, Tags } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface BulkUpdateAttributeDefinitionTagsByFilterRequest {
|
|
6
|
+
filter?: Record<string, unknown>;
|
|
7
|
+
assignTags?: Tags;
|
|
8
|
+
unassignTags?: Tags;
|
|
9
|
+
}
|
|
10
|
+
export interface BulkUpdateAttributeDefinitionTagsByFilterResponse {
|
|
11
|
+
jobId?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface BulkUpdateAttributeDefinitionTagsRequest {
|
|
14
|
+
attributeDefinitionIds?: string[];
|
|
15
|
+
assignTags?: Tags;
|
|
16
|
+
unassignTags?: Tags;
|
|
17
|
+
}
|
|
18
|
+
export interface BulkUpdateAttributeDefinitionTagsResponse {
|
|
19
|
+
results?: BulkUpdateAttributeDefinitionTagsResult[];
|
|
20
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
21
|
+
}
|
|
22
|
+
export interface BulkUpdateAttributeDefinitionTagsResult {
|
|
23
|
+
itemMetadata?: ItemMetadata;
|
|
24
|
+
}
|
|
25
|
+
export interface CreateAttributeDefinitionRequest {
|
|
26
|
+
attributeDefinition?: AttributeDefinition;
|
|
27
|
+
}
|
|
28
|
+
export interface CreateAttributeDefinitionResponse {
|
|
29
|
+
attributeDefinition?: AttributeDefinition;
|
|
30
|
+
}
|
|
31
|
+
export interface DeleteAttributeDefinitionRequest {
|
|
32
|
+
attributeDefinitionId?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface DeleteAttributeDefinitionResponse {
|
|
35
|
+
}
|
|
36
|
+
export interface GetAttributeDefinitionRequest {
|
|
37
|
+
attributeDefinitionId?: string;
|
|
38
|
+
}
|
|
39
|
+
export interface GetAttributeDefinitionResponse {
|
|
40
|
+
attributeDefinition?: AttributeDefinition;
|
|
41
|
+
}
|
|
42
|
+
export interface QueryAttributeDefinitionsRequest {
|
|
43
|
+
query?: CursorQuery;
|
|
44
|
+
}
|
|
45
|
+
export interface QueryAttributeDefinitionsResponse {
|
|
46
|
+
attributeDefinitions?: AttributeDefinition[];
|
|
47
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
48
|
+
}
|
|
49
|
+
export interface UpdateAttributeDefinitionRequest {
|
|
50
|
+
attributeDefinition?: AttributeDefinition;
|
|
51
|
+
}
|
|
52
|
+
export interface UpdateAttributeDefinitionResponse {
|
|
53
|
+
attributeDefinition?: AttributeDefinition;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Adds or removes tags on multiple attribute definitions.
|
|
57
|
+
*
|
|
58
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
59
|
+
* @permissionId bookings:attributes:v1:attribute_definition:bulk_update_attribute_definition_tags
|
|
60
|
+
* @fqn wix.bookings.attributes.v1.AttributeDefinitionsService.BulkUpdateAttributeDefinitionTags
|
|
61
|
+
*
|
|
62
|
+
* POST /_api/attributes/v1/bulk/attribute-definitions/update-tags
|
|
63
|
+
*/
|
|
64
|
+
export declare function bulkUpdateAttributeDefinitionTags(req?: BulkUpdateAttributeDefinitionTagsRequest, opts?: WixCallOptions): Promise<BulkUpdateAttributeDefinitionTagsResponse>;
|
|
65
|
+
/**
|
|
66
|
+
* Asynchronously updates tags on multiple attribute definitions that match the provided filter criteria.
|
|
67
|
+
*
|
|
68
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
69
|
+
* @permissionId bookings:attributes:v1:attribute_definition:bulk_update_attribute_definition_tags_by_filter
|
|
70
|
+
* @fqn wix.bookings.attributes.v1.AttributeDefinitionsService.BulkUpdateAttributeDefinitionTagsByFilter
|
|
71
|
+
*
|
|
72
|
+
* POST /_api/attributes/v1/bulk/attribute-definitions/update-tags-by-filter
|
|
73
|
+
*/
|
|
74
|
+
export declare function bulkUpdateAttributeDefinitionTagsByFilter(req?: BulkUpdateAttributeDefinitionTagsByFilterRequest, opts?: WixCallOptions): Promise<BulkUpdateAttributeDefinitionTagsByFilterResponse>;
|
|
75
|
+
/**
|
|
76
|
+
* Creates an attribute definition.
|
|
77
|
+
*
|
|
78
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
79
|
+
* @permissionId bookings:attributes:v1:attribute_definition:create_attribute_definition
|
|
80
|
+
* @fqn wix.bookings.attributes.v1.AttributeDefinitionsService.CreateAttributeDefinition
|
|
81
|
+
*
|
|
82
|
+
* POST /_api/attributes/v1/attribute-definitions
|
|
83
|
+
*/
|
|
84
|
+
export declare function createAttributeDefinition(req?: CreateAttributeDefinitionRequest, opts?: WixCallOptions): Promise<CreateAttributeDefinitionResponse>;
|
|
85
|
+
/**
|
|
86
|
+
* Deletes an attribute definition.
|
|
87
|
+
*
|
|
88
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
89
|
+
* @permissionId bookings:attributes:v1:attribute_definition:delete_attribute_definition
|
|
90
|
+
* @fqn wix.bookings.attributes.v1.AttributeDefinitionsService.DeleteAttributeDefinition
|
|
91
|
+
*
|
|
92
|
+
* DELETE /_api/attributes/v1/attribute-definitions/{attributeDefinitionId}
|
|
93
|
+
*/
|
|
94
|
+
export declare function deleteAttributeDefinition(req: DeleteAttributeDefinitionRequest, opts?: WixCallOptions): Promise<DeleteAttributeDefinitionResponse>;
|
|
95
|
+
/**
|
|
96
|
+
* Retrieves an attribute definition by its ID.
|
|
97
|
+
*
|
|
98
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
99
|
+
* @permissionId bookings:attributes:v1:attribute_definition:get_attribute_definition
|
|
100
|
+
* @fqn wix.bookings.attributes.v1.AttributeDefinitionsService.GetAttributeDefinition
|
|
101
|
+
*
|
|
102
|
+
* GET /_api/attributes/v1/attribute-definitions/{attributeDefinitionId}
|
|
103
|
+
*/
|
|
104
|
+
export declare function getAttributeDefinition(req: GetAttributeDefinitionRequest, opts?: WixCallOptions): Promise<GetAttributeDefinitionResponse>;
|
|
105
|
+
/**
|
|
106
|
+
* Retrieves a list of up to 1000 attribute definitions, given the provided paging, filtering, and sorting.
|
|
107
|
+
*
|
|
108
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
109
|
+
* @permissionId bookings:attributes:v1:attribute_definition:query_attribute_definitions
|
|
110
|
+
* @fqn wix.bookings.attributes.v1.AttributeDefinitionsService.QueryAttributeDefinitions
|
|
111
|
+
*
|
|
112
|
+
* POST /_api/attributes/v1/attribute-definitions/query
|
|
113
|
+
*/
|
|
114
|
+
export declare function queryAttributeDefinitions(req?: QueryAttributeDefinitionsRequest, opts?: WixCallOptions): Promise<QueryAttributeDefinitionsResponse>;
|
|
115
|
+
/**
|
|
116
|
+
* Updates an attribute definition.
|
|
117
|
+
*
|
|
118
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
119
|
+
* @permissionId bookings:attributes:v1:attribute_definition:update_attribute_definition
|
|
120
|
+
* @fqn wix.bookings.attributes.v1.AttributeDefinitionsService.UpdateAttributeDefinition
|
|
121
|
+
*
|
|
122
|
+
* PATCH /_api/attributes/v1/attribute-definitions/{attributeDefinitionId}
|
|
123
|
+
*/
|
|
124
|
+
export declare function updateAttributeDefinition(req: UpdateAttributeDefinitionRequest, opts?: WixCallOptions): Promise<UpdateAttributeDefinitionResponse>;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AttributeDefinition, BulkActionMetadata, CursorPaging, CursorPagingMetadata, CursorQuery, ExtendedFields, ItemMetadata } from "../_shared/types.generated.js";
|
|
3
|
+
export type { ApplicationError, AttributeDefaultValue, AttributeDefinition, BulkActionMetadata, CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, ExtendedFields, ItemMetadata, NumberConfig, Sorting, StringConfig, TagList, Tags } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface AttributeValue {
|
|
6
|
+
stringData?: string;
|
|
7
|
+
numberData?: number;
|
|
8
|
+
boolData?: boolean;
|
|
9
|
+
id?: string;
|
|
10
|
+
revision?: string;
|
|
11
|
+
createdDate?: string;
|
|
12
|
+
updatedDate?: string;
|
|
13
|
+
attributeDefinitionId?: string;
|
|
14
|
+
entityId?: string;
|
|
15
|
+
valueType?: string;
|
|
16
|
+
extendedFields?: ExtendedFields;
|
|
17
|
+
}
|
|
18
|
+
export interface BulkDeleteAttributeValueResult {
|
|
19
|
+
itemMetadata?: ItemMetadata;
|
|
20
|
+
}
|
|
21
|
+
export interface BulkDeleteAttributeValuesRequest {
|
|
22
|
+
entityId?: string;
|
|
23
|
+
attributeDefinitionIds?: string[];
|
|
24
|
+
}
|
|
25
|
+
export interface BulkDeleteAttributeValuesResponse {
|
|
26
|
+
results?: BulkDeleteAttributeValueResult[];
|
|
27
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
28
|
+
}
|
|
29
|
+
export interface BulkUpsertAttributeValue {
|
|
30
|
+
stringData?: string;
|
|
31
|
+
numberData?: number;
|
|
32
|
+
boolData?: boolean;
|
|
33
|
+
attributeDefinitionId?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface BulkUpsertAttributeValueResult {
|
|
36
|
+
action?: string;
|
|
37
|
+
itemMetadata?: ItemMetadata;
|
|
38
|
+
item?: AttributeValue;
|
|
39
|
+
}
|
|
40
|
+
export interface BulkUpsertAttributeValuesRequest {
|
|
41
|
+
entityId?: string;
|
|
42
|
+
values?: BulkUpsertAttributeValue[];
|
|
43
|
+
returnEntity?: boolean;
|
|
44
|
+
}
|
|
45
|
+
export interface BulkUpsertAttributeValuesResponse {
|
|
46
|
+
results?: BulkUpsertAttributeValueResult[];
|
|
47
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
48
|
+
}
|
|
49
|
+
export interface EntityAttribute {
|
|
50
|
+
attributeDefinition?: AttributeDefinition;
|
|
51
|
+
attributeValue?: AttributeValue;
|
|
52
|
+
}
|
|
53
|
+
export interface ListEntityAttributesRequest {
|
|
54
|
+
entityId?: string;
|
|
55
|
+
paging?: CursorPaging;
|
|
56
|
+
}
|
|
57
|
+
export interface ListEntityAttributesResponse {
|
|
58
|
+
entityAttributes?: EntityAttribute[];
|
|
59
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
60
|
+
}
|
|
61
|
+
export interface QueryAttributeValuesRequest {
|
|
62
|
+
query?: CursorQuery;
|
|
63
|
+
}
|
|
64
|
+
export interface QueryAttributeValuesResponse {
|
|
65
|
+
attributeValues?: AttributeValue[];
|
|
66
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Deletes the values of the given attribute definitions for an entity.
|
|
70
|
+
*
|
|
71
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
72
|
+
* @permissionId bookings:attributes:v1:attribute_value:bulk_delete_attribute_values
|
|
73
|
+
* @fqn wix.bookings.attributes.v1.AttributeValuesService.BulkDeleteAttributeValues
|
|
74
|
+
*
|
|
75
|
+
* POST /_api/attributes/v1/attribute-values/{entityId}/bulk-delete
|
|
76
|
+
*/
|
|
77
|
+
export declare function bulkDeleteAttributeValues(req: BulkDeleteAttributeValuesRequest, opts?: WixCallOptions): Promise<BulkDeleteAttributeValuesResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* Upserts attribute values for an entity.
|
|
80
|
+
*
|
|
81
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
82
|
+
* @permissionId bookings:attributes:v1:attribute_value:bulk_upsert_attribute_values
|
|
83
|
+
* @fqn wix.bookings.attributes.v1.AttributeValuesService.BulkUpsertAttributeValues
|
|
84
|
+
*
|
|
85
|
+
* POST /_api/attributes/v1/attribute-values/{entityId}/bulk-upsert
|
|
86
|
+
*/
|
|
87
|
+
export declare function bulkUpsertAttributeValues(req: BulkUpsertAttributeValuesRequest, opts?: WixCallOptions): Promise<BulkUpsertAttributeValuesResponse>;
|
|
88
|
+
/**
|
|
89
|
+
* Retrieves the entity's attribute values, each paired with its attribute definition (for the name, type, and config).
|
|
90
|
+
*
|
|
91
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
92
|
+
* @permissionId bookings:attributes:v1:attribute_value:list_entity_attributes
|
|
93
|
+
* @fqn wix.bookings.attributes.v1.AttributeValuesService.ListEntityAttributes
|
|
94
|
+
*
|
|
95
|
+
* GET /_api/attributes/v1/attribute-values/{entityId}
|
|
96
|
+
*/
|
|
97
|
+
export declare function listEntityAttributes(req: ListEntityAttributesRequest, opts?: WixCallOptions): Promise<ListEntityAttributesResponse>;
|
|
98
|
+
/**
|
|
99
|
+
* Retrieves a list of up to 1000 attribute values, given the provided paging, filtering, and sorting.
|
|
100
|
+
*
|
|
101
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
102
|
+
* @permissionId bookings:attributes:v1:attribute_value:query_attribute_values
|
|
103
|
+
* @fqn wix.bookings.attributes.v1.AttributeValuesService.QueryAttributeValues
|
|
104
|
+
*
|
|
105
|
+
* POST /_api/attributes/v1/attribute-values/query
|
|
106
|
+
*/
|
|
107
|
+
export declare function queryAttributeValues(req?: QueryAttributeValuesRequest, opts?: WixCallOptions): Promise<QueryAttributeValuesResponse>;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AddressLocation, Location } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AddressLocation, Location } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface AvailabilityWaitingList {
|
|
6
|
+
totalSpots?: number;
|
|
7
|
+
openSpots?: number;
|
|
8
|
+
}
|
|
9
|
+
export interface BookingPolicyViolations {
|
|
10
|
+
tooEarlyToBook?: boolean;
|
|
11
|
+
tooLateToBook?: boolean;
|
|
12
|
+
bookOnlineDisabled?: boolean;
|
|
13
|
+
validSubmissionRequired?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface QueryAvailabilityRequest {
|
|
16
|
+
query?: QueryV2;
|
|
17
|
+
timezone?: string;
|
|
18
|
+
slotsPerDay?: number;
|
|
19
|
+
}
|
|
20
|
+
export interface QueryAvailabilityResponse {
|
|
21
|
+
availabilityEntries?: SlotAvailability[];
|
|
22
|
+
}
|
|
23
|
+
export interface QueryV2 {
|
|
24
|
+
filter?: Record<string, unknown>;
|
|
25
|
+
sort?: Sorting[];
|
|
26
|
+
}
|
|
27
|
+
export interface Slot {
|
|
28
|
+
sessionId?: string;
|
|
29
|
+
serviceId?: string;
|
|
30
|
+
scheduleId?: string;
|
|
31
|
+
startDate?: string;
|
|
32
|
+
endDate?: string;
|
|
33
|
+
timezone?: string;
|
|
34
|
+
resource?: SlotResource;
|
|
35
|
+
location?: Location;
|
|
36
|
+
eventId?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface SlotAvailability {
|
|
39
|
+
slot?: Slot;
|
|
40
|
+
bookable?: boolean;
|
|
41
|
+
totalSpots?: number;
|
|
42
|
+
openSpots?: number;
|
|
43
|
+
waitingList?: AvailabilityWaitingList;
|
|
44
|
+
bookingPolicyViolations?: BookingPolicyViolations;
|
|
45
|
+
locked?: boolean;
|
|
46
|
+
isFromV2?: boolean;
|
|
47
|
+
}
|
|
48
|
+
export interface SlotResource {
|
|
49
|
+
id?: string;
|
|
50
|
+
name?: string;
|
|
51
|
+
}
|
|
52
|
+
export interface Sorting {
|
|
53
|
+
fieldName?: string;
|
|
54
|
+
order?: string;
|
|
55
|
+
origin?: AddressLocation;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Retrieves appointment slots or class events that match specified filters.
|
|
59
|
+
*
|
|
60
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
61
|
+
* @permissionId BOOKINGS.AVAILABILITY_READ
|
|
62
|
+
* @fqn com.wixpress.bookings.availability.AvailabilityCalendar.QueryAvailability
|
|
63
|
+
*
|
|
64
|
+
* POST /availability-calendar/v1/availability/query
|
|
65
|
+
*/
|
|
66
|
+
export declare function queryAvailability(req?: QueryAvailabilityRequest, opts?: WixCallOptions): Promise<QueryAvailabilityResponse>;
|