@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,399 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AggregationData, BulkActionMetadata, CommonIdentificationData, CursorPaging, CursorPagingMetadata, CursorQuery, ExtendedFields, ItemMetadata, MediaItem, SearchDetails, Sorting, TagList } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AggregationData, AggregationResults, AggregationResultsScalarResult, ApplicationError, BulkActionMetadata, CommonIdentificationData, CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, DateHistogramResult, DateHistogramResults, ExtendedFields, GroupByValueResults, Image, ItemMetadata, MediaItem, NestedAggregationResults, NestedResults, NestedValueAggregationResult, RangeAggregationResult, RangeResults, Results, SearchDetails, Sorting, TagList, ValueAggregationResult, ValueResults } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface AssignCustomScheduleRequest {
|
|
6
|
+
staffMemberId?: string;
|
|
7
|
+
scheduleId?: string;
|
|
8
|
+
fields?: string[];
|
|
9
|
+
}
|
|
10
|
+
export interface AssignCustomScheduleResponse {
|
|
11
|
+
staffMember?: StaffMember;
|
|
12
|
+
}
|
|
13
|
+
export interface AssignWorkingHoursScheduleRequest {
|
|
14
|
+
staffMemberId?: string;
|
|
15
|
+
scheduleId?: string;
|
|
16
|
+
fields?: string[];
|
|
17
|
+
}
|
|
18
|
+
export interface AssignWorkingHoursScheduleResponse {
|
|
19
|
+
staffMember?: StaffMember;
|
|
20
|
+
}
|
|
21
|
+
export interface AssociatedWixIdentity {
|
|
22
|
+
identificationData?: CommonIdentificationData;
|
|
23
|
+
connectionStatus?: string;
|
|
24
|
+
connection?: Connection;
|
|
25
|
+
}
|
|
26
|
+
export interface BulkGetOrCreateStaffMemberResult {
|
|
27
|
+
itemMetadata?: ItemMetadata;
|
|
28
|
+
staffMember?: StaffMember;
|
|
29
|
+
}
|
|
30
|
+
export interface BulkGetOrCreateStaffMembersRequest {
|
|
31
|
+
wixUserIds?: string[];
|
|
32
|
+
fields?: string[];
|
|
33
|
+
}
|
|
34
|
+
export interface BulkGetOrCreateStaffMembersResponse {
|
|
35
|
+
results?: BulkGetOrCreateStaffMemberResult[];
|
|
36
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
37
|
+
}
|
|
38
|
+
export interface BulkUpdateStaffMemberTagsByFilterRequest {
|
|
39
|
+
filter?: Record<string, unknown>;
|
|
40
|
+
assignTags?: Tags;
|
|
41
|
+
unassignTags?: Tags;
|
|
42
|
+
}
|
|
43
|
+
export interface BulkUpdateStaffMemberTagsByFilterResponse {
|
|
44
|
+
jobId?: string;
|
|
45
|
+
}
|
|
46
|
+
export interface BulkUpdateStaffMemberTagsRequest {
|
|
47
|
+
ids?: string[];
|
|
48
|
+
assignTags?: Tags;
|
|
49
|
+
unassignTags?: Tags;
|
|
50
|
+
}
|
|
51
|
+
export interface BulkUpdateStaffMemberTagsResponse {
|
|
52
|
+
results?: BulkUpdateStaffMemberTagsResult[];
|
|
53
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
54
|
+
}
|
|
55
|
+
export interface BulkUpdateStaffMemberTagsResult {
|
|
56
|
+
itemMetadata?: ItemMetadata;
|
|
57
|
+
}
|
|
58
|
+
export interface ConnectStaffMemberToUserRequest {
|
|
59
|
+
staffMemberId?: string;
|
|
60
|
+
email?: string;
|
|
61
|
+
fields?: string[];
|
|
62
|
+
}
|
|
63
|
+
export interface ConnectStaffMemberToUserResponse {
|
|
64
|
+
staffMember?: StaffMember;
|
|
65
|
+
}
|
|
66
|
+
export interface Connection {
|
|
67
|
+
status?: string;
|
|
68
|
+
}
|
|
69
|
+
export interface CountStaffMembersRequest {
|
|
70
|
+
filter?: Record<string, unknown>;
|
|
71
|
+
}
|
|
72
|
+
export interface CountStaffMembersResponse {
|
|
73
|
+
count?: number;
|
|
74
|
+
}
|
|
75
|
+
export interface CountStaffMembersV2Request {
|
|
76
|
+
filter?: Record<string, unknown>;
|
|
77
|
+
}
|
|
78
|
+
export interface CountStaffMembersV2Response {
|
|
79
|
+
count?: number;
|
|
80
|
+
}
|
|
81
|
+
export interface CreateStaffMemberRequest {
|
|
82
|
+
staffMember?: StaffMember;
|
|
83
|
+
fields?: string[];
|
|
84
|
+
serviceProvider?: boolean;
|
|
85
|
+
}
|
|
86
|
+
export interface CreateStaffMemberResponse {
|
|
87
|
+
staffMember?: StaffMember;
|
|
88
|
+
}
|
|
89
|
+
export interface CursorSearch {
|
|
90
|
+
cursorPaging?: CursorPaging;
|
|
91
|
+
filter?: Record<string, unknown>;
|
|
92
|
+
sort?: Sorting[];
|
|
93
|
+
search?: SearchDetails;
|
|
94
|
+
}
|
|
95
|
+
export interface DeleteStaffMemberRequest {
|
|
96
|
+
staffMemberId?: string;
|
|
97
|
+
}
|
|
98
|
+
export interface DeleteStaffMemberResponse {
|
|
99
|
+
}
|
|
100
|
+
export interface DisconnectStaffMemberFromUserRequest {
|
|
101
|
+
staffMemberId?: string;
|
|
102
|
+
fields?: string[];
|
|
103
|
+
}
|
|
104
|
+
export interface DisconnectStaffMemberFromUserResponse {
|
|
105
|
+
staffMember?: StaffMember;
|
|
106
|
+
}
|
|
107
|
+
export interface EventSchedule {
|
|
108
|
+
id?: string;
|
|
109
|
+
}
|
|
110
|
+
export interface GetDeletedStaffMemberRequest {
|
|
111
|
+
staffMemberId?: string;
|
|
112
|
+
fields?: string[];
|
|
113
|
+
}
|
|
114
|
+
export interface GetDeletedStaffMemberResponse {
|
|
115
|
+
staffMember?: StaffMember;
|
|
116
|
+
}
|
|
117
|
+
export interface GetOrCreateStaffMemberRequest {
|
|
118
|
+
wixUserId?: string;
|
|
119
|
+
fields?: string[];
|
|
120
|
+
}
|
|
121
|
+
export interface GetOrCreateStaffMemberResponse {
|
|
122
|
+
staffMember?: StaffMember;
|
|
123
|
+
}
|
|
124
|
+
export interface GetStaffMemberRequest {
|
|
125
|
+
staffMemberId?: string;
|
|
126
|
+
fields?: string[];
|
|
127
|
+
}
|
|
128
|
+
export interface GetStaffMemberResponse {
|
|
129
|
+
staffMember?: StaffMember;
|
|
130
|
+
}
|
|
131
|
+
export interface ListDeletedStaffMembersRequest {
|
|
132
|
+
staffMemberIds?: string[];
|
|
133
|
+
paging?: CursorPaging;
|
|
134
|
+
fields?: string[];
|
|
135
|
+
}
|
|
136
|
+
export interface ListDeletedStaffMembersResponse {
|
|
137
|
+
staffMembers?: StaffMember[];
|
|
138
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
139
|
+
}
|
|
140
|
+
export interface QueryStaffMembersRequest {
|
|
141
|
+
query?: CursorQuery;
|
|
142
|
+
fields?: string[];
|
|
143
|
+
}
|
|
144
|
+
export interface QueryStaffMembersResponse {
|
|
145
|
+
staffMembers?: StaffMember[];
|
|
146
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
147
|
+
}
|
|
148
|
+
export interface QueryStaffMembersV2Request {
|
|
149
|
+
query?: CursorQuery;
|
|
150
|
+
fields?: string[];
|
|
151
|
+
}
|
|
152
|
+
export interface QueryStaffMembersV2Response {
|
|
153
|
+
staffMembers?: StaffMember[];
|
|
154
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
155
|
+
}
|
|
156
|
+
export interface RemoveStaffMemberFromTrashBinRequest {
|
|
157
|
+
staffMemberId?: string;
|
|
158
|
+
}
|
|
159
|
+
export interface RemoveStaffMemberFromTrashBinResponse {
|
|
160
|
+
}
|
|
161
|
+
export interface Resource {
|
|
162
|
+
id?: string;
|
|
163
|
+
workingHoursSchedules?: WorkingHoursSchedule[];
|
|
164
|
+
eventsSchedule?: EventSchedule;
|
|
165
|
+
usesDefaultWorkingHours?: boolean;
|
|
166
|
+
revision?: string;
|
|
167
|
+
}
|
|
168
|
+
export interface SearchStaffMembersRequest {
|
|
169
|
+
search?: CursorSearch;
|
|
170
|
+
fields?: string[];
|
|
171
|
+
}
|
|
172
|
+
export interface SearchStaffMembersResponse {
|
|
173
|
+
staffMembers?: StaffMember[];
|
|
174
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
175
|
+
aggregationData?: AggregationData;
|
|
176
|
+
}
|
|
177
|
+
export interface SearchStaffMembersV2Request {
|
|
178
|
+
search?: CursorSearch;
|
|
179
|
+
fields?: string[];
|
|
180
|
+
}
|
|
181
|
+
export interface SearchStaffMembersV2Response {
|
|
182
|
+
staffMembers?: StaffMember[];
|
|
183
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
184
|
+
aggregationData?: AggregationData;
|
|
185
|
+
}
|
|
186
|
+
export interface SetServiceProviderRequest {
|
|
187
|
+
staffMemberId?: string;
|
|
188
|
+
serviceProvider?: boolean;
|
|
189
|
+
fields?: string[];
|
|
190
|
+
}
|
|
191
|
+
export interface SetServiceProviderResponse {
|
|
192
|
+
staffMember?: StaffMember;
|
|
193
|
+
}
|
|
194
|
+
export interface StaffMember {
|
|
195
|
+
id?: string;
|
|
196
|
+
name?: string;
|
|
197
|
+
email?: string;
|
|
198
|
+
phone?: string;
|
|
199
|
+
description?: string;
|
|
200
|
+
mainMedia?: MediaItem;
|
|
201
|
+
resourceId?: string;
|
|
202
|
+
resource?: Resource;
|
|
203
|
+
associatedWixIdentity?: AssociatedWixIdentity;
|
|
204
|
+
revision?: string;
|
|
205
|
+
createdDate?: string;
|
|
206
|
+
updatedDate?: string;
|
|
207
|
+
extendedFields?: ExtendedFields;
|
|
208
|
+
tags?: Tags;
|
|
209
|
+
serviceProvider?: boolean;
|
|
210
|
+
}
|
|
211
|
+
export interface Tags {
|
|
212
|
+
privateTags?: TagList;
|
|
213
|
+
tags?: TagList;
|
|
214
|
+
}
|
|
215
|
+
export interface UpdateStaffMemberRequest {
|
|
216
|
+
staffMember?: StaffMember;
|
|
217
|
+
fields?: string[];
|
|
218
|
+
}
|
|
219
|
+
export interface UpdateStaffMemberResponse {
|
|
220
|
+
staffMember?: StaffMember;
|
|
221
|
+
}
|
|
222
|
+
export interface WorkingHoursSchedule {
|
|
223
|
+
id?: string;
|
|
224
|
+
shared?: boolean;
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* Assigns a custom working hours schedule to the staff member
|
|
228
|
+
*
|
|
229
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
230
|
+
*
|
|
231
|
+
* POST /bookings/v1/staff-members/{staffMemberId}/assign-custom-schedule
|
|
232
|
+
*/
|
|
233
|
+
export declare function assignCustomSchedule(req: AssignCustomScheduleRequest, opts?: WixCallOptions): Promise<AssignCustomScheduleResponse>;
|
|
234
|
+
/**
|
|
235
|
+
* Updates a staff member's working hours based on the specified [schedule ID](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction).
|
|
236
|
+
*
|
|
237
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
238
|
+
*
|
|
239
|
+
* POST /bookings/v1/staff-members/{staffMemberId}/assign-working-hours-schedule
|
|
240
|
+
*/
|
|
241
|
+
export declare function assignWorkingHoursSchedule(req: AssignWorkingHoursScheduleRequest, opts?: WixCallOptions): Promise<AssignWorkingHoursScheduleResponse>;
|
|
242
|
+
/**
|
|
243
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: visitor POST /bookings/v1/bulk/staff-members/get-or-create answered 400 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
244
|
+
*
|
|
245
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
246
|
+
*
|
|
247
|
+
* POST /bookings/v1/bulk/staff-members/get-or-create
|
|
248
|
+
*/
|
|
249
|
+
export declare function bulkGetOrCreateStaffMembers(req?: BulkGetOrCreateStaffMembersRequest, opts?: WixCallOptions): Promise<BulkGetOrCreateStaffMembersResponse>;
|
|
250
|
+
/**
|
|
251
|
+
* Synchronously updates [tags](https://dev.wix.com/docs/api-reference/business-management/tags/introduction) for up to 100 staff members.
|
|
252
|
+
*
|
|
253
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
254
|
+
*
|
|
255
|
+
* POST /bookings/v1/bulk/staff-members/update-tags
|
|
256
|
+
*/
|
|
257
|
+
export declare function bulkUpdateStaffMemberTags(req?: BulkUpdateStaffMemberTagsRequest, opts?: WixCallOptions): Promise<BulkUpdateStaffMemberTagsResponse>;
|
|
258
|
+
/**
|
|
259
|
+
* Asynchronously updates [tags](https://dev.wix.com/docs/api-reference/business-management/tags/introduction) for staff members, given the provided filtering.
|
|
260
|
+
*
|
|
261
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
262
|
+
*
|
|
263
|
+
* POST /bookings/v1/bulk/staff-members/update-tags-by-filter
|
|
264
|
+
*/
|
|
265
|
+
export declare function bulkUpdateStaffMemberTagsByFilter(req?: BulkUpdateStaffMemberTagsByFilterRequest, opts?: WixCallOptions): Promise<BulkUpdateStaffMemberTagsByFilterResponse>;
|
|
266
|
+
/**
|
|
267
|
+
* Connects a Wix user to a staff member, enabling them to manage their own working hour schedule in the dashboard.
|
|
268
|
+
*
|
|
269
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
270
|
+
*
|
|
271
|
+
* POST /bookings/v1/staff-members/{staffMemberId}/connect-staff-member-to-user
|
|
272
|
+
*/
|
|
273
|
+
export declare function connectStaffMemberToUser(req: ConnectStaffMemberToUserRequest, opts?: WixCallOptions): Promise<ConnectStaffMemberToUserResponse>;
|
|
274
|
+
/**
|
|
275
|
+
* Counts how many staff members match the given filter.
|
|
276
|
+
*
|
|
277
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
278
|
+
*
|
|
279
|
+
* POST /bookings/v1/staff-members/count
|
|
280
|
+
*/
|
|
281
|
+
export declare function countStaffMembers(req?: CountStaffMembersRequest, opts?: WixCallOptions): Promise<CountStaffMembersResponse>;
|
|
282
|
+
/**
|
|
283
|
+
* Retrieves the number of staff members that match the provided filter.
|
|
284
|
+
*
|
|
285
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
286
|
+
*
|
|
287
|
+
* POST /bookings/staff/v2/staff-members/count
|
|
288
|
+
*/
|
|
289
|
+
export declare function countStaffMembersV2(req?: CountStaffMembersV2Request, opts?: WixCallOptions): Promise<CountStaffMembersV2Response>;
|
|
290
|
+
/**
|
|
291
|
+
* Creates a staff member.
|
|
292
|
+
*
|
|
293
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
294
|
+
*
|
|
295
|
+
* POST /bookings/v1/staff-members
|
|
296
|
+
*/
|
|
297
|
+
export declare function createStaffMember(req?: CreateStaffMemberRequest, opts?: WixCallOptions): Promise<CreateStaffMemberResponse>;
|
|
298
|
+
/**
|
|
299
|
+
* Deletes a staff member.
|
|
300
|
+
*
|
|
301
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
302
|
+
*
|
|
303
|
+
* DELETE /bookings/v1/staff-members/{staffMemberId}
|
|
304
|
+
*/
|
|
305
|
+
export declare function deleteStaffMember(req: DeleteStaffMemberRequest, opts?: WixCallOptions): Promise<DeleteStaffMemberResponse>;
|
|
306
|
+
/**
|
|
307
|
+
* Disconnects a staff member from a Wix user, clearing the `associatedWixIdentity` field.
|
|
308
|
+
*
|
|
309
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
310
|
+
*
|
|
311
|
+
* POST /bookings/v1/staff-members/{staffMemberId}/disconnect-staff-member-from-user
|
|
312
|
+
*/
|
|
313
|
+
export declare function disconnectStaffMemberFromUser(req: DisconnectStaffMemberFromUserRequest, opts?: WixCallOptions): Promise<DisconnectStaffMemberFromUserResponse>;
|
|
314
|
+
/**
|
|
315
|
+
* Retrieves a deleted staff member from the trash bin.
|
|
316
|
+
*
|
|
317
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
318
|
+
*
|
|
319
|
+
* GET /bookings/staff/v2/staff-members/trash-bin/{staffMemberId}
|
|
320
|
+
*/
|
|
321
|
+
export declare function getDeletedStaffMember(req: GetDeletedStaffMemberRequest, opts?: WixCallOptions): Promise<GetDeletedStaffMemberResponse>;
|
|
322
|
+
/**
|
|
323
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: visitor POST /bookings/v1/staff-members/get-or-create/wix-user-id/{wixUserId} answered 403 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
324
|
+
*
|
|
325
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
326
|
+
*
|
|
327
|
+
* POST /bookings/v1/staff-members/get-or-create/wix-user-id/{wixUserId}
|
|
328
|
+
*/
|
|
329
|
+
export declare function getOrCreateStaffMember(req: GetOrCreateStaffMemberRequest, opts?: WixCallOptions): Promise<GetOrCreateStaffMemberResponse>;
|
|
330
|
+
/**
|
|
331
|
+
* Retrieves a staff member.
|
|
332
|
+
*
|
|
333
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
334
|
+
*
|
|
335
|
+
* GET /bookings/v1/staff-members/{staffMemberId}
|
|
336
|
+
*/
|
|
337
|
+
export declare function getStaffMember(req: GetStaffMemberRequest, opts?: WixCallOptions): Promise<GetStaffMemberResponse>;
|
|
338
|
+
/**
|
|
339
|
+
* Retrieves a list of deleted staff members from the trash bin.
|
|
340
|
+
*
|
|
341
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
342
|
+
*
|
|
343
|
+
* GET /bookings/staff/v2/staff-members/trash-bin
|
|
344
|
+
*/
|
|
345
|
+
export declare function listDeletedStaffMembers(req?: ListDeletedStaffMembersRequest, opts?: WixCallOptions): Promise<ListDeletedStaffMembersResponse>;
|
|
346
|
+
/**
|
|
347
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
348
|
+
*/
|
|
349
|
+
export declare function queryStaffMembers(req?: QueryStaffMembersRequest, opts?: WixCallOptions): Promise<QueryStaffMembersResponse>;
|
|
350
|
+
/**
|
|
351
|
+
* Retrieves a list of staff members, given the provided filtering, sorting, and paging.
|
|
352
|
+
*
|
|
353
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
354
|
+
*
|
|
355
|
+
* POST /bookings/staff/v2/staff-members/query
|
|
356
|
+
*/
|
|
357
|
+
export declare function queryStaffMembersV2(req?: QueryStaffMembersV2Request, opts?: WixCallOptions): Promise<QueryStaffMembersV2Response>;
|
|
358
|
+
/**
|
|
359
|
+
* Removes a staff member from the trash bin, permanently deleting it.
|
|
360
|
+
*
|
|
361
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
362
|
+
*
|
|
363
|
+
* DELETE /bookings/staff/v2/staff-members/trash-bin/{staffMemberId}
|
|
364
|
+
*/
|
|
365
|
+
export declare function removeStaffMemberFromTrashBin(req: RemoveStaffMemberFromTrashBinRequest, opts?: WixCallOptions): Promise<RemoveStaffMemberFromTrashBinResponse>;
|
|
366
|
+
/**
|
|
367
|
+
* Retrieves a list of up to 100 staff members, given the provided filtering, paging, and sorting.
|
|
368
|
+
*
|
|
369
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
370
|
+
* @permissionId BOOKINGS.STAFF_MEMBER_READ
|
|
371
|
+
* @fqn wix.bookings.staff.v1.StaffMembersService.SearchStaffMembers
|
|
372
|
+
*
|
|
373
|
+
* POST /bookings/v1/staff-members/search
|
|
374
|
+
*/
|
|
375
|
+
export declare function searchStaffMembers(req?: SearchStaffMembersRequest, opts?: WixCallOptions): Promise<SearchStaffMembersResponse>;
|
|
376
|
+
/**
|
|
377
|
+
* Retrieves a list of staff members that match the provided search terms, given the provided sorting and paging.
|
|
378
|
+
*
|
|
379
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
380
|
+
*
|
|
381
|
+
* POST /bookings/staff/v2/staff-members/search
|
|
382
|
+
*/
|
|
383
|
+
export declare function searchStaffMembersV2(req?: SearchStaffMembersV2Request, opts?: WixCallOptions): Promise<SearchStaffMembersV2Response>;
|
|
384
|
+
/**
|
|
385
|
+
* Sets whether a staff member is a service provider, meaning someone who provides bookable services to customers.
|
|
386
|
+
*
|
|
387
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
388
|
+
*
|
|
389
|
+
* POST /bookings/v1/staff-members/{staffMemberId}/set-service-provider
|
|
390
|
+
*/
|
|
391
|
+
export declare function setServiceProvider(req: SetServiceProviderRequest, opts?: WixCallOptions): Promise<SetServiceProviderResponse>;
|
|
392
|
+
/**
|
|
393
|
+
* Updates a staff member.
|
|
394
|
+
*
|
|
395
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
396
|
+
*
|
|
397
|
+
* PATCH /bookings/v1/staff-members/{staffMemberId}
|
|
398
|
+
*/
|
|
399
|
+
export declare function updateStaffMember(req: UpdateStaffMemberRequest, opts?: WixCallOptions): Promise<UpdateStaffMemberResponse>;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { CursorPagingMetadata, CursorQuery, ExtendedFields } from "../_shared/types.generated.js";
|
|
3
|
+
export type { CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, ExtendedFields, Sorting } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface DisplayTimeZone {
|
|
6
|
+
customerCanChange?: boolean;
|
|
7
|
+
basedOn?: string;
|
|
8
|
+
timeZone?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetTimeSlotsConfigurationByAppIdRequest {
|
|
11
|
+
appId?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetTimeSlotsConfigurationByAppIdResponse {
|
|
14
|
+
timeSlotsConfiguration?: TimeSlotsConfiguration;
|
|
15
|
+
}
|
|
16
|
+
export interface GetTimeSlotsConfigurationRequest {
|
|
17
|
+
timeSlotsConfigurationId?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface GetTimeSlotsConfigurationResponse {
|
|
20
|
+
timeSlotsConfiguration?: TimeSlotsConfiguration;
|
|
21
|
+
}
|
|
22
|
+
export interface QueryTimeSlotsConfigurationsRequest {
|
|
23
|
+
query?: CursorQuery;
|
|
24
|
+
}
|
|
25
|
+
export interface QueryTimeSlotsConfigurationsResponse {
|
|
26
|
+
timeSlotsConfigurations?: TimeSlotsConfiguration[];
|
|
27
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
28
|
+
}
|
|
29
|
+
export interface SplitInterval {
|
|
30
|
+
sameAsDuration?: boolean;
|
|
31
|
+
valueInMinutes?: number;
|
|
32
|
+
}
|
|
33
|
+
export interface StaffSelection {
|
|
34
|
+
strategy?: string;
|
|
35
|
+
allowGenderSelection?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export interface TimeSlotsConfiguration {
|
|
38
|
+
id?: string;
|
|
39
|
+
revision?: string;
|
|
40
|
+
createdDate?: string;
|
|
41
|
+
updatedDate?: string;
|
|
42
|
+
displayTimeZone?: DisplayTimeZone;
|
|
43
|
+
staffSelection?: StaffSelection;
|
|
44
|
+
splitInterval?: SplitInterval;
|
|
45
|
+
appId?: string;
|
|
46
|
+
extendedFields?: ExtendedFields;
|
|
47
|
+
}
|
|
48
|
+
export interface UpdateTimeSlotsConfigurationRequest {
|
|
49
|
+
timeSlotsConfiguration?: TimeSlotsConfiguration;
|
|
50
|
+
}
|
|
51
|
+
export interface UpdateTimeSlotsConfigurationResponse {
|
|
52
|
+
timeSlotsConfiguration?: TimeSlotsConfiguration;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Retrieves a time slots configuration by ID.
|
|
56
|
+
*
|
|
57
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
58
|
+
* @permissionId TIMESLOTS_CONFIGURATION.READ
|
|
59
|
+
* @fqn wix.bookings.timeslots.configuration.v1.TimeSlotsConfigurationService.GetTimeSlotsConfiguration
|
|
60
|
+
*
|
|
61
|
+
* GET /_api/time-slots-config/v1/time-slots-configurations/{timeSlotsConfigurationId}
|
|
62
|
+
*/
|
|
63
|
+
export declare function getTimeSlotsConfiguration(req: GetTimeSlotsConfigurationRequest, opts?: WixCallOptions): Promise<GetTimeSlotsConfigurationResponse>;
|
|
64
|
+
/**
|
|
65
|
+
* Retrieves a time slots configuration by app ID.
|
|
66
|
+
*
|
|
67
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
68
|
+
* @permissionId TIMESLOTS_CONFIGURATION.READ
|
|
69
|
+
* @fqn wix.bookings.timeslots.configuration.v1.TimeSlotsConfigurationService.GetTimeSlotsConfigurationByAppId
|
|
70
|
+
*
|
|
71
|
+
* GET /_api/time-slots-config/v1/time-slots-configurations/app/{appId}
|
|
72
|
+
*/
|
|
73
|
+
export declare function getTimeSlotsConfigurationByAppId(req: GetTimeSlotsConfigurationByAppIdRequest, opts?: WixCallOptions): Promise<GetTimeSlotsConfigurationByAppIdResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* Retrieves a list of time slots configurations, given the provided paging, filtering, and sorting.
|
|
76
|
+
*
|
|
77
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
78
|
+
* @permissionId bookings:timeslots_configuration:v1:time_slots_configuration:query_time_slots_configurations
|
|
79
|
+
* @fqn wix.bookings.timeslots.configuration.v1.TimeSlotsConfigurationService.QueryTimeSlotsConfigurations
|
|
80
|
+
*
|
|
81
|
+
* POST /_api/time-slots-config/v1/time-slots-configurations/query
|
|
82
|
+
*/
|
|
83
|
+
export declare function queryTimeSlotsConfigurations(req?: QueryTimeSlotsConfigurationsRequest, opts?: WixCallOptions): Promise<QueryTimeSlotsConfigurationsResponse>;
|
|
84
|
+
/**
|
|
85
|
+
* Updates a time slots configuration.
|
|
86
|
+
*
|
|
87
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
88
|
+
* @permissionId TIMESLOTS_CONFIGURATION.UPDATE
|
|
89
|
+
* @fqn wix.bookings.timeslots.configuration.v1.TimeSlotsConfigurationService.UpdateTimeSlotsConfiguration
|
|
90
|
+
*
|
|
91
|
+
* PATCH /_api/time-slots-config/v1/time-slots-configurations/{timeSlotsConfigurationId}
|
|
92
|
+
*/
|
|
93
|
+
export declare function updateTimeSlotsConfiguration(req: UpdateTimeSlotsConfigurationRequest, opts?: WixCallOptions): Promise<UpdateTimeSlotsConfigurationResponse>;
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { ListProvidersRequest } from "../_shared/types.generated.js";
|
|
3
|
+
export type { ListProvidersRequest } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface Conference {
|
|
6
|
+
id?: string;
|
|
7
|
+
url?: string;
|
|
8
|
+
hostUrl?: string;
|
|
9
|
+
password?: string;
|
|
10
|
+
title?: string;
|
|
11
|
+
startTime?: string;
|
|
12
|
+
durationInMinutes?: number;
|
|
13
|
+
timezone?: string;
|
|
14
|
+
description?: string;
|
|
15
|
+
appId?: string;
|
|
16
|
+
resourceId?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface ConnectRequest {
|
|
19
|
+
oauthOptions?: OAuthConnectionOptions;
|
|
20
|
+
credentialsOptions?: CredentialsConnectionOptions;
|
|
21
|
+
customOptions?: CustomConnectionOptions;
|
|
22
|
+
appId?: string;
|
|
23
|
+
resourceId?: string;
|
|
24
|
+
connectionMethod?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface ConnectResponse {
|
|
27
|
+
oauthUrl?: string;
|
|
28
|
+
connection?: Connection;
|
|
29
|
+
}
|
|
30
|
+
export interface Connection {
|
|
31
|
+
oauthDetails?: OAuthConnectionDetails;
|
|
32
|
+
credentialsDetails?: CredentialsConnectionDetails;
|
|
33
|
+
customDetails?: CustomConnectionDetails;
|
|
34
|
+
id?: string;
|
|
35
|
+
status?: string;
|
|
36
|
+
connectionMethod?: string;
|
|
37
|
+
appId?: string;
|
|
38
|
+
appName?: string;
|
|
39
|
+
connectedDate?: string;
|
|
40
|
+
resourceId?: string;
|
|
41
|
+
}
|
|
42
|
+
export interface CreateConferenceRequest {
|
|
43
|
+
appId?: string;
|
|
44
|
+
conference?: Conference;
|
|
45
|
+
resourceId?: string;
|
|
46
|
+
}
|
|
47
|
+
export interface CreateConferenceResponse {
|
|
48
|
+
conference?: Conference;
|
|
49
|
+
}
|
|
50
|
+
export interface CredentialsConnectionDetails {
|
|
51
|
+
userName?: string;
|
|
52
|
+
}
|
|
53
|
+
export interface CredentialsConnectionOptions {
|
|
54
|
+
userName?: string;
|
|
55
|
+
password?: string;
|
|
56
|
+
}
|
|
57
|
+
export interface CustomConnectionDetails {
|
|
58
|
+
conferenceUrl?: string;
|
|
59
|
+
description?: string;
|
|
60
|
+
password?: string;
|
|
61
|
+
}
|
|
62
|
+
export interface CustomConnectionOptions {
|
|
63
|
+
conferenceUrl?: string;
|
|
64
|
+
description?: string;
|
|
65
|
+
password?: string;
|
|
66
|
+
}
|
|
67
|
+
export interface DeleteConferenceRequest {
|
|
68
|
+
appId?: string;
|
|
69
|
+
conferenceId?: string;
|
|
70
|
+
resourceId?: string;
|
|
71
|
+
}
|
|
72
|
+
export interface DeleteConferenceResponse {
|
|
73
|
+
}
|
|
74
|
+
export interface GetConferenceRequest {
|
|
75
|
+
appId?: string;
|
|
76
|
+
conferenceId?: string;
|
|
77
|
+
resourceId?: string;
|
|
78
|
+
}
|
|
79
|
+
export interface GetConferenceResponse {
|
|
80
|
+
conference?: Conference;
|
|
81
|
+
}
|
|
82
|
+
export interface ListConnectionsRequest {
|
|
83
|
+
resourceIds?: string[];
|
|
84
|
+
}
|
|
85
|
+
export interface ListConnectionsResponse {
|
|
86
|
+
connections?: Connection[];
|
|
87
|
+
}
|
|
88
|
+
export interface ListProvidersResponse {
|
|
89
|
+
providers?: Provider[];
|
|
90
|
+
}
|
|
91
|
+
export interface MarkConnectionAsDisconnectedRequest {
|
|
92
|
+
appId?: string;
|
|
93
|
+
resourceId?: string;
|
|
94
|
+
}
|
|
95
|
+
export interface MarkConnectionAsDisconnectedResponse {
|
|
96
|
+
connection?: Connection;
|
|
97
|
+
}
|
|
98
|
+
export interface OAuthConnectionDetails {
|
|
99
|
+
email?: string;
|
|
100
|
+
}
|
|
101
|
+
export interface OAuthConnectionOptions {
|
|
102
|
+
redirectUrl?: string;
|
|
103
|
+
}
|
|
104
|
+
export interface Provider {
|
|
105
|
+
id?: string;
|
|
106
|
+
displayName?: string;
|
|
107
|
+
updateSupported?: boolean;
|
|
108
|
+
connectionMethods?: string[];
|
|
109
|
+
termsUrl?: string;
|
|
110
|
+
privacyUrl?: string;
|
|
111
|
+
iconUrl?: string;
|
|
112
|
+
supportUrl?: string;
|
|
113
|
+
}
|
|
114
|
+
export interface UpdateConferenceRequest {
|
|
115
|
+
appId?: string;
|
|
116
|
+
conference?: Conference;
|
|
117
|
+
resourceId?: string;
|
|
118
|
+
}
|
|
119
|
+
export interface UpdateConferenceResponse {
|
|
120
|
+
conference?: Conference;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Connects a resource to a conferencing provider.
|
|
124
|
+
*
|
|
125
|
+
* @permissionId calendar:conferencing:v1:conference:connect
|
|
126
|
+
* @permissionId calendar:conferencing:v1:conference:manage_all_conferencing
|
|
127
|
+
* @fqn wix.calendar.conferencing.v1.ConferencingService.Connect
|
|
128
|
+
*
|
|
129
|
+
* POST /calendar/v3/conferences/v1/connections/connect
|
|
130
|
+
*/
|
|
131
|
+
export declare function connect(req?: ConnectRequest, opts?: WixCallOptions): Promise<ConnectResponse>;
|
|
132
|
+
/**
|
|
133
|
+
* Creates a conference with a conferencing provider.
|
|
134
|
+
*
|
|
135
|
+
* @permissionId calendar:conferencing:v1:conference:create_conference
|
|
136
|
+
* @permissionId calendar:conferencing:v1:conference:manage_all_conferencing
|
|
137
|
+
* @fqn wix.calendar.conferencing.v1.ConferencingService.CreateConference
|
|
138
|
+
*
|
|
139
|
+
* POST /calendar/v3/conferences/v1/conferences
|
|
140
|
+
*/
|
|
141
|
+
export declare function createConference(req?: CreateConferenceRequest, opts?: WixCallOptions): Promise<CreateConferenceResponse>;
|
|
142
|
+
/**
|
|
143
|
+
* Deletes a conference.
|
|
144
|
+
*
|
|
145
|
+
* @permissionId calendar:conferencing:v1:conference:delete_conference
|
|
146
|
+
* @permissionId calendar:conferencing:v1:conference:manage_all_conferencing
|
|
147
|
+
* @fqn wix.calendar.conferencing.v1.ConferencingService.DeleteConference
|
|
148
|
+
*
|
|
149
|
+
* DELETE /calendar/v3/conferences/v1/conferences/{conferenceId}
|
|
150
|
+
*/
|
|
151
|
+
export declare function deleteConference(req: DeleteConferenceRequest, opts?: WixCallOptions): Promise<DeleteConferenceResponse>;
|
|
152
|
+
/**
|
|
153
|
+
* Retrieves a conference's details.
|
|
154
|
+
*
|
|
155
|
+
* @permissionId calendar:conferencing:v1:conference:get_conference
|
|
156
|
+
* @permissionId calendar:conferencing:v1:conference:manage_all_conferencing
|
|
157
|
+
* @fqn wix.calendar.conferencing.v1.ConferencingService.GetConference
|
|
158
|
+
*
|
|
159
|
+
* GET /calendar/v3/conferences/v1/conferences/{conferenceId}
|
|
160
|
+
*/
|
|
161
|
+
export declare function getConference(req: GetConferenceRequest, opts?: WixCallOptions): Promise<GetConferenceResponse>;
|
|
162
|
+
/**
|
|
163
|
+
* Retrieves the conferencing provider connections matching the filter.
|
|
164
|
+
*
|
|
165
|
+
* @permissionId calendar:conferencing:v1:connection:list_connections
|
|
166
|
+
* @permissionId calendar:conferencing:v1:conference:manage_all_conferencing
|
|
167
|
+
* @fqn wix.calendar.conferencing.v1.ConferencingService.ListConnections
|
|
168
|
+
*
|
|
169
|
+
* GET /calendar/v3/conferences/v1/connections
|
|
170
|
+
*/
|
|
171
|
+
export declare function listConnections(req?: ListConnectionsRequest, opts?: WixCallOptions): Promise<ListConnectionsResponse>;
|
|
172
|
+
/**
|
|
173
|
+
* Retrieves the available conferencing providers.
|
|
174
|
+
*
|
|
175
|
+
* @permissionId calendar:conferencing:v1:provider:list_providers
|
|
176
|
+
* @fqn wix.calendar.conferencing.v1.ConferencingService.ListProviders
|
|
177
|
+
*
|
|
178
|
+
* GET /calendar/v3/conferences/v1/providers
|
|
179
|
+
*/
|
|
180
|
+
export declare function listProviders(req?: ListProvidersRequest, opts?: WixCallOptions): Promise<ListProvidersResponse>;
|
|
181
|
+
/**
|
|
182
|
+
* Disconnects a resource from a conferencing provider.
|
|
183
|
+
*
|
|
184
|
+
* @permissionId calendar:conferencing:v1:connection:mark_connection_as_disconnected
|
|
185
|
+
* @permissionId calendar:conferencing:v1:conference:manage_all_conferencing
|
|
186
|
+
* @fqn wix.calendar.conferencing.v1.ConferencingService.MarkConnectionAsDisconnected
|
|
187
|
+
*
|
|
188
|
+
* POST /calendar/v3/conferences/v1/connections/mark-as-disconnected
|
|
189
|
+
*/
|
|
190
|
+
export declare function markConnectionAsDisconnected(req?: MarkConnectionAsDisconnectedRequest, opts?: WixCallOptions): Promise<MarkConnectionAsDisconnectedResponse>;
|
|
191
|
+
/**
|
|
192
|
+
* Updates an existing conference, such as to reschedule it.
|
|
193
|
+
*
|
|
194
|
+
* @permissionId calendar:conferencing:v1:conference:update_conference
|
|
195
|
+
* @permissionId calendar:conferencing:v1:conference:manage_all_conferencing
|
|
196
|
+
* @fqn wix.calendar.conferencing.v1.ConferencingService.UpdateConference
|
|
197
|
+
*
|
|
198
|
+
* PATCH /calendar/v3/conferences/v1/conferences/{conferenceId}
|
|
199
|
+
*/
|
|
200
|
+
export declare function updateConference(req: UpdateConferenceRequest, opts?: WixCallOptions): Promise<UpdateConferenceResponse>;
|