@connectedxm/admin-sdk 8.4.0 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +455 -920
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +221 -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 +221 -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/package.json +1 -1
package/dist/esm/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;
|
|
@@ -18298,53 +18329,48 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
18298
18329
|
/**
|
|
18299
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.
|
|
18300
18331
|
* @summary Add an account tier to a booking space
|
|
18301
|
-
* @param {string} placeId The place identifier
|
|
18302
18332
|
* @param {string} spaceId The space identifier
|
|
18303
18333
|
* @param {string} tierId The tier identifier
|
|
18304
18334
|
* @param {*} [options] Override http request option.
|
|
18305
18335
|
* @throws {RequiredError}
|
|
18306
18336
|
*/
|
|
18307
|
-
addBookingSpaceTier: (
|
|
18337
|
+
addBookingSpaceTier: (spaceId: string, tierId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18308
18338
|
/**
|
|
18309
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.
|
|
18310
18340
|
* @summary Cancel a booking
|
|
18311
|
-
* @param {string} placeId The place identifier
|
|
18312
18341
|
* @param {string} spaceId The space identifier
|
|
18313
18342
|
* @param {string} bookingId The booking identifier
|
|
18314
18343
|
* @param {*} [options] Override http request option.
|
|
18315
18344
|
* @throws {RequiredError}
|
|
18316
18345
|
*/
|
|
18317
|
-
cancelBooking: (
|
|
18346
|
+
cancelBooking: (spaceId: string, bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18318
18347
|
/**
|
|
18319
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.
|
|
18320
18349
|
* @summary Check in a booking
|
|
18321
|
-
* @param {string} placeId The place identifier
|
|
18322
18350
|
* @param {string} spaceId The space identifier
|
|
18323
18351
|
* @param {string} bookingId The booking identifier
|
|
18324
18352
|
* @param {*} [options] Override http request option.
|
|
18325
18353
|
* @throws {RequiredError}
|
|
18326
18354
|
*/
|
|
18327
|
-
checkInBooking: (
|
|
18355
|
+
checkInBooking: (spaceId: string, bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18328
18356
|
/**
|
|
18329
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.
|
|
18330
18358
|
* @summary Create a booking for a space
|
|
18331
|
-
* @param {string} placeId The place identifier
|
|
18332
18359
|
* @param {string} spaceId The space identifier
|
|
18333
18360
|
* @param {BookingCreateInputs} bookingCreateInputs
|
|
18334
18361
|
* @param {*} [options] Override http request option.
|
|
18335
18362
|
* @throws {RequiredError}
|
|
18336
18363
|
*/
|
|
18337
|
-
createBooking: (
|
|
18364
|
+
createBooking: (spaceId: string, bookingCreateInputs: BookingCreateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18338
18365
|
/**
|
|
18339
|
-
* 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).
|
|
18340
18367
|
* @summary Delete a booking
|
|
18341
|
-
* @param {string} placeId The place identifier
|
|
18342
18368
|
* @param {string} spaceId The space identifier
|
|
18343
18369
|
* @param {string} bookingId The booking identifier
|
|
18344
18370
|
* @param {*} [options] Override http request option.
|
|
18345
18371
|
* @throws {RequiredError}
|
|
18346
18372
|
*/
|
|
18347
|
-
deleteBooking: (
|
|
18373
|
+
deleteBooking: (spaceId: string, bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18348
18374
|
/**
|
|
18349
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\".
|
|
18350
18376
|
* @summary Get a booking
|
|
@@ -18428,47 +18454,42 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
18428
18454
|
*/
|
|
18429
18455
|
getBookingResponses: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18430
18456
|
/**
|
|
18431
|
-
* Returns a single bookable space
|
|
18457
|
+
* Returns a single bookable space by its id or slug; requires the \"read\" permission on \"bookings\".
|
|
18432
18458
|
* @summary Get a booking space
|
|
18433
|
-
* @param {string} placeId The place identifier
|
|
18434
18459
|
* @param {string} spaceId The space identifier
|
|
18435
18460
|
* @param {*} [options] Override http request option.
|
|
18436
18461
|
* @throws {RequiredError}
|
|
18437
18462
|
*/
|
|
18438
|
-
getBookingSpace: (
|
|
18463
|
+
getBookingSpace: (spaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18439
18464
|
/**
|
|
18440
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\".
|
|
18441
18466
|
* @summary List a booking space\'s weekly availability rules
|
|
18442
|
-
* @param {string} placeId The place identifier
|
|
18443
18467
|
* @param {string} spaceId The space identifier
|
|
18444
18468
|
* @param {*} [options] Override http request option.
|
|
18445
18469
|
* @throws {RequiredError}
|
|
18446
18470
|
*/
|
|
18447
|
-
getBookingSpaceAvailabilities: (
|
|
18471
|
+
getBookingSpaceAvailabilities: (spaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18448
18472
|
/**
|
|
18449
|
-
* Returns a single
|
|
18450
|
-
* @summary Get a booking space
|
|
18451
|
-
* @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
|
|
18452
18475
|
* @param {string} spaceId The space identifier
|
|
18453
18476
|
* @param {string} availabilityId The availability identifier
|
|
18454
18477
|
* @param {*} [options] Override http request option.
|
|
18455
18478
|
* @throws {RequiredError}
|
|
18456
18479
|
*/
|
|
18457
|
-
getBookingSpaceAvailability: (
|
|
18480
|
+
getBookingSpaceAvailability: (spaceId: string, availabilityId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18458
18481
|
/**
|
|
18459
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\".
|
|
18460
18483
|
* @summary Get a booking space blackout
|
|
18461
|
-
* @param {string} placeId The place identifier
|
|
18462
18484
|
* @param {string} spaceId The space identifier
|
|
18463
18485
|
* @param {string} blackoutId The blackout identifier
|
|
18464
18486
|
* @param {*} [options] Override http request option.
|
|
18465
18487
|
* @throws {RequiredError}
|
|
18466
18488
|
*/
|
|
18467
|
-
getBookingSpaceBlackout: (
|
|
18489
|
+
getBookingSpaceBlackout: (spaceId: string, blackoutId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18468
18490
|
/**
|
|
18469
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\".
|
|
18470
18492
|
* @summary List a booking space\'s blackouts
|
|
18471
|
-
* @param {string} placeId The place identifier
|
|
18472
18493
|
* @param {string} spaceId The space identifier
|
|
18473
18494
|
* @param {boolean} [past] Filter by past
|
|
18474
18495
|
* @param {number} [page] Page number
|
|
@@ -18478,11 +18499,10 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
18478
18499
|
* @param {*} [options] Override http request option.
|
|
18479
18500
|
* @throws {RequiredError}
|
|
18480
18501
|
*/
|
|
18481
|
-
getBookingSpaceBlackouts: (
|
|
18502
|
+
getBookingSpaceBlackouts: (spaceId: string, past?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18482
18503
|
/**
|
|
18483
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\".
|
|
18484
18505
|
* @summary List a booking space\'s bookings
|
|
18485
|
-
* @param {string} placeId The place identifier
|
|
18486
18506
|
* @param {string} spaceId The space identifier
|
|
18487
18507
|
* @param {boolean} [past] Filter by past
|
|
18488
18508
|
* @param {PurchaseStatus} [status] Filter by status
|
|
@@ -18493,11 +18513,10 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
18493
18513
|
* @param {*} [options] Override http request option.
|
|
18494
18514
|
* @throws {RequiredError}
|
|
18495
18515
|
*/
|
|
18496
|
-
getBookingSpaceBookings: (
|
|
18516
|
+
getBookingSpaceBookings: (spaceId: string, past?: boolean, status?: PurchaseStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18497
18517
|
/**
|
|
18498
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\".
|
|
18499
18519
|
* @summary List a booking space\'s payments
|
|
18500
|
-
* @param {string} placeId The place identifier
|
|
18501
18520
|
* @param {string} spaceId The space identifier
|
|
18502
18521
|
* @param {boolean} [past] Filter by past
|
|
18503
18522
|
* @param {PurchaseStatus} [status] Filter by status
|
|
@@ -18508,21 +18527,19 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
18508
18527
|
* @param {*} [options] Override http request option.
|
|
18509
18528
|
* @throws {RequiredError}
|
|
18510
18529
|
*/
|
|
18511
|
-
getBookingSpacePayments: (
|
|
18530
|
+
getBookingSpacePayments: (spaceId: string, past?: boolean, status?: PurchaseStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18512
18531
|
/**
|
|
18513
|
-
* 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.
|
|
18514
18533
|
* @summary Get a booking space\'s available slots
|
|
18515
|
-
* @param {string} placeId The place identifier
|
|
18516
18534
|
* @param {string} spaceId The space identifier
|
|
18517
18535
|
* @param {string} firstDayOfMonth Filter by firstDayOfMonth
|
|
18518
18536
|
* @param {*} [options] Override http request option.
|
|
18519
18537
|
* @throws {RequiredError}
|
|
18520
18538
|
*/
|
|
18521
|
-
getBookingSpaceSlots: (
|
|
18539
|
+
getBookingSpaceSlots: (spaceId: string, firstDayOfMonth: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18522
18540
|
/**
|
|
18523
|
-
* 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.
|
|
18524
18542
|
* @summary List a booking space\'s assigned tiers
|
|
18525
|
-
* @param {string} placeId The place identifier
|
|
18526
18543
|
* @param {string} spaceId The space identifier
|
|
18527
18544
|
* @param {number} [page] Page number
|
|
18528
18545
|
* @param {number} [pageSize] Number of items per page
|
|
@@ -18531,21 +18548,19 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
18531
18548
|
* @param {*} [options] Override http request option.
|
|
18532
18549
|
* @throws {RequiredError}
|
|
18533
18550
|
*/
|
|
18534
|
-
getBookingSpaceTiers: (
|
|
18551
|
+
getBookingSpaceTiers: (spaceId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18535
18552
|
/**
|
|
18536
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.
|
|
18537
18554
|
* @summary Get a booking space\'s translation for a locale
|
|
18538
|
-
* @param {string} placeId The place identifier
|
|
18539
18555
|
* @param {string} spaceId The space identifier
|
|
18540
18556
|
* @param {string} locale The locale identifier
|
|
18541
18557
|
* @param {*} [options] Override http request option.
|
|
18542
18558
|
* @throws {RequiredError}
|
|
18543
18559
|
*/
|
|
18544
|
-
getBookingSpaceTranslation: (
|
|
18560
|
+
getBookingSpaceTranslation: (spaceId: string, locale: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18545
18561
|
/**
|
|
18546
|
-
* 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.
|
|
18547
18563
|
* @summary List a booking space\'s translations
|
|
18548
|
-
* @param {string} placeId The place identifier
|
|
18549
18564
|
* @param {string} spaceId The space identifier
|
|
18550
18565
|
* @param {number} [page] Page number
|
|
18551
18566
|
* @param {number} [pageSize] Number of items per page
|
|
@@ -18554,11 +18569,14 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
18554
18569
|
* @param {*} [options] Override http request option.
|
|
18555
18570
|
* @throws {RequiredError}
|
|
18556
18571
|
*/
|
|
18557
|
-
getBookingSpaceTranslations: (
|
|
18572
|
+
getBookingSpaceTranslations: (spaceId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18558
18573
|
/**
|
|
18559
|
-
* Returns a paginated list of bookable spaces
|
|
18560
|
-
* @summary List
|
|
18561
|
-
* @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
|
|
18562
18580
|
* @param {number} [page] Page number
|
|
18563
18581
|
* @param {number} [pageSize] Number of items per page
|
|
18564
18582
|
* @param {string} [orderBy] Field to order by
|
|
@@ -18566,38 +18584,35 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
18566
18584
|
* @param {*} [options] Override http request option.
|
|
18567
18585
|
* @throws {RequiredError}
|
|
18568
18586
|
*/
|
|
18569
|
-
getBookingSpaces: (placeId
|
|
18587
|
+
getBookingSpaces: (placeId?: string, eventId?: string, groupId?: string, accountId?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18570
18588
|
/**
|
|
18571
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.
|
|
18572
18590
|
* @summary Remove an account tier from a booking space
|
|
18573
|
-
* @param {string} placeId The place identifier
|
|
18574
18591
|
* @param {string} spaceId The space identifier
|
|
18575
18592
|
* @param {string} tierId The tier identifier
|
|
18576
18593
|
* @param {*} [options] Override http request option.
|
|
18577
18594
|
* @throws {RequiredError}
|
|
18578
18595
|
*/
|
|
18579
|
-
removeBookingSpaceTier: (
|
|
18596
|
+
removeBookingSpaceTier: (spaceId: string, tierId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18580
18597
|
/**
|
|
18581
18598
|
* Reverts a previous check-in on a booking by clearing its checked-in timestamp and requires the update bookings permission.
|
|
18582
18599
|
* @summary Undo a booking check-in
|
|
18583
|
-
* @param {string} placeId The place identifier
|
|
18584
18600
|
* @param {string} spaceId The space identifier
|
|
18585
18601
|
* @param {string} bookingId The booking identifier
|
|
18586
18602
|
* @param {*} [options] Override http request option.
|
|
18587
18603
|
* @throws {RequiredError}
|
|
18588
18604
|
*/
|
|
18589
|
-
undoCheckInBooking: (
|
|
18605
|
+
undoCheckInBooking: (spaceId: string, bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18590
18606
|
/**
|
|
18591
|
-
* 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.
|
|
18592
18608
|
* @summary Update a booking
|
|
18593
|
-
* @param {string} placeId The place identifier
|
|
18594
18609
|
* @param {string} spaceId The space identifier
|
|
18595
18610
|
* @param {string} bookingId The booking identifier
|
|
18596
18611
|
* @param {BookingUpdateInputs} bookingUpdateInputs
|
|
18597
18612
|
* @param {*} [options] Override http request option.
|
|
18598
18613
|
* @throws {RequiredError}
|
|
18599
18614
|
*/
|
|
18600
|
-
updateBooking: (
|
|
18615
|
+
updateBooking: (spaceId: string, bookingId: string, bookingUpdateInputs: BookingUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18601
18616
|
};
|
|
18602
18617
|
/**
|
|
18603
18618
|
* BookingsApi - functional programming interface
|
|
@@ -18606,53 +18621,48 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
18606
18621
|
/**
|
|
18607
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.
|
|
18608
18623
|
* @summary Add an account tier to a booking space
|
|
18609
|
-
* @param {string} placeId The place identifier
|
|
18610
18624
|
* @param {string} spaceId The space identifier
|
|
18611
18625
|
* @param {string} tierId The tier identifier
|
|
18612
18626
|
* @param {*} [options] Override http request option.
|
|
18613
18627
|
* @throws {RequiredError}
|
|
18614
18628
|
*/
|
|
18615
|
-
addBookingSpaceTier(
|
|
18629
|
+
addBookingSpaceTier(spaceId: string, tierId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpace200Response>>;
|
|
18616
18630
|
/**
|
|
18617
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.
|
|
18618
18632
|
* @summary Cancel a booking
|
|
18619
|
-
* @param {string} placeId The place identifier
|
|
18620
18633
|
* @param {string} spaceId The space identifier
|
|
18621
18634
|
* @param {string} bookingId The booking identifier
|
|
18622
18635
|
* @param {*} [options] Override http request option.
|
|
18623
18636
|
* @throws {RequiredError}
|
|
18624
18637
|
*/
|
|
18625
|
-
cancelBooking(
|
|
18638
|
+
cancelBooking(spaceId: string, bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBooking200Response>>;
|
|
18626
18639
|
/**
|
|
18627
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.
|
|
18628
18641
|
* @summary Check in a booking
|
|
18629
|
-
* @param {string} placeId The place identifier
|
|
18630
18642
|
* @param {string} spaceId The space identifier
|
|
18631
18643
|
* @param {string} bookingId The booking identifier
|
|
18632
18644
|
* @param {*} [options] Override http request option.
|
|
18633
18645
|
* @throws {RequiredError}
|
|
18634
18646
|
*/
|
|
18635
|
-
checkInBooking(
|
|
18647
|
+
checkInBooking(spaceId: string, bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBooking200Response>>;
|
|
18636
18648
|
/**
|
|
18637
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.
|
|
18638
18650
|
* @summary Create a booking for a space
|
|
18639
|
-
* @param {string} placeId The place identifier
|
|
18640
18651
|
* @param {string} spaceId The space identifier
|
|
18641
18652
|
* @param {BookingCreateInputs} bookingCreateInputs
|
|
18642
18653
|
* @param {*} [options] Override http request option.
|
|
18643
18654
|
* @throws {RequiredError}
|
|
18644
18655
|
*/
|
|
18645
|
-
createBooking(
|
|
18656
|
+
createBooking(spaceId: string, bookingCreateInputs: BookingCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBooking200Response>>;
|
|
18646
18657
|
/**
|
|
18647
|
-
* 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).
|
|
18648
18659
|
* @summary Delete a booking
|
|
18649
|
-
* @param {string} placeId The place identifier
|
|
18650
18660
|
* @param {string} spaceId The space identifier
|
|
18651
18661
|
* @param {string} bookingId The booking identifier
|
|
18652
18662
|
* @param {*} [options] Override http request option.
|
|
18653
18663
|
* @throws {RequiredError}
|
|
18654
18664
|
*/
|
|
18655
|
-
deleteBooking(
|
|
18665
|
+
deleteBooking(spaceId: string, bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBooking200Response>>;
|
|
18656
18666
|
/**
|
|
18657
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\".
|
|
18658
18668
|
* @summary Get a booking
|
|
@@ -18736,47 +18746,42 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
18736
18746
|
*/
|
|
18737
18747
|
getBookingResponses(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingResponses200Response>>;
|
|
18738
18748
|
/**
|
|
18739
|
-
* Returns a single bookable space
|
|
18749
|
+
* Returns a single bookable space by its id or slug; requires the \"read\" permission on \"bookings\".
|
|
18740
18750
|
* @summary Get a booking space
|
|
18741
|
-
* @param {string} placeId The place identifier
|
|
18742
18751
|
* @param {string} spaceId The space identifier
|
|
18743
18752
|
* @param {*} [options] Override http request option.
|
|
18744
18753
|
* @throws {RequiredError}
|
|
18745
18754
|
*/
|
|
18746
|
-
getBookingSpace(
|
|
18755
|
+
getBookingSpace(spaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpace200Response>>;
|
|
18747
18756
|
/**
|
|
18748
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\".
|
|
18749
18758
|
* @summary List a booking space\'s weekly availability rules
|
|
18750
|
-
* @param {string} placeId The place identifier
|
|
18751
18759
|
* @param {string} spaceId The space identifier
|
|
18752
18760
|
* @param {*} [options] Override http request option.
|
|
18753
18761
|
* @throws {RequiredError}
|
|
18754
18762
|
*/
|
|
18755
|
-
getBookingSpaceAvailabilities(
|
|
18763
|
+
getBookingSpaceAvailabilities(spaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceAvailabilities200Response>>;
|
|
18756
18764
|
/**
|
|
18757
|
-
* Returns a single
|
|
18758
|
-
* @summary Get a booking space
|
|
18759
|
-
* @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
|
|
18760
18767
|
* @param {string} spaceId The space identifier
|
|
18761
18768
|
* @param {string} availabilityId The availability identifier
|
|
18762
18769
|
* @param {*} [options] Override http request option.
|
|
18763
18770
|
* @throws {RequiredError}
|
|
18764
18771
|
*/
|
|
18765
|
-
getBookingSpaceAvailability(
|
|
18772
|
+
getBookingSpaceAvailability(spaceId: string, availabilityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceAvailability200Response>>;
|
|
18766
18773
|
/**
|
|
18767
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\".
|
|
18768
18775
|
* @summary Get a booking space blackout
|
|
18769
|
-
* @param {string} placeId The place identifier
|
|
18770
18776
|
* @param {string} spaceId The space identifier
|
|
18771
18777
|
* @param {string} blackoutId The blackout identifier
|
|
18772
18778
|
* @param {*} [options] Override http request option.
|
|
18773
18779
|
* @throws {RequiredError}
|
|
18774
18780
|
*/
|
|
18775
|
-
getBookingSpaceBlackout(
|
|
18781
|
+
getBookingSpaceBlackout(spaceId: string, blackoutId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceBlackout200Response>>;
|
|
18776
18782
|
/**
|
|
18777
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\".
|
|
18778
18784
|
* @summary List a booking space\'s blackouts
|
|
18779
|
-
* @param {string} placeId The place identifier
|
|
18780
18785
|
* @param {string} spaceId The space identifier
|
|
18781
18786
|
* @param {boolean} [past] Filter by past
|
|
18782
18787
|
* @param {number} [page] Page number
|
|
@@ -18786,11 +18791,10 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
18786
18791
|
* @param {*} [options] Override http request option.
|
|
18787
18792
|
* @throws {RequiredError}
|
|
18788
18793
|
*/
|
|
18789
|
-
getBookingSpaceBlackouts(
|
|
18794
|
+
getBookingSpaceBlackouts(spaceId: string, past?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceBlackouts200Response>>;
|
|
18790
18795
|
/**
|
|
18791
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\".
|
|
18792
18797
|
* @summary List a booking space\'s bookings
|
|
18793
|
-
* @param {string} placeId The place identifier
|
|
18794
18798
|
* @param {string} spaceId The space identifier
|
|
18795
18799
|
* @param {boolean} [past] Filter by past
|
|
18796
18800
|
* @param {PurchaseStatus} [status] Filter by status
|
|
@@ -18801,11 +18805,10 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
18801
18805
|
* @param {*} [options] Override http request option.
|
|
18802
18806
|
* @throws {RequiredError}
|
|
18803
18807
|
*/
|
|
18804
|
-
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>>;
|
|
18805
18809
|
/**
|
|
18806
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\".
|
|
18807
18811
|
* @summary List a booking space\'s payments
|
|
18808
|
-
* @param {string} placeId The place identifier
|
|
18809
18812
|
* @param {string} spaceId The space identifier
|
|
18810
18813
|
* @param {boolean} [past] Filter by past
|
|
18811
18814
|
* @param {PurchaseStatus} [status] Filter by status
|
|
@@ -18816,21 +18819,19 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
18816
18819
|
* @param {*} [options] Override http request option.
|
|
18817
18820
|
* @throws {RequiredError}
|
|
18818
18821
|
*/
|
|
18819
|
-
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>>;
|
|
18820
18823
|
/**
|
|
18821
|
-
* 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.
|
|
18822
18825
|
* @summary Get a booking space\'s available slots
|
|
18823
|
-
* @param {string} placeId The place identifier
|
|
18824
18826
|
* @param {string} spaceId The space identifier
|
|
18825
18827
|
* @param {string} firstDayOfMonth Filter by firstDayOfMonth
|
|
18826
18828
|
* @param {*} [options] Override http request option.
|
|
18827
18829
|
* @throws {RequiredError}
|
|
18828
18830
|
*/
|
|
18829
|
-
getBookingSpaceSlots(
|
|
18831
|
+
getBookingSpaceSlots(spaceId: string, firstDayOfMonth: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceSlots200Response>>;
|
|
18830
18832
|
/**
|
|
18831
|
-
* 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.
|
|
18832
18834
|
* @summary List a booking space\'s assigned tiers
|
|
18833
|
-
* @param {string} placeId The place identifier
|
|
18834
18835
|
* @param {string} spaceId The space identifier
|
|
18835
18836
|
* @param {number} [page] Page number
|
|
18836
18837
|
* @param {number} [pageSize] Number of items per page
|
|
@@ -18839,21 +18840,19 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
18839
18840
|
* @param {*} [options] Override http request option.
|
|
18840
18841
|
* @throws {RequiredError}
|
|
18841
18842
|
*/
|
|
18842
|
-
getBookingSpaceTiers(
|
|
18843
|
+
getBookingSpaceTiers(spaceId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountTiers200Response>>;
|
|
18843
18844
|
/**
|
|
18844
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.
|
|
18845
18846
|
* @summary Get a booking space\'s translation for a locale
|
|
18846
|
-
* @param {string} placeId The place identifier
|
|
18847
18847
|
* @param {string} spaceId The space identifier
|
|
18848
18848
|
* @param {string} locale The locale identifier
|
|
18849
18849
|
* @param {*} [options] Override http request option.
|
|
18850
18850
|
* @throws {RequiredError}
|
|
18851
18851
|
*/
|
|
18852
|
-
getBookingSpaceTranslation(
|
|
18852
|
+
getBookingSpaceTranslation(spaceId: string, locale: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceTranslation200Response>>;
|
|
18853
18853
|
/**
|
|
18854
|
-
* 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.
|
|
18855
18855
|
* @summary List a booking space\'s translations
|
|
18856
|
-
* @param {string} placeId The place identifier
|
|
18857
18856
|
* @param {string} spaceId The space identifier
|
|
18858
18857
|
* @param {number} [page] Page number
|
|
18859
18858
|
* @param {number} [pageSize] Number of items per page
|
|
@@ -18862,11 +18861,14 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
18862
18861
|
* @param {*} [options] Override http request option.
|
|
18863
18862
|
* @throws {RequiredError}
|
|
18864
18863
|
*/
|
|
18865
|
-
getBookingSpaceTranslations(
|
|
18864
|
+
getBookingSpaceTranslations(spaceId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceTranslations200Response>>;
|
|
18866
18865
|
/**
|
|
18867
|
-
* Returns a paginated list of bookable spaces
|
|
18868
|
-
* @summary List
|
|
18869
|
-
* @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
|
|
18870
18872
|
* @param {number} [page] Page number
|
|
18871
18873
|
* @param {number} [pageSize] Number of items per page
|
|
18872
18874
|
* @param {string} [orderBy] Field to order by
|
|
@@ -18874,38 +18876,35 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
18874
18876
|
* @param {*} [options] Override http request option.
|
|
18875
18877
|
* @throws {RequiredError}
|
|
18876
18878
|
*/
|
|
18877
|
-
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>>;
|
|
18878
18880
|
/**
|
|
18879
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.
|
|
18880
18882
|
* @summary Remove an account tier from a booking space
|
|
18881
|
-
* @param {string} placeId The place identifier
|
|
18882
18883
|
* @param {string} spaceId The space identifier
|
|
18883
18884
|
* @param {string} tierId The tier identifier
|
|
18884
18885
|
* @param {*} [options] Override http request option.
|
|
18885
18886
|
* @throws {RequiredError}
|
|
18886
18887
|
*/
|
|
18887
|
-
removeBookingSpaceTier(
|
|
18888
|
+
removeBookingSpaceTier(spaceId: string, tierId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpace200Response>>;
|
|
18888
18889
|
/**
|
|
18889
18890
|
* Reverts a previous check-in on a booking by clearing its checked-in timestamp and requires the update bookings permission.
|
|
18890
18891
|
* @summary Undo a booking check-in
|
|
18891
|
-
* @param {string} placeId The place identifier
|
|
18892
18892
|
* @param {string} spaceId The space identifier
|
|
18893
18893
|
* @param {string} bookingId The booking identifier
|
|
18894
18894
|
* @param {*} [options] Override http request option.
|
|
18895
18895
|
* @throws {RequiredError}
|
|
18896
18896
|
*/
|
|
18897
|
-
undoCheckInBooking(
|
|
18897
|
+
undoCheckInBooking(spaceId: string, bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBooking200Response>>;
|
|
18898
18898
|
/**
|
|
18899
|
-
* 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.
|
|
18900
18900
|
* @summary Update a booking
|
|
18901
|
-
* @param {string} placeId The place identifier
|
|
18902
18901
|
* @param {string} spaceId The space identifier
|
|
18903
18902
|
* @param {string} bookingId The booking identifier
|
|
18904
18903
|
* @param {BookingUpdateInputs} bookingUpdateInputs
|
|
18905
18904
|
* @param {*} [options] Override http request option.
|
|
18906
18905
|
* @throws {RequiredError}
|
|
18907
18906
|
*/
|
|
18908
|
-
updateBooking(
|
|
18907
|
+
updateBooking(spaceId: string, bookingId: string, bookingUpdateInputs: BookingUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBooking200Response>>;
|
|
18909
18908
|
};
|
|
18910
18909
|
/**
|
|
18911
18910
|
* BookingsApi - factory interface
|
|
@@ -18944,13 +18943,13 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
18944
18943
|
*/
|
|
18945
18944
|
createBooking(requestParameters: BookingsApiCreateBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBooking200Response>;
|
|
18946
18945
|
/**
|
|
18947
|
-
* 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).
|
|
18948
18947
|
* @summary Delete a booking
|
|
18949
18948
|
* @param {BookingsApiDeleteBookingRequest} requestParameters Request parameters.
|
|
18950
18949
|
* @param {*} [options] Override http request option.
|
|
18951
18950
|
* @throws {RequiredError}
|
|
18952
18951
|
*/
|
|
18953
|
-
deleteBooking(requestParameters: BookingsApiDeleteBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
18952
|
+
deleteBooking(requestParameters: BookingsApiDeleteBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBooking200Response>;
|
|
18954
18953
|
/**
|
|
18955
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\".
|
|
18956
18955
|
* @summary Get a booking
|
|
@@ -19016,7 +19015,7 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
19016
19015
|
*/
|
|
19017
19016
|
getBookingResponses(requestParameters: BookingsApiGetBookingResponsesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetBookingResponses200Response>;
|
|
19018
19017
|
/**
|
|
19019
|
-
* Returns a single bookable space
|
|
19018
|
+
* Returns a single bookable space by its id or slug; requires the \"read\" permission on \"bookings\".
|
|
19020
19019
|
* @summary Get a booking space
|
|
19021
19020
|
* @param {BookingsApiGetBookingSpaceRequest} requestParameters Request parameters.
|
|
19022
19021
|
* @param {*} [options] Override http request option.
|
|
@@ -19032,8 +19031,8 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
19032
19031
|
*/
|
|
19033
19032
|
getBookingSpaceAvailabilities(requestParameters: BookingsApiGetBookingSpaceAvailabilitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetBookingSpaceAvailabilities200Response>;
|
|
19034
19033
|
/**
|
|
19035
|
-
* Returns a single
|
|
19036
|
-
* @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
|
|
19037
19036
|
* @param {BookingsApiGetBookingSpaceAvailabilityRequest} requestParameters Request parameters.
|
|
19038
19037
|
* @param {*} [options] Override http request option.
|
|
19039
19038
|
* @throws {RequiredError}
|
|
@@ -19072,7 +19071,7 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
19072
19071
|
*/
|
|
19073
19072
|
getBookingSpacePayments(requestParameters: BookingsApiGetBookingSpacePaymentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountPayments200Response>;
|
|
19074
19073
|
/**
|
|
19075
|
-
* 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.
|
|
19076
19075
|
* @summary Get a booking space\'s available slots
|
|
19077
19076
|
* @param {BookingsApiGetBookingSpaceSlotsRequest} requestParameters Request parameters.
|
|
19078
19077
|
* @param {*} [options] Override http request option.
|
|
@@ -19080,7 +19079,7 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
19080
19079
|
*/
|
|
19081
19080
|
getBookingSpaceSlots(requestParameters: BookingsApiGetBookingSpaceSlotsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetBookingSpaceSlots200Response>;
|
|
19082
19081
|
/**
|
|
19083
|
-
* 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.
|
|
19084
19083
|
* @summary List a booking space\'s assigned tiers
|
|
19085
19084
|
* @param {BookingsApiGetBookingSpaceTiersRequest} requestParameters Request parameters.
|
|
19086
19085
|
* @param {*} [options] Override http request option.
|
|
@@ -19096,7 +19095,7 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
19096
19095
|
*/
|
|
19097
19096
|
getBookingSpaceTranslation(requestParameters: BookingsApiGetBookingSpaceTranslationRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetBookingSpaceTranslation200Response>;
|
|
19098
19097
|
/**
|
|
19099
|
-
* 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.
|
|
19100
19099
|
* @summary List a booking space\'s translations
|
|
19101
19100
|
* @param {BookingsApiGetBookingSpaceTranslationsRequest} requestParameters Request parameters.
|
|
19102
19101
|
* @param {*} [options] Override http request option.
|
|
@@ -19104,13 +19103,13 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
19104
19103
|
*/
|
|
19105
19104
|
getBookingSpaceTranslations(requestParameters: BookingsApiGetBookingSpaceTranslationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetBookingSpaceTranslations200Response>;
|
|
19106
19105
|
/**
|
|
19107
|
-
* Returns a paginated list of bookable spaces
|
|
19108
|
-
* @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
|
|
19109
19108
|
* @param {BookingsApiGetBookingSpacesRequest} requestParameters Request parameters.
|
|
19110
19109
|
* @param {*} [options] Override http request option.
|
|
19111
19110
|
* @throws {RequiredError}
|
|
19112
19111
|
*/
|
|
19113
|
-
getBookingSpaces(requestParameters
|
|
19112
|
+
getBookingSpaces(requestParameters?: BookingsApiGetBookingSpacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetBookingSpaces200Response>;
|
|
19114
19113
|
/**
|
|
19115
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.
|
|
19116
19115
|
* @summary Remove an account tier from a booking space
|
|
@@ -19128,7 +19127,7 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
19128
19127
|
*/
|
|
19129
19128
|
undoCheckInBooking(requestParameters: BookingsApiUndoCheckInBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBooking200Response>;
|
|
19130
19129
|
/**
|
|
19131
|
-
* 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.
|
|
19132
19131
|
* @summary Update a booking
|
|
19133
19132
|
* @param {BookingsApiUpdateBookingRequest} requestParameters Request parameters.
|
|
19134
19133
|
* @param {*} [options] Override http request option.
|
|
@@ -19140,10 +19139,6 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
19140
19139
|
* Request parameters for addBookingSpaceTier operation in BookingsApi.
|
|
19141
19140
|
*/
|
|
19142
19141
|
export interface BookingsApiAddBookingSpaceTierRequest {
|
|
19143
|
-
/**
|
|
19144
|
-
* The place identifier
|
|
19145
|
-
*/
|
|
19146
|
-
readonly placeId: string;
|
|
19147
19142
|
/**
|
|
19148
19143
|
* The space identifier
|
|
19149
19144
|
*/
|
|
@@ -19157,10 +19152,6 @@ export interface BookingsApiAddBookingSpaceTierRequest {
|
|
|
19157
19152
|
* Request parameters for cancelBooking operation in BookingsApi.
|
|
19158
19153
|
*/
|
|
19159
19154
|
export interface BookingsApiCancelBookingRequest {
|
|
19160
|
-
/**
|
|
19161
|
-
* The place identifier
|
|
19162
|
-
*/
|
|
19163
|
-
readonly placeId: string;
|
|
19164
19155
|
/**
|
|
19165
19156
|
* The space identifier
|
|
19166
19157
|
*/
|
|
@@ -19174,10 +19165,6 @@ export interface BookingsApiCancelBookingRequest {
|
|
|
19174
19165
|
* Request parameters for checkInBooking operation in BookingsApi.
|
|
19175
19166
|
*/
|
|
19176
19167
|
export interface BookingsApiCheckInBookingRequest {
|
|
19177
|
-
/**
|
|
19178
|
-
* The place identifier
|
|
19179
|
-
*/
|
|
19180
|
-
readonly placeId: string;
|
|
19181
19168
|
/**
|
|
19182
19169
|
* The space identifier
|
|
19183
19170
|
*/
|
|
@@ -19191,10 +19178,6 @@ export interface BookingsApiCheckInBookingRequest {
|
|
|
19191
19178
|
* Request parameters for createBooking operation in BookingsApi.
|
|
19192
19179
|
*/
|
|
19193
19180
|
export interface BookingsApiCreateBookingRequest {
|
|
19194
|
-
/**
|
|
19195
|
-
* The place identifier
|
|
19196
|
-
*/
|
|
19197
|
-
readonly placeId: string;
|
|
19198
19181
|
/**
|
|
19199
19182
|
* The space identifier
|
|
19200
19183
|
*/
|
|
@@ -19205,10 +19188,6 @@ export interface BookingsApiCreateBookingRequest {
|
|
|
19205
19188
|
* Request parameters for deleteBooking operation in BookingsApi.
|
|
19206
19189
|
*/
|
|
19207
19190
|
export interface BookingsApiDeleteBookingRequest {
|
|
19208
|
-
/**
|
|
19209
|
-
* The place identifier
|
|
19210
|
-
*/
|
|
19211
|
-
readonly placeId: string;
|
|
19212
19191
|
/**
|
|
19213
19192
|
* The space identifier
|
|
19214
19193
|
*/
|
|
@@ -19366,10 +19345,6 @@ export interface BookingsApiGetBookingResponsesRequest {
|
|
|
19366
19345
|
* Request parameters for getBookingSpace operation in BookingsApi.
|
|
19367
19346
|
*/
|
|
19368
19347
|
export interface BookingsApiGetBookingSpaceRequest {
|
|
19369
|
-
/**
|
|
19370
|
-
* The place identifier
|
|
19371
|
-
*/
|
|
19372
|
-
readonly placeId: string;
|
|
19373
19348
|
/**
|
|
19374
19349
|
* The space identifier
|
|
19375
19350
|
*/
|
|
@@ -19379,10 +19354,6 @@ export interface BookingsApiGetBookingSpaceRequest {
|
|
|
19379
19354
|
* Request parameters for getBookingSpaceAvailabilities operation in BookingsApi.
|
|
19380
19355
|
*/
|
|
19381
19356
|
export interface BookingsApiGetBookingSpaceAvailabilitiesRequest {
|
|
19382
|
-
/**
|
|
19383
|
-
* The place identifier
|
|
19384
|
-
*/
|
|
19385
|
-
readonly placeId: string;
|
|
19386
19357
|
/**
|
|
19387
19358
|
* The space identifier
|
|
19388
19359
|
*/
|
|
@@ -19392,10 +19363,6 @@ export interface BookingsApiGetBookingSpaceAvailabilitiesRequest {
|
|
|
19392
19363
|
* Request parameters for getBookingSpaceAvailability operation in BookingsApi.
|
|
19393
19364
|
*/
|
|
19394
19365
|
export interface BookingsApiGetBookingSpaceAvailabilityRequest {
|
|
19395
|
-
/**
|
|
19396
|
-
* The place identifier
|
|
19397
|
-
*/
|
|
19398
|
-
readonly placeId: string;
|
|
19399
19366
|
/**
|
|
19400
19367
|
* The space identifier
|
|
19401
19368
|
*/
|
|
@@ -19409,10 +19376,6 @@ export interface BookingsApiGetBookingSpaceAvailabilityRequest {
|
|
|
19409
19376
|
* Request parameters for getBookingSpaceBlackout operation in BookingsApi.
|
|
19410
19377
|
*/
|
|
19411
19378
|
export interface BookingsApiGetBookingSpaceBlackoutRequest {
|
|
19412
|
-
/**
|
|
19413
|
-
* The place identifier
|
|
19414
|
-
*/
|
|
19415
|
-
readonly placeId: string;
|
|
19416
19379
|
/**
|
|
19417
19380
|
* The space identifier
|
|
19418
19381
|
*/
|
|
@@ -19426,10 +19389,6 @@ export interface BookingsApiGetBookingSpaceBlackoutRequest {
|
|
|
19426
19389
|
* Request parameters for getBookingSpaceBlackouts operation in BookingsApi.
|
|
19427
19390
|
*/
|
|
19428
19391
|
export interface BookingsApiGetBookingSpaceBlackoutsRequest {
|
|
19429
|
-
/**
|
|
19430
|
-
* The place identifier
|
|
19431
|
-
*/
|
|
19432
|
-
readonly placeId: string;
|
|
19433
19392
|
/**
|
|
19434
19393
|
* The space identifier
|
|
19435
19394
|
*/
|
|
@@ -19459,10 +19418,6 @@ export interface BookingsApiGetBookingSpaceBlackoutsRequest {
|
|
|
19459
19418
|
* Request parameters for getBookingSpaceBookings operation in BookingsApi.
|
|
19460
19419
|
*/
|
|
19461
19420
|
export interface BookingsApiGetBookingSpaceBookingsRequest {
|
|
19462
|
-
/**
|
|
19463
|
-
* The place identifier
|
|
19464
|
-
*/
|
|
19465
|
-
readonly placeId: string;
|
|
19466
19421
|
/**
|
|
19467
19422
|
* The space identifier
|
|
19468
19423
|
*/
|
|
@@ -19496,10 +19451,6 @@ export interface BookingsApiGetBookingSpaceBookingsRequest {
|
|
|
19496
19451
|
* Request parameters for getBookingSpacePayments operation in BookingsApi.
|
|
19497
19452
|
*/
|
|
19498
19453
|
export interface BookingsApiGetBookingSpacePaymentsRequest {
|
|
19499
|
-
/**
|
|
19500
|
-
* The place identifier
|
|
19501
|
-
*/
|
|
19502
|
-
readonly placeId: string;
|
|
19503
19454
|
/**
|
|
19504
19455
|
* The space identifier
|
|
19505
19456
|
*/
|
|
@@ -19533,10 +19484,6 @@ export interface BookingsApiGetBookingSpacePaymentsRequest {
|
|
|
19533
19484
|
* Request parameters for getBookingSpaceSlots operation in BookingsApi.
|
|
19534
19485
|
*/
|
|
19535
19486
|
export interface BookingsApiGetBookingSpaceSlotsRequest {
|
|
19536
|
-
/**
|
|
19537
|
-
* The place identifier
|
|
19538
|
-
*/
|
|
19539
|
-
readonly placeId: string;
|
|
19540
19487
|
/**
|
|
19541
19488
|
* The space identifier
|
|
19542
19489
|
*/
|
|
@@ -19550,10 +19497,6 @@ export interface BookingsApiGetBookingSpaceSlotsRequest {
|
|
|
19550
19497
|
* Request parameters for getBookingSpaceTiers operation in BookingsApi.
|
|
19551
19498
|
*/
|
|
19552
19499
|
export interface BookingsApiGetBookingSpaceTiersRequest {
|
|
19553
|
-
/**
|
|
19554
|
-
* The place identifier
|
|
19555
|
-
*/
|
|
19556
|
-
readonly placeId: string;
|
|
19557
19500
|
/**
|
|
19558
19501
|
* The space identifier
|
|
19559
19502
|
*/
|
|
@@ -19579,10 +19522,6 @@ export interface BookingsApiGetBookingSpaceTiersRequest {
|
|
|
19579
19522
|
* Request parameters for getBookingSpaceTranslation operation in BookingsApi.
|
|
19580
19523
|
*/
|
|
19581
19524
|
export interface BookingsApiGetBookingSpaceTranslationRequest {
|
|
19582
|
-
/**
|
|
19583
|
-
* The place identifier
|
|
19584
|
-
*/
|
|
19585
|
-
readonly placeId: string;
|
|
19586
19525
|
/**
|
|
19587
19526
|
* The space identifier
|
|
19588
19527
|
*/
|
|
@@ -19596,10 +19535,6 @@ export interface BookingsApiGetBookingSpaceTranslationRequest {
|
|
|
19596
19535
|
* Request parameters for getBookingSpaceTranslations operation in BookingsApi.
|
|
19597
19536
|
*/
|
|
19598
19537
|
export interface BookingsApiGetBookingSpaceTranslationsRequest {
|
|
19599
|
-
/**
|
|
19600
|
-
* The place identifier
|
|
19601
|
-
*/
|
|
19602
|
-
readonly placeId: string;
|
|
19603
19538
|
/**
|
|
19604
19539
|
* The space identifier
|
|
19605
19540
|
*/
|
|
@@ -19626,9 +19561,21 @@ export interface BookingsApiGetBookingSpaceTranslationsRequest {
|
|
|
19626
19561
|
*/
|
|
19627
19562
|
export interface BookingsApiGetBookingSpacesRequest {
|
|
19628
19563
|
/**
|
|
19629
|
-
*
|
|
19564
|
+
* Filter by placeId
|
|
19630
19565
|
*/
|
|
19631
|
-
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;
|
|
19632
19579
|
/**
|
|
19633
19580
|
* Page number
|
|
19634
19581
|
*/
|
|
@@ -19650,10 +19597,6 @@ export interface BookingsApiGetBookingSpacesRequest {
|
|
|
19650
19597
|
* Request parameters for removeBookingSpaceTier operation in BookingsApi.
|
|
19651
19598
|
*/
|
|
19652
19599
|
export interface BookingsApiRemoveBookingSpaceTierRequest {
|
|
19653
|
-
/**
|
|
19654
|
-
* The place identifier
|
|
19655
|
-
*/
|
|
19656
|
-
readonly placeId: string;
|
|
19657
19600
|
/**
|
|
19658
19601
|
* The space identifier
|
|
19659
19602
|
*/
|
|
@@ -19667,10 +19610,6 @@ export interface BookingsApiRemoveBookingSpaceTierRequest {
|
|
|
19667
19610
|
* Request parameters for undoCheckInBooking operation in BookingsApi.
|
|
19668
19611
|
*/
|
|
19669
19612
|
export interface BookingsApiUndoCheckInBookingRequest {
|
|
19670
|
-
/**
|
|
19671
|
-
* The place identifier
|
|
19672
|
-
*/
|
|
19673
|
-
readonly placeId: string;
|
|
19674
19613
|
/**
|
|
19675
19614
|
* The space identifier
|
|
19676
19615
|
*/
|
|
@@ -19684,10 +19623,6 @@ export interface BookingsApiUndoCheckInBookingRequest {
|
|
|
19684
19623
|
* Request parameters for updateBooking operation in BookingsApi.
|
|
19685
19624
|
*/
|
|
19686
19625
|
export interface BookingsApiUpdateBookingRequest {
|
|
19687
|
-
/**
|
|
19688
|
-
* The place identifier
|
|
19689
|
-
*/
|
|
19690
|
-
readonly placeId: string;
|
|
19691
19626
|
/**
|
|
19692
19627
|
* The space identifier
|
|
19693
19628
|
*/
|
|
@@ -19735,13 +19670,13 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
19735
19670
|
*/
|
|
19736
19671
|
createBooking(requestParameters: BookingsApiCreateBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBooking200Response, any, {}>>;
|
|
19737
19672
|
/**
|
|
19738
|
-
* 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).
|
|
19739
19674
|
* @summary Delete a booking
|
|
19740
19675
|
* @param {BookingsApiDeleteBookingRequest} requestParameters Request parameters.
|
|
19741
19676
|
* @param {*} [options] Override http request option.
|
|
19742
19677
|
* @throws {RequiredError}
|
|
19743
19678
|
*/
|
|
19744
|
-
deleteBooking(requestParameters: BookingsApiDeleteBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
19679
|
+
deleteBooking(requestParameters: BookingsApiDeleteBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBooking200Response, any, {}>>;
|
|
19745
19680
|
/**
|
|
19746
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\".
|
|
19747
19682
|
* @summary Get a booking
|
|
@@ -19807,7 +19742,7 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
19807
19742
|
*/
|
|
19808
19743
|
getBookingResponses(requestParameters: BookingsApiGetBookingResponsesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingResponses200Response, any, {}>>;
|
|
19809
19744
|
/**
|
|
19810
|
-
* Returns a single bookable space
|
|
19745
|
+
* Returns a single bookable space by its id or slug; requires the \"read\" permission on \"bookings\".
|
|
19811
19746
|
* @summary Get a booking space
|
|
19812
19747
|
* @param {BookingsApiGetBookingSpaceRequest} requestParameters Request parameters.
|
|
19813
19748
|
* @param {*} [options] Override http request option.
|
|
@@ -19823,8 +19758,8 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
19823
19758
|
*/
|
|
19824
19759
|
getBookingSpaceAvailabilities(requestParameters: BookingsApiGetBookingSpaceAvailabilitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingSpaceAvailabilities200Response, any, {}>>;
|
|
19825
19760
|
/**
|
|
19826
|
-
* Returns a single
|
|
19827
|
-
* @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
|
|
19828
19763
|
* @param {BookingsApiGetBookingSpaceAvailabilityRequest} requestParameters Request parameters.
|
|
19829
19764
|
* @param {*} [options] Override http request option.
|
|
19830
19765
|
* @throws {RequiredError}
|
|
@@ -19863,7 +19798,7 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
19863
19798
|
*/
|
|
19864
19799
|
getBookingSpacePayments(requestParameters: BookingsApiGetBookingSpacePaymentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountPayments200Response, any, {}>>;
|
|
19865
19800
|
/**
|
|
19866
|
-
* 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.
|
|
19867
19802
|
* @summary Get a booking space\'s available slots
|
|
19868
19803
|
* @param {BookingsApiGetBookingSpaceSlotsRequest} requestParameters Request parameters.
|
|
19869
19804
|
* @param {*} [options] Override http request option.
|
|
@@ -19871,7 +19806,7 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
19871
19806
|
*/
|
|
19872
19807
|
getBookingSpaceSlots(requestParameters: BookingsApiGetBookingSpaceSlotsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingSpaceSlots200Response, any, {}>>;
|
|
19873
19808
|
/**
|
|
19874
|
-
* 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.
|
|
19875
19810
|
* @summary List a booking space\'s assigned tiers
|
|
19876
19811
|
* @param {BookingsApiGetBookingSpaceTiersRequest} requestParameters Request parameters.
|
|
19877
19812
|
* @param {*} [options] Override http request option.
|
|
@@ -19887,7 +19822,7 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
19887
19822
|
*/
|
|
19888
19823
|
getBookingSpaceTranslation(requestParameters: BookingsApiGetBookingSpaceTranslationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingSpaceTranslation200Response, any, {}>>;
|
|
19889
19824
|
/**
|
|
19890
|
-
* 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.
|
|
19891
19826
|
* @summary List a booking space\'s translations
|
|
19892
19827
|
* @param {BookingsApiGetBookingSpaceTranslationsRequest} requestParameters Request parameters.
|
|
19893
19828
|
* @param {*} [options] Override http request option.
|
|
@@ -19895,13 +19830,13 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
19895
19830
|
*/
|
|
19896
19831
|
getBookingSpaceTranslations(requestParameters: BookingsApiGetBookingSpaceTranslationsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingSpaceTranslations200Response, any, {}>>;
|
|
19897
19832
|
/**
|
|
19898
|
-
* Returns a paginated list of bookable spaces
|
|
19899
|
-
* @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
|
|
19900
19835
|
* @param {BookingsApiGetBookingSpacesRequest} requestParameters Request parameters.
|
|
19901
19836
|
* @param {*} [options] Override http request option.
|
|
19902
19837
|
* @throws {RequiredError}
|
|
19903
19838
|
*/
|
|
19904
|
-
getBookingSpaces(requestParameters
|
|
19839
|
+
getBookingSpaces(requestParameters?: BookingsApiGetBookingSpacesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingSpaces200Response, any, {}>>;
|
|
19905
19840
|
/**
|
|
19906
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.
|
|
19907
19842
|
* @summary Remove an account tier from a booking space
|
|
@@ -19919,7 +19854,7 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
19919
19854
|
*/
|
|
19920
19855
|
undoCheckInBooking(requestParameters: BookingsApiUndoCheckInBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBooking200Response, any, {}>>;
|
|
19921
19856
|
/**
|
|
19922
|
-
* 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.
|
|
19923
19858
|
* @summary Update a booking
|
|
19924
19859
|
* @param {BookingsApiUpdateBookingRequest} requestParameters Request parameters.
|
|
19925
19860
|
* @param {*} [options] Override http request option.
|
|
@@ -19934,34 +19869,31 @@ export declare const BookingsAvailabilitiesApiAxiosParamCreator: (configuration?
|
|
|
19934
19869
|
/**
|
|
19935
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.
|
|
19936
19871
|
* @summary Create a booking space availability
|
|
19937
|
-
* @param {string} placeId The place identifier
|
|
19938
19872
|
* @param {string} spaceId The space identifier
|
|
19939
19873
|
* @param {BookingSpaceAvailabilityCreateInputs} bookingSpaceAvailabilityCreateInputs
|
|
19940
19874
|
* @param {*} [options] Override http request option.
|
|
19941
19875
|
* @throws {RequiredError}
|
|
19942
19876
|
*/
|
|
19943
|
-
createBookingSpaceAvailability: (
|
|
19877
|
+
createBookingSpaceAvailability: (spaceId: string, bookingSpaceAvailabilityCreateInputs: BookingSpaceAvailabilityCreateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19944
19878
|
/**
|
|
19945
19879
|
* Permanently deletes the recurring availability window identified by availabilityId from the given booking space, requiring the \"update\" permission on bookings.
|
|
19946
19880
|
* @summary Delete a booking space availability
|
|
19947
|
-
* @param {string} placeId The place identifier
|
|
19948
19881
|
* @param {string} spaceId The space identifier
|
|
19949
19882
|
* @param {string} availabilityId The availability identifier
|
|
19950
19883
|
* @param {*} [options] Override http request option.
|
|
19951
19884
|
* @throws {RequiredError}
|
|
19952
19885
|
*/
|
|
19953
|
-
deleteBookingSpaceAvailability: (
|
|
19886
|
+
deleteBookingSpaceAvailability: (spaceId: string, availabilityId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19954
19887
|
/**
|
|
19955
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.
|
|
19956
19889
|
* @summary Update a booking space availability
|
|
19957
|
-
* @param {string} placeId The place identifier
|
|
19958
19890
|
* @param {string} spaceId The space identifier
|
|
19959
19891
|
* @param {string} availabilityId The availability identifier
|
|
19960
19892
|
* @param {BookingSpaceAvailabilityUpdateInputs} bookingSpaceAvailabilityUpdateInputs
|
|
19961
19893
|
* @param {*} [options] Override http request option.
|
|
19962
19894
|
* @throws {RequiredError}
|
|
19963
19895
|
*/
|
|
19964
|
-
updateBookingSpaceAvailability: (
|
|
19896
|
+
updateBookingSpaceAvailability: (spaceId: string, availabilityId: string, bookingSpaceAvailabilityUpdateInputs: BookingSpaceAvailabilityUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19965
19897
|
};
|
|
19966
19898
|
/**
|
|
19967
19899
|
* BookingsAvailabilitiesApi - functional programming interface
|
|
@@ -19970,34 +19902,31 @@ export declare const BookingsAvailabilitiesApiFp: (configuration?: Configuration
|
|
|
19970
19902
|
/**
|
|
19971
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.
|
|
19972
19904
|
* @summary Create a booking space availability
|
|
19973
|
-
* @param {string} placeId The place identifier
|
|
19974
19905
|
* @param {string} spaceId The space identifier
|
|
19975
19906
|
* @param {BookingSpaceAvailabilityCreateInputs} bookingSpaceAvailabilityCreateInputs
|
|
19976
19907
|
* @param {*} [options] Override http request option.
|
|
19977
19908
|
* @throws {RequiredError}
|
|
19978
19909
|
*/
|
|
19979
|
-
createBookingSpaceAvailability(
|
|
19910
|
+
createBookingSpaceAvailability(spaceId: string, bookingSpaceAvailabilityCreateInputs: BookingSpaceAvailabilityCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceAvailability200Response>>;
|
|
19980
19911
|
/**
|
|
19981
19912
|
* Permanently deletes the recurring availability window identified by availabilityId from the given booking space, requiring the \"update\" permission on bookings.
|
|
19982
19913
|
* @summary Delete a booking space availability
|
|
19983
|
-
* @param {string} placeId The place identifier
|
|
19984
19914
|
* @param {string} spaceId The space identifier
|
|
19985
19915
|
* @param {string} availabilityId The availability identifier
|
|
19986
19916
|
* @param {*} [options] Override http request option.
|
|
19987
19917
|
* @throws {RequiredError}
|
|
19988
19918
|
*/
|
|
19989
|
-
deleteBookingSpaceAvailability(
|
|
19919
|
+
deleteBookingSpaceAvailability(spaceId: string, availabilityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
19990
19920
|
/**
|
|
19991
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.
|
|
19992
19922
|
* @summary Update a booking space availability
|
|
19993
|
-
* @param {string} placeId The place identifier
|
|
19994
19923
|
* @param {string} spaceId The space identifier
|
|
19995
19924
|
* @param {string} availabilityId The availability identifier
|
|
19996
19925
|
* @param {BookingSpaceAvailabilityUpdateInputs} bookingSpaceAvailabilityUpdateInputs
|
|
19997
19926
|
* @param {*} [options] Override http request option.
|
|
19998
19927
|
* @throws {RequiredError}
|
|
19999
19928
|
*/
|
|
20000
|
-
updateBookingSpaceAvailability(
|
|
19929
|
+
updateBookingSpaceAvailability(spaceId: string, availabilityId: string, bookingSpaceAvailabilityUpdateInputs: BookingSpaceAvailabilityUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceAvailability200Response>>;
|
|
20001
19930
|
};
|
|
20002
19931
|
/**
|
|
20003
19932
|
* BookingsAvailabilitiesApi - factory interface
|
|
@@ -20032,10 +19961,6 @@ export declare const BookingsAvailabilitiesApiFactory: (configuration?: Configur
|
|
|
20032
19961
|
* Request parameters for createBookingSpaceAvailability operation in BookingsAvailabilitiesApi.
|
|
20033
19962
|
*/
|
|
20034
19963
|
export interface BookingsAvailabilitiesApiCreateBookingSpaceAvailabilityRequest {
|
|
20035
|
-
/**
|
|
20036
|
-
* The place identifier
|
|
20037
|
-
*/
|
|
20038
|
-
readonly placeId: string;
|
|
20039
19964
|
/**
|
|
20040
19965
|
* The space identifier
|
|
20041
19966
|
*/
|
|
@@ -20046,10 +19971,6 @@ export interface BookingsAvailabilitiesApiCreateBookingSpaceAvailabilityRequest
|
|
|
20046
19971
|
* Request parameters for deleteBookingSpaceAvailability operation in BookingsAvailabilitiesApi.
|
|
20047
19972
|
*/
|
|
20048
19973
|
export interface BookingsAvailabilitiesApiDeleteBookingSpaceAvailabilityRequest {
|
|
20049
|
-
/**
|
|
20050
|
-
* The place identifier
|
|
20051
|
-
*/
|
|
20052
|
-
readonly placeId: string;
|
|
20053
19974
|
/**
|
|
20054
19975
|
* The space identifier
|
|
20055
19976
|
*/
|
|
@@ -20063,10 +19984,6 @@ export interface BookingsAvailabilitiesApiDeleteBookingSpaceAvailabilityRequest
|
|
|
20063
19984
|
* Request parameters for updateBookingSpaceAvailability operation in BookingsAvailabilitiesApi.
|
|
20064
19985
|
*/
|
|
20065
19986
|
export interface BookingsAvailabilitiesApiUpdateBookingSpaceAvailabilityRequest {
|
|
20066
|
-
/**
|
|
20067
|
-
* The place identifier
|
|
20068
|
-
*/
|
|
20069
|
-
readonly placeId: string;
|
|
20070
19987
|
/**
|
|
20071
19988
|
* The space identifier
|
|
20072
19989
|
*/
|
|
@@ -20113,34 +20030,31 @@ export declare const BookingsBlackoutsApiAxiosParamCreator: (configuration?: Con
|
|
|
20113
20030
|
/**
|
|
20114
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.
|
|
20115
20032
|
* @summary Create a booking space blackout
|
|
20116
|
-
* @param {string} placeId The place identifier
|
|
20117
20033
|
* @param {string} spaceId The space identifier
|
|
20118
20034
|
* @param {BookingSpaceBlackoutCreateInputs} bookingSpaceBlackoutCreateInputs
|
|
20119
20035
|
* @param {*} [options] Override http request option.
|
|
20120
20036
|
* @throws {RequiredError}
|
|
20121
20037
|
*/
|
|
20122
|
-
createBookingSpaceBlackout: (
|
|
20038
|
+
createBookingSpaceBlackout: (spaceId: string, bookingSpaceBlackoutCreateInputs: BookingSpaceBlackoutCreateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20123
20039
|
/**
|
|
20124
20040
|
* Permanently deletes the blackout window identified by blackoutId from the given booking space, requiring the \"update\" permission on bookings.
|
|
20125
20041
|
* @summary Delete a booking space blackout
|
|
20126
|
-
* @param {string} placeId The place identifier
|
|
20127
20042
|
* @param {string} spaceId The space identifier
|
|
20128
20043
|
* @param {string} blackoutId The blackout identifier
|
|
20129
20044
|
* @param {*} [options] Override http request option.
|
|
20130
20045
|
* @throws {RequiredError}
|
|
20131
20046
|
*/
|
|
20132
|
-
deleteBookingSpaceBlackout: (
|
|
20047
|
+
deleteBookingSpaceBlackout: (spaceId: string, blackoutId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20133
20048
|
/**
|
|
20134
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.
|
|
20135
20050
|
* @summary Update a booking space blackout
|
|
20136
|
-
* @param {string} placeId The place identifier
|
|
20137
20051
|
* @param {string} spaceId The space identifier
|
|
20138
20052
|
* @param {string} blackoutId The blackout identifier
|
|
20139
20053
|
* @param {BookingSpaceBlackoutUpdateInputs} bookingSpaceBlackoutUpdateInputs
|
|
20140
20054
|
* @param {*} [options] Override http request option.
|
|
20141
20055
|
* @throws {RequiredError}
|
|
20142
20056
|
*/
|
|
20143
|
-
updateBookingSpaceBlackout: (
|
|
20057
|
+
updateBookingSpaceBlackout: (spaceId: string, blackoutId: string, bookingSpaceBlackoutUpdateInputs: BookingSpaceBlackoutUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20144
20058
|
};
|
|
20145
20059
|
/**
|
|
20146
20060
|
* BookingsBlackoutsApi - functional programming interface
|
|
@@ -20149,34 +20063,31 @@ export declare const BookingsBlackoutsApiFp: (configuration?: Configuration) =>
|
|
|
20149
20063
|
/**
|
|
20150
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.
|
|
20151
20065
|
* @summary Create a booking space blackout
|
|
20152
|
-
* @param {string} placeId The place identifier
|
|
20153
20066
|
* @param {string} spaceId The space identifier
|
|
20154
20067
|
* @param {BookingSpaceBlackoutCreateInputs} bookingSpaceBlackoutCreateInputs
|
|
20155
20068
|
* @param {*} [options] Override http request option.
|
|
20156
20069
|
* @throws {RequiredError}
|
|
20157
20070
|
*/
|
|
20158
|
-
createBookingSpaceBlackout(
|
|
20071
|
+
createBookingSpaceBlackout(spaceId: string, bookingSpaceBlackoutCreateInputs: BookingSpaceBlackoutCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceBlackout200Response>>;
|
|
20159
20072
|
/**
|
|
20160
20073
|
* Permanently deletes the blackout window identified by blackoutId from the given booking space, requiring the \"update\" permission on bookings.
|
|
20161
20074
|
* @summary Delete a booking space blackout
|
|
20162
|
-
* @param {string} placeId The place identifier
|
|
20163
20075
|
* @param {string} spaceId The space identifier
|
|
20164
20076
|
* @param {string} blackoutId The blackout identifier
|
|
20165
20077
|
* @param {*} [options] Override http request option.
|
|
20166
20078
|
* @throws {RequiredError}
|
|
20167
20079
|
*/
|
|
20168
|
-
deleteBookingSpaceBlackout(
|
|
20080
|
+
deleteBookingSpaceBlackout(spaceId: string, blackoutId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
20169
20081
|
/**
|
|
20170
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.
|
|
20171
20083
|
* @summary Update a booking space blackout
|
|
20172
|
-
* @param {string} placeId The place identifier
|
|
20173
20084
|
* @param {string} spaceId The space identifier
|
|
20174
20085
|
* @param {string} blackoutId The blackout identifier
|
|
20175
20086
|
* @param {BookingSpaceBlackoutUpdateInputs} bookingSpaceBlackoutUpdateInputs
|
|
20176
20087
|
* @param {*} [options] Override http request option.
|
|
20177
20088
|
* @throws {RequiredError}
|
|
20178
20089
|
*/
|
|
20179
|
-
updateBookingSpaceBlackout(
|
|
20090
|
+
updateBookingSpaceBlackout(spaceId: string, blackoutId: string, bookingSpaceBlackoutUpdateInputs: BookingSpaceBlackoutUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceBlackout200Response>>;
|
|
20180
20091
|
};
|
|
20181
20092
|
/**
|
|
20182
20093
|
* BookingsBlackoutsApi - factory interface
|
|
@@ -20211,10 +20122,6 @@ export declare const BookingsBlackoutsApiFactory: (configuration?: Configuration
|
|
|
20211
20122
|
* Request parameters for createBookingSpaceBlackout operation in BookingsBlackoutsApi.
|
|
20212
20123
|
*/
|
|
20213
20124
|
export interface BookingsBlackoutsApiCreateBookingSpaceBlackoutRequest {
|
|
20214
|
-
/**
|
|
20215
|
-
* The place identifier
|
|
20216
|
-
*/
|
|
20217
|
-
readonly placeId: string;
|
|
20218
20125
|
/**
|
|
20219
20126
|
* The space identifier
|
|
20220
20127
|
*/
|
|
@@ -20225,10 +20132,6 @@ export interface BookingsBlackoutsApiCreateBookingSpaceBlackoutRequest {
|
|
|
20225
20132
|
* Request parameters for deleteBookingSpaceBlackout operation in BookingsBlackoutsApi.
|
|
20226
20133
|
*/
|
|
20227
20134
|
export interface BookingsBlackoutsApiDeleteBookingSpaceBlackoutRequest {
|
|
20228
|
-
/**
|
|
20229
|
-
* The place identifier
|
|
20230
|
-
*/
|
|
20231
|
-
readonly placeId: string;
|
|
20232
20135
|
/**
|
|
20233
20136
|
* The space identifier
|
|
20234
20137
|
*/
|
|
@@ -20242,10 +20145,6 @@ export interface BookingsBlackoutsApiDeleteBookingSpaceBlackoutRequest {
|
|
|
20242
20145
|
* Request parameters for updateBookingSpaceBlackout operation in BookingsBlackoutsApi.
|
|
20243
20146
|
*/
|
|
20244
20147
|
export interface BookingsBlackoutsApiUpdateBookingSpaceBlackoutRequest {
|
|
20245
|
-
/**
|
|
20246
|
-
* The place identifier
|
|
20247
|
-
*/
|
|
20248
|
-
readonly placeId: string;
|
|
20249
20148
|
/**
|
|
20250
20149
|
* The space identifier
|
|
20251
20150
|
*/
|
|
@@ -20552,58 +20451,52 @@ export declare const BookingsQuestionsApiAxiosParamCreator: (configuration?: Con
|
|
|
20552
20451
|
/**
|
|
20553
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.
|
|
20554
20453
|
* @summary Attach a search list to a booking question
|
|
20555
|
-
* @param {string} placeId The place identifier
|
|
20556
20454
|
* @param {string} spaceId The space identifier
|
|
20557
20455
|
* @param {string} questionId The question identifier
|
|
20558
20456
|
* @param {AttachSearchListInputs} attachSearchListInputs
|
|
20559
20457
|
* @param {*} [options] Override http request option.
|
|
20560
20458
|
* @throws {RequiredError}
|
|
20561
20459
|
*/
|
|
20562
|
-
attachBookingSpaceQuestionSearchList: (
|
|
20460
|
+
attachBookingSpaceQuestionSearchList: (spaceId: string, questionId: string, attachSearchListInputs: AttachSearchListInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20563
20461
|
/**
|
|
20564
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.
|
|
20565
20463
|
* @summary Create a booking space question
|
|
20566
|
-
* @param {string} placeId The place identifier
|
|
20567
20464
|
* @param {string} spaceId The space identifier
|
|
20568
20465
|
* @param {BookingSpaceQuestionCreateInputs} bookingSpaceQuestionCreateInputs
|
|
20569
20466
|
* @param {*} [options] Override http request option.
|
|
20570
20467
|
* @throws {RequiredError}
|
|
20571
20468
|
*/
|
|
20572
|
-
createBookingSpaceQuestion: (
|
|
20469
|
+
createBookingSpaceQuestion: (spaceId: string, bookingSpaceQuestionCreateInputs: BookingSpaceQuestionCreateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20573
20470
|
/**
|
|
20574
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.
|
|
20575
20472
|
* @summary Delete a booking space question
|
|
20576
|
-
* @param {string} placeId The place identifier
|
|
20577
20473
|
* @param {string} spaceId The space identifier
|
|
20578
20474
|
* @param {string} questionId The question identifier
|
|
20579
20475
|
* @param {*} [options] Override http request option.
|
|
20580
20476
|
* @throws {RequiredError}
|
|
20581
20477
|
*/
|
|
20582
|
-
deleteBookingSpaceQuestion: (
|
|
20478
|
+
deleteBookingSpaceQuestion: (spaceId: string, questionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20583
20479
|
/**
|
|
20584
20480
|
* Removes the search list currently linked to a booking space question, clearing its source of predefined options; requires update permission on bookings.
|
|
20585
20481
|
* @summary Detach a search list from a booking question
|
|
20586
|
-
* @param {string} placeId The place identifier
|
|
20587
20482
|
* @param {string} spaceId The space identifier
|
|
20588
20483
|
* @param {string} questionId The question identifier
|
|
20589
20484
|
* @param {*} [options] Override http request option.
|
|
20590
20485
|
* @throws {RequiredError}
|
|
20591
20486
|
*/
|
|
20592
|
-
detachBookingSpaceQuestionSearchList: (
|
|
20487
|
+
detachBookingSpaceQuestionSearchList: (spaceId: string, questionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20593
20488
|
/**
|
|
20594
20489
|
* Retrieves a single custom question configured for a booking space, including its label, type, and settings; requires the \"read\" permission on \"bookings\".
|
|
20595
20490
|
* @summary Get a booking space question
|
|
20596
|
-
* @param {string} placeId The place identifier
|
|
20597
20491
|
* @param {string} spaceId The space identifier
|
|
20598
20492
|
* @param {string} questionId The question identifier
|
|
20599
20493
|
* @param {*} [options] Override http request option.
|
|
20600
20494
|
* @throws {RequiredError}
|
|
20601
20495
|
*/
|
|
20602
|
-
getBookingSpaceQuestion: (
|
|
20496
|
+
getBookingSpaceQuestion: (spaceId: string, questionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20603
20497
|
/**
|
|
20604
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\".
|
|
20605
20499
|
* @summary List a booking space\'s custom questions
|
|
20606
|
-
* @param {string} placeId The place identifier
|
|
20607
20500
|
* @param {string} spaceId The space identifier
|
|
20608
20501
|
* @param {number} [page] Page number
|
|
20609
20502
|
* @param {number} [pageSize] Number of items per page
|
|
@@ -20612,28 +20505,26 @@ export declare const BookingsQuestionsApiAxiosParamCreator: (configuration?: Con
|
|
|
20612
20505
|
* @param {*} [options] Override http request option.
|
|
20613
20506
|
* @throws {RequiredError}
|
|
20614
20507
|
*/
|
|
20615
|
-
getBookingSpaceQuestions: (
|
|
20508
|
+
getBookingSpaceQuestions: (spaceId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20616
20509
|
/**
|
|
20617
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.
|
|
20618
20511
|
* @summary Reorder a booking space\'s questions
|
|
20619
|
-
* @param {string} placeId The place identifier
|
|
20620
20512
|
* @param {string} spaceId The space identifier
|
|
20621
20513
|
* @param {ReorderBookingSpaceQuestionsRequest} reorderBookingSpaceQuestionsRequest
|
|
20622
20514
|
* @param {*} [options] Override http request option.
|
|
20623
20515
|
* @throws {RequiredError}
|
|
20624
20516
|
*/
|
|
20625
|
-
reorderBookingSpaceQuestions: (
|
|
20517
|
+
reorderBookingSpaceQuestions: (spaceId: string, reorderBookingSpaceQuestionsRequest: ReorderBookingSpaceQuestionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20626
20518
|
/**
|
|
20627
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.
|
|
20628
20520
|
* @summary Update a booking space question
|
|
20629
|
-
* @param {string} placeId The place identifier
|
|
20630
20521
|
* @param {string} spaceId The space identifier
|
|
20631
20522
|
* @param {string} questionId The question identifier
|
|
20632
20523
|
* @param {BookingSpaceQuestionUpdateInputs} bookingSpaceQuestionUpdateInputs
|
|
20633
20524
|
* @param {*} [options] Override http request option.
|
|
20634
20525
|
* @throws {RequiredError}
|
|
20635
20526
|
*/
|
|
20636
|
-
updateBookingSpaceQuestion: (
|
|
20527
|
+
updateBookingSpaceQuestion: (spaceId: string, questionId: string, bookingSpaceQuestionUpdateInputs: BookingSpaceQuestionUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20637
20528
|
};
|
|
20638
20529
|
/**
|
|
20639
20530
|
* BookingsQuestionsApi - functional programming interface
|
|
@@ -20642,58 +20533,52 @@ export declare const BookingsQuestionsApiFp: (configuration?: Configuration) =>
|
|
|
20642
20533
|
/**
|
|
20643
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.
|
|
20644
20535
|
* @summary Attach a search list to a booking question
|
|
20645
|
-
* @param {string} placeId The place identifier
|
|
20646
20536
|
* @param {string} spaceId The space identifier
|
|
20647
20537
|
* @param {string} questionId The question identifier
|
|
20648
20538
|
* @param {AttachSearchListInputs} attachSearchListInputs
|
|
20649
20539
|
* @param {*} [options] Override http request option.
|
|
20650
20540
|
* @throws {RequiredError}
|
|
20651
20541
|
*/
|
|
20652
|
-
attachBookingSpaceQuestionSearchList(
|
|
20542
|
+
attachBookingSpaceQuestionSearchList(spaceId: string, questionId: string, attachSearchListInputs: AttachSearchListInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceQuestion200Response>>;
|
|
20653
20543
|
/**
|
|
20654
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.
|
|
20655
20545
|
* @summary Create a booking space question
|
|
20656
|
-
* @param {string} placeId The place identifier
|
|
20657
20546
|
* @param {string} spaceId The space identifier
|
|
20658
20547
|
* @param {BookingSpaceQuestionCreateInputs} bookingSpaceQuestionCreateInputs
|
|
20659
20548
|
* @param {*} [options] Override http request option.
|
|
20660
20549
|
* @throws {RequiredError}
|
|
20661
20550
|
*/
|
|
20662
|
-
createBookingSpaceQuestion(
|
|
20551
|
+
createBookingSpaceQuestion(spaceId: string, bookingSpaceQuestionCreateInputs: BookingSpaceQuestionCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceQuestion200Response>>;
|
|
20663
20552
|
/**
|
|
20664
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.
|
|
20665
20554
|
* @summary Delete a booking space question
|
|
20666
|
-
* @param {string} placeId The place identifier
|
|
20667
20555
|
* @param {string} spaceId The space identifier
|
|
20668
20556
|
* @param {string} questionId The question identifier
|
|
20669
20557
|
* @param {*} [options] Override http request option.
|
|
20670
20558
|
* @throws {RequiredError}
|
|
20671
20559
|
*/
|
|
20672
|
-
deleteBookingSpaceQuestion(
|
|
20560
|
+
deleteBookingSpaceQuestion(spaceId: string, questionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
20673
20561
|
/**
|
|
20674
20562
|
* Removes the search list currently linked to a booking space question, clearing its source of predefined options; requires update permission on bookings.
|
|
20675
20563
|
* @summary Detach a search list from a booking question
|
|
20676
|
-
* @param {string} placeId The place identifier
|
|
20677
20564
|
* @param {string} spaceId The space identifier
|
|
20678
20565
|
* @param {string} questionId The question identifier
|
|
20679
20566
|
* @param {*} [options] Override http request option.
|
|
20680
20567
|
* @throws {RequiredError}
|
|
20681
20568
|
*/
|
|
20682
|
-
detachBookingSpaceQuestionSearchList(
|
|
20569
|
+
detachBookingSpaceQuestionSearchList(spaceId: string, questionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceQuestion200Response>>;
|
|
20683
20570
|
/**
|
|
20684
20571
|
* Retrieves a single custom question configured for a booking space, including its label, type, and settings; requires the \"read\" permission on \"bookings\".
|
|
20685
20572
|
* @summary Get a booking space question
|
|
20686
|
-
* @param {string} placeId The place identifier
|
|
20687
20573
|
* @param {string} spaceId The space identifier
|
|
20688
20574
|
* @param {string} questionId The question identifier
|
|
20689
20575
|
* @param {*} [options] Override http request option.
|
|
20690
20576
|
* @throws {RequiredError}
|
|
20691
20577
|
*/
|
|
20692
|
-
getBookingSpaceQuestion(
|
|
20578
|
+
getBookingSpaceQuestion(spaceId: string, questionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceQuestion200Response>>;
|
|
20693
20579
|
/**
|
|
20694
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\".
|
|
20695
20581
|
* @summary List a booking space\'s custom questions
|
|
20696
|
-
* @param {string} placeId The place identifier
|
|
20697
20582
|
* @param {string} spaceId The space identifier
|
|
20698
20583
|
* @param {number} [page] Page number
|
|
20699
20584
|
* @param {number} [pageSize] Number of items per page
|
|
@@ -20702,28 +20587,26 @@ export declare const BookingsQuestionsApiFp: (configuration?: Configuration) =>
|
|
|
20702
20587
|
* @param {*} [options] Override http request option.
|
|
20703
20588
|
* @throws {RequiredError}
|
|
20704
20589
|
*/
|
|
20705
|
-
getBookingSpaceQuestions(
|
|
20590
|
+
getBookingSpaceQuestions(spaceId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceQuestions200Response>>;
|
|
20706
20591
|
/**
|
|
20707
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.
|
|
20708
20593
|
* @summary Reorder a booking space\'s questions
|
|
20709
|
-
* @param {string} placeId The place identifier
|
|
20710
20594
|
* @param {string} spaceId The space identifier
|
|
20711
20595
|
* @param {ReorderBookingSpaceQuestionsRequest} reorderBookingSpaceQuestionsRequest
|
|
20712
20596
|
* @param {*} [options] Override http request option.
|
|
20713
20597
|
* @throws {RequiredError}
|
|
20714
20598
|
*/
|
|
20715
|
-
reorderBookingSpaceQuestions(
|
|
20599
|
+
reorderBookingSpaceQuestions(spaceId: string, reorderBookingSpaceQuestionsRequest: ReorderBookingSpaceQuestionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorderBookingSpaceQuestions200Response>>;
|
|
20716
20600
|
/**
|
|
20717
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.
|
|
20718
20602
|
* @summary Update a booking space question
|
|
20719
|
-
* @param {string} placeId The place identifier
|
|
20720
20603
|
* @param {string} spaceId The space identifier
|
|
20721
20604
|
* @param {string} questionId The question identifier
|
|
20722
20605
|
* @param {BookingSpaceQuestionUpdateInputs} bookingSpaceQuestionUpdateInputs
|
|
20723
20606
|
* @param {*} [options] Override http request option.
|
|
20724
20607
|
* @throws {RequiredError}
|
|
20725
20608
|
*/
|
|
20726
|
-
updateBookingSpaceQuestion(
|
|
20609
|
+
updateBookingSpaceQuestion(spaceId: string, questionId: string, bookingSpaceQuestionUpdateInputs: BookingSpaceQuestionUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceQuestion200Response>>;
|
|
20727
20610
|
};
|
|
20728
20611
|
/**
|
|
20729
20612
|
* BookingsQuestionsApi - factory interface
|
|
@@ -20798,10 +20681,6 @@ export declare const BookingsQuestionsApiFactory: (configuration?: Configuration
|
|
|
20798
20681
|
* Request parameters for attachBookingSpaceQuestionSearchList operation in BookingsQuestionsApi.
|
|
20799
20682
|
*/
|
|
20800
20683
|
export interface BookingsQuestionsApiAttachBookingSpaceQuestionSearchListRequest {
|
|
20801
|
-
/**
|
|
20802
|
-
* The place identifier
|
|
20803
|
-
*/
|
|
20804
|
-
readonly placeId: string;
|
|
20805
20684
|
/**
|
|
20806
20685
|
* The space identifier
|
|
20807
20686
|
*/
|
|
@@ -20816,10 +20695,6 @@ export interface BookingsQuestionsApiAttachBookingSpaceQuestionSearchListRequest
|
|
|
20816
20695
|
* Request parameters for createBookingSpaceQuestion operation in BookingsQuestionsApi.
|
|
20817
20696
|
*/
|
|
20818
20697
|
export interface BookingsQuestionsApiCreateBookingSpaceQuestionRequest {
|
|
20819
|
-
/**
|
|
20820
|
-
* The place identifier
|
|
20821
|
-
*/
|
|
20822
|
-
readonly placeId: string;
|
|
20823
20698
|
/**
|
|
20824
20699
|
* The space identifier
|
|
20825
20700
|
*/
|
|
@@ -20830,10 +20705,6 @@ export interface BookingsQuestionsApiCreateBookingSpaceQuestionRequest {
|
|
|
20830
20705
|
* Request parameters for deleteBookingSpaceQuestion operation in BookingsQuestionsApi.
|
|
20831
20706
|
*/
|
|
20832
20707
|
export interface BookingsQuestionsApiDeleteBookingSpaceQuestionRequest {
|
|
20833
|
-
/**
|
|
20834
|
-
* The place identifier
|
|
20835
|
-
*/
|
|
20836
|
-
readonly placeId: string;
|
|
20837
20708
|
/**
|
|
20838
20709
|
* The space identifier
|
|
20839
20710
|
*/
|
|
@@ -20847,10 +20718,6 @@ export interface BookingsQuestionsApiDeleteBookingSpaceQuestionRequest {
|
|
|
20847
20718
|
* Request parameters for detachBookingSpaceQuestionSearchList operation in BookingsQuestionsApi.
|
|
20848
20719
|
*/
|
|
20849
20720
|
export interface BookingsQuestionsApiDetachBookingSpaceQuestionSearchListRequest {
|
|
20850
|
-
/**
|
|
20851
|
-
* The place identifier
|
|
20852
|
-
*/
|
|
20853
|
-
readonly placeId: string;
|
|
20854
20721
|
/**
|
|
20855
20722
|
* The space identifier
|
|
20856
20723
|
*/
|
|
@@ -20864,10 +20731,6 @@ export interface BookingsQuestionsApiDetachBookingSpaceQuestionSearchListRequest
|
|
|
20864
20731
|
* Request parameters for getBookingSpaceQuestion operation in BookingsQuestionsApi.
|
|
20865
20732
|
*/
|
|
20866
20733
|
export interface BookingsQuestionsApiGetBookingSpaceQuestionRequest {
|
|
20867
|
-
/**
|
|
20868
|
-
* The place identifier
|
|
20869
|
-
*/
|
|
20870
|
-
readonly placeId: string;
|
|
20871
20734
|
/**
|
|
20872
20735
|
* The space identifier
|
|
20873
20736
|
*/
|
|
@@ -20881,10 +20744,6 @@ export interface BookingsQuestionsApiGetBookingSpaceQuestionRequest {
|
|
|
20881
20744
|
* Request parameters for getBookingSpaceQuestions operation in BookingsQuestionsApi.
|
|
20882
20745
|
*/
|
|
20883
20746
|
export interface BookingsQuestionsApiGetBookingSpaceQuestionsRequest {
|
|
20884
|
-
/**
|
|
20885
|
-
* The place identifier
|
|
20886
|
-
*/
|
|
20887
|
-
readonly placeId: string;
|
|
20888
20747
|
/**
|
|
20889
20748
|
* The space identifier
|
|
20890
20749
|
*/
|
|
@@ -20910,10 +20769,6 @@ export interface BookingsQuestionsApiGetBookingSpaceQuestionsRequest {
|
|
|
20910
20769
|
* Request parameters for reorderBookingSpaceQuestions operation in BookingsQuestionsApi.
|
|
20911
20770
|
*/
|
|
20912
20771
|
export interface BookingsQuestionsApiReorderBookingSpaceQuestionsRequest {
|
|
20913
|
-
/**
|
|
20914
|
-
* The place identifier
|
|
20915
|
-
*/
|
|
20916
|
-
readonly placeId: string;
|
|
20917
20772
|
/**
|
|
20918
20773
|
* The space identifier
|
|
20919
20774
|
*/
|
|
@@ -20924,10 +20779,6 @@ export interface BookingsQuestionsApiReorderBookingSpaceQuestionsRequest {
|
|
|
20924
20779
|
* Request parameters for updateBookingSpaceQuestion operation in BookingsQuestionsApi.
|
|
20925
20780
|
*/
|
|
20926
20781
|
export interface BookingsQuestionsApiUpdateBookingSpaceQuestionRequest {
|
|
20927
|
-
/**
|
|
20928
|
-
* The place identifier
|
|
20929
|
-
*/
|
|
20930
|
-
readonly placeId: string;
|
|
20931
20782
|
/**
|
|
20932
20783
|
* The space identifier
|
|
20933
20784
|
*/
|
|
@@ -21014,40 +20865,36 @@ export declare const BookingsQuestionsChoicesApiAxiosParamCreator: (configuratio
|
|
|
21014
20865
|
/**
|
|
21015
20866
|
* Creates a new selectable choice for a multiple-choice question on a booking space, requires the update bookings permission.
|
|
21016
20867
|
* @summary Create a booking space question choice
|
|
21017
|
-
* @param {string} placeId The place identifier
|
|
21018
20868
|
* @param {string} spaceId The space identifier
|
|
21019
20869
|
* @param {string} questionId The question identifier
|
|
21020
20870
|
* @param {BookingSpaceQuestionChoiceCreateInputs} bookingSpaceQuestionChoiceCreateInputs
|
|
21021
20871
|
* @param {*} [options] Override http request option.
|
|
21022
20872
|
* @throws {RequiredError}
|
|
21023
20873
|
*/
|
|
21024
|
-
createBookingSpaceQuestionChoice: (
|
|
20874
|
+
createBookingSpaceQuestionChoice: (spaceId: string, questionId: string, bookingSpaceQuestionChoiceCreateInputs: BookingSpaceQuestionChoiceCreateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21025
20875
|
/**
|
|
21026
20876
|
* Permanently deletes a choice from a booking space question by its ID, requires the update bookings permission.
|
|
21027
20877
|
* @summary Delete a booking space question choice
|
|
21028
|
-
* @param {string} placeId The place identifier
|
|
21029
20878
|
* @param {string} spaceId The space identifier
|
|
21030
20879
|
* @param {string} questionId The question identifier
|
|
21031
20880
|
* @param {string} choiceId The choice identifier
|
|
21032
20881
|
* @param {*} [options] Override http request option.
|
|
21033
20882
|
* @throws {RequiredError}
|
|
21034
20883
|
*/
|
|
21035
|
-
deleteBookingSpaceQuestionChoice: (
|
|
20884
|
+
deleteBookingSpaceQuestionChoice: (spaceId: string, questionId: string, choiceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21036
20885
|
/**
|
|
21037
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\".
|
|
21038
20887
|
* @summary Get a booking space question choice
|
|
21039
|
-
* @param {string} placeId The place identifier
|
|
21040
20888
|
* @param {string} spaceId The space identifier
|
|
21041
20889
|
* @param {string} questionId The question identifier
|
|
21042
20890
|
* @param {string} choiceId The choice identifier
|
|
21043
20891
|
* @param {*} [options] Override http request option.
|
|
21044
20892
|
* @throws {RequiredError}
|
|
21045
20893
|
*/
|
|
21046
|
-
getBookingSpaceQuestionChoice: (
|
|
20894
|
+
getBookingSpaceQuestionChoice: (spaceId: string, questionId: string, choiceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21047
20895
|
/**
|
|
21048
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\".
|
|
21049
20897
|
* @summary List a booking space question\'s choices
|
|
21050
|
-
* @param {string} placeId The place identifier
|
|
21051
20898
|
* @param {string} spaceId The space identifier
|
|
21052
20899
|
* @param {string} questionId The question identifier
|
|
21053
20900
|
* @param {number} [page] Page number
|
|
@@ -21057,22 +20904,20 @@ export declare const BookingsQuestionsChoicesApiAxiosParamCreator: (configuratio
|
|
|
21057
20904
|
* @param {*} [options] Override http request option.
|
|
21058
20905
|
* @throws {RequiredError}
|
|
21059
20906
|
*/
|
|
21060
|
-
getBookingSpaceQuestionChoices: (
|
|
20907
|
+
getBookingSpaceQuestionChoices: (spaceId: string, questionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21061
20908
|
/**
|
|
21062
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.
|
|
21063
20910
|
* @summary Reorder a booking question\'s choices
|
|
21064
|
-
* @param {string} placeId The place identifier
|
|
21065
20911
|
* @param {string} spaceId The space identifier
|
|
21066
20912
|
* @param {string} questionId The question identifier
|
|
21067
20913
|
* @param {ReorderBookingSpaceQuestionChoicesRequest} reorderBookingSpaceQuestionChoicesRequest
|
|
21068
20914
|
* @param {*} [options] Override http request option.
|
|
21069
20915
|
* @throws {RequiredError}
|
|
21070
20916
|
*/
|
|
21071
|
-
reorderBookingSpaceQuestionChoices: (
|
|
20917
|
+
reorderBookingSpaceQuestionChoices: (spaceId: string, questionId: string, reorderBookingSpaceQuestionChoicesRequest: ReorderBookingSpaceQuestionChoicesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21072
20918
|
/**
|
|
21073
20919
|
* Updates the details of an existing choice on a booking space question by its ID, requires the update bookings permission.
|
|
21074
20920
|
* @summary Update a booking space question choice
|
|
21075
|
-
* @param {string} placeId The place identifier
|
|
21076
20921
|
* @param {string} spaceId The space identifier
|
|
21077
20922
|
* @param {string} questionId The question identifier
|
|
21078
20923
|
* @param {string} choiceId The choice identifier
|
|
@@ -21080,7 +20925,7 @@ export declare const BookingsQuestionsChoicesApiAxiosParamCreator: (configuratio
|
|
|
21080
20925
|
* @param {*} [options] Override http request option.
|
|
21081
20926
|
* @throws {RequiredError}
|
|
21082
20927
|
*/
|
|
21083
|
-
updateBookingSpaceQuestionChoice: (
|
|
20928
|
+
updateBookingSpaceQuestionChoice: (spaceId: string, questionId: string, choiceId: string, bookingSpaceQuestionChoiceUpdateInputs: BookingSpaceQuestionChoiceUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21084
20929
|
};
|
|
21085
20930
|
/**
|
|
21086
20931
|
* BookingsQuestionsChoicesApi - functional programming interface
|
|
@@ -21089,40 +20934,36 @@ export declare const BookingsQuestionsChoicesApiFp: (configuration?: Configurati
|
|
|
21089
20934
|
/**
|
|
21090
20935
|
* Creates a new selectable choice for a multiple-choice question on a booking space, requires the update bookings permission.
|
|
21091
20936
|
* @summary Create a booking space question choice
|
|
21092
|
-
* @param {string} placeId The place identifier
|
|
21093
20937
|
* @param {string} spaceId The space identifier
|
|
21094
20938
|
* @param {string} questionId The question identifier
|
|
21095
20939
|
* @param {BookingSpaceQuestionChoiceCreateInputs} bookingSpaceQuestionChoiceCreateInputs
|
|
21096
20940
|
* @param {*} [options] Override http request option.
|
|
21097
20941
|
* @throws {RequiredError}
|
|
21098
20942
|
*/
|
|
21099
|
-
createBookingSpaceQuestionChoice(
|
|
20943
|
+
createBookingSpaceQuestionChoice(spaceId: string, questionId: string, bookingSpaceQuestionChoiceCreateInputs: BookingSpaceQuestionChoiceCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceQuestionChoice200Response>>;
|
|
21100
20944
|
/**
|
|
21101
20945
|
* Permanently deletes a choice from a booking space question by its ID, requires the update bookings permission.
|
|
21102
20946
|
* @summary Delete a booking space question choice
|
|
21103
|
-
* @param {string} placeId The place identifier
|
|
21104
20947
|
* @param {string} spaceId The space identifier
|
|
21105
20948
|
* @param {string} questionId The question identifier
|
|
21106
20949
|
* @param {string} choiceId The choice identifier
|
|
21107
20950
|
* @param {*} [options] Override http request option.
|
|
21108
20951
|
* @throws {RequiredError}
|
|
21109
20952
|
*/
|
|
21110
|
-
deleteBookingSpaceQuestionChoice(
|
|
20953
|
+
deleteBookingSpaceQuestionChoice(spaceId: string, questionId: string, choiceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
21111
20954
|
/**
|
|
21112
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\".
|
|
21113
20956
|
* @summary Get a booking space question choice
|
|
21114
|
-
* @param {string} placeId The place identifier
|
|
21115
20957
|
* @param {string} spaceId The space identifier
|
|
21116
20958
|
* @param {string} questionId The question identifier
|
|
21117
20959
|
* @param {string} choiceId The choice identifier
|
|
21118
20960
|
* @param {*} [options] Override http request option.
|
|
21119
20961
|
* @throws {RequiredError}
|
|
21120
20962
|
*/
|
|
21121
|
-
getBookingSpaceQuestionChoice(
|
|
20963
|
+
getBookingSpaceQuestionChoice(spaceId: string, questionId: string, choiceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceQuestionChoice200Response>>;
|
|
21122
20964
|
/**
|
|
21123
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\".
|
|
21124
20966
|
* @summary List a booking space question\'s choices
|
|
21125
|
-
* @param {string} placeId The place identifier
|
|
21126
20967
|
* @param {string} spaceId The space identifier
|
|
21127
20968
|
* @param {string} questionId The question identifier
|
|
21128
20969
|
* @param {number} [page] Page number
|
|
@@ -21132,22 +20973,20 @@ export declare const BookingsQuestionsChoicesApiFp: (configuration?: Configurati
|
|
|
21132
20973
|
* @param {*} [options] Override http request option.
|
|
21133
20974
|
* @throws {RequiredError}
|
|
21134
20975
|
*/
|
|
21135
|
-
getBookingSpaceQuestionChoices(
|
|
20976
|
+
getBookingSpaceQuestionChoices(spaceId: string, questionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceQuestionChoices200Response>>;
|
|
21136
20977
|
/**
|
|
21137
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.
|
|
21138
20979
|
* @summary Reorder a booking question\'s choices
|
|
21139
|
-
* @param {string} placeId The place identifier
|
|
21140
20980
|
* @param {string} spaceId The space identifier
|
|
21141
20981
|
* @param {string} questionId The question identifier
|
|
21142
20982
|
* @param {ReorderBookingSpaceQuestionChoicesRequest} reorderBookingSpaceQuestionChoicesRequest
|
|
21143
20983
|
* @param {*} [options] Override http request option.
|
|
21144
20984
|
* @throws {RequiredError}
|
|
21145
20985
|
*/
|
|
21146
|
-
reorderBookingSpaceQuestionChoices(
|
|
20986
|
+
reorderBookingSpaceQuestionChoices(spaceId: string, questionId: string, reorderBookingSpaceQuestionChoicesRequest: ReorderBookingSpaceQuestionChoicesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorderBookingSpaceQuestionChoices200Response>>;
|
|
21147
20987
|
/**
|
|
21148
20988
|
* Updates the details of an existing choice on a booking space question by its ID, requires the update bookings permission.
|
|
21149
20989
|
* @summary Update a booking space question choice
|
|
21150
|
-
* @param {string} placeId The place identifier
|
|
21151
20990
|
* @param {string} spaceId The space identifier
|
|
21152
20991
|
* @param {string} questionId The question identifier
|
|
21153
20992
|
* @param {string} choiceId The choice identifier
|
|
@@ -21155,7 +20994,7 @@ export declare const BookingsQuestionsChoicesApiFp: (configuration?: Configurati
|
|
|
21155
20994
|
* @param {*} [options] Override http request option.
|
|
21156
20995
|
* @throws {RequiredError}
|
|
21157
20996
|
*/
|
|
21158
|
-
updateBookingSpaceQuestionChoice(
|
|
20997
|
+
updateBookingSpaceQuestionChoice(spaceId: string, questionId: string, choiceId: string, bookingSpaceQuestionChoiceUpdateInputs: BookingSpaceQuestionChoiceUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpaceQuestionChoice200Response>>;
|
|
21159
20998
|
};
|
|
21160
20999
|
/**
|
|
21161
21000
|
* BookingsQuestionsChoicesApi - factory interface
|
|
@@ -21214,10 +21053,6 @@ export declare const BookingsQuestionsChoicesApiFactory: (configuration?: Config
|
|
|
21214
21053
|
* Request parameters for createBookingSpaceQuestionChoice operation in BookingsQuestionsChoicesApi.
|
|
21215
21054
|
*/
|
|
21216
21055
|
export interface BookingsQuestionsChoicesApiCreateBookingSpaceQuestionChoiceRequest {
|
|
21217
|
-
/**
|
|
21218
|
-
* The place identifier
|
|
21219
|
-
*/
|
|
21220
|
-
readonly placeId: string;
|
|
21221
21056
|
/**
|
|
21222
21057
|
* The space identifier
|
|
21223
21058
|
*/
|
|
@@ -21232,10 +21067,6 @@ export interface BookingsQuestionsChoicesApiCreateBookingSpaceQuestionChoiceRequ
|
|
|
21232
21067
|
* Request parameters for deleteBookingSpaceQuestionChoice operation in BookingsQuestionsChoicesApi.
|
|
21233
21068
|
*/
|
|
21234
21069
|
export interface BookingsQuestionsChoicesApiDeleteBookingSpaceQuestionChoiceRequest {
|
|
21235
|
-
/**
|
|
21236
|
-
* The place identifier
|
|
21237
|
-
*/
|
|
21238
|
-
readonly placeId: string;
|
|
21239
21070
|
/**
|
|
21240
21071
|
* The space identifier
|
|
21241
21072
|
*/
|
|
@@ -21253,10 +21084,6 @@ export interface BookingsQuestionsChoicesApiDeleteBookingSpaceQuestionChoiceRequ
|
|
|
21253
21084
|
* Request parameters for getBookingSpaceQuestionChoice operation in BookingsQuestionsChoicesApi.
|
|
21254
21085
|
*/
|
|
21255
21086
|
export interface BookingsQuestionsChoicesApiGetBookingSpaceQuestionChoiceRequest {
|
|
21256
|
-
/**
|
|
21257
|
-
* The place identifier
|
|
21258
|
-
*/
|
|
21259
|
-
readonly placeId: string;
|
|
21260
21087
|
/**
|
|
21261
21088
|
* The space identifier
|
|
21262
21089
|
*/
|
|
@@ -21274,10 +21101,6 @@ export interface BookingsQuestionsChoicesApiGetBookingSpaceQuestionChoiceRequest
|
|
|
21274
21101
|
* Request parameters for getBookingSpaceQuestionChoices operation in BookingsQuestionsChoicesApi.
|
|
21275
21102
|
*/
|
|
21276
21103
|
export interface BookingsQuestionsChoicesApiGetBookingSpaceQuestionChoicesRequest {
|
|
21277
|
-
/**
|
|
21278
|
-
* The place identifier
|
|
21279
|
-
*/
|
|
21280
|
-
readonly placeId: string;
|
|
21281
21104
|
/**
|
|
21282
21105
|
* The space identifier
|
|
21283
21106
|
*/
|
|
@@ -21307,10 +21130,6 @@ export interface BookingsQuestionsChoicesApiGetBookingSpaceQuestionChoicesReques
|
|
|
21307
21130
|
* Request parameters for reorderBookingSpaceQuestionChoices operation in BookingsQuestionsChoicesApi.
|
|
21308
21131
|
*/
|
|
21309
21132
|
export interface BookingsQuestionsChoicesApiReorderBookingSpaceQuestionChoicesRequest {
|
|
21310
|
-
/**
|
|
21311
|
-
* The place identifier
|
|
21312
|
-
*/
|
|
21313
|
-
readonly placeId: string;
|
|
21314
21133
|
/**
|
|
21315
21134
|
* The space identifier
|
|
21316
21135
|
*/
|
|
@@ -21325,10 +21144,6 @@ export interface BookingsQuestionsChoicesApiReorderBookingSpaceQuestionChoicesRe
|
|
|
21325
21144
|
* Request parameters for updateBookingSpaceQuestionChoice operation in BookingsQuestionsChoicesApi.
|
|
21326
21145
|
*/
|
|
21327
21146
|
export interface BookingsQuestionsChoicesApiUpdateBookingSpaceQuestionChoiceRequest {
|
|
21328
|
-
/**
|
|
21329
|
-
* The place identifier
|
|
21330
|
-
*/
|
|
21331
|
-
readonly placeId: string;
|
|
21332
21147
|
/**
|
|
21333
21148
|
* The space identifier
|
|
21334
21149
|
*/
|
|
@@ -21403,7 +21218,6 @@ export declare const BookingsQuestionsChoicesTranslationsApiAxiosParamCreator: (
|
|
|
21403
21218
|
/**
|
|
21404
21219
|
* Removes the translation for a specific locale from a booking space question choice, requires the update bookings permission.
|
|
21405
21220
|
* @summary Delete a booking question choice\'s translation
|
|
21406
|
-
* @param {string} placeId The place identifier
|
|
21407
21221
|
* @param {string} spaceId The space identifier
|
|
21408
21222
|
* @param {string} questionId The question identifier
|
|
21409
21223
|
* @param {string} choiceId The choice identifier
|
|
@@ -21411,11 +21225,10 @@ export declare const BookingsQuestionsChoicesTranslationsApiAxiosParamCreator: (
|
|
|
21411
21225
|
* @param {*} [options] Override http request option.
|
|
21412
21226
|
* @throws {RequiredError}
|
|
21413
21227
|
*/
|
|
21414
|
-
deleteBookingSpaceQuestionChoiceTranslation: (
|
|
21228
|
+
deleteBookingSpaceQuestionChoiceTranslation: (spaceId: string, questionId: string, choiceId: string, locale: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21415
21229
|
/**
|
|
21416
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\".
|
|
21417
21231
|
* @summary Get a booking question choice\'s translation
|
|
21418
|
-
* @param {string} placeId The place identifier
|
|
21419
21232
|
* @param {string} spaceId The space identifier
|
|
21420
21233
|
* @param {string} questionId The question identifier
|
|
21421
21234
|
* @param {string} choiceId The choice identifier
|
|
@@ -21423,22 +21236,20 @@ export declare const BookingsQuestionsChoicesTranslationsApiAxiosParamCreator: (
|
|
|
21423
21236
|
* @param {*} [options] Override http request option.
|
|
21424
21237
|
* @throws {RequiredError}
|
|
21425
21238
|
*/
|
|
21426
|
-
getBookingSpaceQuestionChoiceTranslation: (
|
|
21239
|
+
getBookingSpaceQuestionChoiceTranslation: (spaceId: string, questionId: string, choiceId: string, locale: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21427
21240
|
/**
|
|
21428
21241
|
* Returns the list of locale translations for a single answer choice on a booking space question; requires \"read\" permission on \"bookings\".
|
|
21429
21242
|
* @summary List a booking question choice\'s translations
|
|
21430
|
-
* @param {string} placeId The place identifier
|
|
21431
21243
|
* @param {string} spaceId The space identifier
|
|
21432
21244
|
* @param {string} questionId The question identifier
|
|
21433
21245
|
* @param {string} choiceId The choice identifier
|
|
21434
21246
|
* @param {*} [options] Override http request option.
|
|
21435
21247
|
* @throws {RequiredError}
|
|
21436
21248
|
*/
|
|
21437
|
-
getBookingSpaceQuestionChoiceTranslations: (
|
|
21249
|
+
getBookingSpaceQuestionChoiceTranslations: (spaceId: string, questionId: string, choiceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21438
21250
|
/**
|
|
21439
21251
|
* Updates the translated label for a booking space question choice in the given locale, requires the update bookings permission.
|
|
21440
21252
|
* @summary Update a booking question choice\'s translation
|
|
21441
|
-
* @param {string} placeId The place identifier
|
|
21442
21253
|
* @param {string} spaceId The space identifier
|
|
21443
21254
|
* @param {string} questionId The question identifier
|
|
21444
21255
|
* @param {string} choiceId The choice identifier
|
|
@@ -21447,7 +21258,7 @@ export declare const BookingsQuestionsChoicesTranslationsApiAxiosParamCreator: (
|
|
|
21447
21258
|
* @param {*} [options] Override http request option.
|
|
21448
21259
|
* @throws {RequiredError}
|
|
21449
21260
|
*/
|
|
21450
|
-
updateBookingSpaceQuestionChoiceTranslation: (
|
|
21261
|
+
updateBookingSpaceQuestionChoiceTranslation: (spaceId: string, questionId: string, choiceId: string, locale: string, bookingSpaceQuestionChoiceTranslationUpdateInputs: BookingSpaceQuestionChoiceTranslationUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21451
21262
|
};
|
|
21452
21263
|
/**
|
|
21453
21264
|
* BookingsQuestionsChoicesTranslationsApi - functional programming interface
|
|
@@ -21456,7 +21267,6 @@ export declare const BookingsQuestionsChoicesTranslationsApiFp: (configuration?:
|
|
|
21456
21267
|
/**
|
|
21457
21268
|
* Removes the translation for a specific locale from a booking space question choice, requires the update bookings permission.
|
|
21458
21269
|
* @summary Delete a booking question choice\'s translation
|
|
21459
|
-
* @param {string} placeId The place identifier
|
|
21460
21270
|
* @param {string} spaceId The space identifier
|
|
21461
21271
|
* @param {string} questionId The question identifier
|
|
21462
21272
|
* @param {string} choiceId The choice identifier
|
|
@@ -21464,11 +21274,10 @@ export declare const BookingsQuestionsChoicesTranslationsApiFp: (configuration?:
|
|
|
21464
21274
|
* @param {*} [options] Override http request option.
|
|
21465
21275
|
* @throws {RequiredError}
|
|
21466
21276
|
*/
|
|
21467
|
-
deleteBookingSpaceQuestionChoiceTranslation(
|
|
21277
|
+
deleteBookingSpaceQuestionChoiceTranslation(spaceId: string, questionId: string, choiceId: string, locale: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>>;
|
|
21468
21278
|
/**
|
|
21469
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\".
|
|
21470
21280
|
* @summary Get a booking question choice\'s translation
|
|
21471
|
-
* @param {string} placeId The place identifier
|
|
21472
21281
|
* @param {string} spaceId The space identifier
|
|
21473
21282
|
* @param {string} questionId The question identifier
|
|
21474
21283
|
* @param {string} choiceId The choice identifier
|
|
@@ -21476,22 +21285,20 @@ export declare const BookingsQuestionsChoicesTranslationsApiFp: (configuration?:
|
|
|
21476
21285
|
* @param {*} [options] Override http request option.
|
|
21477
21286
|
* @throws {RequiredError}
|
|
21478
21287
|
*/
|
|
21479
|
-
getBookingSpaceQuestionChoiceTranslation(
|
|
21288
|
+
getBookingSpaceQuestionChoiceTranslation(spaceId: string, questionId: string, choiceId: string, locale: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceQuestionChoiceTranslation200Response>>;
|
|
21480
21289
|
/**
|
|
21481
21290
|
* Returns the list of locale translations for a single answer choice on a booking space question; requires \"read\" permission on \"bookings\".
|
|
21482
21291
|
* @summary List a booking question choice\'s translations
|
|
21483
|
-
* @param {string} placeId The place identifier
|
|
21484
21292
|
* @param {string} spaceId The space identifier
|
|
21485
21293
|
* @param {string} questionId The question identifier
|
|
21486
21294
|
* @param {string} choiceId The choice identifier
|
|
21487
21295
|
* @param {*} [options] Override http request option.
|
|
21488
21296
|
* @throws {RequiredError}
|
|
21489
21297
|
*/
|
|
21490
|
-
getBookingSpaceQuestionChoiceTranslations(
|
|
21298
|
+
getBookingSpaceQuestionChoiceTranslations(spaceId: string, questionId: string, choiceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceQuestionChoiceTranslations200Response>>;
|
|
21491
21299
|
/**
|
|
21492
21300
|
* Updates the translated label for a booking space question choice in the given locale, requires the update bookings permission.
|
|
21493
21301
|
* @summary Update a booking question choice\'s translation
|
|
21494
|
-
* @param {string} placeId The place identifier
|
|
21495
21302
|
* @param {string} spaceId The space identifier
|
|
21496
21303
|
* @param {string} questionId The question identifier
|
|
21497
21304
|
* @param {string} choiceId The choice identifier
|
|
@@ -21500,7 +21307,7 @@ export declare const BookingsQuestionsChoicesTranslationsApiFp: (configuration?:
|
|
|
21500
21307
|
* @param {*} [options] Override http request option.
|
|
21501
21308
|
* @throws {RequiredError}
|
|
21502
21309
|
*/
|
|
21503
|
-
updateBookingSpaceQuestionChoiceTranslation(
|
|
21310
|
+
updateBookingSpaceQuestionChoiceTranslation(spaceId: string, questionId: string, choiceId: string, locale: string, bookingSpaceQuestionChoiceTranslationUpdateInputs: BookingSpaceQuestionChoiceTranslationUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBookingSpaceQuestionChoiceTranslation200Response>>;
|
|
21504
21311
|
};
|
|
21505
21312
|
/**
|
|
21506
21313
|
* BookingsQuestionsChoicesTranslationsApi - factory interface
|
|
@@ -21543,10 +21350,6 @@ export declare const BookingsQuestionsChoicesTranslationsApiFactory: (configurat
|
|
|
21543
21350
|
* Request parameters for deleteBookingSpaceQuestionChoiceTranslation operation in BookingsQuestionsChoicesTranslationsApi.
|
|
21544
21351
|
*/
|
|
21545
21352
|
export interface BookingsQuestionsChoicesTranslationsApiDeleteBookingSpaceQuestionChoiceTranslationRequest {
|
|
21546
|
-
/**
|
|
21547
|
-
* The place identifier
|
|
21548
|
-
*/
|
|
21549
|
-
readonly placeId: string;
|
|
21550
21353
|
/**
|
|
21551
21354
|
* The space identifier
|
|
21552
21355
|
*/
|
|
@@ -21568,10 +21371,6 @@ export interface BookingsQuestionsChoicesTranslationsApiDeleteBookingSpaceQuesti
|
|
|
21568
21371
|
* Request parameters for getBookingSpaceQuestionChoiceTranslation operation in BookingsQuestionsChoicesTranslationsApi.
|
|
21569
21372
|
*/
|
|
21570
21373
|
export interface BookingsQuestionsChoicesTranslationsApiGetBookingSpaceQuestionChoiceTranslationRequest {
|
|
21571
|
-
/**
|
|
21572
|
-
* The place identifier
|
|
21573
|
-
*/
|
|
21574
|
-
readonly placeId: string;
|
|
21575
21374
|
/**
|
|
21576
21375
|
* The space identifier
|
|
21577
21376
|
*/
|
|
@@ -21593,10 +21392,6 @@ export interface BookingsQuestionsChoicesTranslationsApiGetBookingSpaceQuestionC
|
|
|
21593
21392
|
* Request parameters for getBookingSpaceQuestionChoiceTranslations operation in BookingsQuestionsChoicesTranslationsApi.
|
|
21594
21393
|
*/
|
|
21595
21394
|
export interface BookingsQuestionsChoicesTranslationsApiGetBookingSpaceQuestionChoiceTranslationsRequest {
|
|
21596
|
-
/**
|
|
21597
|
-
* The place identifier
|
|
21598
|
-
*/
|
|
21599
|
-
readonly placeId: string;
|
|
21600
21395
|
/**
|
|
21601
21396
|
* The space identifier
|
|
21602
21397
|
*/
|
|
@@ -21614,10 +21409,6 @@ export interface BookingsQuestionsChoicesTranslationsApiGetBookingSpaceQuestionC
|
|
|
21614
21409
|
* Request parameters for updateBookingSpaceQuestionChoiceTranslation operation in BookingsQuestionsChoicesTranslationsApi.
|
|
21615
21410
|
*/
|
|
21616
21411
|
export interface BookingsQuestionsChoicesTranslationsApiUpdateBookingSpaceQuestionChoiceTranslationRequest {
|
|
21617
|
-
/**
|
|
21618
|
-
* The place identifier
|
|
21619
|
-
*/
|
|
21620
|
-
readonly placeId: string;
|
|
21621
21412
|
/**
|
|
21622
21413
|
* The space identifier
|
|
21623
21414
|
*/
|
|
@@ -21680,39 +21471,35 @@ export declare const BookingsQuestionsTranslationsApiAxiosParamCreator: (configu
|
|
|
21680
21471
|
/**
|
|
21681
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.
|
|
21682
21473
|
* @summary Delete a booking question translation
|
|
21683
|
-
* @param {string} placeId The place identifier
|
|
21684
21474
|
* @param {string} spaceId The space identifier
|
|
21685
21475
|
* @param {string} questionId The question identifier
|
|
21686
21476
|
* @param {string} locale The locale identifier
|
|
21687
21477
|
* @param {*} [options] Override http request option.
|
|
21688
21478
|
* @throws {RequiredError}
|
|
21689
21479
|
*/
|
|
21690
|
-
deleteBookingSpaceQuestionTranslation: (
|
|
21480
|
+
deleteBookingSpaceQuestionTranslation: (spaceId: string, questionId: string, locale: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21691
21481
|
/**
|
|
21692
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\".
|
|
21693
21483
|
* @summary Get a booking question\'s translation
|
|
21694
|
-
* @param {string} placeId The place identifier
|
|
21695
21484
|
* @param {string} spaceId The space identifier
|
|
21696
21485
|
* @param {string} questionId The question identifier
|
|
21697
21486
|
* @param {string} locale The locale identifier
|
|
21698
21487
|
* @param {*} [options] Override http request option.
|
|
21699
21488
|
* @throws {RequiredError}
|
|
21700
21489
|
*/
|
|
21701
|
-
getBookingSpaceQuestionTranslation: (
|
|
21490
|
+
getBookingSpaceQuestionTranslation: (spaceId: string, questionId: string, locale: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21702
21491
|
/**
|
|
21703
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\".
|
|
21704
21493
|
* @summary List a booking question\'s translations
|
|
21705
|
-
* @param {string} placeId The place identifier
|
|
21706
21494
|
* @param {string} spaceId The space identifier
|
|
21707
21495
|
* @param {string} questionId The question identifier
|
|
21708
21496
|
* @param {*} [options] Override http request option.
|
|
21709
21497
|
* @throws {RequiredError}
|
|
21710
21498
|
*/
|
|
21711
|
-
getBookingSpaceQuestionTranslations: (
|
|
21499
|
+
getBookingSpaceQuestionTranslations: (spaceId: string, questionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21712
21500
|
/**
|
|
21713
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.
|
|
21714
21502
|
* @summary Update a booking question translation
|
|
21715
|
-
* @param {string} placeId The place identifier
|
|
21716
21503
|
* @param {string} spaceId The space identifier
|
|
21717
21504
|
* @param {string} questionId The question identifier
|
|
21718
21505
|
* @param {string} locale The locale identifier
|
|
@@ -21720,7 +21507,7 @@ export declare const BookingsQuestionsTranslationsApiAxiosParamCreator: (configu
|
|
|
21720
21507
|
* @param {*} [options] Override http request option.
|
|
21721
21508
|
* @throws {RequiredError}
|
|
21722
21509
|
*/
|
|
21723
|
-
updateBookingSpaceQuestionTranslation: (
|
|
21510
|
+
updateBookingSpaceQuestionTranslation: (spaceId: string, questionId: string, locale: string, bookingSpaceQuestionTranslationUpdateInputs: BookingSpaceQuestionTranslationUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21724
21511
|
};
|
|
21725
21512
|
/**
|
|
21726
21513
|
* BookingsQuestionsTranslationsApi - functional programming interface
|
|
@@ -21729,39 +21516,35 @@ export declare const BookingsQuestionsTranslationsApiFp: (configuration?: Config
|
|
|
21729
21516
|
/**
|
|
21730
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.
|
|
21731
21518
|
* @summary Delete a booking question translation
|
|
21732
|
-
* @param {string} placeId The place identifier
|
|
21733
21519
|
* @param {string} spaceId The space identifier
|
|
21734
21520
|
* @param {string} questionId The question identifier
|
|
21735
21521
|
* @param {string} locale The locale identifier
|
|
21736
21522
|
* @param {*} [options] Override http request option.
|
|
21737
21523
|
* @throws {RequiredError}
|
|
21738
21524
|
*/
|
|
21739
|
-
deleteBookingSpaceQuestionTranslation(
|
|
21525
|
+
deleteBookingSpaceQuestionTranslation(spaceId: string, questionId: string, locale: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>>;
|
|
21740
21526
|
/**
|
|
21741
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\".
|
|
21742
21528
|
* @summary Get a booking question\'s translation
|
|
21743
|
-
* @param {string} placeId The place identifier
|
|
21744
21529
|
* @param {string} spaceId The space identifier
|
|
21745
21530
|
* @param {string} questionId The question identifier
|
|
21746
21531
|
* @param {string} locale The locale identifier
|
|
21747
21532
|
* @param {*} [options] Override http request option.
|
|
21748
21533
|
* @throws {RequiredError}
|
|
21749
21534
|
*/
|
|
21750
|
-
getBookingSpaceQuestionTranslation(
|
|
21535
|
+
getBookingSpaceQuestionTranslation(spaceId: string, questionId: string, locale: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceQuestionTranslation200Response>>;
|
|
21751
21536
|
/**
|
|
21752
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\".
|
|
21753
21538
|
* @summary List a booking question\'s translations
|
|
21754
|
-
* @param {string} placeId The place identifier
|
|
21755
21539
|
* @param {string} spaceId The space identifier
|
|
21756
21540
|
* @param {string} questionId The question identifier
|
|
21757
21541
|
* @param {*} [options] Override http request option.
|
|
21758
21542
|
* @throws {RequiredError}
|
|
21759
21543
|
*/
|
|
21760
|
-
getBookingSpaceQuestionTranslations(
|
|
21544
|
+
getBookingSpaceQuestionTranslations(spaceId: string, questionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceQuestionTranslations200Response>>;
|
|
21761
21545
|
/**
|
|
21762
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.
|
|
21763
21547
|
* @summary Update a booking question translation
|
|
21764
|
-
* @param {string} placeId The place identifier
|
|
21765
21548
|
* @param {string} spaceId The space identifier
|
|
21766
21549
|
* @param {string} questionId The question identifier
|
|
21767
21550
|
* @param {string} locale The locale identifier
|
|
@@ -21769,7 +21552,7 @@ export declare const BookingsQuestionsTranslationsApiFp: (configuration?: Config
|
|
|
21769
21552
|
* @param {*} [options] Override http request option.
|
|
21770
21553
|
* @throws {RequiredError}
|
|
21771
21554
|
*/
|
|
21772
|
-
updateBookingSpaceQuestionTranslation(
|
|
21555
|
+
updateBookingSpaceQuestionTranslation(spaceId: string, questionId: string, locale: string, bookingSpaceQuestionTranslationUpdateInputs: BookingSpaceQuestionTranslationUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBookingSpaceQuestionTranslation200Response>>;
|
|
21773
21556
|
};
|
|
21774
21557
|
/**
|
|
21775
21558
|
* BookingsQuestionsTranslationsApi - factory interface
|
|
@@ -21812,10 +21595,6 @@ export declare const BookingsQuestionsTranslationsApiFactory: (configuration?: C
|
|
|
21812
21595
|
* Request parameters for deleteBookingSpaceQuestionTranslation operation in BookingsQuestionsTranslationsApi.
|
|
21813
21596
|
*/
|
|
21814
21597
|
export interface BookingsQuestionsTranslationsApiDeleteBookingSpaceQuestionTranslationRequest {
|
|
21815
|
-
/**
|
|
21816
|
-
* The place identifier
|
|
21817
|
-
*/
|
|
21818
|
-
readonly placeId: string;
|
|
21819
21598
|
/**
|
|
21820
21599
|
* The space identifier
|
|
21821
21600
|
*/
|
|
@@ -21833,10 +21612,6 @@ export interface BookingsQuestionsTranslationsApiDeleteBookingSpaceQuestionTrans
|
|
|
21833
21612
|
* Request parameters for getBookingSpaceQuestionTranslation operation in BookingsQuestionsTranslationsApi.
|
|
21834
21613
|
*/
|
|
21835
21614
|
export interface BookingsQuestionsTranslationsApiGetBookingSpaceQuestionTranslationRequest {
|
|
21836
|
-
/**
|
|
21837
|
-
* The place identifier
|
|
21838
|
-
*/
|
|
21839
|
-
readonly placeId: string;
|
|
21840
21615
|
/**
|
|
21841
21616
|
* The space identifier
|
|
21842
21617
|
*/
|
|
@@ -21854,10 +21629,6 @@ export interface BookingsQuestionsTranslationsApiGetBookingSpaceQuestionTranslat
|
|
|
21854
21629
|
* Request parameters for getBookingSpaceQuestionTranslations operation in BookingsQuestionsTranslationsApi.
|
|
21855
21630
|
*/
|
|
21856
21631
|
export interface BookingsQuestionsTranslationsApiGetBookingSpaceQuestionTranslationsRequest {
|
|
21857
|
-
/**
|
|
21858
|
-
* The place identifier
|
|
21859
|
-
*/
|
|
21860
|
-
readonly placeId: string;
|
|
21861
21632
|
/**
|
|
21862
21633
|
* The space identifier
|
|
21863
21634
|
*/
|
|
@@ -21871,10 +21642,6 @@ export interface BookingsQuestionsTranslationsApiGetBookingSpaceQuestionTranslat
|
|
|
21871
21642
|
* Request parameters for updateBookingSpaceQuestionTranslation operation in BookingsQuestionsTranslationsApi.
|
|
21872
21643
|
*/
|
|
21873
21644
|
export interface BookingsQuestionsTranslationsApiUpdateBookingSpaceQuestionTranslationRequest {
|
|
21874
|
-
/**
|
|
21875
|
-
* The place identifier
|
|
21876
|
-
*/
|
|
21877
|
-
readonly placeId: string;
|
|
21878
21645
|
/**
|
|
21879
21646
|
* The space identifier
|
|
21880
21647
|
*/
|
|
@@ -21946,14 +21713,13 @@ export declare const BookingsResponsesApiAxiosParamCreator: (configuration?: Con
|
|
|
21946
21713
|
/**
|
|
21947
21714
|
* Bulk-updates the answers submitted to a booking space\'s custom questions for a specific booking, requires read and update permission on bookings.
|
|
21948
21715
|
* @summary Update a booking\'s question responses
|
|
21949
|
-
* @param {string} placeId The place identifier
|
|
21950
21716
|
* @param {string} spaceId The space identifier
|
|
21951
21717
|
* @param {string} bookingId The booking identifier
|
|
21952
21718
|
* @param {UpdateBookingResponsesInputs} updateBookingResponsesInputs
|
|
21953
21719
|
* @param {*} [options] Override http request option.
|
|
21954
21720
|
* @throws {RequiredError}
|
|
21955
21721
|
*/
|
|
21956
|
-
updateBookingResponses: (
|
|
21722
|
+
updateBookingResponses: (spaceId: string, bookingId: string, updateBookingResponsesInputs: UpdateBookingResponsesInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21957
21723
|
};
|
|
21958
21724
|
/**
|
|
21959
21725
|
* BookingsResponsesApi - functional programming interface
|
|
@@ -21975,14 +21741,13 @@ export declare const BookingsResponsesApiFp: (configuration?: Configuration) =>
|
|
|
21975
21741
|
/**
|
|
21976
21742
|
* Bulk-updates the answers submitted to a booking space\'s custom questions for a specific booking, requires read and update permission on bookings.
|
|
21977
21743
|
* @summary Update a booking\'s question responses
|
|
21978
|
-
* @param {string} placeId The place identifier
|
|
21979
21744
|
* @param {string} spaceId The space identifier
|
|
21980
21745
|
* @param {string} bookingId The booking identifier
|
|
21981
21746
|
* @param {UpdateBookingResponsesInputs} updateBookingResponsesInputs
|
|
21982
21747
|
* @param {*} [options] Override http request option.
|
|
21983
21748
|
* @throws {RequiredError}
|
|
21984
21749
|
*/
|
|
21985
|
-
updateBookingResponses(
|
|
21750
|
+
updateBookingResponses(spaceId: string, bookingId: string, updateBookingResponsesInputs: UpdateBookingResponsesInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
21986
21751
|
};
|
|
21987
21752
|
/**
|
|
21988
21753
|
* BookingsResponsesApi - factory interface
|
|
@@ -22038,10 +21803,6 @@ export interface BookingsResponsesApiGetBookingResponseChangesRequest {
|
|
|
22038
21803
|
* Request parameters for updateBookingResponses operation in BookingsResponsesApi.
|
|
22039
21804
|
*/
|
|
22040
21805
|
export interface BookingsResponsesApiUpdateBookingResponsesRequest {
|
|
22041
|
-
/**
|
|
22042
|
-
* The place identifier
|
|
22043
|
-
*/
|
|
22044
|
-
readonly placeId: string;
|
|
22045
21806
|
/**
|
|
22046
21807
|
* The space identifier
|
|
22047
21808
|
*/
|
|
@@ -22078,73 +21839,67 @@ export declare class BookingsResponsesApi extends BaseAPI {
|
|
|
22078
21839
|
*/
|
|
22079
21840
|
export declare const BookingsSpacesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22080
21841
|
/**
|
|
22081
|
-
* 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.
|
|
22082
21843
|
* @summary Create a booking space
|
|
22083
|
-
* @param {string} placeId The place identifier
|
|
22084
21844
|
* @param {BookingSpaceCreateInputs} bookingSpaceCreateInputs
|
|
22085
21845
|
* @param {*} [options] Override http request option.
|
|
22086
21846
|
* @throws {RequiredError}
|
|
22087
21847
|
*/
|
|
22088
|
-
createBookingSpace: (
|
|
21848
|
+
createBookingSpace: (bookingSpaceCreateInputs: BookingSpaceCreateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22089
21849
|
/**
|
|
22090
|
-
* Deletes a booking space
|
|
21850
|
+
* Deletes a booking space, requires the update bookings permission, and fails if the space still has existing bookings.
|
|
22091
21851
|
* @summary Delete a booking space
|
|
22092
|
-
* @param {string} placeId The place identifier
|
|
22093
21852
|
* @param {string} spaceId The space identifier
|
|
22094
21853
|
* @param {*} [options] Override http request option.
|
|
22095
21854
|
* @throws {RequiredError}
|
|
22096
21855
|
*/
|
|
22097
|
-
deleteBookingSpace: (
|
|
21856
|
+
deleteBookingSpace: (spaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22098
21857
|
/**
|
|
22099
|
-
* 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.
|
|
22100
21859
|
* @summary Update a booking space
|
|
22101
|
-
* @param {string} placeId The place identifier
|
|
22102
21860
|
* @param {string} spaceId The space identifier
|
|
22103
21861
|
* @param {BookingSpaceUpdateInputs} bookingSpaceUpdateInputs
|
|
22104
21862
|
* @param {*} [options] Override http request option.
|
|
22105
21863
|
* @throws {RequiredError}
|
|
22106
21864
|
*/
|
|
22107
|
-
updateBookingSpace: (
|
|
21865
|
+
updateBookingSpace: (spaceId: string, bookingSpaceUpdateInputs: BookingSpaceUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22108
21866
|
};
|
|
22109
21867
|
/**
|
|
22110
21868
|
* BookingsSpacesApi - functional programming interface
|
|
22111
21869
|
*/
|
|
22112
21870
|
export declare const BookingsSpacesApiFp: (configuration?: Configuration) => {
|
|
22113
21871
|
/**
|
|
22114
|
-
* 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.
|
|
22115
21873
|
* @summary Create a booking space
|
|
22116
|
-
* @param {string} placeId The place identifier
|
|
22117
21874
|
* @param {BookingSpaceCreateInputs} bookingSpaceCreateInputs
|
|
22118
21875
|
* @param {*} [options] Override http request option.
|
|
22119
21876
|
* @throws {RequiredError}
|
|
22120
21877
|
*/
|
|
22121
|
-
createBookingSpace(
|
|
21878
|
+
createBookingSpace(bookingSpaceCreateInputs: BookingSpaceCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpace200Response>>;
|
|
22122
21879
|
/**
|
|
22123
|
-
* Deletes a booking space
|
|
21880
|
+
* Deletes a booking space, requires the update bookings permission, and fails if the space still has existing bookings.
|
|
22124
21881
|
* @summary Delete a booking space
|
|
22125
|
-
* @param {string} placeId The place identifier
|
|
22126
21882
|
* @param {string} spaceId The space identifier
|
|
22127
21883
|
* @param {*} [options] Override http request option.
|
|
22128
21884
|
* @throws {RequiredError}
|
|
22129
21885
|
*/
|
|
22130
|
-
deleteBookingSpace(
|
|
21886
|
+
deleteBookingSpace(spaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
22131
21887
|
/**
|
|
22132
|
-
* 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.
|
|
22133
21889
|
* @summary Update a booking space
|
|
22134
|
-
* @param {string} placeId The place identifier
|
|
22135
21890
|
* @param {string} spaceId The space identifier
|
|
22136
21891
|
* @param {BookingSpaceUpdateInputs} bookingSpaceUpdateInputs
|
|
22137
21892
|
* @param {*} [options] Override http request option.
|
|
22138
21893
|
* @throws {RequiredError}
|
|
22139
21894
|
*/
|
|
22140
|
-
updateBookingSpace(
|
|
21895
|
+
updateBookingSpace(spaceId: string, bookingSpaceUpdateInputs: BookingSpaceUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpace200Response>>;
|
|
22141
21896
|
};
|
|
22142
21897
|
/**
|
|
22143
21898
|
* BookingsSpacesApi - factory interface
|
|
22144
21899
|
*/
|
|
22145
21900
|
export declare const BookingsSpacesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
22146
21901
|
/**
|
|
22147
|
-
* 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.
|
|
22148
21903
|
* @summary Create a booking space
|
|
22149
21904
|
* @param {BookingsSpacesApiCreateBookingSpaceRequest} requestParameters Request parameters.
|
|
22150
21905
|
* @param {*} [options] Override http request option.
|
|
@@ -22152,7 +21907,7 @@ export declare const BookingsSpacesApiFactory: (configuration?: Configuration, b
|
|
|
22152
21907
|
*/
|
|
22153
21908
|
createBookingSpace(requestParameters: BookingsSpacesApiCreateBookingSpaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBookingSpace200Response>;
|
|
22154
21909
|
/**
|
|
22155
|
-
* Deletes a booking space
|
|
21910
|
+
* Deletes a booking space, requires the update bookings permission, and fails if the space still has existing bookings.
|
|
22156
21911
|
* @summary Delete a booking space
|
|
22157
21912
|
* @param {BookingsSpacesApiDeleteBookingSpaceRequest} requestParameters Request parameters.
|
|
22158
21913
|
* @param {*} [options] Override http request option.
|
|
@@ -22160,7 +21915,7 @@ export declare const BookingsSpacesApiFactory: (configuration?: Configuration, b
|
|
|
22160
21915
|
*/
|
|
22161
21916
|
deleteBookingSpace(requestParameters: BookingsSpacesApiDeleteBookingSpaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response>;
|
|
22162
21917
|
/**
|
|
22163
|
-
* 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.
|
|
22164
21919
|
* @summary Update a booking space
|
|
22165
21920
|
* @param {BookingsSpacesApiUpdateBookingSpaceRequest} requestParameters Request parameters.
|
|
22166
21921
|
* @param {*} [options] Override http request option.
|
|
@@ -22172,20 +21927,12 @@ export declare const BookingsSpacesApiFactory: (configuration?: Configuration, b
|
|
|
22172
21927
|
* Request parameters for createBookingSpace operation in BookingsSpacesApi.
|
|
22173
21928
|
*/
|
|
22174
21929
|
export interface BookingsSpacesApiCreateBookingSpaceRequest {
|
|
22175
|
-
/**
|
|
22176
|
-
* The place identifier
|
|
22177
|
-
*/
|
|
22178
|
-
readonly placeId: string;
|
|
22179
21930
|
readonly bookingSpaceCreateInputs: BookingSpaceCreateInputs;
|
|
22180
21931
|
}
|
|
22181
21932
|
/**
|
|
22182
21933
|
* Request parameters for deleteBookingSpace operation in BookingsSpacesApi.
|
|
22183
21934
|
*/
|
|
22184
21935
|
export interface BookingsSpacesApiDeleteBookingSpaceRequest {
|
|
22185
|
-
/**
|
|
22186
|
-
* The place identifier
|
|
22187
|
-
*/
|
|
22188
|
-
readonly placeId: string;
|
|
22189
21936
|
/**
|
|
22190
21937
|
* The space identifier
|
|
22191
21938
|
*/
|
|
@@ -22195,10 +21942,6 @@ export interface BookingsSpacesApiDeleteBookingSpaceRequest {
|
|
|
22195
21942
|
* Request parameters for updateBookingSpace operation in BookingsSpacesApi.
|
|
22196
21943
|
*/
|
|
22197
21944
|
export interface BookingsSpacesApiUpdateBookingSpaceRequest {
|
|
22198
|
-
/**
|
|
22199
|
-
* The place identifier
|
|
22200
|
-
*/
|
|
22201
|
-
readonly placeId: string;
|
|
22202
21945
|
/**
|
|
22203
21946
|
* The space identifier
|
|
22204
21947
|
*/
|
|
@@ -22210,7 +21953,7 @@ export interface BookingsSpacesApiUpdateBookingSpaceRequest {
|
|
|
22210
21953
|
*/
|
|
22211
21954
|
export declare class BookingsSpacesApi extends BaseAPI {
|
|
22212
21955
|
/**
|
|
22213
|
-
* 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.
|
|
22214
21957
|
* @summary Create a booking space
|
|
22215
21958
|
* @param {BookingsSpacesApiCreateBookingSpaceRequest} requestParameters Request parameters.
|
|
22216
21959
|
* @param {*} [options] Override http request option.
|
|
@@ -22218,7 +21961,7 @@ export declare class BookingsSpacesApi extends BaseAPI {
|
|
|
22218
21961
|
*/
|
|
22219
21962
|
createBookingSpace(requestParameters: BookingsSpacesApiCreateBookingSpaceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBookingSpace200Response, any, {}>>;
|
|
22220
21963
|
/**
|
|
22221
|
-
* Deletes a booking space
|
|
21964
|
+
* Deletes a booking space, requires the update bookings permission, and fails if the space still has existing bookings.
|
|
22222
21965
|
* @summary Delete a booking space
|
|
22223
21966
|
* @param {BookingsSpacesApiDeleteBookingSpaceRequest} requestParameters Request parameters.
|
|
22224
21967
|
* @param {*} [options] Override http request option.
|
|
@@ -22226,7 +21969,7 @@ export declare class BookingsSpacesApi extends BaseAPI {
|
|
|
22226
21969
|
*/
|
|
22227
21970
|
deleteBookingSpace(requestParameters: BookingsSpacesApiDeleteBookingSpaceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountInvitations200Response, any, {}>>;
|
|
22228
21971
|
/**
|
|
22229
|
-
* 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.
|
|
22230
21973
|
* @summary Update a booking space
|
|
22231
21974
|
* @param {BookingsSpacesApiUpdateBookingSpaceRequest} requestParameters Request parameters.
|
|
22232
21975
|
* @param {*} [options] Override http request option.
|
|
@@ -22241,24 +21984,22 @@ export declare const BookingsSpacesTranslationsApiAxiosParamCreator: (configurat
|
|
|
22241
21984
|
/**
|
|
22242
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.
|
|
22243
21986
|
* @summary Delete a booking space translation
|
|
22244
|
-
* @param {string} placeId The place identifier
|
|
22245
21987
|
* @param {string} spaceId The space identifier
|
|
22246
21988
|
* @param {string} locale The locale identifier
|
|
22247
21989
|
* @param {*} [options] Override http request option.
|
|
22248
21990
|
* @throws {RequiredError}
|
|
22249
21991
|
*/
|
|
22250
|
-
deleteBookingSpaceTranslation: (
|
|
21992
|
+
deleteBookingSpaceTranslation: (spaceId: string, locale: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22251
21993
|
/**
|
|
22252
21994
|
* Creates or updates the localized content (such as name) for a booking space in the given locale; requires update permission on bookings.
|
|
22253
21995
|
* @summary Update a booking space translation
|
|
22254
|
-
* @param {string} placeId The place identifier
|
|
22255
21996
|
* @param {string} spaceId The space identifier
|
|
22256
21997
|
* @param {string} locale The locale identifier
|
|
22257
21998
|
* @param {BookingSpaceTranslationUpdateInputs} bookingSpaceTranslationUpdateInputs
|
|
22258
21999
|
* @param {*} [options] Override http request option.
|
|
22259
22000
|
* @throws {RequiredError}
|
|
22260
22001
|
*/
|
|
22261
|
-
updateBookingSpaceTranslation: (
|
|
22002
|
+
updateBookingSpaceTranslation: (spaceId: string, locale: string, bookingSpaceTranslationUpdateInputs: BookingSpaceTranslationUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22262
22003
|
};
|
|
22263
22004
|
/**
|
|
22264
22005
|
* BookingsSpacesTranslationsApi - functional programming interface
|
|
@@ -22267,24 +22008,22 @@ export declare const BookingsSpacesTranslationsApiFp: (configuration?: Configura
|
|
|
22267
22008
|
/**
|
|
22268
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.
|
|
22269
22010
|
* @summary Delete a booking space translation
|
|
22270
|
-
* @param {string} placeId The place identifier
|
|
22271
22011
|
* @param {string} spaceId The space identifier
|
|
22272
22012
|
* @param {string} locale The locale identifier
|
|
22273
22013
|
* @param {*} [options] Override http request option.
|
|
22274
22014
|
* @throws {RequiredError}
|
|
22275
22015
|
*/
|
|
22276
|
-
deleteBookingSpaceTranslation(
|
|
22016
|
+
deleteBookingSpaceTranslation(spaceId: string, locale: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>>;
|
|
22277
22017
|
/**
|
|
22278
22018
|
* Creates or updates the localized content (such as name) for a booking space in the given locale; requires update permission on bookings.
|
|
22279
22019
|
* @summary Update a booking space translation
|
|
22280
|
-
* @param {string} placeId The place identifier
|
|
22281
22020
|
* @param {string} spaceId The space identifier
|
|
22282
22021
|
* @param {string} locale The locale identifier
|
|
22283
22022
|
* @param {BookingSpaceTranslationUpdateInputs} bookingSpaceTranslationUpdateInputs
|
|
22284
22023
|
* @param {*} [options] Override http request option.
|
|
22285
22024
|
* @throws {RequiredError}
|
|
22286
22025
|
*/
|
|
22287
|
-
updateBookingSpaceTranslation(
|
|
22026
|
+
updateBookingSpaceTranslation(spaceId: string, locale: string, bookingSpaceTranslationUpdateInputs: BookingSpaceTranslationUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>>;
|
|
22288
22027
|
};
|
|
22289
22028
|
/**
|
|
22290
22029
|
* BookingsSpacesTranslationsApi - factory interface
|
|
@@ -22311,10 +22050,6 @@ export declare const BookingsSpacesTranslationsApiFactory: (configuration?: Conf
|
|
|
22311
22050
|
* Request parameters for deleteBookingSpaceTranslation operation in BookingsSpacesTranslationsApi.
|
|
22312
22051
|
*/
|
|
22313
22052
|
export interface BookingsSpacesTranslationsApiDeleteBookingSpaceTranslationRequest {
|
|
22314
|
-
/**
|
|
22315
|
-
* The place identifier
|
|
22316
|
-
*/
|
|
22317
|
-
readonly placeId: string;
|
|
22318
22053
|
/**
|
|
22319
22054
|
* The space identifier
|
|
22320
22055
|
*/
|
|
@@ -22328,10 +22063,6 @@ export interface BookingsSpacesTranslationsApiDeleteBookingSpaceTranslationReque
|
|
|
22328
22063
|
* Request parameters for updateBookingSpaceTranslation operation in BookingsSpacesTranslationsApi.
|
|
22329
22064
|
*/
|
|
22330
22065
|
export interface BookingsSpacesTranslationsApiUpdateBookingSpaceTranslationRequest {
|
|
22331
|
-
/**
|
|
22332
|
-
* The place identifier
|
|
22333
|
-
*/
|
|
22334
|
-
readonly placeId: string;
|
|
22335
22066
|
/**
|
|
22336
22067
|
* The space identifier
|
|
22337
22068
|
*/
|