@connectedxm/admin-sdk 7.0.10 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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
  }
@@ -9775,6 +9776,7 @@ export interface Organization {
9775
9776
  'email': string | null;
9776
9777
  'description': string | null;
9777
9778
  'phone': string | null;
9779
+ 'privacyPolicyLink': string | null;
9778
9780
  'address1': string | null;
9779
9781
  'address2': string | null;
9780
9782
  'city': string | null;
@@ -10062,6 +10064,7 @@ export interface OrganizationUpdateInputs {
10062
10064
  'phone'?: string | null;
10063
10065
  'timezone'?: string | null;
10064
10066
  'website'?: string | null;
10067
+ 'privacyPolicyLink'?: string | null;
10065
10068
  'address1'?: string | null;
10066
10069
  'address2'?: string | null;
10067
10070
  'city'?: string | null;
@@ -17834,6 +17837,16 @@ export declare class BenefitsTranslationsApi extends BaseAPI {
17834
17837
  * BookingsApi - axios parameter creator
17835
17838
  */
17836
17839
  export declare const BookingsApiAxiosParamCreator: (configuration?: Configuration) => {
17840
+ /**
17841
+ * Add Booking Space Tier endpoint
17842
+ * @summary Add Booking Space Tier
17843
+ * @param {string} placeId The place identifier
17844
+ * @param {string} spaceId The space identifier
17845
+ * @param {string} tierId The tier identifier
17846
+ * @param {*} [options] Override http request option.
17847
+ * @throws {RequiredError}
17848
+ */
17849
+ addBookingSpaceTier: (placeId: string, spaceId: string, tierId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17837
17850
  /**
17838
17851
  * Cancel Booking endpoint
17839
17852
  * @summary Cancel Booking
@@ -18038,6 +18051,19 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
18038
18051
  * @throws {RequiredError}
18039
18052
  */
18040
18053
  getBookingSpaceSlots: (placeId: string, spaceId: string, firstDayOfMonth: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18054
+ /**
18055
+ * Get Booking Space Tiers endpoint
18056
+ * @summary Get Booking Space Tiers
18057
+ * @param {string} placeId The place identifier
18058
+ * @param {string} spaceId The space identifier
18059
+ * @param {number} [page] Page number
18060
+ * @param {number} [pageSize] Number of items per page
18061
+ * @param {string} [orderBy] Field to order by
18062
+ * @param {string} [search] Search query
18063
+ * @param {*} [options] Override http request option.
18064
+ * @throws {RequiredError}
18065
+ */
18066
+ getBookingSpaceTiers: (placeId: string, spaceId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18041
18067
  /**
18042
18068
  * Get Booking Space Translation endpoint
18043
18069
  * @summary Get Booking Space Translation
@@ -18073,6 +18099,16 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
18073
18099
  * @throws {RequiredError}
18074
18100
  */
18075
18101
  getBookingSpaces: (placeId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18102
+ /**
18103
+ * Remove Booking Space Tier endpoint
18104
+ * @summary Remove Booking Space Tier
18105
+ * @param {string} placeId The place identifier
18106
+ * @param {string} spaceId The space identifier
18107
+ * @param {string} tierId The tier identifier
18108
+ * @param {*} [options] Override http request option.
18109
+ * @throws {RequiredError}
18110
+ */
18111
+ removeBookingSpaceTier: (placeId: string, spaceId: string, tierId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18076
18112
  /**
18077
18113
  * Update Booking endpoint
18078
18114
  * @summary Update Booking
@@ -18089,6 +18125,16 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
18089
18125
  * BookingsApi - functional programming interface
18090
18126
  */
18091
18127
  export declare const BookingsApiFp: (configuration?: Configuration) => {
18128
+ /**
18129
+ * Add Booking Space Tier endpoint
18130
+ * @summary Add Booking Space Tier
18131
+ * @param {string} placeId The place identifier
18132
+ * @param {string} spaceId The space identifier
18133
+ * @param {string} tierId The tier identifier
18134
+ * @param {*} [options] Override http request option.
18135
+ * @throws {RequiredError}
18136
+ */
18137
+ addBookingSpaceTier(placeId: string, spaceId: string, tierId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpace200Response>>;
18092
18138
  /**
18093
18139
  * Cancel Booking endpoint
18094
18140
  * @summary Cancel Booking
@@ -18293,6 +18339,19 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
18293
18339
  * @throws {RequiredError}
18294
18340
  */
18295
18341
  getBookingSpaceSlots(placeId: string, spaceId: string, firstDayOfMonth: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaceSlots200Response>>;
18342
+ /**
18343
+ * Get Booking Space Tiers endpoint
18344
+ * @summary Get Booking Space Tiers
18345
+ * @param {string} placeId The place identifier
18346
+ * @param {string} spaceId The space identifier
18347
+ * @param {number} [page] Page number
18348
+ * @param {number} [pageSize] Number of items per page
18349
+ * @param {string} [orderBy] Field to order by
18350
+ * @param {string} [search] Search query
18351
+ * @param {*} [options] Override http request option.
18352
+ * @throws {RequiredError}
18353
+ */
18354
+ getBookingSpaceTiers(placeId: string, spaceId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountTiers200Response>>;
18296
18355
  /**
18297
18356
  * Get Booking Space Translation endpoint
18298
18357
  * @summary Get Booking Space Translation
@@ -18328,6 +18387,16 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
18328
18387
  * @throws {RequiredError}
18329
18388
  */
18330
18389
  getBookingSpaces(placeId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingSpaces200Response>>;
18390
+ /**
18391
+ * Remove Booking Space Tier endpoint
18392
+ * @summary Remove Booking Space Tier
18393
+ * @param {string} placeId The place identifier
18394
+ * @param {string} spaceId The space identifier
18395
+ * @param {string} tierId The tier identifier
18396
+ * @param {*} [options] Override http request option.
18397
+ * @throws {RequiredError}
18398
+ */
18399
+ removeBookingSpaceTier(placeId: string, spaceId: string, tierId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpace200Response>>;
18331
18400
  /**
18332
18401
  * Update Booking endpoint
18333
18402
  * @summary Update Booking
@@ -18344,6 +18413,14 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
18344
18413
  * BookingsApi - factory interface
18345
18414
  */
18346
18415
  export declare const BookingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
18416
+ /**
18417
+ * Add Booking Space Tier endpoint
18418
+ * @summary Add Booking Space Tier
18419
+ * @param {BookingsApiAddBookingSpaceTierRequest} requestParameters Request parameters.
18420
+ * @param {*} [options] Override http request option.
18421
+ * @throws {RequiredError}
18422
+ */
18423
+ addBookingSpaceTier(requestParameters: BookingsApiAddBookingSpaceTierRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBookingSpace200Response>;
18347
18424
  /**
18348
18425
  * Cancel Booking endpoint
18349
18426
  * @summary Cancel Booking
@@ -18496,6 +18573,14 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
18496
18573
  * @throws {RequiredError}
18497
18574
  */
18498
18575
  getBookingSpaceSlots(requestParameters: BookingsApiGetBookingSpaceSlotsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetBookingSpaceSlots200Response>;
18576
+ /**
18577
+ * Get Booking Space Tiers endpoint
18578
+ * @summary Get Booking Space Tiers
18579
+ * @param {BookingsApiGetBookingSpaceTiersRequest} requestParameters Request parameters.
18580
+ * @param {*} [options] Override http request option.
18581
+ * @throws {RequiredError}
18582
+ */
18583
+ getBookingSpaceTiers(requestParameters: BookingsApiGetBookingSpaceTiersRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountTiers200Response>;
18499
18584
  /**
18500
18585
  * Get Booking Space Translation endpoint
18501
18586
  * @summary Get Booking Space Translation
@@ -18520,6 +18605,14 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
18520
18605
  * @throws {RequiredError}
18521
18606
  */
18522
18607
  getBookingSpaces(requestParameters: BookingsApiGetBookingSpacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetBookingSpaces200Response>;
18608
+ /**
18609
+ * Remove Booking Space Tier endpoint
18610
+ * @summary Remove Booking Space Tier
18611
+ * @param {BookingsApiRemoveBookingSpaceTierRequest} requestParameters Request parameters.
18612
+ * @param {*} [options] Override http request option.
18613
+ * @throws {RequiredError}
18614
+ */
18615
+ removeBookingSpaceTier(requestParameters: BookingsApiRemoveBookingSpaceTierRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBookingSpace200Response>;
18523
18616
  /**
18524
18617
  * Update Booking endpoint
18525
18618
  * @summary Update Booking
@@ -18529,6 +18622,23 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
18529
18622
  */
18530
18623
  updateBooking(requestParameters: BookingsApiUpdateBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBooking200Response>;
18531
18624
  };
18625
+ /**
18626
+ * Request parameters for addBookingSpaceTier operation in BookingsApi.
18627
+ */
18628
+ export interface BookingsApiAddBookingSpaceTierRequest {
18629
+ /**
18630
+ * The place identifier
18631
+ */
18632
+ readonly placeId: string;
18633
+ /**
18634
+ * The space identifier
18635
+ */
18636
+ readonly spaceId: string;
18637
+ /**
18638
+ * The tier identifier
18639
+ */
18640
+ readonly tierId: string;
18641
+ }
18532
18642
  /**
18533
18643
  * Request parameters for cancelBooking operation in BookingsApi.
18534
18644
  */
@@ -18905,6 +19015,35 @@ export interface BookingsApiGetBookingSpaceSlotsRequest {
18905
19015
  */
18906
19016
  readonly firstDayOfMonth: string;
18907
19017
  }
19018
+ /**
19019
+ * Request parameters for getBookingSpaceTiers operation in BookingsApi.
19020
+ */
19021
+ export interface BookingsApiGetBookingSpaceTiersRequest {
19022
+ /**
19023
+ * The place identifier
19024
+ */
19025
+ readonly placeId: string;
19026
+ /**
19027
+ * The space identifier
19028
+ */
19029
+ readonly spaceId: string;
19030
+ /**
19031
+ * Page number
19032
+ */
19033
+ readonly page?: number;
19034
+ /**
19035
+ * Number of items per page
19036
+ */
19037
+ readonly pageSize?: number;
19038
+ /**
19039
+ * Field to order by
19040
+ */
19041
+ readonly orderBy?: string;
19042
+ /**
19043
+ * Search query
19044
+ */
19045
+ readonly search?: string;
19046
+ }
18908
19047
  /**
18909
19048
  * Request parameters for getBookingSpaceTranslation operation in BookingsApi.
18910
19049
  */
@@ -18976,6 +19115,23 @@ export interface BookingsApiGetBookingSpacesRequest {
18976
19115
  */
18977
19116
  readonly search?: string;
18978
19117
  }
19118
+ /**
19119
+ * Request parameters for removeBookingSpaceTier operation in BookingsApi.
19120
+ */
19121
+ export interface BookingsApiRemoveBookingSpaceTierRequest {
19122
+ /**
19123
+ * The place identifier
19124
+ */
19125
+ readonly placeId: string;
19126
+ /**
19127
+ * The space identifier
19128
+ */
19129
+ readonly spaceId: string;
19130
+ /**
19131
+ * The tier identifier
19132
+ */
19133
+ readonly tierId: string;
19134
+ }
18979
19135
  /**
18980
19136
  * Request parameters for updateBooking operation in BookingsApi.
18981
19137
  */
@@ -18998,6 +19154,14 @@ export interface BookingsApiUpdateBookingRequest {
18998
19154
  * BookingsApi - object-oriented interface
18999
19155
  */
19000
19156
  export declare class BookingsApi extends BaseAPI {
19157
+ /**
19158
+ * Add Booking Space Tier endpoint
19159
+ * @summary Add Booking Space Tier
19160
+ * @param {BookingsApiAddBookingSpaceTierRequest} requestParameters Request parameters.
19161
+ * @param {*} [options] Override http request option.
19162
+ * @throws {RequiredError}
19163
+ */
19164
+ addBookingSpaceTier(requestParameters: BookingsApiAddBookingSpaceTierRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBookingSpace200Response, any, {}>>;
19001
19165
  /**
19002
19166
  * Cancel Booking endpoint
19003
19167
  * @summary Cancel Booking
@@ -19150,6 +19314,14 @@ export declare class BookingsApi extends BaseAPI {
19150
19314
  * @throws {RequiredError}
19151
19315
  */
19152
19316
  getBookingSpaceSlots(requestParameters: BookingsApiGetBookingSpaceSlotsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingSpaceSlots200Response, any, {}>>;
19317
+ /**
19318
+ * Get Booking Space Tiers endpoint
19319
+ * @summary Get Booking Space Tiers
19320
+ * @param {BookingsApiGetBookingSpaceTiersRequest} requestParameters Request parameters.
19321
+ * @param {*} [options] Override http request option.
19322
+ * @throws {RequiredError}
19323
+ */
19324
+ getBookingSpaceTiers(requestParameters: BookingsApiGetBookingSpaceTiersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountTiers200Response, any, {}>>;
19153
19325
  /**
19154
19326
  * Get Booking Space Translation endpoint
19155
19327
  * @summary Get Booking Space Translation
@@ -19174,6 +19346,14 @@ export declare class BookingsApi extends BaseAPI {
19174
19346
  * @throws {RequiredError}
19175
19347
  */
19176
19348
  getBookingSpaces(requestParameters: BookingsApiGetBookingSpacesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingSpaces200Response, any, {}>>;
19349
+ /**
19350
+ * Remove Booking Space Tier endpoint
19351
+ * @summary Remove Booking Space Tier
19352
+ * @param {BookingsApiRemoveBookingSpaceTierRequest} requestParameters Request parameters.
19353
+ * @param {*} [options] Override http request option.
19354
+ * @throws {RequiredError}
19355
+ */
19356
+ removeBookingSpaceTier(requestParameters: BookingsApiRemoveBookingSpaceTierRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBookingSpace200Response, any, {}>>;
19177
19357
  /**
19178
19358
  * Update Booking endpoint
19179
19359
  * @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
  };