@connectedxm/admin-sdk 7.2.1 → 7.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -146,6 +146,7 @@ Class | Method | HTTP request | Description
146
146
  *BenefitsTranslationsApi* | [**updateBenefitTranslation**](docs/BenefitsTranslationsApi.md#updatebenefittranslation) | **PUT** /benefits/{benefitId}/translations/{locale} | Update Benefit Translation
147
147
  *BookingsApi* | [**addBookingSpaceTier**](docs/BookingsApi.md#addbookingspacetier) | **POST** /bookings/places/{placeId}/spaces/{spaceId}/tiers/{tierId} | Add Booking Space Tier
148
148
  *BookingsApi* | [**cancelBooking**](docs/BookingsApi.md#cancelbooking) | **PUT** /bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId}/cancel | Cancel Booking
149
+ *BookingsApi* | [**checkInBooking**](docs/BookingsApi.md#checkinbooking) | **POST** /bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId}/checkin | Check In Booking
149
150
  *BookingsApi* | [**createBooking**](docs/BookingsApi.md#createbooking) | **POST** /bookings/places/{placeId}/spaces/{spaceId}/bookings | Create Booking
150
151
  *BookingsApi* | [**deleteBooking**](docs/BookingsApi.md#deletebooking) | **DELETE** /bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId} | Delete Booking
151
152
  *BookingsApi* | [**getBooking**](docs/BookingsApi.md#getbooking) | **GET** /bookings/{bookingId} | Get Booking
@@ -169,6 +170,7 @@ Class | Method | HTTP request | Description
169
170
  *BookingsApi* | [**getBookingSpaceTranslations**](docs/BookingsApi.md#getbookingspacetranslations) | **GET** /bookings/places/{placeId}/spaces/{spaceId}/translations | Get Booking Space Translations
170
171
  *BookingsApi* | [**getBookingSpaces**](docs/BookingsApi.md#getbookingspaces) | **GET** /bookings/places/{placeId}/spaces | Get Booking Spaces
171
172
  *BookingsApi* | [**removeBookingSpaceTier**](docs/BookingsApi.md#removebookingspacetier) | **DELETE** /bookings/places/{placeId}/spaces/{spaceId}/tiers/{tierId} | Remove Booking Space Tier
173
+ *BookingsApi* | [**undoCheckInBooking**](docs/BookingsApi.md#undocheckinbooking) | **POST** /bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId}/checkin/undo | Undo Check In Booking
172
174
  *BookingsApi* | [**updateBooking**](docs/BookingsApi.md#updatebooking) | **PUT** /bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId} | Update Booking
173
175
  *BookingsAvailabilitiesApi* | [**createBookingSpaceAvailability**](docs/BookingsAvailabilitiesApi.md#createbookingspaceavailability) | **POST** /bookings/places/{placeId}/spaces/{spaceId}/availabilities | Create Booking Space Availability
174
176
  *BookingsAvailabilitiesApi* | [**deleteBookingSpaceAvailability**](docs/BookingsAvailabilitiesApi.md#deletebookingspaceavailability) | **DELETE** /bookings/places/{placeId}/spaces/{spaceId}/availabilities/{availabilityId} | Delete Booking Space Availability
package/api.ts CHANGED
@@ -971,6 +971,7 @@ export interface BaseBooking {
971
971
  'day': string;
972
972
  'time': string;
973
973
  'duration': number;
974
+ 'checkedIn': string | null;
974
975
  'status': PurchaseStatus;
975
976
  'account': BaseAccount;
976
977
  'space': BaseBookingSpace;
@@ -2711,6 +2712,7 @@ export interface Booking {
2711
2712
  'day': string;
2712
2713
  'time': string;
2713
2714
  'duration': number;
2715
+ 'checkedIn': string | null;
2714
2716
  'status': PurchaseStatus;
2715
2717
  'account': BaseAccount;
2716
2718
  'space': BaseBookingSpace;
@@ -24692,6 +24694,54 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
24692
24694
  options: localVarRequestOptions,
24693
24695
  };
24694
24696
  },
24697
+ /**
24698
+ * Check In Booking endpoint
24699
+ * @summary Check In Booking
24700
+ * @param {string} placeId The place identifier
24701
+ * @param {string} spaceId The space identifier
24702
+ * @param {string} bookingId The booking identifier
24703
+ * @param {*} [options] Override http request option.
24704
+ * @throws {RequiredError}
24705
+ */
24706
+ checkInBooking: async (placeId: string, spaceId: string, bookingId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
24707
+ // verify required parameter 'placeId' is not null or undefined
24708
+ assertParamExists('checkInBooking', 'placeId', placeId)
24709
+ // verify required parameter 'spaceId' is not null or undefined
24710
+ assertParamExists('checkInBooking', 'spaceId', spaceId)
24711
+ // verify required parameter 'bookingId' is not null or undefined
24712
+ assertParamExists('checkInBooking', 'bookingId', bookingId)
24713
+ const localVarPath = `/bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId}/checkin`
24714
+ .replace(`{${"placeId"}}`, encodeURIComponent(String(placeId)))
24715
+ .replace(`{${"spaceId"}}`, encodeURIComponent(String(spaceId)))
24716
+ .replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
24717
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24718
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24719
+ let baseOptions;
24720
+ if (configuration) {
24721
+ baseOptions = configuration.baseOptions;
24722
+ }
24723
+
24724
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
24725
+ const localVarHeaderParameter = {} as any;
24726
+ const localVarQueryParameter = {} as any;
24727
+
24728
+ // authentication ApiKeyAuth required
24729
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
24730
+
24731
+ // authentication OrganizationId required
24732
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
24733
+
24734
+ localVarHeaderParameter['Accept'] = 'application/json';
24735
+
24736
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24737
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24738
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24739
+
24740
+ return {
24741
+ url: toPathString(localVarUrlObj),
24742
+ options: localVarRequestOptions,
24743
+ };
24744
+ },
24695
24745
  /**
24696
24746
  * Create Booking endpoint
24697
24747
  * @summary Create Booking
@@ -25935,6 +25985,54 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
25935
25985
  options: localVarRequestOptions,
25936
25986
  };
25937
25987
  },
25988
+ /**
25989
+ * Undo Check In Booking endpoint
25990
+ * @summary Undo Check In Booking
25991
+ * @param {string} placeId The place identifier
25992
+ * @param {string} spaceId The space identifier
25993
+ * @param {string} bookingId The booking identifier
25994
+ * @param {*} [options] Override http request option.
25995
+ * @throws {RequiredError}
25996
+ */
25997
+ undoCheckInBooking: async (placeId: string, spaceId: string, bookingId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25998
+ // verify required parameter 'placeId' is not null or undefined
25999
+ assertParamExists('undoCheckInBooking', 'placeId', placeId)
26000
+ // verify required parameter 'spaceId' is not null or undefined
26001
+ assertParamExists('undoCheckInBooking', 'spaceId', spaceId)
26002
+ // verify required parameter 'bookingId' is not null or undefined
26003
+ assertParamExists('undoCheckInBooking', 'bookingId', bookingId)
26004
+ const localVarPath = `/bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId}/checkin/undo`
26005
+ .replace(`{${"placeId"}}`, encodeURIComponent(String(placeId)))
26006
+ .replace(`{${"spaceId"}}`, encodeURIComponent(String(spaceId)))
26007
+ .replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
26008
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26009
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26010
+ let baseOptions;
26011
+ if (configuration) {
26012
+ baseOptions = configuration.baseOptions;
26013
+ }
26014
+
26015
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
26016
+ const localVarHeaderParameter = {} as any;
26017
+ const localVarQueryParameter = {} as any;
26018
+
26019
+ // authentication ApiKeyAuth required
26020
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
26021
+
26022
+ // authentication OrganizationId required
26023
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
26024
+
26025
+ localVarHeaderParameter['Accept'] = 'application/json';
26026
+
26027
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26028
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26029
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26030
+
26031
+ return {
26032
+ url: toPathString(localVarUrlObj),
26033
+ options: localVarRequestOptions,
26034
+ };
26035
+ },
25938
26036
  /**
25939
26037
  * Update Booking endpoint
25940
26038
  * @summary Update Booking
@@ -26027,6 +26125,21 @@ export const BookingsApiFp = function(configuration?: Configuration) {
26027
26125
  const localVarOperationServerBasePath = operationServerMap['BookingsApi.cancelBooking']?.[localVarOperationServerIndex]?.url;
26028
26126
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26029
26127
  },
26128
+ /**
26129
+ * Check In Booking endpoint
26130
+ * @summary Check In Booking
26131
+ * @param {string} placeId The place identifier
26132
+ * @param {string} spaceId The space identifier
26133
+ * @param {string} bookingId The booking identifier
26134
+ * @param {*} [options] Override http request option.
26135
+ * @throws {RequiredError}
26136
+ */
26137
+ async checkInBooking(placeId: string, spaceId: string, bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBooking200Response>> {
26138
+ const localVarAxiosArgs = await localVarAxiosParamCreator.checkInBooking(placeId, spaceId, bookingId, options);
26139
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26140
+ const localVarOperationServerBasePath = operationServerMap['BookingsApi.checkInBooking']?.[localVarOperationServerIndex]?.url;
26141
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26142
+ },
26030
26143
  /**
26031
26144
  * Create Booking endpoint
26032
26145
  * @summary Create Booking
@@ -26394,6 +26507,21 @@ export const BookingsApiFp = function(configuration?: Configuration) {
26394
26507
  const localVarOperationServerBasePath = operationServerMap['BookingsApi.removeBookingSpaceTier']?.[localVarOperationServerIndex]?.url;
26395
26508
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26396
26509
  },
26510
+ /**
26511
+ * Undo Check In Booking endpoint
26512
+ * @summary Undo Check In Booking
26513
+ * @param {string} placeId The place identifier
26514
+ * @param {string} spaceId The space identifier
26515
+ * @param {string} bookingId The booking identifier
26516
+ * @param {*} [options] Override http request option.
26517
+ * @throws {RequiredError}
26518
+ */
26519
+ async undoCheckInBooking(placeId: string, spaceId: string, bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBooking200Response>> {
26520
+ const localVarAxiosArgs = await localVarAxiosParamCreator.undoCheckInBooking(placeId, spaceId, bookingId, options);
26521
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26522
+ const localVarOperationServerBasePath = operationServerMap['BookingsApi.undoCheckInBooking']?.[localVarOperationServerIndex]?.url;
26523
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26524
+ },
26397
26525
  /**
26398
26526
  * Update Booking endpoint
26399
26527
  * @summary Update Booking
@@ -26439,6 +26567,16 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
26439
26567
  cancelBooking(requestParameters: BookingsApiCancelBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBooking200Response> {
26440
26568
  return localVarFp.cancelBooking(requestParameters.placeId, requestParameters.spaceId, requestParameters.bookingId, options).then((request) => request(axios, basePath));
26441
26569
  },
26570
+ /**
26571
+ * Check In Booking endpoint
26572
+ * @summary Check In Booking
26573
+ * @param {BookingsApiCheckInBookingRequest} requestParameters Request parameters.
26574
+ * @param {*} [options] Override http request option.
26575
+ * @throws {RequiredError}
26576
+ */
26577
+ checkInBooking(requestParameters: BookingsApiCheckInBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBooking200Response> {
26578
+ return localVarFp.checkInBooking(requestParameters.placeId, requestParameters.spaceId, requestParameters.bookingId, options).then((request) => request(axios, basePath));
26579
+ },
26442
26580
  /**
26443
26581
  * Create Booking endpoint
26444
26582
  * @summary Create Booking
@@ -26669,6 +26807,16 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
26669
26807
  removeBookingSpaceTier(requestParameters: BookingsApiRemoveBookingSpaceTierRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBookingSpace200Response> {
26670
26808
  return localVarFp.removeBookingSpaceTier(requestParameters.placeId, requestParameters.spaceId, requestParameters.tierId, options).then((request) => request(axios, basePath));
26671
26809
  },
26810
+ /**
26811
+ * Undo Check In Booking endpoint
26812
+ * @summary Undo Check In Booking
26813
+ * @param {BookingsApiUndoCheckInBookingRequest} requestParameters Request parameters.
26814
+ * @param {*} [options] Override http request option.
26815
+ * @throws {RequiredError}
26816
+ */
26817
+ undoCheckInBooking(requestParameters: BookingsApiUndoCheckInBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBooking200Response> {
26818
+ return localVarFp.undoCheckInBooking(requestParameters.placeId, requestParameters.spaceId, requestParameters.bookingId, options).then((request) => request(axios, basePath));
26819
+ },
26672
26820
  /**
26673
26821
  * Update Booking endpoint
26674
26822
  * @summary Update Booking
@@ -26722,6 +26870,26 @@ export interface BookingsApiCancelBookingRequest {
26722
26870
  readonly bookingId: string
26723
26871
  }
26724
26872
 
26873
+ /**
26874
+ * Request parameters for checkInBooking operation in BookingsApi.
26875
+ */
26876
+ export interface BookingsApiCheckInBookingRequest {
26877
+ /**
26878
+ * The place identifier
26879
+ */
26880
+ readonly placeId: string
26881
+
26882
+ /**
26883
+ * The space identifier
26884
+ */
26885
+ readonly spaceId: string
26886
+
26887
+ /**
26888
+ * The booking identifier
26889
+ */
26890
+ readonly bookingId: string
26891
+ }
26892
+
26725
26893
  /**
26726
26894
  * Request parameters for createBooking operation in BookingsApi.
26727
26895
  */
@@ -27289,6 +27457,26 @@ export interface BookingsApiRemoveBookingSpaceTierRequest {
27289
27457
  readonly tierId: string
27290
27458
  }
27291
27459
 
27460
+ /**
27461
+ * Request parameters for undoCheckInBooking operation in BookingsApi.
27462
+ */
27463
+ export interface BookingsApiUndoCheckInBookingRequest {
27464
+ /**
27465
+ * The place identifier
27466
+ */
27467
+ readonly placeId: string
27468
+
27469
+ /**
27470
+ * The space identifier
27471
+ */
27472
+ readonly spaceId: string
27473
+
27474
+ /**
27475
+ * The booking identifier
27476
+ */
27477
+ readonly bookingId: string
27478
+ }
27479
+
27292
27480
  /**
27293
27481
  * Request parameters for updateBooking operation in BookingsApi.
27294
27482
  */
@@ -27337,6 +27525,17 @@ export class BookingsApi extends BaseAPI {
27337
27525
  return BookingsApiFp(this.configuration).cancelBooking(requestParameters.placeId, requestParameters.spaceId, requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
27338
27526
  }
27339
27527
 
27528
+ /**
27529
+ * Check In Booking endpoint
27530
+ * @summary Check In Booking
27531
+ * @param {BookingsApiCheckInBookingRequest} requestParameters Request parameters.
27532
+ * @param {*} [options] Override http request option.
27533
+ * @throws {RequiredError}
27534
+ */
27535
+ public checkInBooking(requestParameters: BookingsApiCheckInBookingRequest, options?: RawAxiosRequestConfig) {
27536
+ return BookingsApiFp(this.configuration).checkInBooking(requestParameters.placeId, requestParameters.spaceId, requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
27537
+ }
27538
+
27340
27539
  /**
27341
27540
  * Create Booking endpoint
27342
27541
  * @summary Create Booking
@@ -27590,6 +27789,17 @@ export class BookingsApi extends BaseAPI {
27590
27789
  return BookingsApiFp(this.configuration).removeBookingSpaceTier(requestParameters.placeId, requestParameters.spaceId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
27591
27790
  }
27592
27791
 
27792
+ /**
27793
+ * Undo Check In Booking endpoint
27794
+ * @summary Undo Check In Booking
27795
+ * @param {BookingsApiUndoCheckInBookingRequest} requestParameters Request parameters.
27796
+ * @param {*} [options] Override http request option.
27797
+ * @throws {RequiredError}
27798
+ */
27799
+ public undoCheckInBooking(requestParameters: BookingsApiUndoCheckInBookingRequest, options?: RawAxiosRequestConfig) {
27800
+ return BookingsApiFp(this.configuration).undoCheckInBooking(requestParameters.placeId, requestParameters.spaceId, requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
27801
+ }
27802
+
27593
27803
  /**
27594
27804
  * Update Booking endpoint
27595
27805
  * @summary Update Booking
package/dist/api.d.ts CHANGED
@@ -880,6 +880,7 @@ export interface BaseBooking {
880
880
  'day': string;
881
881
  'time': string;
882
882
  'duration': number;
883
+ 'checkedIn': string | null;
883
884
  'status': PurchaseStatus;
884
885
  'account': BaseAccount;
885
886
  'space': BaseBookingSpace;
@@ -2525,6 +2526,7 @@ export interface Booking {
2525
2526
  'day': string;
2526
2527
  'time': string;
2527
2528
  'duration': number;
2529
+ 'checkedIn': string | null;
2528
2530
  'status': PurchaseStatus;
2529
2531
  'account': BaseAccount;
2530
2532
  'space': BaseBookingSpace;
@@ -17880,6 +17882,16 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
17880
17882
  * @throws {RequiredError}
17881
17883
  */
17882
17884
  cancelBooking: (placeId: string, spaceId: string, bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17885
+ /**
17886
+ * Check In Booking endpoint
17887
+ * @summary Check In Booking
17888
+ * @param {string} placeId The place identifier
17889
+ * @param {string} spaceId The space identifier
17890
+ * @param {string} bookingId The booking identifier
17891
+ * @param {*} [options] Override http request option.
17892
+ * @throws {RequiredError}
17893
+ */
17894
+ checkInBooking: (placeId: string, spaceId: string, bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17883
17895
  /**
17884
17896
  * Create Booking endpoint
17885
17897
  * @summary Create Booking
@@ -18132,6 +18144,16 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
18132
18144
  * @throws {RequiredError}
18133
18145
  */
18134
18146
  removeBookingSpaceTier: (placeId: string, spaceId: string, tierId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18147
+ /**
18148
+ * Undo Check In Booking endpoint
18149
+ * @summary Undo Check In Booking
18150
+ * @param {string} placeId The place identifier
18151
+ * @param {string} spaceId The space identifier
18152
+ * @param {string} bookingId The booking identifier
18153
+ * @param {*} [options] Override http request option.
18154
+ * @throws {RequiredError}
18155
+ */
18156
+ undoCheckInBooking: (placeId: string, spaceId: string, bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18135
18157
  /**
18136
18158
  * Update Booking endpoint
18137
18159
  * @summary Update Booking
@@ -18168,6 +18190,16 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
18168
18190
  * @throws {RequiredError}
18169
18191
  */
18170
18192
  cancelBooking(placeId: string, spaceId: string, bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBooking200Response>>;
18193
+ /**
18194
+ * Check In Booking endpoint
18195
+ * @summary Check In Booking
18196
+ * @param {string} placeId The place identifier
18197
+ * @param {string} spaceId The space identifier
18198
+ * @param {string} bookingId The booking identifier
18199
+ * @param {*} [options] Override http request option.
18200
+ * @throws {RequiredError}
18201
+ */
18202
+ checkInBooking(placeId: string, spaceId: string, bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBooking200Response>>;
18171
18203
  /**
18172
18204
  * Create Booking endpoint
18173
18205
  * @summary Create Booking
@@ -18420,6 +18452,16 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
18420
18452
  * @throws {RequiredError}
18421
18453
  */
18422
18454
  removeBookingSpaceTier(placeId: string, spaceId: string, tierId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpace200Response>>;
18455
+ /**
18456
+ * Undo Check In Booking endpoint
18457
+ * @summary Undo Check In Booking
18458
+ * @param {string} placeId The place identifier
18459
+ * @param {string} spaceId The space identifier
18460
+ * @param {string} bookingId The booking identifier
18461
+ * @param {*} [options] Override http request option.
18462
+ * @throws {RequiredError}
18463
+ */
18464
+ undoCheckInBooking(placeId: string, spaceId: string, bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBooking200Response>>;
18423
18465
  /**
18424
18466
  * Update Booking endpoint
18425
18467
  * @summary Update Booking
@@ -18452,6 +18494,14 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
18452
18494
  * @throws {RequiredError}
18453
18495
  */
18454
18496
  cancelBooking(requestParameters: BookingsApiCancelBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBooking200Response>;
18497
+ /**
18498
+ * Check In Booking endpoint
18499
+ * @summary Check In Booking
18500
+ * @param {BookingsApiCheckInBookingRequest} requestParameters Request parameters.
18501
+ * @param {*} [options] Override http request option.
18502
+ * @throws {RequiredError}
18503
+ */
18504
+ checkInBooking(requestParameters: BookingsApiCheckInBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBooking200Response>;
18455
18505
  /**
18456
18506
  * Create Booking endpoint
18457
18507
  * @summary Create Booking
@@ -18636,6 +18686,14 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
18636
18686
  * @throws {RequiredError}
18637
18687
  */
18638
18688
  removeBookingSpaceTier(requestParameters: BookingsApiRemoveBookingSpaceTierRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBookingSpace200Response>;
18689
+ /**
18690
+ * Undo Check In Booking endpoint
18691
+ * @summary Undo Check In Booking
18692
+ * @param {BookingsApiUndoCheckInBookingRequest} requestParameters Request parameters.
18693
+ * @param {*} [options] Override http request option.
18694
+ * @throws {RequiredError}
18695
+ */
18696
+ undoCheckInBooking(requestParameters: BookingsApiUndoCheckInBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBooking200Response>;
18639
18697
  /**
18640
18698
  * Update Booking endpoint
18641
18699
  * @summary Update Booking
@@ -18679,6 +18737,23 @@ export interface BookingsApiCancelBookingRequest {
18679
18737
  */
18680
18738
  readonly bookingId: string;
18681
18739
  }
18740
+ /**
18741
+ * Request parameters for checkInBooking operation in BookingsApi.
18742
+ */
18743
+ export interface BookingsApiCheckInBookingRequest {
18744
+ /**
18745
+ * The place identifier
18746
+ */
18747
+ readonly placeId: string;
18748
+ /**
18749
+ * The space identifier
18750
+ */
18751
+ readonly spaceId: string;
18752
+ /**
18753
+ * The booking identifier
18754
+ */
18755
+ readonly bookingId: string;
18756
+ }
18682
18757
  /**
18683
18758
  * Request parameters for createBooking operation in BookingsApi.
18684
18759
  */
@@ -19155,6 +19230,23 @@ export interface BookingsApiRemoveBookingSpaceTierRequest {
19155
19230
  */
19156
19231
  readonly tierId: string;
19157
19232
  }
19233
+ /**
19234
+ * Request parameters for undoCheckInBooking operation in BookingsApi.
19235
+ */
19236
+ export interface BookingsApiUndoCheckInBookingRequest {
19237
+ /**
19238
+ * The place identifier
19239
+ */
19240
+ readonly placeId: string;
19241
+ /**
19242
+ * The space identifier
19243
+ */
19244
+ readonly spaceId: string;
19245
+ /**
19246
+ * The booking identifier
19247
+ */
19248
+ readonly bookingId: string;
19249
+ }
19158
19250
  /**
19159
19251
  * Request parameters for updateBooking operation in BookingsApi.
19160
19252
  */
@@ -19193,6 +19285,14 @@ export declare class BookingsApi extends BaseAPI {
19193
19285
  * @throws {RequiredError}
19194
19286
  */
19195
19287
  cancelBooking(requestParameters: BookingsApiCancelBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBooking200Response, any, {}>>;
19288
+ /**
19289
+ * Check In Booking endpoint
19290
+ * @summary Check In Booking
19291
+ * @param {BookingsApiCheckInBookingRequest} requestParameters Request parameters.
19292
+ * @param {*} [options] Override http request option.
19293
+ * @throws {RequiredError}
19294
+ */
19295
+ checkInBooking(requestParameters: BookingsApiCheckInBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBooking200Response, any, {}>>;
19196
19296
  /**
19197
19297
  * Create Booking endpoint
19198
19298
  * @summary Create Booking
@@ -19377,6 +19477,14 @@ export declare class BookingsApi extends BaseAPI {
19377
19477
  * @throws {RequiredError}
19378
19478
  */
19379
19479
  removeBookingSpaceTier(requestParameters: BookingsApiRemoveBookingSpaceTierRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBookingSpace200Response, any, {}>>;
19480
+ /**
19481
+ * Undo Check In Booking endpoint
19482
+ * @summary Undo Check In Booking
19483
+ * @param {BookingsApiUndoCheckInBookingRequest} requestParameters Request parameters.
19484
+ * @param {*} [options] Override http request option.
19485
+ * @throws {RequiredError}
19486
+ */
19487
+ undoCheckInBooking(requestParameters: BookingsApiUndoCheckInBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBooking200Response, any, {}>>;
19380
19488
  /**
19381
19489
  * Update Booking endpoint
19382
19490
  * @summary Update Booking
package/dist/api.js CHANGED
@@ -10875,6 +10875,48 @@ const BookingsApiAxiosParamCreator = function (configuration) {
10875
10875
  options: localVarRequestOptions,
10876
10876
  };
10877
10877
  }),
10878
+ /**
10879
+ * Check In Booking endpoint
10880
+ * @summary Check In Booking
10881
+ * @param {string} placeId The place identifier
10882
+ * @param {string} spaceId The space identifier
10883
+ * @param {string} bookingId The booking identifier
10884
+ * @param {*} [options] Override http request option.
10885
+ * @throws {RequiredError}
10886
+ */
10887
+ checkInBooking: (placeId_1, spaceId_1, bookingId_1, ...args_1) => __awaiter(this, [placeId_1, spaceId_1, bookingId_1, ...args_1], void 0, function* (placeId, spaceId, bookingId, options = {}) {
10888
+ // verify required parameter 'placeId' is not null or undefined
10889
+ (0, common_1.assertParamExists)('checkInBooking', 'placeId', placeId);
10890
+ // verify required parameter 'spaceId' is not null or undefined
10891
+ (0, common_1.assertParamExists)('checkInBooking', 'spaceId', spaceId);
10892
+ // verify required parameter 'bookingId' is not null or undefined
10893
+ (0, common_1.assertParamExists)('checkInBooking', 'bookingId', bookingId);
10894
+ const localVarPath = `/bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId}/checkin`
10895
+ .replace(`{${"placeId"}}`, encodeURIComponent(String(placeId)))
10896
+ .replace(`{${"spaceId"}}`, encodeURIComponent(String(spaceId)))
10897
+ .replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
10898
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10899
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10900
+ let baseOptions;
10901
+ if (configuration) {
10902
+ baseOptions = configuration.baseOptions;
10903
+ }
10904
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
10905
+ const localVarHeaderParameter = {};
10906
+ const localVarQueryParameter = {};
10907
+ // authentication ApiKeyAuth required
10908
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
10909
+ // authentication OrganizationId required
10910
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
10911
+ localVarHeaderParameter['Accept'] = 'application/json';
10912
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10913
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10914
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10915
+ return {
10916
+ url: (0, common_1.toPathString)(localVarUrlObj),
10917
+ options: localVarRequestOptions,
10918
+ };
10919
+ }),
10878
10920
  /**
10879
10921
  * Create Booking endpoint
10880
10922
  * @summary Create Booking
@@ -11932,6 +11974,48 @@ const BookingsApiAxiosParamCreator = function (configuration) {
11932
11974
  options: localVarRequestOptions,
11933
11975
  };
11934
11976
  }),
11977
+ /**
11978
+ * Undo Check In Booking endpoint
11979
+ * @summary Undo Check In Booking
11980
+ * @param {string} placeId The place identifier
11981
+ * @param {string} spaceId The space identifier
11982
+ * @param {string} bookingId The booking identifier
11983
+ * @param {*} [options] Override http request option.
11984
+ * @throws {RequiredError}
11985
+ */
11986
+ undoCheckInBooking: (placeId_1, spaceId_1, bookingId_1, ...args_1) => __awaiter(this, [placeId_1, spaceId_1, bookingId_1, ...args_1], void 0, function* (placeId, spaceId, bookingId, options = {}) {
11987
+ // verify required parameter 'placeId' is not null or undefined
11988
+ (0, common_1.assertParamExists)('undoCheckInBooking', 'placeId', placeId);
11989
+ // verify required parameter 'spaceId' is not null or undefined
11990
+ (0, common_1.assertParamExists)('undoCheckInBooking', 'spaceId', spaceId);
11991
+ // verify required parameter 'bookingId' is not null or undefined
11992
+ (0, common_1.assertParamExists)('undoCheckInBooking', 'bookingId', bookingId);
11993
+ const localVarPath = `/bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId}/checkin/undo`
11994
+ .replace(`{${"placeId"}}`, encodeURIComponent(String(placeId)))
11995
+ .replace(`{${"spaceId"}}`, encodeURIComponent(String(spaceId)))
11996
+ .replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
11997
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11998
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11999
+ let baseOptions;
12000
+ if (configuration) {
12001
+ baseOptions = configuration.baseOptions;
12002
+ }
12003
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
12004
+ const localVarHeaderParameter = {};
12005
+ const localVarQueryParameter = {};
12006
+ // authentication ApiKeyAuth required
12007
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
12008
+ // authentication OrganizationId required
12009
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
12010
+ localVarHeaderParameter['Accept'] = 'application/json';
12011
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12012
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12013
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12014
+ return {
12015
+ url: (0, common_1.toPathString)(localVarUrlObj),
12016
+ options: localVarRequestOptions,
12017
+ };
12018
+ }),
11935
12019
  /**
11936
12020
  * Update Booking endpoint
11937
12021
  * @summary Update Booking
@@ -12024,6 +12108,24 @@ const BookingsApiFp = function (configuration) {
12024
12108
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12025
12109
  });
12026
12110
  },
12111
+ /**
12112
+ * Check In Booking endpoint
12113
+ * @summary Check In Booking
12114
+ * @param {string} placeId The place identifier
12115
+ * @param {string} spaceId The space identifier
12116
+ * @param {string} bookingId The booking identifier
12117
+ * @param {*} [options] Override http request option.
12118
+ * @throws {RequiredError}
12119
+ */
12120
+ checkInBooking(placeId, spaceId, bookingId, options) {
12121
+ return __awaiter(this, void 0, void 0, function* () {
12122
+ var _a, _b, _c;
12123
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.checkInBooking(placeId, spaceId, bookingId, options);
12124
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12125
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BookingsApi.checkInBooking']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12126
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12127
+ });
12128
+ },
12027
12129
  /**
12028
12130
  * Create Booking endpoint
12029
12131
  * @summary Create Booking
@@ -12460,6 +12562,24 @@ const BookingsApiFp = function (configuration) {
12460
12562
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12461
12563
  });
12462
12564
  },
12565
+ /**
12566
+ * Undo Check In Booking endpoint
12567
+ * @summary Undo Check In Booking
12568
+ * @param {string} placeId The place identifier
12569
+ * @param {string} spaceId The space identifier
12570
+ * @param {string} bookingId The booking identifier
12571
+ * @param {*} [options] Override http request option.
12572
+ * @throws {RequiredError}
12573
+ */
12574
+ undoCheckInBooking(placeId, spaceId, bookingId, options) {
12575
+ return __awaiter(this, void 0, void 0, function* () {
12576
+ var _a, _b, _c;
12577
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.undoCheckInBooking(placeId, spaceId, bookingId, options);
12578
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12579
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BookingsApi.undoCheckInBooking']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12580
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12581
+ });
12582
+ },
12463
12583
  /**
12464
12584
  * Update Booking endpoint
12465
12585
  * @summary Update Booking
@@ -12508,6 +12628,16 @@ const BookingsApiFactory = function (configuration, basePath, axios) {
12508
12628
  cancelBooking(requestParameters, options) {
12509
12629
  return localVarFp.cancelBooking(requestParameters.placeId, requestParameters.spaceId, requestParameters.bookingId, options).then((request) => request(axios, basePath));
12510
12630
  },
12631
+ /**
12632
+ * Check In Booking endpoint
12633
+ * @summary Check In Booking
12634
+ * @param {BookingsApiCheckInBookingRequest} requestParameters Request parameters.
12635
+ * @param {*} [options] Override http request option.
12636
+ * @throws {RequiredError}
12637
+ */
12638
+ checkInBooking(requestParameters, options) {
12639
+ return localVarFp.checkInBooking(requestParameters.placeId, requestParameters.spaceId, requestParameters.bookingId, options).then((request) => request(axios, basePath));
12640
+ },
12511
12641
  /**
12512
12642
  * Create Booking endpoint
12513
12643
  * @summary Create Booking
@@ -12738,6 +12868,16 @@ const BookingsApiFactory = function (configuration, basePath, axios) {
12738
12868
  removeBookingSpaceTier(requestParameters, options) {
12739
12869
  return localVarFp.removeBookingSpaceTier(requestParameters.placeId, requestParameters.spaceId, requestParameters.tierId, options).then((request) => request(axios, basePath));
12740
12870
  },
12871
+ /**
12872
+ * Undo Check In Booking endpoint
12873
+ * @summary Undo Check In Booking
12874
+ * @param {BookingsApiUndoCheckInBookingRequest} requestParameters Request parameters.
12875
+ * @param {*} [options] Override http request option.
12876
+ * @throws {RequiredError}
12877
+ */
12878
+ undoCheckInBooking(requestParameters, options) {
12879
+ return localVarFp.undoCheckInBooking(requestParameters.placeId, requestParameters.spaceId, requestParameters.bookingId, options).then((request) => request(axios, basePath));
12880
+ },
12741
12881
  /**
12742
12882
  * Update Booking endpoint
12743
12883
  * @summary Update Booking
@@ -12775,6 +12915,16 @@ class BookingsApi extends base_1.BaseAPI {
12775
12915
  cancelBooking(requestParameters, options) {
12776
12916
  return (0, exports.BookingsApiFp)(this.configuration).cancelBooking(requestParameters.placeId, requestParameters.spaceId, requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
12777
12917
  }
12918
+ /**
12919
+ * Check In Booking endpoint
12920
+ * @summary Check In Booking
12921
+ * @param {BookingsApiCheckInBookingRequest} requestParameters Request parameters.
12922
+ * @param {*} [options] Override http request option.
12923
+ * @throws {RequiredError}
12924
+ */
12925
+ checkInBooking(requestParameters, options) {
12926
+ return (0, exports.BookingsApiFp)(this.configuration).checkInBooking(requestParameters.placeId, requestParameters.spaceId, requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
12927
+ }
12778
12928
  /**
12779
12929
  * Create Booking endpoint
12780
12930
  * @summary Create Booking
@@ -13005,6 +13155,16 @@ class BookingsApi extends base_1.BaseAPI {
13005
13155
  removeBookingSpaceTier(requestParameters, options) {
13006
13156
  return (0, exports.BookingsApiFp)(this.configuration).removeBookingSpaceTier(requestParameters.placeId, requestParameters.spaceId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
13007
13157
  }
13158
+ /**
13159
+ * Undo Check In Booking endpoint
13160
+ * @summary Undo Check In Booking
13161
+ * @param {BookingsApiUndoCheckInBookingRequest} requestParameters Request parameters.
13162
+ * @param {*} [options] Override http request option.
13163
+ * @throws {RequiredError}
13164
+ */
13165
+ undoCheckInBooking(requestParameters, options) {
13166
+ return (0, exports.BookingsApiFp)(this.configuration).undoCheckInBooking(requestParameters.placeId, requestParameters.spaceId, requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
13167
+ }
13008
13168
  /**
13009
13169
  * Update Booking endpoint
13010
13170
  * @summary Update Booking
package/dist/esm/api.d.ts CHANGED
@@ -880,6 +880,7 @@ export interface BaseBooking {
880
880
  'day': string;
881
881
  'time': string;
882
882
  'duration': number;
883
+ 'checkedIn': string | null;
883
884
  'status': PurchaseStatus;
884
885
  'account': BaseAccount;
885
886
  'space': BaseBookingSpace;
@@ -2525,6 +2526,7 @@ export interface Booking {
2525
2526
  'day': string;
2526
2527
  'time': string;
2527
2528
  'duration': number;
2529
+ 'checkedIn': string | null;
2528
2530
  'status': PurchaseStatus;
2529
2531
  'account': BaseAccount;
2530
2532
  'space': BaseBookingSpace;
@@ -17880,6 +17882,16 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
17880
17882
  * @throws {RequiredError}
17881
17883
  */
17882
17884
  cancelBooking: (placeId: string, spaceId: string, bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17885
+ /**
17886
+ * Check In Booking endpoint
17887
+ * @summary Check In Booking
17888
+ * @param {string} placeId The place identifier
17889
+ * @param {string} spaceId The space identifier
17890
+ * @param {string} bookingId The booking identifier
17891
+ * @param {*} [options] Override http request option.
17892
+ * @throws {RequiredError}
17893
+ */
17894
+ checkInBooking: (placeId: string, spaceId: string, bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17883
17895
  /**
17884
17896
  * Create Booking endpoint
17885
17897
  * @summary Create Booking
@@ -18132,6 +18144,16 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
18132
18144
  * @throws {RequiredError}
18133
18145
  */
18134
18146
  removeBookingSpaceTier: (placeId: string, spaceId: string, tierId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18147
+ /**
18148
+ * Undo Check In Booking endpoint
18149
+ * @summary Undo Check In Booking
18150
+ * @param {string} placeId The place identifier
18151
+ * @param {string} spaceId The space identifier
18152
+ * @param {string} bookingId The booking identifier
18153
+ * @param {*} [options] Override http request option.
18154
+ * @throws {RequiredError}
18155
+ */
18156
+ undoCheckInBooking: (placeId: string, spaceId: string, bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18135
18157
  /**
18136
18158
  * Update Booking endpoint
18137
18159
  * @summary Update Booking
@@ -18168,6 +18190,16 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
18168
18190
  * @throws {RequiredError}
18169
18191
  */
18170
18192
  cancelBooking(placeId: string, spaceId: string, bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBooking200Response>>;
18193
+ /**
18194
+ * Check In Booking endpoint
18195
+ * @summary Check In Booking
18196
+ * @param {string} placeId The place identifier
18197
+ * @param {string} spaceId The space identifier
18198
+ * @param {string} bookingId The booking identifier
18199
+ * @param {*} [options] Override http request option.
18200
+ * @throws {RequiredError}
18201
+ */
18202
+ checkInBooking(placeId: string, spaceId: string, bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBooking200Response>>;
18171
18203
  /**
18172
18204
  * Create Booking endpoint
18173
18205
  * @summary Create Booking
@@ -18420,6 +18452,16 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
18420
18452
  * @throws {RequiredError}
18421
18453
  */
18422
18454
  removeBookingSpaceTier(placeId: string, spaceId: string, tierId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingSpace200Response>>;
18455
+ /**
18456
+ * Undo Check In Booking endpoint
18457
+ * @summary Undo Check In Booking
18458
+ * @param {string} placeId The place identifier
18459
+ * @param {string} spaceId The space identifier
18460
+ * @param {string} bookingId The booking identifier
18461
+ * @param {*} [options] Override http request option.
18462
+ * @throws {RequiredError}
18463
+ */
18464
+ undoCheckInBooking(placeId: string, spaceId: string, bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBooking200Response>>;
18423
18465
  /**
18424
18466
  * Update Booking endpoint
18425
18467
  * @summary Update Booking
@@ -18452,6 +18494,14 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
18452
18494
  * @throws {RequiredError}
18453
18495
  */
18454
18496
  cancelBooking(requestParameters: BookingsApiCancelBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBooking200Response>;
18497
+ /**
18498
+ * Check In Booking endpoint
18499
+ * @summary Check In Booking
18500
+ * @param {BookingsApiCheckInBookingRequest} requestParameters Request parameters.
18501
+ * @param {*} [options] Override http request option.
18502
+ * @throws {RequiredError}
18503
+ */
18504
+ checkInBooking(requestParameters: BookingsApiCheckInBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBooking200Response>;
18455
18505
  /**
18456
18506
  * Create Booking endpoint
18457
18507
  * @summary Create Booking
@@ -18636,6 +18686,14 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
18636
18686
  * @throws {RequiredError}
18637
18687
  */
18638
18688
  removeBookingSpaceTier(requestParameters: BookingsApiRemoveBookingSpaceTierRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBookingSpace200Response>;
18689
+ /**
18690
+ * Undo Check In Booking endpoint
18691
+ * @summary Undo Check In Booking
18692
+ * @param {BookingsApiUndoCheckInBookingRequest} requestParameters Request parameters.
18693
+ * @param {*} [options] Override http request option.
18694
+ * @throws {RequiredError}
18695
+ */
18696
+ undoCheckInBooking(requestParameters: BookingsApiUndoCheckInBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBooking200Response>;
18639
18697
  /**
18640
18698
  * Update Booking endpoint
18641
18699
  * @summary Update Booking
@@ -18679,6 +18737,23 @@ export interface BookingsApiCancelBookingRequest {
18679
18737
  */
18680
18738
  readonly bookingId: string;
18681
18739
  }
18740
+ /**
18741
+ * Request parameters for checkInBooking operation in BookingsApi.
18742
+ */
18743
+ export interface BookingsApiCheckInBookingRequest {
18744
+ /**
18745
+ * The place identifier
18746
+ */
18747
+ readonly placeId: string;
18748
+ /**
18749
+ * The space identifier
18750
+ */
18751
+ readonly spaceId: string;
18752
+ /**
18753
+ * The booking identifier
18754
+ */
18755
+ readonly bookingId: string;
18756
+ }
18682
18757
  /**
18683
18758
  * Request parameters for createBooking operation in BookingsApi.
18684
18759
  */
@@ -19155,6 +19230,23 @@ export interface BookingsApiRemoveBookingSpaceTierRequest {
19155
19230
  */
19156
19231
  readonly tierId: string;
19157
19232
  }
19233
+ /**
19234
+ * Request parameters for undoCheckInBooking operation in BookingsApi.
19235
+ */
19236
+ export interface BookingsApiUndoCheckInBookingRequest {
19237
+ /**
19238
+ * The place identifier
19239
+ */
19240
+ readonly placeId: string;
19241
+ /**
19242
+ * The space identifier
19243
+ */
19244
+ readonly spaceId: string;
19245
+ /**
19246
+ * The booking identifier
19247
+ */
19248
+ readonly bookingId: string;
19249
+ }
19158
19250
  /**
19159
19251
  * Request parameters for updateBooking operation in BookingsApi.
19160
19252
  */
@@ -19193,6 +19285,14 @@ export declare class BookingsApi extends BaseAPI {
19193
19285
  * @throws {RequiredError}
19194
19286
  */
19195
19287
  cancelBooking(requestParameters: BookingsApiCancelBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBooking200Response, any, {}>>;
19288
+ /**
19289
+ * Check In Booking endpoint
19290
+ * @summary Check In Booking
19291
+ * @param {BookingsApiCheckInBookingRequest} requestParameters Request parameters.
19292
+ * @param {*} [options] Override http request option.
19293
+ * @throws {RequiredError}
19294
+ */
19295
+ checkInBooking(requestParameters: BookingsApiCheckInBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBooking200Response, any, {}>>;
19196
19296
  /**
19197
19297
  * Create Booking endpoint
19198
19298
  * @summary Create Booking
@@ -19377,6 +19477,14 @@ export declare class BookingsApi extends BaseAPI {
19377
19477
  * @throws {RequiredError}
19378
19478
  */
19379
19479
  removeBookingSpaceTier(requestParameters: BookingsApiRemoveBookingSpaceTierRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBookingSpace200Response, any, {}>>;
19480
+ /**
19481
+ * Undo Check In Booking endpoint
19482
+ * @summary Undo Check In Booking
19483
+ * @param {BookingsApiUndoCheckInBookingRequest} requestParameters Request parameters.
19484
+ * @param {*} [options] Override http request option.
19485
+ * @throws {RequiredError}
19486
+ */
19487
+ undoCheckInBooking(requestParameters: BookingsApiUndoCheckInBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBooking200Response, any, {}>>;
19380
19488
  /**
19381
19489
  * Update Booking endpoint
19382
19490
  * @summary Update Booking
package/dist/esm/api.js CHANGED
@@ -10770,6 +10770,48 @@ export const BookingsApiAxiosParamCreator = function (configuration) {
10770
10770
  options: localVarRequestOptions,
10771
10771
  };
10772
10772
  }),
10773
+ /**
10774
+ * Check In Booking endpoint
10775
+ * @summary Check In Booking
10776
+ * @param {string} placeId The place identifier
10777
+ * @param {string} spaceId The space identifier
10778
+ * @param {string} bookingId The booking identifier
10779
+ * @param {*} [options] Override http request option.
10780
+ * @throws {RequiredError}
10781
+ */
10782
+ checkInBooking: (placeId_1, spaceId_1, bookingId_1, ...args_1) => __awaiter(this, [placeId_1, spaceId_1, bookingId_1, ...args_1], void 0, function* (placeId, spaceId, bookingId, options = {}) {
10783
+ // verify required parameter 'placeId' is not null or undefined
10784
+ assertParamExists('checkInBooking', 'placeId', placeId);
10785
+ // verify required parameter 'spaceId' is not null or undefined
10786
+ assertParamExists('checkInBooking', 'spaceId', spaceId);
10787
+ // verify required parameter 'bookingId' is not null or undefined
10788
+ assertParamExists('checkInBooking', 'bookingId', bookingId);
10789
+ const localVarPath = `/bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId}/checkin`
10790
+ .replace(`{${"placeId"}}`, encodeURIComponent(String(placeId)))
10791
+ .replace(`{${"spaceId"}}`, encodeURIComponent(String(spaceId)))
10792
+ .replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
10793
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10794
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10795
+ let baseOptions;
10796
+ if (configuration) {
10797
+ baseOptions = configuration.baseOptions;
10798
+ }
10799
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
10800
+ const localVarHeaderParameter = {};
10801
+ const localVarQueryParameter = {};
10802
+ // authentication ApiKeyAuth required
10803
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
10804
+ // authentication OrganizationId required
10805
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
10806
+ localVarHeaderParameter['Accept'] = 'application/json';
10807
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10808
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10809
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10810
+ return {
10811
+ url: toPathString(localVarUrlObj),
10812
+ options: localVarRequestOptions,
10813
+ };
10814
+ }),
10773
10815
  /**
10774
10816
  * Create Booking endpoint
10775
10817
  * @summary Create Booking
@@ -11827,6 +11869,48 @@ export const BookingsApiAxiosParamCreator = function (configuration) {
11827
11869
  options: localVarRequestOptions,
11828
11870
  };
11829
11871
  }),
11872
+ /**
11873
+ * Undo Check In Booking endpoint
11874
+ * @summary Undo Check In Booking
11875
+ * @param {string} placeId The place identifier
11876
+ * @param {string} spaceId The space identifier
11877
+ * @param {string} bookingId The booking identifier
11878
+ * @param {*} [options] Override http request option.
11879
+ * @throws {RequiredError}
11880
+ */
11881
+ undoCheckInBooking: (placeId_1, spaceId_1, bookingId_1, ...args_1) => __awaiter(this, [placeId_1, spaceId_1, bookingId_1, ...args_1], void 0, function* (placeId, spaceId, bookingId, options = {}) {
11882
+ // verify required parameter 'placeId' is not null or undefined
11883
+ assertParamExists('undoCheckInBooking', 'placeId', placeId);
11884
+ // verify required parameter 'spaceId' is not null or undefined
11885
+ assertParamExists('undoCheckInBooking', 'spaceId', spaceId);
11886
+ // verify required parameter 'bookingId' is not null or undefined
11887
+ assertParamExists('undoCheckInBooking', 'bookingId', bookingId);
11888
+ const localVarPath = `/bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId}/checkin/undo`
11889
+ .replace(`{${"placeId"}}`, encodeURIComponent(String(placeId)))
11890
+ .replace(`{${"spaceId"}}`, encodeURIComponent(String(spaceId)))
11891
+ .replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
11892
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11893
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11894
+ let baseOptions;
11895
+ if (configuration) {
11896
+ baseOptions = configuration.baseOptions;
11897
+ }
11898
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
11899
+ const localVarHeaderParameter = {};
11900
+ const localVarQueryParameter = {};
11901
+ // authentication ApiKeyAuth required
11902
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
11903
+ // authentication OrganizationId required
11904
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
11905
+ localVarHeaderParameter['Accept'] = 'application/json';
11906
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11907
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11908
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11909
+ return {
11910
+ url: toPathString(localVarUrlObj),
11911
+ options: localVarRequestOptions,
11912
+ };
11913
+ }),
11830
11914
  /**
11831
11915
  * Update Booking endpoint
11832
11916
  * @summary Update Booking
@@ -11918,6 +12002,24 @@ export const BookingsApiFp = function (configuration) {
11918
12002
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11919
12003
  });
11920
12004
  },
12005
+ /**
12006
+ * Check In Booking endpoint
12007
+ * @summary Check In Booking
12008
+ * @param {string} placeId The place identifier
12009
+ * @param {string} spaceId The space identifier
12010
+ * @param {string} bookingId The booking identifier
12011
+ * @param {*} [options] Override http request option.
12012
+ * @throws {RequiredError}
12013
+ */
12014
+ checkInBooking(placeId, spaceId, bookingId, options) {
12015
+ return __awaiter(this, void 0, void 0, function* () {
12016
+ var _a, _b, _c;
12017
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.checkInBooking(placeId, spaceId, bookingId, options);
12018
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12019
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BookingsApi.checkInBooking']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12020
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12021
+ });
12022
+ },
11921
12023
  /**
11922
12024
  * Create Booking endpoint
11923
12025
  * @summary Create Booking
@@ -12354,6 +12456,24 @@ export const BookingsApiFp = function (configuration) {
12354
12456
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12355
12457
  });
12356
12458
  },
12459
+ /**
12460
+ * Undo Check In Booking endpoint
12461
+ * @summary Undo Check In Booking
12462
+ * @param {string} placeId The place identifier
12463
+ * @param {string} spaceId The space identifier
12464
+ * @param {string} bookingId The booking identifier
12465
+ * @param {*} [options] Override http request option.
12466
+ * @throws {RequiredError}
12467
+ */
12468
+ undoCheckInBooking(placeId, spaceId, bookingId, options) {
12469
+ return __awaiter(this, void 0, void 0, function* () {
12470
+ var _a, _b, _c;
12471
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.undoCheckInBooking(placeId, spaceId, bookingId, options);
12472
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12473
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BookingsApi.undoCheckInBooking']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12474
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12475
+ });
12476
+ },
12357
12477
  /**
12358
12478
  * Update Booking endpoint
12359
12479
  * @summary Update Booking
@@ -12401,6 +12521,16 @@ export const BookingsApiFactory = function (configuration, basePath, axios) {
12401
12521
  cancelBooking(requestParameters, options) {
12402
12522
  return localVarFp.cancelBooking(requestParameters.placeId, requestParameters.spaceId, requestParameters.bookingId, options).then((request) => request(axios, basePath));
12403
12523
  },
12524
+ /**
12525
+ * Check In Booking endpoint
12526
+ * @summary Check In Booking
12527
+ * @param {BookingsApiCheckInBookingRequest} requestParameters Request parameters.
12528
+ * @param {*} [options] Override http request option.
12529
+ * @throws {RequiredError}
12530
+ */
12531
+ checkInBooking(requestParameters, options) {
12532
+ return localVarFp.checkInBooking(requestParameters.placeId, requestParameters.spaceId, requestParameters.bookingId, options).then((request) => request(axios, basePath));
12533
+ },
12404
12534
  /**
12405
12535
  * Create Booking endpoint
12406
12536
  * @summary Create Booking
@@ -12631,6 +12761,16 @@ export const BookingsApiFactory = function (configuration, basePath, axios) {
12631
12761
  removeBookingSpaceTier(requestParameters, options) {
12632
12762
  return localVarFp.removeBookingSpaceTier(requestParameters.placeId, requestParameters.spaceId, requestParameters.tierId, options).then((request) => request(axios, basePath));
12633
12763
  },
12764
+ /**
12765
+ * Undo Check In Booking endpoint
12766
+ * @summary Undo Check In Booking
12767
+ * @param {BookingsApiUndoCheckInBookingRequest} requestParameters Request parameters.
12768
+ * @param {*} [options] Override http request option.
12769
+ * @throws {RequiredError}
12770
+ */
12771
+ undoCheckInBooking(requestParameters, options) {
12772
+ return localVarFp.undoCheckInBooking(requestParameters.placeId, requestParameters.spaceId, requestParameters.bookingId, options).then((request) => request(axios, basePath));
12773
+ },
12634
12774
  /**
12635
12775
  * Update Booking endpoint
12636
12776
  * @summary Update Booking
@@ -12667,6 +12807,16 @@ export class BookingsApi extends BaseAPI {
12667
12807
  cancelBooking(requestParameters, options) {
12668
12808
  return BookingsApiFp(this.configuration).cancelBooking(requestParameters.placeId, requestParameters.spaceId, requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
12669
12809
  }
12810
+ /**
12811
+ * Check In Booking endpoint
12812
+ * @summary Check In Booking
12813
+ * @param {BookingsApiCheckInBookingRequest} requestParameters Request parameters.
12814
+ * @param {*} [options] Override http request option.
12815
+ * @throws {RequiredError}
12816
+ */
12817
+ checkInBooking(requestParameters, options) {
12818
+ return BookingsApiFp(this.configuration).checkInBooking(requestParameters.placeId, requestParameters.spaceId, requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
12819
+ }
12670
12820
  /**
12671
12821
  * Create Booking endpoint
12672
12822
  * @summary Create Booking
@@ -12897,6 +13047,16 @@ export class BookingsApi extends BaseAPI {
12897
13047
  removeBookingSpaceTier(requestParameters, options) {
12898
13048
  return BookingsApiFp(this.configuration).removeBookingSpaceTier(requestParameters.placeId, requestParameters.spaceId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
12899
13049
  }
13050
+ /**
13051
+ * Undo Check In Booking endpoint
13052
+ * @summary Undo Check In Booking
13053
+ * @param {BookingsApiUndoCheckInBookingRequest} requestParameters Request parameters.
13054
+ * @param {*} [options] Override http request option.
13055
+ * @throws {RequiredError}
13056
+ */
13057
+ undoCheckInBooking(requestParameters, options) {
13058
+ return BookingsApiFp(this.configuration).undoCheckInBooking(requestParameters.placeId, requestParameters.spaceId, requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
13059
+ }
12900
13060
  /**
12901
13061
  * Update Booking endpoint
12902
13062
  * @summary Update Booking
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **day** | **string** | | [default to undefined]
12
12
  **time** | **string** | | [default to undefined]
13
13
  **duration** | **number** | | [default to undefined]
14
+ **checkedIn** | **string** | | [default to undefined]
14
15
  **status** | [**PurchaseStatus**](PurchaseStatus.md) | | [default to undefined]
15
16
  **account** | [**BaseAccount**](BaseAccount.md) | | [default to undefined]
16
17
  **space** | [**BaseBookingSpace**](BaseBookingSpace.md) | | [default to undefined]
@@ -27,6 +28,7 @@ const instance: BaseBooking = {
27
28
  day,
28
29
  time,
29
30
  duration,
31
+ checkedIn,
30
32
  status,
31
33
  account,
32
34
  space,
package/docs/Booking.md CHANGED
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **day** | **string** | | [default to undefined]
12
12
  **time** | **string** | | [default to undefined]
13
13
  **duration** | **number** | | [default to undefined]
14
+ **checkedIn** | **string** | | [default to undefined]
14
15
  **status** | [**PurchaseStatus**](PurchaseStatus.md) | | [default to undefined]
15
16
  **account** | [**BaseAccount**](BaseAccount.md) | | [default to undefined]
16
17
  **space** | [**BaseBookingSpace**](BaseBookingSpace.md) | | [default to undefined]
@@ -31,6 +32,7 @@ const instance: Booking = {
31
32
  day,
32
33
  time,
33
34
  duration,
35
+ checkedIn,
34
36
  status,
35
37
  account,
36
38
  space,
@@ -6,6 +6,7 @@ All URIs are relative to *https://admin-api.connected.dev*
6
6
  |------------- | ------------- | -------------|
7
7
  |[**addBookingSpaceTier**](#addbookingspacetier) | **POST** /bookings/places/{placeId}/spaces/{spaceId}/tiers/{tierId} | Add Booking Space Tier|
8
8
  |[**cancelBooking**](#cancelbooking) | **PUT** /bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId}/cancel | Cancel Booking|
9
+ |[**checkInBooking**](#checkinbooking) | **POST** /bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId}/checkin | Check In Booking|
9
10
  |[**createBooking**](#createbooking) | **POST** /bookings/places/{placeId}/spaces/{spaceId}/bookings | Create Booking|
10
11
  |[**deleteBooking**](#deletebooking) | **DELETE** /bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId} | Delete Booking|
11
12
  |[**getBooking**](#getbooking) | **GET** /bookings/{bookingId} | Get Booking|
@@ -29,6 +30,7 @@ All URIs are relative to *https://admin-api.connected.dev*
29
30
  |[**getBookingSpaceTranslations**](#getbookingspacetranslations) | **GET** /bookings/places/{placeId}/spaces/{spaceId}/translations | Get Booking Space Translations|
30
31
  |[**getBookingSpaces**](#getbookingspaces) | **GET** /bookings/places/{placeId}/spaces | Get Booking Spaces|
31
32
  |[**removeBookingSpaceTier**](#removebookingspacetier) | **DELETE** /bookings/places/{placeId}/spaces/{spaceId}/tiers/{tierId} | Remove Booking Space Tier|
33
+ |[**undoCheckInBooking**](#undocheckinbooking) | **POST** /bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId}/checkin/undo | Undo Check In Booking|
32
34
  |[**updateBooking**](#updatebooking) | **PUT** /bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId} | Update Booking|
33
35
 
34
36
  # **addBookingSpaceTier**
@@ -124,6 +126,63 @@ const { status, data } = await apiInstance.cancelBooking(
124
126
  | **bookingId** | [**string**] | The booking identifier | defaults to undefined|
125
127
 
126
128
 
129
+ ### Return type
130
+
131
+ **CreateBooking200Response**
132
+
133
+ ### Authorization
134
+
135
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
136
+
137
+ ### HTTP request headers
138
+
139
+ - **Content-Type**: Not defined
140
+ - **Accept**: application/json
141
+
142
+
143
+ ### HTTP response details
144
+ | Status code | Description | Response headers |
145
+ |-------------|-------------|------------------|
146
+ |**200** | Successful response | - |
147
+
148
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
149
+
150
+ # **checkInBooking**
151
+ > CreateBooking200Response checkInBooking()
152
+
153
+ Check In Booking endpoint
154
+
155
+ ### Example
156
+
157
+ ```typescript
158
+ import {
159
+ BookingsApi,
160
+ Configuration
161
+ } from '@connectedxm/admin-sdk';
162
+
163
+ const configuration = new Configuration();
164
+ const apiInstance = new BookingsApi(configuration);
165
+
166
+ let placeId: string; //The place identifier (default to undefined)
167
+ let spaceId: string; //The space identifier (default to undefined)
168
+ let bookingId: string; //The booking identifier (default to undefined)
169
+
170
+ const { status, data } = await apiInstance.checkInBooking(
171
+ placeId,
172
+ spaceId,
173
+ bookingId
174
+ );
175
+ ```
176
+
177
+ ### Parameters
178
+
179
+ |Name | Type | Description | Notes|
180
+ |------------- | ------------- | ------------- | -------------|
181
+ | **placeId** | [**string**] | The place identifier | defaults to undefined|
182
+ | **spaceId** | [**string**] | The space identifier | defaults to undefined|
183
+ | **bookingId** | [**string**] | The booking identifier | defaults to undefined|
184
+
185
+
127
186
  ### Return type
128
187
 
129
188
  **CreateBooking200Response**
@@ -1516,6 +1575,63 @@ const { status, data } = await apiInstance.removeBookingSpaceTier(
1516
1575
  - **Accept**: application/json
1517
1576
 
1518
1577
 
1578
+ ### HTTP response details
1579
+ | Status code | Description | Response headers |
1580
+ |-------------|-------------|------------------|
1581
+ |**200** | Successful response | - |
1582
+
1583
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
1584
+
1585
+ # **undoCheckInBooking**
1586
+ > CreateBooking200Response undoCheckInBooking()
1587
+
1588
+ Undo Check In Booking endpoint
1589
+
1590
+ ### Example
1591
+
1592
+ ```typescript
1593
+ import {
1594
+ BookingsApi,
1595
+ Configuration
1596
+ } from '@connectedxm/admin-sdk';
1597
+
1598
+ const configuration = new Configuration();
1599
+ const apiInstance = new BookingsApi(configuration);
1600
+
1601
+ let placeId: string; //The place identifier (default to undefined)
1602
+ let spaceId: string; //The space identifier (default to undefined)
1603
+ let bookingId: string; //The booking identifier (default to undefined)
1604
+
1605
+ const { status, data } = await apiInstance.undoCheckInBooking(
1606
+ placeId,
1607
+ spaceId,
1608
+ bookingId
1609
+ );
1610
+ ```
1611
+
1612
+ ### Parameters
1613
+
1614
+ |Name | Type | Description | Notes|
1615
+ |------------- | ------------- | ------------- | -------------|
1616
+ | **placeId** | [**string**] | The place identifier | defaults to undefined|
1617
+ | **spaceId** | [**string**] | The space identifier | defaults to undefined|
1618
+ | **bookingId** | [**string**] | The booking identifier | defaults to undefined|
1619
+
1620
+
1621
+ ### Return type
1622
+
1623
+ **CreateBooking200Response**
1624
+
1625
+ ### Authorization
1626
+
1627
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
1628
+
1629
+ ### HTTP request headers
1630
+
1631
+ - **Content-Type**: Not defined
1632
+ - **Accept**: application/json
1633
+
1634
+
1519
1635
  ### HTTP response details
1520
1636
  | Status code | Description | Response headers |
1521
1637
  |-------------|-------------|------------------|
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin-sdk",
3
- "version": "7.2.1",
3
+ "version": "7.2.2",
4
4
  "description": "OpenAPI client for @connectedxm/admin-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {