@caraer/client 2.0.381 → 2.0.382
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 +72 -1
- package/api.ts +7888 -2480
- package/apps.ts +122 -0
- package/dist/api.d.ts +3806 -637
- package/dist/api.js +6088 -1935
- package/dist/apps.d.ts +111 -0
- package/dist/apps.js +9 -0
- package/dist/esm/api.d.ts +3806 -637
- package/dist/esm/api.js +6019 -1883
- package/dist/esm/apps.d.ts +111 -0
- package/dist/esm/apps.js +8 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/docs/AdvancedRecordQueryPlan.md +50 -0
- package/docs/AdvancedRecordQueryRequest.md +43 -0
- package/docs/AdvancedRecordQueryResponse.md +39 -0
- package/docs/AdvancedRecordQueryResultItem.md +32 -0
- package/docs/AggregateBatchRequest.md +21 -0
- package/docs/AggregateRequest.md +43 -0
- package/docs/AnalyticsAxisConfig.md +32 -0
- package/docs/AnalyticsComparisonMetric.md +28 -0
- package/docs/AnalyticsDashboardConfig.md +24 -0
- package/docs/AnalyticsPropertyRef.md +24 -0
- package/docs/AnalyticsReferenceLine.md +24 -0
- package/docs/AnalyticsSeriesConfig.md +20 -0
- package/docs/AnalyticsTrendConfig.md +22 -0
- package/docs/AnalyticsWidgetConfig.md +54 -0
- package/docs/AnalyticsWidgetStyle.md +32 -0
- package/docs/AppConnectionStatusDTO.md +38 -0
- package/docs/AppDTO.md +19 -1
- package/docs/AppExternalOAuthProviderDTO.md +59 -0
- package/docs/AppExternalOAuthProviderSummaryDTO.md +27 -0
- package/docs/AppInboundRouteDTO.md +49 -0
- package/docs/AppInstallationRuntimeApi.md +764 -0
- package/docs/AppOAuthStartResponseDTO.md +20 -0
- package/docs/AppPublishDTO.md +1 -1
- package/docs/AppScheduleDTO.md +47 -0
- package/docs/AppSettingFieldSchema.md +4 -0
- package/docs/AppSettingOptionsSource.md +2 -0
- package/docs/ApplicationsApi.md +228 -0
- package/docs/BillingApi.md +101 -0
- package/docs/BulkDeleteRecordsData.md +21 -0
- package/docs/BulkDeleteRecordsRequest.md +23 -0
- package/docs/BulkDeleteRecordsResponse.md +25 -0
- package/docs/BulkEditRecordErrorItem.md +27 -0
- package/docs/BulkEditRecordItem.md +25 -0
- package/docs/BulkEditRecordResultItem.md +25 -0
- package/docs/BulkEditRecordsData.md +21 -0
- package/docs/BulkEditRecordsRequest.md +21 -0
- package/docs/BulkEditRecordsResponse.md +25 -0
- package/docs/CompanyApi.md +157 -0
- package/docs/CreateDeveloperProjectRequest.md +25 -0
- package/docs/CreateDeveloperSandboxRequest.md +23 -0
- package/docs/CreatePrivateAppRequest.md +4 -0
- package/docs/CreateProjectBuildRequest.md +29 -0
- package/docs/CreateResponseAppExternalOAuthProviderDTO.md +23 -0
- package/docs/CreateResponseAppInboundRouteDTO.md +23 -0
- package/docs/CreateResponseAppScheduleDTO.md +23 -0
- package/docs/CriterionScore.md +30 -0
- package/docs/CrossObjectRecordSearchRequest.md +37 -0
- package/docs/DeleteResponseVoid.md +23 -0
- package/docs/DeployBuildRequest.md +23 -0
- package/docs/DeveloperProjectsApi.md +387 -0
- package/docs/DeveloperSandboxesApi.md +158 -0
- package/docs/DeviceApproveRequest.md +21 -0
- package/docs/DevicePollRequest.md +21 -0
- package/docs/ErrorResponse.md +2 -0
- package/docs/EventRsvpRequest.md +22 -0
- package/docs/ExistingWidgetSummary.md +34 -0
- package/docs/{MorphRecordRequest.md → ExtendRecordRequest.md} +5 -5
- package/docs/FilterItem.md +4 -0
- package/docs/GraphPathEvidence.md +28 -0
- package/docs/GraphTraversalSpec.md +32 -0
- package/docs/Leadscore.md +4 -0
- package/docs/MigrateAppToV2Request.md +21 -0
- package/docs/ObjectsApi.md +6 -6
- package/docs/PreviewDTO.md +2 -0
- package/docs/Progress.md +20 -0
- package/docs/PropertyDTO.md +4 -0
- package/docs/PropertyDTOFormat.md +2 -0
- package/docs/PropertyOption.md +2 -0
- package/docs/QueryEvidence.md +40 -0
- package/docs/Record.md +2 -2
- package/docs/RecordDTO.md +1 -1
- package/docs/RecordRelationRequestDTO.md +2 -0
- package/docs/RecordsApi.md +671 -75
- package/docs/Recurrence.md +18 -0
- package/docs/RefreshTokenRequest.md +21 -0
- package/docs/RelationEdgeRequestDTO.md +23 -0
- package/docs/SamplePayloadRequest.md +23 -0
- package/docs/SavePropertyDTO.md +5 -1
- package/docs/ScoreBreakdown.md +34 -0
- package/docs/ServerlessFunctionDTO.md +2 -0
- package/docs/ServerlessFunctionRefDTO.md +25 -0
- package/docs/ServerlessFunctionsApi.md +184 -8
- package/docs/ShowItem.md +2 -0
- package/docs/ShowResponseAppExternalOAuthProviderDTO.md +23 -0
- package/docs/ShowResponseAppInboundRouteDTO.md +23 -0
- package/docs/ShowResponseAppOAuthStartResponseDTO.md +23 -0
- package/docs/ShowResponseAppScheduleDTO.md +23 -0
- package/docs/ShowResponseListAppConnectionStatusDTO.md +23 -0
- package/docs/ShowResponseListString.md +23 -0
- package/docs/ShowResponseMapStringObject.md +23 -0
- package/docs/ShowResponseObject.md +23 -0
- package/docs/SortItem.md +2 -0
- package/docs/SuccessResponseListAppExternalOAuthProviderDTO.md +23 -0
- package/docs/SuccessResponseListAppInboundRouteDTO.md +23 -0
- package/docs/SuccessResponseListAppScheduleDTO.md +23 -0
- package/docs/SuggestAnalyticsWidgetsRequest.md +24 -0
- package/docs/Team.md +2 -2
- package/docs/TraitsApi.md +272 -0
- package/docs/UserRecordResponseDTO.md +1 -1
- package/docs/ViewDTO.md +12 -0
- package/index.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,764 @@
|
|
|
1
|
+
# AppInstallationRuntimeApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://v2.api.caraer.com*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**deleteSecret**](#deletesecret) | **DELETE** /api/v2/apps/{appUuid}/installation/secrets/{name} | Delete an encrypted secret|
|
|
8
|
+
|[**deleteStateKey**](#deletestatekey) | **DELETE** /api/v2/apps/{appUuid}/installation/state/{key} | Delete a state key|
|
|
9
|
+
|[**enqueueJob**](#enqueuejob) | **POST** /api/v2/apps/{appUuid}/installation/jobs | Enqueue an async serverless function job|
|
|
10
|
+
|[**getJob**](#getjob) | **GET** /api/v2/apps/{appUuid}/installation/jobs/{jobId} | Get async job status|
|
|
11
|
+
|[**getState**](#getstate) | **GET** /api/v2/apps/{appUuid}/installation/state | Get installation state map|
|
|
12
|
+
|[**getStateKey**](#getstatekey) | **GET** /api/v2/apps/{appUuid}/installation/state/{key} | Get a single state key|
|
|
13
|
+
|[**listConnections**](#listconnections) | **GET** /api/v2/apps/{appUuid}/installation/connections | List external OAuth connection status|
|
|
14
|
+
|[**listSecrets**](#listsecrets) | **GET** /api/v2/apps/{appUuid}/installation/secrets | List secret names (no values)|
|
|
15
|
+
|[**putSecret**](#putsecret) | **PUT** /api/v2/apps/{appUuid}/installation/secrets/{name} | Set an encrypted secret|
|
|
16
|
+
|[**putState**](#putstate) | **PUT** /api/v2/apps/{appUuid}/installation/state | Replace/merge installation state (shallow merge)|
|
|
17
|
+
|[**putStateKey**](#putstatekey) | **PUT** /api/v2/apps/{appUuid}/installation/state/{key} | Put a single state key|
|
|
18
|
+
|[**revokeConnection**](#revokeconnection) | **DELETE** /api/v2/apps/{appUuid}/installation/connections/{providerOrConnectionId} | Revoke external OAuth connection tokens by connection id or provider name|
|
|
19
|
+
|[**saveUserSettings**](#saveusersettings) | **PUT** /api/v2/apps/{appUuid}/installation/settings/user | Save USER-scoped installation settings for the current user|
|
|
20
|
+
|[**startOAuth**](#startoauth) | **POST** /api/v2/apps/{appUuid}/installation/oauth/{provider}/start | Start external OAuth authorize (returns provider authorize URL)|
|
|
21
|
+
|
|
22
|
+
# **deleteSecret**
|
|
23
|
+
> DeleteResponseVoid deleteSecret()
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Example
|
|
27
|
+
|
|
28
|
+
```typescript
|
|
29
|
+
import {
|
|
30
|
+
AppInstallationRuntimeApi,
|
|
31
|
+
Configuration
|
|
32
|
+
} from '@caraer/client';
|
|
33
|
+
|
|
34
|
+
const configuration = new Configuration();
|
|
35
|
+
const apiInstance = new AppInstallationRuntimeApi(configuration);
|
|
36
|
+
|
|
37
|
+
let appUuid: string; // (default to undefined)
|
|
38
|
+
let name: string; // (default to undefined)
|
|
39
|
+
|
|
40
|
+
const { status, data } = await apiInstance.deleteSecret(
|
|
41
|
+
appUuid,
|
|
42
|
+
name
|
|
43
|
+
);
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Parameters
|
|
47
|
+
|
|
48
|
+
|Name | Type | Description | Notes|
|
|
49
|
+
|------------- | ------------- | ------------- | -------------|
|
|
50
|
+
| **appUuid** | [**string**] | | defaults to undefined|
|
|
51
|
+
| **name** | [**string**] | | defaults to undefined|
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### Return type
|
|
55
|
+
|
|
56
|
+
**DeleteResponseVoid**
|
|
57
|
+
|
|
58
|
+
### Authorization
|
|
59
|
+
|
|
60
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
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** | OK | - |
|
|
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
|
+
# **deleteStateKey**
|
|
76
|
+
> DeleteResponse deleteStateKey()
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
### Example
|
|
80
|
+
|
|
81
|
+
```typescript
|
|
82
|
+
import {
|
|
83
|
+
AppInstallationRuntimeApi,
|
|
84
|
+
Configuration
|
|
85
|
+
} from '@caraer/client';
|
|
86
|
+
|
|
87
|
+
const configuration = new Configuration();
|
|
88
|
+
const apiInstance = new AppInstallationRuntimeApi(configuration);
|
|
89
|
+
|
|
90
|
+
let appUuid: string; // (default to undefined)
|
|
91
|
+
let key: string; // (default to undefined)
|
|
92
|
+
|
|
93
|
+
const { status, data } = await apiInstance.deleteStateKey(
|
|
94
|
+
appUuid,
|
|
95
|
+
key
|
|
96
|
+
);
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### Parameters
|
|
100
|
+
|
|
101
|
+
|Name | Type | Description | Notes|
|
|
102
|
+
|------------- | ------------- | ------------- | -------------|
|
|
103
|
+
| **appUuid** | [**string**] | | defaults to undefined|
|
|
104
|
+
| **key** | [**string**] | | defaults to undefined|
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
### Return type
|
|
108
|
+
|
|
109
|
+
**DeleteResponse**
|
|
110
|
+
|
|
111
|
+
### Authorization
|
|
112
|
+
|
|
113
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
114
|
+
|
|
115
|
+
### HTTP request headers
|
|
116
|
+
|
|
117
|
+
- **Content-Type**: Not defined
|
|
118
|
+
- **Accept**: application/json
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
### HTTP response details
|
|
122
|
+
| Status code | Description | Response headers |
|
|
123
|
+
|-------------|-------------|------------------|
|
|
124
|
+
|**200** | OK | - |
|
|
125
|
+
|
|
126
|
+
[[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)
|
|
127
|
+
|
|
128
|
+
# **enqueueJob**
|
|
129
|
+
> ShowResponseMapStringObject enqueueJob(requestBody)
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
### Example
|
|
133
|
+
|
|
134
|
+
```typescript
|
|
135
|
+
import {
|
|
136
|
+
AppInstallationRuntimeApi,
|
|
137
|
+
Configuration
|
|
138
|
+
} from '@caraer/client';
|
|
139
|
+
|
|
140
|
+
const configuration = new Configuration();
|
|
141
|
+
const apiInstance = new AppInstallationRuntimeApi(configuration);
|
|
142
|
+
|
|
143
|
+
let appUuid: string; // (default to undefined)
|
|
144
|
+
let requestBody: { [key: string]: any | null; }; //
|
|
145
|
+
|
|
146
|
+
const { status, data } = await apiInstance.enqueueJob(
|
|
147
|
+
appUuid,
|
|
148
|
+
requestBody
|
|
149
|
+
);
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### Parameters
|
|
153
|
+
|
|
154
|
+
|Name | Type | Description | Notes|
|
|
155
|
+
|------------- | ------------- | ------------- | -------------|
|
|
156
|
+
| **requestBody** | **{ [key: string]: any | null; }**| | |
|
|
157
|
+
| **appUuid** | [**string**] | | defaults to undefined|
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
### Return type
|
|
161
|
+
|
|
162
|
+
**ShowResponseMapStringObject**
|
|
163
|
+
|
|
164
|
+
### Authorization
|
|
165
|
+
|
|
166
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
167
|
+
|
|
168
|
+
### HTTP request headers
|
|
169
|
+
|
|
170
|
+
- **Content-Type**: application/json
|
|
171
|
+
- **Accept**: application/json
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
### HTTP response details
|
|
175
|
+
| Status code | Description | Response headers |
|
|
176
|
+
|-------------|-------------|------------------|
|
|
177
|
+
|**200** | OK | - |
|
|
178
|
+
|
|
179
|
+
[[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)
|
|
180
|
+
|
|
181
|
+
# **getJob**
|
|
182
|
+
> ShowResponseMapStringObject getJob()
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
### Example
|
|
186
|
+
|
|
187
|
+
```typescript
|
|
188
|
+
import {
|
|
189
|
+
AppInstallationRuntimeApi,
|
|
190
|
+
Configuration
|
|
191
|
+
} from '@caraer/client';
|
|
192
|
+
|
|
193
|
+
const configuration = new Configuration();
|
|
194
|
+
const apiInstance = new AppInstallationRuntimeApi(configuration);
|
|
195
|
+
|
|
196
|
+
let appUuid: string; // (default to undefined)
|
|
197
|
+
let jobId: string; // (default to undefined)
|
|
198
|
+
|
|
199
|
+
const { status, data } = await apiInstance.getJob(
|
|
200
|
+
appUuid,
|
|
201
|
+
jobId
|
|
202
|
+
);
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
### Parameters
|
|
206
|
+
|
|
207
|
+
|Name | Type | Description | Notes|
|
|
208
|
+
|------------- | ------------- | ------------- | -------------|
|
|
209
|
+
| **appUuid** | [**string**] | | defaults to undefined|
|
|
210
|
+
| **jobId** | [**string**] | | defaults to undefined|
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
### Return type
|
|
214
|
+
|
|
215
|
+
**ShowResponseMapStringObject**
|
|
216
|
+
|
|
217
|
+
### Authorization
|
|
218
|
+
|
|
219
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
220
|
+
|
|
221
|
+
### HTTP request headers
|
|
222
|
+
|
|
223
|
+
- **Content-Type**: Not defined
|
|
224
|
+
- **Accept**: application/json
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
### HTTP response details
|
|
228
|
+
| Status code | Description | Response headers |
|
|
229
|
+
|-------------|-------------|------------------|
|
|
230
|
+
|**200** | OK | - |
|
|
231
|
+
|
|
232
|
+
[[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)
|
|
233
|
+
|
|
234
|
+
# **getState**
|
|
235
|
+
> ShowResponseMapStringObject getState()
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
### Example
|
|
239
|
+
|
|
240
|
+
```typescript
|
|
241
|
+
import {
|
|
242
|
+
AppInstallationRuntimeApi,
|
|
243
|
+
Configuration
|
|
244
|
+
} from '@caraer/client';
|
|
245
|
+
|
|
246
|
+
const configuration = new Configuration();
|
|
247
|
+
const apiInstance = new AppInstallationRuntimeApi(configuration);
|
|
248
|
+
|
|
249
|
+
let appUuid: string; // (default to undefined)
|
|
250
|
+
|
|
251
|
+
const { status, data } = await apiInstance.getState(
|
|
252
|
+
appUuid
|
|
253
|
+
);
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
### Parameters
|
|
257
|
+
|
|
258
|
+
|Name | Type | Description | Notes|
|
|
259
|
+
|------------- | ------------- | ------------- | -------------|
|
|
260
|
+
| **appUuid** | [**string**] | | defaults to undefined|
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
### Return type
|
|
264
|
+
|
|
265
|
+
**ShowResponseMapStringObject**
|
|
266
|
+
|
|
267
|
+
### Authorization
|
|
268
|
+
|
|
269
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
270
|
+
|
|
271
|
+
### HTTP request headers
|
|
272
|
+
|
|
273
|
+
- **Content-Type**: Not defined
|
|
274
|
+
- **Accept**: application/json
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
### HTTP response details
|
|
278
|
+
| Status code | Description | Response headers |
|
|
279
|
+
|-------------|-------------|------------------|
|
|
280
|
+
|**200** | State map | - |
|
|
281
|
+
|**403** | Forbidden | - |
|
|
282
|
+
|
|
283
|
+
[[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)
|
|
284
|
+
|
|
285
|
+
# **getStateKey**
|
|
286
|
+
> ShowResponseObject getStateKey()
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
### Example
|
|
290
|
+
|
|
291
|
+
```typescript
|
|
292
|
+
import {
|
|
293
|
+
AppInstallationRuntimeApi,
|
|
294
|
+
Configuration
|
|
295
|
+
} from '@caraer/client';
|
|
296
|
+
|
|
297
|
+
const configuration = new Configuration();
|
|
298
|
+
const apiInstance = new AppInstallationRuntimeApi(configuration);
|
|
299
|
+
|
|
300
|
+
let appUuid: string; // (default to undefined)
|
|
301
|
+
let key: string; // (default to undefined)
|
|
302
|
+
|
|
303
|
+
const { status, data } = await apiInstance.getStateKey(
|
|
304
|
+
appUuid,
|
|
305
|
+
key
|
|
306
|
+
);
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
### Parameters
|
|
310
|
+
|
|
311
|
+
|Name | Type | Description | Notes|
|
|
312
|
+
|------------- | ------------- | ------------- | -------------|
|
|
313
|
+
| **appUuid** | [**string**] | | defaults to undefined|
|
|
314
|
+
| **key** | [**string**] | | defaults to undefined|
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
### Return type
|
|
318
|
+
|
|
319
|
+
**ShowResponseObject**
|
|
320
|
+
|
|
321
|
+
### Authorization
|
|
322
|
+
|
|
323
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
324
|
+
|
|
325
|
+
### HTTP request headers
|
|
326
|
+
|
|
327
|
+
- **Content-Type**: Not defined
|
|
328
|
+
- **Accept**: application/json
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
### HTTP response details
|
|
332
|
+
| Status code | Description | Response headers |
|
|
333
|
+
|-------------|-------------|------------------|
|
|
334
|
+
|**200** | OK | - |
|
|
335
|
+
|
|
336
|
+
[[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)
|
|
337
|
+
|
|
338
|
+
# **listConnections**
|
|
339
|
+
> ShowResponseListAppConnectionStatusDTO listConnections()
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
### Example
|
|
343
|
+
|
|
344
|
+
```typescript
|
|
345
|
+
import {
|
|
346
|
+
AppInstallationRuntimeApi,
|
|
347
|
+
Configuration
|
|
348
|
+
} from '@caraer/client';
|
|
349
|
+
|
|
350
|
+
const configuration = new Configuration();
|
|
351
|
+
const apiInstance = new AppInstallationRuntimeApi(configuration);
|
|
352
|
+
|
|
353
|
+
let appUuid: string; // (default to undefined)
|
|
354
|
+
|
|
355
|
+
const { status, data } = await apiInstance.listConnections(
|
|
356
|
+
appUuid
|
|
357
|
+
);
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
### Parameters
|
|
361
|
+
|
|
362
|
+
|Name | Type | Description | Notes|
|
|
363
|
+
|------------- | ------------- | ------------- | -------------|
|
|
364
|
+
| **appUuid** | [**string**] | | defaults to undefined|
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
### Return type
|
|
368
|
+
|
|
369
|
+
**ShowResponseListAppConnectionStatusDTO**
|
|
370
|
+
|
|
371
|
+
### Authorization
|
|
372
|
+
|
|
373
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
374
|
+
|
|
375
|
+
### HTTP request headers
|
|
376
|
+
|
|
377
|
+
- **Content-Type**: Not defined
|
|
378
|
+
- **Accept**: application/json
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
### HTTP response details
|
|
382
|
+
| Status code | Description | Response headers |
|
|
383
|
+
|-------------|-------------|------------------|
|
|
384
|
+
|**200** | OK | - |
|
|
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
|
+
|
|
388
|
+
# **listSecrets**
|
|
389
|
+
> ShowResponseListString listSecrets()
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
### Example
|
|
393
|
+
|
|
394
|
+
```typescript
|
|
395
|
+
import {
|
|
396
|
+
AppInstallationRuntimeApi,
|
|
397
|
+
Configuration
|
|
398
|
+
} from '@caraer/client';
|
|
399
|
+
|
|
400
|
+
const configuration = new Configuration();
|
|
401
|
+
const apiInstance = new AppInstallationRuntimeApi(configuration);
|
|
402
|
+
|
|
403
|
+
let appUuid: string; // (default to undefined)
|
|
404
|
+
|
|
405
|
+
const { status, data } = await apiInstance.listSecrets(
|
|
406
|
+
appUuid
|
|
407
|
+
);
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
### Parameters
|
|
411
|
+
|
|
412
|
+
|Name | Type | Description | Notes|
|
|
413
|
+
|------------- | ------------- | ------------- | -------------|
|
|
414
|
+
| **appUuid** | [**string**] | | defaults to undefined|
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
### Return type
|
|
418
|
+
|
|
419
|
+
**ShowResponseListString**
|
|
420
|
+
|
|
421
|
+
### Authorization
|
|
422
|
+
|
|
423
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
424
|
+
|
|
425
|
+
### HTTP request headers
|
|
426
|
+
|
|
427
|
+
- **Content-Type**: Not defined
|
|
428
|
+
- **Accept**: application/json
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
### HTTP response details
|
|
432
|
+
| Status code | Description | Response headers |
|
|
433
|
+
|-------------|-------------|------------------|
|
|
434
|
+
|**200** | OK | - |
|
|
435
|
+
|
|
436
|
+
[[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)
|
|
437
|
+
|
|
438
|
+
# **putSecret**
|
|
439
|
+
> SuccessResponseVoid putSecret(requestBody)
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
### Example
|
|
443
|
+
|
|
444
|
+
```typescript
|
|
445
|
+
import {
|
|
446
|
+
AppInstallationRuntimeApi,
|
|
447
|
+
Configuration
|
|
448
|
+
} from '@caraer/client';
|
|
449
|
+
|
|
450
|
+
const configuration = new Configuration();
|
|
451
|
+
const apiInstance = new AppInstallationRuntimeApi(configuration);
|
|
452
|
+
|
|
453
|
+
let appUuid: string; // (default to undefined)
|
|
454
|
+
let name: string; // (default to undefined)
|
|
455
|
+
let requestBody: { [key: string]: any | null; }; //
|
|
456
|
+
|
|
457
|
+
const { status, data } = await apiInstance.putSecret(
|
|
458
|
+
appUuid,
|
|
459
|
+
name,
|
|
460
|
+
requestBody
|
|
461
|
+
);
|
|
462
|
+
```
|
|
463
|
+
|
|
464
|
+
### Parameters
|
|
465
|
+
|
|
466
|
+
|Name | Type | Description | Notes|
|
|
467
|
+
|------------- | ------------- | ------------- | -------------|
|
|
468
|
+
| **requestBody** | **{ [key: string]: any | null; }**| | |
|
|
469
|
+
| **appUuid** | [**string**] | | defaults to undefined|
|
|
470
|
+
| **name** | [**string**] | | defaults to undefined|
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
### Return type
|
|
474
|
+
|
|
475
|
+
**SuccessResponseVoid**
|
|
476
|
+
|
|
477
|
+
### Authorization
|
|
478
|
+
|
|
479
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
480
|
+
|
|
481
|
+
### HTTP request headers
|
|
482
|
+
|
|
483
|
+
- **Content-Type**: application/json
|
|
484
|
+
- **Accept**: application/json
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
### HTTP response details
|
|
488
|
+
| Status code | Description | Response headers |
|
|
489
|
+
|-------------|-------------|------------------|
|
|
490
|
+
|**200** | OK | - |
|
|
491
|
+
|
|
492
|
+
[[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)
|
|
493
|
+
|
|
494
|
+
# **putState**
|
|
495
|
+
> ShowResponseMapStringObject putState(requestBody)
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
### Example
|
|
499
|
+
|
|
500
|
+
```typescript
|
|
501
|
+
import {
|
|
502
|
+
AppInstallationRuntimeApi,
|
|
503
|
+
Configuration
|
|
504
|
+
} from '@caraer/client';
|
|
505
|
+
|
|
506
|
+
const configuration = new Configuration();
|
|
507
|
+
const apiInstance = new AppInstallationRuntimeApi(configuration);
|
|
508
|
+
|
|
509
|
+
let appUuid: string; // (default to undefined)
|
|
510
|
+
let requestBody: { [key: string]: any | null; }; //
|
|
511
|
+
|
|
512
|
+
const { status, data } = await apiInstance.putState(
|
|
513
|
+
appUuid,
|
|
514
|
+
requestBody
|
|
515
|
+
);
|
|
516
|
+
```
|
|
517
|
+
|
|
518
|
+
### Parameters
|
|
519
|
+
|
|
520
|
+
|Name | Type | Description | Notes|
|
|
521
|
+
|------------- | ------------- | ------------- | -------------|
|
|
522
|
+
| **requestBody** | **{ [key: string]: any | null; }**| | |
|
|
523
|
+
| **appUuid** | [**string**] | | defaults to undefined|
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
### Return type
|
|
527
|
+
|
|
528
|
+
**ShowResponseMapStringObject**
|
|
529
|
+
|
|
530
|
+
### Authorization
|
|
531
|
+
|
|
532
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
533
|
+
|
|
534
|
+
### HTTP request headers
|
|
535
|
+
|
|
536
|
+
- **Content-Type**: application/json
|
|
537
|
+
- **Accept**: application/json
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
### HTTP response details
|
|
541
|
+
| Status code | Description | Response headers |
|
|
542
|
+
|-------------|-------------|------------------|
|
|
543
|
+
|**200** | OK | - |
|
|
544
|
+
|
|
545
|
+
[[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)
|
|
546
|
+
|
|
547
|
+
# **putStateKey**
|
|
548
|
+
> ShowResponseObject putStateKey(body)
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
### Example
|
|
552
|
+
|
|
553
|
+
```typescript
|
|
554
|
+
import {
|
|
555
|
+
AppInstallationRuntimeApi,
|
|
556
|
+
Configuration
|
|
557
|
+
} from '@caraer/client';
|
|
558
|
+
|
|
559
|
+
const configuration = new Configuration();
|
|
560
|
+
const apiInstance = new AppInstallationRuntimeApi(configuration);
|
|
561
|
+
|
|
562
|
+
let appUuid: string; // (default to undefined)
|
|
563
|
+
let key: string; // (default to undefined)
|
|
564
|
+
let body: object; //
|
|
565
|
+
|
|
566
|
+
const { status, data } = await apiInstance.putStateKey(
|
|
567
|
+
appUuid,
|
|
568
|
+
key,
|
|
569
|
+
body
|
|
570
|
+
);
|
|
571
|
+
```
|
|
572
|
+
|
|
573
|
+
### Parameters
|
|
574
|
+
|
|
575
|
+
|Name | Type | Description | Notes|
|
|
576
|
+
|------------- | ------------- | ------------- | -------------|
|
|
577
|
+
| **body** | **object**| | |
|
|
578
|
+
| **appUuid** | [**string**] | | defaults to undefined|
|
|
579
|
+
| **key** | [**string**] | | defaults to undefined|
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
### Return type
|
|
583
|
+
|
|
584
|
+
**ShowResponseObject**
|
|
585
|
+
|
|
586
|
+
### Authorization
|
|
587
|
+
|
|
588
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
589
|
+
|
|
590
|
+
### HTTP request headers
|
|
591
|
+
|
|
592
|
+
- **Content-Type**: application/json
|
|
593
|
+
- **Accept**: application/json
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
### HTTP response details
|
|
597
|
+
| Status code | Description | Response headers |
|
|
598
|
+
|-------------|-------------|------------------|
|
|
599
|
+
|**200** | OK | - |
|
|
600
|
+
|
|
601
|
+
[[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)
|
|
602
|
+
|
|
603
|
+
# **revokeConnection**
|
|
604
|
+
> DeleteResponseVoid revokeConnection()
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
### Example
|
|
608
|
+
|
|
609
|
+
```typescript
|
|
610
|
+
import {
|
|
611
|
+
AppInstallationRuntimeApi,
|
|
612
|
+
Configuration
|
|
613
|
+
} from '@caraer/client';
|
|
614
|
+
|
|
615
|
+
const configuration = new Configuration();
|
|
616
|
+
const apiInstance = new AppInstallationRuntimeApi(configuration);
|
|
617
|
+
|
|
618
|
+
let appUuid: string; // (default to undefined)
|
|
619
|
+
let providerOrConnectionId: string; // (default to undefined)
|
|
620
|
+
|
|
621
|
+
const { status, data } = await apiInstance.revokeConnection(
|
|
622
|
+
appUuid,
|
|
623
|
+
providerOrConnectionId
|
|
624
|
+
);
|
|
625
|
+
```
|
|
626
|
+
|
|
627
|
+
### Parameters
|
|
628
|
+
|
|
629
|
+
|Name | Type | Description | Notes|
|
|
630
|
+
|------------- | ------------- | ------------- | -------------|
|
|
631
|
+
| **appUuid** | [**string**] | | defaults to undefined|
|
|
632
|
+
| **providerOrConnectionId** | [**string**] | | defaults to undefined|
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
### Return type
|
|
636
|
+
|
|
637
|
+
**DeleteResponseVoid**
|
|
638
|
+
|
|
639
|
+
### Authorization
|
|
640
|
+
|
|
641
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
642
|
+
|
|
643
|
+
### HTTP request headers
|
|
644
|
+
|
|
645
|
+
- **Content-Type**: Not defined
|
|
646
|
+
- **Accept**: application/json
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
### HTTP response details
|
|
650
|
+
| Status code | Description | Response headers |
|
|
651
|
+
|-------------|-------------|------------------|
|
|
652
|
+
|**200** | OK | - |
|
|
653
|
+
|
|
654
|
+
[[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)
|
|
655
|
+
|
|
656
|
+
# **saveUserSettings**
|
|
657
|
+
> SuccessResponseVoid saveUserSettings(appSettingFieldSchema)
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
### Example
|
|
661
|
+
|
|
662
|
+
```typescript
|
|
663
|
+
import {
|
|
664
|
+
AppInstallationRuntimeApi,
|
|
665
|
+
Configuration
|
|
666
|
+
} from '@caraer/client';
|
|
667
|
+
|
|
668
|
+
const configuration = new Configuration();
|
|
669
|
+
const apiInstance = new AppInstallationRuntimeApi(configuration);
|
|
670
|
+
|
|
671
|
+
let appUuid: string; // (default to undefined)
|
|
672
|
+
let appSettingFieldSchema: Array<AppSettingFieldSchema>; //
|
|
673
|
+
|
|
674
|
+
const { status, data } = await apiInstance.saveUserSettings(
|
|
675
|
+
appUuid,
|
|
676
|
+
appSettingFieldSchema
|
|
677
|
+
);
|
|
678
|
+
```
|
|
679
|
+
|
|
680
|
+
### Parameters
|
|
681
|
+
|
|
682
|
+
|Name | Type | Description | Notes|
|
|
683
|
+
|------------- | ------------- | ------------- | -------------|
|
|
684
|
+
| **appSettingFieldSchema** | **Array<AppSettingFieldSchema>**| | |
|
|
685
|
+
| **appUuid** | [**string**] | | defaults to undefined|
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
### Return type
|
|
689
|
+
|
|
690
|
+
**SuccessResponseVoid**
|
|
691
|
+
|
|
692
|
+
### Authorization
|
|
693
|
+
|
|
694
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
695
|
+
|
|
696
|
+
### HTTP request headers
|
|
697
|
+
|
|
698
|
+
- **Content-Type**: application/json
|
|
699
|
+
- **Accept**: application/json
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
### HTTP response details
|
|
703
|
+
| Status code | Description | Response headers |
|
|
704
|
+
|-------------|-------------|------------------|
|
|
705
|
+
|**200** | OK | - |
|
|
706
|
+
|
|
707
|
+
[[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)
|
|
708
|
+
|
|
709
|
+
# **startOAuth**
|
|
710
|
+
> ShowResponseAppOAuthStartResponseDTO startOAuth()
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
### Example
|
|
714
|
+
|
|
715
|
+
```typescript
|
|
716
|
+
import {
|
|
717
|
+
AppInstallationRuntimeApi,
|
|
718
|
+
Configuration
|
|
719
|
+
} from '@caraer/client';
|
|
720
|
+
|
|
721
|
+
const configuration = new Configuration();
|
|
722
|
+
const apiInstance = new AppInstallationRuntimeApi(configuration);
|
|
723
|
+
|
|
724
|
+
let appUuid: string; // (default to undefined)
|
|
725
|
+
let provider: string; // (default to undefined)
|
|
726
|
+
let redirectUri: string; // (optional) (default to undefined)
|
|
727
|
+
|
|
728
|
+
const { status, data } = await apiInstance.startOAuth(
|
|
729
|
+
appUuid,
|
|
730
|
+
provider,
|
|
731
|
+
redirectUri
|
|
732
|
+
);
|
|
733
|
+
```
|
|
734
|
+
|
|
735
|
+
### Parameters
|
|
736
|
+
|
|
737
|
+
|Name | Type | Description | Notes|
|
|
738
|
+
|------------- | ------------- | ------------- | -------------|
|
|
739
|
+
| **appUuid** | [**string**] | | defaults to undefined|
|
|
740
|
+
| **provider** | [**string**] | | defaults to undefined|
|
|
741
|
+
| **redirectUri** | [**string**] | | (optional) defaults to undefined|
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
### Return type
|
|
745
|
+
|
|
746
|
+
**ShowResponseAppOAuthStartResponseDTO**
|
|
747
|
+
|
|
748
|
+
### Authorization
|
|
749
|
+
|
|
750
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
751
|
+
|
|
752
|
+
### HTTP request headers
|
|
753
|
+
|
|
754
|
+
- **Content-Type**: Not defined
|
|
755
|
+
- **Accept**: application/json
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
### HTTP response details
|
|
759
|
+
| Status code | Description | Response headers |
|
|
760
|
+
|-------------|-------------|------------------|
|
|
761
|
+
|**200** | OK | - |
|
|
762
|
+
|
|
763
|
+
[[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)
|
|
764
|
+
|