@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,387 @@
|
|
|
1
|
+
# DeveloperProjectsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://v2.api.caraer.com*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**create2**](#create2) | **POST** /api/v2/developer-projects | Create or fetch a developer project|
|
|
8
|
+
|[**createBuild**](#createbuild) | **POST** /api/v2/developer-projects/{projectUuid}/builds | Upload a project build|
|
|
9
|
+
|[**deploy**](#deploy) | **POST** /api/v2/developer-projects/{projectUuid}/builds/{buildUuid}/deploy | Deploy a project build|
|
|
10
|
+
|[**getBuild**](#getbuild) | **GET** /api/v2/developer-projects/{projectUuid}/builds/{buildUuid} | Get a project build|
|
|
11
|
+
|[**listBuilds**](#listbuilds) | **GET** /api/v2/developer-projects/{projectUuid}/builds | List project builds|
|
|
12
|
+
|[**listDeploys**](#listdeploys) | **GET** /api/v2/developer-projects/{projectUuid}/deploys | List project deploys|
|
|
13
|
+
|[**show3**](#show3) | **GET** /api/v2/developer-projects/{uuid} | Get a developer project|
|
|
14
|
+
|
|
15
|
+
# **create2**
|
|
16
|
+
> CreateResponse create2(createDeveloperProjectRequest)
|
|
17
|
+
|
|
18
|
+
Creates a developer project linked to the given app, or returns the existing one if already linked. Creator company only.
|
|
19
|
+
|
|
20
|
+
### Example
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import {
|
|
24
|
+
DeveloperProjectsApi,
|
|
25
|
+
Configuration,
|
|
26
|
+
CreateDeveloperProjectRequest
|
|
27
|
+
} from '@caraer/client';
|
|
28
|
+
|
|
29
|
+
const configuration = new Configuration();
|
|
30
|
+
const apiInstance = new DeveloperProjectsApi(configuration);
|
|
31
|
+
|
|
32
|
+
let createDeveloperProjectRequest: CreateDeveloperProjectRequest; //
|
|
33
|
+
|
|
34
|
+
const { status, data } = await apiInstance.create2(
|
|
35
|
+
createDeveloperProjectRequest
|
|
36
|
+
);
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Parameters
|
|
40
|
+
|
|
41
|
+
|Name | Type | Description | Notes|
|
|
42
|
+
|------------- | ------------- | ------------- | -------------|
|
|
43
|
+
| **createDeveloperProjectRequest** | **CreateDeveloperProjectRequest**| | |
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Return type
|
|
47
|
+
|
|
48
|
+
**CreateResponse**
|
|
49
|
+
|
|
50
|
+
### Authorization
|
|
51
|
+
|
|
52
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
53
|
+
|
|
54
|
+
### HTTP request headers
|
|
55
|
+
|
|
56
|
+
- **Content-Type**: application/json
|
|
57
|
+
- **Accept**: application/json
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### HTTP response details
|
|
61
|
+
| Status code | Description | Response headers |
|
|
62
|
+
|-------------|-------------|------------------|
|
|
63
|
+
|**200** | Project created or fetched | - |
|
|
64
|
+
|**400** | appUuid is required | - |
|
|
65
|
+
|**403** | Caller is not the app creator | - |
|
|
66
|
+
|
|
67
|
+
[[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)
|
|
68
|
+
|
|
69
|
+
# **createBuild**
|
|
70
|
+
> CreateResponse createBuild(createProjectBuildRequest)
|
|
71
|
+
|
|
72
|
+
Decodes a base64-encoded project archive, parses its manifest, uploads it to Cloud Storage, and records an immutable build.
|
|
73
|
+
|
|
74
|
+
### Example
|
|
75
|
+
|
|
76
|
+
```typescript
|
|
77
|
+
import {
|
|
78
|
+
DeveloperProjectsApi,
|
|
79
|
+
Configuration,
|
|
80
|
+
CreateProjectBuildRequest
|
|
81
|
+
} from '@caraer/client';
|
|
82
|
+
|
|
83
|
+
const configuration = new Configuration();
|
|
84
|
+
const apiInstance = new DeveloperProjectsApi(configuration);
|
|
85
|
+
|
|
86
|
+
let projectUuid: string; //UUID of the developer project (default to undefined)
|
|
87
|
+
let createProjectBuildRequest: CreateProjectBuildRequest; //
|
|
88
|
+
|
|
89
|
+
const { status, data } = await apiInstance.createBuild(
|
|
90
|
+
projectUuid,
|
|
91
|
+
createProjectBuildRequest
|
|
92
|
+
);
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Parameters
|
|
96
|
+
|
|
97
|
+
|Name | Type | Description | Notes|
|
|
98
|
+
|------------- | ------------- | ------------- | -------------|
|
|
99
|
+
| **createProjectBuildRequest** | **CreateProjectBuildRequest**| | |
|
|
100
|
+
| **projectUuid** | [**string**] | UUID of the developer project | defaults to undefined|
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
### Return type
|
|
104
|
+
|
|
105
|
+
**CreateResponse**
|
|
106
|
+
|
|
107
|
+
### Authorization
|
|
108
|
+
|
|
109
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
110
|
+
|
|
111
|
+
### HTTP request headers
|
|
112
|
+
|
|
113
|
+
- **Content-Type**: application/json
|
|
114
|
+
- **Accept**: application/json
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
### HTTP response details
|
|
118
|
+
| Status code | Description | Response headers |
|
|
119
|
+
|-------------|-------------|------------------|
|
|
120
|
+
|**200** | Build recorded (may still have status FAILED if parsing/upload failed) | - |
|
|
121
|
+
|**400** | archiveBase64 is required | - |
|
|
122
|
+
|
|
123
|
+
[[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)
|
|
124
|
+
|
|
125
|
+
# **deploy**
|
|
126
|
+
> CreateResponse deploy()
|
|
127
|
+
|
|
128
|
+
Reconciles the build\'s manifest (app details, serverless functions, webhooks, schedules, inbound routes, external OAuth providers) against the linked app. Set prune=true to soft-delete remote resources absent from the archive.
|
|
129
|
+
|
|
130
|
+
### Example
|
|
131
|
+
|
|
132
|
+
```typescript
|
|
133
|
+
import {
|
|
134
|
+
DeveloperProjectsApi,
|
|
135
|
+
Configuration,
|
|
136
|
+
DeployBuildRequest
|
|
137
|
+
} from '@caraer/client';
|
|
138
|
+
|
|
139
|
+
const configuration = new Configuration();
|
|
140
|
+
const apiInstance = new DeveloperProjectsApi(configuration);
|
|
141
|
+
|
|
142
|
+
let projectUuid: string; //UUID of the developer project (default to undefined)
|
|
143
|
+
let buildUuid: string; //UUID of the build to deploy (default to undefined)
|
|
144
|
+
let deployBuildRequest: DeployBuildRequest; // (optional)
|
|
145
|
+
|
|
146
|
+
const { status, data } = await apiInstance.deploy(
|
|
147
|
+
projectUuid,
|
|
148
|
+
buildUuid,
|
|
149
|
+
deployBuildRequest
|
|
150
|
+
);
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### Parameters
|
|
154
|
+
|
|
155
|
+
|Name | Type | Description | Notes|
|
|
156
|
+
|------------- | ------------- | ------------- | -------------|
|
|
157
|
+
| **deployBuildRequest** | **DeployBuildRequest**| | |
|
|
158
|
+
| **projectUuid** | [**string**] | UUID of the developer project | defaults to undefined|
|
|
159
|
+
| **buildUuid** | [**string**] | UUID of the build to deploy | defaults to undefined|
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
### Return type
|
|
163
|
+
|
|
164
|
+
**CreateResponse**
|
|
165
|
+
|
|
166
|
+
### Authorization
|
|
167
|
+
|
|
168
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
169
|
+
|
|
170
|
+
### HTTP request headers
|
|
171
|
+
|
|
172
|
+
- **Content-Type**: application/json
|
|
173
|
+
- **Accept**: application/json
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
### HTTP response details
|
|
177
|
+
| Status code | Description | Response headers |
|
|
178
|
+
|-------------|-------------|------------------|
|
|
179
|
+
|**200** | Deploy recorded | - |
|
|
180
|
+
|**400** | Build is not ready to deploy | - |
|
|
181
|
+
|
|
182
|
+
[[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)
|
|
183
|
+
|
|
184
|
+
# **getBuild**
|
|
185
|
+
> getBuild()
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
### Example
|
|
189
|
+
|
|
190
|
+
```typescript
|
|
191
|
+
import {
|
|
192
|
+
DeveloperProjectsApi,
|
|
193
|
+
Configuration
|
|
194
|
+
} from '@caraer/client';
|
|
195
|
+
|
|
196
|
+
const configuration = new Configuration();
|
|
197
|
+
const apiInstance = new DeveloperProjectsApi(configuration);
|
|
198
|
+
|
|
199
|
+
let projectUuid: string; //UUID of the developer project (default to undefined)
|
|
200
|
+
let buildUuid: string; //UUID of the build (default to undefined)
|
|
201
|
+
|
|
202
|
+
const { status, data } = await apiInstance.getBuild(
|
|
203
|
+
projectUuid,
|
|
204
|
+
buildUuid
|
|
205
|
+
);
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
### Parameters
|
|
209
|
+
|
|
210
|
+
|Name | Type | Description | Notes|
|
|
211
|
+
|------------- | ------------- | ------------- | -------------|
|
|
212
|
+
| **projectUuid** | [**string**] | UUID of the developer project | defaults to undefined|
|
|
213
|
+
| **buildUuid** | [**string**] | UUID of the build | defaults to undefined|
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
### Return type
|
|
217
|
+
|
|
218
|
+
void (empty response body)
|
|
219
|
+
|
|
220
|
+
### Authorization
|
|
221
|
+
|
|
222
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
223
|
+
|
|
224
|
+
### HTTP request headers
|
|
225
|
+
|
|
226
|
+
- **Content-Type**: Not defined
|
|
227
|
+
- **Accept**: application/json
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
### HTTP response details
|
|
231
|
+
| Status code | Description | Response headers |
|
|
232
|
+
|-------------|-------------|------------------|
|
|
233
|
+
|**404** | Build not found for this project | - |
|
|
234
|
+
|
|
235
|
+
[[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)
|
|
236
|
+
|
|
237
|
+
# **listBuilds**
|
|
238
|
+
> any listBuilds()
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
### Example
|
|
242
|
+
|
|
243
|
+
```typescript
|
|
244
|
+
import {
|
|
245
|
+
DeveloperProjectsApi,
|
|
246
|
+
Configuration
|
|
247
|
+
} from '@caraer/client';
|
|
248
|
+
|
|
249
|
+
const configuration = new Configuration();
|
|
250
|
+
const apiInstance = new DeveloperProjectsApi(configuration);
|
|
251
|
+
|
|
252
|
+
let projectUuid: string; //UUID of the developer project (default to undefined)
|
|
253
|
+
|
|
254
|
+
const { status, data } = await apiInstance.listBuilds(
|
|
255
|
+
projectUuid
|
|
256
|
+
);
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
### Parameters
|
|
260
|
+
|
|
261
|
+
|Name | Type | Description | Notes|
|
|
262
|
+
|------------- | ------------- | ------------- | -------------|
|
|
263
|
+
| **projectUuid** | [**string**] | UUID of the developer project | defaults to undefined|
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
### Return type
|
|
267
|
+
|
|
268
|
+
**any**
|
|
269
|
+
|
|
270
|
+
### Authorization
|
|
271
|
+
|
|
272
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
273
|
+
|
|
274
|
+
### HTTP request headers
|
|
275
|
+
|
|
276
|
+
- **Content-Type**: Not defined
|
|
277
|
+
- **Accept**: application/json
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
### HTTP response details
|
|
281
|
+
| Status code | Description | Response headers |
|
|
282
|
+
|-------------|-------------|------------------|
|
|
283
|
+
|**200** | OK | - |
|
|
284
|
+
|
|
285
|
+
[[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)
|
|
286
|
+
|
|
287
|
+
# **listDeploys**
|
|
288
|
+
> any listDeploys()
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
### Example
|
|
292
|
+
|
|
293
|
+
```typescript
|
|
294
|
+
import {
|
|
295
|
+
DeveloperProjectsApi,
|
|
296
|
+
Configuration
|
|
297
|
+
} from '@caraer/client';
|
|
298
|
+
|
|
299
|
+
const configuration = new Configuration();
|
|
300
|
+
const apiInstance = new DeveloperProjectsApi(configuration);
|
|
301
|
+
|
|
302
|
+
let projectUuid: string; //UUID of the developer project (default to undefined)
|
|
303
|
+
|
|
304
|
+
const { status, data } = await apiInstance.listDeploys(
|
|
305
|
+
projectUuid
|
|
306
|
+
);
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
### Parameters
|
|
310
|
+
|
|
311
|
+
|Name | Type | Description | Notes|
|
|
312
|
+
|------------- | ------------- | ------------- | -------------|
|
|
313
|
+
| **projectUuid** | [**string**] | UUID of the developer project | defaults to undefined|
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
### Return type
|
|
317
|
+
|
|
318
|
+
**any**
|
|
319
|
+
|
|
320
|
+
### Authorization
|
|
321
|
+
|
|
322
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
323
|
+
|
|
324
|
+
### HTTP request headers
|
|
325
|
+
|
|
326
|
+
- **Content-Type**: Not defined
|
|
327
|
+
- **Accept**: application/json
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
### HTTP response details
|
|
331
|
+
| Status code | Description | Response headers |
|
|
332
|
+
|-------------|-------------|------------------|
|
|
333
|
+
|**200** | OK | - |
|
|
334
|
+
|
|
335
|
+
[[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)
|
|
336
|
+
|
|
337
|
+
# **show3**
|
|
338
|
+
> ShowResponse show3()
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
### Example
|
|
342
|
+
|
|
343
|
+
```typescript
|
|
344
|
+
import {
|
|
345
|
+
DeveloperProjectsApi,
|
|
346
|
+
Configuration
|
|
347
|
+
} from '@caraer/client';
|
|
348
|
+
|
|
349
|
+
const configuration = new Configuration();
|
|
350
|
+
const apiInstance = new DeveloperProjectsApi(configuration);
|
|
351
|
+
|
|
352
|
+
let uuid: string; //UUID of the developer project (default to undefined)
|
|
353
|
+
|
|
354
|
+
const { status, data } = await apiInstance.show3(
|
|
355
|
+
uuid
|
|
356
|
+
);
|
|
357
|
+
```
|
|
358
|
+
|
|
359
|
+
### Parameters
|
|
360
|
+
|
|
361
|
+
|Name | Type | Description | Notes|
|
|
362
|
+
|------------- | ------------- | ------------- | -------------|
|
|
363
|
+
| **uuid** | [**string**] | UUID of the developer project | defaults to undefined|
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
### Return type
|
|
367
|
+
|
|
368
|
+
**ShowResponse**
|
|
369
|
+
|
|
370
|
+
### Authorization
|
|
371
|
+
|
|
372
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
373
|
+
|
|
374
|
+
### HTTP request headers
|
|
375
|
+
|
|
376
|
+
- **Content-Type**: Not defined
|
|
377
|
+
- **Accept**: application/json
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
### HTTP response details
|
|
381
|
+
| Status code | Description | Response headers |
|
|
382
|
+
|-------------|-------------|------------------|
|
|
383
|
+
|**200** | Project retrieved | - |
|
|
384
|
+
|**404** | Project not found | - |
|
|
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,158 @@
|
|
|
1
|
+
# DeveloperSandboxesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://v2.api.caraer.com*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**create1**](#create1) | **POST** /api/v2/developer-sandboxes | Create a developer sandbox|
|
|
8
|
+
|[**list**](#list) | **GET** /api/v2/developer-sandboxes | List developer sandboxes|
|
|
9
|
+
|[**show2**](#show2) | **GET** /api/v2/developer-sandboxes/{uuid} | Get a developer sandbox|
|
|
10
|
+
|
|
11
|
+
# **create1**
|
|
12
|
+
> CreateResponse create1(createDeveloperSandboxRequest)
|
|
13
|
+
|
|
14
|
+
Clones the selected company\'s Neo4j database (no new Company node). Activate with X-Caraer-Sandbox-Uuid; company identity stays the owner.
|
|
15
|
+
|
|
16
|
+
### Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import {
|
|
20
|
+
DeveloperSandboxesApi,
|
|
21
|
+
Configuration,
|
|
22
|
+
CreateDeveloperSandboxRequest
|
|
23
|
+
} from '@caraer/client';
|
|
24
|
+
|
|
25
|
+
const configuration = new Configuration();
|
|
26
|
+
const apiInstance = new DeveloperSandboxesApi(configuration);
|
|
27
|
+
|
|
28
|
+
let createDeveloperSandboxRequest: CreateDeveloperSandboxRequest; //
|
|
29
|
+
|
|
30
|
+
const { status, data } = await apiInstance.create1(
|
|
31
|
+
createDeveloperSandboxRequest
|
|
32
|
+
);
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Parameters
|
|
36
|
+
|
|
37
|
+
|Name | Type | Description | Notes|
|
|
38
|
+
|------------- | ------------- | ------------- | -------------|
|
|
39
|
+
| **createDeveloperSandboxRequest** | **CreateDeveloperSandboxRequest**| | |
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
### Return type
|
|
43
|
+
|
|
44
|
+
**CreateResponse**
|
|
45
|
+
|
|
46
|
+
### Authorization
|
|
47
|
+
|
|
48
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
49
|
+
|
|
50
|
+
### HTTP request headers
|
|
51
|
+
|
|
52
|
+
- **Content-Type**: application/json
|
|
53
|
+
- **Accept**: application/json
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### HTTP response details
|
|
57
|
+
| Status code | Description | Response headers |
|
|
58
|
+
|-------------|-------------|------------------|
|
|
59
|
+
|**200** | Sandbox created | - |
|
|
60
|
+
|**400** | name is required | - |
|
|
61
|
+
|
|
62
|
+
[[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)
|
|
63
|
+
|
|
64
|
+
# **list**
|
|
65
|
+
> any list()
|
|
66
|
+
|
|
67
|
+
Lists sandboxes owned by the caller\'s selected company.
|
|
68
|
+
|
|
69
|
+
### Example
|
|
70
|
+
|
|
71
|
+
```typescript
|
|
72
|
+
import {
|
|
73
|
+
DeveloperSandboxesApi,
|
|
74
|
+
Configuration
|
|
75
|
+
} from '@caraer/client';
|
|
76
|
+
|
|
77
|
+
const configuration = new Configuration();
|
|
78
|
+
const apiInstance = new DeveloperSandboxesApi(configuration);
|
|
79
|
+
|
|
80
|
+
const { status, data } = await apiInstance.list();
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### Parameters
|
|
84
|
+
This endpoint does not have any parameters.
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
### Return type
|
|
88
|
+
|
|
89
|
+
**any**
|
|
90
|
+
|
|
91
|
+
### Authorization
|
|
92
|
+
|
|
93
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
94
|
+
|
|
95
|
+
### HTTP request headers
|
|
96
|
+
|
|
97
|
+
- **Content-Type**: Not defined
|
|
98
|
+
- **Accept**: application/json
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
### HTTP response details
|
|
102
|
+
| Status code | Description | Response headers |
|
|
103
|
+
|-------------|-------------|------------------|
|
|
104
|
+
|**200** | OK | - |
|
|
105
|
+
|
|
106
|
+
[[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)
|
|
107
|
+
|
|
108
|
+
# **show2**
|
|
109
|
+
> show2()
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
### Example
|
|
113
|
+
|
|
114
|
+
```typescript
|
|
115
|
+
import {
|
|
116
|
+
DeveloperSandboxesApi,
|
|
117
|
+
Configuration
|
|
118
|
+
} from '@caraer/client';
|
|
119
|
+
|
|
120
|
+
const configuration = new Configuration();
|
|
121
|
+
const apiInstance = new DeveloperSandboxesApi(configuration);
|
|
122
|
+
|
|
123
|
+
let uuid: string; //UUID of the sandbox (default to undefined)
|
|
124
|
+
|
|
125
|
+
const { status, data } = await apiInstance.show2(
|
|
126
|
+
uuid
|
|
127
|
+
);
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### Parameters
|
|
131
|
+
|
|
132
|
+
|Name | Type | Description | Notes|
|
|
133
|
+
|------------- | ------------- | ------------- | -------------|
|
|
134
|
+
| **uuid** | [**string**] | UUID of the sandbox | defaults to undefined|
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
### Return type
|
|
138
|
+
|
|
139
|
+
void (empty response body)
|
|
140
|
+
|
|
141
|
+
### Authorization
|
|
142
|
+
|
|
143
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
144
|
+
|
|
145
|
+
### HTTP request headers
|
|
146
|
+
|
|
147
|
+
- **Content-Type**: Not defined
|
|
148
|
+
- **Accept**: application/json
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
### HTTP response details
|
|
152
|
+
| Status code | Description | Response headers |
|
|
153
|
+
|-------------|-------------|------------------|
|
|
154
|
+
|**403** | Caller does not own this sandbox | - |
|
|
155
|
+
|**404** | Sandbox not found | - |
|
|
156
|
+
|
|
157
|
+
[[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)
|
|
158
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# DeviceApproveRequest
|
|
2
|
+
|
|
3
|
+
Approve a pending device-code login (authenticated browser session)
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**userCode** | **string** | User-facing code shown by the CLI | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { DeviceApproveRequest } from '@caraer/client';
|
|
15
|
+
|
|
16
|
+
const instance: DeviceApproveRequest = {
|
|
17
|
+
userCode,
|
|
18
|
+
};
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# DevicePollRequest
|
|
2
|
+
|
|
3
|
+
Poll a device-code login session
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**deviceCode** | **string** | Device code returned by /auth/device/start | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { DevicePollRequest } from '@caraer/client';
|
|
15
|
+
|
|
16
|
+
const instance: DevicePollRequest = {
|
|
17
|
+
deviceCode,
|
|
18
|
+
};
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
[[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/docs/ErrorResponse.md
CHANGED
|
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**stackTrace** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**roles** | **Array<string>** | | [optional] [default to undefined]
|
|
14
14
|
**scopes** | **Array<string>** | | [optional] [default to undefined]
|
|
15
|
+
**requestId** | **string** | Request correlation ID for support and log tracing. | [optional] [default to undefined]
|
|
15
16
|
|
|
16
17
|
## Example
|
|
17
18
|
|
|
@@ -25,6 +26,7 @@ const instance: ErrorResponse = {
|
|
|
25
26
|
stackTrace,
|
|
26
27
|
roles,
|
|
27
28
|
scopes,
|
|
29
|
+
requestId,
|
|
28
30
|
};
|
|
29
31
|
```
|
|
30
32
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# EventRsvpRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**partstat** | **string** | Participation status on the attendees edge | [default to undefined]
|
|
9
|
+
**scope** | **string** | Series scope for recurring events. Defaults to this. | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { EventRsvpRequest } from '@caraer/client';
|
|
15
|
+
|
|
16
|
+
const instance: EventRsvpRequest = {
|
|
17
|
+
partstat,
|
|
18
|
+
scope,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# ExistingWidgetSummary
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**xproperty** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**ymetric** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**yproperty** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**title** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**chartType** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**xProperty** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**yMetric** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**yProperty** | **string** | | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { ExistingWidgetSummary } from '@caraer/client';
|
|
21
|
+
|
|
22
|
+
const instance: ExistingWidgetSummary = {
|
|
23
|
+
xproperty,
|
|
24
|
+
ymetric,
|
|
25
|
+
yproperty,
|
|
26
|
+
title,
|
|
27
|
+
chartType,
|
|
28
|
+
xProperty,
|
|
29
|
+
yMetric,
|
|
30
|
+
yProperty,
|
|
31
|
+
};
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ExtendRecordRequest
|
|
2
2
|
|
|
3
|
-
Request to
|
|
3
|
+
Request to extend a record
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**objects** | [**Set<CaraerObjectDTO>**](CaraerObjectDTO.md) | The objects to
|
|
9
|
+
**objects** | [**Set<CaraerObjectDTO>**](CaraerObjectDTO.md) | The objects to extend the record into | [optional] [default to undefined]
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import {
|
|
14
|
+
import { ExtendRecordRequest } from '@caraer/client';
|
|
15
15
|
|
|
16
|
-
const instance:
|
|
16
|
+
const instance: ExtendRecordRequest = {
|
|
17
17
|
objects,
|
|
18
18
|
};
|
|
19
19
|
```
|