@wix/bookings 1.0.71 → 1.0.73

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 (39) hide show
  1. package/build/cjs/index.d.ts +1 -0
  2. package/build/cjs/index.js +2 -1
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/src/bookings-calendar-v2-external-calendar.http.d.ts +121 -0
  5. package/build/cjs/src/bookings-calendar-v2-external-calendar.http.js +347 -0
  6. package/build/cjs/src/bookings-calendar-v2-external-calendar.http.js.map +1 -0
  7. package/build/cjs/src/bookings-calendar-v2-external-calendar.public.d.ts +13 -0
  8. package/build/cjs/src/bookings-calendar-v2-external-calendar.public.js +79 -0
  9. package/build/cjs/src/bookings-calendar-v2-external-calendar.public.js.map +1 -0
  10. package/build/cjs/src/bookings-calendar-v2-external-calendar.types.d.ts +1444 -0
  11. package/build/cjs/src/bookings-calendar-v2-external-calendar.types.js +209 -0
  12. package/build/cjs/src/bookings-calendar-v2-external-calendar.types.js.map +1 -0
  13. package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.d.ts +1678 -0
  14. package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.js +858 -0
  15. package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.js.map +1 -0
  16. package/build/cjs/src/bookings-v2-booking.http.d.ts +3 -3
  17. package/build/cjs/src/bookings-v2-booking.http.js +3 -3
  18. package/build/cjs/src/bookings-v2-booking.universal.d.ts +3 -3
  19. package/build/cjs/src/bookings-v2-booking.universal.js +3 -3
  20. package/build/es/index.d.ts +1 -0
  21. package/build/es/index.js +1 -0
  22. package/build/es/index.js.map +1 -1
  23. package/build/es/src/bookings-calendar-v2-external-calendar.http.d.ts +121 -0
  24. package/build/es/src/bookings-calendar-v2-external-calendar.http.js +335 -0
  25. package/build/es/src/bookings-calendar-v2-external-calendar.http.js.map +1 -0
  26. package/build/es/src/bookings-calendar-v2-external-calendar.public.d.ts +13 -0
  27. package/build/es/src/bookings-calendar-v2-external-calendar.public.js +48 -0
  28. package/build/es/src/bookings-calendar-v2-external-calendar.public.js.map +1 -0
  29. package/build/es/src/bookings-calendar-v2-external-calendar.types.d.ts +1444 -0
  30. package/build/es/src/bookings-calendar-v2-external-calendar.types.js +206 -0
  31. package/build/es/src/bookings-calendar-v2-external-calendar.types.js.map +1 -0
  32. package/build/es/src/bookings-calendar-v2-external-calendar.universal.d.ts +1678 -0
  33. package/build/es/src/bookings-calendar-v2-external-calendar.universal.js +827 -0
  34. package/build/es/src/bookings-calendar-v2-external-calendar.universal.js.map +1 -0
  35. package/build/es/src/bookings-v2-booking.http.d.ts +3 -3
  36. package/build/es/src/bookings-v2-booking.http.js +3 -3
  37. package/build/es/src/bookings-v2-booking.universal.d.ts +3 -3
  38. package/build/es/src/bookings-v2-booking.universal.js +3 -3
  39. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bookings-calendar-v2-external-calendar.universal.js","sourceRoot":"","sources":["../../../src/bookings-calendar-v2-external-calendar.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAqE;AAErE,+HAAiH;AAEjH,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAsB5B,IAAY,YAUX;AAVD,W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BAAmB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QAE/C,MAAM,OAAO,GACX,+CAA+C,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;QAEtE,KAAK,CAAC,sCAAsC,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAElE,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,UAAU,+CAAvB,WAAW,CAAgB,CAAC;QAC5B,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,SAAS;aACV,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF;AA9DD,gCA8DC"}
