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