@connectedxm/admin-sdk 8.4.0 → 9.0.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.
@@ -4,11 +4,11 @@ All URIs are relative to *https://admin-api.connected.dev*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**addBookingSpaceTier**](#addbookingspacetier) | **POST** /bookings/places/{placeId}/spaces/{spaceId}/tiers/{tierId} | Add an account tier to a booking space|
8
- |[**cancelBooking**](#cancelbooking) | **PUT** /bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId}/cancel | Cancel a booking|
9
- |[**checkInBooking**](#checkinbooking) | **POST** /bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId}/checkin | Check in a booking|
10
- |[**createBooking**](#createbooking) | **POST** /bookings/places/{placeId}/spaces/{spaceId}/bookings | Create a booking for a space|
11
- |[**deleteBooking**](#deletebooking) | **DELETE** /bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId} | Delete a booking|
7
+ |[**addBookingSpaceTier**](#addbookingspacetier) | **POST** /bookings/spaces/{spaceId}/tiers/{tierId} | Add an account tier to a booking space|
8
+ |[**cancelBooking**](#cancelbooking) | **PUT** /bookings/spaces/{spaceId}/bookings/{bookingId}/cancel | Cancel a booking|
9
+ |[**checkInBooking**](#checkinbooking) | **POST** /bookings/spaces/{spaceId}/bookings/{bookingId}/checkin | Check in a booking|
10
+ |[**createBooking**](#createbooking) | **POST** /bookings/spaces/{spaceId}/bookings | Create a booking for a space|
11
+ |[**deleteBooking**](#deletebooking) | **DELETE** /bookings/spaces/{spaceId}/bookings/{bookingId} | Delete a booking|
12
12
  |[**getBooking**](#getbooking) | **GET** /bookings/{bookingId} | Get a booking|
13
13
  |[**getBookingPlace**](#getbookingplace) | **GET** /bookings/places/{placeId} | Get a booking place|
14
14
  |[**getBookingPlaceBookings**](#getbookingplacebookings) | **GET** /bookings/places/{placeId}/bookings | List a booking place\'s bookings|
@@ -17,21 +17,21 @@ All URIs are relative to *https://admin-api.connected.dev*
17
17
  |[**getBookingPlaceTranslations**](#getbookingplacetranslations) | **GET** /bookings/places/{placeId}/translations | List a booking place\'s translations|
18
18
  |[**getBookingPlaces**](#getbookingplaces) | **GET** /bookings/places | List booking places|
19
19
  |[**getBookingResponses**](#getbookingresponses) | **GET** /bookings/{bookingId}/responses | List a booking\'s question responses|
20
- |[**getBookingSpace**](#getbookingspace) | **GET** /bookings/places/{placeId}/spaces/{spaceId} | Get a booking space|
21
- |[**getBookingSpaceAvailabilities**](#getbookingspaceavailabilities) | **GET** /bookings/places/{placeId}/spaces/{spaceId}/availabilities | List a booking space\'s weekly availability rules|
22
- |[**getBookingSpaceAvailability**](#getbookingspaceavailability) | **GET** /bookings/places/{placeId}/spaces/{spaceId}/blackouts/{availabilityId} | Get a booking space blackout by id|
23
- |[**getBookingSpaceBlackout**](#getbookingspaceblackout) | **GET** /bookings/places/{placeId}/spaces/{spaceId}/blackouts/{blackoutId} | Get a booking space blackout|
24
- |[**getBookingSpaceBlackouts**](#getbookingspaceblackouts) | **GET** /bookings/places/{placeId}/spaces/{spaceId}/blackouts | List a booking space\'s blackouts|
25
- |[**getBookingSpaceBookings**](#getbookingspacebookings) | **GET** /bookings/places/{placeId}/spaces/{spaceId}/bookings | List a booking space\'s bookings|
26
- |[**getBookingSpacePayments**](#getbookingspacepayments) | **GET** /bookings/places/{placeId}/spaces/{spaceId}/payments | List a booking space\'s payments|
27
- |[**getBookingSpaceSlots**](#getbookingspaceslots) | **GET** /bookings/places/{placeId}/spaces/{spaceId}/slots | Get a booking space\'s available slots|
28
- |[**getBookingSpaceTiers**](#getbookingspacetiers) | **GET** /bookings/places/{placeId}/spaces/{spaceId}/tiers | List a booking space\'s assigned tiers|
29
- |[**getBookingSpaceTranslation**](#getbookingspacetranslation) | **GET** /bookings/places/{placeId}/spaces/{spaceId}/translations/{locale} | Get a booking space\'s translation for a locale|
30
- |[**getBookingSpaceTranslations**](#getbookingspacetranslations) | **GET** /bookings/places/{placeId}/spaces/{spaceId}/translations | List a booking space\'s translations|
31
- |[**getBookingSpaces**](#getbookingspaces) | **GET** /bookings/places/{placeId}/spaces | List a booking place\'s spaces|
32
- |[**removeBookingSpaceTier**](#removebookingspacetier) | **DELETE** /bookings/places/{placeId}/spaces/{spaceId}/tiers/{tierId} | Remove an account tier from a booking space|
33
- |[**undoCheckInBooking**](#undocheckinbooking) | **POST** /bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId}/checkin/undo | Undo a booking check-in|
34
- |[**updateBooking**](#updatebooking) | **PUT** /bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId} | Update a booking|
20
+ |[**getBookingSpace**](#getbookingspace) | **GET** /bookings/spaces/{spaceId} | Get a booking space|
21
+ |[**getBookingSpaceAvailabilities**](#getbookingspaceavailabilities) | **GET** /bookings/spaces/{spaceId}/availabilities | List a booking space\'s weekly availability rules|
22
+ |[**getBookingSpaceAvailability**](#getbookingspaceavailability) | **GET** /bookings/spaces/{spaceId}/availabilities/{availabilityId} | Get a booking space availability by id|
23
+ |[**getBookingSpaceBlackout**](#getbookingspaceblackout) | **GET** /bookings/spaces/{spaceId}/blackouts/{blackoutId} | Get a booking space blackout|
24
+ |[**getBookingSpaceBlackouts**](#getbookingspaceblackouts) | **GET** /bookings/spaces/{spaceId}/blackouts | List a booking space\'s blackouts|
25
+ |[**getBookingSpaceBookings**](#getbookingspacebookings) | **GET** /bookings/spaces/{spaceId}/bookings | List a booking space\'s bookings|
26
+ |[**getBookingSpacePayments**](#getbookingspacepayments) | **GET** /bookings/spaces/{spaceId}/payments | List a booking space\'s payments|
27
+ |[**getBookingSpaceSlots**](#getbookingspaceslots) | **GET** /bookings/spaces/{spaceId}/slots | Get a booking space\'s available slots|
28
+ |[**getBookingSpaceTiers**](#getbookingspacetiers) | **GET** /bookings/spaces/{spaceId}/tiers | List a booking space\'s assigned tiers|
29
+ |[**getBookingSpaceTranslation**](#getbookingspacetranslation) | **GET** /bookings/spaces/{spaceId}/translations/{locale} | Get a booking space\'s translation for a locale|
30
+ |[**getBookingSpaceTranslations**](#getbookingspacetranslations) | **GET** /bookings/spaces/{spaceId}/translations | List a booking space\'s translations|
31
+ |[**getBookingSpaces**](#getbookingspaces) | **GET** /bookings/spaces | List booking spaces|
32
+ |[**removeBookingSpaceTier**](#removebookingspacetier) | **DELETE** /bookings/spaces/{spaceId}/tiers/{tierId} | Remove an account tier from a booking space|
33
+ |[**undoCheckInBooking**](#undocheckinbooking) | **POST** /bookings/spaces/{spaceId}/bookings/{bookingId}/checkin/undo | Undo a booking check-in|
34
+ |[**updateBooking**](#updatebooking) | **PUT** /bookings/spaces/{spaceId}/bookings/{bookingId} | Update a booking|
35
35
 
36
36
  # **addBookingSpaceTier**
37
37
  > CreateBookingSpace200Response addBookingSpaceTier()
@@ -49,12 +49,10 @@ import {
49
49
  const configuration = new Configuration();
50
50
  const apiInstance = new BookingsApi(configuration);
51
51
 
52
- let placeId: string; //The place identifier (default to undefined)
53
52
  let spaceId: string; //The space identifier (default to undefined)
54
53
  let tierId: string; //The tier identifier (default to undefined)
55
54
 
56
55
  const { status, data } = await apiInstance.addBookingSpaceTier(
57
- placeId,
58
56
  spaceId,
59
57
  tierId
60
58
  );
@@ -64,7 +62,6 @@ const { status, data } = await apiInstance.addBookingSpaceTier(
64
62
 
65
63
  |Name | Type | Description | Notes|
66
64
  |------------- | ------------- | ------------- | -------------|
67
- | **placeId** | [**string**] | The place identifier | defaults to undefined|
68
65
  | **spaceId** | [**string**] | The space identifier | defaults to undefined|
69
66
  | **tierId** | [**string**] | The tier identifier | defaults to undefined|
70
67
 
@@ -106,12 +103,10 @@ import {
106
103
  const configuration = new Configuration();
107
104
  const apiInstance = new BookingsApi(configuration);
108
105
 
109
- let placeId: string; //The place identifier (default to undefined)
110
106
  let spaceId: string; //The space identifier (default to undefined)
111
107
  let bookingId: string; //The booking identifier (default to undefined)
112
108
 
113
109
  const { status, data } = await apiInstance.cancelBooking(
114
- placeId,
115
110
  spaceId,
116
111
  bookingId
117
112
  );
@@ -121,7 +116,6 @@ const { status, data } = await apiInstance.cancelBooking(
121
116
 
122
117
  |Name | Type | Description | Notes|
123
118
  |------------- | ------------- | ------------- | -------------|
124
- | **placeId** | [**string**] | The place identifier | defaults to undefined|
125
119
  | **spaceId** | [**string**] | The space identifier | defaults to undefined|
126
120
  | **bookingId** | [**string**] | The booking identifier | defaults to undefined|
127
121
 
@@ -163,12 +157,10 @@ import {
163
157
  const configuration = new Configuration();
164
158
  const apiInstance = new BookingsApi(configuration);
165
159
 
166
- let placeId: string; //The place identifier (default to undefined)
167
160
  let spaceId: string; //The space identifier (default to undefined)
168
161
  let bookingId: string; //The booking identifier (default to undefined)
169
162
 
170
163
  const { status, data } = await apiInstance.checkInBooking(
171
- placeId,
172
164
  spaceId,
173
165
  bookingId
174
166
  );
@@ -178,7 +170,6 @@ const { status, data } = await apiInstance.checkInBooking(
178
170
 
179
171
  |Name | Type | Description | Notes|
180
172
  |------------- | ------------- | ------------- | -------------|
181
- | **placeId** | [**string**] | The place identifier | defaults to undefined|
182
173
  | **spaceId** | [**string**] | The space identifier | defaults to undefined|
183
174
  | **bookingId** | [**string**] | The booking identifier | defaults to undefined|
184
175
 
@@ -221,12 +212,10 @@ import {
221
212
  const configuration = new Configuration();
222
213
  const apiInstance = new BookingsApi(configuration);
223
214
 
224
- let placeId: string; //The place identifier (default to undefined)
225
215
  let spaceId: string; //The space identifier (default to undefined)
226
216
  let bookingCreateInputs: BookingCreateInputs; //
227
217
 
228
218
  const { status, data } = await apiInstance.createBooking(
229
- placeId,
230
219
  spaceId,
231
220
  bookingCreateInputs
232
221
  );
@@ -237,7 +226,6 @@ const { status, data } = await apiInstance.createBooking(
237
226
  |Name | Type | Description | Notes|
238
227
  |------------- | ------------- | ------------- | -------------|
239
228
  | **bookingCreateInputs** | **BookingCreateInputs**| | |
240
- | **placeId** | [**string**] | The place identifier | defaults to undefined|
241
229
  | **spaceId** | [**string**] | The space identifier | defaults to undefined|
242
230
 
243
231
 
@@ -263,9 +251,9 @@ const { status, data } = await apiInstance.createBooking(
263
251
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
264
252
 
265
253
  # **deleteBooking**
266
- > CreateAccountInvitations200Response deleteBooking()
254
+ > CreateBooking200Response deleteBooking()
267
255
 
268
- Permanently deletes an existing booking from a booking space and requires the delete bookings permission.
256
+ Permanently deletes an existing booking from a booking space and requires the delete bookings permission. The API returns the deleted booking (used to invalidate place-scoped lists when place-owned).
269
257
 
270
258
  ### Example
271
259
 
@@ -278,12 +266,10 @@ import {
278
266
  const configuration = new Configuration();
279
267
  const apiInstance = new BookingsApi(configuration);
280
268
 
281
- let placeId: string; //The place identifier (default to undefined)
282
269
  let spaceId: string; //The space identifier (default to undefined)
283
270
  let bookingId: string; //The booking identifier (default to undefined)
284
271
 
285
272
  const { status, data } = await apiInstance.deleteBooking(
286
- placeId,
287
273
  spaceId,
288
274
  bookingId
289
275
  );
@@ -293,14 +279,13 @@ const { status, data } = await apiInstance.deleteBooking(
293
279
 
294
280
  |Name | Type | Description | Notes|
295
281
  |------------- | ------------- | ------------- | -------------|
296
- | **placeId** | [**string**] | The place identifier | defaults to undefined|
297
282
  | **spaceId** | [**string**] | The space identifier | defaults to undefined|
298
283
  | **bookingId** | [**string**] | The booking identifier | defaults to undefined|
299
284
 
300
285
 
301
286
  ### Return type
302
287
 
303
- **CreateAccountInvitations200Response**
288
+ **CreateBooking200Response**
304
289
 
305
290
  ### Authorization
306
291
 
@@ -784,7 +769,7 @@ const { status, data } = await apiInstance.getBookingResponses(
784
769
  # **getBookingSpace**
785
770
  > CreateBookingSpace200Response getBookingSpace()
786
771
 
787
- Returns a single bookable space within a booking place by its id or slug; requires the \"read\" permission on \"bookings\".
772
+ Returns a single bookable space by its id or slug; requires the \"read\" permission on \"bookings\".
788
773
 
789
774
  ### Example
790
775
 
@@ -797,11 +782,9 @@ import {
797
782
  const configuration = new Configuration();
798
783
  const apiInstance = new BookingsApi(configuration);
799
784
 
800
- let placeId: string; //The place identifier (default to undefined)
801
785
  let spaceId: string; //The space identifier (default to undefined)
802
786
 
803
787
  const { status, data } = await apiInstance.getBookingSpace(
804
- placeId,
805
788
  spaceId
806
789
  );
807
790
  ```
@@ -810,7 +793,6 @@ const { status, data } = await apiInstance.getBookingSpace(
810
793
 
811
794
  |Name | Type | Description | Notes|
812
795
  |------------- | ------------- | ------------- | -------------|
813
- | **placeId** | [**string**] | The place identifier | defaults to undefined|
814
796
  | **spaceId** | [**string**] | The space identifier | defaults to undefined|
815
797
 
816
798
 
@@ -851,11 +833,9 @@ import {
851
833
  const configuration = new Configuration();
852
834
  const apiInstance = new BookingsApi(configuration);
853
835
 
854
- let placeId: string; //The place identifier (default to undefined)
855
836
  let spaceId: string; //The space identifier (default to undefined)
856
837
 
857
838
  const { status, data } = await apiInstance.getBookingSpaceAvailabilities(
858
- placeId,
859
839
  spaceId
860
840
  );
861
841
  ```
@@ -864,7 +844,6 @@ const { status, data } = await apiInstance.getBookingSpaceAvailabilities(
864
844
 
865
845
  |Name | Type | Description | Notes|
866
846
  |------------- | ------------- | ------------- | -------------|
867
- | **placeId** | [**string**] | The place identifier | defaults to undefined|
868
847
  | **spaceId** | [**string**] | The space identifier | defaults to undefined|
869
848
 
870
849
 
@@ -892,7 +871,7 @@ const { status, data } = await apiInstance.getBookingSpaceAvailabilities(
892
871
  # **getBookingSpaceAvailability**
893
872
  > CreateBookingSpaceAvailability200Response getBookingSpaceAvailability()
894
873
 
895
- Returns a single blackout record for a booking space by id, identifying a date/time range the space is unavailable for booking; requires the \"read\" permission on \"bookings\".
874
+ Returns a single availability window for a booking space by id; requires the \"read\" permission on \"bookings\".
896
875
 
897
876
  ### Example
898
877
 
@@ -905,12 +884,10 @@ import {
905
884
  const configuration = new Configuration();
906
885
  const apiInstance = new BookingsApi(configuration);
907
886
 
908
- let placeId: string; //The place identifier (default to undefined)
909
887
  let spaceId: string; //The space identifier (default to undefined)
910
888
  let availabilityId: string; //The availability identifier (default to undefined)
911
889
 
912
890
  const { status, data } = await apiInstance.getBookingSpaceAvailability(
913
- placeId,
914
891
  spaceId,
915
892
  availabilityId
916
893
  );
@@ -920,7 +897,6 @@ const { status, data } = await apiInstance.getBookingSpaceAvailability(
920
897
 
921
898
  |Name | Type | Description | Notes|
922
899
  |------------- | ------------- | ------------- | -------------|
923
- | **placeId** | [**string**] | The place identifier | defaults to undefined|
924
900
  | **spaceId** | [**string**] | The space identifier | defaults to undefined|
925
901
  | **availabilityId** | [**string**] | The availability identifier | defaults to undefined|
926
902
 
@@ -962,12 +938,10 @@ import {
962
938
  const configuration = new Configuration();
963
939
  const apiInstance = new BookingsApi(configuration);
964
940
 
965
- let placeId: string; //The place identifier (default to undefined)
966
941
  let spaceId: string; //The space identifier (default to undefined)
967
942
  let blackoutId: string; //The blackout identifier (default to undefined)
968
943
 
969
944
  const { status, data } = await apiInstance.getBookingSpaceBlackout(
970
- placeId,
971
945
  spaceId,
972
946
  blackoutId
973
947
  );
@@ -977,7 +951,6 @@ const { status, data } = await apiInstance.getBookingSpaceBlackout(
977
951
 
978
952
  |Name | Type | Description | Notes|
979
953
  |------------- | ------------- | ------------- | -------------|
980
- | **placeId** | [**string**] | The place identifier | defaults to undefined|
981
954
  | **spaceId** | [**string**] | The space identifier | defaults to undefined|
982
955
  | **blackoutId** | [**string**] | The blackout identifier | defaults to undefined|
983
956
 
@@ -1019,7 +992,6 @@ import {
1019
992
  const configuration = new Configuration();
1020
993
  const apiInstance = new BookingsApi(configuration);
1021
994
 
1022
- let placeId: string; //The place identifier (default to undefined)
1023
995
  let spaceId: string; //The space identifier (default to undefined)
1024
996
  let past: boolean; //Filter by past (optional) (default to undefined)
1025
997
  let page: number; //Page number (optional) (default to 1)
@@ -1028,7 +1000,6 @@ let orderBy: string; //Field to order by (optional) (default to undefined)
1028
1000
  let search: string; //Search query (optional) (default to undefined)
1029
1001
 
1030
1002
  const { status, data } = await apiInstance.getBookingSpaceBlackouts(
1031
- placeId,
1032
1003
  spaceId,
1033
1004
  past,
1034
1005
  page,
@@ -1042,7 +1013,6 @@ const { status, data } = await apiInstance.getBookingSpaceBlackouts(
1042
1013
 
1043
1014
  |Name | Type | Description | Notes|
1044
1015
  |------------- | ------------- | ------------- | -------------|
1045
- | **placeId** | [**string**] | The place identifier | defaults to undefined|
1046
1016
  | **spaceId** | [**string**] | The space identifier | defaults to undefined|
1047
1017
  | **past** | [**boolean**] | Filter by past | (optional) defaults to undefined|
1048
1018
  | **page** | [**number**] | Page number | (optional) defaults to 1|
@@ -1088,7 +1058,6 @@ import {
1088
1058
  const configuration = new Configuration();
1089
1059
  const apiInstance = new BookingsApi(configuration);
1090
1060
 
1091
- let placeId: string; //The place identifier (default to undefined)
1092
1061
  let spaceId: string; //The space identifier (default to undefined)
1093
1062
  let past: boolean; //Filter by past (optional) (default to undefined)
1094
1063
  let status: PurchaseStatus; //Filter by status (optional) (default to undefined)
@@ -1098,7 +1067,6 @@ let orderBy: string; //Field to order by (optional) (default to undefined)
1098
1067
  let search: string; //Search query (optional) (default to undefined)
1099
1068
 
1100
1069
  const { status, data } = await apiInstance.getBookingSpaceBookings(
1101
- placeId,
1102
1070
  spaceId,
1103
1071
  past,
1104
1072
  status,
@@ -1113,7 +1081,6 @@ const { status, data } = await apiInstance.getBookingSpaceBookings(
1113
1081
 
1114
1082
  |Name | Type | Description | Notes|
1115
1083
  |------------- | ------------- | ------------- | -------------|
1116
- | **placeId** | [**string**] | The place identifier | defaults to undefined|
1117
1084
  | **spaceId** | [**string**] | The space identifier | defaults to undefined|
1118
1085
  | **past** | [**boolean**] | Filter by past | (optional) defaults to undefined|
1119
1086
  | **status** | **PurchaseStatus** | Filter by status | (optional) defaults to undefined|
@@ -1160,7 +1127,6 @@ import {
1160
1127
  const configuration = new Configuration();
1161
1128
  const apiInstance = new BookingsApi(configuration);
1162
1129
 
1163
- let placeId: string; //The place identifier (default to undefined)
1164
1130
  let spaceId: string; //The space identifier (default to undefined)
1165
1131
  let past: boolean; //Filter by past (optional) (default to undefined)
1166
1132
  let status: PurchaseStatus; //Filter by status (optional) (default to undefined)
@@ -1170,7 +1136,6 @@ let orderBy: string; //Field to order by (optional) (default to undefined)
1170
1136
  let search: string; //Search query (optional) (default to undefined)
1171
1137
 
1172
1138
  const { status, data } = await apiInstance.getBookingSpacePayments(
1173
- placeId,
1174
1139
  spaceId,
1175
1140
  past,
1176
1141
  status,
@@ -1185,7 +1150,6 @@ const { status, data } = await apiInstance.getBookingSpacePayments(
1185
1150
 
1186
1151
  |Name | Type | Description | Notes|
1187
1152
  |------------- | ------------- | ------------- | -------------|
1188
- | **placeId** | [**string**] | The place identifier | defaults to undefined|
1189
1153
  | **spaceId** | [**string**] | The space identifier | defaults to undefined|
1190
1154
  | **past** | [**boolean**] | Filter by past | (optional) defaults to undefined|
1191
1155
  | **status** | **PurchaseStatus** | Filter by status | (optional) defaults to undefined|
@@ -1219,7 +1183,7 @@ const { status, data } = await apiInstance.getBookingSpacePayments(
1219
1183
  # **getBookingSpaceSlots**
1220
1184
  > GetBookingSpaceSlots200Response getBookingSpaceSlots()
1221
1185
 
1222
- Returns the day-by-day list of bookable time slots for a booking space within the given place for the calendar month starting at firstDayOfMonth, requiring read permission on bookings.
1186
+ Returns the day-by-day list of bookable time slots for a booking space for the calendar month starting at firstDayOfMonth, requiring read permission on bookings.
1223
1187
 
1224
1188
  ### Example
1225
1189
 
@@ -1232,12 +1196,10 @@ import {
1232
1196
  const configuration = new Configuration();
1233
1197
  const apiInstance = new BookingsApi(configuration);
1234
1198
 
1235
- let placeId: string; //The place identifier (default to undefined)
1236
1199
  let spaceId: string; //The space identifier (default to undefined)
1237
1200
  let firstDayOfMonth: string; //Filter by firstDayOfMonth (default to undefined)
1238
1201
 
1239
1202
  const { status, data } = await apiInstance.getBookingSpaceSlots(
1240
- placeId,
1241
1203
  spaceId,
1242
1204
  firstDayOfMonth
1243
1205
  );
@@ -1247,7 +1209,6 @@ const { status, data } = await apiInstance.getBookingSpaceSlots(
1247
1209
 
1248
1210
  |Name | Type | Description | Notes|
1249
1211
  |------------- | ------------- | ------------- | -------------|
1250
- | **placeId** | [**string**] | The place identifier | defaults to undefined|
1251
1212
  | **spaceId** | [**string**] | The space identifier | defaults to undefined|
1252
1213
  | **firstDayOfMonth** | [**string**] | Filter by firstDayOfMonth | defaults to undefined|
1253
1214
 
@@ -1276,7 +1237,7 @@ const { status, data } = await apiInstance.getBookingSpaceSlots(
1276
1237
  # **getBookingSpaceTiers**
1277
1238
  > GetAccountTiers200Response getBookingSpaceTiers()
1278
1239
 
1279
- Returns a paginated, searchable list of membership tiers assigned to a booking space within the given place, requiring read permission on bookings and tiers.
1240
+ Returns a paginated, searchable list of membership tiers assigned to a booking space, requiring read permission on bookings and tiers.
1280
1241
 
1281
1242
  ### Example
1282
1243
 
@@ -1289,7 +1250,6 @@ import {
1289
1250
  const configuration = new Configuration();
1290
1251
  const apiInstance = new BookingsApi(configuration);
1291
1252
 
1292
- let placeId: string; //The place identifier (default to undefined)
1293
1253
  let spaceId: string; //The space identifier (default to undefined)
1294
1254
  let page: number; //Page number (optional) (default to 1)
1295
1255
  let pageSize: number; //Number of items per page (optional) (default to 25)
@@ -1297,7 +1257,6 @@ let orderBy: string; //Field to order by (optional) (default to undefined)
1297
1257
  let search: string; //Search query (optional) (default to undefined)
1298
1258
 
1299
1259
  const { status, data } = await apiInstance.getBookingSpaceTiers(
1300
- placeId,
1301
1260
  spaceId,
1302
1261
  page,
1303
1262
  pageSize,
@@ -1310,7 +1269,6 @@ const { status, data } = await apiInstance.getBookingSpaceTiers(
1310
1269
 
1311
1270
  |Name | Type | Description | Notes|
1312
1271
  |------------- | ------------- | ------------- | -------------|
1313
- | **placeId** | [**string**] | The place identifier | defaults to undefined|
1314
1272
  | **spaceId** | [**string**] | The space identifier | defaults to undefined|
1315
1273
  | **page** | [**number**] | Page number | (optional) defaults to 1|
1316
1274
  | **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
@@ -1355,12 +1313,10 @@ import {
1355
1313
  const configuration = new Configuration();
1356
1314
  const apiInstance = new BookingsApi(configuration);
1357
1315
 
1358
- let placeId: string; //The place identifier (default to undefined)
1359
1316
  let spaceId: string; //The space identifier (default to undefined)
1360
1317
  let locale: string; //The locale identifier (default to undefined)
1361
1318
 
1362
1319
  const { status, data } = await apiInstance.getBookingSpaceTranslation(
1363
- placeId,
1364
1320
  spaceId,
1365
1321
  locale
1366
1322
  );
@@ -1370,7 +1326,6 @@ const { status, data } = await apiInstance.getBookingSpaceTranslation(
1370
1326
 
1371
1327
  |Name | Type | Description | Notes|
1372
1328
  |------------- | ------------- | ------------- | -------------|
1373
- | **placeId** | [**string**] | The place identifier | defaults to undefined|
1374
1329
  | **spaceId** | [**string**] | The space identifier | defaults to undefined|
1375
1330
  | **locale** | [**string**] | The locale identifier | defaults to undefined|
1376
1331
 
@@ -1399,7 +1354,7 @@ const { status, data } = await apiInstance.getBookingSpaceTranslation(
1399
1354
  # **getBookingSpaceTranslations**
1400
1355
  > GetBookingSpaceTranslations200Response getBookingSpaceTranslations()
1401
1356
 
1402
- Returns a paginated, searchable list of locale translations for a booking space within the given place, requiring read permission on bookings.
1357
+ Returns a paginated, searchable list of locale translations for a booking space, requiring read permission on bookings.
1403
1358
 
1404
1359
  ### Example
1405
1360
 
@@ -1412,7 +1367,6 @@ import {
1412
1367
  const configuration = new Configuration();
1413
1368
  const apiInstance = new BookingsApi(configuration);
1414
1369
 
1415
- let placeId: string; //The place identifier (default to undefined)
1416
1370
  let spaceId: string; //The space identifier (default to undefined)
1417
1371
  let page: number; //Page number (optional) (default to 1)
1418
1372
  let pageSize: number; //Number of items per page (optional) (default to 25)
@@ -1420,7 +1374,6 @@ let orderBy: string; //Field to order by (optional) (default to undefined)
1420
1374
  let search: string; //Search query (optional) (default to undefined)
1421
1375
 
1422
1376
  const { status, data } = await apiInstance.getBookingSpaceTranslations(
1423
- placeId,
1424
1377
  spaceId,
1425
1378
  page,
1426
1379
  pageSize,
@@ -1433,7 +1386,6 @@ const { status, data } = await apiInstance.getBookingSpaceTranslations(
1433
1386
 
1434
1387
  |Name | Type | Description | Notes|
1435
1388
  |------------- | ------------- | ------------- | -------------|
1436
- | **placeId** | [**string**] | The place identifier | defaults to undefined|
1437
1389
  | **spaceId** | [**string**] | The space identifier | defaults to undefined|
1438
1390
  | **page** | [**number**] | Page number | (optional) defaults to 1|
1439
1391
  | **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
@@ -1465,7 +1417,7 @@ const { status, data } = await apiInstance.getBookingSpaceTranslations(
1465
1417
  # **getBookingSpaces**
1466
1418
  > GetBookingSpaces200Response getBookingSpaces()
1467
1419
 
1468
- Returns a paginated list of bookable spaces belonging to a booking place, supporting search and ordering; requires the \"read\" permission on \"bookings\".
1420
+ Returns a paginated list of bookable spaces for the organization (no parent filter — includes spaces with no parents), or spaces linked to any combination of place, event, group, and/or account ids; supports search and ordering; requires the \"read\" permission on \"bookings\".
1469
1421
 
1470
1422
  ### Example
1471
1423
 
@@ -1478,7 +1430,10 @@ import {
1478
1430
  const configuration = new Configuration();
1479
1431
  const apiInstance = new BookingsApi(configuration);
1480
1432
 
1481
- let placeId: string; //The place identifier (default to undefined)
1433
+ let placeId: string; //Filter by placeId (optional) (default to undefined)
1434
+ let eventId: string; //Filter by eventId (optional) (default to undefined)
1435
+ let groupId: string; //Filter by groupId (optional) (default to undefined)
1436
+ let accountId: string; //Filter by accountId (optional) (default to undefined)
1482
1437
  let page: number; //Page number (optional) (default to 1)
1483
1438
  let pageSize: number; //Number of items per page (optional) (default to 25)
1484
1439
  let orderBy: string; //Field to order by (optional) (default to undefined)
@@ -1486,6 +1441,9 @@ let search: string; //Search query (optional) (default to undefined)
1486
1441
 
1487
1442
  const { status, data } = await apiInstance.getBookingSpaces(
1488
1443
  placeId,
1444
+ eventId,
1445
+ groupId,
1446
+ accountId,
1489
1447
  page,
1490
1448
  pageSize,
1491
1449
  orderBy,
@@ -1497,7 +1455,10 @@ const { status, data } = await apiInstance.getBookingSpaces(
1497
1455
 
1498
1456
  |Name | Type | Description | Notes|
1499
1457
  |------------- | ------------- | ------------- | -------------|
1500
- | **placeId** | [**string**] | The place identifier | defaults to undefined|
1458
+ | **placeId** | [**string**] | Filter by placeId | (optional) defaults to undefined|
1459
+ | **eventId** | [**string**] | Filter by eventId | (optional) defaults to undefined|
1460
+ | **groupId** | [**string**] | Filter by groupId | (optional) defaults to undefined|
1461
+ | **accountId** | [**string**] | Filter by accountId | (optional) defaults to undefined|
1501
1462
  | **page** | [**number**] | Page number | (optional) defaults to 1|
1502
1463
  | **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
1503
1464
  | **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
@@ -1541,12 +1502,10 @@ import {
1541
1502
  const configuration = new Configuration();
1542
1503
  const apiInstance = new BookingsApi(configuration);
1543
1504
 
1544
- let placeId: string; //The place identifier (default to undefined)
1545
1505
  let spaceId: string; //The space identifier (default to undefined)
1546
1506
  let tierId: string; //The tier identifier (default to undefined)
1547
1507
 
1548
1508
  const { status, data } = await apiInstance.removeBookingSpaceTier(
1549
- placeId,
1550
1509
  spaceId,
1551
1510
  tierId
1552
1511
  );
@@ -1556,7 +1515,6 @@ const { status, data } = await apiInstance.removeBookingSpaceTier(
1556
1515
 
1557
1516
  |Name | Type | Description | Notes|
1558
1517
  |------------- | ------------- | ------------- | -------------|
1559
- | **placeId** | [**string**] | The place identifier | defaults to undefined|
1560
1518
  | **spaceId** | [**string**] | The space identifier | defaults to undefined|
1561
1519
  | **tierId** | [**string**] | The tier identifier | defaults to undefined|
1562
1520
 
@@ -1598,12 +1556,10 @@ import {
1598
1556
  const configuration = new Configuration();
1599
1557
  const apiInstance = new BookingsApi(configuration);
1600
1558
 
1601
- let placeId: string; //The place identifier (default to undefined)
1602
1559
  let spaceId: string; //The space identifier (default to undefined)
1603
1560
  let bookingId: string; //The booking identifier (default to undefined)
1604
1561
 
1605
1562
  const { status, data } = await apiInstance.undoCheckInBooking(
1606
- placeId,
1607
1563
  spaceId,
1608
1564
  bookingId
1609
1565
  );
@@ -1613,7 +1569,6 @@ const { status, data } = await apiInstance.undoCheckInBooking(
1613
1569
 
1614
1570
  |Name | Type | Description | Notes|
1615
1571
  |------------- | ------------- | ------------- | -------------|
1616
- | **placeId** | [**string**] | The place identifier | defaults to undefined|
1617
1572
  | **spaceId** | [**string**] | The space identifier | defaults to undefined|
1618
1573
  | **bookingId** | [**string**] | The booking identifier | defaults to undefined|
1619
1574
 
@@ -1642,7 +1597,7 @@ const { status, data } = await apiInstance.undoCheckInBooking(
1642
1597
  # **updateBooking**
1643
1598
  > CreateBooking200Response updateBooking(bookingUpdateInputs)
1644
1599
 
1645
- Updates an existing booking for a bookable space within a place, identified by placeId, spaceId, and bookingId, requiring update permission on bookings.
1600
+ Updates an existing booking for a bookable space, identified by spaceId and bookingId, requiring update permission on bookings.
1646
1601
 
1647
1602
  ### Example
1648
1603
 
@@ -1656,13 +1611,11 @@ import {
1656
1611
  const configuration = new Configuration();
1657
1612
  const apiInstance = new BookingsApi(configuration);
1658
1613
 
1659
- let placeId: string; //The place identifier (default to undefined)
1660
1614
  let spaceId: string; //The space identifier (default to undefined)
1661
1615
  let bookingId: string; //The booking identifier (default to undefined)
1662
1616
  let bookingUpdateInputs: BookingUpdateInputs; //
1663
1617
 
1664
1618
  const { status, data } = await apiInstance.updateBooking(
1665
- placeId,
1666
1619
  spaceId,
1667
1620
  bookingId,
1668
1621
  bookingUpdateInputs
@@ -1674,7 +1627,6 @@ const { status, data } = await apiInstance.updateBooking(
1674
1627
  |Name | Type | Description | Notes|
1675
1628
  |------------- | ------------- | ------------- | -------------|
1676
1629
  | **bookingUpdateInputs** | **BookingUpdateInputs**| | |
1677
- | **placeId** | [**string**] | The place identifier | defaults to undefined|
1678
1630
  | **spaceId** | [**string**] | The space identifier | defaults to undefined|
1679
1631
  | **bookingId** | [**string**] | The booking identifier | defaults to undefined|
1680
1632
 
@@ -4,9 +4,9 @@ All URIs are relative to *https://admin-api.connected.dev*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**createBookingSpaceAvailability**](#createbookingspaceavailability) | **POST** /bookings/places/{placeId}/spaces/{spaceId}/availabilities | Create a booking space availability|
8
- |[**deleteBookingSpaceAvailability**](#deletebookingspaceavailability) | **DELETE** /bookings/places/{placeId}/spaces/{spaceId}/availabilities/{availabilityId} | Delete a booking space availability|
9
- |[**updateBookingSpaceAvailability**](#updatebookingspaceavailability) | **PUT** /bookings/places/{placeId}/spaces/{spaceId}/availabilities/{availabilityId} | Update a booking space availability|
7
+ |[**createBookingSpaceAvailability**](#createbookingspaceavailability) | **POST** /bookings/spaces/{spaceId}/availabilities | Create a booking space availability|
8
+ |[**deleteBookingSpaceAvailability**](#deletebookingspaceavailability) | **DELETE** /bookings/spaces/{spaceId}/availabilities/{availabilityId} | Delete a booking space availability|
9
+ |[**updateBookingSpaceAvailability**](#updatebookingspaceavailability) | **PUT** /bookings/spaces/{spaceId}/availabilities/{availabilityId} | Update a booking space availability|
10
10
 
11
11
  # **createBookingSpaceAvailability**
12
12
  > CreateBookingSpaceAvailability200Response createBookingSpaceAvailability(bookingSpaceAvailabilityCreateInputs)
@@ -25,12 +25,10 @@ import {
25
25
  const configuration = new Configuration();
26
26
  const apiInstance = new BookingsAvailabilitiesApi(configuration);
27
27
 
28
- let placeId: string; //The place identifier (default to undefined)
29
28
  let spaceId: string; //The space identifier (default to undefined)
30
29
  let bookingSpaceAvailabilityCreateInputs: BookingSpaceAvailabilityCreateInputs; //
31
30
 
32
31
  const { status, data } = await apiInstance.createBookingSpaceAvailability(
33
- placeId,
34
32
  spaceId,
35
33
  bookingSpaceAvailabilityCreateInputs
36
34
  );
@@ -41,7 +39,6 @@ const { status, data } = await apiInstance.createBookingSpaceAvailability(
41
39
  |Name | Type | Description | Notes|
42
40
  |------------- | ------------- | ------------- | -------------|
43
41
  | **bookingSpaceAvailabilityCreateInputs** | **BookingSpaceAvailabilityCreateInputs**| | |
44
- | **placeId** | [**string**] | The place identifier | defaults to undefined|
45
42
  | **spaceId** | [**string**] | The space identifier | defaults to undefined|
46
43
 
47
44
 
@@ -82,12 +79,10 @@ import {
82
79
  const configuration = new Configuration();
83
80
  const apiInstance = new BookingsAvailabilitiesApi(configuration);
84
81
 
85
- let placeId: string; //The place identifier (default to undefined)
86
82
  let spaceId: string; //The space identifier (default to undefined)
87
83
  let availabilityId: string; //The availability identifier (default to undefined)
88
84
 
89
85
  const { status, data } = await apiInstance.deleteBookingSpaceAvailability(
90
- placeId,
91
86
  spaceId,
92
87
  availabilityId
93
88
  );
@@ -97,7 +92,6 @@ const { status, data } = await apiInstance.deleteBookingSpaceAvailability(
97
92
 
98
93
  |Name | Type | Description | Notes|
99
94
  |------------- | ------------- | ------------- | -------------|
100
- | **placeId** | [**string**] | The place identifier | defaults to undefined|
101
95
  | **spaceId** | [**string**] | The space identifier | defaults to undefined|
102
96
  | **availabilityId** | [**string**] | The availability identifier | defaults to undefined|
103
97
 
@@ -140,13 +134,11 @@ import {
140
134
  const configuration = new Configuration();
141
135
  const apiInstance = new BookingsAvailabilitiesApi(configuration);
142
136
 
143
- let placeId: string; //The place identifier (default to undefined)
144
137
  let spaceId: string; //The space identifier (default to undefined)
145
138
  let availabilityId: string; //The availability identifier (default to undefined)
146
139
  let bookingSpaceAvailabilityUpdateInputs: BookingSpaceAvailabilityUpdateInputs; //
147
140
 
148
141
  const { status, data } = await apiInstance.updateBookingSpaceAvailability(
149
- placeId,
150
142
  spaceId,
151
143
  availabilityId,
152
144
  bookingSpaceAvailabilityUpdateInputs
@@ -158,7 +150,6 @@ const { status, data } = await apiInstance.updateBookingSpaceAvailability(
158
150
  |Name | Type | Description | Notes|
159
151
  |------------- | ------------- | ------------- | -------------|
160
152
  | **bookingSpaceAvailabilityUpdateInputs** | **BookingSpaceAvailabilityUpdateInputs**| | |
161
- | **placeId** | [**string**] | The place identifier | defaults to undefined|
162
153
  | **spaceId** | [**string**] | The space identifier | defaults to undefined|
163
154
  | **availabilityId** | [**string**] | The availability identifier | defaults to undefined|
164
155