@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.
Files changed (127) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/extensions.d.ts +33 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/extensions.d.ts +1 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/options.d.ts +4 -1
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/product-details.d.ts +58 -0
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/_shared/types.generated.d.ts +2336 -26
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/addOns.generated.d.ts +169 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attendance.generated.d.ts +150 -0
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attributeDefinition.generated.d.ts +124 -0
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attributeValue.generated.d.ts +107 -0
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/availabilityCalendar.generated.d.ts +66 -0
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/availabilityTimeSlots.generated.d.ts +115 -0
  12. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingFees.generated.d.ts +82 -0
  13. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingPolicies.generated.d.ts +174 -0
  14. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingPolicySnapshots.generated.d.ts +54 -0
  15. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookings.generated.d.ts +732 -0
  16. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingsSettings.generated.d.ts +54 -0
  17. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/catalogSearch.generated.d.ts +158 -0
  18. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/categories.generated.d.ts +74 -0
  19. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/categoriesV2.generated.d.ts +122 -0
  20. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/eventTimeSlots.generated.d.ts +76 -0
  21. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/extendedBookings.generated.d.ts +239 -0
  22. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/externalCalendars.generated.d.ts +229 -0
  23. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/index.generated.d.ts +28 -0
  24. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/multiServiceAvailabilityTimeSlots.generated.d.ts +97 -0
  25. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/pricing.generated.d.ts +138 -0
  26. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/relatedProducts.generated.d.ts +78 -0
  27. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/resourceTypes.generated.d.ts +109 -0
  28. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/resources.generated.d.ts +210 -0
  29. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/serviceOptionsAndVariants.generated.d.ts +194 -0
  30. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/services.generated.d.ts +642 -0
  31. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/staffMemberSettings.generated.d.ts +46 -0
  32. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/staffMembers.generated.d.ts +399 -0
  33. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/timeSlotsConfiguration.generated.d.ts +93 -0
  34. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/conferencing.generated.d.ts +200 -0
  35. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/eventViews.generated.d.ts +20 -0
  36. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/events.generated.d.ts +355 -0
  37. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/index.generated.d.ts +6 -0
  38. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/participations.generated.d.ts +98 -0
  39. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/scheduleTimeFrames.generated.d.ts +45 -0
  40. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/schedules.generated.d.ts +123 -0
  41. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/categories.generated.d.ts +15 -7
  42. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/comments.generated.d.ts +32 -2
  43. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/contentRevisions.generated.d.ts +27 -2
  44. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/widgets.generated.d.ts +20 -13
  45. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/abandonedCheckouts.generated.d.ts +215 -0
  46. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/backInStockNotifications.generated.d.ts +148 -0
  47. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/backInStockSettings.generated.d.ts +56 -0
  48. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/cart.generated.d.ts +380 -0
  49. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/cartV2.generated.d.ts +529 -0
  50. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkout.generated.d.ts +461 -0
  51. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutContent.generated.d.ts +27 -0
  52. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutSettings.generated.d.ts +137 -0
  53. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutTemplates.generated.d.ts +189 -0
  54. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/contactTaxDetails.generated.d.ts +185 -0
  55. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currencies.generated.d.ts +62 -0
  56. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currentCart.generated.d.ts +326 -0
  57. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currentCartV2.generated.d.ts +442 -0
  58. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/deliveryProfile.generated.d.ts +399 -0
  59. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/deliverySolutions.generated.d.ts +110 -0
  60. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/discountRules.generated.d.ts +186 -0
  61. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/discountsCustomTrigger.generated.d.ts +22 -0
  62. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/draftOrders.generated.d.ts +877 -0
  63. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/draftSubscriptionContracts.generated.d.ts +301 -0
  64. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/ecommerceSettings.generated.d.ts +24 -0
  65. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/giftVouchers.generated.d.ts +73 -0
  66. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/index.generated.d.ts +45 -0
  67. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/localDeliveryOptions.generated.d.ts +99 -0
  68. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/manualTaxMappings.generated.d.ts +207 -0
  69. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderBilling.generated.d.ts +399 -0
  70. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderFulfillments.generated.d.ts +137 -0
  71. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderInvoices.generated.d.ts +80 -0
  72. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderPaymentRequests.generated.d.ts +171 -0
  73. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderTransactions.generated.d.ts +167 -0
  74. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orders.generated.d.ts +695 -0
  75. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/ordersSettings.generated.d.ts +39 -0
  76. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/recommendations.generated.d.ts +57 -0
  77. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/shippingOptions.generated.d.ts +144 -0
  78. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/shippoConfigurations.generated.d.ts +178 -0
  79. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/subscriptionContracts.generated.d.ts +209 -0
  80. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxCalculation.generated.d.ts +115 -0
  81. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxExemptGroups.generated.d.ts +218 -0
  82. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxGroups.generated.d.ts +140 -0
  83. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxRegions.generated.d.ts +126 -0
  84. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxSettings.generated.d.ts +38 -0
  85. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tipSettings.generated.d.ts +116 -0
  86. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tippableStaff.generated.d.ts +28 -0
  87. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tips.generated.d.ts +221 -0
  88. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/totalsCalculator.generated.d.ts +141 -0
  89. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/wishlists.generated.d.ts +57 -0
  90. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/index.generated.d.ts +7 -0
  91. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/orders.generated.d.ts +368 -0
  92. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/planBenefits.generated.d.ts +94 -0
  93. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/plans.generated.d.ts +235 -0
  94. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/plansV3.generated.d.ts +266 -0
  95. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/pricingPlansSettings.generated.d.ts +48 -0
  96. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/pricingVariantCategories.generated.d.ts +92 -0
  97. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/brandsV3.generated.d.ts +211 -0
  98. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/catalogImportsV3.generated.d.ts +382 -0
  99. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/catalogVersioning.generated.d.ts +17 -0
  100. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/collections.generated.d.ts +52 -0
  101. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/customizationsV3.generated.d.ts +292 -0
  102. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/index.generated.d.ts +18 -0
  103. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/infoSectionsV3.generated.d.ts +306 -0
  104. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/inventory.generated.d.ts +126 -0
  105. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/inventoryItemsV3.generated.d.ts +389 -0
  106. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/productGroupsV3.generated.d.ts +282 -0
  107. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/products.generated.d.ts +678 -0
  108. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/productsV3.generated.d.ts +1069 -0
  109. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/promotionsV3.generated.d.ts +232 -0
  110. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/readOnlyVariantsV3.generated.d.ts +93 -0
  111. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/ribbonsV3.generated.d.ts +211 -0
  112. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/storesLocationsV3.generated.d.ts +60 -0
  113. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/subscriptionOptions.generated.d.ts +223 -0
  114. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/wishlist.generated.d.ts +37 -0
  115. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +2 -2
  116. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-bookings.mjs +1036 -4
  117. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-calendar.mjs +286 -0
  118. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-comments.mjs +23 -2
  119. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-ecom.mjs +1663 -0
  120. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-pricing-plans.mjs +336 -0
  121. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-stores.mjs +1029 -11
  122. package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +8 -4
  123. package/dist/cli.mjs +541 -7
  124. package/guides/importable-sdks.md +1 -0
  125. package/guides/sdk-reference.json +15672 -8927
  126. package/guides/wix-api-usage.md +28 -0
  127. package/package.json +2 -2
@@ -0,0 +1,20 @@
1
+ import { type WixCallOptions } from "../_shared/runtime.generated.js";
2
+ export type { WixCallOptions } from "../_shared/runtime.generated.js";
3
+ export interface EventsView {
4
+ endDate?: string;
5
+ futureDurationInDays?: number;
6
+ }
7
+ export interface GetEventsViewRequest {
8
+ }
9
+ export interface GetEventsViewResponse {
10
+ eventsView?: EventsView;
11
+ }
12
+ /**
13
+ * Doesn’t return details about events within the view. You can use [queryEvents()](https://dev.wix.com/docs/sdk/backend-modules/calendar/events/query-events), providing `eventsView.endDate` as `toLocalDate` to retrieve the events.
14
+ *
15
+ * @permissionId CALENDAR.EVENT_VIEW_READ
16
+ * @fqn wix.calendar.eventviews.v3.EventViewsService.GetEventsView
17
+ *
18
+ * GET /calendar/v3/events/view
19
+ */
20
+ export declare function getEventsView(req?: GetEventsViewRequest, opts?: WixCallOptions): Promise<GetEventsViewResponse>;
@@ -0,0 +1,355 @@
1
+ import { type WixCallOptions } from "../_shared/runtime.generated.js";
2
+ import type { CommonCursorPaging, ConferencingDetails, CursorQuery, ExtendedFields, ItemMetadata, Participant, ParticipantNotification, Sorting, ZonedDate } from "../_shared/types.generated.js";
3
+ export type { ApplicationError, CommonCursorPaging, ConferencingDetails, CursorPaging, CursorQuery, ExtendedFields, ItemMetadata, OnlineMeetingInfo, Participant, ParticipantNotification, Provider, Sorting, ZonedDate } from "../_shared/types.generated.js";
4
+ export type { WixCallOptions } from "../_shared/runtime.generated.js";
5
+ export interface BulkActionMetadata {
6
+ totalSuccesses?: number;
7
+ totalFailures?: number;
8
+ }
9
+ export interface BulkCancelEventRequest {
10
+ eventIds?: string[];
11
+ returnEntity?: boolean;
12
+ participantNotification?: ParticipantNotification;
13
+ timeZone?: string;
14
+ }
15
+ export interface BulkCancelEventResponse {
16
+ results?: BulkEventResult[];
17
+ bulkActionMetadata?: BulkActionMetadata;
18
+ }
19
+ export interface BulkCreateEventRequest {
20
+ events?: MaskedEvent[];
21
+ returnEntity?: boolean;
22
+ timeZone?: string;
23
+ }
24
+ export interface BulkCreateEventResponse {
25
+ results?: BulkEventResult[];
26
+ bulkActionMetadata?: BulkActionMetadata;
27
+ }
28
+ export interface BulkEventResult {
29
+ itemMetadata?: ItemMetadata;
30
+ item?: Event;
31
+ }
32
+ export interface BulkUpdateEventRequest {
33
+ events?: BulkUpdateEventRequestMaskedEvent[];
34
+ returnEntity?: boolean;
35
+ participantNotification?: ParticipantNotification;
36
+ timeZone?: string;
37
+ }
38
+ export interface BulkUpdateEventRequestMaskedEvent {
39
+ event?: Event;
40
+ }
41
+ export interface BulkUpdateEventResponse {
42
+ results?: BulkEventResult[];
43
+ bulkActionMetadata?: BulkActionMetadata;
44
+ }
45
+ export interface CancelEventRequest {
46
+ eventId?: string;
47
+ participantNotification?: ParticipantNotification;
48
+ timeZone?: string;
49
+ }
50
+ export interface CancelEventResponse {
51
+ event?: Event;
52
+ }
53
+ export interface CommonCursorPagingMetadata {
54
+ count?: number;
55
+ cursors?: CommonCursors;
56
+ hasNext?: boolean;
57
+ }
58
+ export interface CommonCursors {
59
+ next?: string;
60
+ }
61
+ export interface CommonIdentificationData {
62
+ wixUserId?: string;
63
+ }
64
+ export interface CreateEventRequest {
65
+ event?: Event;
66
+ timeZone?: string;
67
+ idempotencyKey?: string;
68
+ }
69
+ export interface CreateEventResponse {
70
+ event?: Event;
71
+ }
72
+ export interface CursorPagingMetadata {
73
+ count?: number;
74
+ cursors?: Cursors;
75
+ hasNext?: boolean;
76
+ }
77
+ export interface Cursors {
78
+ next?: string;
79
+ }
80
+ export interface Event {
81
+ id?: string;
82
+ scheduleId?: string;
83
+ externalScheduleId?: string;
84
+ scheduleName?: string;
85
+ type?: string;
86
+ status?: string;
87
+ title?: string;
88
+ start?: ZonedDate;
89
+ end?: ZonedDate;
90
+ adjustedStart?: ZonedDate;
91
+ adjustedEnd?: ZonedDate;
92
+ timeZone?: string;
93
+ allDay?: boolean;
94
+ recurrenceType?: string;
95
+ recurrenceRule?: RecurrenceRule;
96
+ recurringEventId?: string;
97
+ transparency?: string;
98
+ location?: Location;
99
+ resources?: Resource[];
100
+ totalCapacity?: number;
101
+ remainingCapacity?: number;
102
+ participants?: Participants;
103
+ conferencingDetails?: ConferencingDetails;
104
+ notes?: string;
105
+ inheritedFields?: string[];
106
+ appId?: string;
107
+ permissions?: Permission[];
108
+ extendedFields?: ExtendedFields;
109
+ revision?: string;
110
+ createdDate?: string;
111
+ updatedDate?: string;
112
+ }
113
+ export interface GetEventRequest {
114
+ eventId?: string;
115
+ timeZone?: string;
116
+ fields?: string[];
117
+ }
118
+ export interface GetEventResponse {
119
+ event?: Event;
120
+ }
121
+ export interface ListEventsByContactIdRequest {
122
+ contactId?: string;
123
+ fromLocalDate?: string;
124
+ toLocalDate?: string;
125
+ timeZone?: string;
126
+ appId?: string;
127
+ cursorPaging?: CommonCursorPaging;
128
+ sort?: Sorting;
129
+ }
130
+ export interface ListEventsByContactIdResponse {
131
+ events?: Event[];
132
+ pagingMetadata?: CommonCursorPagingMetadata;
133
+ }
134
+ export interface ListEventsByMemberIdRequest {
135
+ memberId?: string;
136
+ fromLocalDate?: string;
137
+ toLocalDate?: string;
138
+ timeZone?: string;
139
+ appId?: string;
140
+ cursorPaging?: CommonCursorPaging;
141
+ eventIds?: string[];
142
+ sort?: Sorting;
143
+ }
144
+ export interface ListEventsByMemberIdResponse {
145
+ events?: Event[];
146
+ pagingMetadata?: CommonCursorPagingMetadata;
147
+ }
148
+ export interface ListEventsRequest {
149
+ eventIds?: string[];
150
+ timeZone?: string;
151
+ fields?: string[];
152
+ }
153
+ export interface ListEventsResponse {
154
+ events?: Event[];
155
+ }
156
+ export interface Location {
157
+ id?: string;
158
+ type?: string;
159
+ name?: string;
160
+ address?: string;
161
+ }
162
+ export interface MaskedEvent {
163
+ event?: Event;
164
+ }
165
+ export interface Participants {
166
+ total?: number;
167
+ list?: Participant[];
168
+ hasMore?: boolean;
169
+ status?: string;
170
+ }
171
+ export interface Permission {
172
+ identity?: CommonIdentificationData;
173
+ role?: string;
174
+ }
175
+ export interface QueryEventsRequest {
176
+ fromLocalDate?: string;
177
+ toLocalDate?: string;
178
+ timeZone?: string;
179
+ query?: CursorQuery;
180
+ recurrenceType?: string[];
181
+ fields?: string[];
182
+ }
183
+ export interface QueryEventsResponse {
184
+ events?: Event[];
185
+ pagingMetadata?: CursorPagingMetadata;
186
+ }
187
+ export interface RecurrenceRule {
188
+ frequency?: string;
189
+ interval?: number;
190
+ days?: string[];
191
+ until?: ZonedDate;
192
+ adjustedUntil?: ZonedDate;
193
+ }
194
+ export interface Resource {
195
+ id?: string;
196
+ name?: string;
197
+ type?: string;
198
+ transparency?: string;
199
+ permissionRole?: string;
200
+ }
201
+ export interface RestoreEventDefaultsRequest {
202
+ eventId?: string;
203
+ fields?: string[];
204
+ participantNotification?: ParticipantNotification;
205
+ timeZone?: string;
206
+ }
207
+ export interface RestoreEventDefaultsResponse {
208
+ event?: Event;
209
+ }
210
+ export interface SplitRecurringEventRequest {
211
+ recurringEventId?: string;
212
+ splitLocalDate?: string;
213
+ timeZone?: string;
214
+ }
215
+ export interface SplitRecurringEventResponse {
216
+ updatedRecurringEventEndingBeforeSplit?: Event;
217
+ newRecurringEventStartingFromSplit?: Event;
218
+ }
219
+ export interface UpdateEventRequest {
220
+ event?: Event;
221
+ participantNotification?: ParticipantNotification;
222
+ timeZone?: string;
223
+ }
224
+ export interface UpdateEventResponse {
225
+ event?: Event;
226
+ }
227
+ /**
228
+ * Cancels multiple events in bulk.
229
+ *
230
+ * @permissionId CALENDAR.EVENT_CANCEL_OWN
231
+ * @permissionId CALENDAR.EVENT_CANCEL
232
+ * @fqn wix.calendar.events.v3.EventsService.BulkCancelEvent
233
+ *
234
+ * POST /calendar/v3/bulk/events/cancel
235
+ */
236
+ export declare function bulkCancelEvent(req?: BulkCancelEventRequest, opts?: WixCallOptions): Promise<BulkCancelEventResponse>;
237
+ /**
238
+ * Creates multiple events in bulk.
239
+ *
240
+ * @permissionId CALENDAR.EVENT_CREATE_OWN
241
+ * @permissionId CALENDAR.EVENT_CREATE
242
+ * @fqn wix.calendar.events.v3.EventsService.BulkCreateEvent
243
+ *
244
+ * POST /calendar/v3/bulk/events/create
245
+ */
246
+ export declare function bulkCreateEvent(req?: BulkCreateEventRequest, opts?: WixCallOptions): Promise<BulkCreateEventResponse>;
247
+ /**
248
+ * Updates multiple events in bulk.
249
+ *
250
+ * @permissionId CALENDAR.EVENT_UPDATE_OWN
251
+ * @permissionId CALENDAR.EVENT_UPDATE
252
+ * @fqn wix.calendar.events.v3.EventsService.BulkUpdateEvent
253
+ *
254
+ * POST /calendar/v3/bulk/events/update
255
+ */
256
+ export declare function bulkUpdateEvent(req?: BulkUpdateEventRequest, opts?: WixCallOptions): Promise<BulkUpdateEventResponse>;
257
+ /**
258
+ * Cancels an event.
259
+ *
260
+ * @permissionId CALENDAR.EVENT_CANCEL_OWN
261
+ * @permissionId CALENDAR.EVENT_CANCEL
262
+ * @fqn wix.calendar.events.v3.EventsService.CancelEvent
263
+ *
264
+ * POST /calendar/v3/events/{eventId}/cancel
265
+ */
266
+ export declare function cancelEvent(req: CancelEventRequest, opts?: WixCallOptions): Promise<CancelEventResponse>;
267
+ /**
268
+ * Creates an event.
269
+ *
270
+ * @permissionId CALENDAR.EVENT_CREATE_OWN
271
+ * @permissionId CALENDAR.EVENT_CREATE
272
+ * @fqn wix.calendar.events.v3.EventsService.CreateEvent
273
+ *
274
+ * POST /calendar/v3/events
275
+ */
276
+ export declare function createEvent(req?: CreateEventRequest, opts?: WixCallOptions): Promise<CreateEventResponse>;
277
+ /**
278
+ * Retrieves an event.
279
+ *
280
+ * @permissionId CALENDAR.EVENT_READ
281
+ * @permissionId CALENDAR.EVENT_READ_PI
282
+ * @fqn wix.calendar.events.v3.EventsService.GetEvent
283
+ *
284
+ * GET /calendar/v3/events/{eventId}
285
+ */
286
+ export declare function getEvent(req: GetEventRequest, opts?: WixCallOptions): Promise<GetEventResponse>;
287
+ /**
288
+ * Retrieves a list of events by their IDs.
289
+ *
290
+ * @permissionId CALENDAR.EVENT_READ
291
+ * @permissionId CALENDAR.EVENT_READ_PI
292
+ * @fqn wix.calendar.events.v3.EventsService.ListEvents
293
+ *
294
+ * GET /calendar/v3/events
295
+ */
296
+ export declare function listEvents(req?: ListEventsRequest, opts?: WixCallOptions): Promise<ListEventsResponse>;
297
+ /**
298
+ * Retrieves a list of events filtered by the participant's [contact](https://dev.wix.com/docs/sdk/backend-modules/crm/contacts/introduction) ID.
299
+ *
300
+ * @permissionId CALENDAR.EVENT_READ_PI
301
+ * @fqn wix.calendar.participantevents.v3.ParticipantEventsService.ListEventsByContactId
302
+ *
303
+ * GET /calendar/v3/events/contactId/{contactId}
304
+ */
305
+ export declare function listEventsByContactId(req: ListEventsByContactIdRequest, opts?: WixCallOptions): Promise<ListEventsByContactIdResponse>;
306
+ /**
307
+ * Retrieves a list of events filtered by the participant's [member](https://dev.wix.com/docs/sdk/backend-modules/members/members/introduction) ID.
308
+ *
309
+ * @permissionId CALENDAR.EVENT_READ
310
+ * @permissionId CALENDAR.EVENT_READ_PI
311
+ * @fqn wix.calendar.participantevents.v3.ParticipantEventsService.ListEventsByMemberId
312
+ *
313
+ * GET /calendar/v3/events/memberId/{memberId}
314
+ */
315
+ export declare function listEventsByMemberId(req: ListEventsByMemberIdRequest, opts?: WixCallOptions): Promise<ListEventsByMemberIdResponse>;
316
+ /**
317
+ * Creates a query to retrieve a list of events.
318
+ *
319
+ * @permissionId CALENDAR.EVENT_READ
320
+ * @permissionId CALENDAR.EVENT_READ_PI
321
+ * @fqn wix.calendar.events.v3.EventsService.QueryEvents
322
+ *
323
+ * POST /calendar/v3/events/query
324
+ */
325
+ export declare function queryEvents(req?: QueryEventsRequest, opts?: WixCallOptions): Promise<QueryEventsResponse>;
326
+ /**
327
+ * Restores the event's default values from the relevant schedule or `MASTER` event.
328
+ *
329
+ * @permissionId CALENDAR.EVENT_UPDATE_OWN
330
+ * @permissionId CALENDAR.EVENT_UPDATE
331
+ * @fqn wix.calendar.events.v3.EventsService.RestoreEventDefaults
332
+ *
333
+ * POST /calendar/v3/events/{eventId}/restore-defaults
334
+ */
335
+ export declare function restoreEventDefaults(req: RestoreEventDefaultsRequest, opts?: WixCallOptions): Promise<RestoreEventDefaultsResponse>;
336
+ /**
337
+ * Splits a recurring `MASTER` event into 2 separate `MASTER` events.
338
+ *
339
+ * @permissionId CALENDAR.EVENT_UPDATE_OWN
340
+ * @permissionId CALENDAR.EVENT_UPDATE
341
+ * @fqn wix.calendar.events.v3.EventsService.SplitRecurringEvent
342
+ *
343
+ * POST /calendar/v3/events/{recurringEventId}/split
344
+ */
345
+ export declare function splitRecurringEvent(req: SplitRecurringEventRequest, opts?: WixCallOptions): Promise<SplitRecurringEventResponse>;
346
+ /**
347
+ * Updates an event.
348
+ *
349
+ * @permissionId CALENDAR.EVENT_UPDATE_OWN
350
+ * @permissionId CALENDAR.EVENT_UPDATE
351
+ * @fqn wix.calendar.events.v3.EventsService.UpdateEvent
352
+ *
353
+ * PATCH /calendar/v3/events/{eventId}
354
+ */
355
+ export declare function updateEvent(req: UpdateEventRequest, opts?: WixCallOptions): Promise<UpdateEventResponse>;
@@ -0,0 +1,6 @@
1
+ export * as conferencing from "./conferencing.generated.js";
2
+ export * as eventViews from "./eventViews.generated.js";
3
+ export * as events from "./events.generated.js";
4
+ export * as participations from "./participations.generated.js";
5
+ export * as scheduleTimeFrames from "./scheduleTimeFrames.generated.js";
6
+ export * as schedules from "./schedules.generated.js";
@@ -0,0 +1,98 @@
1
+ import { type WixCallOptions } from "../_shared/runtime.generated.js";
2
+ import type { CursorPaging, CursorPagingMetadata, ExtendedFields, Participant } from "../_shared/types.generated.js";
3
+ export type { CursorPaging, CursorPagingMetadata, Cursors, ExtendedFields, Participant } from "../_shared/types.generated.js";
4
+ export type { WixCallOptions } from "../_shared/runtime.generated.js";
5
+ export interface CreateParticipationRequest {
6
+ participation?: Participation;
7
+ idempotencyKey?: string;
8
+ }
9
+ export interface CreateParticipationResponse {
10
+ participation?: Participation;
11
+ }
12
+ export interface CursorQuery {
13
+ cursorPaging?: CursorPaging;
14
+ filter?: Record<string, unknown>;
15
+ }
16
+ export interface DeleteParticipationRequest {
17
+ participationId?: string;
18
+ }
19
+ export interface DeleteParticipationResponse {
20
+ }
21
+ export interface GetParticipationRequest {
22
+ participationId?: string;
23
+ }
24
+ export interface GetParticipationResponse {
25
+ participation?: Participation;
26
+ }
27
+ export interface Participation {
28
+ scheduleId?: string;
29
+ eventId?: string;
30
+ id?: string;
31
+ externalId?: string;
32
+ participant?: Participant;
33
+ partySize?: number;
34
+ status?: string;
35
+ appId?: string;
36
+ revision?: string;
37
+ createdDate?: string;
38
+ updatedDate?: string;
39
+ extendedFields?: ExtendedFields;
40
+ }
41
+ export interface QueryParticipationsRequest {
42
+ query?: CursorQuery;
43
+ }
44
+ export interface QueryParticipationsResponse {
45
+ participations?: Participation[];
46
+ pagingMetadata?: CursorPagingMetadata;
47
+ }
48
+ export interface UpdateParticipationRequest {
49
+ participation?: Participation;
50
+ }
51
+ export interface UpdateParticipationResponse {
52
+ participation?: Participation;
53
+ }
54
+ /**
55
+ * Creates a `participation` object for a schedule or event.
56
+ *
57
+ * @permissionId CALENDAR.PARTICIPATION_CREATE
58
+ * @fqn wix.calendar.participations.v3.ParticipationsService.CreateParticipation
59
+ *
60
+ * POST /calendar/v3/participations
61
+ */
62
+ export declare function createParticipation(req?: CreateParticipationRequest, opts?: WixCallOptions): Promise<CreateParticipationResponse>;
63
+ /**
64
+ * Deletes a `participation` object.
65
+ *
66
+ * @permissionId CALENDAR.PARTICIPATION_DELETE
67
+ * @fqn wix.calendar.participations.v3.ParticipationsService.DeleteParticipation
68
+ *
69
+ * DELETE /calendar/v3/participations/{participationId}
70
+ */
71
+ export declare function deleteParticipation(req: DeleteParticipationRequest, opts?: WixCallOptions): Promise<DeleteParticipationResponse>;
72
+ /**
73
+ * Retrieves a `participation` object.
74
+ *
75
+ * @permissionId CALENDAR.PARTICIPATION_READ
76
+ * @fqn wix.calendar.participations.v3.ParticipationsService.GetParticipation
77
+ *
78
+ * GET /calendar/v3/participations/{participationId}
79
+ */
80
+ export declare function getParticipation(req: GetParticipationRequest, opts?: WixCallOptions): Promise<GetParticipationResponse>;
81
+ /**
82
+ * Creates a query to retrieve a list of participations.
83
+ *
84
+ * @permissionId CALENDAR.PARTICIPATION_READ
85
+ * @fqn wix.calendar.participations.v3.ParticipationsService.QueryParticipations
86
+ *
87
+ * POST /calendar/v3/participations/query
88
+ */
89
+ export declare function queryParticipations(req?: QueryParticipationsRequest, opts?: WixCallOptions): Promise<QueryParticipationsResponse>;
90
+ /**
91
+ * Updates a `participation` object.
92
+ *
93
+ * @permissionId CALENDAR.PARTICIPATION_UPDATE
94
+ * @fqn wix.calendar.participations.v3.ParticipationsService.UpdateParticipation
95
+ *
96
+ * PATCH /calendar/v3/participations/{participationId}
97
+ */
98
+ export declare function updateParticipation(req: UpdateParticipationRequest, opts?: WixCallOptions): Promise<UpdateParticipationResponse>;
@@ -0,0 +1,45 @@
1
+ import { type WixCallOptions } from "../_shared/runtime.generated.js";
2
+ import type { ZonedDate } from "../_shared/types.generated.js";
3
+ export type { ZonedDate } from "../_shared/types.generated.js";
4
+ export type { WixCallOptions } from "../_shared/runtime.generated.js";
5
+ export interface GetScheduleTimeFrameRequest {
6
+ id?: string;
7
+ timeZone?: string;
8
+ }
9
+ export interface GetScheduleTimeFrameResponse {
10
+ scheduleTimeFrame?: ScheduleTimeFrame;
11
+ }
12
+ export interface ListScheduleTimeFramesRequest {
13
+ ids?: string[];
14
+ timeZone?: string;
15
+ }
16
+ export interface ListScheduleTimeFramesResponse {
17
+ scheduleTimeFrames?: ScheduleTimeFrame[];
18
+ }
19
+ export interface ScheduleTimeFrame {
20
+ id?: string;
21
+ status?: string;
22
+ firstEventStartDate?: ZonedDate;
23
+ lastEventEndDate?: ZonedDate;
24
+ adjustedFirstEventStartDate?: ZonedDate;
25
+ adjustedLastEventEndDate?: ZonedDate;
26
+ revision?: string;
27
+ }
28
+ /**
29
+ * Retrieves a schedule time frame by schedule ID.
30
+ *
31
+ * @permissionId CALENDAR.SCHEDULE_READ
32
+ * @fqn wix.calendar.scheduletimeframes.v3.ScheduleTimeFramesService.GetScheduleTimeFrame
33
+ *
34
+ * GET /calendar/v3/schedules/timeframe/{id}
35
+ */
36
+ export declare function getScheduleTimeFrame(req: GetScheduleTimeFrameRequest, opts?: WixCallOptions): Promise<GetScheduleTimeFrameResponse>;
37
+ /**
38
+ * Retrieves a list of schedule time frames by schedule IDs.
39
+ *
40
+ * @permissionId CALENDAR.SCHEDULE_READ
41
+ * @fqn wix.calendar.scheduletimeframes.v3.ScheduleTimeFramesService.ListScheduleTimeFrames
42
+ *
43
+ * GET /calendar/v3/schedules/timeframe
44
+ */
45
+ export declare function listScheduleTimeFrames(req?: ListScheduleTimeFramesRequest, opts?: WixCallOptions): Promise<ListScheduleTimeFramesResponse>;
@@ -0,0 +1,123 @@
1
+ import { type WixCallOptions } from "../_shared/runtime.generated.js";
2
+ import type { ConferencingDetails, CursorPaging, CursorPagingMetadata, ExtendedFields, ParticipantNotification } from "../_shared/types.generated.js";
3
+ export type { ConferencingDetails, CursorPaging, CursorPagingMetadata, Cursors, ExtendedFields, OnlineMeetingInfo, ParticipantNotification, Provider } from "../_shared/types.generated.js";
4
+ export type { WixCallOptions } from "../_shared/runtime.generated.js";
5
+ export interface CancelScheduleRequest {
6
+ scheduleId?: string;
7
+ preserveFutureEventsWithParticipants?: boolean;
8
+ participantNotification?: ParticipantNotification;
9
+ }
10
+ export interface CancelScheduleResponse {
11
+ schedule?: Schedule;
12
+ }
13
+ export interface CommonIdentificationData {
14
+ wixUserId?: string;
15
+ }
16
+ export interface CreateScheduleRequest {
17
+ schedule?: Schedule;
18
+ idempotencyKey?: string;
19
+ }
20
+ export interface CreateScheduleResponse {
21
+ schedule?: Schedule;
22
+ }
23
+ export interface CursorQuery {
24
+ cursorPaging?: CursorPaging;
25
+ filter?: Record<string, unknown>;
26
+ }
27
+ export interface GetScheduleRequest {
28
+ scheduleId?: string;
29
+ fields?: string[];
30
+ }
31
+ export interface GetScheduleResponse {
32
+ schedule?: Schedule;
33
+ }
34
+ export interface Location {
35
+ id?: string;
36
+ type?: string;
37
+ name?: string;
38
+ address?: string;
39
+ }
40
+ export interface Permission {
41
+ identity?: CommonIdentificationData;
42
+ role?: string;
43
+ }
44
+ export interface QuerySchedulesRequest {
45
+ query?: CursorQuery;
46
+ fields?: string[];
47
+ }
48
+ export interface QuerySchedulesResponse {
49
+ schedules?: Schedule[];
50
+ pagingMetadata?: CursorPagingMetadata;
51
+ }
52
+ export interface Schedule {
53
+ id?: string;
54
+ externalId?: string;
55
+ name?: string;
56
+ status?: string;
57
+ timeZone?: string;
58
+ businessTimeZoneEnabled?: boolean;
59
+ defaultTitle?: string;
60
+ defaultLocation?: Location;
61
+ defaultCapacity?: number;
62
+ defaultConferencingDetails?: ConferencingDetails;
63
+ appId?: string;
64
+ permissions?: Permission[];
65
+ extendedFields?: ExtendedFields;
66
+ revision?: string;
67
+ createdDate?: string;
68
+ updatedDate?: string;
69
+ }
70
+ export interface UpdateScheduleRequest {
71
+ schedule?: Schedule;
72
+ participantNotification?: ParticipantNotification;
73
+ }
74
+ export interface UpdateScheduleResponse {
75
+ schedule?: Schedule;
76
+ }
77
+ /**
78
+ * Sets a schedule's `status` to `CANCELLED`.
79
+ *
80
+ * @permissionId CALENDAR.SCHEDULE_CANCEL
81
+ * @fqn wix.calendar.schedules.v3.SchedulesService.CancelSchedule
82
+ *
83
+ * POST /calendar/v3/schedules/{scheduleId}/cancel
84
+ */
85
+ export declare function cancelSchedule(req: CancelScheduleRequest, opts?: WixCallOptions): Promise<CancelScheduleResponse>;
86
+ /**
87
+ * Creates a schedule.
88
+ *
89
+ * @permissionId CALENDAR.SCHEDULE_CREATE
90
+ * @fqn wix.calendar.schedules.v3.SchedulesService.CreateSchedule
91
+ *
92
+ * POST /calendar/v3/schedules
93
+ */
94
+ export declare function createSchedule(req?: CreateScheduleRequest, opts?: WixCallOptions): Promise<CreateScheduleResponse>;
95
+ /**
96
+ * Retrieves a schedule.
97
+ *
98
+ * @permissionId CALENDAR.SCHEDULE_READ
99
+ * @permissionId CALENDAR.SCHEDULE_READ_PI
100
+ * @fqn wix.calendar.schedules.v3.SchedulesService.GetSchedule
101
+ *
102
+ * GET /calendar/v3/schedules/{scheduleId}
103
+ */
104
+ export declare function getSchedule(req: GetScheduleRequest, opts?: WixCallOptions): Promise<GetScheduleResponse>;
105
+ /**
106
+ * Creates a query to retrieve a list of schedules.
107
+ *
108
+ * @permissionId CALENDAR.SCHEDULE_READ
109
+ * @permissionId CALENDAR.SCHEDULE_READ_PI
110
+ * @fqn wix.calendar.schedules.v3.SchedulesService.QuerySchedules
111
+ *
112
+ * POST /calendar/v3/schedules/query
113
+ */
114
+ export declare function querySchedules(req?: QuerySchedulesRequest, opts?: WixCallOptions): Promise<QuerySchedulesResponse>;
115
+ /**
116
+ * Updates a schedule.
117
+ *
118
+ * @permissionId CALENDAR.SCHEDULE_UPDATE
119
+ * @fqn wix.calendar.schedules.v3.SchedulesService.UpdateSchedule
120
+ *
121
+ * PATCH /calendar/v3/schedules/{scheduleId}
122
+ */
123
+ export declare function updateSchedule(req: UpdateScheduleRequest, opts?: WixCallOptions): Promise<UpdateScheduleResponse>;
@@ -1,6 +1,6 @@
1
1
  import { type WixCallOptions } from "../_shared/runtime.generated.js";