@@ -7,13 +7,13 @@ import { BulkCreateBookingRequest, BulkCreateBookingResponse, CancelBookingReque
7
7
  * To create a booking for an appointment or a session of a class, pass a booking with the relevant `slot`.
8
8
  *
9
9
  * To create a booking for the entire course, pass a booking with the relevant `schedule`.
10
- * You can use the [Query Availability](https://bo.wix.com/wix-docs/rest/bookings/availabilitycalendar---wip/query-availability) endpoint to check the availability beforehand.
10
+ * You can use the [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability) endpoint to check the availability beforehand.
11
11
  *
12
12
  * If you create a booking for an existing session, we recommend that you only pass `slot.sessionId`.
13
13
  * Then, any specified slot details are calculated.
14
14
  *
15
15
  * If you create a booking for a new session, we recommend to call
16
- * [Query Availability](https://bo.wix.com/wix-docs/rest/bookings/availabilitycalendar---wip/query-availability)
16
+ * [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability)
17
17
  * first.
18
18
  * Then, pass the retrieved `availability.slot` object as the BookedEntity.Slot of the booking in the request.
19
19
  *
@@ -35,7 +35,7 @@ import { BulkCreateBookingRequest, BulkCreateBookingResponse, CancelBookingReque
35
35
  * This specifies which payment method the customer plans to use.
36
36
  * But it's possible for them to later use another supported payment method.
37
37
  *
38
- * You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](link) otherwise, after you create the booking, you can use the
38
+ * You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](https://dev.wix.com/api/rest/wix-bookings/confirmation/confirm-or-decline-booking) otherwise, after you create the booking, you can use the
39
39
  * Wix eCommerce APIs (coming soon) for the checkout and payment flow or use a different service for checkout.
40
40
  */
41
41
  export declare function createBooking(payload: CreateBookingRequest): RequestOptionsFactory<CreateBookingResponse>;
@@ -91,13 +91,13 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
91
91
  * To create a booking for an appointment or a session of a class, pass a booking with the relevant `slot`.
92
92
  *
93
93
  * To create a booking for the entire course, pass a booking with the relevant `schedule`.
94
- * You can use the [Query Availability](https://bo.wix.com/wix-docs/rest/bookings/availabilitycalendar---wip/query-availability) endpoint to check the availability beforehand.
94
+ * You can use the [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability) endpoint to check the availability beforehand.
95
95
  *
96
96
  * If you create a booking for an existing session, we recommend that you only pass `slot.sessionId`.
97
97
  * Then, any specified slot details are calculated.
98
98
  *
99
99
  * If you create a booking for a new session, we recommend to call
100
- * [Query Availability](https://bo.wix.com/wix-docs/rest/bookings/availabilitycalendar---wip/query-availability)
100
+ * [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability)
101
101
  * first.
102
102
  * Then, pass the retrieved `availability.slot` object as the BookedEntity.Slot of the booking in the request.
103
103
  *
@@ -119,7 +119,7 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
119
119
  * This specifies which payment method the customer plans to use.
120
120
  * But it's possible for them to later use another supported payment method.
121
121
  *
122
- * You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](link) otherwise, after you create the booking, you can use the
122
+ * You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](https://dev.wix.com/api/rest/wix-bookings/confirmation/confirm-or-decline-booking) otherwise, after you create the booking, you can use the
123
123
  * Wix eCommerce APIs (coming soon) for the checkout and payment flow or use a different service for checkout.
124
124
  */
125
125
  function createBooking(payload) {
@@ -1614,13 +1614,13 @@ export interface V2UpdateNumberOfParticipantsResponse {
1614
1614
  * To create a booking for an appointment or a session of a class, pass a booking with the relevant `slot`.
1615
1615
  *
1616
1616
  * To create a booking for the entire course, pass a booking with the relevant `schedule`.
1617
- * You can use the [Query Availability](https://bo.wix.com/wix-docs/rest/bookings/availabilitycalendar---wip/query-availability) endpoint to check the availability beforehand.
1617
+ * You can use the [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability) endpoint to check the availability beforehand.
1618
1618
  *
1619
1619
  * If you create a booking for an existing session, we recommend that you only pass `slot.sessionId`.
1620
1620
  * Then, any specified slot details are calculated.
1621
1621
  *
1622
1622
  * If you create a booking for a new session, we recommend to call
1623
- * [Query Availability](https://bo.wix.com/wix-docs/rest/bookings/availabilitycalendar---wip/query-availability)
1623
+ * [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability)
1624
1624
  * first.
1625
1625
  * Then, pass the retrieved `availability.slot` object as the BookedEntity.Slot of the booking in the request.
1626
1626
  *
@@ -1642,7 +1642,7 @@ export interface V2UpdateNumberOfParticipantsResponse {
1642
1642
  * This specifies which payment method the customer plans to use.
1643
1643
  * But it's possible for them to later use another supported payment method.
1644
1644
  *
1645
- * You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](link) otherwise, after you create the booking, you can use the
1645
+ * You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](https://dev.wix.com/api/rest/wix-bookings/confirmation/confirm-or-decline-booking) otherwise, after you create the booking, you can use the
1646
1646
  * Wix eCommerce APIs (coming soon) for the checkout and payment flow or use a different service for checkout.
1647
1647
  * @param booking - The booking to create.
1648
1648
  * @public
@@ -164,13 +164,13 @@ const _updateNumberOfParticipantsResponse = {};
164
164
  * To create a booking for an appointment or a session of a class, pass a booking with the relevant `slot`.
165
165
  *
166
166
  * To create a booking for the entire course, pass a booking with the relevant `schedule`.
167
- * You can use the [Query Availability](https://bo.wix.com/wix-docs/rest/bookings/availabilitycalendar---wip/query-availability) endpoint to check the availability beforehand.
167
+ * You can use the [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability) endpoint to check the availability beforehand.
168
168
  *
169
169
  * If you create a booking for an existing session, we recommend that you only pass `slot.sessionId`.
170
170
  * Then, any specified slot details are calculated.
171
171
  *
172
172
  * If you create a booking for a new session, we recommend to call
173
- * [Query Availability](https://bo.wix.com/wix-docs/rest/bookings/availabilitycalendar---wip/query-availability)
173
+ * [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability)
174
174
  * first.
175
175
  * Then, pass the retrieved `availability.slot` object as the BookedEntity.Slot of the booking in the request.
176
176
  *
@@ -192,7 +192,7 @@ const _updateNumberOfParticipantsResponse = {};
192
192
  * This specifies which payment method the customer plans to use.
193
193
  * But it's possible for them to later use another supported payment method.
194
194
  *
195
- * You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](link) otherwise, after you create the booking, you can use the
195
+ * You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](https://dev.wix.com/api/rest/wix-bookings/confirmation/confirm-or-decline-booking) otherwise, after you create the booking, you can use the
196
196
  * Wix eCommerce APIs (coming soon) for the checkout and payment flow or use a different service for checkout.
197
197
  * @param booking - The booking to create.
198
198
  * @public
@@ -2,6 +2,7 @@ export * as sessionsFeed from './src/bookings-calendar-v2-session-feed-event.pub
2
2
  export * as resources from './src/bookings-catalog-v1-resource.public';
3
3
  export * as availabilityCalendar from './src/bookings-availability-v1-slot-availability.public';
4
4
  export * as sessions from './src/bookings-calendar-v1-session.public';
5
+ export * as externalCalendars from './src/bookings-calendar-v2-external-calendar.public';
5
6
  export * as sessionsView from './src/bookings-calendar-v2-session-view.public';
6
7
  export * as serviceOptionsAndVariants from './src/bookings-catalog-v1-service-options-and-variants.public';
7
8
  export * as extendedBookings from './src/bookings-reader-v2-extended-booking.public';
package/build/es/index.js CHANGED
@@ -2,6 +2,7 @@ export * as sessionsFeed from './src/bookings-calendar-v2-session-feed-event.pub
2
2
  export * as resources from './src/bookings-catalog-v1-resource.public';
3
3
  export * as availabilityCalendar from './src/bookings-availability-v1-slot-availability.public';
4
4
  export * as sessions from './src/bookings-calendar-v1-session.public';
5
+ export * as externalCalendars from './src/bookings-calendar-v2-external-calendar.public';
5
6
  export * as sessionsView from './src/bookings-calendar-v2-session-view.public';
6
7
  export * as serviceOptionsAndVariants from './src/bookings-catalog-v1-service-options-and-variants.public';
7
8
  export * as extendedBookings from './src/bookings-reader-v2-extended-booking.public';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,sDAAsD,CAAC;AACrF,OAAO,KAAK,SAAS,MAAM,2CAA2C,CAAC;AACvE,OAAO,KAAK,oBAAoB,MAAM,yDAAyD,CAAC;AAChG,OAAO,KAAK,QAAQ,MAAM,2CAA2C,CAAC;AACtE,OAAO,KAAK,YAAY,MAAM,gDAAgD,CAAC;AAC/E,OAAO,KAAK,yBAAyB,MAAM,+DAA+D,CAAC;AAC3G,OAAO,KAAK,gBAAgB,MAAM,kDAAkD,CAAC;AACrF,OAAO,KAAK,QAAQ,MAAM,2CAA2C,CAAC;AACtE,OAAO,KAAK,QAAQ,MAAM,kCAAkC,CAAC;AAC7D,OAAO,KAAK,eAAe,MAAM,qCAAqC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,sDAAsD,CAAC;AACrF,OAAO,KAAK,SAAS,MAAM,2CAA2C,CAAC;AACvE,OAAO,KAAK,oBAAoB,MAAM,yDAAyD,CAAC;AAChG,OAAO,KAAK,QAAQ,MAAM,2CAA2C,CAAC;AACtE,OAAO,KAAK,iBAAiB,MAAM,qDAAqD,CAAC;AACzF,OAAO,KAAK,YAAY,MAAM,gDAAgD,CAAC;AAC/E,OAAO,KAAK,yBAAyB,MAAM,+DAA+D,CAAC;AAC3G,OAAO,KAAK,gBAAgB,MAAM,kDAAkD,CAAC;AACrF,OAAO,KAAK,QAAQ,MAAM,2CAA2C,CAAC;AACtE,OAAO,KAAK,QAAQ,MAAM,kCAAkC,CAAC;AAC7D,OAAO,KAAK,eAAe,MAAM,qCAAqC,CAAC"}
@@ -0,0 +1,121 @@
1
+ import { RequestOptionsFactory } from '@wix/sdk-types';
2
+ import { ConnectByCredentialsRequest, ConnectByCredentialsResponse, ConnectByOAuthRequest, ConnectByOAuthResponse, DisconnectRequest, DisconnectResponse, GetConnectionRequest, GetConnectionResponse, ListCalendarsRequest, ListCalendarsResponse, ListConnectionsRequest, ListConnectionsResponse, ListEventsRequest, ListEventsResponse, ListProvidersRequest, ListProvidersResponse, UpdateSyncConfigRequest, UpdateSyncConfigResponse } from './bookings-calendar-v2-external-calendar.types';
3
+ /**
4
+ * Retrieves a list of the external calendar providers for which the site supports integration.
5
+ *
6
+ *
7
+ * The list of external calendar providers includes:
8
+ *
9
+ * + External calendar providers that are supported by default, such as Google, Apple, and Microsoft.
10
+ * + External calenders for which the site owner has enabled integration by installing an app.
11
+ *
12
+ * For each external calendar provider, the list contains information about supported connection methods and features.
13
+ * For each provider, check `features.connectMethods` to find out whether to use [Connect By Credentials](#connect-by-credentials) or [Connect By OAuth](#connect-by-o-auth) to establish a connection.
14
+ */
15
+ export declare function listProviders(payload: ListProvidersRequest): RequestOptionsFactory<ListProvidersResponse>;
16
+ /**
17
+ * Retrieves an external calendar connection by ID.
18
+ *
19
+ *
20
+ * The external calendar connection contains details of the connection between a Wix site's calendar and calendars hosted by an external provider.
21
+ *
22
+ * The `syncConfig` property contains configuration details for importing events from an external calendar, exporting events to an external calendar, or both.
23
+ */
24
+ export declare function getConnection(payload: GetConnectionRequest): RequestOptionsFactory<GetConnectionResponse>;
25
+ /**
26
+ * Retrieves a list of external calendar connections.
27
+ *
28
+ *
29
+ * Each external calendar connections contains details of a connection between a Wix site's calendar and calendars hosted by an external provider.
30
+ *
31
+ * The `syncConfig` property of each connection contains configuration details for importing events from an external calendar, exporting events to an external calendar, or both.
32
+ */
33
+ export declare function listConnections(payload: ListConnectionsRequest): RequestOptionsFactory<ListConnectionsResponse>;
34
+ /**
35
+ * Connects to an external calendar using the OAuth authorization protocol.
36
+ *
37
+ *
38
+ * The authorization flow should take place as follows:
39
+ *
40
+ * 1. Send a request to the endpoint with the appropriate parameters.
41
+ * 2. Redirect the user to the URL received in the response.
42
+ * 3. The user authorizes access.
43
+ * 4. The user is redirected to the URL you provide in the `redirectUrl` body parameter, with a query parameter `connectionId` containing the new connection ID.
44
+ *
45
+ * If the attempt to connect fails, the user is still redirected to the URL you provide in the `redirectUrl` body parameter,
46
+ * but with a query parameter `error` containing one of the following values:
47
+ *
48
+ * - `reject`: The user rejected the authorization request.
49
+ * - `unsupported`: Connecting to the user's external account type is not supported by the provider.
50
+ * - `internal`: An error unrelated to the client or the request that prevents the server from fulfilling the request.
51
+ *
52
+ * Once a connection is successfully created, use [List Events](#list-events) to obtain an up-to-date list of events in the connected external calendars.
53
+ *
54
+ * This endpoint validates that the specified schedule is owned by the Wix user connecting the calendar,
55
+ * or that the caller has the Manage External Calendars or Manage Business Calendar permission scope.
56
+ *
57
+ * If the schedule's ownership changes, the connection to the external calendar is automatically disconnected.
58
+ *
59
+ * > **Note:**
60
+ * > Use [List Providers](#list-providers) to find out whether to connect to a particular provider using this endpoint or [Connect by Credentials](#connect-by-credentials).
61
+ */
62
+ export declare function connectByOAuth(payload: ConnectByOAuthRequest): RequestOptionsFactory<ConnectByOAuthResponse>;
63
+ /**
64
+ * Connects to an external calendar by directly providing the external calendar account credentials.
65
+ *
66
+ *
67
+ * Once a connection is successfully created, use [List Events](#list-events) to obtain an up-to-date list of events in the connected external calendars.
68
+ *
69
+ * This endpoint validates that the specified schedule is owned by the Wix user connecting the calendar,
70
+ * or that the caller has the Manage External Calendars or Manage Business Calendar permission scope.
71
+ *
72
+ * If the schedule's ownership changes, the connection to the external calendar is automatically disconnected.
73
+ *
74
+ * > **Note:**
75
+ * > Use [List Providers](#list-providers) to find out whether to connect to a particular provider using this endpoint or [Connect by OAuth](#connect-by-o-auth).
76
+ */
77
+ export declare function connectByCredentials(payload: ConnectByCredentialsRequest): RequestOptionsFactory<ConnectByCredentialsResponse>;
78
+ /**
79
+ * Retrieves a list of calendars belonging to the connected external calendar account.
80
+ *
81
+ *
82
+ * > **Note:**
83
+ * > Before using this endpoint, establish a connection with an external calendar using [Connect By Credentials](#connect-by-credentials) or [Connect By OAuth](#connect-by-o-auth).
84
+ */
85
+ export declare function listCalendars(payload: ListCalendarsRequest): RequestOptionsFactory<ListCalendarsResponse>;
86
+ /**
87
+ * Updates the specified external calendar connection's sync configuration.
88
+ *
89
+ *
90
+ * Use Update Sync Config to update a connection's `syncConfig` property.
91
+ * The `syncConfig` property contains settings for enabling, configuring, or disabling functionality, including:
92
+ *
93
+ * + Importing events from one or more specified calendars in the connected external calendar account. If this is enabled, use [List Events](#list-events) to retrieve a list of events from the external calendar.
94
+ * + Exporting events from the Wix site's calendar to an external calendar.
95
+ *
96
+ * To see an external calendar connection's existing sync configuration, use [Get Connection](#get-connection) or [List Connections](#list-connections) and see the `syncConfig` property.
97
+ *
98
+ * > **Note:**
99
+ * > Supported functionality depends on the provider. Use [List Providers](#list-providers) to see details about providers' supported features.
100
+ */
101
+ export declare function updateSyncConfig(payload: UpdateSyncConfigRequest): RequestOptionsFactory<UpdateSyncConfigResponse>;
102
+ /**
103
+ * Disconnects from an external calendar.
104
+ *
105
+ *
106
+ * When an external calendar is disconnected, the external calendar connection's `status` is changed to `DISCONNECTED`.
107
+ *
108
+ * After disconnecting, [List Events](#list-events) no longer returns events from the disconnected external calendar.
109
+ * Exported Wix calendar sessions are deleted from the external calendar.
110
+ */
111
+ export declare function disconnect(payload: DisconnectRequest): RequestOptionsFactory<DisconnectResponse>;
112
+ /**
113
+ * Retrieves a list of events from all connected external calendars, based on the provided filtering and paging.
114
+ *
115
+ *
116
+ * Use List Events to retrieve an aggregated list of events in the connected external calendars for a specified time range, sorted by start date.
117
+ *
118
+ * > **Note:**
119
+ * > Before using this endpoint, establish a connection with an external calendar using [Connect By Credentials](#connect-by-credentials) or [Connect By OAuth](#connect-by-o-auth).
120
+ */
121
+ export declare function listEvents(payload: ListEventsRequest): RequestOptionsFactory<ListEventsResponse>;
@@ -0,0 +1,335 @@
1
+ import { toURLSearchParams } from '@wix/metro-runtime';
2
+ import { serializer } from '@wix/metro-runtime/ambassador';
3
+ import { resolveUrl } from '@wix/metro-runtime';
4
+ const _connectByCredentialsRequest = {};
5
+ const _connectByCredentialsResponse = {};
6
+ const _connectByOAuthRequest = {};
7
+ const _connectByOAuthResponse = {};
8
+ const _disconnectRequest = {};
9
+ const _disconnectResponse = {};
10
+ const _getConnectionRequest = {};
11
+ const _getConnectionResponse = {};
12
+ const _listCalendarsRequest = {};
13
+ const _listCalendarsResponse = {};
14
+ const _listConnectionsRequest = {};
15
+ const _listConnectionsResponse = {};
16
+ const _listEventsRequest = {};
17
+ const _listEventsResponse = {};
18
+ const _listProvidersRequest = {};
19
+ const _listProvidersResponse = {};
20
+ const _updateSyncConfigRequest = { fieldMask: 'google.protobuf.FieldMask' };
21
+ const _updateSyncConfigResponse = {};
22
+ function resolveComWixBookingsExternalcalendarApiV2ExternalCalendarServiceUrl(opts) {
23
+ const domainToMappings = {
24
+ 'api._api_base_domain_': [
25
+ {
26
+ srcPath: '/external-calendar-2',
27
+ destPath: '',
28
+ },
29
+ ],
30
+ 'manage._base_domain_': [
31
+ {
32
+ srcPath: '/_api/bookings/v2/external-calendar',
33
+ destPath: '/v2/external-calendar',
34
+ },
35
+ ],
36
+ 'www.wixapis.com': [
37
+ {
38
+ srcPath: '/bookings/v2/external-calendars',
39
+ destPath: '/v2/external-calendars',
40
+ },
41
+ ],
42
+ };
43
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
44
+ }
45
+ /**
46
+ * Retrieves a list of the external calendar providers for which the site supports integration.
47
+ *
48
+ *
49
+ * The list of external calendar providers includes:
50
+ *
51
+ * + External calendar providers that are supported by default, such as Google, Apple, and Microsoft.
52
+ * + External calenders for which the site owner has enabled integration by installing an app.
53
+ *
54
+ * For each external calendar provider, the list contains information about supported connection methods and features.
55
+ * For each provider, check `features.connectMethods` to find out whether to use [Connect By Credentials](#connect-by-credentials) or [Connect By OAuth](#connect-by-o-auth) to establish a connection.
56
+ */
57
+ export function listProviders(payload) {
58
+ const { toJSON: toReq, fromJSON: fromReq } = serializer(_listProvidersRequest, {});
59
+ const { fromJSON: fromRes } = serializer(_listProvidersResponse, {});
60
+ function __listProviders({ host }) {
61
+ const serializedData = toReq(payload);
62
+ const metadata = {
63
+ method: 'GET',
64
+ url: resolveComWixBookingsExternalcalendarApiV2ExternalCalendarServiceUrl({
65
+ protoPath: '/v2/external-calendars/providers',
66
+ data: serializedData,
67
+ host,
68
+ }),
69
+ params: toURLSearchParams(serializedData),
70
+ transformResponse: fromRes,
71
+ };
72
+ return metadata;
73
+ }
74
+ __listProviders.fromReq = fromReq;
75
+ return __listProviders;
76
+ }
77
+ /**
78
+ * Retrieves an external calendar connection by ID.
79
+ *
80
+ *
81
+ * The external calendar connection contains details of the connection between a Wix site's calendar and calendars hosted by an external provider.
82
+ *
83
+ * The `syncConfig` property contains configuration details for importing events from an external calendar, exporting events to an external calendar, or both.
84
+ */
85
+ export function getConnection(payload) {
86
+ const { toJSON: toReq, fromJSON: fromReq } = serializer(_getConnectionRequest, {});
87
+ const { fromJSON: fromRes } = serializer(_getConnectionResponse, {});
88
+ function __getConnection({ host }) {
89
+ const serializedData = toReq(payload);
90
+ const metadata = {
91
+ method: 'GET',
92
+ url: resolveComWixBookingsExternalcalendarApiV2ExternalCalendarServiceUrl({
93
+ protoPath: '/v2/external-calendars/connections/{connectionId}',
94
+ data: serializedData,
95
+ host,
96
+ }),
97
+ params: toURLSearchParams(serializedData),
98
+ transformResponse: fromRes,
99
+ };
100
+ return metadata;
101
+ }
102
+ __getConnection.fromReq = fromReq;
103
+ return __getConnection;
104
+ }
105
+ /**
106
+ * Retrieves a list of external calendar connections.
107
+ *
108
+ *
109
+ * Each external calendar connections contains details of a connection between a Wix site's calendar and calendars hosted by an external provider.
110
+ *
111
+ * The `syncConfig` property of each connection contains configuration details for importing events from an external calendar, exporting events to an external calendar, or both.
112
+ */
113
+ export function listConnections(payload) {
114
+ const { toJSON: toReq, fromJSON: fromReq } = serializer(_listConnectionsRequest, {});
115
+ const { fromJSON: fromRes } = serializer(_listConnectionsResponse, {});
116
+ function __listConnections({ host }) {
117
+ const serializedData = toReq(payload);
118
+ const metadata = {
119
+ method: 'GET',
120
+ url: resolveComWixBookingsExternalcalendarApiV2ExternalCalendarServiceUrl({
121
+ protoPath: '/v2/external-calendars/connections',
122
+ data: serializedData,
123
+ host,
124
+ }),
125
+ params: toURLSearchParams(serializedData),
126
+ transformResponse: fromRes,
127
+ };
128
+ return metadata;
129
+ }
130
+ __listConnections.fromReq = fromReq;
131
+ return __listConnections;
132
+ }
133
+ /**
134
+ * Connects to an external calendar using the OAuth authorization protocol.
135
+ *
136
+ *
137
+ * The authorization flow should take place as follows:
138
+ *
139
+ * 1. Send a request to the endpoint with the appropriate parameters.
140
+ * 2. Redirect the user to the URL received in the response.
141
+ * 3. The user authorizes access.
142
+ * 4. The user is redirected to the URL you provide in the `redirectUrl` body parameter, with a query parameter `connectionId` containing the new connection ID.
143
+ *
144
+ * If the attempt to connect fails, the user is still redirected to the URL you provide in the `redirectUrl` body parameter,
145
+ * but with a query parameter `error` containing one of the following values:
146
+ *
147
+ * - `reject`: The user rejected the authorization request.
148
+ * - `unsupported`: Connecting to the user's external account type is not supported by the provider.
149
+ * - `internal`: An error unrelated to the client or the request that prevents the server from fulfilling the request.
150
+ *
151
+ * Once a connection is successfully created, use [List Events](#list-events) to obtain an up-to-date list of events in the connected external calendars.
152
+ *
153
+ * This endpoint validates that the specified schedule is owned by the Wix user connecting the calendar,
154
+ * or that the caller has the Manage External Calendars or Manage Business Calendar permission scope.
155
+ *
156
+ * If the schedule's ownership changes, the connection to the external calendar is automatically disconnected.
157
+ *
158
+ * > **Note:**
159
+ * > Use [List Providers](#list-providers) to find out whether to connect to a particular provider using this endpoint or [Connect by Credentials](#connect-by-credentials).
160
+ */
161
+ export function connectByOAuth(payload) {
162
+ const { toJSON: toReq, fromJSON: fromReq } = serializer(_connectByOAuthRequest, {});
163
+ const { fromJSON: fromRes } = serializer(_connectByOAuthResponse, {});
164
+ function __connectByOAuth({ host }) {
165
+ const serializedData = toReq(payload);
166
+ const metadata = {
167
+ method: 'POST',
168
+ url: resolveComWixBookingsExternalcalendarApiV2ExternalCalendarServiceUrl({
169
+ protoPath: '/v2/external-calendars/connections:connectByOAuth',
170
+ data: serializedData,
171
+ host,
172
+ }),
173
+ data: serializedData,
174
+ transformResponse: fromRes,
175
+ };
176
+ return metadata;
177
+ }
178
+ __connectByOAuth.fromReq = fromReq;
179
+ return __connectByOAuth;
180
+ }
181
+ /**
182
+ * Connects to an external calendar by directly providing the external calendar account credentials.
183
+ *
184
+ *
185
+ * Once a connection is successfully created, use [List Events](#list-events) to obtain an up-to-date list of events in the connected external calendars.
186
+ *
187
+ * This endpoint validates that the specified schedule is owned by the Wix user connecting the calendar,
188
+ * or that the caller has the Manage External Calendars or Manage Business Calendar permission scope.
189
+ *
190
+ * If the schedule's ownership changes, the connection to the external calendar is automatically disconnected.
191
+ *
192
+ * > **Note:**
193
+ * > Use [List Providers](#list-providers) to find out whether to connect to a particular provider using this endpoint or [Connect by OAuth](#connect-by-o-auth).
194
+ */
195
+ export function connectByCredentials(payload) {
196
+ const { toJSON: toReq, fromJSON: fromReq } = serializer(_connectByCredentialsRequest, {});
197
+ const { fromJSON: fromRes } = serializer(_connectByCredentialsResponse, {});
198
+ function __connectByCredentials({ host }) {
199
+ const serializedData = toReq(payload);
200
+ const metadata = {
201
+ method: 'POST',
202
+ url: resolveComWixBookingsExternalcalendarApiV2ExternalCalendarServiceUrl({
203
+ protoPath: '/v2/external-calendars/connections:connectByCredentials',
204
+ data: serializedData,
205
+ host,
206
+ }),
207
+ data: serializedData,
208
+ transformResponse: fromRes,
209
+ };
210
+ return metadata;
211
+ }
212
+ __connectByCredentials.fromReq = fromReq;
213
+ return __connectByCredentials;
214
+ }
215
+ /**
216
+ * Retrieves a list of calendars belonging to the connected external calendar account.
217
+ *
218
+ *
219
+ * > **Note:**
220
+ * > Before using this endpoint, establish a connection with an external calendar using [Connect By Credentials](#connect-by-credentials) or [Connect By OAuth](#connect-by-o-auth).
221
+ */
222
+ export function listCalendars(payload) {
223
+ const { toJSON: toReq, fromJSON: fromReq } = serializer(_listCalendarsRequest, {});
224
+ const { fromJSON: fromRes } = serializer(_listCalendarsResponse, {});
225
+ function __listCalendars({ host }) {
226
+ const serializedData = toReq(payload);
227
+ const metadata = {
228
+ method: 'GET',
229
+ url: resolveComWixBookingsExternalcalendarApiV2ExternalCalendarServiceUrl({
230
+ protoPath: '/v2/external-calendars/connections/{connectionId}/calendars',
231
+ data: serializedData,
232
+ host,
233
+ }),
234
+ params: toURLSearchParams(serializedData),
235
+ transformResponse: fromRes,
236
+ };
237
+ return metadata;
238
+ }
239
+ __listCalendars.fromReq = fromReq;
240
+ return __listCalendars;
241
+ }
242
+ /**
243
+ * Updates the specified external calendar connection's sync configuration.
244
+ *
245
+ *
246
+ * Use Update Sync Config to update a connection's `syncConfig` property.
247
+ * The `syncConfig` property contains settings for enabling, configuring, or disabling functionality, including:
248
+ *
249
+ * + Importing events from one or more specified calendars in the connected external calendar account. If this is enabled, use [List Events](#list-events) to retrieve a list of events from the external calendar.
250
+ * + Exporting events from the Wix site's calendar to an external calendar.
251
+ *
252
+ * To see an external calendar connection's existing sync configuration, use [Get Connection](#get-connection) or [List Connections](#list-connections) and see the `syncConfig` property.
253
+ *
254
+ * > **Note:**
255
+ * > Supported functionality depends on the provider. Use [List Providers](#list-providers) to see details about providers' supported features.
256
+ */
257
+ export function updateSyncConfig(payload) {
258
+ const { toJSON: toReq, fromJSON: fromReq } = serializer(_updateSyncConfigRequest, {});
259
+ const { fromJSON: fromRes } = serializer(_updateSyncConfigResponse, {});
260
+ function __updateSyncConfig({ host }) {
261
+ const serializedData = toReq(payload);
262
+ const metadata = {
263
+ method: 'PATCH',
264
+ url: resolveComWixBookingsExternalcalendarApiV2ExternalCalendarServiceUrl({
265
+ protoPath: '/v2/external-calendars/connections/{connectionId}/sync-config',
266
+ data: serializedData,
267
+ host,
268
+ }),
269
+ data: serializedData,
270
+ transformResponse: fromRes,
271
+ };
272
+ return metadata;
273
+ }
274
+ __updateSyncConfig.fromReq = fromReq;
275
+ return __updateSyncConfig;
276
+ }
277
+ /**
278
+ * Disconnects from an external calendar.
279
+ *
280
+ *
281
+ * When an external calendar is disconnected, the external calendar connection's `status` is changed to `DISCONNECTED`.
282
+ *
283
+ * After disconnecting, [List Events](#list-events) no longer returns events from the disconnected external calendar.
284
+ * Exported Wix calendar sessions are deleted from the external calendar.
285
+ */
286
+ export function disconnect(payload) {
287
+ const { toJSON: toReq, fromJSON: fromReq } = serializer(_disconnectRequest, {});
288
+ const { fromJSON: fromRes } = serializer(_disconnectResponse, {});
289
+ function __disconnect({ host }) {
290
+ const serializedData = toReq(payload);
291
+ const metadata = {
292
+ method: 'POST',
293
+ url: resolveComWixBookingsExternalcalendarApiV2ExternalCalendarServiceUrl({
294
+ protoPath: '/v2/external-calendars/connections/{connectionId}/disconnect',
295
+ data: serializedData,
296
+ host,
297
+ }),
298
+ data: serializedData,
299
+ transformResponse: fromRes,
300
+ };
301
+ return metadata;
302
+ }
303
+ __disconnect.fromReq = fromReq;
304
+ return __disconnect;
305
+ }
306
+ /**
307
+ * Retrieves a list of events from all connected external calendars, based on the provided filtering and paging.
308
+ *
309
+ *
310
+ * Use List Events to retrieve an aggregated list of events in the connected external calendars for a specified time range, sorted by start date.
311
+ *
312
+ * > **Note:**
313
+ * > Before using this endpoint, establish a connection with an external calendar using [Connect By Credentials](#connect-by-credentials) or [Connect By OAuth](#connect-by-o-auth).
314
+ */
315
+ export function listEvents(payload) {
316
+ const { toJSON: toReq, fromJSON: fromReq } = serializer(_listEventsRequest, {});
317
+ const { fromJSON: fromRes } = serializer(_listEventsResponse, {});
318
+ function __listEvents({ host }) {
319
+ const serializedData = toReq(payload);
320
+ const metadata = {
321
+ method: 'GET',
322
+ url: resolveComWixBookingsExternalcalendarApiV2ExternalCalendarServiceUrl({
323
+ protoPath: '/v2/external-calendars/events',
324
+ data: serializedData,
325
+ host,
326
+ }),
327
+ params: toURLSearchParams(serializedData),
328
+ transformResponse: fromRes,
329
+ };
330
+ return metadata;
331
+ }
332
+ __listEvents.fromReq = fromReq;
333
+ return __listEvents;
334
+ }
335
+ //# sourceMappingURL=bookings-calendar-v2-external-calendar.http.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bookings-calendar-v2-external-calendar.http.js","sourceRoot":"","sources":["../../../src/bookings-calendar-v2-external-calendar.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAwBhD,MAAM,4BAA4B,GAAG,EAAE,CAAC;AACxC,MAAM,6BAA6B,GAAG,EAAE,CAAC;AACzC,MAAM,sBAAsB,GAAG,EAAE,CA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