@connectedxm/admin-sdk 7.2.0 → 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 +2 -0
- package/api.ts +222 -0
- package/dist/api.d.ts +120 -0
- package/dist/api.js +160 -0
- package/dist/esm/api.d.ts +120 -0
- package/dist/esm/api.js +160 -0
- package/docs/BaseBooking.md +2 -0
- package/docs/Booking.md +2 -0
- package/docs/BookingSpace.md +6 -0
- package/docs/BookingSpaceCreateInputs.md +6 -0
- package/docs/BookingSpaceTranslation.md +2 -0
- package/docs/BookingSpaceTranslationUpdateInputs.md +2 -0
- package/docs/BookingSpaceUpdateInputs.md +6 -0
- package/docs/BookingsApi.md +116 -0
- package/docs/NotificationPreferences.md +2 -0
- package/package.json +1 -1
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;
|
|
@@ -2824,6 +2826,9 @@ export interface BookingSpace {
|
|
|
2824
2826
|
'confirmationReplyTo': string | null;
|
|
2825
2827
|
'cancellationBody': string | null;
|
|
2826
2828
|
'cancellationReplyTo': string | null;
|
|
2829
|
+
'reminderBody': string | null;
|
|
2830
|
+
'reminderReplyTo': string | null;
|
|
2831
|
+
'reminderEnabled': boolean;
|
|
2827
2832
|
'meetingId': string | null;
|
|
2828
2833
|
'meeting': BaseMeeting | null;
|
|
2829
2834
|
'joinBeforeTime': number | null;
|
|
@@ -2883,6 +2888,9 @@ export interface BookingSpaceCreateInputs {
|
|
|
2883
2888
|
'confirmationReplyTo'?: string | null;
|
|
2884
2889
|
'cancellationBody'?: string | null;
|
|
2885
2890
|
'cancellationReplyTo'?: string | null;
|
|
2891
|
+
'reminderBody'?: string | null;
|
|
2892
|
+
'reminderReplyTo'?: string | null;
|
|
2893
|
+
'reminderEnabled'?: boolean;
|
|
2886
2894
|
'taxCode'?: string | null;
|
|
2887
2895
|
'taxIncluded'?: boolean;
|
|
2888
2896
|
'taxLocation'?: TaxLocationType;
|
|
@@ -3048,6 +3056,7 @@ export interface BookingSpaceTranslation {
|
|
|
3048
3056
|
'description': string | null;
|
|
3049
3057
|
'confirmationBody': string | null;
|
|
3050
3058
|
'cancellationBody': string | null;
|
|
3059
|
+
'reminderBody': string | null;
|
|
3051
3060
|
'createdAt': string;
|
|
3052
3061
|
'updatedAt': string;
|
|
3053
3062
|
}
|
|
@@ -3056,6 +3065,7 @@ export interface BookingSpaceTranslationUpdateInputs {
|
|
|
3056
3065
|
'description'?: string | null;
|
|
3057
3066
|
'confirmationBody'?: string | null;
|
|
3058
3067
|
'cancellationBody'?: string | null;
|
|
3068
|
+
'reminderBody'?: string | null;
|
|
3059
3069
|
}
|
|
3060
3070
|
export interface BookingSpaceUpdateInputs {
|
|
3061
3071
|
'name'?: string;
|
|
@@ -3071,6 +3081,9 @@ export interface BookingSpaceUpdateInputs {
|
|
|
3071
3081
|
'confirmationReplyTo'?: string | null;
|
|
3072
3082
|
'cancellationBody'?: string | null;
|
|
3073
3083
|
'cancellationReplyTo'?: string | null;
|
|
3084
|
+
'reminderBody'?: string | null;
|
|
3085
|
+
'reminderReplyTo'?: string | null;
|
|
3086
|
+
'reminderEnabled'?: boolean;
|
|
3074
3087
|
'taxCode'?: string | null;
|
|
3075
3088
|
'taxIncluded'?: boolean;
|
|
3076
3089
|
'taxLocation'?: TaxLocationType;
|
|
@@ -11014,6 +11027,7 @@ export interface NotificationPreferences {
|
|
|
11014
11027
|
'transferPush': boolean;
|
|
11015
11028
|
'transferEmail': boolean;
|
|
11016
11029
|
'eventReminderEmail': boolean;
|
|
11030
|
+
'bookingReminderEmail': boolean;
|
|
11017
11031
|
'chatPush': boolean;
|
|
11018
11032
|
'chatUnreadEmail': boolean;
|
|
11019
11033
|
'chatUnreadPush': boolean;
|
|
@@ -24680,6 +24694,54 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
24680
24694
|
options: localVarRequestOptions,
|
|
24681
24695
|
};
|
|
24682
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
|
+
},
|
|
24683
24745
|
/**
|
|
24684
24746
|
* Create Booking endpoint
|
|
24685
24747
|
* @summary Create Booking
|
|
@@ -25923,6 +25985,54 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
25923
25985
|
options: localVarRequestOptions,
|
|
25924
25986
|
};
|
|
25925
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
|
+
},
|
|
25926
26036
|
/**
|
|
25927
26037
|
* Update Booking endpoint
|
|
25928
26038
|
* @summary Update Booking
|
|
@@ -26015,6 +26125,21 @@ export const BookingsApiFp = function(configuration?: Configuration) {
|
|
|
26015
26125
|
const localVarOperationServerBasePath = operationServerMap['BookingsApi.cancelBooking']?.[localVarOperationServerIndex]?.url;
|
|
26016
26126
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26017
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
|
+
},
|
|
26018
26143
|
/**
|
|
26019
26144
|
* Create Booking endpoint
|
|
26020
26145
|
* @summary Create Booking
|
|
@@ -26382,6 +26507,21 @@ export const BookingsApiFp = function(configuration?: Configuration) {
|
|
|
26382
26507
|
const localVarOperationServerBasePath = operationServerMap['BookingsApi.removeBookingSpaceTier']?.[localVarOperationServerIndex]?.url;
|
|
26383
26508
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26384
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
|
+
},
|
|
26385
26525
|
/**
|
|
26386
26526
|
* Update Booking endpoint
|
|
26387
26527
|
* @summary Update Booking
|
|
@@ -26427,6 +26567,16 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
26427
26567
|
cancelBooking(requestParameters: BookingsApiCancelBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBooking200Response> {
|
|
26428
26568
|
return localVarFp.cancelBooking(requestParameters.placeId, requestParameters.spaceId, requestParameters.bookingId, options).then((request) => request(axios, basePath));
|
|
26429
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
|
+
},
|
|
26430
26580
|
/**
|
|
26431
26581
|
* Create Booking endpoint
|
|
26432
26582
|
* @summary Create Booking
|
|
@@ -26657,6 +26807,16 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
26657
26807
|
removeBookingSpaceTier(requestParameters: BookingsApiRemoveBookingSpaceTierRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBookingSpace200Response> {
|
|
26658
26808
|
return localVarFp.removeBookingSpaceTier(requestParameters.placeId, requestParameters.spaceId, requestParameters.tierId, options).then((request) => request(axios, basePath));
|
|
26659
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
|
+
},
|
|
26660
26820
|
/**
|
|
26661
26821
|
* Update Booking endpoint
|
|
26662
26822
|
* @summary Update Booking
|
|
@@ -26710,6 +26870,26 @@ export interface BookingsApiCancelBookingRequest {
|
|
|
26710
26870
|
readonly bookingId: string
|
|
26711
26871
|
}
|
|
26712
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
|
+
|
|
26713
26893
|
/**
|
|
26714
26894
|
* Request parameters for createBooking operation in BookingsApi.
|
|
26715
26895
|
*/
|
|
@@ -27277,6 +27457,26 @@ export interface BookingsApiRemoveBookingSpaceTierRequest {
|
|
|
27277
27457
|
readonly tierId: string
|
|
27278
27458
|
}
|
|
27279
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
|
+
|
|
27280
27480
|
/**
|
|
27281
27481
|
* Request parameters for updateBooking operation in BookingsApi.
|
|
27282
27482
|
*/
|
|
@@ -27325,6 +27525,17 @@ export class BookingsApi extends BaseAPI {
|
|
|
27325
27525
|
return BookingsApiFp(this.configuration).cancelBooking(requestParameters.placeId, requestParameters.spaceId, requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
|
|
27326
27526
|
}
|
|
27327
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
|
+
|
|
27328
27539
|
/**
|
|
27329
27540
|
* Create Booking endpoint
|
|
27330
27541
|
* @summary Create Booking
|
|
@@ -27578,6 +27789,17 @@ export class BookingsApi extends BaseAPI {
|
|
|
27578
27789
|
return BookingsApiFp(this.configuration).removeBookingSpaceTier(requestParameters.placeId, requestParameters.spaceId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
|
|
27579
27790
|
}
|
|
27580
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
|
+
|
|
27581
27803
|
/**
|
|
27582
27804
|
* Update Booking endpoint
|
|
27583
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;
|
|
@@ -2634,6 +2636,9 @@ export interface BookingSpace {
|
|
|
2634
2636
|
'confirmationReplyTo': string | null;
|
|
2635
2637
|
'cancellationBody': string | null;
|
|
2636
2638
|
'cancellationReplyTo': string | null;
|
|
2639
|
+
'reminderBody': string | null;
|
|
2640
|
+
'reminderReplyTo': string | null;
|
|
2641
|
+
'reminderEnabled': boolean;
|
|
2637
2642
|
'meetingId': string | null;
|
|
2638
2643
|
'meeting': BaseMeeting | null;
|
|
2639
2644
|
'joinBeforeTime': number | null;
|
|
@@ -2689,6 +2694,9 @@ export interface BookingSpaceCreateInputs {
|
|
|
2689
2694
|
'confirmationReplyTo'?: string | null;
|
|
2690
2695
|
'cancellationBody'?: string | null;
|
|
2691
2696
|
'cancellationReplyTo'?: string | null;
|
|
2697
|
+
'reminderBody'?: string | null;
|
|
2698
|
+
'reminderReplyTo'?: string | null;
|
|
2699
|
+
'reminderEnabled'?: boolean;
|
|
2692
2700
|
'taxCode'?: string | null;
|
|
2693
2701
|
'taxIncluded'?: boolean;
|
|
2694
2702
|
'taxLocation'?: TaxLocationType;
|
|
@@ -2842,6 +2850,7 @@ export interface BookingSpaceTranslation {
|
|
|
2842
2850
|
'description': string | null;
|
|
2843
2851
|
'confirmationBody': string | null;
|
|
2844
2852
|
'cancellationBody': string | null;
|
|
2853
|
+
'reminderBody': string | null;
|
|
2845
2854
|
'createdAt': string;
|
|
2846
2855
|
'updatedAt': string;
|
|
2847
2856
|
}
|
|
@@ -2850,6 +2859,7 @@ export interface BookingSpaceTranslationUpdateInputs {
|
|
|
2850
2859
|
'description'?: string | null;
|
|
2851
2860
|
'confirmationBody'?: string | null;
|
|
2852
2861
|
'cancellationBody'?: string | null;
|
|
2862
|
+
'reminderBody'?: string | null;
|
|
2853
2863
|
}
|
|
2854
2864
|
export interface BookingSpaceUpdateInputs {
|
|
2855
2865
|
'name'?: string;
|
|
@@ -2865,6 +2875,9 @@ export interface BookingSpaceUpdateInputs {
|
|
|
2865
2875
|
'confirmationReplyTo'?: string | null;
|
|
2866
2876
|
'cancellationBody'?: string | null;
|
|
2867
2877
|
'cancellationReplyTo'?: string | null;
|
|
2878
|
+
'reminderBody'?: string | null;
|
|
2879
|
+
'reminderReplyTo'?: string | null;
|
|
2880
|
+
'reminderEnabled'?: boolean;
|
|
2868
2881
|
'taxCode'?: string | null;
|
|
2869
2882
|
'taxIncluded'?: boolean;
|
|
2870
2883
|
'taxLocation'?: TaxLocationType;
|
|
@@ -9731,6 +9744,7 @@ export interface NotificationPreferences {
|
|
|
9731
9744
|
'transferPush': boolean;
|
|
9732
9745
|
'transferEmail': boolean;
|
|
9733
9746
|
'eventReminderEmail': boolean;
|
|
9747
|
+
'bookingReminderEmail': boolean;
|
|
9734
9748
|
'chatPush': boolean;
|
|
9735
9749
|
'chatUnreadEmail': boolean;
|
|
9736
9750
|
'chatUnreadPush': boolean;
|
|
@@ -17868,6 +17882,16 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
17868
17882
|
* @throws {RequiredError}
|
|
17869
17883
|
*/
|
|
17870
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>;
|
|
17871
17895
|
/**
|
|
17872
17896
|
* Create Booking endpoint
|
|
17873
17897
|
* @summary Create Booking
|
|
@@ -18120,6 +18144,16 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
18120
18144
|
* @throws {RequiredError}
|
|
18121
18145
|
*/
|
|
18122
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>;
|
|
18123
18157
|
/**
|
|
18124
18158
|
* Update Booking endpoint
|
|
18125
18159
|
* @summary Update Booking
|
|
@@ -18156,6 +18190,16 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
18156
18190
|
* @throws {RequiredError}
|
|
18157
18191
|
*/
|
|
18158
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>>;
|
|
18159
18203
|
/**
|
|
18160
18204
|
* Create Booking endpoint
|
|
18161
18205
|
* @summary Create Booking
|
|
@@ -18408,6 +18452,16 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
18408
18452
|
* @throws {RequiredError}
|
|
18409
18453
|
*/
|
|
18410
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>>;
|
|
18411
18465
|
/**
|
|
18412
18466
|
* Update Booking endpoint
|
|
18413
18467
|
* @summary Update Booking
|
|
@@ -18440,6 +18494,14 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
18440
18494
|
* @throws {RequiredError}
|
|
18441
18495
|
*/
|
|
18442
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>;
|
|
18443
18505
|
/**
|
|
18444
18506
|
* Create Booking endpoint
|
|
18445
18507
|
* @summary Create Booking
|
|
@@ -18624,6 +18686,14 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
18624
18686
|
* @throws {RequiredError}
|
|
18625
18687
|
*/
|
|
18626
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>;
|
|
18627
18697
|
/**
|
|
18628
18698
|
* Update Booking endpoint
|
|
18629
18699
|
* @summary Update Booking
|
|
@@ -18667,6 +18737,23 @@ export interface BookingsApiCancelBookingRequest {
|
|
|
18667
18737
|
*/
|
|
18668
18738
|
readonly bookingId: string;
|
|
18669
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
|
+
}
|
|
18670
18757
|
/**
|
|
18671
18758
|
* Request parameters for createBooking operation in BookingsApi.
|
|
18672
18759
|
*/
|
|
@@ -19143,6 +19230,23 @@ export interface BookingsApiRemoveBookingSpaceTierRequest {
|
|
|
19143
19230
|
*/
|
|
19144
19231
|
readonly tierId: string;
|
|
19145
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
|
+
}
|
|
19146
19250
|
/**
|
|
19147
19251
|
* Request parameters for updateBooking operation in BookingsApi.
|
|
19148
19252
|
*/
|
|
@@ -19181,6 +19285,14 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
19181
19285
|
* @throws {RequiredError}
|
|
19182
19286
|
*/
|
|
19183
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, {}>>;
|
|
19184
19296
|
/**
|
|
19185
19297
|
* Create Booking endpoint
|
|
19186
19298
|
* @summary Create Booking
|
|
@@ -19365,6 +19477,14 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
19365
19477
|
* @throws {RequiredError}
|
|
19366
19478
|
*/
|
|
19367
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, {}>>;
|
|
19368
19488
|
/**
|
|
19369
19489
|
* Update Booking endpoint
|
|
19370
19490
|
* @summary Update Booking
|