@connectedxm/admin-sdk 7.9.2 → 7.9.4
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/.openapi-generator/FILES +5 -0
- package/AdminApi.ts +3 -0
- package/README.md +6 -0
- package/api.ts +320 -0
- package/dist/AdminApi.d.ts +2 -1
- package/dist/AdminApi.js +1 -0
- package/dist/api.d.ts +182 -0
- package/dist/api.js +242 -25
- package/dist/esm/AdminApi.d.ts +2 -1
- package/dist/esm/AdminApi.js +2 -1
- package/dist/esm/api.d.ts +182 -0
- package/dist/esm/api.js +213 -0
- package/docs/BaseBookingQuestionResponseChange.md +32 -0
- package/docs/BookingQuestionResponse.md +2 -0
- package/docs/BookingQuestionResponseChange.md +36 -0
- package/docs/BookingsResponsesApi.md +136 -0
- package/docs/GetBookingResponseChanges200Response.md +26 -0
- package/docs/Organization.md +2 -0
- package/docs/OrganizationUpdateInputs.md +2 -0
- package/docs/UpdateBookingResponsesInputs.md +20 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -101,6 +101,7 @@ docs/BaseBenefit.md
|
|
|
101
101
|
docs/BaseBooking.md
|
|
102
102
|
docs/BaseBookingPlace.md
|
|
103
103
|
docs/BaseBookingQuestionResponse.md
|
|
104
|
+
docs/BaseBookingQuestionResponseChange.md
|
|
104
105
|
docs/BaseBookingSpace.md
|
|
105
106
|
docs/BaseBookingSpaceAvailability.md
|
|
106
107
|
docs/BaseBookingSpaceBlackout.md
|
|
@@ -274,6 +275,7 @@ docs/BookingPlaceTranslation.md
|
|
|
274
275
|
docs/BookingPlaceTranslationUpdateInputs.md
|
|
275
276
|
docs/BookingPlaceUpdateInputs.md
|
|
276
277
|
docs/BookingQuestionResponse.md
|
|
278
|
+
docs/BookingQuestionResponseChange.md
|
|
277
279
|
docs/BookingSlot.md
|
|
278
280
|
docs/BookingSpace.md
|
|
279
281
|
docs/BookingSpaceAvailability.md
|
|
@@ -308,6 +310,7 @@ docs/BookingsQuestionsApi.md
|
|
|
308
310
|
docs/BookingsQuestionsChoicesApi.md
|
|
309
311
|
docs/BookingsQuestionsChoicesTranslationsApi.md
|
|
310
312
|
docs/BookingsQuestionsTranslationsApi.md
|
|
313
|
+
docs/BookingsResponsesApi.md
|
|
311
314
|
docs/BookingsSpacesApi.md
|
|
312
315
|
docs/BookingsSpacesTranslationsApi.md
|
|
313
316
|
docs/BraintreeActivationFormParams.md
|
|
@@ -761,6 +764,7 @@ docs/GetBenefits200Response.md
|
|
|
761
764
|
docs/GetBookingPlaceTranslation200Response.md
|
|
762
765
|
docs/GetBookingPlaceTranslations200Response.md
|
|
763
766
|
docs/GetBookingPlaces200Response.md
|
|
767
|
+
docs/GetBookingResponseChanges200Response.md
|
|
764
768
|
docs/GetBookingResponses200Response.md
|
|
765
769
|
docs/GetBookingSpaceAvailabilities200Response.md
|
|
766
770
|
docs/GetBookingSpaceBlackouts200Response.md
|
|
@@ -1474,6 +1478,7 @@ docs/Transfer.md
|
|
|
1474
1478
|
docs/TransferLog.md
|
|
1475
1479
|
docs/TriggerCreateInputs.md
|
|
1476
1480
|
docs/TriggerUpdateInputs.md
|
|
1481
|
+
docs/UpdateBookingResponsesInputs.md
|
|
1477
1482
|
docs/UpdateBookingSpaceQuestionChoiceTranslation200Response.md
|
|
1478
1483
|
docs/UpdateBookingSpaceQuestionTranslation200Response.md
|
|
1479
1484
|
docs/UpdateChannelContentGuestTranslation200Response.md
|
package/AdminApi.ts
CHANGED
|
@@ -42,6 +42,7 @@ import {
|
|
|
42
42
|
BookingsQuestionsChoicesApi,
|
|
43
43
|
BookingsQuestionsChoicesTranslationsApi,
|
|
44
44
|
BookingsQuestionsTranslationsApi,
|
|
45
|
+
BookingsResponsesApi,
|
|
45
46
|
BookingsSpacesApi,
|
|
46
47
|
BookingsSpacesTranslationsApi,
|
|
47
48
|
ChannelsApi,
|
|
@@ -251,6 +252,7 @@ export class AdminApi {
|
|
|
251
252
|
public readonly bookingsQuestionsChoices: BookingsQuestionsChoicesApi;
|
|
252
253
|
public readonly bookingsQuestionsChoicesTranslations: BookingsQuestionsChoicesTranslationsApi;
|
|
253
254
|
public readonly bookingsQuestionsTranslations: BookingsQuestionsTranslationsApi;
|
|
255
|
+
public readonly bookingsResponses: BookingsResponsesApi;
|
|
254
256
|
public readonly bookingsSpaces: BookingsSpacesApi;
|
|
255
257
|
public readonly bookingsSpacesTranslations: BookingsSpacesTranslationsApi;
|
|
256
258
|
public readonly channels: ChannelsApi;
|
|
@@ -458,6 +460,7 @@ export class AdminApi {
|
|
|
458
460
|
this.bookingsQuestionsChoices = new BookingsQuestionsChoicesApi(this.config);
|
|
459
461
|
this.bookingsQuestionsChoicesTranslations = new BookingsQuestionsChoicesTranslationsApi(this.config);
|
|
460
462
|
this.bookingsQuestionsTranslations = new BookingsQuestionsTranslationsApi(this.config);
|
|
463
|
+
this.bookingsResponses = new BookingsResponsesApi(this.config);
|
|
461
464
|
this.bookingsSpaces = new BookingsSpacesApi(this.config);
|
|
462
465
|
this.bookingsSpacesTranslations = new BookingsSpacesTranslationsApi(this.config);
|
|
463
466
|
this.channels = new ChannelsApi(this.config);
|
package/README.md
CHANGED
|
@@ -206,6 +206,8 @@ Class | Method | HTTP request | Description
|
|
|
206
206
|
*BookingsQuestionsTranslationsApi* | [**getBookingSpaceQuestionTranslation**](docs/BookingsQuestionsTranslationsApi.md#getbookingspacequestiontranslation) | **GET** /bookings/places/{placeId}/spaces/{spaceId}/questions/{questionId}/translations/{locale} | Get a booking question\'s translation
|
|
207
207
|
*BookingsQuestionsTranslationsApi* | [**getBookingSpaceQuestionTranslations**](docs/BookingsQuestionsTranslationsApi.md#getbookingspacequestiontranslations) | **GET** /bookings/places/{placeId}/spaces/{spaceId}/questions/{questionId}/translations | List a booking question\'s translations
|
|
208
208
|
*BookingsQuestionsTranslationsApi* | [**updateBookingSpaceQuestionTranslation**](docs/BookingsQuestionsTranslationsApi.md#updatebookingspacequestiontranslation) | **PUT** /bookings/places/{placeId}/spaces/{spaceId}/questions/{questionId}/translations/{locale} | Update a booking question translation
|
|
209
|
+
*BookingsResponsesApi* | [**getBookingResponseChanges**](docs/BookingsResponsesApi.md#getbookingresponsechanges) | **GET** /bookings/{bookingId}/responses/{questionId}/changes | List a booking response\'s edit history
|
|
210
|
+
*BookingsResponsesApi* | [**updateBookingResponses**](docs/BookingsResponsesApi.md#updatebookingresponses) | **PUT** /bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId}/responses | Update a booking\'s question responses
|
|
209
211
|
*BookingsSpacesApi* | [**createBookingSpace**](docs/BookingsSpacesApi.md#createbookingspace) | **POST** /bookings/places/{placeId}/spaces | Create a booking space
|
|
210
212
|
*BookingsSpacesApi* | [**deleteBookingSpace**](docs/BookingsSpacesApi.md#deletebookingspace) | **DELETE** /bookings/places/{placeId}/spaces/{spaceId} | Delete a booking space
|
|
211
213
|
*BookingsSpacesApi* | [**updateBookingSpace**](docs/BookingsSpacesApi.md#updatebookingspace) | **PUT** /bookings/places/{placeId}/spaces/{spaceId} | Update a booking space
|
|
@@ -1352,6 +1354,7 @@ Class | Method | HTTP request | Description
|
|
|
1352
1354
|
- [BaseBooking](docs/BaseBooking.md)
|
|
1353
1355
|
- [BaseBookingPlace](docs/BaseBookingPlace.md)
|
|
1354
1356
|
- [BaseBookingQuestionResponse](docs/BaseBookingQuestionResponse.md)
|
|
1357
|
+
- [BaseBookingQuestionResponseChange](docs/BaseBookingQuestionResponseChange.md)
|
|
1355
1358
|
- [BaseBookingSpace](docs/BaseBookingSpace.md)
|
|
1356
1359
|
- [BaseBookingSpaceAvailability](docs/BaseBookingSpaceAvailability.md)
|
|
1357
1360
|
- [BaseBookingSpaceBlackout](docs/BaseBookingSpaceBlackout.md)
|
|
@@ -1523,6 +1526,7 @@ Class | Method | HTTP request | Description
|
|
|
1523
1526
|
- [BookingPlaceTranslationUpdateInputs](docs/BookingPlaceTranslationUpdateInputs.md)
|
|
1524
1527
|
- [BookingPlaceUpdateInputs](docs/BookingPlaceUpdateInputs.md)
|
|
1525
1528
|
- [BookingQuestionResponse](docs/BookingQuestionResponse.md)
|
|
1529
|
+
- [BookingQuestionResponseChange](docs/BookingQuestionResponseChange.md)
|
|
1526
1530
|
- [BookingSlot](docs/BookingSlot.md)
|
|
1527
1531
|
- [BookingSpace](docs/BookingSpace.md)
|
|
1528
1532
|
- [BookingSpaceAvailability](docs/BookingSpaceAvailability.md)
|
|
@@ -1918,6 +1922,7 @@ Class | Method | HTTP request | Description
|
|
|
1918
1922
|
- [GetBookingPlaceTranslation200Response](docs/GetBookingPlaceTranslation200Response.md)
|
|
1919
1923
|
- [GetBookingPlaceTranslations200Response](docs/GetBookingPlaceTranslations200Response.md)
|
|
1920
1924
|
- [GetBookingPlaces200Response](docs/GetBookingPlaces200Response.md)
|
|
1925
|
+
- [GetBookingResponseChanges200Response](docs/GetBookingResponseChanges200Response.md)
|
|
1921
1926
|
- [GetBookingResponses200Response](docs/GetBookingResponses200Response.md)
|
|
1922
1927
|
- [GetBookingSpaceAvailabilities200Response](docs/GetBookingSpaceAvailabilities200Response.md)
|
|
1923
1928
|
- [GetBookingSpaceBlackouts200Response](docs/GetBookingSpaceBlackouts200Response.md)
|
|
@@ -2547,6 +2552,7 @@ Class | Method | HTTP request | Description
|
|
|
2547
2552
|
- [TransferLog](docs/TransferLog.md)
|
|
2548
2553
|
- [TriggerCreateInputs](docs/TriggerCreateInputs.md)
|
|
2549
2554
|
- [TriggerUpdateInputs](docs/TriggerUpdateInputs.md)
|
|
2555
|
+
- [UpdateBookingResponsesInputs](docs/UpdateBookingResponsesInputs.md)
|
|
2550
2556
|
- [UpdateBookingSpaceQuestionChoiceTranslation200Response](docs/UpdateBookingSpaceQuestionChoiceTranslation200Response.md)
|
|
2551
2557
|
- [UpdateBookingSpaceQuestionTranslation200Response](docs/UpdateBookingSpaceQuestionTranslation200Response.md)
|
|
2552
2558
|
- [UpdateChannelContentGuestTranslation200Response](docs/UpdateChannelContentGuestTranslation200Response.md)
|
package/api.ts
CHANGED
|
@@ -1006,6 +1006,15 @@ export interface BaseBookingQuestionResponse {
|
|
|
1006
1006
|
'questionId': string;
|
|
1007
1007
|
'question': BaseBookingSpaceQuestion;
|
|
1008
1008
|
}
|
|
1009
|
+
export interface BaseBookingQuestionResponseChange {
|
|
1010
|
+
'id': string;
|
|
1011
|
+
'newValue': string;
|
|
1012
|
+
'oldValue': string;
|
|
1013
|
+
'questionId': string;
|
|
1014
|
+
'responseId': string;
|
|
1015
|
+
'userId': string | null;
|
|
1016
|
+
'createdAt': string;
|
|
1017
|
+
}
|
|
1009
1018
|
export interface BaseBookingSpace {
|
|
1010
1019
|
'id': string;
|
|
1011
1020
|
'name': string;
|
|
@@ -2828,9 +2837,21 @@ export interface BookingQuestionResponse {
|
|
|
2828
2837
|
'question': BaseBookingSpaceQuestion;
|
|
2829
2838
|
'fileId': number | null;
|
|
2830
2839
|
'file': BaseFile | null;
|
|
2840
|
+
'changeLogs': Array<BaseBookingQuestionResponseChange>;
|
|
2831
2841
|
'createdAt': string;
|
|
2832
2842
|
'updatedAt': string;
|
|
2833
2843
|
}
|
|
2844
|
+
export interface BookingQuestionResponseChange {
|
|
2845
|
+
'id': string;
|
|
2846
|
+
'newValue': string;
|
|
2847
|
+
'oldValue': string;
|
|
2848
|
+
'questionId': string;
|
|
2849
|
+
'responseId': string;
|
|
2850
|
+
'userId': string | null;
|
|
2851
|
+
'createdAt': string;
|
|
2852
|
+
'response': BaseBookingQuestionResponse;
|
|
2853
|
+
'user': BaseUser | null;
|
|
2854
|
+
}
|
|
2834
2855
|
export interface BookingSlot {
|
|
2835
2856
|
'time': string;
|
|
2836
2857
|
'supply': number | null;
|
|
@@ -7103,6 +7124,17 @@ export enum GetBookingPlaces200ResponseStatusEnum {
|
|
|
7103
7124
|
Ok = 'ok'
|
|
7104
7125
|
}
|
|
7105
7126
|
|
|
7127
|
+
export interface GetBookingResponseChanges200Response {
|
|
7128
|
+
'status': GetBookingResponseChanges200ResponseStatusEnum;
|
|
7129
|
+
'message': string;
|
|
7130
|
+
'data': Array<BookingQuestionResponseChange>;
|
|
7131
|
+
'count'?: number;
|
|
7132
|
+
}
|
|
7133
|
+
|
|
7134
|
+
export enum GetBookingResponseChanges200ResponseStatusEnum {
|
|
7135
|
+
Ok = 'ok'
|
|
7136
|
+
}
|
|
7137
|
+
|
|
7106
7138
|
export interface GetBookingResponses200Response {
|
|
7107
7139
|
'status': GetBookingResponses200ResponseStatusEnum;
|
|
7108
7140
|
'message': string;
|
|
@@ -11250,6 +11282,7 @@ export interface Organization {
|
|
|
11250
11282
|
'inviteOnly': boolean;
|
|
11251
11283
|
'autoTranslate': boolean;
|
|
11252
11284
|
'googleTagManagerId': string | null;
|
|
11285
|
+
'googleMapsApiKey': string | null;
|
|
11253
11286
|
'options': object | null;
|
|
11254
11287
|
'modulesOrder': Array<ModulesOrder>;
|
|
11255
11288
|
}
|
|
@@ -11536,6 +11569,7 @@ export interface OrganizationUpdateInputs {
|
|
|
11536
11569
|
'inviteOnly'?: boolean;
|
|
11537
11570
|
'autoTranslate'?: boolean;
|
|
11538
11571
|
'googleTagManagerId'?: string | null;
|
|
11572
|
+
'googleMapsApiKey'?: string | null;
|
|
11539
11573
|
'options'?: object | null;
|
|
11540
11574
|
'modulesOrder'?: Array<ModulesOrder>;
|
|
11541
11575
|
}
|
|
@@ -14001,6 +14035,9 @@ export interface TriggerUpdateInputs {
|
|
|
14001
14035
|
'code'?: string | null;
|
|
14002
14036
|
'enabled'?: boolean;
|
|
14003
14037
|
}
|
|
14038
|
+
export interface UpdateBookingResponsesInputs {
|
|
14039
|
+
'questions': Array<Question>;
|
|
14040
|
+
}
|
|
14004
14041
|
export interface UpdateBookingSpaceQuestionChoiceTranslation200Response {
|
|
14005
14042
|
'status': UpdateBookingSpaceQuestionChoiceTranslation200ResponseStatusEnum;
|
|
14006
14043
|
'message': string;
|
|
@@ -32067,6 +32104,289 @@ export class BookingsQuestionsTranslationsApi extends BaseAPI {
|
|
|
32067
32104
|
|
|
32068
32105
|
|
|
32069
32106
|
|
|
32107
|
+
/**
|
|
32108
|
+
* BookingsResponsesApi - axios parameter creator
|
|
32109
|
+
*/
|
|
32110
|
+
export const BookingsResponsesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32111
|
+
return {
|
|
32112
|
+
/**
|
|
32113
|
+
* Returns a paginated list of edits made to a single question response on a booking, including the old and new values for each change; requires the \"read\" permission on \"bookings\".
|
|
32114
|
+
* @summary List a booking response\'s edit history
|
|
32115
|
+
* @param {string} bookingId The booking identifier
|
|
32116
|
+
* @param {string} questionId The question identifier
|
|
32117
|
+
* @param {number} [page] Page number
|
|
32118
|
+
* @param {number} [pageSize] Number of items per page
|
|
32119
|
+
* @param {string} [orderBy] Field to order by
|
|
32120
|
+
* @param {string} [search] Search query
|
|
32121
|
+
* @param {*} [options] Override http request option.
|
|
32122
|
+
* @throws {RequiredError}
|
|
32123
|
+
*/
|
|
32124
|
+
getBookingResponseChanges: async (bookingId: string, questionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32125
|
+
// verify required parameter 'bookingId' is not null or undefined
|
|
32126
|
+
assertParamExists('getBookingResponseChanges', 'bookingId', bookingId)
|
|
32127
|
+
// verify required parameter 'questionId' is not null or undefined
|
|
32128
|
+
assertParamExists('getBookingResponseChanges', 'questionId', questionId)
|
|
32129
|
+
const localVarPath = `/bookings/{bookingId}/responses/{questionId}/changes`
|
|
32130
|
+
.replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)))
|
|
32131
|
+
.replace(`{${"questionId"}}`, encodeURIComponent(String(questionId)));
|
|
32132
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32133
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32134
|
+
let baseOptions;
|
|
32135
|
+
if (configuration) {
|
|
32136
|
+
baseOptions = configuration.baseOptions;
|
|
32137
|
+
}
|
|
32138
|
+
|
|
32139
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
32140
|
+
const localVarHeaderParameter = {} as any;
|
|
32141
|
+
const localVarQueryParameter = {} as any;
|
|
32142
|
+
|
|
32143
|
+
// authentication ApiKeyAuth required
|
|
32144
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
32145
|
+
|
|
32146
|
+
// authentication OrganizationId required
|
|
32147
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
32148
|
+
|
|
32149
|
+
if (page !== undefined) {
|
|
32150
|
+
localVarQueryParameter['page'] = page;
|
|
32151
|
+
}
|
|
32152
|
+
|
|
32153
|
+
if (pageSize !== undefined) {
|
|
32154
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
32155
|
+
}
|
|
32156
|
+
|
|
32157
|
+
if (orderBy !== undefined) {
|
|
32158
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
32159
|
+
}
|
|
32160
|
+
|
|
32161
|
+
if (search !== undefined) {
|
|
32162
|
+
localVarQueryParameter['search'] = search;
|
|
32163
|
+
}
|
|
32164
|
+
|
|
32165
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
32166
|
+
|
|
32167
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32168
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32169
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32170
|
+
|
|
32171
|
+
return {
|
|
32172
|
+
url: toPathString(localVarUrlObj),
|
|
32173
|
+
options: localVarRequestOptions,
|
|
32174
|
+
};
|
|
32175
|
+
},
|
|
32176
|
+
/**
|
|
32177
|
+
* Bulk-updates the answers submitted to a booking space\'s custom questions for a specific booking, requires read and update permission on bookings.
|
|
32178
|
+
* @summary Update a booking\'s question responses
|
|
32179
|
+
* @param {string} placeId The place identifier
|
|
32180
|
+
* @param {string} spaceId The space identifier
|
|
32181
|
+
* @param {string} bookingId The booking identifier
|
|
32182
|
+
* @param {UpdateBookingResponsesInputs} updateBookingResponsesInputs
|
|
32183
|
+
* @param {*} [options] Override http request option.
|
|
32184
|
+
* @throws {RequiredError}
|
|
32185
|
+
*/
|
|
32186
|
+
updateBookingResponses: async (placeId: string, spaceId: string, bookingId: string, updateBookingResponsesInputs: UpdateBookingResponsesInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32187
|
+
// verify required parameter 'placeId' is not null or undefined
|
|
32188
|
+
assertParamExists('updateBookingResponses', 'placeId', placeId)
|
|
32189
|
+
// verify required parameter 'spaceId' is not null or undefined
|
|
32190
|
+
assertParamExists('updateBookingResponses', 'spaceId', spaceId)
|
|
32191
|
+
// verify required parameter 'bookingId' is not null or undefined
|
|
32192
|
+
assertParamExists('updateBookingResponses', 'bookingId', bookingId)
|
|
32193
|
+
// verify required parameter 'updateBookingResponsesInputs' is not null or undefined
|
|
32194
|
+
assertParamExists('updateBookingResponses', 'updateBookingResponsesInputs', updateBookingResponsesInputs)
|
|
32195
|
+
const localVarPath = `/bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId}/responses`
|
|
32196
|
+
.replace(`{${"placeId"}}`, encodeURIComponent(String(placeId)))
|
|
32197
|
+
.replace(`{${"spaceId"}}`, encodeURIComponent(String(spaceId)))
|
|
32198
|
+
.replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
|
|
32199
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32200
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32201
|
+
let baseOptions;
|
|
32202
|
+
if (configuration) {
|
|
32203
|
+
baseOptions = configuration.baseOptions;
|
|
32204
|
+
}
|
|
32205
|
+
|
|
32206
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
32207
|
+
const localVarHeaderParameter = {} as any;
|
|
32208
|
+
const localVarQueryParameter = {} as any;
|
|
32209
|
+
|
|
32210
|
+
// authentication ApiKeyAuth required
|
|
32211
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
32212
|
+
|
|
32213
|
+
// authentication OrganizationId required
|
|
32214
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
32215
|
+
|
|
32216
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32217
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
32218
|
+
|
|
32219
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32220
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32221
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32222
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateBookingResponsesInputs, localVarRequestOptions, configuration)
|
|
32223
|
+
|
|
32224
|
+
return {
|
|
32225
|
+
url: toPathString(localVarUrlObj),
|
|
32226
|
+
options: localVarRequestOptions,
|
|
32227
|
+
};
|
|
32228
|
+
},
|
|
32229
|
+
}
|
|
32230
|
+
};
|
|
32231
|
+
|
|
32232
|
+
/**
|
|
32233
|
+
* BookingsResponsesApi - functional programming interface
|
|
32234
|
+
*/
|
|
32235
|
+
export const BookingsResponsesApiFp = function(configuration?: Configuration) {
|
|
32236
|
+
const localVarAxiosParamCreator = BookingsResponsesApiAxiosParamCreator(configuration)
|
|
32237
|
+
return {
|
|
32238
|
+
/**
|
|
32239
|
+
* Returns a paginated list of edits made to a single question response on a booking, including the old and new values for each change; requires the \"read\" permission on \"bookings\".
|
|
32240
|
+
* @summary List a booking response\'s edit history
|
|
32241
|
+
* @param {string} bookingId The booking identifier
|
|
32242
|
+
* @param {string} questionId The question identifier
|
|
32243
|
+
* @param {number} [page] Page number
|
|
32244
|
+
* @param {number} [pageSize] Number of items per page
|
|
32245
|
+
* @param {string} [orderBy] Field to order by
|
|
32246
|
+
* @param {string} [search] Search query
|
|
32247
|
+
* @param {*} [options] Override http request option.
|
|
32248
|
+
* @throws {RequiredError}
|
|
32249
|
+
*/
|
|
32250
|
+
async getBookingResponseChanges(bookingId: string, questionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingResponseChanges200Response>> {
|
|
32251
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBookingResponseChanges(bookingId, questionId, page, pageSize, orderBy, search, options);
|
|
32252
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32253
|
+
const localVarOperationServerBasePath = operationServerMap['BookingsResponsesApi.getBookingResponseChanges']?.[localVarOperationServerIndex]?.url;
|
|
32254
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
32255
|
+
},
|
|
32256
|
+
/**
|
|
32257
|
+
* Bulk-updates the answers submitted to a booking space\'s custom questions for a specific booking, requires read and update permission on bookings.
|
|
32258
|
+
* @summary Update a booking\'s question responses
|
|
32259
|
+
* @param {string} placeId The place identifier
|
|
32260
|
+
* @param {string} spaceId The space identifier
|
|
32261
|
+
* @param {string} bookingId The booking identifier
|
|
32262
|
+
* @param {UpdateBookingResponsesInputs} updateBookingResponsesInputs
|
|
32263
|
+
* @param {*} [options] Override http request option.
|
|
32264
|
+
* @throws {RequiredError}
|
|
32265
|
+
*/
|
|
32266
|
+
async updateBookingResponses(placeId: string, spaceId: string, bookingId: string, updateBookingResponsesInputs: UpdateBookingResponsesInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
|
|
32267
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateBookingResponses(placeId, spaceId, bookingId, updateBookingResponsesInputs, options);
|
|
32268
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32269
|
+
const localVarOperationServerBasePath = operationServerMap['BookingsResponsesApi.updateBookingResponses']?.[localVarOperationServerIndex]?.url;
|
|
32270
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
32271
|
+
},
|
|
32272
|
+
}
|
|
32273
|
+
};
|
|
32274
|
+
|
|
32275
|
+
/**
|
|
32276
|
+
* BookingsResponsesApi - factory interface
|
|
32277
|
+
*/
|
|
32278
|
+
export const BookingsResponsesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
32279
|
+
const localVarFp = BookingsResponsesApiFp(configuration)
|
|
32280
|
+
return {
|
|
32281
|
+
/**
|
|
32282
|
+
* Returns a paginated list of edits made to a single question response on a booking, including the old and new values for each change; requires the \"read\" permission on \"bookings\".
|
|
32283
|
+
* @summary List a booking response\'s edit history
|
|
32284
|
+
* @param {BookingsResponsesApiGetBookingResponseChangesRequest} requestParameters Request parameters.
|
|
32285
|
+
* @param {*} [options] Override http request option.
|
|
32286
|
+
* @throws {RequiredError}
|
|
32287
|
+
*/
|
|
32288
|
+
getBookingResponseChanges(requestParameters: BookingsResponsesApiGetBookingResponseChangesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetBookingResponseChanges200Response> {
|
|
32289
|
+
return localVarFp.getBookingResponseChanges(requestParameters.bookingId, requestParameters.questionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
32290
|
+
},
|
|
32291
|
+
/**
|
|
32292
|
+
* Bulk-updates the answers submitted to a booking space\'s custom questions for a specific booking, requires read and update permission on bookings.
|
|
32293
|
+
* @summary Update a booking\'s question responses
|
|
32294
|
+
* @param {BookingsResponsesApiUpdateBookingResponsesRequest} requestParameters Request parameters.
|
|
32295
|
+
* @param {*} [options] Override http request option.
|
|
32296
|
+
* @throws {RequiredError}
|
|
32297
|
+
*/
|
|
32298
|
+
updateBookingResponses(requestParameters: BookingsResponsesApiUpdateBookingResponsesRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
|
|
32299
|
+
return localVarFp.updateBookingResponses(requestParameters.placeId, requestParameters.spaceId, requestParameters.bookingId, requestParameters.updateBookingResponsesInputs, options).then((request) => request(axios, basePath));
|
|
32300
|
+
},
|
|
32301
|
+
};
|
|
32302
|
+
};
|
|
32303
|
+
|
|
32304
|
+
/**
|
|
32305
|
+
* Request parameters for getBookingResponseChanges operation in BookingsResponsesApi.
|
|
32306
|
+
*/
|
|
32307
|
+
export interface BookingsResponsesApiGetBookingResponseChangesRequest {
|
|
32308
|
+
/**
|
|
32309
|
+
* The booking identifier
|
|
32310
|
+
*/
|
|
32311
|
+
readonly bookingId: string
|
|
32312
|
+
|
|
32313
|
+
/**
|
|
32314
|
+
* The question identifier
|
|
32315
|
+
*/
|
|
32316
|
+
readonly questionId: string
|
|
32317
|
+
|
|
32318
|
+
/**
|
|
32319
|
+
* Page number
|
|
32320
|
+
*/
|
|
32321
|
+
readonly page?: number
|
|
32322
|
+
|
|
32323
|
+
/**
|
|
32324
|
+
* Number of items per page
|
|
32325
|
+
*/
|
|
32326
|
+
readonly pageSize?: number
|
|
32327
|
+
|
|
32328
|
+
/**
|
|
32329
|
+
* Field to order by
|
|
32330
|
+
*/
|
|
32331
|
+
readonly orderBy?: string
|
|
32332
|
+
|
|
32333
|
+
/**
|
|
32334
|
+
* Search query
|
|
32335
|
+
*/
|
|
32336
|
+
readonly search?: string
|
|
32337
|
+
}
|
|
32338
|
+
|
|
32339
|
+
/**
|
|
32340
|
+
* Request parameters for updateBookingResponses operation in BookingsResponsesApi.
|
|
32341
|
+
*/
|
|
32342
|
+
export interface BookingsResponsesApiUpdateBookingResponsesRequest {
|
|
32343
|
+
/**
|
|
32344
|
+
* The place identifier
|
|
32345
|
+
*/
|
|
32346
|
+
readonly placeId: string
|
|
32347
|
+
|
|
32348
|
+
/**
|
|
32349
|
+
* The space identifier
|
|
32350
|
+
*/
|
|
32351
|
+
readonly spaceId: string
|
|
32352
|
+
|
|
32353
|
+
/**
|
|
32354
|
+
* The booking identifier
|
|
32355
|
+
*/
|
|
32356
|
+
readonly bookingId: string
|
|
32357
|
+
|
|
32358
|
+
readonly updateBookingResponsesInputs: UpdateBookingResponsesInputs
|
|
32359
|
+
}
|
|
32360
|
+
|
|
32361
|
+
/**
|
|
32362
|
+
* BookingsResponsesApi - object-oriented interface
|
|
32363
|
+
*/
|
|
32364
|
+
export class BookingsResponsesApi extends BaseAPI {
|
|
32365
|
+
/**
|
|
32366
|
+
* Returns a paginated list of edits made to a single question response on a booking, including the old and new values for each change; requires the \"read\" permission on \"bookings\".
|
|
32367
|
+
* @summary List a booking response\'s edit history
|
|
32368
|
+
* @param {BookingsResponsesApiGetBookingResponseChangesRequest} requestParameters Request parameters.
|
|
32369
|
+
* @param {*} [options] Override http request option.
|
|
32370
|
+
* @throws {RequiredError}
|
|
32371
|
+
*/
|
|
32372
|
+
public getBookingResponseChanges(requestParameters: BookingsResponsesApiGetBookingResponseChangesRequest, options?: RawAxiosRequestConfig) {
|
|
32373
|
+
return BookingsResponsesApiFp(this.configuration).getBookingResponseChanges(requestParameters.bookingId, requestParameters.questionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
32374
|
+
}
|
|
32375
|
+
|
|
32376
|
+
/**
|
|
32377
|
+
* Bulk-updates the answers submitted to a booking space\'s custom questions for a specific booking, requires read and update permission on bookings.
|
|
32378
|
+
* @summary Update a booking\'s question responses
|
|
32379
|
+
* @param {BookingsResponsesApiUpdateBookingResponsesRequest} requestParameters Request parameters.
|
|
32380
|
+
* @param {*} [options] Override http request option.
|
|
32381
|
+
* @throws {RequiredError}
|
|
32382
|
+
*/
|
|
32383
|
+
public updateBookingResponses(requestParameters: BookingsResponsesApiUpdateBookingResponsesRequest, options?: RawAxiosRequestConfig) {
|
|
32384
|
+
return BookingsResponsesApiFp(this.configuration).updateBookingResponses(requestParameters.placeId, requestParameters.spaceId, requestParameters.bookingId, requestParameters.updateBookingResponsesInputs, options).then((request) => request(this.axios, this.basePath));
|
|
32385
|
+
}
|
|
32386
|
+
}
|
|
32387
|
+
|
|
32388
|
+
|
|
32389
|
+
|
|
32070
32390
|
/**
|
|
32071
32391
|
* BookingsSpacesApi - axios parameter creator
|
|
32072
32392
|
*/
|
package/dist/AdminApi.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* const accounts = await adminApi.accounts.getAccounts();
|
|
10
10
|
* const eventsPasses = await adminApi.eventsPasses.getEventPasses();
|
|
11
11
|
*/
|
|
12
|
-
import { AccountsApi, AccountsAddressesApi, AccountsFollowersApi, AccountsFollowingApi, AccountsGroupsApi, AccountsInterestsApi, AccountsInvitationsApi, AccountsLeadsApi, AccountsTiersApi, ActivitiesApi, ActivitiesScheduleApi, AdvertisementsApi, AnnouncementsApi, AnnouncementsScheduleApi, AnnouncementsTranslationsApi, ApiLogsApi, AuthSessionsApi, BenefitsApi, BenefitsTranslationsApi, BookingsApi, BookingsAvailabilitiesApi, BookingsBlackoutsApi, BookingsPlacesApi, BookingsPlacesTranslationsApi, BookingsQuestionsApi, BookingsQuestionsChoicesApi, BookingsQuestionsChoicesTranslationsApi, BookingsQuestionsTranslationsApi, BookingsSpacesApi, BookingsSpacesTranslationsApi, ChannelsApi, ChannelsTranslationsApi, DashboardsApi, DashboardsWidgetsApi, EmailReceiptsApi, EventsApi, EventsAccessApi, EventsActivationsApi, EventsActivationsSessionsApi, EventsActivationsTranslationsApi, EventsAddonsApi, EventsAddonsTranslationsApi, EventsAttendeesApi, EventsAttendeesPackagesApi, EventsAttendeesReservationsApi, EventsAttributesApi, EventsBenefitsApi, EventsBlocksApi, EventsBypassApi, EventsCohostsApi, EventsCouponsApi, EventsEmailsApi, EventsEmailsTranslationsApi, EventsFaqsApi, EventsFaqsTranslationsApi, EventsFollowupsApi, EventsFollowupsTranslationsApi, EventsMatchesApi, EventsMediaApi, EventsMediaTranslationsApi, EventsOnSiteApi, EventsPackagesApi, EventsPackagesPassesApi, EventsPackagesTranslationsApi, EventsPagesApi, EventsPagesTranslationsApi, EventsPassesApi, EventsPassesAccessesApi, EventsPassesAddonsApi, EventsPassesAttributesApi, EventsPassesFollowupsApi, EventsPassesResponsesApi, EventsPasstypesApi, EventsPasstypesExchangetargetsApi, EventsPasstypesPriceschedulesApi, EventsPasstypesRefundschedulesApi, EventsPasstypesTranslationsApi, EventsQuestionsApi, EventsQuestionsTranslationsApi, EventsRoomsApi, EventsRoomtypesApi, EventsRoomtypesTranslationsApi, EventsSectionsApi, EventsSectionsTranslationsApi, EventsSessionsApi, EventsSessionsAccessesApi, EventsSessionsLocationsApi, EventsSessionsLocationsTranslationsApi, EventsSessionsMatchesApi, EventsSessionsPricesApi, EventsSessionsQuestionsApi, EventsSessionsQuestionsTranslationsApi, EventsSessionsSectionsApi, EventsSessionsSectionsTranslationsApi, EventsSessionsTimesApi, EventsSessionsTimesTranslationsApi, EventsSessionsTranslationsApi, EventsSpeakersApi, EventsSpeakersTranslationsApi, EventsSponsorsApi, EventsSponsorshiplevelsApi, EventsSponsorshiplevelsTranslationsApi, EventsSponsorshipsApi, EventsSponsorshipsTranslationsApi, EventsTemplatesApi, EventsTracksApi, EventsTracksTranslationsApi, EventsTransfersApi, EventsTranslationsApi, FilesApi, GroupsApi, GroupsEventsApi, GroupsInterestsApi, GroupsInvitationsApi, GroupsMembersApi, GroupsModeratorsApi, GroupsRequestsApi, GroupsSponsorsApi, GroupsTranslationsApi, ImportsApi, InterestsApi, InvoicesApi, InvoicesLineitemsApi, LoginsApi, LoginsAccountsApi, MeetingsApi, MeetingsLinksApi, MeetingsLivestreamsApi, MeetingsParticipantsApi, MeetingsPresetsApi, MeetingsRecordingsApi, MeetingsSessionsApi, NotificationsApi, OrganizationApi, OrganizationAttributesApi, OrganizationDomainsApi, OrganizationIntegrationsApi, OrganizationModulesApi, OrganizationModulesCustomApi, OrganizationModulesCustomTranslationsApi, OrganizationModulesSettingsApi, OrganizationModulesSettingsTranslationsApi, OrganizationModulesTiersApi, OrganizationPaymentsApi, OrganizationSideeffectsApi, OrganizationTaxApi, OrganizationTeammembersApi, OrganizationUsersApi, OrganizationWebhooksApi, PaymentsApi, PreferencesApi, PushDevicesApi, ReportsApi, ReportsUsersApi, SearchlistsApi, SearchlistsValuesApi, SelfApi, SelfApikeysApi, SelfImagesApi, SeriesApi, SeriesQuestionsApi, SeriesQuestionsChoicesApi, SeriesQuestionsTranslationsApi, SeriesRegistrationsApi, SeriesTranslationsApi, SponsorsApi, SponsorsAccountsApi, SponsorsTranslationsApi, StorageFilesApi, StorageImagesApi, StorageVideosApi, StorageVideosCaptionsApi, StreamsApi, StreamsOutputsApi, StreamsSessionsApi, SupportApi, SupportMessagesApi, SupportNotesApi, SurveysApi, SurveysQuestionsApi, SurveysQuestionsTranslationsApi, SurveysSectionsApi, SurveysSectionsTranslationsApi, SurveysSessionsApi, SurveysSubmissionsApi, SurveysTranslationsApi, ThreadsApi, ThreadsAccountsApi, ThreadsMessagesApi, ThreadsMessagesFilesApi, ThreadsMessagesImagesApi, ThreadsMessagesReactionsApi, ThreadsMessagesVideosApi, ThreadsStorageApi, TiersApi } from "./api";
|
|
12
|
+
import { AccountsApi, AccountsAddressesApi, AccountsFollowersApi, AccountsFollowingApi, AccountsGroupsApi, AccountsInterestsApi, AccountsInvitationsApi, AccountsLeadsApi, AccountsTiersApi, ActivitiesApi, ActivitiesScheduleApi, AdvertisementsApi, AnnouncementsApi, AnnouncementsScheduleApi, AnnouncementsTranslationsApi, ApiLogsApi, AuthSessionsApi, BenefitsApi, BenefitsTranslationsApi, BookingsApi, BookingsAvailabilitiesApi, BookingsBlackoutsApi, BookingsPlacesApi, BookingsPlacesTranslationsApi, BookingsQuestionsApi, BookingsQuestionsChoicesApi, BookingsQuestionsChoicesTranslationsApi, BookingsQuestionsTranslationsApi, BookingsResponsesApi, BookingsSpacesApi, BookingsSpacesTranslationsApi, ChannelsApi, ChannelsTranslationsApi, DashboardsApi, DashboardsWidgetsApi, EmailReceiptsApi, EventsApi, EventsAccessApi, EventsActivationsApi, EventsActivationsSessionsApi, EventsActivationsTranslationsApi, EventsAddonsApi, EventsAddonsTranslationsApi, EventsAttendeesApi, EventsAttendeesPackagesApi, EventsAttendeesReservationsApi, EventsAttributesApi, EventsBenefitsApi, EventsBlocksApi, EventsBypassApi, EventsCohostsApi, EventsCouponsApi, EventsEmailsApi, EventsEmailsTranslationsApi, EventsFaqsApi, EventsFaqsTranslationsApi, EventsFollowupsApi, EventsFollowupsTranslationsApi, EventsMatchesApi, EventsMediaApi, EventsMediaTranslationsApi, EventsOnSiteApi, EventsPackagesApi, EventsPackagesPassesApi, EventsPackagesTranslationsApi, EventsPagesApi, EventsPagesTranslationsApi, EventsPassesApi, EventsPassesAccessesApi, EventsPassesAddonsApi, EventsPassesAttributesApi, EventsPassesFollowupsApi, EventsPassesResponsesApi, EventsPasstypesApi, EventsPasstypesExchangetargetsApi, EventsPasstypesPriceschedulesApi, EventsPasstypesRefundschedulesApi, EventsPasstypesTranslationsApi, EventsQuestionsApi, EventsQuestionsTranslationsApi, EventsRoomsApi, EventsRoomtypesApi, EventsRoomtypesTranslationsApi, EventsSectionsApi, EventsSectionsTranslationsApi, EventsSessionsApi, EventsSessionsAccessesApi, EventsSessionsLocationsApi, EventsSessionsLocationsTranslationsApi, EventsSessionsMatchesApi, EventsSessionsPricesApi, EventsSessionsQuestionsApi, EventsSessionsQuestionsTranslationsApi, EventsSessionsSectionsApi, EventsSessionsSectionsTranslationsApi, EventsSessionsTimesApi, EventsSessionsTimesTranslationsApi, EventsSessionsTranslationsApi, EventsSpeakersApi, EventsSpeakersTranslationsApi, EventsSponsorsApi, EventsSponsorshiplevelsApi, EventsSponsorshiplevelsTranslationsApi, EventsSponsorshipsApi, EventsSponsorshipsTranslationsApi, EventsTemplatesApi, EventsTracksApi, EventsTracksTranslationsApi, EventsTransfersApi, EventsTranslationsApi, FilesApi, GroupsApi, GroupsEventsApi, GroupsInterestsApi, GroupsInvitationsApi, GroupsMembersApi, GroupsModeratorsApi, GroupsRequestsApi, GroupsSponsorsApi, GroupsTranslationsApi, ImportsApi, InterestsApi, InvoicesApi, InvoicesLineitemsApi, LoginsApi, LoginsAccountsApi, MeetingsApi, MeetingsLinksApi, MeetingsLivestreamsApi, MeetingsParticipantsApi, MeetingsPresetsApi, MeetingsRecordingsApi, MeetingsSessionsApi, NotificationsApi, OrganizationApi, OrganizationAttributesApi, OrganizationDomainsApi, OrganizationIntegrationsApi, OrganizationModulesApi, OrganizationModulesCustomApi, OrganizationModulesCustomTranslationsApi, OrganizationModulesSettingsApi, OrganizationModulesSettingsTranslationsApi, OrganizationModulesTiersApi, OrganizationPaymentsApi, OrganizationSideeffectsApi, OrganizationTaxApi, OrganizationTeammembersApi, OrganizationUsersApi, OrganizationWebhooksApi, PaymentsApi, PreferencesApi, PushDevicesApi, ReportsApi, ReportsUsersApi, SearchlistsApi, SearchlistsValuesApi, SelfApi, SelfApikeysApi, SelfImagesApi, SeriesApi, SeriesQuestionsApi, SeriesQuestionsChoicesApi, SeriesQuestionsTranslationsApi, SeriesRegistrationsApi, SeriesTranslationsApi, SponsorsApi, SponsorsAccountsApi, SponsorsTranslationsApi, StorageFilesApi, StorageImagesApi, StorageVideosApi, StorageVideosCaptionsApi, StreamsApi, StreamsOutputsApi, StreamsSessionsApi, SupportApi, SupportMessagesApi, SupportNotesApi, SurveysApi, SurveysQuestionsApi, SurveysQuestionsTranslationsApi, SurveysSectionsApi, SurveysSectionsTranslationsApi, SurveysSessionsApi, SurveysSubmissionsApi, SurveysTranslationsApi, ThreadsApi, ThreadsAccountsApi, ThreadsMessagesApi, ThreadsMessagesFilesApi, ThreadsMessagesImagesApi, ThreadsMessagesReactionsApi, ThreadsMessagesVideosApi, ThreadsStorageApi, TiersApi } from "./api";
|
|
13
13
|
export interface AdminApiConfig {
|
|
14
14
|
/** Your API key for authentication */
|
|
15
15
|
apiKey: string;
|
|
@@ -48,6 +48,7 @@ export declare class AdminApi {
|
|
|
48
48
|
readonly bookingsQuestionsChoices: BookingsQuestionsChoicesApi;
|
|
49
49
|
readonly bookingsQuestionsChoicesTranslations: BookingsQuestionsChoicesTranslationsApi;
|
|
50
50
|
readonly bookingsQuestionsTranslations: BookingsQuestionsTranslationsApi;
|
|
51
|
+
readonly bookingsResponses: BookingsResponsesApi;
|
|
51
52
|
readonly bookingsSpaces: BookingsSpacesApi;
|
|
52
53
|
readonly bookingsSpacesTranslations: BookingsSpacesTranslationsApi;
|
|
53
54
|
readonly channels: ChannelsApi;
|
package/dist/AdminApi.js
CHANGED
|
@@ -56,6 +56,7 @@ class AdminApi {
|
|
|
56
56
|
this.bookingsQuestionsChoices = new api_1.BookingsQuestionsChoicesApi(this.config);
|
|
57
57
|
this.bookingsQuestionsChoicesTranslations = new api_1.BookingsQuestionsChoicesTranslationsApi(this.config);
|
|
58
58
|
this.bookingsQuestionsTranslations = new api_1.BookingsQuestionsTranslationsApi(this.config);
|
|
59
|
+
this.bookingsResponses = new api_1.BookingsResponsesApi(this.config);
|
|
59
60
|
this.bookingsSpaces = new api_1.BookingsSpacesApi(this.config);
|
|
60
61
|
this.bookingsSpacesTranslations = new api_1.BookingsSpacesTranslationsApi(this.config);
|
|
61
62
|
this.channels = new api_1.ChannelsApi(this.config);
|