@connectedxm/admin-sdk 8.3.3 → 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.
- package/README.md +2 -2
- package/api.ts +491 -920
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +257 -490
- package/dist/api.js +399 -649
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +257 -490
- package/dist/esm/api.js +399 -649
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/docs/BaseBooking.md +0 -2
- package/docs/BaseBookingSpace.md +22 -0
- package/docs/Booking.md +0 -4
- package/docs/BookingSpace.md +22 -0
- package/docs/BookingSpaceCreateInputs.md +12 -0
- package/docs/BookingSpaceUpdateInputs.md +12 -0
- package/docs/BookingsApi.md +41 -89
- package/docs/BookingsAvailabilitiesApi.md +3 -12
- package/docs/BookingsBlackoutsApi.md +3 -12
- package/docs/BookingsQuestionsApi.md +8 -32
- package/docs/BookingsQuestionsChoicesApi.md +6 -24
- package/docs/BookingsQuestionsChoicesTranslationsApi.md +4 -16
- package/docs/BookingsQuestionsTranslationsApi.md +4 -16
- package/docs/BookingsResponsesApi.md +1 -4
- package/docs/BookingsSpacesApi.md +6 -15
- package/docs/BookingsSpacesTranslationsApi.md +2 -8
- package/docs/OrganizationModuleSettings.md +24 -0
- package/docs/OrganizationModuleSettingsTranslation.md +12 -0
- package/docs/OrganizationModuleSettingsTranslationUpdateInputs.md +12 -0
- package/docs/OrganizationModuleSettingsUpdateInputs.md +24 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 9.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -884,7 +884,6 @@ export interface BaseBenefit {
|
|
|
884
884
|
export interface BaseBooking {
|
|
885
885
|
'id': string;
|
|
886
886
|
'alternateId': string;
|
|
887
|
-
'placeId': string;
|
|
888
887
|
'day': string;
|
|
889
888
|
'time': string;
|
|
890
889
|
'duration': number;
|
|
@@ -937,6 +936,17 @@ export interface BaseBookingSpace {
|
|
|
937
936
|
'taxCode': string | null;
|
|
938
937
|
'taxIncluded': boolean;
|
|
939
938
|
'taxLocation': TaxLocationType;
|
|
939
|
+
'timezone': string;
|
|
940
|
+
'paymentIntegrationId': string | null;
|
|
941
|
+
'paymentIntegration': BasePaymentIntegration | null;
|
|
942
|
+
'placeId': string | null;
|
|
943
|
+
'eventId': string | null;
|
|
944
|
+
'groupId': string | null;
|
|
945
|
+
'accountId': string | null;
|
|
946
|
+
'place': BaseBookingPlace | null;
|
|
947
|
+
'event': BaseEvent | null;
|
|
948
|
+
'group': BaseGroup | null;
|
|
949
|
+
'account': BaseAccount | null;
|
|
940
950
|
}
|
|
941
951
|
export interface BaseBookingSpaceAvailability {
|
|
942
952
|
'id': string;
|
|
@@ -2565,7 +2575,6 @@ export interface BenefitUpdateInputs {
|
|
|
2565
2575
|
export interface Booking {
|
|
2566
2576
|
'id': string;
|
|
2567
2577
|
'alternateId': string;
|
|
2568
|
-
'placeId': string;
|
|
2569
2578
|
'day': string;
|
|
2570
2579
|
'time': string;
|
|
2571
2580
|
'duration': number;
|
|
@@ -2577,7 +2586,6 @@ export interface Booking {
|
|
|
2577
2586
|
'createdAt': string;
|
|
2578
2587
|
'updatedAt': string;
|
|
2579
2588
|
'responses'?: Array<BaseBookingQuestionResponse>;
|
|
2580
|
-
'place'?: BaseBookingPlace;
|
|
2581
2589
|
}
|
|
2582
2590
|
export interface BookingCreateInputs {
|
|
2583
2591
|
'accountId': string;
|
|
@@ -2689,6 +2697,17 @@ export interface BookingSpace {
|
|
|
2689
2697
|
'taxCode': string | null;
|
|
2690
2698
|
'taxIncluded': boolean;
|
|
2691
2699
|
'taxLocation': TaxLocationType;
|
|
2700
|
+
'timezone': string;
|
|
2701
|
+
'paymentIntegrationId': string | null;
|
|
2702
|
+
'paymentIntegration': BasePaymentIntegration | null;
|
|
2703
|
+
'placeId': string | null;
|
|
2704
|
+
'eventId': string | null;
|
|
2705
|
+
'groupId': string | null;
|
|
2706
|
+
'accountId': string | null;
|
|
2707
|
+
'place': BaseBookingPlace | null;
|
|
2708
|
+
'event': BaseEvent | null;
|
|
2709
|
+
'group': BaseGroup | null;
|
|
2710
|
+
'account': BaseAccount | null;
|
|
2692
2711
|
'confirmationBody': string | null;
|
|
2693
2712
|
'confirmationReplyTo': string | null;
|
|
2694
2713
|
'cancellationBody': string | null;
|
|
@@ -2760,6 +2779,12 @@ export interface BookingSpaceCreateInputs {
|
|
|
2760
2779
|
'taxLocation'?: TaxLocationType;
|
|
2761
2780
|
'meetingId'?: string | null;
|
|
2762
2781
|
'joinBeforeTime'?: number | null;
|
|
2782
|
+
'timezone'?: string;
|
|
2783
|
+
'paymentIntegrationId'?: string | null;
|
|
2784
|
+
'placeId'?: string | null;
|
|
2785
|
+
'eventId'?: string | null;
|
|
2786
|
+
'groupId'?: string | null;
|
|
2787
|
+
'accountId'?: string | null;
|
|
2763
2788
|
}
|
|
2764
2789
|
export interface BookingSpaceQuestion {
|
|
2765
2790
|
'id': string;
|
|
@@ -2942,6 +2967,12 @@ export interface BookingSpaceUpdateInputs {
|
|
|
2942
2967
|
'taxLocation'?: TaxLocationType;
|
|
2943
2968
|
'meetingId'?: string | null;
|
|
2944
2969
|
'joinBeforeTime'?: number | null;
|
|
2970
|
+
'timezone'?: string;
|
|
2971
|
+
'paymentIntegrationId'?: string | null;
|
|
2972
|
+
'placeId'?: string | null;
|
|
2973
|
+
'eventId'?: string | null;
|
|
2974
|
+
'groupId'?: string | null;
|
|
2975
|
+
'accountId'?: string | null;
|
|
2945
2976
|
}
|
|
2946
2977
|
export interface BookingUpdateInputs {
|
|
2947
2978
|
'status'?: PurchaseStatus;
|
|
@@ -10165,14 +10196,38 @@ export interface OrganizationModuleSettings {
|
|
|
10165
10196
|
'meetingLivestreamGuestPreset': string;
|
|
10166
10197
|
'supportAutoResolve': boolean;
|
|
10167
10198
|
'supportAutoResolveMessage'?: string;
|
|
10199
|
+
'eventConfirmationEmailReplyTo': string | null;
|
|
10200
|
+
'eventConfirmationEmailBody': string | null;
|
|
10201
|
+
'eventCancellationEmailReplyTo': string | null;
|
|
10202
|
+
'eventCancellationEmailBody': string | null;
|
|
10203
|
+
'eventReminderEmailReplyTo': string | null;
|
|
10204
|
+
'eventReminderEmailBody': string | null;
|
|
10205
|
+
'eventApprovalEmailReplyTo': string | null;
|
|
10206
|
+
'eventApprovalEmailBody': string | null;
|
|
10207
|
+
'eventDenialEmailReplyTo': string | null;
|
|
10208
|
+
'eventDenialEmailBody': string | null;
|
|
10209
|
+
'eventTransferEmailReplyTo': string | null;
|
|
10210
|
+
'eventTransferEmailBody': string | null;
|
|
10168
10211
|
}
|
|
10169
10212
|
export interface OrganizationModuleSettingsTranslation {
|
|
10170
10213
|
'organizationId': string;
|
|
10171
10214
|
'locale': string;
|
|
10172
10215
|
'supportAutoResolveMessage'?: string;
|
|
10216
|
+
'eventConfirmationEmailBody': string | null;
|
|
10217
|
+
'eventCancellationEmailBody': string | null;
|
|
10218
|
+
'eventReminderEmailBody': string | null;
|
|
10219
|
+
'eventApprovalEmailBody': string | null;
|
|
10220
|
+
'eventDenialEmailBody': string | null;
|
|
10221
|
+
'eventTransferEmailBody': string | null;
|
|
10173
10222
|
}
|
|
10174
10223
|
export interface OrganizationModuleSettingsTranslationUpdateInputs {
|
|
10175
10224
|
'supportAutoResolveMessage'?: string;
|
|
10225
|
+
'eventConfirmationEmailBody'?: string | null;
|
|
10226
|
+
'eventCancellationEmailBody'?: string | null;
|
|
10227
|
+
'eventReminderEmailBody'?: string | null;
|
|
10228
|
+
'eventApprovalEmailBody'?: string | null;
|
|
10229
|
+
'eventDenialEmailBody'?: string | null;
|
|
10230
|
+
'eventTransferEmailBody'?: string | null;
|
|
10176
10231
|
}
|
|
10177
10232
|
export interface OrganizationModuleSettingsUpdateInputs {
|
|
10178
10233
|
'meetingGroupCallAdminPreset'?: string;
|
|
@@ -10183,6 +10238,18 @@ export interface OrganizationModuleSettingsUpdateInputs {
|
|
|
10183
10238
|
'meetingLivestreamGuestPreset'?: string;
|
|
10184
10239
|
'supportAutoResolve'?: boolean;
|
|
10185
10240
|
'supportAutoResolveMessage'?: string;
|
|
10241
|
+
'eventConfirmationEmailReplyTo'?: string | null;
|
|
10242
|
+
'eventConfirmationEmailBody'?: string | null;
|
|
10243
|
+
'eventCancellationEmailReplyTo'?: string | null;
|
|
10244
|
+
'eventCancellationEmailBody'?: string | null;
|
|
10245
|
+
'eventReminderEmailReplyTo'?: string | null;
|
|
10246
|
+
'eventReminderEmailBody'?: string | null;
|
|
10247
|
+
'eventApprovalEmailReplyTo'?: string | null;
|
|
10248
|
+
'eventApprovalEmailBody'?: string | null;
|
|
10249
|
+
'eventDenialEmailReplyTo'?: string | null;
|
|
10250
|
+
'eventDenialEmailBody'?: string | null;
|
|
10251
|
+
'eventTransferEmailReplyTo'?: string | null;
|
|
10252
|
+
'eventTransferEmailBody'?: string | null;
|
|
10186
10253
|
}
|
|
10187
10254
|
export declare enum OrganizationModuleType {
|
|
10188
10255
|
Activities = "activities",
|
|
@@ -18262,53 +18329,48 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
18262
18329
|
/**
|
|
18263
18330
|
* Grants an account tier access to a booking space by adding it to the space\'s allowed tiers list, requiring the update bookings permission and read access to tiers.
|
|
18264
18331
|
* @summary Add an account tier to a booking space
|
|
18265
|
-
* @param {string} placeId The place identifier
|
|
18266
18332
|
* @param {string} spaceId The space identifier
|
|
18267
18333
|
* @param {string} tierId The tier identifier
|
|
18268
18334
|
* @param {*} [options] Override http request option.
|
|
18269
18335
|
* @throws {RequiredError}
|
|
18270
18336
|
*/
|
|
18271
|
-
addBookingSpaceTier: (
|
|
18337
|
+
addBookingSpaceTier: (spaceId: string, tierId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18272
18338
|
/**
|
|
18273
18339
|
* Cancels an existing booking for a space, setting its status to canceled and triggering the booking cancellation side effect; requires the update bookings permission and only succeeds if the booking is currently ready or needs info.
|
|
18274
18340
|
* @summary Cancel a booking
|
|
18275
|
-
* @param {string} placeId The place identifier
|
|
18276
18341
|
* @param {string} spaceId The space identifier
|
|
18277
18342
|
* @param {string} bookingId The booking identifier
|
|
18278
18343
|
* @param {*} [options] Override http request option.
|
|
18279
18344
|
* @throws {RequiredError}
|
|
18280
18345
|
*/
|
|
18281
|
-
cancelBooking: (
|
|
18346
|
+
cancelBooking: (spaceId: string, bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18282
18347
|
/**
|
|
18283
18348
|
* Marks an existing booking as checked in by setting its checked-in timestamp, requires the update bookings permission, and fails if the booking is not in a ready or needs-info status or is already checked in.
|
|
18284
18349
|
* @summary Check in a booking
|
|
18285
|
-
* @param {string} placeId The place identifier
|
|
18286
18350
|
* @param {string} spaceId The space identifier
|
|
18287
18351
|
* @param {string} bookingId The booking identifier
|
|
18288
18352
|
* @param {*} [options] Override http request option.
|
|
18289
18353
|
* @throws {RequiredError}
|
|
18290
18354
|
*/
|
|
18291
|
-
checkInBooking: (
|
|
18355
|
+
checkInBooking: (spaceId: string, bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18292
18356
|
/**
|
|
18293
18357
|
* Creates a new booking within the specified booking space on behalf of an account, using the provided booking details, and requires the create bookings permission.
|
|
18294
18358
|
* @summary Create a booking for a space
|
|
18295
|
-
* @param {string} placeId The place identifier
|
|
18296
18359
|
* @param {string} spaceId The space identifier
|
|
18297
18360
|
* @param {BookingCreateInputs} bookingCreateInputs
|
|
18298
18361
|
* @param {*} [options] Override http request option.
|
|
18299
18362
|
* @throws {RequiredError}
|
|
18300
18363
|
*/
|
|
18301
|
-
createBooking: (
|
|
18364
|
+
createBooking: (spaceId: string, bookingCreateInputs: BookingCreateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18302
18365
|
/**
|
|
18303
|
-
* Permanently deletes an existing booking from a booking space and requires the delete bookings permission.
|
|
18366
|
+
* 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).
|
|
18304
18367
|
* @summary Delete a booking
|
|
18305
|
-
* @param {string} placeId The place identifier
|
|
18306
18368
|
* @param {string} spaceId The space identifier
|
|
18307
18369
|
* @param {string} bookingId The booking identifier
|
|
18308
18370
|
* @param {*} [options] Override http request option.
|
|
18309
18371
|
* @throws {RequiredError}
|
|
18310
18372
|
*/
|
|
18311
|
-
deleteBooking: (
|
|
18373
|
+
deleteBooking: (spaceId: string, bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18312
18374
|
/**
|
|
18313
18375
|
* Retrieves the full details of a single booking by ID, including the place, space, and time slot it belongs to; requires the \"read\" permission on \"bookings\".
|
|
18314
18376
|
* @summary Get a booking
|
|
@@ -18392,47 +18454,42 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
18392
18454
|
*/
|
|
18393
18455
|
getBookingResponses: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18394
18456
|
/**
|
|
18395
|
-
* Returns a single bookable space
|
|
18457
|
+
* Returns a single bookable space by its id or slug; requires the \"read\" permission on \"bookings\".
|
|
18396
18458
|
* @summary Get a booking space
|
|
18397
|
-
* @param {string} placeId The place identifier
|
|
18398
18459
|
* @param {string} spaceId The space identifier
|
|
18399
18460
|
* @param {*} [options] Override http request option.
|
|
18400
18461
|
* @throws {RequiredError}
|
|
18401
18462
|
*/
|
|
18402
|
-
getBookingSpace: (
|
|
18463
|
+
getBookingSpace: (spaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18403
18464
|
/**
|
|
18404
18465
|
* Returns the recurring weekly availability windows configured for a booking space, i.e. the days and times the space can be booked; requires the \"read\" permission on \"bookings\".
|
|
18405
18466
|
* @summary List a booking space\'s weekly availability rules
|
|
18406
|
-
* @param {string} placeId The place identifier
|
|
18407
18467
|
* @param {string} spaceId The space identifier
|
|
18408
18468
|
* @param {*} [options] Override http request option.
|
|
18409
18469
|
* @throws {RequiredError}
|
|
18410
18470
|
*/
|
|
18411
|
-
getBookingSpaceAvailabilities: (
|
|
18471
|
+
getBookingSpaceAvailabilities: (spaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18412
18472
|
/**
|
|
18413
|
-
* Returns a single
|
|
18414
|
-
* @summary Get a booking space
|
|
18415
|
-
* @param {string} placeId The place identifier
|
|
18473
|
+
* Returns a single availability window for a booking space by id; requires the \"read\" permission on \"bookings\".
|
|
18474
|
+
* @summary Get a booking space availability by id
|
|
18416
18475
|
* @param {string} spaceId The space identifier
|
|
18417
18476
|
* @param {string} availabilityId The availability identifier
|
|
18418
18477
|
* @param {*} [options] Override http request option.
|
|
18419
18478
|
* @throws {RequiredError}
|
|
18420
18479
|
*/
|
|
18421
|
-
getBookingSpaceAvailability: (
|
|
18480
|
+
getBookingSpaceAvailability: (spaceId: string, availabilityId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18422
18481
|
/**
|
|
18423
18482
|
* Returns a single blackout record for a booking space by id, i.e. a date/time range during which the space cannot be booked; requires the \"read\" permission on \"bookings\".
|
|
18424
18483
|
* @summary Get a booking space blackout
|
|
18425
|
-
* @param {string} placeId The place identifier
|
|
18426
18484
|
* @param {string} spaceId The space identifier
|
|
18427
18485
|
* @param {string} blackoutId The blackout identifier
|
|
18428
18486
|
* @param {*} [options] Override http request option.
|
|
18429
18487
|
* @throws {RequiredError}
|
|
18430
18488
|
*/
|
|
18431
|
-
getBookingSpaceBlackout: (
|
|
18489
|
+
getBookingSpaceBlackout: (spaceId: string, blackoutId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18432
18490
|
/**
|
|
18433
18491
|
* Returns a paginated list of blackout date/time ranges during which a booking space cannot be booked, filterable by past/upcoming via the \"past\" parameter and by search text; requires the \"read\" permission on \"bookings\".
|
|
18434
18492
|
* @summary List a booking space\'s blackouts
|
|
18435
|
-
* @param {string} placeId The place identifier
|
|
18436
18493
|
* @param {string} spaceId The space identifier
|
|
18437
18494
|
* @param {boolean} [past] Filter by past
|
|
18438
18495
|
* @param {number} [page] Page number
|
|
@@ -18442,11 +18499,10 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
18442
18499
|
* @param {*} [options] Override http request option.
|
|
18443
18500
|
* @throws {RequiredError}
|
|
18444
18501
|
*/
|
|
18445
|
-
getBookingSpaceBlackouts: (
|
|
18502
|
+
getBookingSpaceBlackouts: (spaceId: string, past?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18446
18503
|
/**
|
|
18447
18504
|
* Returns a paginated list of bookings made for a booking space, filterable by past/upcoming, purchase status, and search text against the account\'s name or email; requires the \"read\" permission on \"bookings\".
|
|
18448
18505
|
* @summary List a booking space\'s bookings
|
|
18449
|
-
* @param {string} placeId The place identifier
|
|
18450
18506
|
* @param {string} spaceId The space identifier
|
|
18451
18507
|
* @param {boolean} [past] Filter by past
|
|
18452
18508
|
* @param {PurchaseStatus} [status] Filter by status
|
|
@@ -18457,11 +18513,10 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
18457
18513
|
* @param {*} [options] Override http request option.
|
|
18458
18514
|
* @throws {RequiredError}
|
|
18459
18515
|
*/
|
|
18460
|
-
getBookingSpaceBookings: (
|
|
18516
|
+
getBookingSpaceBookings: (spaceId: string, past?: boolean, status?: PurchaseStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18461
18517
|
/**
|
|
18462
18518
|
* Returns a paginated list of payments made for bookings in a booking space, filterable by search text against the paying account\'s name or email; requires the \"read\" permission on \"bookings\" and \"payments\".
|
|
18463
18519
|
* @summary List a booking space\'s payments
|
|
18464
|
-
* @param {string} placeId The place identifier
|
|
18465
18520
|
* @param {string} spaceId The space identifier
|
|
18466
18521
|
* @param {boolean} [past] Filter by past
|
|
18467
18522
|
* @param {PurchaseStatus} [status] Filter by status
|
|
@@ -18472,21 +18527,19 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
18472
18527
|
* @param {*} [options] Override http request option.
|
|
18473
18528
|
* @throws {RequiredError}
|
|
18474
18529
|
*/
|
|
18475
|
-
getBookingSpacePayments: (
|
|
18530
|
+
getBookingSpacePayments: (spaceId: string, past?: boolean, status?: PurchaseStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18476
18531
|
/**
|
|
18477
|
-
* Returns the day-by-day list of bookable time slots for a booking space
|
|
18532
|
+
* 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.
|
|
18478
18533
|
* @summary Get a booking space\'s available slots
|
|
18479
|
-
* @param {string} placeId The place identifier
|
|
18480
18534
|
* @param {string} spaceId The space identifier
|
|
18481
18535
|
* @param {string} firstDayOfMonth Filter by firstDayOfMonth
|
|
18482
18536
|
* @param {*} [options] Override http request option.
|
|
18483
18537
|
* @throws {RequiredError}
|
|
18484
18538
|
*/
|
|
18485
|
-
getBookingSpaceSlots: (
|
|
18539
|
+
getBookingSpaceSlots: (spaceId: string, firstDayOfMonth: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18486
18540
|
/**
|
|
18487
|
-
* Returns a paginated, searchable list of membership tiers assigned to a booking space
|
|
18541
|
+
* Returns a paginated, searchable list of membership tiers assigned to a booking space, requiring read permission on bookings and tiers.
|
|
18488
18542
|
* @summary List a booking space\'s assigned tiers
|
|
18489
|
-
* @param {string} placeId The place identifier
|
|
18490
18543
|
* @param {string} spaceId The space identifier
|
|
18491
18544
|
* @param {number} [page] Page number
|
|
18492
18545
|
* @param {number} [pageSize] Number of items per page
|
|
@@ -18495,21 +18548,19 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
18495
18548
|
* @param {*} [options] Override http request option.
|
|
18496
18549
|
* @throws {RequiredError}
|
|
18497
18550
|
*/
|
|
18498
|
-
getBookingSpaceTiers: (
|
|
18551
|
+
getBookingSpaceTiers: (spaceId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18499
18552
|
/**
|
|
18500
18553
|
* Returns the localized name/description translation of a booking space for the given locale, or null if no translation exists, requiring read permission on bookings.
|
|
18501
18554
|
* @summary Get a booking space\'s translation for a locale
|
|
18502
|
-
* @param {string} placeId The place identifier
|
|
18503
18555
|
* @param {string} spaceId The space identifier
|
|
18504
18556
|
* @param {string} locale The locale identifier
|
|
18505
18557
|
* @param {*} [options] Override http request option.
|
|
18506
18558
|
* @throws {RequiredError}
|
|
18507
18559
|
*/
|
|
18508
|
-
getBookingSpaceTranslation: (
|
|
18560
|
+
getBookingSpaceTranslation: (spaceId: string, locale: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18509
18561
|
/**
|
|
18510
|
-
* Returns a paginated, searchable list of locale translations for a booking space
|
|
18562
|
+
* Returns a paginated, searchable list of locale translations for a booking space, requiring read permission on bookings.
|
|
18511
18563
|
* @summary List a booking space\'s translations
|
|
18512
|
-
* @param {string} placeId The place identifier
|
|
18513
18564
|
* @param {string} spaceId The space identifier
|
|
18514
18565
|
* @param {number} [page] Page number
|
|
18515
18566
|
* @param {number} [pageSize] Number of items per page
|
|
@@ -18518,11 +18569,14 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
18518
18569
|
* @param {*} [options] Override http request option.
|
|
18519
18570
|
* @throws {RequiredError}
|
|
18520
18571
|
*/
|
|
18521
|
-
getBookingSpaceTranslations: (
|
|
18572
|
+
getBookingSpaceTranslations: (spaceId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18522
18573
|
/**
|
|
18523
|
-
* Returns a paginated list of bookable spaces
|
|
18524
|
-
* @summary List
|
|
18525
|
-
* @param {string} placeId
|
|
18574
|
+
* 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\".
|
|
18575
|
+
* @summary List booking spaces
|
|
18576
|
+
* @param {string} [placeId] Filter by placeId
|
|
18577
|
+
* @param {string} [eventId] Filter by eventId
|
|
18578
|
+
* @param {string} [groupId] Filter by groupId
|
|
18579
|
+
* @param {string} [accountId] Filter by accountId
|
|
18526
18580
|
* @param {number} [page] Page number
|
|
18527
18581
|
* @param {number} [pageSize] Number of items per page
|
|
18528
18582
|
* @param {string} [orderBy] Field to order by
|
|
@@ -18530,38 +18584,35 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
18530
18584
|
* @param {*} [options] Override http request option.
|
|
18531
18585
|
* @throws {RequiredError}
|
|
18532
18586
|
*/
|
|
18533
|
-
getBookingSpaces: (placeId
|
|
18587
|
+
getBookingSpaces: (placeId?: string, eventId?: string, groupId?: string, accountId?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18534
18588
|
/**
|
|
18535
18589
|
* Revokes an account tier\'s access to a booking space by disconnecting it from the space\'s allowed tiers list, requiring the update bookings permission and read access to tiers.
|
|
18536
18590
|
* @summary Remove an account tier from a booking space
|
|
18537
|
-
* @param {string} placeId The place identifier
|
|
18538
18591
|
* @param {string} spaceId The space identifier
|
|
18539
18592
|
* @param {string} tierId The tier identifier
|
|
18540
18593
|
* @param {*} [options] Override http request option.
|
|
18541
18594
|
* @throws {RequiredError}
|
|
18542
18595
|
*/
|
|
18543
|
-
removeBookingSpaceTier: (
|
|
18596
|
+
removeBookingSpaceTier: (spaceId: string, tierId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18544
18597
|
/**
|
|
18545
18598
|
* Reverts a previous check-in on a booking by clearing its checked-in timestamp and requires the update bookings permission.
|
|
18546
18599
|
* @summary Undo a booking check-in
|
|
18547
|
-
* @param {string} placeId The place identifier
|
|
18548
18600
|
* @param {string} spaceId The space identifier
|
|
18549
18601
|
* @param {string} bookingId The booking identifier
|
|
18550
18602
|
* @param {*} [options] Override http request option.
|
|
18551
18603
|
* @throws {RequiredError}
|
|
18552
18604
|
*/
|
|
18553
|
-
undoCheckInBooking: (
|
|
18605
|
+
undoCheckInBooking: (spaceId: string, bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18554
18606
|
/**
|
|
18555
|
-
* Updates an existing booking for a bookable space
|
|
18607
|
+
* Updates an existing booking for a bookable space, identified by spaceId and bookingId, requiring update permission on bookings.
|
|
18556
18608
|
* @summary Update a booking
|
|
18557
|
-
* @param {string} placeId The place identifier
|
|
18558
18609
|
* @param {string} spaceId The space identifier
|
|
18559
18610
|
* @param {string} bookingId The booking identifier
|
|
18560
18611
|
* @param {BookingUpdateInputs} bookingUpdateInputs
|
|
18561
18612
|
* @param {*} [options] Override http request option.
|
|
18562
18613
|
* @throws {RequiredError}
|
|
18563
18614
|
*/
|
|
18564
|
-
updateBooking: (
|
|
18615
|
+
updateBooking: (spaceId: string, bookingId: string, bookingUpdateInputs: BookingUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18565
18616
|
};
|
|
18566
18617
|
/**
|
|
18567
18618
|
* BookingsApi - functional programming interface
|
|
@@ -18570,53 +18621,48 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
18570
18621
|
/**
|
|
18571
18622
|
* Grants an account tier access to a booking space by adding it to the space\'s allowed tiers list, requiring the update bookings permission and read access to tiers.
|
|
18572
18623
|
* @summary Add an account tier to a booking space
|
|
18573
|
-
* @param {string} placeId The place identifier
|
|
18574
18624
|
* @param {string} spaceId The space identifier
|
|
18575
18625
|
* @param {string} tierId The tier identifier
|
|
18576
18626
|
* @param {*} [options] Override http request option.
|
|
18577
18627
|
* @throws {RequiredError}
|
|
18578
18628
|
*/
|
|
18579
|
-
addBookingSpaceTier(
|
|
18629
|
+
addBookingSpaceTier(spaceId: string, tierId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpace200Response>>;
|
|
18580
18630
|
/**
|
|
18581
18631
|
* Cancels an existing booking for a space, setting its status to canceled and triggering the booking cancellation side effect; requires the update bookings permission and only succeeds if the booking is currently ready or needs info.
|
|
18582
18632
|
* @summary Cancel a booking
|
|
18583
|
-
* @param {string} placeId The place identifier
|
|
18584
18633
|
* @param {string} spaceId The space identifier
|
|
18585
18634
|
* @param {string} bookingId The booking identifier
|
|
18586
18635
|
* @param {*} [options] Override http request option.
|
|
18587
18636
|
* @throws {RequiredError}
|
|
18588
18637
|
*/
|
|
18589
|
-
cancelBooking(
|
|
18638
|
+
cancelBooking(spaceId: string, bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBooking200Response>>;
|
|
18590
18639
|
/**
|
|
18591
18640
|
* Marks an existing booking as checked in by setting its checked-in timestamp, requires the update bookings permission, and fails if the booking is not in a ready or needs-info status or is already checked in.
|
|
18592
18641
|
* @summary Check in a booking
|
|
18593
|
-
* @param {string} placeId The place identifier
|
|
18594
18642
|
* @param {string} spaceId The space identifier
|
|
18595
18643
|
* @param {string} bookingId The booking identifier
|
|
18596
18644
|
* @param {*} [options] Override http request option.
|
|
18597
18645
|
* @throws {RequiredError}
|
|
18598
18646
|
*/
|
|
18599
|
-
checkInBooking(
|
|
18647
|
+
checkInBooking(spaceId: string, bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBooking200Response>>;
|
|
18600
18648
|
/**
|
|
18601
18649
|
* Creates a new booking within the specified booking space on behalf of an account, using the provided booking details, and requires the create bookings permission.
|
|
18602
18650
|
* @summary Create a booking for a space
|
|
18603
|
-
* @param {string} placeId The place identifier
|
|
18604
18651
|
* @param {string} spaceId The space identifier
|
|
18605
18652
|
* @param {BookingCreateInputs} bookingCreateInputs
|
|
18606
18653
|
* @param {*} [options] Override http request option.
|
|
18607
18654
|
* @throws {RequiredError}
|
|
18608
18655
|
*/
|
|
18609
|
-
createBooking(
|
|
18656
|
+
createBooking(spaceId: string, bookingCreateInputs: BookingCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBooking200Response>>;
|
|
18610
18657
|
/**
|
|
18611
|
-
* Permanently deletes an existing booking from a booking space and requires the delete bookings permission.
|
|
18658
|
+
* 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).
|
|
18612
18659
|
* @summary Delete a booking
|
|
18613
|
-
* @param {string} placeId The place identifier
|
|
18614
18660
|
* @param {string} spaceId The space identifier
|
|
18615
18661
|
* @param {string} bookingId The booking identifier
|
|
18616
18662
|
* @param {*} [options] Override http request option.
|
|
18617
18663
|
* @throws {RequiredError}
|
|
18618
18664
|
*/
|
|
18619
|
-
deleteBooking(
|
|
18665
|
+
deleteBooking(spaceId: string, bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBooking200Response>>;
|
|
18620
18666
|
/**
|
|
18621
18667
|
* Retrieves the full details of a single booking by ID, including the place, space, and time slot it belongs to; requires the \"read\" permission on \"bookings\".
|
|
18622
18668
|
* @summary Get a booking
|
|
@@ -18700,47 +18746,42 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
18700
18746
|
*/
|
|
18701
18747
|
getBookingResponses(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingResponses200Response>>;
|
|
18702
18748
|
/**
|
|
18703
|
-
* Returns a single bookable space
|
|
18749
|
+
* Returns a single bookable space by its id or slug; requires the \"read\" permission on \"bookings\".
|
|
18704
18750
|
* @summary Get a booking space
|
|
18705
|
-
* @param {string} placeId The place identifier
|
|
18706
18751
|
* @param {string} spaceId The space identifier
|
|
18707
18752
|
* @param {*} [options] Override http request option.
|
|
18708
18753
|
* @throws {RequiredError}
|
|
18709
18754
|
*/
|
|
18710
|
-
getBookingSpace(
|
|
18755
|
+
getBookingSpace(spaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpace200Response>>;
|
|
18711
18756
|
/**
|
|
18712
18757
|
* Returns the recurring weekly availability windows configured for a booking space, i.e. the days and times the space can be booked; requires the \"read\" permission on \"bookings\".
|
|
18713
18758
|
* @summary List a booking space\'s weekly availability rules
|
|
18714
|
-
* @param {string} placeId The place identifier
|
|
18715
18759
|
* @param {string} spaceId The space identifier
|
|
18716
18760
|
* @param {*} [options] Override http request option.
|
|
18717
18761
|
* @throws {RequiredError}
|
|
18718
18762
|
*/
|
|
18719
|
-
getBookingSpaceAvailabilities(
|
|
18763
|
+
getBookingSpaceAvailabilities(spaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceAvailabilities200Response>>;
|
|
18720
18764
|
/**
|
|
18721
|
-
* Returns a single
|
|
18722
|
-
* @summary Get a booking space
|
|
18723
|
-
* @param {string} placeId The place identifier
|
|
18765
|
+
* Returns a single availability window for a booking space by id; requires the \"read\" permission on \"bookings\".
|
|
18766
|
+
* @summary Get a booking space availability by id
|
|
18724
18767
|
* @param {string} spaceId The space identifier
|
|
18725
18768
|
* @param {string} availabilityId The availability identifier
|
|
18726
18769
|
* @param {*} [options] Override http request option.
|
|
18727
18770
|
* @throws {RequiredError}
|
|
18728
18771
|
*/
|
|
18729
|
-
getBookingSpaceAvailability(
|
|
18772
|
+
getBookingSpaceAvailability(spaceId: string, availabilityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceAvailability200Response>>;
|
|
18730
18773
|
/**
|
|
18731
18774
|
* Returns a single blackout record for a booking space by id, i.e. a date/time range during which the space cannot be booked; requires the \"read\" permission on \"bookings\".
|
|
18732
18775
|
* @summary Get a booking space blackout
|
|
18733
|
-
* @param {string} placeId The place identifier
|
|
18734
18776
|
* @param {string} spaceId The space identifier
|
|
18735
18777
|
* @param {string} blackoutId The blackout identifier
|
|
18736
18778
|
* @param {*} [options] Override http request option.
|
|
18737
18779
|
* @throws {RequiredError}
|
|
18738
18780
|
*/
|
|
18739
|
-
getBookingSpaceBlackout(
|
|
18781
|
+
getBookingSpaceBlackout(spaceId: string, blackoutId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceBlackout200Response>>;
|
|
18740
18782
|
/**
|
|
18741
18783
|
* Returns a paginated list of blackout date/time ranges during which a booking space cannot be booked, filterable by past/upcoming via the \"past\" parameter and by search text; requires the \"read\" permission on \"bookings\".
|
|
18742
18784
|
* @summary List a booking space\'s blackouts
|
|
18743
|
-
* @param {string} placeId The place identifier
|
|
18744
18785
|
* @param {string} spaceId The space identifier
|
|
18745
18786
|
* @param {boolean} [past] Filter by past
|
|
18746
18787
|
* @param {number} [page] Page number
|
|
@@ -18750,11 +18791,10 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
18750
18791
|
* @param {*} [options] Override http request option.
|
|
18751
18792
|
* @throws {RequiredError}
|
|
18752
18793
|
*/
|
|
18753
|
-
getBookingSpaceBlackouts(
|
|
18794
|
+
getBookingSpaceBlackouts(spaceId: string, past?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceBlackouts200Response>>;
|
|
18754
18795
|
/**
|
|
18755
18796
|
* Returns a paginated list of bookings made for a booking space, filterable by past/upcoming, purchase status, and search text against the account\'s name or email; requires the \"read\" permission on \"bookings\".
|
|
18756
18797
|
* @summary List a booking space\'s bookings
|
|
18757
|
-
* @param {string} placeId The place identifier
|
|
18758
18798
|
* @param {string} spaceId The space identifier
|
|
18759
18799
|
* @param {boolean} [past] Filter by past
|
|
18760
18800
|
* @param {PurchaseStatus} [status] Filter by status
|
|
@@ -18765,11 +18805,10 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
18765
18805
|
* @param {*} [options] Override http request option.
|
|
18766
18806
|
* @throws {RequiredError}
|
|
18767
18807
|
*/
|
|
18768
|
-
getBookingSpaceBookings(
|
|
18808
|
+
getBookingSpaceBookings(spaceId: string, past?: boolean, status?: PurchaseStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountBookings200Response>>;
|
|
18769
18809
|
/**
|
|
18770
18810
|
* Returns a paginated list of payments made for bookings in a booking space, filterable by search text against the paying account\'s name or email; requires the \"read\" permission on \"bookings\" and \"payments\".
|
|
18771
18811
|
* @summary List a booking space\'s payments
|
|
18772
|
-
* @param {string} placeId The place identifier
|
|
18773
18812
|
* @param {string} spaceId The space identifier
|
|
18774
18813
|
* @param {boolean} [past] Filter by past
|
|
18775
18814
|
* @param {PurchaseStatus} [status] Filter by status
|
|
@@ -18780,21 +18819,19 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
18780
18819
|
* @param {*} [options] Override http request option.
|
|
18781
18820
|
* @throws {RequiredError}
|
|
18782
18821
|
*/
|
|
18783
|
-
getBookingSpacePayments(
|
|
18822
|
+
getBookingSpacePayments(spaceId: string, past?: boolean, status?: PurchaseStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountPayments200Response>>;
|
|
18784
18823
|
/**
|
|
18785
|
-
* Returns the day-by-day list of bookable time slots for a booking space
|
|
18824
|
+
* 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.
|
|
18786
18825
|
* @summary Get a booking space\'s available slots
|
|
18787
|
-
* @param {string} placeId The place identifier
|
|
18788
18826
|
* @param {string} spaceId The space identifier
|
|
18789
18827
|
* @param {string} firstDayOfMonth Filter by firstDayOfMonth
|
|
18790
18828
|
* @param {*} [options] Override http request option.
|
|
18791
18829
|
* @throws {RequiredError}
|
|
18792
18830
|
*/
|
|
18793
|
-
getBookingSpaceSlots(
|
|
18831
|
+
getBookingSpaceSlots(spaceId: string, firstDayOfMonth: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceSlots200Response>>;
|
|
18794
18832
|
/**
|
|
18795
|
-
* Returns a paginated, searchable list of membership tiers assigned to a booking space
|
|
18833
|
+
* Returns a paginated, searchable list of membership tiers assigned to a booking space, requiring read permission on bookings and tiers.
|
|
18796
18834
|
* @summary List a booking space\'s assigned tiers
|
|
18797
|
-
* @param {string} placeId The place identifier
|
|
18798
18835
|
* @param {string} spaceId The space identifier
|
|
18799
18836
|
* @param {number} [page] Page number
|
|
18800
18837
|
* @param {number} [pageSize] Number of items per page
|
|
@@ -18803,21 +18840,19 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
18803
18840
|
* @param {*} [options] Override http request option.
|
|
18804
18841
|
* @throws {RequiredError}
|
|
18805
18842
|
*/
|
|
18806
|
-
getBookingSpaceTiers(
|
|
18843
|
+
getBookingSpaceTiers(spaceId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountTiers200Response>>;
|
|
18807
18844
|
/**
|
|
18808
18845
|
* Returns the localized name/description translation of a booking space for the given locale, or null if no translation exists, requiring read permission on bookings.
|
|
18809
18846
|
* @summary Get a booking space\'s translation for a locale
|
|
18810
|
-
* @param {string} placeId The place identifier
|
|
18811
18847
|
* @param {string} spaceId The space identifier
|
|
18812
18848
|
* @param {string} locale The locale identifier
|
|
18813
18849
|
* @param {*} [options] Override http request option.
|
|
18814
18850
|
* @throws {RequiredError}
|
|
18815
18851
|
*/
|
|
18816
|
-
getBookingSpaceTranslation(
|
|
18852
|
+
getBookingSpaceTranslation(spaceId: string, locale: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceTranslation200Response>>;
|
|
18817
18853
|
/**
|
|
18818
|
-
* Returns a paginated, searchable list of locale translations for a booking space
|
|
18854
|
+
* Returns a paginated, searchable list of locale translations for a booking space, requiring read permission on bookings.
|
|
18819
18855
|
* @summary List a booking space\'s translations
|
|
18820
|
-
* @param {string} placeId The place identifier
|
|
18821
18856
|
* @param {string} spaceId The space identifier
|
|
18822
18857
|
* @param {number} [page] Page number
|
|
18823
18858
|
* @param {number} [pageSize] Number of items per page
|
|
@@ -18826,11 +18861,14 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
18826
18861
|
* @param {*} [options] Override http request option.
|
|
18827
18862
|
* @throws {RequiredError}
|
|
18828
18863
|
*/
|
|
18829
|
-
getBookingSpaceTranslations(
|
|
18864
|
+
getBookingSpaceTranslations(spaceId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceTranslations200Response>>;
|
|
18830
18865
|
/**
|
|
18831
|
-
* Returns a paginated list of bookable spaces
|
|
18832
|
-
* @summary List
|
|
18833
|
-
* @param {string} placeId
|
|
18866
|
+
* 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\".
|
|
18867
|
+
* @summary List booking spaces
|
|
18868
|
+
* @param {string} [placeId] Filter by placeId
|
|
18869
|
+
* @param {string} [eventId] Filter by eventId
|
|
18870
|
+
* @param {string} [groupId] Filter by groupId
|
|
18871
|
+
* @param {string} [accountId] Filter by accountId
|
|
18834
18872
|
* @param {number} [page] Page number
|
|
18835
18873
|
* @param {number} [pageSize] Number of items per page
|
|
18836
18874
|
* @param {string} [orderBy] Field to order by
|
|
@@ -18838,38 +18876,35 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
18838
18876
|
* @param {*} [options] Override http request option.
|
|
18839
18877
|
* @throws {RequiredError}
|
|
18840
18878
|
*/
|
|
18841
|
-
getBookingSpaces(placeId
|
|
18879
|
+
getBookingSpaces(placeId?: string, eventId?: string, groupId?: string, accountId?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaces200Response>>;
|
|
18842
18880
|
/**
|
|
18843
18881
|
* Revokes an account tier\'s access to a booking space by disconnecting it from the space\'s allowed tiers list, requiring the update bookings permission and read access to tiers.
|
|
18844
18882
|
* @summary Remove an account tier from a booking space
|
|
18845
|
-
* @param {string} placeId The place identifier
|
|
18846
18883
|
* @param {string} spaceId The space identifier
|
|
18847
18884
|
* @param {string} tierId The tier identifier
|
|
18848
18885
|
* @param {*} [options] Override http request option.
|
|
18849
18886
|
* @throws {RequiredError}
|
|
18850
18887
|
*/
|
|
18851
|
-
removeBookingSpaceTier(
|
|
18888
|
+
removeBookingSpaceTier(spaceId: string, tierId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpace200Response>>;
|
|
18852
18889
|
/**
|
|
18853
18890
|
* Reverts a previous check-in on a booking by clearing its checked-in timestamp and requires the update bookings permission.
|
|
18854
18891
|
* @summary Undo a booking check-in
|
|
18855
|
-
* @param {string} placeId The place identifier
|
|
18856
18892
|
* @param {string} spaceId The space identifier
|
|
18857
18893
|
* @param {string} bookingId The booking identifier
|
|
18858
18894
|
* @param {*} [options] Override http request option.
|
|
18859
18895
|
* @throws {RequiredError}
|
|
18860
18896
|
*/
|
|
18861
|
-
undoCheckInBooking(
|
|
18897
|
+
undoCheckInBooking(spaceId: string, bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBooking200Response>>;
|
|
18862
18898
|
/**
|
|
18863
|
-
* Updates an existing booking for a bookable space
|
|
18899
|
+
* Updates an existing booking for a bookable space, identified by spaceId and bookingId, requiring update permission on bookings.
|
|
18864
18900
|
* @summary Update a booking
|
|
18865
|
-
* @param {string} placeId The place identifier
|
|
18866
18901
|
* @param {string} spaceId The space identifier
|
|
18867
18902
|
* @param {string} bookingId The booking identifier
|
|
18868
18903
|
* @param {BookingUpdateInputs} bookingUpdateInputs
|
|
18869
18904
|
* @param {*} [options] Override http request option.
|
|
18870
18905
|
* @throws {RequiredError}
|
|
18871
18906
|
*/
|
|
18872
|
-
updateBooking(
|
|
18907
|
+
updateBooking(spaceId: string, bookingId: string, bookingUpdateInputs: BookingUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBooking200Response>>;
|
|
18873
18908
|
};
|
|
18874
18909
|
/**
|
|
18875
18910
|
* BookingsApi - factory interface
|
|
@@ -18908,13 +18943,13 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
18908
18943
|
*/
|
|
18909
18944
|
createBooking(requestParameters: BookingsApiCreateBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBooking200Response>;
|
|
18910
18945
|
/**
|
|
18911
|
-
* Permanently deletes an existing booking from a booking space and requires the delete bookings permission.
|
|
18946
|
+
* 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).
|
|
18912
18947
|
* @summary Delete a booking
|
|
18913
18948
|
* @param {BookingsApiDeleteBookingRequest} requestParameters Request parameters.
|
|
18914
18949
|
* @param {*} [options] Override http request option.
|
|
18915
18950
|
* @throws {RequiredError}
|
|
18916
18951
|
*/
|
|
18917
|
-
deleteBooking(requestParameters: BookingsApiDeleteBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
18952
|
+
deleteBooking(requestParameters: BookingsApiDeleteBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBooking200Response>;
|
|
18918
18953
|
/**
|
|
18919
18954
|
* Retrieves the full details of a single booking by ID, including the place, space, and time slot it belongs to; requires the \"read\" permission on \"bookings\".
|
|
18920
18955
|
* @summary Get a booking
|
|
@@ -18980,7 +19015,7 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
18980
19015
|
*/
|
|
18981
19016
|
getBookingResponses(requestParameters: BookingsApiGetBookingResponsesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetBookingResponses200Response>;
|
|
18982
19017
|
/**
|
|
18983
|
-
* Returns a single bookable space
|
|
19018
|
+
* Returns a single bookable space by its id or slug; requires the \"read\" permission on \"bookings\".
|
|
18984
19019
|
* @summary Get a booking space
|
|
18985
19020
|
* @param {BookingsApiGetBookingSpaceRequest} requestParameters Request parameters.
|
|
18986
19021
|
* @param {*} [options] Override http request option.
|
|
@@ -18996,8 +19031,8 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
18996
19031
|
*/
|
|
18997
19032
|
getBookingSpaceAvailabilities(requestParameters: BookingsApiGetBookingSpaceAvailabilitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetBookingSpaceAvailabilities200Response>;
|
|
18998
19033
|
/**
|
|
18999
|
-
* Returns a single
|
|
19000
|
-
* @summary Get a booking space
|
|
19034
|
+
* Returns a single availability window for a booking space by id; requires the \"read\" permission on \"bookings\".
|
|
19035
|
+
* @summary Get a booking space availability by id
|
|
19001
19036
|
* @param {BookingsApiGetBookingSpaceAvailabilityRequest} requestParameters Request parameters.
|
|
19002
19037
|
* @param {*} [options] Override http request option.
|
|
19003
19038
|
* @throws {RequiredError}
|
|
@@ -19036,7 +19071,7 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
19036
19071
|
*/
|
|
19037
19072
|
getBookingSpacePayments(requestParameters: BookingsApiGetBookingSpacePaymentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountPayments200Response>;
|
|
19038
19073
|
/**
|
|
19039
|
-
* Returns the day-by-day list of bookable time slots for a booking space
|
|
19074
|
+
* 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.
|
|
19040
19075
|
* @summary Get a booking space\'s available slots
|
|
19041
19076
|
* @param {BookingsApiGetBookingSpaceSlotsRequest} requestParameters Request parameters.
|
|
19042
19077
|
* @param {*} [options] Override http request option.
|
|
@@ -19044,7 +19079,7 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
19044
19079
|
*/
|
|
19045
19080
|
getBookingSpaceSlots(requestParameters: BookingsApiGetBookingSpaceSlotsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetBookingSpaceSlots200Response>;
|
|
19046
19081
|
/**
|
|
19047
|
-
* Returns a paginated, searchable list of membership tiers assigned to a booking space
|
|
19082
|
+
* Returns a paginated, searchable list of membership tiers assigned to a booking space, requiring read permission on bookings and tiers.
|
|
19048
19083
|
* @summary List a booking space\'s assigned tiers
|
|
19049
19084
|
* @param {BookingsApiGetBookingSpaceTiersRequest} requestParameters Request parameters.
|
|
19050
19085
|
* @param {*} [options] Override http request option.
|
|
@@ -19060,7 +19095,7 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
19060
19095
|
*/
|
|
19061
19096
|
getBookingSpaceTranslation(requestParameters: BookingsApiGetBookingSpaceTranslationRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetBookingSpaceTranslation200Response>;
|
|
19062
19097
|
/**
|
|
19063
|
-
* Returns a paginated, searchable list of locale translations for a booking space
|
|
19098
|
+
* Returns a paginated, searchable list of locale translations for a booking space, requiring read permission on bookings.
|
|
19064
19099
|
* @summary List a booking space\'s translations
|
|
19065
19100
|
* @param {BookingsApiGetBookingSpaceTranslationsRequest} requestParameters Request parameters.
|
|
19066
19101
|
* @param {*} [options] Override http request option.
|
|
@@ -19068,13 +19103,13 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
19068
19103
|
*/
|
|
19069
19104
|
getBookingSpaceTranslations(requestParameters: BookingsApiGetBookingSpaceTranslationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetBookingSpaceTranslations200Response>;
|
|
19070
19105
|
/**
|
|
19071
|
-
* Returns a paginated list of bookable spaces
|
|
19072
|
-
* @summary List
|
|
19106
|
+
* 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\".
|
|
19107
|
+
* @summary List booking spaces
|
|
19073
19108
|
* @param {BookingsApiGetBookingSpacesRequest} requestParameters Request parameters.
|
|
19074
19109
|
* @param {*} [options] Override http request option.
|
|
19075
19110
|
* @throws {RequiredError}
|
|
19076
19111
|
*/
|
|
19077
|
-
getBookingSpaces(requestParameters
|
|
19112
|
+
getBookingSpaces(requestParameters?: BookingsApiGetBookingSpacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetBookingSpaces200Response>;
|
|
19078
19113
|
/**
|
|
19079
19114
|
* Revokes an account tier\'s access to a booking space by disconnecting it from the space\'s allowed tiers list, requiring the update bookings permission and read access to tiers.
|
|
19080
19115
|
* @summary Remove an account tier from a booking space
|
|
@@ -19092,7 +19127,7 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
19092
19127
|
*/
|
|
19093
19128
|
undoCheckInBooking(requestParameters: BookingsApiUndoCheckInBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBooking200Response>;
|
|
19094
19129
|
/**
|
|
19095
|
-
* Updates an existing booking for a bookable space
|
|
19130
|
+
* Updates an existing booking for a bookable space, identified by spaceId and bookingId, requiring update permission on bookings.
|
|
19096
19131
|
* @summary Update a booking
|
|
19097
19132
|
* @param {BookingsApiUpdateBookingRequest} requestParameters Request parameters.
|
|
19098
19133
|
* @param {*} [options] Override http request option.
|
|
@@ -19104,10 +19139,6 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
19104
19139
|
* Request parameters for addBookingSpaceTier operation in BookingsApi.
|
|
19105
19140
|
*/
|
|
19106
19141
|
export interface BookingsApiAddBookingSpaceTierRequest {
|
|
19107
|
-
/**
|
|
19108
|
-
* The place identifier
|
|
19109
|
-
*/
|
|
19110
|
-
readonly placeId: string;
|
|
19111
19142
|
/**
|
|
19112
19143
|
* The space identifier
|
|
19113
19144
|
*/
|
|
@@ -19121,10 +19152,6 @@ export interface BookingsApiAddBookingSpaceTierRequest {
|
|
|
19121
19152
|
* Request parameters for cancelBooking operation in BookingsApi.
|
|
19122
19153
|
*/
|
|
19123
19154
|
export interface BookingsApiCancelBookingRequest {
|
|
19124
|
-
/**
|
|
19125
|
-
* The place identifier
|
|
19126
|
-
*/
|
|
19127
|
-
readonly placeId: string;
|
|
19128
19155
|
/**
|
|
19129
19156
|
* The space identifier
|
|
19130
19157
|
*/
|
|
@@ -19138,10 +19165,6 @@ export interface BookingsApiCancelBookingRequest {
|
|
|
19138
19165
|
* Request parameters for checkInBooking operation in BookingsApi.
|
|
19139
19166
|
*/
|
|
19140
19167
|
export interface BookingsApiCheckInBookingRequest {
|
|
19141
|
-
/**
|
|
19142
|
-
* The place identifier
|
|
19143
|
-
*/
|
|
19144
|
-
readonly placeId: string;
|
|
19145
19168
|
/**
|
|
19146
19169
|
* The space identifier
|
|
19147
19170
|
*/
|
|
@@ -19155,10 +19178,6 @@ export interface BookingsApiCheckInBookingRequest {
|
|
|
19155
19178
|
* Request parameters for createBooking operation in BookingsApi.
|
|
19156
19179
|
*/
|
|
19157
19180
|
export interface BookingsApiCreateBookingRequest {
|
|
19158
|
-
/**
|
|
19159
|
-
* The place identifier
|
|
19160
|
-
*/
|
|
19161
|
-
readonly placeId: string;
|
|
19162
19181
|
/**
|
|
19163
19182
|
* The space identifier
|
|
19164
19183
|
*/
|
|
@@ -19169,10 +19188,6 @@ export interface BookingsApiCreateBookingRequest {
|
|
|
19169
19188
|
* Request parameters for deleteBooking operation in BookingsApi.
|
|
19170
19189
|
*/
|
|
19171
19190
|
export interface BookingsApiDeleteBookingRequest {
|
|
19172
|
-
/**
|
|
19173
|
-
* The place identifier
|
|
19174
|
-
*/
|
|
19175
|
-
readonly placeId: string;
|
|
19176
19191
|
/**
|
|
19177
19192
|
* The space identifier
|
|
19178
19193
|
*/
|
|
@@ -19330,10 +19345,6 @@ export interface BookingsApiGetBookingResponsesRequest {
|
|
|
19330
19345
|
* Request parameters for getBookingSpace operation in BookingsApi.
|
|
19331
19346
|
*/
|
|
19332
19347
|
export interface BookingsApiGetBookingSpaceRequest {
|
|
19333
|
-
/**
|
|
19334
|
-
* The place identifier
|
|
19335
|
-
*/
|
|
19336
|
-
readonly placeId: string;
|
|
19337
19348
|
/**
|
|
19338
19349
|
* The space identifier
|
|
19339
19350
|
*/
|
|
@@ -19343,10 +19354,6 @@ export interface BookingsApiGetBookingSpaceRequest {
|
|
|
19343
19354
|
* Request parameters for getBookingSpaceAvailabilities operation in BookingsApi.
|
|
19344
19355
|
*/
|
|
19345
19356
|
export interface BookingsApiGetBookingSpaceAvailabilitiesRequest {
|
|
19346
|
-
/**
|
|
19347
|
-
* The place identifier
|
|
19348
|
-
*/
|
|
19349
|
-
readonly placeId: string;
|
|
19350
19357
|
/**
|
|
19351
19358
|
* The space identifier
|
|
19352
19359
|
*/
|
|
@@ -19356,10 +19363,6 @@ export interface BookingsApiGetBookingSpaceAvailabilitiesRequest {
|
|
|
19356
19363
|
* Request parameters for getBookingSpaceAvailability operation in BookingsApi.
|
|
19357
19364
|
*/
|
|
19358
19365
|
export interface BookingsApiGetBookingSpaceAvailabilityRequest {
|
|
19359
|
-
/**
|
|
19360
|
-
* The place identifier
|
|
19361
|
-
*/
|
|
19362
|
-
readonly placeId: string;
|
|
19363
19366
|
/**
|
|
19364
19367
|
* The space identifier
|
|
19365
19368
|
*/
|
|
@@ -19373,10 +19376,6 @@ export interface BookingsApiGetBookingSpaceAvailabilityRequest {
|
|
|
19373
19376
|
* Request parameters for getBookingSpaceBlackout operation in BookingsApi.
|
|
19374
19377
|
*/
|
|
19375
19378
|
export interface BookingsApiGetBookingSpaceBlackoutRequest {
|
|
19376
|
-
/**
|
|
19377
|
-
* The place identifier
|
|
19378
|
-
*/
|
|
19379
|
-
readonly placeId: string;
|
|
19380
19379
|
/**
|
|
19381
19380
|
* The space identifier
|
|
19382
19381
|
*/
|
|
@@ -19390,10 +19389,6 @@ export interface BookingsApiGetBookingSpaceBlackoutRequest {
|
|
|
19390
19389
|
* Request parameters for getBookingSpaceBlackouts operation in BookingsApi.
|
|
19391
19390
|
*/
|
|
19392
19391
|
export interface BookingsApiGetBookingSpaceBlackoutsRequest {
|
|
19393
|
-
/**
|
|
19394
|
-
* The place identifier
|
|
19395
|
-
*/
|
|
19396
|
-
readonly placeId: string;
|
|
19397
19392
|
/**
|
|
19398
19393
|
* The space identifier
|
|
19399
19394
|
*/
|
|
@@ -19423,10 +19418,6 @@ export interface BookingsApiGetBookingSpaceBlackoutsRequest {
|
|
|
19423
19418
|
* Request parameters for getBookingSpaceBookings operation in BookingsApi.
|
|
19424
19419
|
*/
|
|
19425
19420
|
export interface BookingsApiGetBookingSpaceBookingsRequest {
|
|
19426
|
-
/**
|
|
19427
|
-
* The place identifier
|
|
19428
|
-
*/
|
|
19429
|
-
readonly placeId: string;
|
|
19430
19421
|
/**
|
|
19431
19422
|
* The space identifier
|
|
19432
19423
|
*/
|
|
@@ -19460,10 +19451,6 @@ export interface BookingsApiGetBookingSpaceBookingsRequest {
|
|
|
19460
19451
|
* Request parameters for getBookingSpacePayments operation in BookingsApi.
|
|
19461
19452
|
*/
|
|
19462
19453
|
export interface BookingsApiGetBookingSpacePaymentsRequest {
|
|
19463
|
-
/**
|
|
19464
|
-
* The place identifier
|
|
19465
|
-
*/
|
|
19466
|
-
readonly placeId: string;
|
|
19467
19454
|
/**
|
|
19468
19455
|
* The space identifier
|
|
19469
19456
|
*/
|
|
@@ -19497,10 +19484,6 @@ export interface BookingsApiGetBookingSpacePaymentsRequest {
|
|
|
19497
19484
|
* Request parameters for getBookingSpaceSlots operation in BookingsApi.
|
|
19498
19485
|
*/
|
|
19499
19486
|
export interface BookingsApiGetBookingSpaceSlotsRequest {
|
|
19500
|
-
/**
|
|
19501
|
-
* The place identifier
|
|
19502
|
-
*/
|
|
19503
|
-
readonly placeId: string;
|
|
19504
19487
|
/**
|
|
19505
19488
|
* The space identifier
|
|
19506
19489
|
*/
|
|
@@ -19514,10 +19497,6 @@ export interface BookingsApiGetBookingSpaceSlotsRequest {
|
|
|
19514
19497
|
* Request parameters for getBookingSpaceTiers operation in BookingsApi.
|
|
19515
19498
|
*/
|
|
19516
19499
|
export interface BookingsApiGetBookingSpaceTiersRequest {
|
|
19517
|
-
/**
|
|
19518
|
-
* The place identifier
|
|
19519
|
-
*/
|
|
19520
|
-
readonly placeId: string;
|
|
19521
19500
|
/**
|
|
19522
19501
|
* The space identifier
|
|
19523
19502
|
*/
|
|
@@ -19543,10 +19522,6 @@ export interface BookingsApiGetBookingSpaceTiersRequest {
|
|
|
19543
19522
|
* Request parameters for getBookingSpaceTranslation operation in BookingsApi.
|
|
19544
19523
|
*/
|
|
19545
19524
|
export interface BookingsApiGetBookingSpaceTranslationRequest {
|
|
19546
|
-
/**
|
|
19547
|
-
* The place identifier
|
|
19548
|
-
*/
|
|
19549
|
-
readonly placeId: string;
|
|
19550
19525
|
/**
|
|
19551
19526
|
* The space identifier
|
|
19552
19527
|
*/
|
|
@@ -19560,10 +19535,6 @@ export interface BookingsApiGetBookingSpaceTranslationRequest {
|
|
|
19560
19535
|
* Request parameters for getBookingSpaceTranslations operation in BookingsApi.
|
|
19561
19536
|
*/
|
|
19562
19537
|
export interface BookingsApiGetBookingSpaceTranslationsRequest {
|
|
19563
|
-
/**
|
|
19564
|
-
* The place identifier
|
|
19565
|
-
*/
|
|
19566
|
-
readonly placeId: string;
|
|
19567
19538
|
/**
|
|
19568
19539
|
* The space identifier
|
|
19569
19540
|
*/
|
|
@@ -19590,9 +19561,21 @@ export interface BookingsApiGetBookingSpaceTranslationsRequest {
|
|
|
19590
19561
|
*/
|
|
19591
19562
|
export interface BookingsApiGetBookingSpacesRequest {
|
|
19592
19563
|
/**
|
|
19593
|
-
*
|
|
19564
|
+
* Filter by placeId
|
|
19594
19565
|
*/
|
|
19595
|
-
readonly placeId
|
|
19566
|
+
readonly placeId?: string;
|
|
19567
|
+
/**
|
|
19568
|
+
* Filter by eventId
|
|
19569
|
+
*/
|
|
19570
|
+
readonly eventId?: string;
|
|
19571
|
+
/**
|
|
19572
|
+
* Filter by groupId
|
|
19573
|
+
*/
|
|
19574
|
+
readonly groupId?: string;
|
|
19575
|
+
/**
|
|
19576
|
+
* Filter by accountId
|
|
19577
|
+
*/
|
|
19578
|
+
readonly accountId?: string;
|
|
19596
19579
|
/**
|
|
19597
19580
|
* Page number
|
|
19598
19581
|
*/
|
|
@@ -19614,10 +19597,6 @@ export interface BookingsApiGetBookingSpacesRequest {
|
|
|
19614
19597
|
* Request parameters for removeBookingSpaceTier operation in BookingsApi.
|
|
19615
19598
|
*/
|
|
19616
19599
|
export interface BookingsApiRemoveBookingSpaceTierRequest {
|
|
19617
|
-
/**
|
|
19618
|
-
* The place identifier
|
|
19619
|
-
*/
|
|
19620
|
-
readonly placeId: string;
|
|
19621
19600
|
/**
|
|
19622
19601
|
* The space identifier
|
|
19623
19602
|
*/
|
|
@@ -19631,10 +19610,6 @@ export interface BookingsApiRemoveBookingSpaceTierRequest {
|
|
|
19631
19610
|
* Request parameters for undoCheckInBooking operation in BookingsApi.
|
|
19632
19611
|
*/
|
|
19633
19612
|
export interface BookingsApiUndoCheckInBookingRequest {
|
|
19634
|
-
/**
|
|
19635
|
-
* The place identifier
|
|
19636
|
-
*/
|
|
19637
|
-
readonly placeId: string;
|
|
19638
19613
|
/**
|
|
19639
19614
|
* The space identifier
|
|
19640
19615
|
*/
|
|
@@ -19648,10 +19623,6 @@ export interface BookingsApiUndoCheckInBookingRequest {
|
|
|
19648
19623
|
* Request parameters for updateBooking operation in BookingsApi.
|
|
19649
19624
|
*/
|
|
19650
19625
|
export interface BookingsApiUpdateBookingRequest {
|
|
19651
|
-
/**
|
|
19652
|
-
* The place identifier
|
|
19653
|
-
*/
|
|
19654
|
-
readonly placeId: string;
|
|
19655
19626
|
/**
|
|
19656
19627
|
* The space identifier
|
|
19657
19628
|
*/
|
|
@@ -19699,13 +19670,13 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
19699
19670
|
*/
|
|
19700
19671
|
createBooking(requestParameters: BookingsApiCreateBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBooking200Response, any, {}>>;
|
|
19701
19672
|
/**
|
|
19702
|
-
* Permanently deletes an existing booking from a booking space and requires the delete bookings permission.
|
|
19673
|
+
* 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).
|
|
19703
19674
|
* @summary Delete a booking
|
|
19704
19675
|
* @param {BookingsApiDeleteBookingRequest} requestParameters Request parameters.
|
|
19705
19676
|
* @param {*} [options] Override http request option.
|
|
19706
19677
|
* @throws {RequiredError}
|
|
19707
19678
|
*/
|
|
19708
|
-
deleteBooking(requestParameters: BookingsApiDeleteBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
19679
|
+
deleteBooking(requestParameters: BookingsApiDeleteBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBooking200Response, any, {}>>;
|
|
19709
19680
|
/**
|
|
19710
19681
|
* Retrieves the full details of a single booking by ID, including the place, space, and time slot it belongs to; requires the \"read\" permission on \"bookings\".
|
|
19711
19682
|
* @summary Get a booking
|
|
@@ -19771,7 +19742,7 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
19771
19742
|
*/
|
|
19772
19743
|
getBookingResponses(requestParameters: BookingsApiGetBookingResponsesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingResponses200Response, any, {}>>;
|
|
19773
19744
|
/**
|
|
19774
|
-
* Returns a single bookable space
|
|
19745
|
+
* Returns a single bookable space by its id or slug; requires the \"read\" permission on \"bookings\".
|
|
19775
19746
|
* @summary Get a booking space
|
|
19776
19747
|
* @param {BookingsApiGetBookingSpaceRequest} requestParameters Request parameters.
|
|
19777
19748
|
* @param {*} [options] Override http request option.
|
|
@@ -19787,8 +19758,8 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
19787
19758
|
*/
|
|
19788
19759
|
getBookingSpaceAvailabilities(requestParameters: BookingsApiGetBookingSpaceAvailabilitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingSpaceAvailabilities200Response, any, {}>>;
|
|
19789
19760
|
/**
|
|
19790
|
-
* Returns a single
|
|
19791
|
-
* @summary Get a booking space
|
|
19761
|
+
* Returns a single availability window for a booking space by id; requires the \"read\" permission on \"bookings\".
|
|
19762
|
+
* @summary Get a booking space availability by id
|
|
19792
19763
|
* @param {BookingsApiGetBookingSpaceAvailabilityRequest} requestParameters Request parameters.
|
|
19793
19764
|
* @param {*} [options] Override http request option.
|
|
19794
19765
|
* @throws {RequiredError}
|
|
@@ -19827,7 +19798,7 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
19827
19798
|
*/
|
|
19828
19799
|
getBookingSpacePayments(requestParameters: BookingsApiGetBookingSpacePaymentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountPayments200Response, any, {}>>;
|
|
19829
19800
|
/**
|
|
19830
|
-
* Returns the day-by-day list of bookable time slots for a booking space
|
|
19801
|
+
* 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.
|
|
19831
19802
|
* @summary Get a booking space\'s available slots
|
|
19832
19803
|
* @param {BookingsApiGetBookingSpaceSlotsRequest} requestParameters Request parameters.
|
|
19833
19804
|
* @param {*} [options] Override http request option.
|
|
@@ -19835,7 +19806,7 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
19835
19806
|
*/
|
|
19836
19807
|
getBookingSpaceSlots(requestParameters: BookingsApiGetBookingSpaceSlotsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingSpaceSlots200Response, any, {}>>;
|
|
19837
19808
|
/**
|
|
19838
|
-
* Returns a paginated, searchable list of membership tiers assigned to a booking space
|
|
19809
|
+
* Returns a paginated, searchable list of membership tiers assigned to a booking space, requiring read permission on bookings and tiers.
|
|
19839
19810
|
* @summary List a booking space\'s assigned tiers
|
|
19840
19811
|
* @param {BookingsApiGetBookingSpaceTiersRequest} requestParameters Request parameters.
|
|
19841
19812
|
* @param {*} [options] Override http request option.
|
|
@@ -19851,7 +19822,7 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
19851
19822
|
*/
|
|
19852
19823
|
getBookingSpaceTranslation(requestParameters: BookingsApiGetBookingSpaceTranslationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingSpaceTranslation200Response, any, {}>>;
|
|
19853
19824
|
/**
|
|
19854
|
-
* Returns a paginated, searchable list of locale translations for a booking space
|
|
19825
|
+
* Returns a paginated, searchable list of locale translations for a booking space, requiring read permission on bookings.
|
|
19855
19826
|
* @summary List a booking space\'s translations
|
|
19856
19827
|
* @param {BookingsApiGetBookingSpaceTranslationsRequest} requestParameters Request parameters.
|
|
19857
19828
|
* @param {*} [options] Override http request option.
|
|
@@ -19859,13 +19830,13 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
19859
19830
|
*/
|
|
19860
19831
|
getBookingSpaceTranslations(requestParameters: BookingsApiGetBookingSpaceTranslationsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingSpaceTranslations200Response, any, {}>>;
|
|
19861
19832
|
/**
|
|
19862
|
-
* Returns a paginated list of bookable spaces
|
|
19863
|
-
* @summary List
|
|
19833
|
+
* 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\".
|
|
19834
|
+
* @summary List booking spaces
|
|
19864
19835
|
* @param {BookingsApiGetBookingSpacesRequest} requestParameters Request parameters.
|
|
19865
19836
|
* @param {*} [options] Override http request option.
|
|
19866
19837
|
* @throws {RequiredError}
|
|
19867
19838
|
*/
|
|
19868
|
-
getBookingSpaces(requestParameters
|
|
19839
|
+
getBookingSpaces(requestParameters?: BookingsApiGetBookingSpacesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingSpaces200Response, any, {}>>;
|
|
19869
19840
|
/**
|
|
19870
19841
|
* Revokes an account tier\'s access to a booking space by disconnecting it from the space\'s allowed tiers list, requiring the update bookings permission and read access to tiers.
|
|
19871
19842
|
* @summary Remove an account tier from a booking space
|
|
@@ -19883,7 +19854,7 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
19883
19854
|
*/
|
|
19884
19855
|
undoCheckInBooking(requestParameters: BookingsApiUndoCheckInBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBooking200Response, any, {}>>;
|
|
19885
19856
|
/**
|
|
19886
|
-
* Updates an existing booking for a bookable space
|
|
19857
|
+
* Updates an existing booking for a bookable space, identified by spaceId and bookingId, requiring update permission on bookings.
|
|
19887
19858
|
* @summary Update a booking
|
|
19888
19859
|
* @param {BookingsApiUpdateBookingRequest} requestParameters Request parameters.
|
|
19889
19860
|
* @param {*} [options] Override http request option.
|
|
@@ -19898,34 +19869,31 @@ export declare const BookingsAvailabilitiesApiAxiosParamCreator: (configuration?
|
|
|
19898
19869
|
/**
|
|
19899
19870
|
* Creates a recurring weekly availability window (day of week, start/end time) for the given booking space, requiring the \"update\" permission on bookings, and fails if the new window conflicts with an existing availability for that space.
|
|
19900
19871
|
* @summary Create a booking space availability
|
|
19901
|
-
* @param {string} placeId The place identifier
|
|
19902
19872
|
* @param {string} spaceId The space identifier
|
|
19903
19873
|
* @param {BookingSpaceAvailabilityCreateInputs} bookingSpaceAvailabilityCreateInputs
|
|
19904
19874
|
* @param {*} [options] Override http request option.
|
|
19905
19875
|
* @throws {RequiredError}
|
|
19906
19876
|
*/
|
|
19907
|
-
createBookingSpaceAvailability: (
|
|
19877
|
+
createBookingSpaceAvailability: (spaceId: string, bookingSpaceAvailabilityCreateInputs: BookingSpaceAvailabilityCreateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19908
19878
|
/**
|
|
19909
19879
|
* Permanently deletes the recurring availability window identified by availabilityId from the given booking space, requiring the \"update\" permission on bookings.
|
|
19910
19880
|
* @summary Delete a booking space availability
|
|
19911
|
-
* @param {string} placeId The place identifier
|
|
19912
19881
|
* @param {string} spaceId The space identifier
|
|
19913
19882
|
* @param {string} availabilityId The availability identifier
|
|
19914
19883
|
* @param {*} [options] Override http request option.
|
|
19915
19884
|
* @throws {RequiredError}
|
|
19916
19885
|
*/
|
|
19917
|
-
deleteBookingSpaceAvailability: (
|
|
19886
|
+
deleteBookingSpaceAvailability: (spaceId: string, availabilityId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19918
19887
|
/**
|
|
19919
19888
|
* Updates the day of week, start time, or end time of the availability window identified by availabilityId on the given booking space, requiring the \"update\" permission on bookings, and fails if the change conflicts with another existing availability.
|
|
19920
19889
|
* @summary Update a booking space availability
|
|
19921
|
-
* @param {string} placeId The place identifier
|
|
19922
19890
|
* @param {string} spaceId The space identifier
|
|
19923
19891
|
* @param {string} availabilityId The availability identifier
|
|
19924
19892
|
* @param {BookingSpaceAvailabilityUpdateInputs} bookingSpaceAvailabilityUpdateInputs
|
|
19925
19893
|
* @param {*} [options] Override http request option.
|
|
19926
19894
|
* @throws {RequiredError}
|
|
19927
19895
|
*/
|
|
19928
|
-
updateBookingSpaceAvailability: (
|
|
19896
|
+
updateBookingSpaceAvailability: (spaceId: string, availabilityId: string, bookingSpaceAvailabilityUpdateInputs: BookingSpaceAvailabilityUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19929
19897
|
};
|
|
19930
19898
|
/**
|
|
19931
19899
|
* BookingsAvailabilitiesApi - functional programming interface
|
|
@@ -19934,34 +19902,31 @@ export declare const BookingsAvailabilitiesApiFp: (configuration?: Configuration
|
|
|
19934
19902
|
/**
|
|
19935
19903
|
* Creates a recurring weekly availability window (day of week, start/end time) for the given booking space, requiring the \"update\" permission on bookings, and fails if the new window conflicts with an existing availability for that space.
|
|
19936
19904
|
* @summary Create a booking space availability
|
|
19937
|
-
* @param {string} placeId The place identifier
|
|
19938
19905
|
* @param {string} spaceId The space identifier
|
|
19939
19906
|
* @param {BookingSpaceAvailabilityCreateInputs} bookingSpaceAvailabilityCreateInputs
|
|
19940
19907
|
* @param {*} [options] Override http request option.
|
|
19941
19908
|
* @throws {RequiredError}
|
|
19942
19909
|
*/
|
|
19943
|
-
createBookingSpaceAvailability(
|
|
19910
|
+
createBookingSpaceAvailability(spaceId: string, bookingSpaceAvailabilityCreateInputs: BookingSpaceAvailabilityCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceAvailability200Response>>;
|
|
19944
19911
|
/**
|
|
19945
19912
|
* Permanently deletes the recurring availability window identified by availabilityId from the given booking space, requiring the \"update\" permission on bookings.
|
|
19946
19913
|
* @summary Delete a booking space availability
|
|
19947
|
-
* @param {string} placeId The place identifier
|
|
19948
19914
|
* @param {string} spaceId The space identifier
|
|
19949
19915
|
* @param {string} availabilityId The availability identifier
|
|
19950
19916
|
* @param {*} [options] Override http request option.
|
|
19951
19917
|
* @throws {RequiredError}
|
|
19952
19918
|
*/
|
|
19953
|
-
deleteBookingSpaceAvailability(
|
|
19919
|
+
deleteBookingSpaceAvailability(spaceId: string, availabilityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
19954
19920
|
/**
|
|
19955
19921
|
* Updates the day of week, start time, or end time of the availability window identified by availabilityId on the given booking space, requiring the \"update\" permission on bookings, and fails if the change conflicts with another existing availability.
|
|
19956
19922
|
* @summary Update a booking space availability
|
|
19957
|
-
* @param {string} placeId The place identifier
|
|
19958
19923
|
* @param {string} spaceId The space identifier
|
|
19959
19924
|
* @param {string} availabilityId The availability identifier
|
|
19960
19925
|
* @param {BookingSpaceAvailabilityUpdateInputs} bookingSpaceAvailabilityUpdateInputs
|
|
19961
19926
|
* @param {*} [options] Override http request option.
|
|
19962
19927
|
* @throws {RequiredError}
|
|
19963
19928
|
*/
|
|
19964
|
-
updateBookingSpaceAvailability(
|
|
19929
|
+
updateBookingSpaceAvailability(spaceId: string, availabilityId: string, bookingSpaceAvailabilityUpdateInputs: BookingSpaceAvailabilityUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceAvailability200Response>>;
|
|
19965
19930
|
};
|
|
19966
19931
|
/**
|
|
19967
19932
|
* BookingsAvailabilitiesApi - factory interface
|
|
@@ -19996,10 +19961,6 @@ export declare const BookingsAvailabilitiesApiFactory: (configuration?: Configur
|
|
|
19996
19961
|
* Request parameters for createBookingSpaceAvailability operation in BookingsAvailabilitiesApi.
|
|
19997
19962
|
*/
|
|
19998
19963
|
export interface BookingsAvailabilitiesApiCreateBookingSpaceAvailabilityRequest {
|
|
19999
|
-
/**
|
|
20000
|
-
* The place identifier
|
|
20001
|
-
*/
|
|
20002
|
-
readonly placeId: string;
|
|
20003
19964
|
/**
|
|
20004
19965
|
* The space identifier
|
|
20005
19966
|
*/
|
|
@@ -20010,10 +19971,6 @@ export interface BookingsAvailabilitiesApiCreateBookingSpaceAvailabilityRequest
|
|
|
20010
19971
|
* Request parameters for deleteBookingSpaceAvailability operation in BookingsAvailabilitiesApi.
|
|
20011
19972
|
*/
|
|
20012
19973
|
export interface BookingsAvailabilitiesApiDeleteBookingSpaceAvailabilityRequest {
|
|
20013
|
-
/**
|
|
20014
|
-
* The place identifier
|
|
20015
|
-
*/
|
|
20016
|
-
readonly placeId: string;
|
|
20017
19974
|
/**
|
|
20018
19975
|
* The space identifier
|
|
20019
19976
|
*/
|
|
@@ -20027,10 +19984,6 @@ export interface BookingsAvailabilitiesApiDeleteBookingSpaceAvailabilityRequest
|
|
|
20027
19984
|
* Request parameters for updateBookingSpaceAvailability operation in BookingsAvailabilitiesApi.
|
|
20028
19985
|
*/
|
|
20029
19986
|
export interface BookingsAvailabilitiesApiUpdateBookingSpaceAvailabilityRequest {
|
|
20030
|
-
/**
|
|
20031
|
-
* The place identifier
|
|
20032
|
-
*/
|
|
20033
|
-
readonly placeId: string;
|
|
20034
19987
|
/**
|
|
20035
19988
|
* The space identifier
|
|
20036
19989
|
*/
|
|
@@ -20077,34 +20030,31 @@ export declare const BookingsBlackoutsApiAxiosParamCreator: (configuration?: Con
|
|
|
20077
20030
|
/**
|
|
20078
20031
|
* Creates a date/time range during which the given booking space is unavailable for bookings, requiring the \"update\" permission on bookings, and fails if the range overlaps an existing blackout for that space.
|
|
20079
20032
|
* @summary Create a booking space blackout
|
|
20080
|
-
* @param {string} placeId The place identifier
|
|
20081
20033
|
* @param {string} spaceId The space identifier
|
|
20082
20034
|
* @param {BookingSpaceBlackoutCreateInputs} bookingSpaceBlackoutCreateInputs
|
|
20083
20035
|
* @param {*} [options] Override http request option.
|
|
20084
20036
|
* @throws {RequiredError}
|
|
20085
20037
|
*/
|
|
20086
|
-
createBookingSpaceBlackout: (
|
|
20038
|
+
createBookingSpaceBlackout: (spaceId: string, bookingSpaceBlackoutCreateInputs: BookingSpaceBlackoutCreateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20087
20039
|
/**
|
|
20088
20040
|
* Permanently deletes the blackout window identified by blackoutId from the given booking space, requiring the \"update\" permission on bookings.
|
|
20089
20041
|
* @summary Delete a booking space blackout
|
|
20090
|
-
* @param {string} placeId The place identifier
|
|
20091
20042
|
* @param {string} spaceId The space identifier
|
|
20092
20043
|
* @param {string} blackoutId The blackout identifier
|
|
20093
20044
|
* @param {*} [options] Override http request option.
|
|
20094
20045
|
* @throws {RequiredError}
|
|
20095
20046
|
*/
|
|
20096
|
-
deleteBookingSpaceBlackout: (
|
|
20047
|
+
deleteBookingSpaceBlackout: (spaceId: string, blackoutId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20097
20048
|
/**
|
|
20098
20049
|
* Updates the start or end time of the blackout window identified by blackoutId on the given booking space, requiring the \"update\" permission on bookings, and fails if the change overlaps another existing blackout.
|
|
20099
20050
|
* @summary Update a booking space blackout
|
|
20100
|
-
* @param {string} placeId The place identifier
|
|
20101
20051
|
* @param {string} spaceId The space identifier
|
|
20102
20052
|
* @param {string} blackoutId The blackout identifier
|
|
20103
20053
|
* @param {BookingSpaceBlackoutUpdateInputs} bookingSpaceBlackoutUpdateInputs
|
|
20104
20054
|
* @param {*} [options] Override http request option.
|
|
20105
20055
|
* @throws {RequiredError}
|
|
20106
20056
|
*/
|
|
20107
|
-
updateBookingSpaceBlackout: (
|
|
20057
|
+
updateBookingSpaceBlackout: (spaceId: string, blackoutId: string, bookingSpaceBlackoutUpdateInputs: BookingSpaceBlackoutUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20108
20058
|
};
|
|
20109
20059
|
/**
|
|
20110
20060
|
* BookingsBlackoutsApi - functional programming interface
|
|
@@ -20113,34 +20063,31 @@ export declare const BookingsBlackoutsApiFp: (configuration?: Configuration) =>
|
|
|
20113
20063
|
/**
|
|
20114
20064
|
* Creates a date/time range during which the given booking space is unavailable for bookings, requiring the \"update\" permission on bookings, and fails if the range overlaps an existing blackout for that space.
|
|
20115
20065
|
* @summary Create a booking space blackout
|
|
20116
|
-
* @param {string} placeId The place identifier
|
|
20117
20066
|
* @param {string} spaceId The space identifier
|
|
20118
20067
|
* @param {BookingSpaceBlackoutCreateInputs} bookingSpaceBlackoutCreateInputs
|
|
20119
20068
|
* @param {*} [options] Override http request option.
|
|
20120
20069
|
* @throws {RequiredError}
|
|
20121
20070
|
*/
|
|
20122
|
-
createBookingSpaceBlackout(
|
|
20071
|
+
createBookingSpaceBlackout(spaceId: string, bookingSpaceBlackoutCreateInputs: BookingSpaceBlackoutCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceBlackout200Response>>;
|
|
20123
20072
|
/**
|
|
20124
20073
|
* Permanently deletes the blackout window identified by blackoutId from the given booking space, requiring the \"update\" permission on bookings.
|
|
20125
20074
|
* @summary Delete a booking space blackout
|
|
20126
|
-
* @param {string} placeId The place identifier
|
|
20127
20075
|
* @param {string} spaceId The space identifier
|
|
20128
20076
|
* @param {string} blackoutId The blackout identifier
|
|
20129
20077
|
* @param {*} [options] Override http request option.
|
|
20130
20078
|
* @throws {RequiredError}
|
|
20131
20079
|
*/
|
|
20132
|
-
deleteBookingSpaceBlackout(
|
|
20080
|
+
deleteBookingSpaceBlackout(spaceId: string, blackoutId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
20133
20081
|
/**
|
|
20134
20082
|
* Updates the start or end time of the blackout window identified by blackoutId on the given booking space, requiring the \"update\" permission on bookings, and fails if the change overlaps another existing blackout.
|
|
20135
20083
|
* @summary Update a booking space blackout
|
|
20136
|
-
* @param {string} placeId The place identifier
|
|
20137
20084
|
* @param {string} spaceId The space identifier
|
|
20138
20085
|
* @param {string} blackoutId The blackout identifier
|
|
20139
20086
|
* @param {BookingSpaceBlackoutUpdateInputs} bookingSpaceBlackoutUpdateInputs
|
|
20140
20087
|
* @param {*} [options] Override http request option.
|
|
20141
20088
|
* @throws {RequiredError}
|
|
20142
20089
|
*/
|
|
20143
|
-
updateBookingSpaceBlackout(
|
|
20090
|
+
updateBookingSpaceBlackout(spaceId: string, blackoutId: string, bookingSpaceBlackoutUpdateInputs: BookingSpaceBlackoutUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceBlackout200Response>>;
|
|
20144
20091
|
};
|
|
20145
20092
|
/**
|
|
20146
20093
|
* BookingsBlackoutsApi - factory interface
|
|
@@ -20175,10 +20122,6 @@ export declare const BookingsBlackoutsApiFactory: (configuration?: Configuration
|
|
|
20175
20122
|
* Request parameters for createBookingSpaceBlackout operation in BookingsBlackoutsApi.
|
|
20176
20123
|
*/
|
|
20177
20124
|
export interface BookingsBlackoutsApiCreateBookingSpaceBlackoutRequest {
|
|
20178
|
-
/**
|
|
20179
|
-
* The place identifier
|
|
20180
|
-
*/
|
|
20181
|
-
readonly placeId: string;
|
|
20182
20125
|
/**
|
|
20183
20126
|
* The space identifier
|
|
20184
20127
|
*/
|
|
@@ -20189,10 +20132,6 @@ export interface BookingsBlackoutsApiCreateBookingSpaceBlackoutRequest {
|
|
|
20189
20132
|
* Request parameters for deleteBookingSpaceBlackout operation in BookingsBlackoutsApi.
|
|
20190
20133
|
*/
|
|
20191
20134
|
export interface BookingsBlackoutsApiDeleteBookingSpaceBlackoutRequest {
|
|
20192
|
-
/**
|
|
20193
|
-
* The place identifier
|
|
20194
|
-
*/
|
|
20195
|
-
readonly placeId: string;
|
|
20196
20135
|
/**
|
|
20197
20136
|
* The space identifier
|
|
20198
20137
|
*/
|
|
@@ -20206,10 +20145,6 @@ export interface BookingsBlackoutsApiDeleteBookingSpaceBlackoutRequest {
|
|
|
20206
20145
|
* Request parameters for updateBookingSpaceBlackout operation in BookingsBlackoutsApi.
|
|
20207
20146
|
*/
|
|
20208
20147
|
export interface BookingsBlackoutsApiUpdateBookingSpaceBlackoutRequest {
|
|
20209
|
-
/**
|
|
20210
|
-
* The place identifier
|
|
20211
|
-
*/
|
|
20212
|
-
readonly placeId: string;
|
|
20213
20148
|
/**
|
|
20214
20149
|
* The space identifier
|
|
20215
20150
|
*/
|
|
@@ -20516,58 +20451,52 @@ export declare const BookingsQuestionsApiAxiosParamCreator: (configuration?: Con
|
|
|
20516
20451
|
/**
|
|
20517
20452
|
* Links an existing search list to a booking space question so its options are sourced from that list, replacing any previously attached search list; requires update permission on bookings.
|
|
20518
20453
|
* @summary Attach a search list to a booking question
|
|
20519
|
-
* @param {string} placeId The place identifier
|
|
20520
20454
|
* @param {string} spaceId The space identifier
|
|
20521
20455
|
* @param {string} questionId The question identifier
|
|
20522
20456
|
* @param {AttachSearchListInputs} attachSearchListInputs
|
|
20523
20457
|
* @param {*} [options] Override http request option.
|
|
20524
20458
|
* @throws {RequiredError}
|
|
20525
20459
|
*/
|
|
20526
|
-
attachBookingSpaceQuestionSearchList: (
|
|
20460
|
+
attachBookingSpaceQuestionSearchList: (spaceId: string, questionId: string, attachSearchListInputs: AttachSearchListInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20527
20461
|
/**
|
|
20528
20462
|
* Creates a new custom question (with optional choices) on a booking space, inserting it at the given sort order among the space\'s existing questions; requires update permission on bookings.
|
|
20529
20463
|
* @summary Create a booking space question
|
|
20530
|
-
* @param {string} placeId The place identifier
|
|
20531
20464
|
* @param {string} spaceId The space identifier
|
|
20532
20465
|
* @param {BookingSpaceQuestionCreateInputs} bookingSpaceQuestionCreateInputs
|
|
20533
20466
|
* @param {*} [options] Override http request option.
|
|
20534
20467
|
* @throws {RequiredError}
|
|
20535
20468
|
*/
|
|
20536
|
-
createBookingSpaceQuestion: (
|
|
20469
|
+
createBookingSpaceQuestion: (spaceId: string, bookingSpaceQuestionCreateInputs: BookingSpaceQuestionCreateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20537
20470
|
/**
|
|
20538
20471
|
* Permanently deletes a custom question from a booking space and re-sequences the sort order of the remaining questions; requires update permission on bookings.
|
|
20539
20472
|
* @summary Delete a booking space question
|
|
20540
|
-
* @param {string} placeId The place identifier
|
|
20541
20473
|
* @param {string} spaceId The space identifier
|
|
20542
20474
|
* @param {string} questionId The question identifier
|
|
20543
20475
|
* @param {*} [options] Override http request option.
|
|
20544
20476
|
* @throws {RequiredError}
|
|
20545
20477
|
*/
|
|
20546
|
-
deleteBookingSpaceQuestion: (
|
|
20478
|
+
deleteBookingSpaceQuestion: (spaceId: string, questionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20547
20479
|
/**
|
|
20548
20480
|
* Removes the search list currently linked to a booking space question, clearing its source of predefined options; requires update permission on bookings.
|
|
20549
20481
|
* @summary Detach a search list from a booking question
|
|
20550
|
-
* @param {string} placeId The place identifier
|
|
20551
20482
|
* @param {string} spaceId The space identifier
|
|
20552
20483
|
* @param {string} questionId The question identifier
|
|
20553
20484
|
* @param {*} [options] Override http request option.
|
|
20554
20485
|
* @throws {RequiredError}
|
|
20555
20486
|
*/
|
|
20556
|
-
detachBookingSpaceQuestionSearchList: (
|
|
20487
|
+
detachBookingSpaceQuestionSearchList: (spaceId: string, questionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20557
20488
|
/**
|
|
20558
20489
|
* Retrieves a single custom question configured for a booking space, including its label, type, and settings; requires the \"read\" permission on \"bookings\".
|
|
20559
20490
|
* @summary Get a booking space question
|
|
20560
|
-
* @param {string} placeId The place identifier
|
|
20561
20491
|
* @param {string} spaceId The space identifier
|
|
20562
20492
|
* @param {string} questionId The question identifier
|
|
20563
20493
|
* @param {*} [options] Override http request option.
|
|
20564
20494
|
* @throws {RequiredError}
|
|
20565
20495
|
*/
|
|
20566
|
-
getBookingSpaceQuestion: (
|
|
20496
|
+
getBookingSpaceQuestion: (spaceId: string, questionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20567
20497
|
/**
|
|
20568
20498
|
* Returns a paginated list of the custom questions configured for a booking space, supporting search over the question\'s name, label, and description and sorting via orderBy; requires the \"read\" permission on \"bookings\".
|
|
20569
20499
|
* @summary List a booking space\'s custom questions
|
|
20570
|
-
* @param {string} placeId The place identifier
|
|
20571
20500
|
* @param {string} spaceId The space identifier
|
|
20572
20501
|
* @param {number} [page] Page number
|
|
20573
20502
|
* @param {number} [pageSize] Number of items per page
|
|
@@ -20576,28 +20505,26 @@ export declare const BookingsQuestionsApiAxiosParamCreator: (configuration?: Con
|
|
|
20576
20505
|
* @param {*} [options] Override http request option.
|
|
20577
20506
|
* @throws {RequiredError}
|
|
20578
20507
|
*/
|
|
20579
|
-
getBookingSpaceQuestions: (
|
|
20508
|
+
getBookingSpaceQuestions: (spaceId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20580
20509
|
/**
|
|
20581
20510
|
* Sets the display order of all questions on a booking space by supplying the complete ordered list of question IDs; every existing question must be included or the request is rejected, and requires update permission on bookings.
|
|
20582
20511
|
* @summary Reorder a booking space\'s questions
|
|
20583
|
-
* @param {string} placeId The place identifier
|
|
20584
20512
|
* @param {string} spaceId The space identifier
|
|
20585
20513
|
* @param {ReorderBookingSpaceQuestionsRequest} reorderBookingSpaceQuestionsRequest
|
|
20586
20514
|
* @param {*} [options] Override http request option.
|
|
20587
20515
|
* @throws {RequiredError}
|
|
20588
20516
|
*/
|
|
20589
|
-
reorderBookingSpaceQuestions: (
|
|
20517
|
+
reorderBookingSpaceQuestions: (spaceId: string, reorderBookingSpaceQuestionsRequest: ReorderBookingSpaceQuestionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20590
20518
|
/**
|
|
20591
20519
|
* Updates the properties of an existing booking space question, such as its name, label, description, or sort order, moving it among the space\'s other questions if the sort order changes; requires update permission on bookings.
|
|
20592
20520
|
* @summary Update a booking space question
|
|
20593
|
-
* @param {string} placeId The place identifier
|
|
20594
20521
|
* @param {string} spaceId The space identifier
|
|
20595
20522
|
* @param {string} questionId The question identifier
|
|
20596
20523
|
* @param {BookingSpaceQuestionUpdateInputs} bookingSpaceQuestionUpdateInputs
|
|
20597
20524
|
* @param {*} [options] Override http request option.
|
|
20598
20525
|
* @throws {RequiredError}
|
|
20599
20526
|
*/
|
|
20600
|
-
updateBookingSpaceQuestion: (
|
|
20527
|
+
updateBookingSpaceQuestion: (spaceId: string, questionId: string, bookingSpaceQuestionUpdateInputs: BookingSpaceQuestionUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20601
20528
|
};
|
|
20602
20529
|
/**
|
|
20603
20530
|
* BookingsQuestionsApi - functional programming interface
|
|
@@ -20606,58 +20533,52 @@ export declare const BookingsQuestionsApiFp: (configuration?: Configuration) =>
|
|
|
20606
20533
|
/**
|
|
20607
20534
|
* Links an existing search list to a booking space question so its options are sourced from that list, replacing any previously attached search list; requires update permission on bookings.
|
|
20608
20535
|
* @summary Attach a search list to a booking question
|
|
20609
|
-
* @param {string} placeId The place identifier
|
|
20610
20536
|
* @param {string} spaceId The space identifier
|
|
20611
20537
|
* @param {string} questionId The question identifier
|
|
20612
20538
|
* @param {AttachSearchListInputs} attachSearchListInputs
|
|
20613
20539
|
* @param {*} [options] Override http request option.
|
|
20614
20540
|
* @throws {RequiredError}
|
|
20615
20541
|
*/
|
|
20616
|
-
attachBookingSpaceQuestionSearchList(
|
|
20542
|
+
attachBookingSpaceQuestionSearchList(spaceId: string, questionId: string, attachSearchListInputs: AttachSearchListInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceQuestion200Response>>;
|
|
20617
20543
|
/**
|
|
20618
20544
|
* Creates a new custom question (with optional choices) on a booking space, inserting it at the given sort order among the space\'s existing questions; requires update permission on bookings.
|
|
20619
20545
|
* @summary Create a booking space question
|
|
20620
|
-
* @param {string} placeId The place identifier
|
|
20621
20546
|
* @param {string} spaceId The space identifier
|
|
20622
20547
|
* @param {BookingSpaceQuestionCreateInputs} bookingSpaceQuestionCreateInputs
|
|
20623
20548
|
* @param {*} [options] Override http request option.
|
|
20624
20549
|
* @throws {RequiredError}
|
|
20625
20550
|
*/
|
|
20626
|
-
createBookingSpaceQuestion(
|
|
20551
|
+
createBookingSpaceQuestion(spaceId: string, bookingSpaceQuestionCreateInputs: BookingSpaceQuestionCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceQuestion200Response>>;
|
|
20627
20552
|
/**
|
|
20628
20553
|
* Permanently deletes a custom question from a booking space and re-sequences the sort order of the remaining questions; requires update permission on bookings.
|
|
20629
20554
|
* @summary Delete a booking space question
|
|
20630
|
-
* @param {string} placeId The place identifier
|
|
20631
20555
|
* @param {string} spaceId The space identifier
|
|
20632
20556
|
* @param {string} questionId The question identifier
|
|
20633
20557
|
* @param {*} [options] Override http request option.
|
|
20634
20558
|
* @throws {RequiredError}
|
|
20635
20559
|
*/
|
|
20636
|
-
deleteBookingSpaceQuestion(
|
|
20560
|
+
deleteBookingSpaceQuestion(spaceId: string, questionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
20637
20561
|
/**
|
|
20638
20562
|
* Removes the search list currently linked to a booking space question, clearing its source of predefined options; requires update permission on bookings.
|
|
20639
20563
|
* @summary Detach a search list from a booking question
|
|
20640
|
-
* @param {string} placeId The place identifier
|
|
20641
20564
|
* @param {string} spaceId The space identifier
|
|
20642
20565
|
* @param {string} questionId The question identifier
|
|
20643
20566
|
* @param {*} [options] Override http request option.
|
|
20644
20567
|
* @throws {RequiredError}
|
|
20645
20568
|
*/
|
|
20646
|
-
detachBookingSpaceQuestionSearchList(
|
|
20569
|
+
detachBookingSpaceQuestionSearchList(spaceId: string, questionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceQuestion200Response>>;
|
|
20647
20570
|
/**
|
|
20648
20571
|
* Retrieves a single custom question configured for a booking space, including its label, type, and settings; requires the \"read\" permission on \"bookings\".
|
|
20649
20572
|
* @summary Get a booking space question
|
|
20650
|
-
* @param {string} placeId The place identifier
|
|
20651
20573
|
* @param {string} spaceId The space identifier
|
|
20652
20574
|
* @param {string} questionId The question identifier
|
|
20653
20575
|
* @param {*} [options] Override http request option.
|
|
20654
20576
|
* @throws {RequiredError}
|
|
20655
20577
|
*/
|
|
20656
|
-
getBookingSpaceQuestion(
|
|
20578
|
+
getBookingSpaceQuestion(spaceId: string, questionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceQuestion200Response>>;
|
|
20657
20579
|
/**
|
|
20658
20580
|
* Returns a paginated list of the custom questions configured for a booking space, supporting search over the question\'s name, label, and description and sorting via orderBy; requires the \"read\" permission on \"bookings\".
|
|
20659
20581
|
* @summary List a booking space\'s custom questions
|
|
20660
|
-
* @param {string} placeId The place identifier
|
|
20661
20582
|
* @param {string} spaceId The space identifier
|
|
20662
20583
|
* @param {number} [page] Page number
|
|
20663
20584
|
* @param {number} [pageSize] Number of items per page
|
|
@@ -20666,28 +20587,26 @@ export declare const BookingsQuestionsApiFp: (configuration?: Configuration) =>
|
|
|
20666
20587
|
* @param {*} [options] Override http request option.
|
|
20667
20588
|
* @throws {RequiredError}
|
|
20668
20589
|
*/
|
|
20669
|
-
getBookingSpaceQuestions(
|
|
20590
|
+
getBookingSpaceQuestions(spaceId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceQuestions200Response>>;
|
|
20670
20591
|
/**
|
|
20671
20592
|
* Sets the display order of all questions on a booking space by supplying the complete ordered list of question IDs; every existing question must be included or the request is rejected, and requires update permission on bookings.
|
|
20672
20593
|
* @summary Reorder a booking space\'s questions
|
|
20673
|
-
* @param {string} placeId The place identifier
|
|
20674
20594
|
* @param {string} spaceId The space identifier
|
|
20675
20595
|
* @param {ReorderBookingSpaceQuestionsRequest} reorderBookingSpaceQuestionsRequest
|
|
20676
20596
|
* @param {*} [options] Override http request option.
|
|
20677
20597
|
* @throws {RequiredError}
|
|
20678
20598
|
*/
|
|
20679
|
-
reorderBookingSpaceQuestions(
|
|
20599
|
+
reorderBookingSpaceQuestions(spaceId: string, reorderBookingSpaceQuestionsRequest: ReorderBookingSpaceQuestionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorderBookingSpaceQuestions200Response>>;
|
|
20680
20600
|
/**
|
|
20681
20601
|
* Updates the properties of an existing booking space question, such as its name, label, description, or sort order, moving it among the space\'s other questions if the sort order changes; requires update permission on bookings.
|
|
20682
20602
|
* @summary Update a booking space question
|
|
20683
|
-
* @param {string} placeId The place identifier
|
|
20684
20603
|
* @param {string} spaceId The space identifier
|
|
20685
20604
|
* @param {string} questionId The question identifier
|
|
20686
20605
|
* @param {BookingSpaceQuestionUpdateInputs} bookingSpaceQuestionUpdateInputs
|
|
20687
20606
|
* @param {*} [options] Override http request option.
|
|
20688
20607
|
* @throws {RequiredError}
|
|
20689
20608
|
*/
|
|
20690
|
-
updateBookingSpaceQuestion(
|
|
20609
|
+
updateBookingSpaceQuestion(spaceId: string, questionId: string, bookingSpaceQuestionUpdateInputs: BookingSpaceQuestionUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceQuestion200Response>>;
|
|
20691
20610
|
};
|
|
20692
20611
|
/**
|
|
20693
20612
|
* BookingsQuestionsApi - factory interface
|
|
@@ -20762,10 +20681,6 @@ export declare const BookingsQuestionsApiFactory: (configuration?: Configuration
|
|
|
20762
20681
|
* Request parameters for attachBookingSpaceQuestionSearchList operation in BookingsQuestionsApi.
|
|
20763
20682
|
*/
|
|
20764
20683
|
export interface BookingsQuestionsApiAttachBookingSpaceQuestionSearchListRequest {
|
|
20765
|
-
/**
|
|
20766
|
-
* The place identifier
|
|
20767
|
-
*/
|
|
20768
|
-
readonly placeId: string;
|
|
20769
20684
|
/**
|
|
20770
20685
|
* The space identifier
|
|
20771
20686
|
*/
|
|
@@ -20780,10 +20695,6 @@ export interface BookingsQuestionsApiAttachBookingSpaceQuestionSearchListRequest
|
|
|
20780
20695
|
* Request parameters for createBookingSpaceQuestion operation in BookingsQuestionsApi.
|
|
20781
20696
|
*/
|
|
20782
20697
|
export interface BookingsQuestionsApiCreateBookingSpaceQuestionRequest {
|
|
20783
|
-
/**
|
|
20784
|
-
* The place identifier
|
|
20785
|
-
*/
|
|
20786
|
-
readonly placeId: string;
|
|
20787
20698
|
/**
|
|
20788
20699
|
* The space identifier
|
|
20789
20700
|
*/
|
|
@@ -20794,10 +20705,6 @@ export interface BookingsQuestionsApiCreateBookingSpaceQuestionRequest {
|
|
|
20794
20705
|
* Request parameters for deleteBookingSpaceQuestion operation in BookingsQuestionsApi.
|
|
20795
20706
|
*/
|
|
20796
20707
|
export interface BookingsQuestionsApiDeleteBookingSpaceQuestionRequest {
|
|
20797
|
-
/**
|
|
20798
|
-
* The place identifier
|
|
20799
|
-
*/
|
|
20800
|
-
readonly placeId: string;
|
|
20801
20708
|
/**
|
|
20802
20709
|
* The space identifier
|
|
20803
20710
|
*/
|
|
@@ -20811,10 +20718,6 @@ export interface BookingsQuestionsApiDeleteBookingSpaceQuestionRequest {
|
|
|
20811
20718
|
* Request parameters for detachBookingSpaceQuestionSearchList operation in BookingsQuestionsApi.
|
|
20812
20719
|
*/
|
|
20813
20720
|
export interface BookingsQuestionsApiDetachBookingSpaceQuestionSearchListRequest {
|
|
20814
|
-
/**
|
|
20815
|
-
* The place identifier
|
|
20816
|
-
*/
|
|
20817
|
-
readonly placeId: string;
|
|
20818
20721
|
/**
|
|
20819
20722
|
* The space identifier
|
|
20820
20723
|
*/
|
|
@@ -20828,10 +20731,6 @@ export interface BookingsQuestionsApiDetachBookingSpaceQuestionSearchListRequest
|
|
|
20828
20731
|
* Request parameters for getBookingSpaceQuestion operation in BookingsQuestionsApi.
|
|
20829
20732
|
*/
|
|
20830
20733
|
export interface BookingsQuestionsApiGetBookingSpaceQuestionRequest {
|
|
20831
|
-
/**
|
|
20832
|
-
* The place identifier
|
|
20833
|
-
*/
|
|
20834
|
-
readonly placeId: string;
|
|
20835
20734
|
/**
|
|
20836
20735
|
* The space identifier
|
|
20837
20736
|
*/
|
|
@@ -20845,10 +20744,6 @@ export interface BookingsQuestionsApiGetBookingSpaceQuestionRequest {
|
|
|
20845
20744
|
* Request parameters for getBookingSpaceQuestions operation in BookingsQuestionsApi.
|
|
20846
20745
|
*/
|
|
20847
20746
|
export interface BookingsQuestionsApiGetBookingSpaceQuestionsRequest {
|
|
20848
|
-
/**
|
|
20849
|
-
* The place identifier
|
|
20850
|
-
*/
|
|
20851
|
-
readonly placeId: string;
|
|
20852
20747
|
/**
|
|
20853
20748
|
* The space identifier
|
|
20854
20749
|
*/
|
|
@@ -20874,10 +20769,6 @@ export interface BookingsQuestionsApiGetBookingSpaceQuestionsRequest {
|
|
|
20874
20769
|
* Request parameters for reorderBookingSpaceQuestions operation in BookingsQuestionsApi.
|
|
20875
20770
|
*/
|
|
20876
20771
|
export interface BookingsQuestionsApiReorderBookingSpaceQuestionsRequest {
|
|
20877
|
-
/**
|
|
20878
|
-
* The place identifier
|
|
20879
|
-
*/
|
|
20880
|
-
readonly placeId: string;
|
|
20881
20772
|
/**
|
|
20882
20773
|
* The space identifier
|
|
20883
20774
|
*/
|
|
@@ -20888,10 +20779,6 @@ export interface BookingsQuestionsApiReorderBookingSpaceQuestionsRequest {
|
|
|
20888
20779
|
* Request parameters for updateBookingSpaceQuestion operation in BookingsQuestionsApi.
|
|
20889
20780
|
*/
|
|
20890
20781
|
export interface BookingsQuestionsApiUpdateBookingSpaceQuestionRequest {
|
|
20891
|
-
/**
|
|
20892
|
-
* The place identifier
|
|
20893
|
-
*/
|
|
20894
|
-
readonly placeId: string;
|
|
20895
20782
|
/**
|
|
20896
20783
|
* The space identifier
|
|
20897
20784
|
*/
|
|
@@ -20978,40 +20865,36 @@ export declare const BookingsQuestionsChoicesApiAxiosParamCreator: (configuratio
|
|
|
20978
20865
|
/**
|
|
20979
20866
|
* Creates a new selectable choice for a multiple-choice question on a booking space, requires the update bookings permission.
|
|
20980
20867
|
* @summary Create a booking space question choice
|
|
20981
|
-
* @param {string} placeId The place identifier
|
|
20982
20868
|
* @param {string} spaceId The space identifier
|
|
20983
20869
|
* @param {string} questionId The question identifier
|
|
20984
20870
|
* @param {BookingSpaceQuestionChoiceCreateInputs} bookingSpaceQuestionChoiceCreateInputs
|
|
20985
20871
|
* @param {*} [options] Override http request option.
|
|
20986
20872
|
* @throws {RequiredError}
|
|
20987
20873
|
*/
|
|
20988
|
-
createBookingSpaceQuestionChoice: (
|
|
20874
|
+
createBookingSpaceQuestionChoice: (spaceId: string, questionId: string, bookingSpaceQuestionChoiceCreateInputs: BookingSpaceQuestionChoiceCreateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20989
20875
|
/**
|
|
20990
20876
|
* Permanently deletes a choice from a booking space question by its ID, requires the update bookings permission.
|
|
20991
20877
|
* @summary Delete a booking space question choice
|
|
20992
|
-
* @param {string} placeId The place identifier
|
|
20993
20878
|
* @param {string} spaceId The space identifier
|
|
20994
20879
|
* @param {string} questionId The question identifier
|
|
20995
20880
|
* @param {string} choiceId The choice identifier
|
|
20996
20881
|
* @param {*} [options] Override http request option.
|
|
20997
20882
|
* @throws {RequiredError}
|
|
20998
20883
|
*/
|
|
20999
|
-
deleteBookingSpaceQuestionChoice: (
|
|
20884
|
+
deleteBookingSpaceQuestionChoice: (spaceId: string, questionId: string, choiceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21000
20885
|
/**
|
|
21001
20886
|
* Returns a single selectable answer choice for a question on a booking space, identified by place, space, question, and choice ID; requires \"read\" permission on \"bookings\".
|
|
21002
20887
|
* @summary Get a booking space question choice
|
|
21003
|
-
* @param {string} placeId The place identifier
|
|
21004
20888
|
* @param {string} spaceId The space identifier
|
|
21005
20889
|
* @param {string} questionId The question identifier
|
|
21006
20890
|
* @param {string} choiceId The choice identifier
|
|
21007
20891
|
* @param {*} [options] Override http request option.
|
|
21008
20892
|
* @throws {RequiredError}
|
|
21009
20893
|
*/
|
|
21010
|
-
getBookingSpaceQuestionChoice: (
|
|
20894
|
+
getBookingSpaceQuestionChoice: (spaceId: string, questionId: string, choiceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21011
20895
|
/**
|
|
21012
20896
|
* Returns a paginated list of selectable answer choices for a given question on a booking space, supporting search and ordering; requires \"read\" permission on \"bookings\".
|
|
21013
20897
|
* @summary List a booking space question\'s choices
|
|
21014
|
-
* @param {string} placeId The place identifier
|
|
21015
20898
|
* @param {string} spaceId The space identifier
|
|
21016
20899
|
* @param {string} questionId The question identifier
|
|
21017
20900
|
* @param {number} [page] Page number
|
|
@@ -21021,22 +20904,20 @@ export declare const BookingsQuestionsChoicesApiAxiosParamCreator: (configuratio
|
|
|
21021
20904
|
* @param {*} [options] Override http request option.
|
|
21022
20905
|
* @throws {RequiredError}
|
|
21023
20906
|
*/
|
|
21024
|
-
getBookingSpaceQuestionChoices: (
|
|
20907
|
+
getBookingSpaceQuestionChoices: (spaceId: string, questionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21025
20908
|
/**
|
|
21026
20909
|
* Sets the display order of a booking space question\'s choices by supplying the full list of choice IDs in the desired sequence, requires the update bookings permission.
|
|
21027
20910
|
* @summary Reorder a booking question\'s choices
|
|
21028
|
-
* @param {string} placeId The place identifier
|
|
21029
20911
|
* @param {string} spaceId The space identifier
|
|
21030
20912
|
* @param {string} questionId The question identifier
|
|
21031
20913
|
* @param {ReorderBookingSpaceQuestionChoicesRequest} reorderBookingSpaceQuestionChoicesRequest
|
|
21032
20914
|
* @param {*} [options] Override http request option.
|
|
21033
20915
|
* @throws {RequiredError}
|
|
21034
20916
|
*/
|
|
21035
|
-
reorderBookingSpaceQuestionChoices: (
|
|
20917
|
+
reorderBookingSpaceQuestionChoices: (spaceId: string, questionId: string, reorderBookingSpaceQuestionChoicesRequest: ReorderBookingSpaceQuestionChoicesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21036
20918
|
/**
|
|
21037
20919
|
* Updates the details of an existing choice on a booking space question by its ID, requires the update bookings permission.
|
|
21038
20920
|
* @summary Update a booking space question choice
|
|
21039
|
-
* @param {string} placeId The place identifier
|
|
21040
20921
|
* @param {string} spaceId The space identifier
|
|
21041
20922
|
* @param {string} questionId The question identifier
|
|
21042
20923
|
* @param {string} choiceId The choice identifier
|
|
@@ -21044,7 +20925,7 @@ export declare const BookingsQuestionsChoicesApiAxiosParamCreator: (configuratio
|
|
|
21044
20925
|
* @param {*} [options] Override http request option.
|
|
21045
20926
|
* @throws {RequiredError}
|
|
21046
20927
|
*/
|
|
21047
|
-
updateBookingSpaceQuestionChoice: (
|
|
20928
|
+
updateBookingSpaceQuestionChoice: (spaceId: string, questionId: string, choiceId: string, bookingSpaceQuestionChoiceUpdateInputs: BookingSpaceQuestionChoiceUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21048
20929
|
};
|
|
21049
20930
|
/**
|
|
21050
20931
|
* BookingsQuestionsChoicesApi - functional programming interface
|
|
@@ -21053,40 +20934,36 @@ export declare const BookingsQuestionsChoicesApiFp: (configuration?: Configurati
|
|
|
21053
20934
|
/**
|
|
21054
20935
|
* Creates a new selectable choice for a multiple-choice question on a booking space, requires the update bookings permission.
|
|
21055
20936
|
* @summary Create a booking space question choice
|
|
21056
|
-
* @param {string} placeId The place identifier
|
|
21057
20937
|
* @param {string} spaceId The space identifier
|
|
21058
20938
|
* @param {string} questionId The question identifier
|
|
21059
20939
|
* @param {BookingSpaceQuestionChoiceCreateInputs} bookingSpaceQuestionChoiceCreateInputs
|
|
21060
20940
|
* @param {*} [options] Override http request option.
|
|
21061
20941
|
* @throws {RequiredError}
|
|
21062
20942
|
*/
|
|
21063
|
-
createBookingSpaceQuestionChoice(
|
|
20943
|
+
createBookingSpaceQuestionChoice(spaceId: string, questionId: string, bookingSpaceQuestionChoiceCreateInputs: BookingSpaceQuestionChoiceCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceQuestionChoice200Response>>;
|
|
21064
20944
|
/**
|
|
21065
20945
|
* Permanently deletes a choice from a booking space question by its ID, requires the update bookings permission.
|
|
21066
20946
|
* @summary Delete a booking space question choice
|
|
21067
|
-
* @param {string} placeId The place identifier
|
|
21068
20947
|
* @param {string} spaceId The space identifier
|
|
21069
20948
|
* @param {string} questionId The question identifier
|
|
21070
20949
|
* @param {string} choiceId The choice identifier
|
|
21071
20950
|
* @param {*} [options] Override http request option.
|
|
21072
20951
|
* @throws {RequiredError}
|
|
21073
20952
|
*/
|
|
21074
|
-
deleteBookingSpaceQuestionChoice(
|
|
20953
|
+
deleteBookingSpaceQuestionChoice(spaceId: string, questionId: string, choiceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
21075
20954
|
/**
|
|
21076
20955
|
* Returns a single selectable answer choice for a question on a booking space, identified by place, space, question, and choice ID; requires \"read\" permission on \"bookings\".
|
|
21077
20956
|
* @summary Get a booking space question choice
|
|
21078
|
-
* @param {string} placeId The place identifier
|
|
21079
20957
|
* @param {string} spaceId The space identifier
|
|
21080
20958
|
* @param {string} questionId The question identifier
|
|
21081
20959
|
* @param {string} choiceId The choice identifier
|
|
21082
20960
|
* @param {*} [options] Override http request option.
|
|
21083
20961
|
* @throws {RequiredError}
|
|
21084
20962
|
*/
|
|
21085
|
-
getBookingSpaceQuestionChoice(
|
|
20963
|
+
getBookingSpaceQuestionChoice(spaceId: string, questionId: string, choiceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceQuestionChoice200Response>>;
|
|
21086
20964
|
/**
|
|
21087
20965
|
* Returns a paginated list of selectable answer choices for a given question on a booking space, supporting search and ordering; requires \"read\" permission on \"bookings\".
|
|
21088
20966
|
* @summary List a booking space question\'s choices
|
|
21089
|
-
* @param {string} placeId The place identifier
|
|
21090
20967
|
* @param {string} spaceId The space identifier
|
|
21091
20968
|
* @param {string} questionId The question identifier
|
|
21092
20969
|
* @param {number} [page] Page number
|
|
@@ -21096,22 +20973,20 @@ export declare const BookingsQuestionsChoicesApiFp: (configuration?: Configurati
|
|
|
21096
20973
|
* @param {*} [options] Override http request option.
|
|
21097
20974
|
* @throws {RequiredError}
|
|
21098
20975
|
*/
|
|
21099
|
-
getBookingSpaceQuestionChoices(
|
|
20976
|
+
getBookingSpaceQuestionChoices(spaceId: string, questionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceQuestionChoices200Response>>;
|
|
21100
20977
|
/**
|
|
21101
20978
|
* Sets the display order of a booking space question\'s choices by supplying the full list of choice IDs in the desired sequence, requires the update bookings permission.
|
|
21102
20979
|
* @summary Reorder a booking question\'s choices
|
|
21103
|
-
* @param {string} placeId The place identifier
|
|
21104
20980
|
* @param {string} spaceId The space identifier
|
|
21105
20981
|
* @param {string} questionId The question identifier
|
|
21106
20982
|
* @param {ReorderBookingSpaceQuestionChoicesRequest} reorderBookingSpaceQuestionChoicesRequest
|
|
21107
20983
|
* @param {*} [options] Override http request option.
|
|
21108
20984
|
* @throws {RequiredError}
|
|
21109
20985
|
*/
|
|
21110
|
-
reorderBookingSpaceQuestionChoices(
|
|
20986
|
+
reorderBookingSpaceQuestionChoices(spaceId: string, questionId: string, reorderBookingSpaceQuestionChoicesRequest: ReorderBookingSpaceQuestionChoicesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorderBookingSpaceQuestionChoices200Response>>;
|
|
21111
20987
|
/**
|
|
21112
20988
|
* Updates the details of an existing choice on a booking space question by its ID, requires the update bookings permission.
|
|
21113
20989
|
* @summary Update a booking space question choice
|
|
21114
|
-
* @param {string} placeId The place identifier
|
|
21115
20990
|
* @param {string} spaceId The space identifier
|
|
21116
20991
|
* @param {string} questionId The question identifier
|
|
21117
20992
|
* @param {string} choiceId The choice identifier
|
|
@@ -21119,7 +20994,7 @@ export declare const BookingsQuestionsChoicesApiFp: (configuration?: Configurati
|
|
|
21119
20994
|
* @param {*} [options] Override http request option.
|
|
21120
20995
|
* @throws {RequiredError}
|
|
21121
20996
|
*/
|
|
21122
|
-
updateBookingSpaceQuestionChoice(
|
|
20997
|
+
updateBookingSpaceQuestionChoice(spaceId: string, questionId: string, choiceId: string, bookingSpaceQuestionChoiceUpdateInputs: BookingSpaceQuestionChoiceUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceQuestionChoice200Response>>;
|
|
21123
20998
|
};
|
|
21124
20999
|
/**
|
|
21125
21000
|
* BookingsQuestionsChoicesApi - factory interface
|
|
@@ -21178,10 +21053,6 @@ export declare const BookingsQuestionsChoicesApiFactory: (configuration?: Config
|
|
|
21178
21053
|
* Request parameters for createBookingSpaceQuestionChoice operation in BookingsQuestionsChoicesApi.
|
|
21179
21054
|
*/
|
|
21180
21055
|
export interface BookingsQuestionsChoicesApiCreateBookingSpaceQuestionChoiceRequest {
|
|
21181
|
-
/**
|
|
21182
|
-
* The place identifier
|
|
21183
|
-
*/
|
|
21184
|
-
readonly placeId: string;
|
|
21185
21056
|
/**
|
|
21186
21057
|
* The space identifier
|
|
21187
21058
|
*/
|
|
@@ -21196,10 +21067,6 @@ export interface BookingsQuestionsChoicesApiCreateBookingSpaceQuestionChoiceRequ
|
|
|
21196
21067
|
* Request parameters for deleteBookingSpaceQuestionChoice operation in BookingsQuestionsChoicesApi.
|
|
21197
21068
|
*/
|
|
21198
21069
|
export interface BookingsQuestionsChoicesApiDeleteBookingSpaceQuestionChoiceRequest {
|
|
21199
|
-
/**
|
|
21200
|
-
* The place identifier
|
|
21201
|
-
*/
|
|
21202
|
-
readonly placeId: string;
|
|
21203
21070
|
/**
|
|
21204
21071
|
* The space identifier
|
|
21205
21072
|
*/
|
|
@@ -21217,10 +21084,6 @@ export interface BookingsQuestionsChoicesApiDeleteBookingSpaceQuestionChoiceRequ
|
|
|
21217
21084
|
* Request parameters for getBookingSpaceQuestionChoice operation in BookingsQuestionsChoicesApi.
|
|
21218
21085
|
*/
|
|
21219
21086
|
export interface BookingsQuestionsChoicesApiGetBookingSpaceQuestionChoiceRequest {
|
|
21220
|
-
/**
|
|
21221
|
-
* The place identifier
|
|
21222
|
-
*/
|
|
21223
|
-
readonly placeId: string;
|
|
21224
21087
|
/**
|
|
21225
21088
|
* The space identifier
|
|
21226
21089
|
*/
|
|
@@ -21238,10 +21101,6 @@ export interface BookingsQuestionsChoicesApiGetBookingSpaceQuestionChoiceRequest
|
|
|
21238
21101
|
* Request parameters for getBookingSpaceQuestionChoices operation in BookingsQuestionsChoicesApi.
|
|
21239
21102
|
*/
|
|
21240
21103
|
export interface BookingsQuestionsChoicesApiGetBookingSpaceQuestionChoicesRequest {
|
|
21241
|
-
/**
|
|
21242
|
-
* The place identifier
|
|
21243
|
-
*/
|
|
21244
|
-
readonly placeId: string;
|
|
21245
21104
|
/**
|
|
21246
21105
|
* The space identifier
|
|
21247
21106
|
*/
|
|
@@ -21271,10 +21130,6 @@ export interface BookingsQuestionsChoicesApiGetBookingSpaceQuestionChoicesReques
|
|
|
21271
21130
|
* Request parameters for reorderBookingSpaceQuestionChoices operation in BookingsQuestionsChoicesApi.
|
|
21272
21131
|
*/
|
|
21273
21132
|
export interface BookingsQuestionsChoicesApiReorderBookingSpaceQuestionChoicesRequest {
|
|
21274
|
-
/**
|
|
21275
|
-
* The place identifier
|
|
21276
|
-
*/
|
|
21277
|
-
readonly placeId: string;
|
|
21278
21133
|
/**
|
|
21279
21134
|
* The space identifier
|
|
21280
21135
|
*/
|
|
@@ -21289,10 +21144,6 @@ export interface BookingsQuestionsChoicesApiReorderBookingSpaceQuestionChoicesRe
|
|
|
21289
21144
|
* Request parameters for updateBookingSpaceQuestionChoice operation in BookingsQuestionsChoicesApi.
|
|
21290
21145
|
*/
|
|
21291
21146
|
export interface BookingsQuestionsChoicesApiUpdateBookingSpaceQuestionChoiceRequest {
|
|
21292
|
-
/**
|
|
21293
|
-
* The place identifier
|
|
21294
|
-
*/
|
|
21295
|
-
readonly placeId: string;
|
|
21296
21147
|
/**
|
|
21297
21148
|
* The space identifier
|
|
21298
21149
|
*/
|
|
@@ -21367,7 +21218,6 @@ export declare const BookingsQuestionsChoicesTranslationsApiAxiosParamCreator: (
|
|
|
21367
21218
|
/**
|
|
21368
21219
|
* Removes the translation for a specific locale from a booking space question choice, requires the update bookings permission.
|
|
21369
21220
|
* @summary Delete a booking question choice\'s translation
|
|
21370
|
-
* @param {string} placeId The place identifier
|
|
21371
21221
|
* @param {string} spaceId The space identifier
|
|
21372
21222
|
* @param {string} questionId The question identifier
|
|
21373
21223
|
* @param {string} choiceId The choice identifier
|
|
@@ -21375,11 +21225,10 @@ export declare const BookingsQuestionsChoicesTranslationsApiAxiosParamCreator: (
|
|
|
21375
21225
|
* @param {*} [options] Override http request option.
|
|
21376
21226
|
* @throws {RequiredError}
|
|
21377
21227
|
*/
|
|
21378
|
-
deleteBookingSpaceQuestionChoiceTranslation: (
|
|
21228
|
+
deleteBookingSpaceQuestionChoiceTranslation: (spaceId: string, questionId: string, choiceId: string, locale: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21379
21229
|
/**
|
|
21380
21230
|
* Returns the translated text for a booking space question choice in the given locale, or null if no translation exists for that locale; requires \"read\" permission on \"bookings\".
|
|
21381
21231
|
* @summary Get a booking question choice\'s translation
|
|
21382
|
-
* @param {string} placeId The place identifier
|
|
21383
21232
|
* @param {string} spaceId The space identifier
|
|
21384
21233
|
* @param {string} questionId The question identifier
|
|
21385
21234
|
* @param {string} choiceId The choice identifier
|
|
@@ -21387,22 +21236,20 @@ export declare const BookingsQuestionsChoicesTranslationsApiAxiosParamCreator: (
|
|
|
21387
21236
|
* @param {*} [options] Override http request option.
|
|
21388
21237
|
* @throws {RequiredError}
|
|
21389
21238
|
*/
|
|
21390
|
-
getBookingSpaceQuestionChoiceTranslation: (
|
|
21239
|
+
getBookingSpaceQuestionChoiceTranslation: (spaceId: string, questionId: string, choiceId: string, locale: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21391
21240
|
/**
|
|
21392
21241
|
* Returns the list of locale translations for a single answer choice on a booking space question; requires \"read\" permission on \"bookings\".
|
|
21393
21242
|
* @summary List a booking question choice\'s translations
|
|
21394
|
-
* @param {string} placeId The place identifier
|
|
21395
21243
|
* @param {string} spaceId The space identifier
|
|
21396
21244
|
* @param {string} questionId The question identifier
|
|
21397
21245
|
* @param {string} choiceId The choice identifier
|
|
21398
21246
|
* @param {*} [options] Override http request option.
|
|
21399
21247
|
* @throws {RequiredError}
|
|
21400
21248
|
*/
|
|
21401
|
-
getBookingSpaceQuestionChoiceTranslations: (
|
|
21249
|
+
getBookingSpaceQuestionChoiceTranslations: (spaceId: string, questionId: string, choiceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21402
21250
|
/**
|
|
21403
21251
|
* Updates the translated label for a booking space question choice in the given locale, requires the update bookings permission.
|
|
21404
21252
|
* @summary Update a booking question choice\'s translation
|
|
21405
|
-
* @param {string} placeId The place identifier
|
|
21406
21253
|
* @param {string} spaceId The space identifier
|
|
21407
21254
|
* @param {string} questionId The question identifier
|
|
21408
21255
|
* @param {string} choiceId The choice identifier
|
|
@@ -21411,7 +21258,7 @@ export declare const BookingsQuestionsChoicesTranslationsApiAxiosParamCreator: (
|
|
|
21411
21258
|
* @param {*} [options] Override http request option.
|
|
21412
21259
|
* @throws {RequiredError}
|
|
21413
21260
|
*/
|
|
21414
|
-
updateBookingSpaceQuestionChoiceTranslation: (
|
|
21261
|
+
updateBookingSpaceQuestionChoiceTranslation: (spaceId: string, questionId: string, choiceId: string, locale: string, bookingSpaceQuestionChoiceTranslationUpdateInputs: BookingSpaceQuestionChoiceTranslationUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21415
21262
|
};
|
|
21416
21263
|
/**
|
|
21417
21264
|
* BookingsQuestionsChoicesTranslationsApi - functional programming interface
|
|
@@ -21420,7 +21267,6 @@ export declare const BookingsQuestionsChoicesTranslationsApiFp: (configuration?:
|
|
|
21420
21267
|
/**
|
|
21421
21268
|
* Removes the translation for a specific locale from a booking space question choice, requires the update bookings permission.
|
|
21422
21269
|
* @summary Delete a booking question choice\'s translation
|
|
21423
|
-
* @param {string} placeId The place identifier
|
|
21424
21270
|
* @param {string} spaceId The space identifier
|
|
21425
21271
|
* @param {string} questionId The question identifier
|
|
21426
21272
|
* @param {string} choiceId The choice identifier
|
|
@@ -21428,11 +21274,10 @@ export declare const BookingsQuestionsChoicesTranslationsApiFp: (configuration?:
|
|
|
21428
21274
|
* @param {*} [options] Override http request option.
|
|
21429
21275
|
* @throws {RequiredError}
|
|
21430
21276
|
*/
|
|
21431
|
-
deleteBookingSpaceQuestionChoiceTranslation(
|
|
21277
|
+
deleteBookingSpaceQuestionChoiceTranslation(spaceId: string, questionId: string, choiceId: string, locale: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>>;
|
|
21432
21278
|
/**
|
|
21433
21279
|
* Returns the translated text for a booking space question choice in the given locale, or null if no translation exists for that locale; requires \"read\" permission on \"bookings\".
|
|
21434
21280
|
* @summary Get a booking question choice\'s translation
|
|
21435
|
-
* @param {string} placeId The place identifier
|
|
21436
21281
|
* @param {string} spaceId The space identifier
|
|
21437
21282
|
* @param {string} questionId The question identifier
|
|
21438
21283
|
* @param {string} choiceId The choice identifier
|
|
@@ -21440,22 +21285,20 @@ export declare const BookingsQuestionsChoicesTranslationsApiFp: (configuration?:
|
|
|
21440
21285
|
* @param {*} [options] Override http request option.
|
|
21441
21286
|
* @throws {RequiredError}
|
|
21442
21287
|
*/
|
|
21443
|
-
getBookingSpaceQuestionChoiceTranslation(
|
|
21288
|
+
getBookingSpaceQuestionChoiceTranslation(spaceId: string, questionId: string, choiceId: string, locale: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceQuestionChoiceTranslation200Response>>;
|
|
21444
21289
|
/**
|
|
21445
21290
|
* Returns the list of locale translations for a single answer choice on a booking space question; requires \"read\" permission on \"bookings\".
|
|
21446
21291
|
* @summary List a booking question choice\'s translations
|
|
21447
|
-
* @param {string} placeId The place identifier
|
|
21448
21292
|
* @param {string} spaceId The space identifier
|
|
21449
21293
|
* @param {string} questionId The question identifier
|
|
21450
21294
|
* @param {string} choiceId The choice identifier
|
|
21451
21295
|
* @param {*} [options] Override http request option.
|
|
21452
21296
|
* @throws {RequiredError}
|
|
21453
21297
|
*/
|
|
21454
|
-
getBookingSpaceQuestionChoiceTranslations(
|
|
21298
|
+
getBookingSpaceQuestionChoiceTranslations(spaceId: string, questionId: string, choiceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceQuestionChoiceTranslations200Response>>;
|
|
21455
21299
|
/**
|
|
21456
21300
|
* Updates the translated label for a booking space question choice in the given locale, requires the update bookings permission.
|
|
21457
21301
|
* @summary Update a booking question choice\'s translation
|
|
21458
|
-
* @param {string} placeId The place identifier
|
|
21459
21302
|
* @param {string} spaceId The space identifier
|
|
21460
21303
|
* @param {string} questionId The question identifier
|
|
21461
21304
|
* @param {string} choiceId The choice identifier
|
|
@@ -21464,7 +21307,7 @@ export declare const BookingsQuestionsChoicesTranslationsApiFp: (configuration?:
|
|
|
21464
21307
|
* @param {*} [options] Override http request option.
|
|
21465
21308
|
* @throws {RequiredError}
|
|
21466
21309
|
*/
|
|
21467
|
-
updateBookingSpaceQuestionChoiceTranslation(
|
|
21310
|
+
updateBookingSpaceQuestionChoiceTranslation(spaceId: string, questionId: string, choiceId: string, locale: string, bookingSpaceQuestionChoiceTranslationUpdateInputs: BookingSpaceQuestionChoiceTranslationUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBookingSpaceQuestionChoiceTranslation200Response>>;
|
|
21468
21311
|
};
|
|
21469
21312
|
/**
|
|
21470
21313
|
* BookingsQuestionsChoicesTranslationsApi - factory interface
|
|
@@ -21507,10 +21350,6 @@ export declare const BookingsQuestionsChoicesTranslationsApiFactory: (configurat
|
|
|
21507
21350
|
* Request parameters for deleteBookingSpaceQuestionChoiceTranslation operation in BookingsQuestionsChoicesTranslationsApi.
|
|
21508
21351
|
*/
|
|
21509
21352
|
export interface BookingsQuestionsChoicesTranslationsApiDeleteBookingSpaceQuestionChoiceTranslationRequest {
|
|
21510
|
-
/**
|
|
21511
|
-
* The place identifier
|
|
21512
|
-
*/
|
|
21513
|
-
readonly placeId: string;
|
|
21514
21353
|
/**
|
|
21515
21354
|
* The space identifier
|
|
21516
21355
|
*/
|
|
@@ -21532,10 +21371,6 @@ export interface BookingsQuestionsChoicesTranslationsApiDeleteBookingSpaceQuesti
|
|
|
21532
21371
|
* Request parameters for getBookingSpaceQuestionChoiceTranslation operation in BookingsQuestionsChoicesTranslationsApi.
|
|
21533
21372
|
*/
|
|
21534
21373
|
export interface BookingsQuestionsChoicesTranslationsApiGetBookingSpaceQuestionChoiceTranslationRequest {
|
|
21535
|
-
/**
|
|
21536
|
-
* The place identifier
|
|
21537
|
-
*/
|
|
21538
|
-
readonly placeId: string;
|
|
21539
21374
|
/**
|
|
21540
21375
|
* The space identifier
|
|
21541
21376
|
*/
|
|
@@ -21557,10 +21392,6 @@ export interface BookingsQuestionsChoicesTranslationsApiGetBookingSpaceQuestionC
|
|
|
21557
21392
|
* Request parameters for getBookingSpaceQuestionChoiceTranslations operation in BookingsQuestionsChoicesTranslationsApi.
|
|
21558
21393
|
*/
|
|
21559
21394
|
export interface BookingsQuestionsChoicesTranslationsApiGetBookingSpaceQuestionChoiceTranslationsRequest {
|
|
21560
|
-
/**
|
|
21561
|
-
* The place identifier
|
|
21562
|
-
*/
|
|
21563
|
-
readonly placeId: string;
|
|
21564
21395
|
/**
|
|
21565
21396
|
* The space identifier
|
|
21566
21397
|
*/
|
|
@@ -21578,10 +21409,6 @@ export interface BookingsQuestionsChoicesTranslationsApiGetBookingSpaceQuestionC
|
|
|
21578
21409
|
* Request parameters for updateBookingSpaceQuestionChoiceTranslation operation in BookingsQuestionsChoicesTranslationsApi.
|
|
21579
21410
|
*/
|
|
21580
21411
|
export interface BookingsQuestionsChoicesTranslationsApiUpdateBookingSpaceQuestionChoiceTranslationRequest {
|
|
21581
|
-
/**
|
|
21582
|
-
* The place identifier
|
|
21583
|
-
*/
|
|
21584
|
-
readonly placeId: string;
|
|
21585
21412
|
/**
|
|
21586
21413
|
* The space identifier
|
|
21587
21414
|
*/
|
|
@@ -21644,39 +21471,35 @@ export declare const BookingsQuestionsTranslationsApiAxiosParamCreator: (configu
|
|
|
21644
21471
|
/**
|
|
21645
21472
|
* Deletes the translation for the given locale on a booking space question, removing that language\'s localized label, description, and other translated fields; requires update permission on bookings.
|
|
21646
21473
|
* @summary Delete a booking question translation
|
|
21647
|
-
* @param {string} placeId The place identifier
|
|
21648
21474
|
* @param {string} spaceId The space identifier
|
|
21649
21475
|
* @param {string} questionId The question identifier
|
|
21650
21476
|
* @param {string} locale The locale identifier
|
|
21651
21477
|
* @param {*} [options] Override http request option.
|
|
21652
21478
|
* @throws {RequiredError}
|
|
21653
21479
|
*/
|
|
21654
|
-
deleteBookingSpaceQuestionTranslation: (
|
|
21480
|
+
deleteBookingSpaceQuestionTranslation: (spaceId: string, questionId: string, locale: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21655
21481
|
/**
|
|
21656
21482
|
* Retrieves the translated label, description, and choices for a booking space question in a specific locale, returning null if no translation exists for that locale; requires the \"read\" permission on \"bookings\".
|
|
21657
21483
|
* @summary Get a booking question\'s translation
|
|
21658
|
-
* @param {string} placeId The place identifier
|
|
21659
21484
|
* @param {string} spaceId The space identifier
|
|
21660
21485
|
* @param {string} questionId The question identifier
|
|
21661
21486
|
* @param {string} locale The locale identifier
|
|
21662
21487
|
* @param {*} [options] Override http request option.
|
|
21663
21488
|
* @throws {RequiredError}
|
|
21664
21489
|
*/
|
|
21665
|
-
getBookingSpaceQuestionTranslation: (
|
|
21490
|
+
getBookingSpaceQuestionTranslation: (spaceId: string, questionId: string, locale: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21666
21491
|
/**
|
|
21667
21492
|
* Returns every locale translation available for a single booking space question, covering its label, description, and choice text; requires the \"read\" permission on \"bookings\".
|
|
21668
21493
|
* @summary List a booking question\'s translations
|
|
21669
|
-
* @param {string} placeId The place identifier
|
|
21670
21494
|
* @param {string} spaceId The space identifier
|
|
21671
21495
|
* @param {string} questionId The question identifier
|
|
21672
21496
|
* @param {*} [options] Override http request option.
|
|
21673
21497
|
* @throws {RequiredError}
|
|
21674
21498
|
*/
|
|
21675
|
-
getBookingSpaceQuestionTranslations: (
|
|
21499
|
+
getBookingSpaceQuestionTranslations: (spaceId: string, questionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21676
21500
|
/**
|
|
21677
21501
|
* Creates or updates the localized content (such as label and description) for a booking space question in the given locale; requires update permission on bookings.
|
|
21678
21502
|
* @summary Update a booking question translation
|
|
21679
|
-
* @param {string} placeId The place identifier
|
|
21680
21503
|
* @param {string} spaceId The space identifier
|
|
21681
21504
|
* @param {string} questionId The question identifier
|
|
21682
21505
|
* @param {string} locale The locale identifier
|
|
@@ -21684,7 +21507,7 @@ export declare const BookingsQuestionsTranslationsApiAxiosParamCreator: (configu
|
|
|
21684
21507
|
* @param {*} [options] Override http request option.
|
|
21685
21508
|
* @throws {RequiredError}
|
|
21686
21509
|
*/
|
|
21687
|
-
updateBookingSpaceQuestionTranslation: (
|
|
21510
|
+
updateBookingSpaceQuestionTranslation: (spaceId: string, questionId: string, locale: string, bookingSpaceQuestionTranslationUpdateInputs: BookingSpaceQuestionTranslationUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21688
21511
|
};
|
|
21689
21512
|
/**
|
|
21690
21513
|
* BookingsQuestionsTranslationsApi - functional programming interface
|
|
@@ -21693,39 +21516,35 @@ export declare const BookingsQuestionsTranslationsApiFp: (configuration?: Config
|
|
|
21693
21516
|
/**
|
|
21694
21517
|
* Deletes the translation for the given locale on a booking space question, removing that language\'s localized label, description, and other translated fields; requires update permission on bookings.
|
|
21695
21518
|
* @summary Delete a booking question translation
|
|
21696
|
-
* @param {string} placeId The place identifier
|
|
21697
21519
|
* @param {string} spaceId The space identifier
|
|
21698
21520
|
* @param {string} questionId The question identifier
|
|
21699
21521
|
* @param {string} locale The locale identifier
|
|
21700
21522
|
* @param {*} [options] Override http request option.
|
|
21701
21523
|
* @throws {RequiredError}
|
|
21702
21524
|
*/
|
|
21703
|
-
deleteBookingSpaceQuestionTranslation(
|
|
21525
|
+
deleteBookingSpaceQuestionTranslation(spaceId: string, questionId: string, locale: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>>;
|
|
21704
21526
|
/**
|
|
21705
21527
|
* Retrieves the translated label, description, and choices for a booking space question in a specific locale, returning null if no translation exists for that locale; requires the \"read\" permission on \"bookings\".
|
|
21706
21528
|
* @summary Get a booking question\'s translation
|
|
21707
|
-
* @param {string} placeId The place identifier
|
|
21708
21529
|
* @param {string} spaceId The space identifier
|
|
21709
21530
|
* @param {string} questionId The question identifier
|
|
21710
21531
|
* @param {string} locale The locale identifier
|
|
21711
21532
|
* @param {*} [options] Override http request option.
|
|
21712
21533
|
* @throws {RequiredError}
|
|
21713
21534
|
*/
|
|
21714
|
-
getBookingSpaceQuestionTranslation(
|
|
21535
|
+
getBookingSpaceQuestionTranslation(spaceId: string, questionId: string, locale: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceQuestionTranslation200Response>>;
|
|
21715
21536
|
/**
|
|
21716
21537
|
* Returns every locale translation available for a single booking space question, covering its label, description, and choice text; requires the \"read\" permission on \"bookings\".
|
|
21717
21538
|
* @summary List a booking question\'s translations
|
|
21718
|
-
* @param {string} placeId The place identifier
|
|
21719
21539
|
* @param {string} spaceId The space identifier
|
|
21720
21540
|
* @param {string} questionId The question identifier
|
|
21721
21541
|
* @param {*} [options] Override http request option.
|
|
21722
21542
|
* @throws {RequiredError}
|
|
21723
21543
|
*/
|
|
21724
|
-
getBookingSpaceQuestionTranslations(
|
|
21544
|
+
getBookingSpaceQuestionTranslations(spaceId: string, questionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceQuestionTranslations200Response>>;
|
|
21725
21545
|
/**
|
|
21726
21546
|
* Creates or updates the localized content (such as label and description) for a booking space question in the given locale; requires update permission on bookings.
|
|
21727
21547
|
* @summary Update a booking question translation
|
|
21728
|
-
* @param {string} placeId The place identifier
|
|
21729
21548
|
* @param {string} spaceId The space identifier
|
|
21730
21549
|
* @param {string} questionId The question identifier
|
|
21731
21550
|
* @param {string} locale The locale identifier
|
|
@@ -21733,7 +21552,7 @@ export declare const BookingsQuestionsTranslationsApiFp: (configuration?: Config
|
|
|
21733
21552
|
* @param {*} [options] Override http request option.
|
|
21734
21553
|
* @throws {RequiredError}
|
|
21735
21554
|
*/
|
|
21736
|
-
updateBookingSpaceQuestionTranslation(
|
|
21555
|
+
updateBookingSpaceQuestionTranslation(spaceId: string, questionId: string, locale: string, bookingSpaceQuestionTranslationUpdateInputs: BookingSpaceQuestionTranslationUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBookingSpaceQuestionTranslation200Response>>;
|
|
21737
21556
|
};
|
|
21738
21557
|
/**
|
|
21739
21558
|
* BookingsQuestionsTranslationsApi - factory interface
|
|
@@ -21776,10 +21595,6 @@ export declare const BookingsQuestionsTranslationsApiFactory: (configuration?: C
|
|
|
21776
21595
|
* Request parameters for deleteBookingSpaceQuestionTranslation operation in BookingsQuestionsTranslationsApi.
|
|
21777
21596
|
*/
|
|
21778
21597
|
export interface BookingsQuestionsTranslationsApiDeleteBookingSpaceQuestionTranslationRequest {
|
|
21779
|
-
/**
|
|
21780
|
-
* The place identifier
|
|
21781
|
-
*/
|
|
21782
|
-
readonly placeId: string;
|
|
21783
21598
|
/**
|
|
21784
21599
|
* The space identifier
|
|
21785
21600
|
*/
|
|
@@ -21797,10 +21612,6 @@ export interface BookingsQuestionsTranslationsApiDeleteBookingSpaceQuestionTrans
|
|
|
21797
21612
|
* Request parameters for getBookingSpaceQuestionTranslation operation in BookingsQuestionsTranslationsApi.
|
|
21798
21613
|
*/
|
|
21799
21614
|
export interface BookingsQuestionsTranslationsApiGetBookingSpaceQuestionTranslationRequest {
|
|
21800
|
-
/**
|
|
21801
|
-
* The place identifier
|
|
21802
|
-
*/
|
|
21803
|
-
readonly placeId: string;
|
|
21804
21615
|
/**
|
|
21805
21616
|
* The space identifier
|
|
21806
21617
|
*/
|
|
@@ -21818,10 +21629,6 @@ export interface BookingsQuestionsTranslationsApiGetBookingSpaceQuestionTranslat
|
|
|
21818
21629
|
* Request parameters for getBookingSpaceQuestionTranslations operation in BookingsQuestionsTranslationsApi.
|
|
21819
21630
|
*/
|
|
21820
21631
|
export interface BookingsQuestionsTranslationsApiGetBookingSpaceQuestionTranslationsRequest {
|
|
21821
|
-
/**
|
|
21822
|
-
* The place identifier
|
|
21823
|
-
*/
|
|
21824
|
-
readonly placeId: string;
|
|
21825
21632
|
/**
|
|
21826
21633
|
* The space identifier
|
|
21827
21634
|
*/
|
|
@@ -21835,10 +21642,6 @@ export interface BookingsQuestionsTranslationsApiGetBookingSpaceQuestionTranslat
|
|
|
21835
21642
|
* Request parameters for updateBookingSpaceQuestionTranslation operation in BookingsQuestionsTranslationsApi.
|
|
21836
21643
|
*/
|
|
21837
21644
|
export interface BookingsQuestionsTranslationsApiUpdateBookingSpaceQuestionTranslationRequest {
|
|
21838
|
-
/**
|
|
21839
|
-
* The place identifier
|
|
21840
|
-
*/
|
|
21841
|
-
readonly placeId: string;
|
|
21842
21645
|
/**
|
|
21843
21646
|
* The space identifier
|
|
21844
21647
|
*/
|
|
@@ -21910,14 +21713,13 @@ export declare const BookingsResponsesApiAxiosParamCreator: (configuration?: Con
|
|
|
21910
21713
|
/**
|
|
21911
21714
|
* Bulk-updates the answers submitted to a booking space\'s custom questions for a specific booking, requires read and update permission on bookings.
|
|
21912
21715
|
* @summary Update a booking\'s question responses
|
|
21913
|
-
* @param {string} placeId The place identifier
|
|
21914
21716
|
* @param {string} spaceId The space identifier
|
|
21915
21717
|
* @param {string} bookingId The booking identifier
|
|
21916
21718
|
* @param {UpdateBookingResponsesInputs} updateBookingResponsesInputs
|
|
21917
21719
|
* @param {*} [options] Override http request option.
|
|
21918
21720
|
* @throws {RequiredError}
|
|
21919
21721
|
*/
|
|
21920
|
-
updateBookingResponses: (
|
|
21722
|
+
updateBookingResponses: (spaceId: string, bookingId: string, updateBookingResponsesInputs: UpdateBookingResponsesInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21921
21723
|
};
|
|
21922
21724
|
/**
|
|
21923
21725
|
* BookingsResponsesApi - functional programming interface
|
|
@@ -21939,14 +21741,13 @@ export declare const BookingsResponsesApiFp: (configuration?: Configuration) =>
|
|
|
21939
21741
|
/**
|
|
21940
21742
|
* Bulk-updates the answers submitted to a booking space\'s custom questions for a specific booking, requires read and update permission on bookings.
|
|
21941
21743
|
* @summary Update a booking\'s question responses
|
|
21942
|
-
* @param {string} placeId The place identifier
|
|
21943
21744
|
* @param {string} spaceId The space identifier
|
|
21944
21745
|
* @param {string} bookingId The booking identifier
|
|
21945
21746
|
* @param {UpdateBookingResponsesInputs} updateBookingResponsesInputs
|
|
21946
21747
|
* @param {*} [options] Override http request option.
|
|
21947
21748
|
* @throws {RequiredError}
|
|
21948
21749
|
*/
|
|
21949
|
-
updateBookingResponses(
|
|
21750
|
+
updateBookingResponses(spaceId: string, bookingId: string, updateBookingResponsesInputs: UpdateBookingResponsesInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
21950
21751
|
};
|
|
21951
21752
|
/**
|
|
21952
21753
|
* BookingsResponsesApi - factory interface
|
|
@@ -22002,10 +21803,6 @@ export interface BookingsResponsesApiGetBookingResponseChangesRequest {
|
|
|
22002
21803
|
* Request parameters for updateBookingResponses operation in BookingsResponsesApi.
|
|
22003
21804
|
*/
|
|
22004
21805
|
export interface BookingsResponsesApiUpdateBookingResponsesRequest {
|
|
22005
|
-
/**
|
|
22006
|
-
* The place identifier
|
|
22007
|
-
*/
|
|
22008
|
-
readonly placeId: string;
|
|
22009
21806
|
/**
|
|
22010
21807
|
* The space identifier
|
|
22011
21808
|
*/
|
|
@@ -22042,73 +21839,67 @@ export declare class BookingsResponsesApi extends BaseAPI {
|
|
|
22042
21839
|
*/
|
|
22043
21840
|
export declare const BookingsSpacesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22044
21841
|
/**
|
|
22045
|
-
* Creates a new bookable space
|
|
21842
|
+
* Creates a new bookable space optionally linked to any combination of place, event, group, and account parent ids (all null = no parents; still appears in the org-wide list), requires the update bookings permission, and assigns the space a sort order relative to existing spaces if none is provided.
|
|
22046
21843
|
* @summary Create a booking space
|
|
22047
|
-
* @param {string} placeId The place identifier
|
|
22048
21844
|
* @param {BookingSpaceCreateInputs} bookingSpaceCreateInputs
|
|
22049
21845
|
* @param {*} [options] Override http request option.
|
|
22050
21846
|
* @throws {RequiredError}
|
|
22051
21847
|
*/
|
|
22052
|
-
createBookingSpace: (
|
|
21848
|
+
createBookingSpace: (bookingSpaceCreateInputs: BookingSpaceCreateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22053
21849
|
/**
|
|
22054
|
-
* Deletes a booking space
|
|
21850
|
+
* Deletes a booking space, requires the update bookings permission, and fails if the space still has existing bookings.
|
|
22055
21851
|
* @summary Delete a booking space
|
|
22056
|
-
* @param {string} placeId The place identifier
|
|
22057
21852
|
* @param {string} spaceId The space identifier
|
|
22058
21853
|
* @param {*} [options] Override http request option.
|
|
22059
21854
|
* @throws {RequiredError}
|
|
22060
21855
|
*/
|
|
22061
|
-
deleteBookingSpace: (
|
|
21856
|
+
deleteBookingSpace: (spaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22062
21857
|
/**
|
|
22063
|
-
* Updates the attributes of an existing booking space
|
|
21858
|
+
* Updates the attributes of an existing booking space, including optional parent link changes (any combination of place/event/group/account ids; send null to unlink), and requires the update bookings permission.
|
|
22064
21859
|
* @summary Update a booking space
|
|
22065
|
-
* @param {string} placeId The place identifier
|
|
22066
21860
|
* @param {string} spaceId The space identifier
|
|
22067
21861
|
* @param {BookingSpaceUpdateInputs} bookingSpaceUpdateInputs
|
|
22068
21862
|
* @param {*} [options] Override http request option.
|
|
22069
21863
|
* @throws {RequiredError}
|
|
22070
21864
|
*/
|
|
22071
|
-
updateBookingSpace: (
|
|
21865
|
+
updateBookingSpace: (spaceId: string, bookingSpaceUpdateInputs: BookingSpaceUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22072
21866
|
};
|
|
22073
21867
|
/**
|
|
22074
21868
|
* BookingsSpacesApi - functional programming interface
|
|
22075
21869
|
*/
|
|
22076
21870
|
export declare const BookingsSpacesApiFp: (configuration?: Configuration) => {
|
|
22077
21871
|
/**
|
|
22078
|
-
* Creates a new bookable space
|
|
21872
|
+
* Creates a new bookable space optionally linked to any combination of place, event, group, and account parent ids (all null = no parents; still appears in the org-wide list), requires the update bookings permission, and assigns the space a sort order relative to existing spaces if none is provided.
|
|
22079
21873
|
* @summary Create a booking space
|
|
22080
|
-
* @param {string} placeId The place identifier
|
|
22081
21874
|
* @param {BookingSpaceCreateInputs} bookingSpaceCreateInputs
|
|
22082
21875
|
* @param {*} [options] Override http request option.
|
|
22083
21876
|
* @throws {RequiredError}
|
|
22084
21877
|
*/
|
|
22085
|
-
createBookingSpace(
|
|
21878
|
+
createBookingSpace(bookingSpaceCreateInputs: BookingSpaceCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpace200Response>>;
|
|
22086
21879
|
/**
|
|
22087
|
-
* Deletes a booking space
|
|
21880
|
+
* Deletes a booking space, requires the update bookings permission, and fails if the space still has existing bookings.
|
|
22088
21881
|
* @summary Delete a booking space
|
|
22089
|
-
* @param {string} placeId The place identifier
|
|
22090
21882
|
* @param {string} spaceId The space identifier
|
|
22091
21883
|
* @param {*} [options] Override http request option.
|
|
22092
21884
|
* @throws {RequiredError}
|
|
22093
21885
|
*/
|
|
22094
|
-
deleteBookingSpace(
|
|
21886
|
+
deleteBookingSpace(spaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
22095
21887
|
/**
|
|
22096
|
-
* Updates the attributes of an existing booking space
|
|
21888
|
+
* Updates the attributes of an existing booking space, including optional parent link changes (any combination of place/event/group/account ids; send null to unlink), and requires the update bookings permission.
|
|
22097
21889
|
* @summary Update a booking space
|
|
22098
|
-
* @param {string} placeId The place identifier
|
|
22099
21890
|
* @param {string} spaceId The space identifier
|
|
22100
21891
|
* @param {BookingSpaceUpdateInputs} bookingSpaceUpdateInputs
|
|
22101
21892
|
* @param {*} [options] Override http request option.
|
|
22102
21893
|
* @throws {RequiredError}
|
|
22103
21894
|
*/
|
|
22104
|
-
updateBookingSpace(
|
|
21895
|
+
updateBookingSpace(spaceId: string, bookingSpaceUpdateInputs: BookingSpaceUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpace200Response>>;
|
|
22105
21896
|
};
|
|
22106
21897
|
/**
|
|
22107
21898
|
* BookingsSpacesApi - factory interface
|
|
22108
21899
|
*/
|
|
22109
21900
|
export declare const BookingsSpacesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
22110
21901
|
/**
|
|
22111
|
-
* Creates a new bookable space
|
|
21902
|
+
* Creates a new bookable space optionally linked to any combination of place, event, group, and account parent ids (all null = no parents; still appears in the org-wide list), requires the update bookings permission, and assigns the space a sort order relative to existing spaces if none is provided.
|
|
22112
21903
|
* @summary Create a booking space
|
|
22113
21904
|
* @param {BookingsSpacesApiCreateBookingSpaceRequest} requestParameters Request parameters.
|
|
22114
21905
|
* @param {*} [options] Override http request option.
|
|
@@ -22116,7 +21907,7 @@ export declare const BookingsSpacesApiFactory: (configuration?: Configuration, b
|
|
|
22116
21907
|
*/
|
|
22117
21908
|
createBookingSpace(requestParameters: BookingsSpacesApiCreateBookingSpaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBookingSpace200Response>;
|
|
22118
21909
|
/**
|
|
22119
|
-
* Deletes a booking space
|
|
21910
|
+
* Deletes a booking space, requires the update bookings permission, and fails if the space still has existing bookings.
|
|
22120
21911
|
* @summary Delete a booking space
|
|
22121
21912
|
* @param {BookingsSpacesApiDeleteBookingSpaceRequest} requestParameters Request parameters.
|
|
22122
21913
|
* @param {*} [options] Override http request option.
|
|
@@ -22124,7 +21915,7 @@ export declare const BookingsSpacesApiFactory: (configuration?: Configuration, b
|
|
|
22124
21915
|
*/
|
|
22125
21916
|
deleteBookingSpace(requestParameters: BookingsSpacesApiDeleteBookingSpaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response>;
|
|
22126
21917
|
/**
|
|
22127
|
-
* Updates the attributes of an existing booking space
|
|
21918
|
+
* Updates the attributes of an existing booking space, including optional parent link changes (any combination of place/event/group/account ids; send null to unlink), and requires the update bookings permission.
|
|
22128
21919
|
* @summary Update a booking space
|
|
22129
21920
|
* @param {BookingsSpacesApiUpdateBookingSpaceRequest} requestParameters Request parameters.
|
|
22130
21921
|
* @param {*} [options] Override http request option.
|
|
@@ -22136,20 +21927,12 @@ export declare const BookingsSpacesApiFactory: (configuration?: Configuration, b
|
|
|
22136
21927
|
* Request parameters for createBookingSpace operation in BookingsSpacesApi.
|
|
22137
21928
|
*/
|
|
22138
21929
|
export interface BookingsSpacesApiCreateBookingSpaceRequest {
|
|
22139
|
-
/**
|
|
22140
|
-
* The place identifier
|
|
22141
|
-
*/
|
|
22142
|
-
readonly placeId: string;
|
|
22143
21930
|
readonly bookingSpaceCreateInputs: BookingSpaceCreateInputs;
|
|
22144
21931
|
}
|
|
22145
21932
|
/**
|
|
22146
21933
|
* Request parameters for deleteBookingSpace operation in BookingsSpacesApi.
|
|
22147
21934
|
*/
|
|
22148
21935
|
export interface BookingsSpacesApiDeleteBookingSpaceRequest {
|
|
22149
|
-
/**
|
|
22150
|
-
* The place identifier
|
|
22151
|
-
*/
|
|
22152
|
-
readonly placeId: string;
|
|
22153
21936
|
/**
|
|
22154
21937
|
* The space identifier
|
|
22155
21938
|
*/
|
|
@@ -22159,10 +21942,6 @@ export interface BookingsSpacesApiDeleteBookingSpaceRequest {
|
|
|
22159
21942
|
* Request parameters for updateBookingSpace operation in BookingsSpacesApi.
|
|
22160
21943
|
*/
|
|
22161
21944
|
export interface BookingsSpacesApiUpdateBookingSpaceRequest {
|
|
22162
|
-
/**
|
|
22163
|
-
* The place identifier
|
|
22164
|
-
*/
|
|
22165
|
-
readonly placeId: string;
|
|
22166
21945
|
/**
|
|
22167
21946
|
* The space identifier
|
|
22168
21947
|
*/
|
|
@@ -22174,7 +21953,7 @@ export interface BookingsSpacesApiUpdateBookingSpaceRequest {
|
|
|
22174
21953
|
*/
|
|
22175
21954
|
export declare class BookingsSpacesApi extends BaseAPI {
|
|
22176
21955
|
/**
|
|
22177
|
-
* Creates a new bookable space
|
|
21956
|
+
* Creates a new bookable space optionally linked to any combination of place, event, group, and account parent ids (all null = no parents; still appears in the org-wide list), requires the update bookings permission, and assigns the space a sort order relative to existing spaces if none is provided.
|
|
22178
21957
|
* @summary Create a booking space
|
|
22179
21958
|
* @param {BookingsSpacesApiCreateBookingSpaceRequest} requestParameters Request parameters.
|
|
22180
21959
|
* @param {*} [options] Override http request option.
|
|
@@ -22182,7 +21961,7 @@ export declare class BookingsSpacesApi extends BaseAPI {
|
|
|
22182
21961
|
*/
|
|
22183
21962
|
createBookingSpace(requestParameters: BookingsSpacesApiCreateBookingSpaceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBookingSpace200Response, any, {}>>;
|
|
22184
21963
|
/**
|
|
22185
|
-
* Deletes a booking space
|
|
21964
|
+
* Deletes a booking space, requires the update bookings permission, and fails if the space still has existing bookings.
|
|
22186
21965
|
* @summary Delete a booking space
|
|
22187
21966
|
* @param {BookingsSpacesApiDeleteBookingSpaceRequest} requestParameters Request parameters.
|
|
22188
21967
|
* @param {*} [options] Override http request option.
|
|
@@ -22190,7 +21969,7 @@ export declare class BookingsSpacesApi extends BaseAPI {
|
|
|
22190
21969
|
*/
|
|
22191
21970
|
deleteBookingSpace(requestParameters: BookingsSpacesApiDeleteBookingSpaceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountInvitations200Response, any, {}>>;
|
|
22192
21971
|
/**
|
|
22193
|
-
* Updates the attributes of an existing booking space
|
|
21972
|
+
* Updates the attributes of an existing booking space, including optional parent link changes (any combination of place/event/group/account ids; send null to unlink), and requires the update bookings permission.
|
|
22194
21973
|
* @summary Update a booking space
|
|
22195
21974
|
* @param {BookingsSpacesApiUpdateBookingSpaceRequest} requestParameters Request parameters.
|
|
22196
21975
|
* @param {*} [options] Override http request option.
|
|
@@ -22205,24 +21984,22 @@ export declare const BookingsSpacesTranslationsApiAxiosParamCreator: (configurat
|
|
|
22205
21984
|
/**
|
|
22206
21985
|
* Deletes the translation for the given locale on a booking space, removing that language\'s localized name and other translated fields; requires update permission on bookings.
|
|
22207
21986
|
* @summary Delete a booking space translation
|
|
22208
|
-
* @param {string} placeId The place identifier
|
|
22209
21987
|
* @param {string} spaceId The space identifier
|
|
22210
21988
|
* @param {string} locale The locale identifier
|
|
22211
21989
|
* @param {*} [options] Override http request option.
|
|
22212
21990
|
* @throws {RequiredError}
|
|
22213
21991
|
*/
|
|
22214
|
-
deleteBookingSpaceTranslation: (
|
|
21992
|
+
deleteBookingSpaceTranslation: (spaceId: string, locale: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22215
21993
|
/**
|
|
22216
21994
|
* Creates or updates the localized content (such as name) for a booking space in the given locale; requires update permission on bookings.
|
|
22217
21995
|
* @summary Update a booking space translation
|
|
22218
|
-
* @param {string} placeId The place identifier
|
|
22219
21996
|
* @param {string} spaceId The space identifier
|
|
22220
21997
|
* @param {string} locale The locale identifier
|
|
22221
21998
|
* @param {BookingSpaceTranslationUpdateInputs} bookingSpaceTranslationUpdateInputs
|
|
22222
21999
|
* @param {*} [options] Override http request option.
|
|
22223
22000
|
* @throws {RequiredError}
|
|
22224
22001
|
*/
|
|
22225
|
-
updateBookingSpaceTranslation: (
|
|
22002
|
+
updateBookingSpaceTranslation: (spaceId: string, locale: string, bookingSpaceTranslationUpdateInputs: BookingSpaceTranslationUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22226
22003
|
};
|
|
22227
22004
|
/**
|
|
22228
22005
|
* BookingsSpacesTranslationsApi - functional programming interface
|
|
@@ -22231,24 +22008,22 @@ export declare const BookingsSpacesTranslationsApiFp: (configuration?: Configura
|
|
|
22231
22008
|
/**
|
|
22232
22009
|
* Deletes the translation for the given locale on a booking space, removing that language\'s localized name and other translated fields; requires update permission on bookings.
|
|
22233
22010
|
* @summary Delete a booking space translation
|
|
22234
|
-
* @param {string} placeId The place identifier
|
|
22235
22011
|
* @param {string} spaceId The space identifier
|
|
22236
22012
|
* @param {string} locale The locale identifier
|
|
22237
22013
|
* @param {*} [options] Override http request option.
|
|
22238
22014
|
* @throws {RequiredError}
|
|
22239
22015
|
*/
|
|
22240
|
-
deleteBookingSpaceTranslation(
|
|
22016
|
+
deleteBookingSpaceTranslation(spaceId: string, locale: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>>;
|
|
22241
22017
|
/**
|
|
22242
22018
|
* Creates or updates the localized content (such as name) for a booking space in the given locale; requires update permission on bookings.
|
|
22243
22019
|
* @summary Update a booking space translation
|
|
22244
|
-
* @param {string} placeId The place identifier
|
|
22245
22020
|
* @param {string} spaceId The space identifier
|
|
22246
22021
|
* @param {string} locale The locale identifier
|
|
22247
22022
|
* @param {BookingSpaceTranslationUpdateInputs} bookingSpaceTranslationUpdateInputs
|
|
22248
22023
|
* @param {*} [options] Override http request option.
|
|
22249
22024
|
* @throws {RequiredError}
|
|
22250
22025
|
*/
|
|
22251
|
-
updateBookingSpaceTranslation(
|
|
22026
|
+
updateBookingSpaceTranslation(spaceId: string, locale: string, bookingSpaceTranslationUpdateInputs: BookingSpaceTranslationUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>>;
|
|
22252
22027
|
};
|
|
22253
22028
|
/**
|
|
22254
22029
|
* BookingsSpacesTranslationsApi - factory interface
|
|
@@ -22275,10 +22050,6 @@ export declare const BookingsSpacesTranslationsApiFactory: (configuration?: Conf
|
|
|
22275
22050
|
* Request parameters for deleteBookingSpaceTranslation operation in BookingsSpacesTranslationsApi.
|
|
22276
22051
|
*/
|
|
22277
22052
|
export interface BookingsSpacesTranslationsApiDeleteBookingSpaceTranslationRequest {
|
|
22278
|
-
/**
|
|
22279
|
-
* The place identifier
|
|
22280
|
-
*/
|
|
22281
|
-
readonly placeId: string;
|
|
22282
22053
|
/**
|
|
22283
22054
|
* The space identifier
|
|
22284
22055
|
*/
|
|
@@ -22292,10 +22063,6 @@ export interface BookingsSpacesTranslationsApiDeleteBookingSpaceTranslationReque
|
|
|
22292
22063
|
* Request parameters for updateBookingSpaceTranslation operation in BookingsSpacesTranslationsApi.
|
|
22293
22064
|
*/
|
|
22294
22065
|
export interface BookingsSpacesTranslationsApiUpdateBookingSpaceTranslationRequest {
|
|
22295
|
-
/**
|
|
22296
|
-
* The place identifier
|
|
22297
|
-
*/
|
|
22298
|
-
readonly placeId: string;
|
|
22299
22066
|
/**
|
|
22300
22067
|
* The space identifier
|
|
22301
22068
|
*/
|