@connectedxm/admin-sdk 6.20.0 → 6.24.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/.openapi-generator/FILES +45 -0
- package/AdminApi.ts +18 -0
- package/README.md +78 -0
- package/api.ts +10608 -5445
- package/dist/AdminApi.d.ts +7 -1
- package/dist/AdminApi.js +6 -0
- package/dist/api.d.ts +3225 -410
- package/dist/api.js +8313 -4671
- package/dist/esm/AdminApi.d.ts +7 -1
- package/dist/esm/AdminApi.js +7 -1
- package/dist/esm/api.d.ts +3225 -410
- package/dist/esm/api.js +9638 -6020
- package/docs/BaseBookingQuestionResponse.md +26 -0
- package/docs/BaseBookingSpaceQuestion.md +58 -0
- package/docs/BaseBookingSpaceQuestionChoice.md +30 -0
- package/docs/BaseEvent.md +2 -0
- package/docs/BaseEventPassType.md +2 -0
- package/docs/BaseLogin.md +4 -4
- package/docs/BaseSurvey.md +2 -2
- package/docs/Booking.md +2 -0
- package/docs/BookingQuestionResponse.md +34 -0
- package/docs/BookingSpace.md +6 -0
- package/docs/BookingSpaceCreateInputs.md +4 -0
- package/docs/BookingSpaceQuestion.md +66 -0
- package/docs/BookingSpaceQuestionChoice.md +38 -0
- package/docs/BookingSpaceQuestionChoiceCreateInputs.md +28 -0
- package/docs/BookingSpaceQuestionChoiceTranslation.md +32 -0
- package/docs/BookingSpaceQuestionChoiceTranslationUpdateInputs.md +24 -0
- package/docs/BookingSpaceQuestionChoiceUpdateInputs.md +28 -0
- package/docs/BookingSpaceQuestionCreateInputs.md +56 -0
- package/docs/BookingSpaceQuestionTranslation.md +32 -0
- package/docs/BookingSpaceQuestionTranslationUpdateInputs.md +24 -0
- package/docs/BookingSpaceQuestionType.md +30 -0
- package/docs/BookingSpaceQuestionUpdateInputs.md +56 -0
- package/docs/BookingSpaceQuestionUpdateInputsChoices.md +18 -0
- package/docs/BookingSpaceUpdateInputs.md +4 -0
- package/docs/BookingsApi.md +52 -0
- package/docs/BookingsQuestionsApi.md +489 -0
- package/docs/BookingsQuestionsChoicesApi.md +387 -0
- package/docs/BookingsQuestionsChoicesTranslationsApi.md +264 -0
- package/docs/BookingsQuestionsTranslationsApi.md +252 -0
- package/docs/CreateBookingSpaceQuestion200Response.md +24 -0
- package/docs/CreateBookingSpaceQuestionChoice200Response.md +24 -0
- package/docs/CreateEventSessionTime200Response.md +24 -0
- package/docs/Event.md +2 -0
- package/docs/EventCreateInputs.md +2 -0
- package/docs/EventEmailType.md +4 -0
- package/docs/EventPassType.md +2 -0
- package/docs/EventSessionQuestionType.md +0 -2
- package/docs/EventSessionTime.md +34 -0
- package/docs/EventSessionTimeCreateInputs.md +24 -0
- package/docs/EventSessionTimeTranslation.md +30 -0
- package/docs/EventSessionTimeTranslationUpdateInputs.md +22 -0
- package/docs/EventSessionTimeUpdateInputs.md +24 -0
- package/docs/EventUpdateInputs.md +2 -0
- package/docs/EventsPassesApi.md +183 -0
- package/docs/EventsSessionsTimesApi.md +503 -0
- package/docs/EventsSessionsTimesTranslationsApi.md +264 -0
- package/docs/GetBookingResponses200Response.md +24 -0
- package/docs/GetBookingSpaceQuestionChoiceTranslation200Response.md +24 -0
- package/docs/GetBookingSpaceQuestionChoiceTranslations200Response.md +24 -0
- package/docs/GetBookingSpaceQuestionChoices200Response.md +26 -0
- package/docs/GetBookingSpaceQuestionTranslation200Response.md +24 -0
- package/docs/GetBookingSpaceQuestionTranslations200Response.md +24 -0
- package/docs/GetBookingSpaceQuestions200Response.md +26 -0
- package/docs/GetEventSessionTimeTranslation200Response.md +24 -0
- package/docs/GetEventSessionTimeTranslations200Response.md +26 -0
- package/docs/GetEventSessionTimes200Response.md +26 -0
- package/docs/Login.md +4 -0
- package/docs/Meeting.md +2 -0
- package/docs/MeetingCreateInputs.md +4 -0
- package/docs/MeetingUpdateInputs.md +4 -0
- package/docs/PassTypeCreateInputs.md +2 -0
- package/docs/PassTypeUpdateInputs.md +2 -0
- package/docs/PurchaseStatus.md +2 -0
- package/docs/ReorderBookingSpaceQuestionChoices200Response.md +24 -0
- package/docs/ReorderBookingSpaceQuestions200Response.md +24 -0
- package/docs/ReportsApi.md +52 -0
- package/docs/Survey.md +2 -2
- package/docs/SurveyCreateInputs.md +2 -2
- package/docs/SurveyStatus.md +12 -0
- package/docs/SurveyUpdateInputs.md +2 -2
- package/docs/SurveysApi.md +3 -0
- package/docs/UpdateBookingSpaceQuestionChoiceTranslation200Response.md +24 -0
- package/docs/UpdateBookingSpaceQuestionTranslation200Response.md +24 -0
- package/package.json +2 -2
|
@@ -0,0 +1,387 @@
|
|
|
1
|
+
# BookingsQuestionsChoicesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://admin-api.connected.dev*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**createBookingSpaceQuestionChoice**](#createbookingspacequestionchoice) | **POST** /bookings/places/{placeId}/spaces/{spaceId}/questions/{questionId}/choices | Create Booking Space Question Choice|
|
|
8
|
+
|[**deleteBookingSpaceQuestionChoice**](#deletebookingspacequestionchoice) | **DELETE** /bookings/places/{placeId}/spaces/{spaceId}/questions/{questionId}/choices/{choiceId} | Delete Booking Space Question Choice|
|
|
9
|
+
|[**getBookingSpaceQuestionChoice**](#getbookingspacequestionchoice) | **GET** /bookings/places/{placeId}/spaces/{spaceId}/questions/{questionId}/choices/{choiceId} | Get Booking Space Question Choice|
|
|
10
|
+
|[**getBookingSpaceQuestionChoices**](#getbookingspacequestionchoices) | **GET** /bookings/places/{placeId}/spaces/{spaceId}/questions/{questionId}/choices | Get Booking Space Question Choices|
|
|
11
|
+
|[**reorderBookingSpaceQuestionChoices**](#reorderbookingspacequestionchoices) | **PUT** /bookings/places/{placeId}/spaces/{spaceId}/questions/{questionId}/choices/reorder | Reorder Booking Space Question Choices|
|
|
12
|
+
|[**updateBookingSpaceQuestionChoice**](#updatebookingspacequestionchoice) | **PUT** /bookings/places/{placeId}/spaces/{spaceId}/questions/{questionId}/choices/{choiceId} | Update Booking Space Question Choice|
|
|
13
|
+
|
|
14
|
+
# **createBookingSpaceQuestionChoice**
|
|
15
|
+
> CreateBookingSpaceQuestionChoice200Response createBookingSpaceQuestionChoice(bookingSpaceQuestionChoiceCreateInputs)
|
|
16
|
+
|
|
17
|
+
Create Booking Space Question Choice endpoint
|
|
18
|
+
|
|
19
|
+
### Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import {
|
|
23
|
+
BookingsQuestionsChoicesApi,
|
|
24
|
+
Configuration,
|
|
25
|
+
BookingSpaceQuestionChoiceCreateInputs
|
|
26
|
+
} from '@connectedxm/admin-sdk';
|
|
27
|
+
|
|
28
|
+
const configuration = new Configuration();
|
|
29
|
+
const apiInstance = new BookingsQuestionsChoicesApi(configuration);
|
|
30
|
+
|
|
31
|
+
let placeId: string; //The place identifier (default to undefined)
|
|
32
|
+
let spaceId: string; //The space identifier (default to undefined)
|
|
33
|
+
let questionId: string; //The question identifier (default to undefined)
|
|
34
|
+
let bookingSpaceQuestionChoiceCreateInputs: BookingSpaceQuestionChoiceCreateInputs; //
|
|
35
|
+
|
|
36
|
+
const { status, data } = await apiInstance.createBookingSpaceQuestionChoice(
|
|
37
|
+
placeId,
|
|
38
|
+
spaceId,
|
|
39
|
+
questionId,
|
|
40
|
+
bookingSpaceQuestionChoiceCreateInputs
|
|
41
|
+
);
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Parameters
|
|
45
|
+
|
|
46
|
+
|Name | Type | Description | Notes|
|
|
47
|
+
|------------- | ------------- | ------------- | -------------|
|
|
48
|
+
| **bookingSpaceQuestionChoiceCreateInputs** | **BookingSpaceQuestionChoiceCreateInputs**| | |
|
|
49
|
+
| **placeId** | [**string**] | The place identifier | defaults to undefined|
|
|
50
|
+
| **spaceId** | [**string**] | The space identifier | defaults to undefined|
|
|
51
|
+
| **questionId** | [**string**] | The question identifier | defaults to undefined|
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### Return type
|
|
55
|
+
|
|
56
|
+
**CreateBookingSpaceQuestionChoice200Response**
|
|
57
|
+
|
|
58
|
+
### Authorization
|
|
59
|
+
|
|
60
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
61
|
+
|
|
62
|
+
### HTTP request headers
|
|
63
|
+
|
|
64
|
+
- **Content-Type**: application/json
|
|
65
|
+
- **Accept**: application/json
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### HTTP response details
|
|
69
|
+
| Status code | Description | Response headers |
|
|
70
|
+
|-------------|-------------|------------------|
|
|
71
|
+
|**200** | Successful response | - |
|
|
72
|
+
|
|
73
|
+
[[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)
|
|
74
|
+
|
|
75
|
+
# **deleteBookingSpaceQuestionChoice**
|
|
76
|
+
> CreateAccountInvitations200Response deleteBookingSpaceQuestionChoice()
|
|
77
|
+
|
|
78
|
+
Delete Booking Space Question Choice endpoint
|
|
79
|
+
|
|
80
|
+
### Example
|
|
81
|
+
|
|
82
|
+
```typescript
|
|
83
|
+
import {
|
|
84
|
+
BookingsQuestionsChoicesApi,
|
|
85
|
+
Configuration
|
|
86
|
+
} from '@connectedxm/admin-sdk';
|
|
87
|
+
|
|
88
|
+
const configuration = new Configuration();
|
|
89
|
+
const apiInstance = new BookingsQuestionsChoicesApi(configuration);
|
|
90
|
+
|
|
91
|
+
let placeId: string; //The place identifier (default to undefined)
|
|
92
|
+
let spaceId: string; //The space identifier (default to undefined)
|
|
93
|
+
let questionId: string; //The question identifier (default to undefined)
|
|
94
|
+
let choiceId: string; //The choice identifier (default to undefined)
|
|
95
|
+
|
|
96
|
+
const { status, data } = await apiInstance.deleteBookingSpaceQuestionChoice(
|
|
97
|
+
placeId,
|
|
98
|
+
spaceId,
|
|
99
|
+
questionId,
|
|
100
|
+
choiceId
|
|
101
|
+
);
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### Parameters
|
|
105
|
+
|
|
106
|
+
|Name | Type | Description | Notes|
|
|
107
|
+
|------------- | ------------- | ------------- | -------------|
|
|
108
|
+
| **placeId** | [**string**] | The place identifier | defaults to undefined|
|
|
109
|
+
| **spaceId** | [**string**] | The space identifier | defaults to undefined|
|
|
110
|
+
| **questionId** | [**string**] | The question identifier | defaults to undefined|
|
|
111
|
+
| **choiceId** | [**string**] | The choice identifier | defaults to undefined|
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
### Return type
|
|
115
|
+
|
|
116
|
+
**CreateAccountInvitations200Response**
|
|
117
|
+
|
|
118
|
+
### Authorization
|
|
119
|
+
|
|
120
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
121
|
+
|
|
122
|
+
### HTTP request headers
|
|
123
|
+
|
|
124
|
+
- **Content-Type**: Not defined
|
|
125
|
+
- **Accept**: application/json
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
### HTTP response details
|
|
129
|
+
| Status code | Description | Response headers |
|
|
130
|
+
|-------------|-------------|------------------|
|
|
131
|
+
|**200** | Successful response | - |
|
|
132
|
+
|
|
133
|
+
[[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)
|
|
134
|
+
|
|
135
|
+
# **getBookingSpaceQuestionChoice**
|
|
136
|
+
> CreateBookingSpaceQuestionChoice200Response getBookingSpaceQuestionChoice()
|
|
137
|
+
|
|
138
|
+
Get Booking Space Question Choice endpoint
|
|
139
|
+
|
|
140
|
+
### Example
|
|
141
|
+
|
|
142
|
+
```typescript
|
|
143
|
+
import {
|
|
144
|
+
BookingsQuestionsChoicesApi,
|
|
145
|
+
Configuration
|
|
146
|
+
} from '@connectedxm/admin-sdk';
|
|
147
|
+
|
|
148
|
+
const configuration = new Configuration();
|
|
149
|
+
const apiInstance = new BookingsQuestionsChoicesApi(configuration);
|
|
150
|
+
|
|
151
|
+
let placeId: string; //The place identifier (default to undefined)
|
|
152
|
+
let spaceId: string; //The space identifier (default to undefined)
|
|
153
|
+
let questionId: string; //The question identifier (default to undefined)
|
|
154
|
+
let choiceId: string; //The choice identifier (default to undefined)
|
|
155
|
+
|
|
156
|
+
const { status, data } = await apiInstance.getBookingSpaceQuestionChoice(
|
|
157
|
+
placeId,
|
|
158
|
+
spaceId,
|
|
159
|
+
questionId,
|
|
160
|
+
choiceId
|
|
161
|
+
);
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### Parameters
|
|
165
|
+
|
|
166
|
+
|Name | Type | Description | Notes|
|
|
167
|
+
|------------- | ------------- | ------------- | -------------|
|
|
168
|
+
| **placeId** | [**string**] | The place identifier | defaults to undefined|
|
|
169
|
+
| **spaceId** | [**string**] | The space identifier | defaults to undefined|
|
|
170
|
+
| **questionId** | [**string**] | The question identifier | defaults to undefined|
|
|
171
|
+
| **choiceId** | [**string**] | The choice identifier | defaults to undefined|
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
### Return type
|
|
175
|
+
|
|
176
|
+
**CreateBookingSpaceQuestionChoice200Response**
|
|
177
|
+
|
|
178
|
+
### Authorization
|
|
179
|
+
|
|
180
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
181
|
+
|
|
182
|
+
### HTTP request headers
|
|
183
|
+
|
|
184
|
+
- **Content-Type**: Not defined
|
|
185
|
+
- **Accept**: application/json
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
### HTTP response details
|
|
189
|
+
| Status code | Description | Response headers |
|
|
190
|
+
|-------------|-------------|------------------|
|
|
191
|
+
|**200** | Successful response | - |
|
|
192
|
+
|
|
193
|
+
[[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)
|
|
194
|
+
|
|
195
|
+
# **getBookingSpaceQuestionChoices**
|
|
196
|
+
> GetBookingSpaceQuestionChoices200Response getBookingSpaceQuestionChoices()
|
|
197
|
+
|
|
198
|
+
Get Booking Space Question Choices endpoint
|
|
199
|
+
|
|
200
|
+
### Example
|
|
201
|
+
|
|
202
|
+
```typescript
|
|
203
|
+
import {
|
|
204
|
+
BookingsQuestionsChoicesApi,
|
|
205
|
+
Configuration
|
|
206
|
+
} from '@connectedxm/admin-sdk';
|
|
207
|
+
|
|
208
|
+
const configuration = new Configuration();
|
|
209
|
+
const apiInstance = new BookingsQuestionsChoicesApi(configuration);
|
|
210
|
+
|
|
211
|
+
let placeId: string; //The place identifier (default to undefined)
|
|
212
|
+
let spaceId: string; //The space identifier (default to undefined)
|
|
213
|
+
let questionId: string; //The question identifier (default to undefined)
|
|
214
|
+
let page: number; //Page number (optional) (default to 1)
|
|
215
|
+
let pageSize: number; //Number of items per page (optional) (default to 25)
|
|
216
|
+
let orderBy: string; //Field to order by (optional) (default to undefined)
|
|
217
|
+
let search: string; //Search query (optional) (default to undefined)
|
|
218
|
+
|
|
219
|
+
const { status, data } = await apiInstance.getBookingSpaceQuestionChoices(
|
|
220
|
+
placeId,
|
|
221
|
+
spaceId,
|
|
222
|
+
questionId,
|
|
223
|
+
page,
|
|
224
|
+
pageSize,
|
|
225
|
+
orderBy,
|
|
226
|
+
search
|
|
227
|
+
);
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
### Parameters
|
|
231
|
+
|
|
232
|
+
|Name | Type | Description | Notes|
|
|
233
|
+
|------------- | ------------- | ------------- | -------------|
|
|
234
|
+
| **placeId** | [**string**] | The place identifier | defaults to undefined|
|
|
235
|
+
| **spaceId** | [**string**] | The space identifier | defaults to undefined|
|
|
236
|
+
| **questionId** | [**string**] | The question identifier | defaults to undefined|
|
|
237
|
+
| **page** | [**number**] | Page number | (optional) defaults to 1|
|
|
238
|
+
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
|
|
239
|
+
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
|
|
240
|
+
| **search** | [**string**] | Search query | (optional) defaults to undefined|
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
### Return type
|
|
244
|
+
|
|
245
|
+
**GetBookingSpaceQuestionChoices200Response**
|
|
246
|
+
|
|
247
|
+
### Authorization
|
|
248
|
+
|
|
249
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
250
|
+
|
|
251
|
+
### HTTP request headers
|
|
252
|
+
|
|
253
|
+
- **Content-Type**: Not defined
|
|
254
|
+
- **Accept**: application/json
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
### HTTP response details
|
|
258
|
+
| Status code | Description | Response headers |
|
|
259
|
+
|-------------|-------------|------------------|
|
|
260
|
+
|**200** | Successful response | - |
|
|
261
|
+
|
|
262
|
+
[[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)
|
|
263
|
+
|
|
264
|
+
# **reorderBookingSpaceQuestionChoices**
|
|
265
|
+
> ReorderBookingSpaceQuestionChoices200Response reorderBookingSpaceQuestionChoices()
|
|
266
|
+
|
|
267
|
+
Reorder Booking Space Question Choices endpoint
|
|
268
|
+
|
|
269
|
+
### Example
|
|
270
|
+
|
|
271
|
+
```typescript
|
|
272
|
+
import {
|
|
273
|
+
BookingsQuestionsChoicesApi,
|
|
274
|
+
Configuration
|
|
275
|
+
} from '@connectedxm/admin-sdk';
|
|
276
|
+
|
|
277
|
+
const configuration = new Configuration();
|
|
278
|
+
const apiInstance = new BookingsQuestionsChoicesApi(configuration);
|
|
279
|
+
|
|
280
|
+
let placeId: string; //The place identifier (default to undefined)
|
|
281
|
+
let spaceId: string; //The space identifier (default to undefined)
|
|
282
|
+
let questionId: string; //The question identifier (default to undefined)
|
|
283
|
+
let choicesIds: Array<string>; //Filter by choicesIds (default to undefined)
|
|
284
|
+
|
|
285
|
+
const { status, data } = await apiInstance.reorderBookingSpaceQuestionChoices(
|
|
286
|
+
placeId,
|
|
287
|
+
spaceId,
|
|
288
|
+
questionId,
|
|
289
|
+
choicesIds
|
|
290
|
+
);
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
### Parameters
|
|
294
|
+
|
|
295
|
+
|Name | Type | Description | Notes|
|
|
296
|
+
|------------- | ------------- | ------------- | -------------|
|
|
297
|
+
| **placeId** | [**string**] | The place identifier | defaults to undefined|
|
|
298
|
+
| **spaceId** | [**string**] | The space identifier | defaults to undefined|
|
|
299
|
+
| **questionId** | [**string**] | The question identifier | defaults to undefined|
|
|
300
|
+
| **choicesIds** | **Array<string>** | Filter by choicesIds | defaults to undefined|
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
### Return type
|
|
304
|
+
|
|
305
|
+
**ReorderBookingSpaceQuestionChoices200Response**
|
|
306
|
+
|
|
307
|
+
### Authorization
|
|
308
|
+
|
|
309
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
310
|
+
|
|
311
|
+
### HTTP request headers
|
|
312
|
+
|
|
313
|
+
- **Content-Type**: Not defined
|
|
314
|
+
- **Accept**: application/json
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
### HTTP response details
|
|
318
|
+
| Status code | Description | Response headers |
|
|
319
|
+
|-------------|-------------|------------------|
|
|
320
|
+
|**200** | Successful response | - |
|
|
321
|
+
|
|
322
|
+
[[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)
|
|
323
|
+
|
|
324
|
+
# **updateBookingSpaceQuestionChoice**
|
|
325
|
+
> CreateBookingSpaceQuestionChoice200Response updateBookingSpaceQuestionChoice(bookingSpaceQuestionChoiceUpdateInputs)
|
|
326
|
+
|
|
327
|
+
Update Booking Space Question Choice endpoint
|
|
328
|
+
|
|
329
|
+
### Example
|
|
330
|
+
|
|
331
|
+
```typescript
|
|
332
|
+
import {
|
|
333
|
+
BookingsQuestionsChoicesApi,
|
|
334
|
+
Configuration,
|
|
335
|
+
BookingSpaceQuestionChoiceUpdateInputs
|
|
336
|
+
} from '@connectedxm/admin-sdk';
|
|
337
|
+
|
|
338
|
+
const configuration = new Configuration();
|
|
339
|
+
const apiInstance = new BookingsQuestionsChoicesApi(configuration);
|
|
340
|
+
|
|
341
|
+
let placeId: string; //The place identifier (default to undefined)
|
|
342
|
+
let spaceId: string; //The space identifier (default to undefined)
|
|
343
|
+
let questionId: string; //The question identifier (default to undefined)
|
|
344
|
+
let choiceId: string; //The choice identifier (default to undefined)
|
|
345
|
+
let bookingSpaceQuestionChoiceUpdateInputs: BookingSpaceQuestionChoiceUpdateInputs; //
|
|
346
|
+
|
|
347
|
+
const { status, data } = await apiInstance.updateBookingSpaceQuestionChoice(
|
|
348
|
+
placeId,
|
|
349
|
+
spaceId,
|
|
350
|
+
questionId,
|
|
351
|
+
choiceId,
|
|
352
|
+
bookingSpaceQuestionChoiceUpdateInputs
|
|
353
|
+
);
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
### Parameters
|
|
357
|
+
|
|
358
|
+
|Name | Type | Description | Notes|
|
|
359
|
+
|------------- | ------------- | ------------- | -------------|
|
|
360
|
+
| **bookingSpaceQuestionChoiceUpdateInputs** | **BookingSpaceQuestionChoiceUpdateInputs**| | |
|
|
361
|
+
| **placeId** | [**string**] | The place identifier | defaults to undefined|
|
|
362
|
+
| **spaceId** | [**string**] | The space identifier | defaults to undefined|
|
|
363
|
+
| **questionId** | [**string**] | The question identifier | defaults to undefined|
|
|
364
|
+
| **choiceId** | [**string**] | The choice identifier | defaults to undefined|
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
### Return type
|
|
368
|
+
|
|
369
|
+
**CreateBookingSpaceQuestionChoice200Response**
|
|
370
|
+
|
|
371
|
+
### Authorization
|
|
372
|
+
|
|
373
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
374
|
+
|
|
375
|
+
### HTTP request headers
|
|
376
|
+
|
|
377
|
+
- **Content-Type**: application/json
|
|
378
|
+
- **Accept**: application/json
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
### HTTP response details
|
|
382
|
+
| Status code | Description | Response headers |
|
|
383
|
+
|-------------|-------------|------------------|
|
|
384
|
+
|**200** | Successful response | - |
|
|
385
|
+
|
|
386
|
+
[[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)
|
|
387
|
+
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
# BookingsQuestionsChoicesTranslationsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://admin-api.connected.dev*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**deleteBookingSpaceQuestionChoiceTranslation**](#deletebookingspacequestionchoicetranslation) | **DELETE** /bookings/places/{placeId}/spaces/{spaceId}/questions/{questionId}/choices/{choiceId}/translations/{locale} | Delete Booking Space Question Choice Translation|
|
|
8
|
+
|[**getBookingSpaceQuestionChoiceTranslation**](#getbookingspacequestionchoicetranslation) | **GET** /bookings/places/{placeId}/spaces/{spaceId}/questions/{questionId}/choices/{choiceId}/translations/{locale} | Get Booking Space Question Choice Translation|
|
|
9
|
+
|[**getBookingSpaceQuestionChoiceTranslations**](#getbookingspacequestionchoicetranslations) | **GET** /bookings/places/{placeId}/spaces/{spaceId}/questions/{questionId}/choices/{choiceId}/translations | Get Booking Space Question Choice Translations|
|
|
10
|
+
|[**updateBookingSpaceQuestionChoiceTranslation**](#updatebookingspacequestionchoicetranslation) | **PUT** /bookings/places/{placeId}/spaces/{spaceId}/questions/{questionId}/choices/{choiceId}/translations/{locale} | Update Booking Space Question Choice Translation|
|
|
11
|
+
|
|
12
|
+
# **deleteBookingSpaceQuestionChoiceTranslation**
|
|
13
|
+
> UpdateAnnouncementTranslation200Response deleteBookingSpaceQuestionChoiceTranslation()
|
|
14
|
+
|
|
15
|
+
Delete Booking Space Question Choice Translation endpoint
|
|
16
|
+
|
|
17
|
+
### Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import {
|
|
21
|
+
BookingsQuestionsChoicesTranslationsApi,
|
|
22
|
+
Configuration
|
|
23
|
+
} from '@connectedxm/admin-sdk';
|
|
24
|
+
|
|
25
|
+
const configuration = new Configuration();
|
|
26
|
+
const apiInstance = new BookingsQuestionsChoicesTranslationsApi(configuration);
|
|
27
|
+
|
|
28
|
+
let placeId: string; //The place identifier (default to undefined)
|
|
29
|
+
let spaceId: string; //The space identifier (default to undefined)
|
|
30
|
+
let questionId: string; //The question identifier (default to undefined)
|
|
31
|
+
let choiceId: string; //The choice identifier (default to undefined)
|
|
32
|
+
let locale: string; //The locale identifier (default to undefined)
|
|
33
|
+
|
|
34
|
+
const { status, data } = await apiInstance.deleteBookingSpaceQuestionChoiceTranslation(
|
|
35
|
+
placeId,
|
|
36
|
+
spaceId,
|
|
37
|
+
questionId,
|
|
38
|
+
choiceId,
|
|
39
|
+
locale
|
|
40
|
+
);
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Parameters
|
|
44
|
+
|
|
45
|
+
|Name | Type | Description | Notes|
|
|
46
|
+
|------------- | ------------- | ------------- | -------------|
|
|
47
|
+
| **placeId** | [**string**] | The place identifier | defaults to undefined|
|
|
48
|
+
| **spaceId** | [**string**] | The space identifier | defaults to undefined|
|
|
49
|
+
| **questionId** | [**string**] | The question identifier | defaults to undefined|
|
|
50
|
+
| **choiceId** | [**string**] | The choice identifier | defaults to undefined|
|
|
51
|
+
| **locale** | [**string**] | The locale identifier | defaults to undefined|
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### Return type
|
|
55
|
+
|
|
56
|
+
**UpdateAnnouncementTranslation200Response**
|
|
57
|
+
|
|
58
|
+
### Authorization
|
|
59
|
+
|
|
60
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
61
|
+
|
|
62
|
+
### HTTP request headers
|
|
63
|
+
|
|
64
|
+
- **Content-Type**: Not defined
|
|
65
|
+
- **Accept**: application/json
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### HTTP response details
|
|
69
|
+
| Status code | Description | Response headers |
|
|
70
|
+
|-------------|-------------|------------------|
|
|
71
|
+
|**200** | Successful response | - |
|
|
72
|
+
|
|
73
|
+
[[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)
|
|
74
|
+
|
|
75
|
+
# **getBookingSpaceQuestionChoiceTranslation**
|
|
76
|
+
> GetBookingSpaceQuestionChoiceTranslation200Response getBookingSpaceQuestionChoiceTranslation()
|
|
77
|
+
|
|
78
|
+
Get Booking Space Question Choice Translation endpoint
|
|
79
|
+
|
|
80
|
+
### Example
|
|
81
|
+
|
|
82
|
+
```typescript
|
|
83
|
+
import {
|
|
84
|
+
BookingsQuestionsChoicesTranslationsApi,
|
|
85
|
+
Configuration
|
|
86
|
+
} from '@connectedxm/admin-sdk';
|
|
87
|
+
|
|
88
|
+
const configuration = new Configuration();
|
|
89
|
+
const apiInstance = new BookingsQuestionsChoicesTranslationsApi(configuration);
|
|
90
|
+
|
|
91
|
+
let placeId: string; //The place identifier (default to undefined)
|
|
92
|
+
let spaceId: string; //The space identifier (default to undefined)
|
|
93
|
+
let questionId: string; //The question identifier (default to undefined)
|
|
94
|
+
let choiceId: string; //The choice identifier (default to undefined)
|
|
95
|
+
let locale: string; //The locale identifier (default to undefined)
|
|
96
|
+
|
|
97
|
+
const { status, data } = await apiInstance.getBookingSpaceQuestionChoiceTranslation(
|
|
98
|
+
placeId,
|
|
99
|
+
spaceId,
|
|
100
|
+
questionId,
|
|
101
|
+
choiceId,
|
|
102
|
+
locale
|
|
103
|
+
);
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### Parameters
|
|
107
|
+
|
|
108
|
+
|Name | Type | Description | Notes|
|
|
109
|
+
|------------- | ------------- | ------------- | -------------|
|
|
110
|
+
| **placeId** | [**string**] | The place identifier | defaults to undefined|
|
|
111
|
+
| **spaceId** | [**string**] | The space identifier | defaults to undefined|
|
|
112
|
+
| **questionId** | [**string**] | The question identifier | defaults to undefined|
|
|
113
|
+
| **choiceId** | [**string**] | The choice identifier | defaults to undefined|
|
|
114
|
+
| **locale** | [**string**] | The locale identifier | defaults to undefined|
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
### Return type
|
|
118
|
+
|
|
119
|
+
**GetBookingSpaceQuestionChoiceTranslation200Response**
|
|
120
|
+
|
|
121
|
+
### Authorization
|
|
122
|
+
|
|
123
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
124
|
+
|
|
125
|
+
### HTTP request headers
|
|
126
|
+
|
|
127
|
+
- **Content-Type**: Not defined
|
|
128
|
+
- **Accept**: application/json
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
### HTTP response details
|
|
132
|
+
| Status code | Description | Response headers |
|
|
133
|
+
|-------------|-------------|------------------|
|
|
134
|
+
|**200** | Successful response | - |
|
|
135
|
+
|
|
136
|
+
[[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)
|
|
137
|
+
|
|
138
|
+
# **getBookingSpaceQuestionChoiceTranslations**
|
|
139
|
+
> GetBookingSpaceQuestionChoiceTranslations200Response getBookingSpaceQuestionChoiceTranslations()
|
|
140
|
+
|
|
141
|
+
Get Booking Space Question Choice Translations endpoint
|
|
142
|
+
|
|
143
|
+
### Example
|
|
144
|
+
|
|
145
|
+
```typescript
|
|
146
|
+
import {
|
|
147
|
+
BookingsQuestionsChoicesTranslationsApi,
|
|
148
|
+
Configuration
|
|
149
|
+
} from '@connectedxm/admin-sdk';
|
|
150
|
+
|
|
151
|
+
const configuration = new Configuration();
|
|
152
|
+
const apiInstance = new BookingsQuestionsChoicesTranslationsApi(configuration);
|
|
153
|
+
|
|
154
|
+
let placeId: string; //The place identifier (default to undefined)
|
|
155
|
+
let spaceId: string; //The space identifier (default to undefined)
|
|
156
|
+
let questionId: string; //The question identifier (default to undefined)
|
|
157
|
+
let choiceId: string; //The choice identifier (default to undefined)
|
|
158
|
+
|
|
159
|
+
const { status, data } = await apiInstance.getBookingSpaceQuestionChoiceTranslations(
|
|
160
|
+
placeId,
|
|
161
|
+
spaceId,
|
|
162
|
+
questionId,
|
|
163
|
+
choiceId
|
|
164
|
+
);
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
### Parameters
|
|
168
|
+
|
|
169
|
+
|Name | Type | Description | Notes|
|
|
170
|
+
|------------- | ------------- | ------------- | -------------|
|
|
171
|
+
| **placeId** | [**string**] | The place identifier | defaults to undefined|
|
|
172
|
+
| **spaceId** | [**string**] | The space identifier | defaults to undefined|
|
|
173
|
+
| **questionId** | [**string**] | The question identifier | defaults to undefined|
|
|
174
|
+
| **choiceId** | [**string**] | The choice identifier | defaults to undefined|
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
### Return type
|
|
178
|
+
|
|
179
|
+
**GetBookingSpaceQuestionChoiceTranslations200Response**
|
|
180
|
+
|
|
181
|
+
### Authorization
|
|
182
|
+
|
|
183
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
184
|
+
|
|
185
|
+
### HTTP request headers
|
|
186
|
+
|
|
187
|
+
- **Content-Type**: Not defined
|
|
188
|
+
- **Accept**: application/json
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
### HTTP response details
|
|
192
|
+
| Status code | Description | Response headers |
|
|
193
|
+
|-------------|-------------|------------------|
|
|
194
|
+
|**200** | Successful response | - |
|
|
195
|
+
|
|
196
|
+
[[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)
|
|
197
|
+
|
|
198
|
+
# **updateBookingSpaceQuestionChoiceTranslation**
|
|
199
|
+
> UpdateBookingSpaceQuestionChoiceTranslation200Response updateBookingSpaceQuestionChoiceTranslation(bookingSpaceQuestionChoiceTranslationUpdateInputs)
|
|
200
|
+
|
|
201
|
+
Update Booking Space Question Choice Translation endpoint
|
|
202
|
+
|
|
203
|
+
### Example
|
|
204
|
+
|
|
205
|
+
```typescript
|
|
206
|
+
import {
|
|
207
|
+
BookingsQuestionsChoicesTranslationsApi,
|
|
208
|
+
Configuration,
|
|
209
|
+
BookingSpaceQuestionChoiceTranslationUpdateInputs
|
|
210
|
+
} from '@connectedxm/admin-sdk';
|
|
211
|
+
|
|
212
|
+
const configuration = new Configuration();
|
|
213
|
+
const apiInstance = new BookingsQuestionsChoicesTranslationsApi(configuration);
|
|
214
|
+
|
|
215
|
+
let placeId: string; //The place identifier (default to undefined)
|
|
216
|
+
let spaceId: string; //The space identifier (default to undefined)
|
|
217
|
+
let questionId: string; //The question identifier (default to undefined)
|
|
218
|
+
let choiceId: string; //The choice identifier (default to undefined)
|
|
219
|
+
let locale: string; //The locale identifier (default to undefined)
|
|
220
|
+
let bookingSpaceQuestionChoiceTranslationUpdateInputs: BookingSpaceQuestionChoiceTranslationUpdateInputs; //
|
|
221
|
+
|
|
222
|
+
const { status, data } = await apiInstance.updateBookingSpaceQuestionChoiceTranslation(
|
|
223
|
+
placeId,
|
|
224
|
+
spaceId,
|
|
225
|
+
questionId,
|
|
226
|
+
choiceId,
|
|
227
|
+
locale,
|
|
228
|
+
bookingSpaceQuestionChoiceTranslationUpdateInputs
|
|
229
|
+
);
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
### Parameters
|
|
233
|
+
|
|
234
|
+
|Name | Type | Description | Notes|
|
|
235
|
+
|------------- | ------------- | ------------- | -------------|
|
|
236
|
+
| **bookingSpaceQuestionChoiceTranslationUpdateInputs** | **BookingSpaceQuestionChoiceTranslationUpdateInputs**| | |
|
|
237
|
+
| **placeId** | [**string**] | The place identifier | defaults to undefined|
|
|
238
|
+
| **spaceId** | [**string**] | The space identifier | defaults to undefined|
|
|
239
|
+
| **questionId** | [**string**] | The question identifier | defaults to undefined|
|
|
240
|
+
| **choiceId** | [**string**] | The choice identifier | defaults to undefined|
|
|
241
|
+
| **locale** | [**string**] | The locale identifier | defaults to undefined|
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
### Return type
|
|
245
|
+
|
|
246
|
+
**UpdateBookingSpaceQuestionChoiceTranslation200Response**
|
|
247
|
+
|
|
248
|
+
### Authorization
|
|
249
|
+
|
|
250
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
251
|
+
|
|
252
|
+
### HTTP request headers
|
|
253
|
+
|
|
254
|
+
- **Content-Type**: application/json
|
|
255
|
+
- **Accept**: application/json
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
### HTTP response details
|
|
259
|
+
| Status code | Description | Response headers |
|
|
260
|
+
|-------------|-------------|------------------|
|
|
261
|
+
|**200** | Successful response | - |
|
|
262
|
+
|
|
263
|
+
[[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)
|
|
264
|
+
|