@connectedxm/admin-sdk 7.0.10 → 7.0.11

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/dist/esm/api.d.ts CHANGED
@@ -2637,6 +2637,7 @@ export interface BookingSpace {
2637
2637
  'meetingId': string | null;
2638
2638
  'meeting': BaseMeeting | null;
2639
2639
  'joinBeforeTime': number | null;
2640
+ 'allowedTiers': Array<BaseTier>;
2640
2641
  'createdAt': string;
2641
2642
  'updatedAt': string;
2642
2643
  }
@@ -17834,6 +17835,16 @@ export declare class BenefitsTranslationsApi extends BaseAPI {
17834
17835
  * BookingsApi - axios parameter creator
17835
17836
  */
17836
17837
  export declare const BookingsApiAxiosParamCreator: (configuration?: Configuration) => {
17838
+ /**
17839
+ * Add Booking Space Tier endpoint
17840
+ * @summary Add Booking Space Tier
17841
+ * @param {string} placeId The place identifier
17842
+ * @param {string} spaceId The space identifier
17843
+ * @param {string} tierId The tier identifier
17844
+ * @param {*} [options] Override http request option.
17845
+ * @throws {RequiredError}
17846
+ */
17847
+ addBookingSpaceTier: (placeId: string, spaceId: string, tierId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17837
17848
  /**
17838
17849
  * Cancel Booking endpoint
17839
17850
  * @summary Cancel Booking
@@ -18038,6 +18049,19 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
18038
18049
  * @throws {RequiredError}
18039
18050
  */
18040
18051
  getBookingSpaceSlots: (placeId: string, spaceId: string, firstDayOfMonth: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18052
+ /**
18053
+ * Get Booking Space Tiers endpoint
18054
+ * @summary Get Booking Space Tiers
18055
+ * @param {string} placeId The place identifier
18056
+ * @param {string} spaceId The space identifier
18057
+ * @param {number} [page] Page number
18058
+ * @param {number} [pageSize] Number of items per page
18059
+ * @param {string} [orderBy] Field to order by
18060
+ * @param {string} [search] Search query
18061
+ * @param {*} [options] Override http request option.
18062
+ * @throws {RequiredError}
18063
+ */
18064
+ getBookingSpaceTiers: (placeId: string, spaceId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18041
18065
  /**
18042
18066
  * Get Booking Space Translation endpoint
18043
18067
  * @summary Get Booking Space Translation
@@ -18073,6 +18097,16 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
18073
18097
  * @throws {RequiredError}
18074
18098
  */
18075
18099
  getBookingSpaces: (placeId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18100
+ /**
18101
+ * Remove Booking Space Tier endpoint
18102
+ * @summary Remove Booking Space Tier
18103
+ * @param {string} placeId The place identifier
18104
+ * @param {string} spaceId The space identifier
18105
+ * @param {string} tierId The tier identifier
18106
+ * @param {*} [options] Override http request option.
18107
+ * @throws {RequiredError}
18108
+ */
18109
+ removeBookingSpaceTier: (placeId: string, spaceId: string, tierId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18076
18110
  /**
18077
18111
  * Update Booking endpoint
18078
18112
  * @summary Update Booking
@@ -18089,6 +18123,16 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
18089
18123
  * BookingsApi - functional programming interface
18090
18124
  */
18091
18125
  export declare const BookingsApiFp: (configuration?: Configuration) => {
18126
+ /**
18127
+ * Add Booking Space Tier endpoint
18128
+ * @summary Add Booking Space Tier
18129
+ * @param {string} placeId The place identifier
18130
+ * @param {string} spaceId The space identifier
18131
+ * @param {string} tierId The tier identifier
18132
+ * @param {*} [options] Override http request option.
18133
+ * @throws {RequiredError}
18134
+ */
18135
+ addBookingSpaceTier(placeId: string, spaceId: string, tierId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpace200Response>>;
18092
18136
  /**
18093
18137
  * Cancel Booking endpoint
18094
18138
  * @summary Cancel Booking
@@ -18293,6 +18337,19 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
18293
18337
  * @throws {RequiredError}
18294
18338
  */
18295
18339
  getBookingSpaceSlots(placeId: string, spaceId: string, firstDayOfMonth: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceSlots200Response>>;
18340
+ /**
18341
+ * Get Booking Space Tiers endpoint
18342
+ * @summary Get Booking Space Tiers
18343
+ * @param {string} placeId The place identifier
18344
+ * @param {string} spaceId The space identifier
18345
+ * @param {number} [page] Page number
18346
+ * @param {number} [pageSize] Number of items per page
18347
+ * @param {string} [orderBy] Field to order by
18348
+ * @param {string} [search] Search query
18349
+ * @param {*} [options] Override http request option.
18350
+ * @throws {RequiredError}
18351
+ */
18352
+ getBookingSpaceTiers(placeId: string, spaceId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountTiers200Response>>;
18296
18353
  /**
18297
18354
  * Get Booking Space Translation endpoint
18298
18355
  * @summary Get Booking Space Translation
@@ -18328,6 +18385,16 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
18328
18385
  * @throws {RequiredError}
18329
18386
  */
18330
18387
  getBookingSpaces(placeId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaces200Response>>;
18388
+ /**
18389
+ * Remove Booking Space Tier endpoint
18390
+ * @summary Remove Booking Space Tier
18391
+ * @param {string} placeId The place identifier
18392
+ * @param {string} spaceId The space identifier
18393
+ * @param {string} tierId The tier identifier
18394
+ * @param {*} [options] Override http request option.
18395
+ * @throws {RequiredError}
18396
+ */
18397
+ removeBookingSpaceTier(placeId: string, spaceId: string, tierId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpace200Response>>;
18331
18398
  /**
18332
18399
  * Update Booking endpoint
18333
18400
  * @summary Update Booking
@@ -18344,6 +18411,14 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
18344
18411
  * BookingsApi - factory interface
18345
18412
  */
18346
18413
  export declare const BookingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
18414
+ /**
18415
+ * Add Booking Space Tier endpoint
18416
+ * @summary Add Booking Space Tier
18417
+ * @param {BookingsApiAddBookingSpaceTierRequest} requestParameters Request parameters.
18418
+ * @param {*} [options] Override http request option.
18419
+ * @throws {RequiredError}
18420
+ */
18421
+ addBookingSpaceTier(requestParameters: BookingsApiAddBookingSpaceTierRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBookingSpace200Response>;
18347
18422
  /**
18348
18423
  * Cancel Booking endpoint
18349
18424
  * @summary Cancel Booking
@@ -18496,6 +18571,14 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
18496
18571
  * @throws {RequiredError}
18497
18572
  */
18498
18573
  getBookingSpaceSlots(requestParameters: BookingsApiGetBookingSpaceSlotsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetBookingSpaceSlots200Response>;
18574
+ /**
18575
+ * Get Booking Space Tiers endpoint
18576
+ * @summary Get Booking Space Tiers
18577
+ * @param {BookingsApiGetBookingSpaceTiersRequest} requestParameters Request parameters.
18578
+ * @param {*} [options] Override http request option.
18579
+ * @throws {RequiredError}
18580
+ */
18581
+ getBookingSpaceTiers(requestParameters: BookingsApiGetBookingSpaceTiersRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountTiers200Response>;
18499
18582
  /**
18500
18583
  * Get Booking Space Translation endpoint
18501
18584
  * @summary Get Booking Space Translation
@@ -18520,6 +18603,14 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
18520
18603
  * @throws {RequiredError}
18521
18604
  */
18522
18605
  getBookingSpaces(requestParameters: BookingsApiGetBookingSpacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetBookingSpaces200Response>;
18606
+ /**
18607
+ * Remove Booking Space Tier endpoint
18608
+ * @summary Remove Booking Space Tier
18609
+ * @param {BookingsApiRemoveBookingSpaceTierRequest} requestParameters Request parameters.
18610
+ * @param {*} [options] Override http request option.
18611
+ * @throws {RequiredError}
18612
+ */
18613
+ removeBookingSpaceTier(requestParameters: BookingsApiRemoveBookingSpaceTierRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBookingSpace200Response>;
18523
18614
  /**
18524
18615
  * Update Booking endpoint
18525
18616
  * @summary Update Booking
@@ -18529,6 +18620,23 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
18529
18620
  */
18530
18621
  updateBooking(requestParameters: BookingsApiUpdateBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBooking200Response>;
18531
18622
  };
18623
+ /**
18624
+ * Request parameters for addBookingSpaceTier operation in BookingsApi.
18625
+ */
18626
+ export interface BookingsApiAddBookingSpaceTierRequest {
18627
+ /**
18628
+ * The place identifier
18629
+ */
18630
+ readonly placeId: string;
18631
+ /**
18632
+ * The space identifier
18633
+ */
18634
+ readonly spaceId: string;
18635
+ /**
18636
+ * The tier identifier
18637
+ */
18638
+ readonly tierId: string;
18639
+ }
18532
18640
  /**
18533
18641
  * Request parameters for cancelBooking operation in BookingsApi.
18534
18642
  */
@@ -18905,6 +19013,35 @@ export interface BookingsApiGetBookingSpaceSlotsRequest {
18905
19013
  */
18906
19014
  readonly firstDayOfMonth: string;
18907
19015
  }
19016
+ /**
19017
+ * Request parameters for getBookingSpaceTiers operation in BookingsApi.
19018
+ */
19019
+ export interface BookingsApiGetBookingSpaceTiersRequest {
19020
+ /**
19021
+ * The place identifier
19022
+ */
19023
+ readonly placeId: string;
19024
+ /**
19025
+ * The space identifier
19026
+ */
19027
+ readonly spaceId: string;
19028
+ /**
19029
+ * Page number
19030
+ */
19031
+ readonly page?: number;
19032
+ /**
19033
+ * Number of items per page
19034
+ */
19035
+ readonly pageSize?: number;
19036
+ /**
19037
+ * Field to order by
19038
+ */
19039
+ readonly orderBy?: string;
19040
+ /**
19041
+ * Search query
19042
+ */
19043
+ readonly search?: string;
19044
+ }
18908
19045
  /**
18909
19046
  * Request parameters for getBookingSpaceTranslation operation in BookingsApi.
18910
19047
  */
@@ -18976,6 +19113,23 @@ export interface BookingsApiGetBookingSpacesRequest {
18976
19113
  */
18977
19114
  readonly search?: string;
18978
19115
  }
19116
+ /**
19117
+ * Request parameters for removeBookingSpaceTier operation in BookingsApi.
19118
+ */
19119
+ export interface BookingsApiRemoveBookingSpaceTierRequest {
19120
+ /**
19121
+ * The place identifier
19122
+ */
19123
+ readonly placeId: string;
19124
+ /**
19125
+ * The space identifier
19126
+ */
19127
+ readonly spaceId: string;
19128
+ /**
19129
+ * The tier identifier
19130
+ */
19131
+ readonly tierId: string;
19132
+ }
18979
19133
  /**
18980
19134
  * Request parameters for updateBooking operation in BookingsApi.
18981
19135
  */
@@ -18998,6 +19152,14 @@ export interface BookingsApiUpdateBookingRequest {
18998
19152
  * BookingsApi - object-oriented interface
18999
19153
  */
19000
19154
  export declare class BookingsApi extends BaseAPI {
19155
+ /**
19156
+ * Add Booking Space Tier endpoint
19157
+ * @summary Add Booking Space Tier
19158
+ * @param {BookingsApiAddBookingSpaceTierRequest} requestParameters Request parameters.
19159
+ * @param {*} [options] Override http request option.
19160
+ * @throws {RequiredError}
19161
+ */
19162
+ addBookingSpaceTier(requestParameters: BookingsApiAddBookingSpaceTierRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBookingSpace200Response, any, {}>>;
19001
19163
  /**
19002
19164
  * Cancel Booking endpoint
19003
19165
  * @summary Cancel Booking
@@ -19150,6 +19312,14 @@ export declare class BookingsApi extends BaseAPI {
19150
19312
  * @throws {RequiredError}
19151
19313
  */
19152
19314
  getBookingSpaceSlots(requestParameters: BookingsApiGetBookingSpaceSlotsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingSpaceSlots200Response, any, {}>>;
19315
+ /**
19316
+ * Get Booking Space Tiers endpoint
19317
+ * @summary Get Booking Space Tiers
19318
+ * @param {BookingsApiGetBookingSpaceTiersRequest} requestParameters Request parameters.
19319
+ * @param {*} [options] Override http request option.
19320
+ * @throws {RequiredError}
19321
+ */
19322
+ getBookingSpaceTiers(requestParameters: BookingsApiGetBookingSpaceTiersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountTiers200Response, any, {}>>;
19153
19323
  /**
19154
19324
  * Get Booking Space Translation endpoint
19155
19325
  * @summary Get Booking Space Translation
@@ -19174,6 +19344,14 @@ export declare class BookingsApi extends BaseAPI {
19174
19344
  * @throws {RequiredError}
19175
19345
  */
19176
19346
  getBookingSpaces(requestParameters: BookingsApiGetBookingSpacesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingSpaces200Response, any, {}>>;
19347
+ /**
19348
+ * Remove Booking Space Tier endpoint
19349
+ * @summary Remove Booking Space Tier
19350
+ * @param {BookingsApiRemoveBookingSpaceTierRequest} requestParameters Request parameters.
19351
+ * @param {*} [options] Override http request option.
19352
+ * @throws {RequiredError}
19353
+ */
19354
+ removeBookingSpaceTier(requestParameters: BookingsApiRemoveBookingSpaceTierRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBookingSpace200Response, any, {}>>;
19177
19355
  /**
19178
19356
  * Update Booking endpoint
19179
19357
  * @summary Update Booking
package/dist/esm/api.js CHANGED
@@ -10676,6 +10676,48 @@ export class BenefitsTranslationsApi extends BaseAPI {
10676
10676
  */
10677
10677
  export const BookingsApiAxiosParamCreator = function (configuration) {
10678
10678
  return {
10679
+ /**
10680
+ * Add Booking Space Tier endpoint
10681
+ * @summary Add Booking Space Tier
10682
+ * @param {string} placeId The place identifier
10683
+ * @param {string} spaceId The space identifier
10684
+ * @param {string} tierId The tier identifier
10685
+ * @param {*} [options] Override http request option.
10686
+ * @throws {RequiredError}
10687
+ */
10688
+ addBookingSpaceTier: (placeId_1, spaceId_1, tierId_1, ...args_1) => __awaiter(this, [placeId_1, spaceId_1, tierId_1, ...args_1], void 0, function* (placeId, spaceId, tierId, options = {}) {
10689
+ // verify required parameter 'placeId' is not null or undefined
10690
+ assertParamExists('addBookingSpaceTier', 'placeId', placeId);
10691
+ // verify required parameter 'spaceId' is not null or undefined
10692
+ assertParamExists('addBookingSpaceTier', 'spaceId', spaceId);
10693
+ // verify required parameter 'tierId' is not null or undefined
10694
+ assertParamExists('addBookingSpaceTier', 'tierId', tierId);
10695
+ const localVarPath = `/bookings/places/{placeId}/spaces/{spaceId}/tiers/{tierId}`
10696
+ .replace(`{${"placeId"}}`, encodeURIComponent(String(placeId)))
10697
+ .replace(`{${"spaceId"}}`, encodeURIComponent(String(spaceId)))
10698
+ .replace(`{${"tierId"}}`, encodeURIComponent(String(tierId)));
10699
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10700
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10701
+ let baseOptions;
10702
+ if (configuration) {
10703
+ baseOptions = configuration.baseOptions;
10704
+ }
10705
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
10706
+ const localVarHeaderParameter = {};
10707
+ const localVarQueryParameter = {};
10708
+ // authentication ApiKeyAuth required
10709
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
10710
+ // authentication OrganizationId required
10711
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
10712
+ localVarHeaderParameter['Accept'] = 'application/json';
10713
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10714
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10715
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10716
+ return {
10717
+ url: toPathString(localVarUrlObj),
10718
+ options: localVarRequestOptions,
10719
+ };
10720
+ }),
10679
10721
  /**
10680
10722
  * Cancel Booking endpoint
10681
10723
  * @summary Cancel Booking
@@ -11533,6 +11575,60 @@ export const BookingsApiAxiosParamCreator = function (configuration) {
11533
11575
  options: localVarRequestOptions,
11534
11576
  };
11535
11577
  }),
11578
+ /**
11579
+ * Get Booking Space Tiers endpoint
11580
+ * @summary Get Booking Space Tiers
11581
+ * @param {string} placeId The place identifier
11582
+ * @param {string} spaceId The space identifier
11583
+ * @param {number} [page] Page number
11584
+ * @param {number} [pageSize] Number of items per page
11585
+ * @param {string} [orderBy] Field to order by
11586
+ * @param {string} [search] Search query
11587
+ * @param {*} [options] Override http request option.
11588
+ * @throws {RequiredError}
11589
+ */
11590
+ getBookingSpaceTiers: (placeId_1, spaceId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [placeId_1, spaceId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (placeId, spaceId, page, pageSize, orderBy, search, options = {}) {
11591
+ // verify required parameter 'placeId' is not null or undefined
11592
+ assertParamExists('getBookingSpaceTiers', 'placeId', placeId);
11593
+ // verify required parameter 'spaceId' is not null or undefined
11594
+ assertParamExists('getBookingSpaceTiers', 'spaceId', spaceId);
11595
+ const localVarPath = `/bookings/places/{placeId}/spaces/{spaceId}/tiers`
11596
+ .replace(`{${"placeId"}}`, encodeURIComponent(String(placeId)))
11597
+ .replace(`{${"spaceId"}}`, encodeURIComponent(String(spaceId)));
11598
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11599
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11600
+ let baseOptions;
11601
+ if (configuration) {
11602
+ baseOptions = configuration.baseOptions;
11603
+ }
11604
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
11605
+ const localVarHeaderParameter = {};
11606
+ const localVarQueryParameter = {};
11607
+ // authentication ApiKeyAuth required
11608
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
11609
+ // authentication OrganizationId required
11610
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
11611
+ if (page !== undefined) {
11612
+ localVarQueryParameter['page'] = page;
11613
+ }
11614
+ if (pageSize !== undefined) {
11615
+ localVarQueryParameter['pageSize'] = pageSize;
11616
+ }
11617
+ if (orderBy !== undefined) {
11618
+ localVarQueryParameter['orderBy'] = orderBy;
11619
+ }
11620
+ if (search !== undefined) {
11621
+ localVarQueryParameter['search'] = search;
11622
+ }
11623
+ localVarHeaderParameter['Accept'] = 'application/json';
11624
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11625
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11626
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11627
+ return {
11628
+ url: toPathString(localVarUrlObj),
11629
+ options: localVarRequestOptions,
11630
+ };
11631
+ }),
11536
11632
  /**
11537
11633
  * Get Booking Space Translation endpoint
11538
11634
  * @summary Get Booking Space Translation
@@ -11679,6 +11775,48 @@ export const BookingsApiAxiosParamCreator = function (configuration) {
11679
11775
  options: localVarRequestOptions,
11680
11776
  };
11681
11777
  }),
11778
+ /**
11779
+ * Remove Booking Space Tier endpoint
11780
+ * @summary Remove Booking Space Tier
11781
+ * @param {string} placeId The place identifier
11782
+ * @param {string} spaceId The space identifier
11783
+ * @param {string} tierId The tier identifier
11784
+ * @param {*} [options] Override http request option.
11785
+ * @throws {RequiredError}
11786
+ */
11787
+ removeBookingSpaceTier: (placeId_1, spaceId_1, tierId_1, ...args_1) => __awaiter(this, [placeId_1, spaceId_1, tierId_1, ...args_1], void 0, function* (placeId, spaceId, tierId, options = {}) {
11788
+ // verify required parameter 'placeId' is not null or undefined
11789
+ assertParamExists('removeBookingSpaceTier', 'placeId', placeId);
11790
+ // verify required parameter 'spaceId' is not null or undefined
11791
+ assertParamExists('removeBookingSpaceTier', 'spaceId', spaceId);
11792
+ // verify required parameter 'tierId' is not null or undefined
11793
+ assertParamExists('removeBookingSpaceTier', 'tierId', tierId);
11794
+ const localVarPath = `/bookings/places/{placeId}/spaces/{spaceId}/tiers/{tierId}`
11795
+ .replace(`{${"placeId"}}`, encodeURIComponent(String(placeId)))
11796
+ .replace(`{${"spaceId"}}`, encodeURIComponent(String(spaceId)))
11797
+ .replace(`{${"tierId"}}`, encodeURIComponent(String(tierId)));
11798
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11799
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11800
+ let baseOptions;
11801
+ if (configuration) {
11802
+ baseOptions = configuration.baseOptions;
11803
+ }
11804
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
11805
+ const localVarHeaderParameter = {};
11806
+ const localVarQueryParameter = {};
11807
+ // authentication ApiKeyAuth required
11808
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
11809
+ // authentication OrganizationId required
11810
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
11811
+ localVarHeaderParameter['Accept'] = 'application/json';
11812
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11813
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11814
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11815
+ return {
11816
+ url: toPathString(localVarUrlObj),
11817
+ options: localVarRequestOptions,
11818
+ };
11819
+ }),
11682
11820
  /**
11683
11821
  * Update Booking endpoint
11684
11822
  * @summary Update Booking
@@ -11734,6 +11872,24 @@ export const BookingsApiAxiosParamCreator = function (configuration) {
11734
11872
  export const BookingsApiFp = function (configuration) {
11735
11873
  const localVarAxiosParamCreator = BookingsApiAxiosParamCreator(configuration);
11736
11874
  return {
11875
+ /**
11876
+ * Add Booking Space Tier endpoint
11877
+ * @summary Add Booking Space Tier
11878
+ * @param {string} placeId The place identifier
11879
+ * @param {string} spaceId The space identifier
11880
+ * @param {string} tierId The tier identifier
11881
+ * @param {*} [options] Override http request option.
11882
+ * @throws {RequiredError}
11883
+ */
11884
+ addBookingSpaceTier(placeId, spaceId, tierId, options) {
11885
+ return __awaiter(this, void 0, void 0, function* () {
11886
+ var _a, _b, _c;
11887
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addBookingSpaceTier(placeId, spaceId, tierId, options);
11888
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
11889
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BookingsApi.addBookingSpaceTier']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
11890
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11891
+ });
11892
+ },
11737
11893
  /**
11738
11894
  * Cancel Booking endpoint
11739
11895
  * @summary Cancel Booking
@@ -12090,6 +12246,27 @@ export const BookingsApiFp = function (configuration) {
12090
12246
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12091
12247
  });
12092
12248
  },
12249
+ /**
12250
+ * Get Booking Space Tiers endpoint
12251
+ * @summary Get Booking Space Tiers
12252
+ * @param {string} placeId The place identifier
12253
+ * @param {string} spaceId The space identifier
12254
+ * @param {number} [page] Page number
12255
+ * @param {number} [pageSize] Number of items per page
12256
+ * @param {string} [orderBy] Field to order by
12257
+ * @param {string} [search] Search query
12258
+ * @param {*} [options] Override http request option.
12259
+ * @throws {RequiredError}
12260
+ */
12261
+ getBookingSpaceTiers(placeId, spaceId, page, pageSize, orderBy, search, options) {
12262
+ return __awaiter(this, void 0, void 0, function* () {
12263
+ var _a, _b, _c;
12264
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getBookingSpaceTiers(placeId, spaceId, page, pageSize, orderBy, search, options);
12265
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12266
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BookingsApi.getBookingSpaceTiers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12267
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12268
+ });
12269
+ },
12093
12270
  /**
12094
12271
  * Get Booking Space Translation endpoint
12095
12272
  * @summary Get Booking Space Translation
@@ -12149,6 +12326,24 @@ export const BookingsApiFp = function (configuration) {
12149
12326
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12150
12327
  });
12151
12328
  },
12329
+ /**
12330
+ * Remove Booking Space Tier endpoint
12331
+ * @summary Remove Booking Space Tier
12332
+ * @param {string} placeId The place identifier
12333
+ * @param {string} spaceId The space identifier
12334
+ * @param {string} tierId The tier identifier
12335
+ * @param {*} [options] Override http request option.
12336
+ * @throws {RequiredError}
12337
+ */
12338
+ removeBookingSpaceTier(placeId, spaceId, tierId, options) {
12339
+ return __awaiter(this, void 0, void 0, function* () {
12340
+ var _a, _b, _c;
12341
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeBookingSpaceTier(placeId, spaceId, tierId, options);
12342
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12343
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BookingsApi.removeBookingSpaceTier']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12344
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12345
+ });
12346
+ },
12152
12347
  /**
12153
12348
  * Update Booking endpoint
12154
12349
  * @summary Update Booking
@@ -12176,6 +12371,16 @@ export const BookingsApiFp = function (configuration) {
12176
12371
  export const BookingsApiFactory = function (configuration, basePath, axios) {
12177
12372
  const localVarFp = BookingsApiFp(configuration);
12178
12373
  return {
12374
+ /**
12375
+ * Add Booking Space Tier endpoint
12376
+ * @summary Add Booking Space Tier
12377
+ * @param {BookingsApiAddBookingSpaceTierRequest} requestParameters Request parameters.
12378
+ * @param {*} [options] Override http request option.
12379
+ * @throws {RequiredError}
12380
+ */
12381
+ addBookingSpaceTier(requestParameters, options) {
12382
+ return localVarFp.addBookingSpaceTier(requestParameters.placeId, requestParameters.spaceId, requestParameters.tierId, options).then((request) => request(axios, basePath));
12383
+ },
12179
12384
  /**
12180
12385
  * Cancel Booking endpoint
12181
12386
  * @summary Cancel Booking
@@ -12366,6 +12571,16 @@ export const BookingsApiFactory = function (configuration, basePath, axios) {
12366
12571
  getBookingSpaceSlots(requestParameters, options) {
12367
12572
  return localVarFp.getBookingSpaceSlots(requestParameters.placeId, requestParameters.spaceId, requestParameters.firstDayOfMonth, options).then((request) => request(axios, basePath));
12368
12573
  },
12574
+ /**
12575
+ * Get Booking Space Tiers endpoint
12576
+ * @summary Get Booking Space Tiers
12577
+ * @param {BookingsApiGetBookingSpaceTiersRequest} requestParameters Request parameters.
12578
+ * @param {*} [options] Override http request option.
12579
+ * @throws {RequiredError}
12580
+ */
12581
+ getBookingSpaceTiers(requestParameters, options) {
12582
+ return localVarFp.getBookingSpaceTiers(requestParameters.placeId, requestParameters.spaceId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
12583
+ },
12369
12584
  /**
12370
12585
  * Get Booking Space Translation endpoint
12371
12586
  * @summary Get Booking Space Translation
@@ -12396,6 +12611,16 @@ export const BookingsApiFactory = function (configuration, basePath, axios) {
12396
12611
  getBookingSpaces(requestParameters, options) {
12397
12612
  return localVarFp.getBookingSpaces(requestParameters.placeId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
12398
12613
  },
12614
+ /**
12615
+ * Remove Booking Space Tier endpoint
12616
+ * @summary Remove Booking Space Tier
12617
+ * @param {BookingsApiRemoveBookingSpaceTierRequest} requestParameters Request parameters.
12618
+ * @param {*} [options] Override http request option.
12619
+ * @throws {RequiredError}
12620
+ */
12621
+ removeBookingSpaceTier(requestParameters, options) {
12622
+ return localVarFp.removeBookingSpaceTier(requestParameters.placeId, requestParameters.spaceId, requestParameters.tierId, options).then((request) => request(axios, basePath));
12623
+ },
12399
12624
  /**
12400
12625
  * Update Booking endpoint
12401
12626
  * @summary Update Booking
@@ -12412,6 +12637,16 @@ export const BookingsApiFactory = function (configuration, basePath, axios) {
12412
12637
  * BookingsApi - object-oriented interface
12413
12638
  */
12414
12639
  export class BookingsApi extends BaseAPI {
12640
+ /**
12641
+ * Add Booking Space Tier endpoint
12642
+ * @summary Add Booking Space Tier
12643
+ * @param {BookingsApiAddBookingSpaceTierRequest} requestParameters Request parameters.
12644
+ * @param {*} [options] Override http request option.
12645
+ * @throws {RequiredError}
12646
+ */
12647
+ addBookingSpaceTier(requestParameters, options) {
12648
+ return BookingsApiFp(this.configuration).addBookingSpaceTier(requestParameters.placeId, requestParameters.spaceId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
12649
+ }
12415
12650
  /**
12416
12651
  * Cancel Booking endpoint
12417
12652
  * @summary Cancel Booking
@@ -12602,6 +12837,16 @@ export class BookingsApi extends BaseAPI {
12602
12837
  getBookingSpaceSlots(requestParameters, options) {
12603
12838
  return BookingsApiFp(this.configuration).getBookingSpaceSlots(requestParameters.placeId, requestParameters.spaceId, requestParameters.firstDayOfMonth, options).then((request) => request(this.axios, this.basePath));
12604
12839
  }
12840
+ /**
12841
+ * Get Booking Space Tiers endpoint
12842
+ * @summary Get Booking Space Tiers
12843
+ * @param {BookingsApiGetBookingSpaceTiersRequest} requestParameters Request parameters.
12844
+ * @param {*} [options] Override http request option.
12845
+ * @throws {RequiredError}
12846
+ */
12847
+ getBookingSpaceTiers(requestParameters, options) {
12848
+ return BookingsApiFp(this.configuration).getBookingSpaceTiers(requestParameters.placeId, requestParameters.spaceId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
12849
+ }
12605
12850
  /**
12606
12851
  * Get Booking Space Translation endpoint
12607
12852
  * @summary Get Booking Space Translation
@@ -12632,6 +12877,16 @@ export class BookingsApi extends BaseAPI {
12632
12877
  getBookingSpaces(requestParameters, options) {
12633
12878
  return BookingsApiFp(this.configuration).getBookingSpaces(requestParameters.placeId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
12634
12879
  }
12880
+ /**
12881
+ * Remove Booking Space Tier endpoint
12882
+ * @summary Remove Booking Space Tier
12883
+ * @param {BookingsApiRemoveBookingSpaceTierRequest} requestParameters Request parameters.
12884
+ * @param {*} [options] Override http request option.
12885
+ * @throws {RequiredError}
12886
+ */
12887
+ removeBookingSpaceTier(requestParameters, options) {
12888
+ return BookingsApiFp(this.configuration).removeBookingSpaceTier(requestParameters.placeId, requestParameters.spaceId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
12889
+ }
12635
12890
  /**
12636
12891
  * Update Booking endpoint
12637
12892
  * @summary Update Booking
@@ -27,6 +27,7 @@ Name | Type | Description | Notes
27
27
  **meetingId** | **string** | | [default to undefined]
28
28
  **meeting** | [**BaseMeeting**](BaseMeeting.md) | | [default to undefined]
29
29
  **joinBeforeTime** | **number** | | [default to undefined]
30
+ **allowedTiers** | [**Array&lt;BaseTier&gt;**](BaseTier.md) | | [default to undefined]
30
31
  **createdAt** | **string** | | [default to undefined]
31
32
  **updatedAt** | **string** | | [default to undefined]
32
33
 
@@ -58,6 +59,7 @@ const instance: BookingSpace = {
58
59
  meetingId,
59
60
  meeting,
60
61
  joinBeforeTime,
62
+ allowedTiers,
61
63
  createdAt,
62
64
  updatedAt,
63
65
  };