@caraer/client 2.0.436 → 2.0.441
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 +87 -2
- package/api.ts +1960 -763
- package/dist/api.d.ts +2048 -722
- package/dist/api.js +479 -473
- package/dist/esm/api.d.ts +2048 -722
- package/dist/esm/api.js +476 -470
- package/docs/AppBarIframeSessionsApi.md +10 -4
- package/docs/AppBarsApi.md +11 -4
- package/docs/AppInstallationRuntimeApi.md +58 -0
- package/docs/ApplicationsApi.md +132 -62
- package/docs/AutomationsApi.md +6 -4
- package/docs/BillingApi.md +10 -4
- package/docs/CRUD.md +24 -0
- package/docs/CompanyApi.md +44 -18
- package/docs/CreateResponseFeedDTO.md +23 -0
- package/docs/CreateResponseMapStringString.md +23 -0
- package/docs/DeleteResponseFeedDTO.md +23 -0
- package/docs/DeveloperProjectsApi.md +31 -6
- package/docs/DeveloperSandboxDTO.md +43 -0
- package/docs/DeveloperSandboxesApi.md +12 -2
- package/docs/ErrorResponse.md +3 -3
- package/docs/ExistingWidgetSummary.md +2 -2
- package/docs/FeedsApi.md +11 -6
- package/docs/FileManagementApi.md +19 -9
- package/docs/FilterApi.md +21 -8
- package/docs/FlowPaginationRequest.md +43 -0
- package/docs/FormsApi.md +95 -56
- package/docs/ModuleApi.md +61 -38
- package/docs/NotificationsApi.md +15 -2
- package/docs/ObjectsApi.md +80 -39
- package/docs/PaginationRequest.md +31 -0
- package/docs/PaginationResponseAppDTO.md +31 -0
- package/docs/PaginationResponseCaraerObjectDTO.md +31 -0
- package/docs/PaginationResponseCompanyDTO.md +31 -0
- package/docs/{PaginationResponse.md → PaginationResponseFeedDTO.md} +4 -4
- package/docs/PaginationResponseFormDTO.md +31 -0
- package/docs/PaginationResponseMapStringObject.md +31 -0
- package/docs/PaginationResponseObject.md +31 -0
- package/docs/PaginationResponsePageContentDTO.md +31 -0
- package/docs/PaginationResponsePropertyCalculationTypeDTO.md +31 -0
- package/docs/PaginationResponsePropertyDTO.md +31 -0
- package/docs/PaginationResponsePropertyFormat.md +31 -0
- package/docs/PaginationResponsePropertyOption.md +31 -0
- package/docs/PaginationResponsePublicEnvironmentDTO.md +31 -0
- package/docs/PaginationResponsePublicFormDTO.md +31 -0
- package/docs/PaginationResponseRelationDTO.md +31 -0
- package/docs/PaginationResponseSavedFilterDTO.md +31 -0
- package/docs/PaginationResponseServerlessFunctionDTO.md +31 -0
- package/docs/PaginationResponseSubscribeWebhookDTO.md +31 -0
- package/docs/PaginationResponseSyncDTO.md +31 -0
- package/docs/PaginationResponseTraitDTO.md +31 -0
- package/docs/PaginationResponseViewDTO.md +31 -0
- package/docs/PaginationResponseWebMenuDTO.md +31 -0
- package/docs/ProjectBuildDTO.md +55 -0
- package/docs/ProjectDeployDTO.md +53 -0
- package/docs/PropertyApi.md +84 -47
- package/docs/PublicFormDTO.md +55 -0
- package/docs/Record.md +2 -2
- package/docs/RecordPaginationRequest.md +37 -0
- package/docs/RecordsApi.md +141 -60
- package/docs/RelationsApi.md +82 -48
- package/docs/SearchRequest.md +29 -0
- package/docs/ServerlessFunctionsApi.md +42 -16
- package/docs/SettingField.md +2 -2
- package/docs/ShowResponse.md +3 -3
- package/docs/ShowResponseAnalyticsDashboardConfig.md +23 -0
- package/docs/ShowResponseAppBarIframeSessionContextDTO.md +23 -0
- package/docs/ShowResponseAppBarIframeSessionTokenDTO.md +23 -0
- package/docs/ShowResponseAppDTO.md +23 -0
- package/docs/ShowResponseBillingStatusDTO.md +23 -0
- package/docs/ShowResponseCaraerObjectDTO.md +23 -0
- package/docs/ShowResponseCompanyDTO.md +23 -0
- package/docs/ShowResponseDeveloperProjectDTO.md +23 -0
- package/docs/ShowResponseDigitalIdentityDTO.md +23 -0
- package/docs/ShowResponseFeedDTO.md +23 -0
- package/docs/ShowResponseFormDTO.md +23 -0
- package/docs/ShowResponseListEnvironmentDTO.md +23 -0
- package/docs/ShowResponseListFormObjectSummaryDTO.md +23 -0
- package/docs/ShowResponseListInstalledAppBarDTO.md +23 -0
- package/docs/ShowResponseListPropertyDTO.md +23 -0
- package/docs/ShowResponseListWebpagePickerItemDTO.md +23 -0
- package/docs/ShowResponseLoadAppSettingOptionsResponse.md +23 -0
- package/docs/ShowResponseMapStringAnalyticsDashboardConfig.md +23 -0
- package/docs/ShowResponseMapStringBoolean.md +23 -0
- package/docs/ShowResponseMapStringString.md +23 -0
- package/docs/ShowResponsePageContentDTO.md +23 -0
- package/docs/ShowResponsePreviewDTO.md +23 -0
- package/docs/ShowResponsePropertyDTO.md +23 -0
- package/docs/ShowResponsePublicFormDTO.md +23 -0
- package/docs/ShowResponseRelationDTO.md +23 -0
- package/docs/ShowResponseSavedFilterDTO.md +23 -0
- package/docs/ShowResponseServerlessFunctionDTO.md +23 -0
- package/docs/ShowResponseString.md +23 -0
- package/docs/ShowResponseSubscribeWebhookDTO.md +23 -0
- package/docs/ShowResponseTemplateWebpageDTO.md +23 -0
- package/docs/ShowResponseTraitDTO.md +23 -0
- package/docs/ShowResponseViewDTO.md +23 -0
- package/docs/ShowResponseWebMenuDTO.md +23 -0
- package/docs/ShowResponseWebsiteSettingsDTO.md +23 -0
- package/docs/SuccessResponseAggregateResponse.md +23 -0
- package/docs/SuccessResponseCollectionRelation.md +23 -0
- package/docs/SuccessResponseCompanyDTO.md +23 -0
- package/docs/{SuccessResponse.md → SuccessResponseFeedDTO.md} +4 -4
- package/docs/SuccessResponseFlow.md +23 -0
- package/docs/SuccessResponseListAggregateResponse.md +23 -0
- package/docs/SuccessResponseListCaraerObjectDTO.md +23 -0
- package/docs/SuccessResponseListDeveloperSandboxDTO.md +23 -0
- package/docs/SuccessResponseListMapStringObject.md +23 -0
- package/docs/SuccessResponseListProjectBuildDTO.md +23 -0
- package/docs/SuccessResponseListProjectDeployDTO.md +23 -0
- package/docs/SuccessResponseListPropertyDTO.md +23 -0
- package/docs/SuccessResponseListString.md +23 -0
- package/docs/SuccessResponseMapStringInteger.md +23 -0
- package/docs/SuccessResponseMapStringObject.md +23 -0
- package/docs/SuccessResponseObject.md +23 -0
- package/docs/SuccessResponseSuggestAnalyticsWidgetsResponse.md +23 -0
- package/docs/SuccessResponseTable.md +23 -0
- package/docs/SyncApi.md +27 -9
- package/docs/TraitsApi.md +41 -23
- package/docs/UpdateResponseFeedDTO.md +23 -0
- package/docs/ViewsApi.md +44 -26
- package/docs/WebMenusApi.md +30 -12
- package/docs/WebpagesApi.md +128 -24
- package/package.json +1 -1
package/docs/ObjectsApi.md
CHANGED
|
@@ -79,7 +79,10 @@ const { status, data } = await apiInstance.createObject(
|
|
|
79
79
|
|-------------|-------------|------------------|
|
|
80
80
|
|**201** | Object successfully created | - |
|
|
81
81
|
|**400** | Invalid input | - |
|
|
82
|
-
|**500** |
|
|
82
|
+
|**500** | An internal server error occurred. | - |
|
|
83
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
84
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
85
|
+
|**404** | The requested resource was not found. | - |
|
|
83
86
|
|
|
84
87
|
[[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)
|
|
85
88
|
|
|
@@ -124,15 +127,17 @@ const { status, data } = await apiInstance.deleteObject(
|
|
|
124
127
|
### HTTP request headers
|
|
125
128
|
|
|
126
129
|
- **Content-Type**: Not defined
|
|
127
|
-
- **Accept**: application/json
|
|
130
|
+
- **Accept**: application/json
|
|
128
131
|
|
|
129
132
|
|
|
130
133
|
### HTTP response details
|
|
131
134
|
| Status code | Description | Response headers |
|
|
132
135
|
|-------------|-------------|------------------|
|
|
133
136
|
|**200** | Object deleted successfully | - |
|
|
134
|
-
|**404** |
|
|
135
|
-
|**500** |
|
|
137
|
+
|**404** | The requested resource was not found. | - |
|
|
138
|
+
|**500** | An internal server error occurred. | - |
|
|
139
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
140
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
136
141
|
|
|
137
142
|
[[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)
|
|
138
143
|
|
|
@@ -177,11 +182,15 @@ This endpoint does not have any parameters.
|
|
|
177
182
|
| Status code | Description | Response headers |
|
|
178
183
|
|-------------|-------------|------------------|
|
|
179
184
|
|**200** | OK | - |
|
|
185
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
186
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
187
|
+
|**404** | The requested resource was not found. | - |
|
|
188
|
+
|**500** | An internal server error occurred. | - |
|
|
180
189
|
|
|
181
190
|
[[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)
|
|
182
191
|
|
|
183
192
|
# **getObject**
|
|
184
|
-
>
|
|
193
|
+
> ShowResponseCaraerObjectDTO getObject()
|
|
185
194
|
|
|
186
195
|
Fetches a single object by its UUID. Optional parameters determine whether to include views, properties, and relations in the response.
|
|
187
196
|
|
|
@@ -221,7 +230,7 @@ const { status, data } = await apiInstance.getObject(
|
|
|
221
230
|
|
|
222
231
|
### Return type
|
|
223
232
|
|
|
224
|
-
**
|
|
233
|
+
**ShowResponseCaraerObjectDTO**
|
|
225
234
|
|
|
226
235
|
### Authorization
|
|
227
236
|
|
|
@@ -230,20 +239,22 @@ const { status, data } = await apiInstance.getObject(
|
|
|
230
239
|
### HTTP request headers
|
|
231
240
|
|
|
232
241
|
- **Content-Type**: Not defined
|
|
233
|
-
- **Accept**: application/json
|
|
242
|
+
- **Accept**: application/json
|
|
234
243
|
|
|
235
244
|
|
|
236
245
|
### HTTP response details
|
|
237
246
|
| Status code | Description | Response headers |
|
|
238
247
|
|-------------|-------------|------------------|
|
|
239
248
|
|**200** | Object fetched successfully | - |
|
|
240
|
-
|**404** |
|
|
241
|
-
|**500** |
|
|
249
|
+
|**404** | The requested resource was not found. | - |
|
|
250
|
+
|**500** | An internal server error occurred. | - |
|
|
251
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
252
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
242
253
|
|
|
243
254
|
[[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)
|
|
244
255
|
|
|
245
256
|
# **getObjects**
|
|
246
|
-
>
|
|
257
|
+
> PaginationResponseCaraerObjectDTO getObjects(paginationRequest)
|
|
247
258
|
|
|
248
259
|
Fetches a paginated list of objects, optionally including views, properties, and/or relations. The request body should contain pagination details such as limit, page, filters, sort, and query.
|
|
249
260
|
|
|
@@ -252,19 +263,20 @@ Fetches a paginated list of objects, optionally including views, properties, and
|
|
|
252
263
|
```typescript
|
|
253
264
|
import {
|
|
254
265
|
ObjectsApi,
|
|
255
|
-
Configuration
|
|
266
|
+
Configuration,
|
|
267
|
+
PaginationRequest
|
|
256
268
|
} from '@caraer/client';
|
|
257
269
|
|
|
258
270
|
const configuration = new Configuration();
|
|
259
271
|
const apiInstance = new ObjectsApi(configuration);
|
|
260
272
|
|
|
261
|
-
let
|
|
273
|
+
let paginationRequest: PaginationRequest; //Pagination request details
|
|
262
274
|
let views: string; // (optional) (default to 'false')
|
|
263
275
|
let properties: string; // (optional) (default to 'false')
|
|
264
276
|
let relations: string; // (optional) (default to 'false')
|
|
265
277
|
|
|
266
278
|
const { status, data } = await apiInstance.getObjects(
|
|
267
|
-
|
|
279
|
+
paginationRequest,
|
|
268
280
|
views,
|
|
269
281
|
properties,
|
|
270
282
|
relations
|
|
@@ -275,7 +287,7 @@ const { status, data } = await apiInstance.getObjects(
|
|
|
275
287
|
|
|
276
288
|
|Name | Type | Description | Notes|
|
|
277
289
|
|------------- | ------------- | ------------- | -------------|
|
|
278
|
-
| **
|
|
290
|
+
| **paginationRequest** | **PaginationRequest**| Pagination request details | |
|
|
279
291
|
| **views** | [**string**] | | (optional) defaults to 'false'|
|
|
280
292
|
| **properties** | [**string**] | | (optional) defaults to 'false'|
|
|
281
293
|
| **relations** | [**string**] | | (optional) defaults to 'false'|
|
|
@@ -283,7 +295,7 @@ const { status, data } = await apiInstance.getObjects(
|
|
|
283
295
|
|
|
284
296
|
### Return type
|
|
285
297
|
|
|
286
|
-
**
|
|
298
|
+
**PaginationResponseCaraerObjectDTO**
|
|
287
299
|
|
|
288
300
|
### Authorization
|
|
289
301
|
|
|
@@ -301,11 +313,14 @@ const { status, data } = await apiInstance.getObjects(
|
|
|
301
313
|
|**200** | Objects fetched successfully | - |
|
|
302
314
|
|**400** | Bad request | - |
|
|
303
315
|
|**500** | Internal server error | - |
|
|
316
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
317
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
318
|
+
|**404** | The requested resource was not found. | - |
|
|
304
319
|
|
|
305
320
|
[[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)
|
|
306
321
|
|
|
307
322
|
# **getPreview**
|
|
308
|
-
>
|
|
323
|
+
> ShowResponsePreviewDTO getPreview()
|
|
309
324
|
|
|
310
325
|
Fetches a preview for an object by the object\'s UUID and the preview name. Returns the preview data wrapped in a ShowResponse.
|
|
311
326
|
|
|
@@ -339,7 +354,7 @@ const { status, data } = await apiInstance.getPreview(
|
|
|
339
354
|
|
|
340
355
|
### Return type
|
|
341
356
|
|
|
342
|
-
**
|
|
357
|
+
**ShowResponsePreviewDTO**
|
|
343
358
|
|
|
344
359
|
### Authorization
|
|
345
360
|
|
|
@@ -357,11 +372,13 @@ const { status, data } = await apiInstance.getPreview(
|
|
|
357
372
|
|**200** | Successfully fetched preview | - |
|
|
358
373
|
|**404** | Object or preview not found | - |
|
|
359
374
|
|**500** | Internal server error | - |
|
|
375
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
376
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
360
377
|
|
|
361
378
|
[[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)
|
|
362
379
|
|
|
363
380
|
# **getPreviews**
|
|
364
|
-
>
|
|
381
|
+
> PaginationResponsePreviewDTO getPreviews(paginationRequest)
|
|
365
382
|
|
|
366
383
|
Fetches all previews over all objects. Returns a PaginationResponse containing a list of preview DTOs.
|
|
367
384
|
|
|
@@ -370,16 +387,17 @@ Fetches all previews over all objects. Returns a PaginationResponse containing a
|
|
|
370
387
|
```typescript
|
|
371
388
|
import {
|
|
372
389
|
ObjectsApi,
|
|
373
|
-
Configuration
|
|
390
|
+
Configuration,
|
|
391
|
+
PaginationRequest
|
|
374
392
|
} from '@caraer/client';
|
|
375
393
|
|
|
376
394
|
const configuration = new Configuration();
|
|
377
395
|
const apiInstance = new ObjectsApi(configuration);
|
|
378
396
|
|
|
379
|
-
let
|
|
397
|
+
let paginationRequest: PaginationRequest; //
|
|
380
398
|
|
|
381
399
|
const { status, data } = await apiInstance.getPreviews(
|
|
382
|
-
|
|
400
|
+
paginationRequest
|
|
383
401
|
);
|
|
384
402
|
```
|
|
385
403
|
|
|
@@ -387,12 +405,12 @@ const { status, data } = await apiInstance.getPreviews(
|
|
|
387
405
|
|
|
388
406
|
|Name | Type | Description | Notes|
|
|
389
407
|
|------------- | ------------- | ------------- | -------------|
|
|
390
|
-
| **
|
|
408
|
+
| **paginationRequest** | **PaginationRequest**| | |
|
|
391
409
|
|
|
392
410
|
|
|
393
411
|
### Return type
|
|
394
412
|
|
|
395
|
-
**
|
|
413
|
+
**PaginationResponsePreviewDTO**
|
|
396
414
|
|
|
397
415
|
### Authorization
|
|
398
416
|
|
|
@@ -409,11 +427,14 @@ const { status, data } = await apiInstance.getPreviews(
|
|
|
409
427
|
|-------------|-------------|------------------|
|
|
410
428
|
|**200** | Successfully fetched previews | - |
|
|
411
429
|
|**500** | Internal server error | - |
|
|
430
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
431
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
432
|
+
|**404** | The requested resource was not found. | - |
|
|
412
433
|
|
|
413
434
|
[[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)
|
|
414
435
|
|
|
415
436
|
# **getPreviews1**
|
|
416
|
-
>
|
|
437
|
+
> PaginationResponsePreviewDTO getPreviews1()
|
|
417
438
|
|
|
418
439
|
Fetches all previews associated with a specific object. Returns a PaginationResponse containing a list of preview DTOs.
|
|
419
440
|
|
|
@@ -447,7 +468,7 @@ const { status, data } = await apiInstance.getPreviews1(
|
|
|
447
468
|
|
|
448
469
|
### Return type
|
|
449
470
|
|
|
450
|
-
**
|
|
471
|
+
**PaginationResponsePreviewDTO**
|
|
451
472
|
|
|
452
473
|
### Authorization
|
|
453
474
|
|
|
@@ -465,6 +486,8 @@ const { status, data } = await apiInstance.getPreviews1(
|
|
|
465
486
|
|**200** | Successfully fetched previews | - |
|
|
466
487
|
|**404** | Object not found | - |
|
|
467
488
|
|**500** | Internal server error | - |
|
|
489
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
490
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
468
491
|
|
|
469
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)
|
|
470
493
|
|
|
@@ -522,6 +545,9 @@ const { status, data } = await apiInstance.grantObjectAccess(
|
|
|
522
545
|
|**202** | Grant accepted and processing in the background | - |
|
|
523
546
|
|**400** | Invalid request | - |
|
|
524
547
|
|**404** | Object not found | - |
|
|
548
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
549
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
550
|
+
|**500** | An internal server error occurred. | - |
|
|
525
551
|
|
|
526
552
|
[[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)
|
|
527
553
|
|
|
@@ -574,7 +600,10 @@ const { status, data } = await apiInstance.permanentlyDeleteArchivedObject(
|
|
|
574
600
|
|-------------|-------------|------------------|
|
|
575
601
|
|**200** | Object permanently deleted | - |
|
|
576
602
|
|**400** | Object is not archived | - |
|
|
577
|
-
|**404** |
|
|
603
|
+
|**404** | The requested resource was not found. | - |
|
|
604
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
605
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
606
|
+
|**500** | An internal server error occurred. | - |
|
|
578
607
|
|
|
579
608
|
[[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)
|
|
580
609
|
|
|
@@ -635,11 +664,13 @@ const { status, data } = await apiInstance.savePreview(
|
|
|
635
664
|
|**201** | Successfully created or updated preview | - |
|
|
636
665
|
|**404** | Object or preview not found | - |
|
|
637
666
|
|**500** | Internal server error | - |
|
|
667
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
668
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
638
669
|
|
|
639
670
|
[[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)
|
|
640
671
|
|
|
641
672
|
# **syncExtendedObjects**
|
|
642
|
-
>
|
|
673
|
+
> SuccessResponseMapStringInteger syncExtendedObjects()
|
|
643
674
|
|
|
644
675
|
Synchronizes existing records for an object after extended configuration changes. The object path variable accepts UUID or object name. Records that reference the object as primary object, extended object, or label are re-extended.
|
|
645
676
|
|
|
@@ -670,7 +701,7 @@ const { status, data } = await apiInstance.syncExtendedObjects(
|
|
|
670
701
|
|
|
671
702
|
### Return type
|
|
672
703
|
|
|
673
|
-
**
|
|
704
|
+
**SuccessResponseMapStringInteger**
|
|
674
705
|
|
|
675
706
|
### Authorization
|
|
676
707
|
|
|
@@ -679,20 +710,22 @@ const { status, data } = await apiInstance.syncExtendedObjects(
|
|
|
679
710
|
### HTTP request headers
|
|
680
711
|
|
|
681
712
|
- **Content-Type**: Not defined
|
|
682
|
-
- **Accept**: application/json
|
|
713
|
+
- **Accept**: application/json
|
|
683
714
|
|
|
684
715
|
|
|
685
716
|
### HTTP response details
|
|
686
717
|
| Status code | Description | Response headers |
|
|
687
718
|
|-------------|-------------|------------------|
|
|
688
719
|
|**200** | Extended objects synchronized successfully | - |
|
|
689
|
-
|**404** |
|
|
690
|
-
|**500** |
|
|
720
|
+
|**404** | The requested resource was not found. | - |
|
|
721
|
+
|**500** | An internal server error occurred. | - |
|
|
722
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
723
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
691
724
|
|
|
692
725
|
[[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)
|
|
693
726
|
|
|
694
727
|
# **updateIndices3**
|
|
695
|
-
> updateIndices3(
|
|
728
|
+
> SuccessResponseListCaraerObjectDTO updateIndices3(requestBody)
|
|
696
729
|
|
|
697
730
|
Updates indices of objects based on the provided mapping. The request body should contain a mapping of object UUIDs to index values. Optional request parameters determine if views, properties, and relations should be included in the response.
|
|
698
731
|
|
|
@@ -707,13 +740,13 @@ import {
|
|
|
707
740
|
const configuration = new Configuration();
|
|
708
741
|
const apiInstance = new ObjectsApi(configuration);
|
|
709
742
|
|
|
710
|
-
let
|
|
743
|
+
let requestBody: { [key: string]: number; }; //Mapping of object indices
|
|
711
744
|
let views: string; // (optional) (default to 'false')
|
|
712
745
|
let properties: string; // (optional) (default to 'false')
|
|
713
746
|
let relations: string; // (optional) (default to 'false')
|
|
714
747
|
|
|
715
748
|
const { status, data } = await apiInstance.updateIndices3(
|
|
716
|
-
|
|
749
|
+
requestBody,
|
|
717
750
|
views,
|
|
718
751
|
properties,
|
|
719
752
|
relations
|
|
@@ -724,7 +757,7 @@ const { status, data } = await apiInstance.updateIndices3(
|
|
|
724
757
|
|
|
725
758
|
|Name | Type | Description | Notes|
|
|
726
759
|
|------------- | ------------- | ------------- | -------------|
|
|
727
|
-
| **
|
|
760
|
+
| **requestBody** | **{ [key: string]: number; }**| Mapping of object indices | |
|
|
728
761
|
| **views** | [**string**] | | (optional) defaults to 'false'|
|
|
729
762
|
| **properties** | [**string**] | | (optional) defaults to 'false'|
|
|
730
763
|
| **relations** | [**string**] | | (optional) defaults to 'false'|
|
|
@@ -732,7 +765,7 @@ const { status, data } = await apiInstance.updateIndices3(
|
|
|
732
765
|
|
|
733
766
|
### Return type
|
|
734
767
|
|
|
735
|
-
|
|
768
|
+
**SuccessResponseListCaraerObjectDTO**
|
|
736
769
|
|
|
737
770
|
### Authorization
|
|
738
771
|
|
|
@@ -749,7 +782,10 @@ void (empty response body)
|
|
|
749
782
|
|-------------|-------------|------------------|
|
|
750
783
|
|**200** | Indices updated successfully | - |
|
|
751
784
|
|**400** | Bad request | - |
|
|
752
|
-
|**500** |
|
|
785
|
+
|**500** | An internal server error occurred. | - |
|
|
786
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
787
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
788
|
+
|**404** | The requested resource was not found. | - |
|
|
753
789
|
|
|
754
790
|
[[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)
|
|
755
791
|
|
|
@@ -806,6 +842,9 @@ const { status, data } = await apiInstance.updateLifecycleProperties(
|
|
|
806
842
|
|-------------|-------------|------------------|
|
|
807
843
|
|**200** | Lifecycle properties updated | - |
|
|
808
844
|
|**404** | Object not found | - |
|
|
845
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
846
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
847
|
+
|**500** | An internal server error occurred. | - |
|
|
809
848
|
|
|
810
849
|
[[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)
|
|
811
850
|
|
|
@@ -871,8 +910,10 @@ const { status, data } = await apiInstance.updateObject(
|
|
|
871
910
|
|-------------|-------------|------------------|
|
|
872
911
|
|**200** | Object updated successfully | - |
|
|
873
912
|
|**400** | Invalid input | - |
|
|
874
|
-
|**404** |
|
|
875
|
-
|**500** |
|
|
913
|
+
|**404** | The requested resource was not found. | - |
|
|
914
|
+
|**500** | An internal server error occurred. | - |
|
|
915
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
916
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
876
917
|
|
|
877
918
|
[[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)
|
|
878
919
|
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# PaginationRequest
|
|
2
|
+
|
|
3
|
+
Pagination and filtering options for the request
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**filters** | **Array<{ [key: string]: any | null; }>** | A list of key-value pairs representing filter criteria for the request. Keys represent fields to filter by, operator can be any of the following: \'=\', \'>\', \'<\', \'>=\', \'<=\', (not) \'in\', \'(not) contains\', \'(not) startswith\', \'(not) endswith\', \'(not) isnull\'. | [optional] [default to undefined]
|
|
10
|
+
**sort** | **Array<{ [key: string]: string; }>** | A list of key-value pairs representing sorting criteria. Keys represent fields to sort by, and values define the sort direction (e.g., \'asc\' or \'desc\'). | [optional] [default to undefined]
|
|
11
|
+
**show** | **Array<string>** | A list of field names specifying which fields to include in the response. | [optional] [default to undefined]
|
|
12
|
+
**limit** | **number** | The maximum number of items to retrieve per page. | [optional] [default to undefined]
|
|
13
|
+
**page** | **number** | The page number to retrieve in the paginated response (1-based index). | [optional] [default to undefined]
|
|
14
|
+
**query** | **string** | Optional search query to filter results. This will apply to all properties on the entity. | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { PaginationRequest } from '@caraer/client';
|
|
20
|
+
|
|
21
|
+
const instance: PaginationRequest = {
|
|
22
|
+
filters,
|
|
23
|
+
sort,
|
|
24
|
+
show,
|
|
25
|
+
limit,
|
|
26
|
+
page,
|
|
27
|
+
query,
|
|
28
|
+
};
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
[[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,31 @@
|
|
|
1
|
+
# PaginationResponseAppDTO
|
|
2
|
+
|
|
3
|
+
Paginated response (PaginationResponseAppDTO).
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**data** | **Array<object>** | | [optional] [default to undefined]
|
|
11
|
+
**total** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**page** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**perPage** | **number** | | [optional] [default to undefined]
|
|
14
|
+
**lastPage** | **number** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { PaginationResponseAppDTO } from '@caraer/client';
|
|
20
|
+
|
|
21
|
+
const instance: PaginationResponseAppDTO = {
|
|
22
|
+
message,
|
|
23
|
+
data,
|
|
24
|
+
total,
|
|
25
|
+
page,
|
|
26
|
+
perPage,
|
|
27
|
+
lastPage,
|
|
28
|
+
};
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
[[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,31 @@
|
|
|
1
|
+
# PaginationResponseCaraerObjectDTO
|
|
2
|
+
|
|
3
|
+
Paginated response (PaginationResponseCaraerObjectDTO).
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**data** | **Array<object>** | | [optional] [default to undefined]
|
|
11
|
+
**total** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**page** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**perPage** | **number** | | [optional] [default to undefined]
|
|
14
|
+
**lastPage** | **number** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { PaginationResponseCaraerObjectDTO } from '@caraer/client';
|
|
20
|
+
|
|
21
|
+
const instance: PaginationResponseCaraerObjectDTO = {
|
|
22
|
+
message,
|
|
23
|
+
data,
|
|
24
|
+
total,
|
|
25
|
+
page,
|
|
26
|
+
perPage,
|
|
27
|
+
lastPage,
|
|
28
|
+
};
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
[[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,31 @@
|
|
|
1
|
+
# PaginationResponseCompanyDTO
|
|
2
|
+
|
|
3
|
+
Response object for paginated data.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**message** | **string** | A message detailing the result of the operation. | [optional] [default to undefined]
|
|
10
|
+
**data** | [**Array<CompanyDTO>**](CompanyDTO.md) | The data returned in the current page of the pagination. | [optional] [default to undefined]
|
|
11
|
+
**total** | **number** | The total number of items available. | [optional] [default to undefined]
|
|
12
|
+
**page** | **number** | The current page number (starts from 1). | [optional] [default to undefined]
|
|
13
|
+
**perPage** | **number** | The number of items displayed per page. | [optional] [default to undefined]
|
|
14
|
+
**lastPage** | **number** | The last page number available for the pagination. | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { PaginationResponseCompanyDTO } from '@caraer/client';
|
|
20
|
+
|
|
21
|
+
const instance: PaginationResponseCompanyDTO = {
|
|
22
|
+
message,
|
|
23
|
+
data,
|
|
24
|
+
total,
|
|
25
|
+
page,
|
|
26
|
+
perPage,
|
|
27
|
+
lastPage,
|
|
28
|
+
};
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
[[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,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PaginationResponseFeedDTO
|
|
2
2
|
|
|
3
3
|
Response object for paginated data.
|
|
4
4
|
|
|
@@ -7,7 +7,7 @@ Response object for paginated data.
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**message** | **string** | A message detailing the result of the operation. | [optional] [default to undefined]
|
|
10
|
-
**data** | **Array<
|
|
10
|
+
**data** | [**Array<FeedDTO>**](FeedDTO.md) | The data returned in the current page of the pagination. | [optional] [default to undefined]
|
|
11
11
|
**total** | **number** | The total number of items available. | [optional] [default to undefined]
|
|
12
12
|
**page** | **number** | The current page number (starts from 1). | [optional] [default to undefined]
|
|
13
13
|
**perPage** | **number** | The number of items displayed per page. | [optional] [default to undefined]
|
|
@@ -16,9 +16,9 @@ Name | Type | Description | Notes
|
|
|
16
16
|
## Example
|
|
17
17
|
|
|
18
18
|
```typescript
|
|
19
|
-
import {
|
|
19
|
+
import { PaginationResponseFeedDTO } from '@caraer/client';
|
|
20
20
|
|
|
21
|
-
const instance:
|
|
21
|
+
const instance: PaginationResponseFeedDTO = {
|
|
22
22
|
message,
|
|
23
23
|
data,
|
|
24
24
|
total,
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# PaginationResponseFormDTO
|
|
2
|
+
|
|
3
|
+
Paginated response (PaginationResponseFormDTO).
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**data** | **Array<object>** | | [optional] [default to undefined]
|
|
11
|
+
**total** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**page** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**perPage** | **number** | | [optional] [default to undefined]
|
|
14
|
+
**lastPage** | **number** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { PaginationResponseFormDTO } from '@caraer/client';
|
|
20
|
+
|
|
21
|
+
const instance: PaginationResponseFormDTO = {
|
|
22
|
+
message,
|
|
23
|
+
data,
|
|
24
|
+
total,
|
|
25
|
+
page,
|
|
26
|
+
perPage,
|
|
27
|
+
lastPage,
|
|
28
|
+
};
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
[[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,31 @@
|
|
|
1
|
+
# PaginationResponseMapStringObject
|
|
2
|
+
|
|
3
|
+
Response object for paginated data.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**message** | **string** | A message detailing the result of the operation. | [optional] [default to undefined]
|
|
10
|
+
**data** | **Array<{ [key: string]: any | null; }>** | The data returned in the current page of the pagination. | [optional] [default to undefined]
|
|
11
|
+
**total** | **number** | The total number of items available. | [optional] [default to undefined]
|
|
12
|
+
**page** | **number** | The current page number (starts from 1). | [optional] [default to undefined]
|
|
13
|
+
**perPage** | **number** | The number of items displayed per page. | [optional] [default to undefined]
|
|
14
|
+
**lastPage** | **number** | The last page number available for the pagination. | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { PaginationResponseMapStringObject } from '@caraer/client';
|
|
20
|
+
|
|
21
|
+
const instance: PaginationResponseMapStringObject = {
|
|
22
|
+
message,
|
|
23
|
+
data,
|
|
24
|
+
total,
|
|
25
|
+
page,
|
|
26
|
+
perPage,
|
|
27
|
+
lastPage,
|
|
28
|
+
};
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
[[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,31 @@
|
|
|
1
|
+
# PaginationResponseObject
|
|
2
|
+
|
|
3
|
+
Paginated response (PaginationResponseObject).
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**data** | **Array<object>** | | [optional] [default to undefined]
|
|
11
|
+
**total** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**page** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**perPage** | **number** | | [optional] [default to undefined]
|
|
14
|
+
**lastPage** | **number** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { PaginationResponseObject } from '@caraer/client';
|
|
20
|
+
|
|
21
|
+
const instance: PaginationResponseObject = {
|
|
22
|
+
message,
|
|
23
|
+
data,
|
|
24
|
+
total,
|
|
25
|
+
page,
|
|
26
|
+
perPage,
|
|
27
|
+
lastPage,
|
|
28
|
+
};
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
[[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,31 @@
|
|
|
1
|
+
# PaginationResponsePageContentDTO
|
|
2
|
+
|
|
3
|
+
Paginated response (PaginationResponsePageContentDTO).
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**data** | **Array<object>** | | [optional] [default to undefined]
|
|
11
|
+
**total** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**page** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**perPage** | **number** | | [optional] [default to undefined]
|
|
14
|
+
**lastPage** | **number** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { PaginationResponsePageContentDTO } from '@caraer/client';
|
|
20
|
+
|
|
21
|
+
const instance: PaginationResponsePageContentDTO = {
|
|
22
|
+
message,
|
|
23
|
+
data,
|
|
24
|
+
total,
|
|
25
|
+
page,
|
|
26
|
+
perPage,
|
|
27
|
+
lastPage,
|
|
28
|
+
};
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|