2
- import type { CursorPagingMetadata, QueryV2 } from "../_shared/types.generated.js";
3
- export type { AddressLocation, CursorPaging, CursorPagingMetadata, Cursors, Paging, QueryV2, Sorting } from "../_shared/types.generated.js";
2
+ import type { AddressLocation, CursorPaging, CursorPagingMetadata, DeleteCategoryResponse, GetCategoryRequest, Paging } from "../_shared/types.generated.js";
3
+ export type { AddressLocation, CursorPaging, CursorPagingMetadata, Cursors, DeleteCategoryResponse, GetCategoryRequest, Paging } from "../_shared/types.generated.js";
4
4
  export type { WixCallOptions } from "../_shared/runtime.generated.js";
5
5
  export interface Category {
6
6
  id?: string;
@@ -30,11 +30,6 @@ export interface DeleteCategoryRequest {
30
30
  categoryId?: string;
31
31
  revision?: string;
32
32
  }
33
- export interface DeleteCategoryResponse {
34
- }
35
- export interface GetCategoryRequest {
36
- categoryId?: string;
37
- }
38
33
  export interface GetCategoryResponse {
39
34
  category?: Category;
40
35
  }
@@ -53,6 +48,14 @@ export interface QueryCategoryResponse {
53
48
  categories?: Category[];
54
49
  pagingMetadata?: CursorPagingMetadata;
55
50
  }
51
+ export interface QueryV2 {
52
+ paging?: Paging;
53
+ cursorPaging?: CursorPaging;
54
+ filter?: Record<string, unknown>;
55
+ sort?: Sorting[];
56
+ fields?: string[];
57
+ fieldsets?: string[];
58
+ }
56
59
  export interface RatingsSettings {
57
60
  ratingsEnabled?: boolean;
58
61
  ratingRequired?: boolean;
@@ -60,6 +63,11 @@ export interface RatingsSettings {
60
63
  export interface ReactionIcon {
61
64
  iconType?: string;
62
65
  }
66
+ export interface Sorting {
67
+ fieldName?: string;
68
+ order?: string;
69
+ origin?: AddressLocation;
70
+ }
63
71
  export interface UpdateCategoryRequest {
64
72
  category?: Category;
65
73
  }