@connectedxm/admin-sdk 7.0.9 → 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
  }
@@ -6075,7 +6076,8 @@ export interface FaqTranslation {
6075
6076
  export declare enum FileSource {
6076
6077
  Admin = "admin",
6077
6078
  Response = "response",
6078
- Content = "content"
6079
+ Content = "content",
6080
+ Thread = "thread"
6079
6081
  }
6080
6082
  export interface FileUpdateInputs {
6081
6083
  'name'?: string;
@@ -17833,6 +17835,16 @@ export declare class BenefitsTranslationsApi extends BaseAPI {
17833
17835
  * BookingsApi - axios parameter creator
17834
17836
  */
17835
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>;
17836
17848
  /**
17837
17849
  * Cancel Booking endpoint
17838
17850
  * @summary Cancel Booking
@@ -18037,6 +18049,19 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
18037
18049
  * @throws {RequiredError}
18038
18050
  */
18039
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>;
18040
18065
  /**
18041
18066
  * Get Booking Space Translation endpoint
18042
18067
  * @summary Get Booking Space Translation
@@ -18072,6 +18097,16 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
18072
18097
  * @throws {RequiredError}
18073
18098
  */
18074
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>;
18075
18110
  /**
18076
18111
  * Update Booking endpoint
18077
18112
  * @summary Update Booking
@@ -18088,6 +18123,16 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
18088
18123
  * BookingsApi - functional programming interface
18089
18124
  */
18090
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>>;
18091
18136
  /**
18092
18137
  * Cancel Booking endpoint
18093
18138
  * @summary Cancel Booking
@@ -18292,6 +18337,19 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
18292
18337
  * @throws {RequiredError}
18293
18338
  */
18294
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>>;
18295
18353
  /**
18296
18354
  * Get Booking Space Translation endpoint
18297
18355
  * @summary Get Booking Space Translation
@@ -18327,6 +18385,16 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
18327
18385
  * @throws {RequiredError}
18328
18386
  */
18329
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>>;
18330
18398
  /**
18331
18399
  * Update Booking endpoint
18332
18400
  * @summary Update Booking
@@ -18343,6 +18411,14 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
18343
18411
  * BookingsApi - factory interface
18344
18412
  */
18345
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>;
18346
18422
  /**
18347
18423
  * Cancel Booking endpoint
18348
18424
  * @summary Cancel Booking
@@ -18495,6 +18571,14 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
18495
18571
  * @throws {RequiredError}
18496
18572
  */
18497
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>;
18498
18582
  /**
18499
18583
  * Get Booking Space Translation endpoint
18500
18584
  * @summary Get Booking Space Translation
@@ -18519,6 +18603,14 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
18519
18603
  * @throws {RequiredError}
18520
18604
  */
18521
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>;
18522
18614
  /**
18523
18615
  * Update Booking endpoint
18524
18616
  * @summary Update Booking
@@ -18528,6 +18620,23 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
18528
18620
  */
18529
18621
  updateBooking(requestParameters: BookingsApiUpdateBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBooking200Response>;
18530
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
+ }
18531
18640
  /**
18532
18641
  * Request parameters for cancelBooking operation in BookingsApi.
18533
18642
  */
@@ -18904,6 +19013,35 @@ export interface BookingsApiGetBookingSpaceSlotsRequest {
18904
19013
  */
18905
19014
  readonly firstDayOfMonth: string;
18906
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
+ }
18907
19045
  /**
18908
19046
  * Request parameters for getBookingSpaceTranslation operation in BookingsApi.
18909
19047
  */
@@ -18975,6 +19113,23 @@ export interface BookingsApiGetBookingSpacesRequest {
18975
19113
  */
18976
19114
  readonly search?: string;
18977
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
+ }
18978
19133
  /**
18979
19134
  * Request parameters for updateBooking operation in BookingsApi.
18980
19135
  */
@@ -18997,6 +19152,14 @@ export interface BookingsApiUpdateBookingRequest {
18997
19152
  * BookingsApi - object-oriented interface
18998
19153
  */
18999
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, {}>>;
19000
19163
  /**
19001
19164
  * Cancel Booking endpoint
19002
19165
  * @summary Cancel Booking
@@ -19149,6 +19312,14 @@ export declare class BookingsApi extends BaseAPI {
19149
19312
  * @throws {RequiredError}
19150
19313
  */
19151
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, {}>>;
19152
19323
  /**
19153
19324
  * Get Booking Space Translation endpoint
19154
19325
  * @summary Get Booking Space Translation
@@ -19173,6 +19344,14 @@ export declare class BookingsApi extends BaseAPI {
19173
19344
  * @throws {RequiredError}
19174
19345
  */
19175
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, {}>>;
19176
19355
  /**
19177
19356
  * Update Booking endpoint
19178
19357
  * @summary Update Booking
package/dist/esm/api.js CHANGED
@@ -666,6 +666,7 @@ export var FileSource;
666
666
  FileSource["Admin"] = "admin";
667
667
  FileSource["Response"] = "response";
668
668
  FileSource["Content"] = "content";
669
+ FileSource["Thread"] = "thread";
669
670
  })(FileSource || (FileSource = {}));
670
671
  export var GetAPILog200ResponseStatusEnum;
671
672
  (function (GetAPILog200ResponseStatusEnum) {
@@ -10675,6 +10676,48 @@ export class BenefitsTranslationsApi extends BaseAPI {
10675
10676
  */
10676
10677
  export const BookingsApiAxiosParamCreator = function (configuration) {
10677
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
+ }),
10678
10721
  /**
10679
10722
  * Cancel Booking endpoint
10680
10723
  * @summary Cancel Booking
@@ -11532,6 +11575,60 @@ export const BookingsApiAxiosParamCreator = function (configuration) {
11532
11575
  options: localVarRequestOptions,
11533
11576
  };
11534
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
+ }),
11535
11632
  /**
11536
11633
  * Get Booking Space Translation endpoint
11537
11634
  * @summary Get Booking Space Translation
@@ -11678,6 +11775,48 @@ export const BookingsApiAxiosParamCreator = function (configuration) {
11678
11775
  options: localVarRequestOptions,
11679
11776
  };
11680
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
+ }),
11681
11820
  /**
11682
11821
  * Update Booking endpoint
11683
11822
  * @summary Update Booking
@@ -11733,6 +11872,24 @@ export const BookingsApiAxiosParamCreator = function (configuration) {
11733
11872
  export const BookingsApiFp = function (configuration) {
11734
11873
  const localVarAxiosParamCreator = BookingsApiAxiosParamCreator(configuration);
11735
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
+ },
11736
11893
  /**
11737
11894
  * Cancel Booking endpoint
11738
11895
  * @summary Cancel Booking
@@ -12089,6 +12246,27 @@ export const BookingsApiFp = function (configuration) {
12089
12246
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12090
12247
  });
12091
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
+ },
12092
12270
  /**
12093
12271
  * Get Booking Space Translation endpoint
12094
12272
  * @summary Get Booking Space Translation
@@ -12148,6 +12326,24 @@ export const BookingsApiFp = function (configuration) {
12148
12326
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12149
12327
  });
12150
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
+ },
12151
12347
  /**
12152
12348
  * Update Booking endpoint
12153
12349
  * @summary Update Booking
@@ -12175,6 +12371,16 @@ export const BookingsApiFp = function (configuration) {
12175
12371
  export const BookingsApiFactory = function (configuration, basePath, axios) {
12176
12372
  const localVarFp = BookingsApiFp(configuration);
12177
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
+ },
12178
12384
  /**
12179
12385
  * Cancel Booking endpoint
12180
12386
  * @summary Cancel Booking
@@ -12365,6 +12571,16 @@ export const BookingsApiFactory = function (configuration, basePath, axios) {
12365
12571
  getBookingSpaceSlots(requestParameters, options) {
12366
12572
  return localVarFp.getBookingSpaceSlots(requestParameters.placeId, requestParameters.spaceId, requestParameters.firstDayOfMonth, options).then((request) => request(axios, basePath));
12367
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
+ },
12368
12584
  /**
12369
12585
  * Get Booking Space Translation endpoint
12370
12586
  * @summary Get Booking Space Translation
@@ -12395,6 +12611,16 @@ export const BookingsApiFactory = function (configuration, basePath, axios) {
12395
12611
  getBookingSpaces(requestParameters, options) {
12396
12612
  return localVarFp.getBookingSpaces(requestParameters.placeId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
12397
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
+ },
12398
12624
  /**
12399
12625
  * Update Booking endpoint
12400
12626
  * @summary Update Booking
@@ -12411,6 +12637,16 @@ export const BookingsApiFactory = function (configuration, basePath, axios) {
12411
12637
  * BookingsApi - object-oriented interface
12412
12638
  */
12413
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
+ }
12414
12650
  /**
12415
12651
  * Cancel Booking endpoint
12416
12652
  * @summary Cancel Booking
@@ -12601,6 +12837,16 @@ export class BookingsApi extends BaseAPI {
12601
12837
  getBookingSpaceSlots(requestParameters, options) {
12602
12838
  return BookingsApiFp(this.configuration).getBookingSpaceSlots(requestParameters.placeId, requestParameters.spaceId, requestParameters.firstDayOfMonth, options).then((request) => request(this.axios, this.basePath));
12603
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
+ }
12604
12850
  /**
12605
12851
  * Get Booking Space Translation endpoint
12606
12852
  * @summary Get Booking Space Translation
@@ -12631,6 +12877,16 @@ export class BookingsApi extends BaseAPI {
12631
12877
  getBookingSpaces(requestParameters, options) {
12632
12878
  return BookingsApiFp(this.configuration).getBookingSpaces(requestParameters.placeId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
12633
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
+ }
12634
12890
  /**
12635
12891
  * Update Booking endpoint
12636
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
  };