@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.
@@ -0,0 +1,136 @@
1
+ # BookingsResponsesApi
2
+
3
+ All URIs are relative to *https://admin-api.connected.dev*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**getBookingResponseChanges**](#getbookingresponsechanges) | **GET** /bookings/{bookingId}/responses/{questionId}/changes | List a booking response\'s edit history|
8
+ |[**updateBookingResponses**](#updatebookingresponses) | **PUT** /bookings/places/{placeId}/spaces/{spaceId}/bookings/{bookingId}/responses | Update a booking\'s question responses|
9
+
10
+ # **getBookingResponseChanges**
11
+ > GetBookingResponseChanges200Response getBookingResponseChanges()
12
+
13
+ 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\".
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ BookingsResponsesApi,
20
+ Configuration
21
+ } from '@connectedxm/admin-sdk';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new BookingsResponsesApi(configuration);
25
+
26
+ let bookingId: string; //The booking identifier (default to undefined)
27
+ let questionId: string; //The question identifier (default to undefined)
28
+ let page: number; //Page number (optional) (default to 1)
29
+ let pageSize: number; //Number of items per page (optional) (default to 25)
30
+ let orderBy: string; //Field to order by (optional) (default to undefined)
31
+ let search: string; //Search query (optional) (default to undefined)
32
+
33
+ const { status, data } = await apiInstance.getBookingResponseChanges(
34
+ bookingId,
35
+ questionId,
36
+ page,
37
+ pageSize,
38
+ orderBy,
39
+ search
40
+ );
41
+ ```
42
+
43
+ ### Parameters
44
+
45
+ |Name | Type | Description | Notes|
46
+ |------------- | ------------- | ------------- | -------------|
47
+ | **bookingId** | [**string**] | The booking identifier | defaults to undefined|
48
+ | **questionId** | [**string**] | The question identifier | defaults to undefined|
49
+ | **page** | [**number**] | Page number | (optional) defaults to 1|
50
+ | **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
51
+ | **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
52
+ | **search** | [**string**] | Search query | (optional) defaults to undefined|
53
+
54
+
55
+ ### Return type
56
+
57
+ **GetBookingResponseChanges200Response**
58
+
59
+ ### Authorization
60
+
61
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
62
+
63
+ ### HTTP request headers
64
+
65
+ - **Content-Type**: Not defined
66
+ - **Accept**: application/json
67
+
68
+
69
+ ### HTTP response details
70
+ | Status code | Description | Response headers |
71
+ |-------------|-------------|------------------|
72
+ |**200** | Successful response | - |
73
+
74
+ [[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)
75
+
76
+ # **updateBookingResponses**
77
+ > CreateAccountInvitations200Response updateBookingResponses(updateBookingResponsesInputs)
78
+
79
+ Bulk-updates the answers submitted to a booking space\'s custom questions for a specific booking, requires read and update permission on bookings.
80
+
81
+ ### Example
82
+
83
+ ```typescript
84
+ import {
85
+ BookingsResponsesApi,
86
+ Configuration,
87
+ UpdateBookingResponsesInputs
88
+ } from '@connectedxm/admin-sdk';
89
+
90
+ const configuration = new Configuration();
91
+ const apiInstance = new BookingsResponsesApi(configuration);
92
+
93
+ let placeId: string; //The place identifier (default to undefined)
94
+ let spaceId: string; //The space identifier (default to undefined)
95
+ let bookingId: string; //The booking identifier (default to undefined)
96
+ let updateBookingResponsesInputs: UpdateBookingResponsesInputs; //
97
+
98
+ const { status, data } = await apiInstance.updateBookingResponses(
99
+ placeId,
100
+ spaceId,
101
+ bookingId,
102
+ updateBookingResponsesInputs
103
+ );
104
+ ```
105
+
106
+ ### Parameters
107
+
108
+ |Name | Type | Description | Notes|
109
+ |------------- | ------------- | ------------- | -------------|
110
+ | **updateBookingResponsesInputs** | **UpdateBookingResponsesInputs**| | |
111
+ | **placeId** | [**string**] | The place identifier | defaults to undefined|
112
+ | **spaceId** | [**string**] | The space identifier | defaults to undefined|
113
+ | **bookingId** | [**string**] | The booking identifier | defaults to undefined|
114
+
115
+
116
+ ### Return type
117
+
118
+ **CreateAccountInvitations200Response**
119
+
120
+ ### Authorization
121
+
122
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
123
+
124
+ ### HTTP request headers
125
+
126
+ - **Content-Type**: application/json
127
+ - **Accept**: application/json
128
+
129
+
130
+ ### HTTP response details
131
+ | Status code | Description | Response headers |
132
+ |-------------|-------------|------------------|
133
+ |**200** | Successful response | - |
134
+
135
+ [[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)
136
+
@@ -0,0 +1,26 @@
1
+ # GetBookingResponseChanges200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **status** | **string** | | [default to undefined]
9
+ **message** | **string** | | [default to undefined]
10
+ **data** | [**Array<BookingQuestionResponseChange>**](BookingQuestionResponseChange.md) | | [default to undefined]
11
+ **count** | **number** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { GetBookingResponseChanges200Response } from '@connectedxm/admin-sdk';
17
+
18
+ const instance: GetBookingResponseChanges200Response = {
19
+ status,
20
+ message,
21
+ data,
22
+ count,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -76,6 +76,7 @@ Name | Type | Description | Notes
76
76
  **inviteOnly** | **boolean** | | [default to undefined]
77
77
  **autoTranslate** | **boolean** | | [default to undefined]
78
78
  **googleTagManagerId** | **string** | | [default to undefined]
79
+ **googleMapsApiKey** | **string** | | [default to undefined]
79
80
  **_options** | **object** | | [default to undefined]
80
81
  **modulesOrder** | [**Array<ModulesOrder>**](ModulesOrder.md) | | [default to undefined]
81
82
 
@@ -156,6 +157,7 @@ const instance: Organization = {
156
157
  inviteOnly,
157
158
  autoTranslate,
158
159
  googleTagManagerId,
160
+ googleMapsApiKey,
159
161
  _options,
160
162
  modulesOrder,
161
163
  };
@@ -51,6 +51,7 @@ Name | Type | Description | Notes
51
51
  **inviteOnly** | **boolean** | | [optional] [default to undefined]
52
52
  **autoTranslate** | **boolean** | | [optional] [default to undefined]
53
53
  **googleTagManagerId** | **string** | | [optional] [default to undefined]
54
+ **googleMapsApiKey** | **string** | | [optional] [default to undefined]
54
55
  **_options** | **object** | | [optional] [default to undefined]
55
56
  **modulesOrder** | [**Array<ModulesOrder>**](ModulesOrder.md) | | [optional] [default to undefined]
56
57
 
@@ -106,6 +107,7 @@ const instance: OrganizationUpdateInputs = {
106
107
  inviteOnly,
107
108
  autoTranslate,
108
109
  googleTagManagerId,
110
+ googleMapsApiKey,
109
111
  _options,
110
112
  modulesOrder,
111
113
  };
@@ -0,0 +1,20 @@
1
+ # UpdateBookingResponsesInputs
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **questions** | [**Array<Question>**](Question.md) | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { UpdateBookingResponsesInputs } from '@connectedxm/admin-sdk';
14
+
15
+ const instance: UpdateBookingResponsesInputs = {
16
+ questions,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin-sdk",
3
- "version": "7.9.2",
3
+ "version": "7.9.4",
4
4
  "description": "OpenAPI client for @connectedxm/admin-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {