@caraer/client 2.0.437 → 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 +1952 -755
- package/dist/api.d.ts +2039 -713
- package/dist/api.js +471 -465
- package/dist/esm/api.d.ts +2039 -713
- package/dist/esm/api.js +468 -462
- package/docs/AppBarIframeSessionsApi.md +10 -4
- package/docs/AppBarsApi.md +11 -4
- package/docs/AppInstallationRuntimeApi.md +58 -0
- package/docs/ApplicationsApi.md +128 -58
- 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 +4 -4
- 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/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/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/RecordsApi.md
CHANGED
|
@@ -31,7 +31,7 @@ All URIs are relative to *https://v2.api.caraer.com*
|
|
|
31
31
|
|[**updateRelationEdge**](#updaterelationedge) | **PATCH** /api/v2/records/relations/{fromUuid}/{relationName}/{toUuid} | Update relation edge properties|
|
|
32
32
|
|
|
33
33
|
# **_delete**
|
|
34
|
-
>
|
|
34
|
+
> SuccessResponseString _delete()
|
|
35
35
|
|
|
36
36
|
Deletes a record specified by its UUID.
|
|
37
37
|
|
|
@@ -65,7 +65,7 @@ const { status, data } = await apiInstance._delete(
|
|
|
65
65
|
|
|
66
66
|
### Return type
|
|
67
67
|
|
|
68
|
-
**
|
|
68
|
+
**SuccessResponseString**
|
|
69
69
|
|
|
70
70
|
### Authorization
|
|
71
71
|
|
|
@@ -83,11 +83,13 @@ const { status, data } = await apiInstance._delete(
|
|
|
83
83
|
|**200** | Record deleted successfully | - |
|
|
84
84
|
|**404** | Record not found | - |
|
|
85
85
|
|**500** | Internal server error | - |
|
|
86
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
87
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
86
88
|
|
|
87
89
|
[[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)
|
|
88
90
|
|
|
89
91
|
# **aggregate**
|
|
90
|
-
>
|
|
92
|
+
> SuccessResponseAggregateResponse aggregate(aggregateRequest)
|
|
91
93
|
|
|
92
94
|
Groups Neo4j records by property or time bucket and returns series points with optional drilldown filters.
|
|
93
95
|
|
|
@@ -119,7 +121,7 @@ const { status, data } = await apiInstance.aggregate(
|
|
|
119
121
|
|
|
120
122
|
### Return type
|
|
121
123
|
|
|
122
|
-
**
|
|
124
|
+
**SuccessResponseAggregateResponse**
|
|
123
125
|
|
|
124
126
|
### Authorization
|
|
125
127
|
|
|
@@ -136,11 +138,15 @@ const { status, data } = await apiInstance.aggregate(
|
|
|
136
138
|
|-------------|-------------|------------------|
|
|
137
139
|
|**200** | Aggregation completed | - |
|
|
138
140
|
|**400** | Invalid request | - |
|
|
141
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
142
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
143
|
+
|**404** | The requested resource was not found. | - |
|
|
144
|
+
|**500** | An internal server error occurred. | - |
|
|
139
145
|
|
|
140
146
|
[[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)
|
|
141
147
|
|
|
142
148
|
# **aggregateBatch**
|
|
143
|
-
>
|
|
149
|
+
> SuccessResponseListAggregateResponse aggregateBatch(aggregateBatchRequest)
|
|
144
150
|
|
|
145
151
|
Runs multiple aggregation requests for dashboard widgets.
|
|
146
152
|
|
|
@@ -172,7 +178,7 @@ const { status, data } = await apiInstance.aggregateBatch(
|
|
|
172
178
|
|
|
173
179
|
### Return type
|
|
174
180
|
|
|
175
|
-
**
|
|
181
|
+
**SuccessResponseListAggregateResponse**
|
|
176
182
|
|
|
177
183
|
### Authorization
|
|
178
184
|
|
|
@@ -189,6 +195,10 @@ const { status, data } = await apiInstance.aggregateBatch(
|
|
|
189
195
|
|-------------|-------------|------------------|
|
|
190
196
|
|**200** | Batch aggregation completed | - |
|
|
191
197
|
|**400** | Invalid request | - |
|
|
198
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
199
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
200
|
+
|**404** | The requested resource was not found. | - |
|
|
201
|
+
|**500** | An internal server error occurred. | - |
|
|
192
202
|
|
|
193
203
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
194
204
|
|
|
@@ -245,6 +255,10 @@ const { status, data } = await apiInstance.bulkDelete(
|
|
|
245
255
|
|-------------|-------------|------------------|
|
|
246
256
|
|**200** | Bulk delete completed (possibly with per-record errors) | - |
|
|
247
257
|
|**400** | Invalid request | - |
|
|
258
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
259
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
260
|
+
|**404** | The requested resource was not found. | - |
|
|
261
|
+
|**500** | An internal server error occurred. | - |
|
|
248
262
|
|
|
249
263
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
250
264
|
|
|
@@ -305,6 +319,10 @@ const { status, data } = await apiInstance.bulkEdit(
|
|
|
305
319
|
|**201** | All records saved successfully | - |
|
|
306
320
|
|**200** | Partial success with per-record validation errors | - |
|
|
307
321
|
|**400** | Invalid request | - |
|
|
322
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
323
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
324
|
+
|**404** | The requested resource was not found. | - |
|
|
325
|
+
|**500** | An internal server error occurred. | - |
|
|
308
326
|
|
|
309
327
|
[[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)
|
|
310
328
|
|
|
@@ -371,11 +389,14 @@ const { status, data } = await apiInstance.create(
|
|
|
371
389
|
|**201** | Record created successfully | - |
|
|
372
390
|
|**400** | Invalid input data | - |
|
|
373
391
|
|**500** | Internal server error | - |
|
|
392
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
393
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
394
|
+
|**404** | The requested resource was not found. | - |
|
|
374
395
|
|
|
375
396
|
[[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)
|
|
376
397
|
|
|
377
398
|
# **createOrUpdate**
|
|
378
|
-
> createOrUpdate(recordDTO)
|
|
399
|
+
> UpdateResponse createOrUpdate(recordDTO)
|
|
379
400
|
|
|
380
401
|
Creates a new record or updates an existing one. Match order: body/path uuid already in the graph, then unique property values. If a matching record exists, it is updated; otherwise, a new record is created. Returns a CreateResponse or UpdateResponse with the record details. Validation: Record properties are validated according to the property rules defined for the object. Each property may have validation rules such as required, type constraints, character limits, uniqueness, etc.
|
|
381
402
|
|
|
@@ -419,7 +440,7 @@ const { status, data } = await apiInstance.createOrUpdate(
|
|
|
419
440
|
|
|
420
441
|
### Return type
|
|
421
442
|
|
|
422
|
-
|
|
443
|
+
**UpdateResponse**
|
|
423
444
|
|
|
424
445
|
### Authorization
|
|
425
446
|
|
|
@@ -438,11 +459,14 @@ void (empty response body)
|
|
|
438
459
|
|**201** | Record created successfully | - |
|
|
439
460
|
|**400** | Invalid input data | - |
|
|
440
461
|
|**500** | Internal server error | - |
|
|
462
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
463
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
464
|
+
|**404** | The requested resource was not found. | - |
|
|
441
465
|
|
|
442
466
|
[[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)
|
|
443
467
|
|
|
444
468
|
# **createRelation**
|
|
445
|
-
>
|
|
469
|
+
> SuccessResponseString createRelation()
|
|
446
470
|
|
|
447
471
|
Creates a relation between two records identified by their UUIDs using the provided relation name.
|
|
448
472
|
|
|
@@ -486,7 +510,7 @@ const { status, data } = await apiInstance.createRelation(
|
|
|
486
510
|
|
|
487
511
|
### Return type
|
|
488
512
|
|
|
489
|
-
**
|
|
513
|
+
**SuccessResponseString**
|
|
490
514
|
|
|
491
515
|
### Authorization
|
|
492
516
|
|
|
@@ -504,11 +528,13 @@ const { status, data } = await apiInstance.createRelation(
|
|
|
504
528
|
|**200** | Relation created successfully | - |
|
|
505
529
|
|**404** | One or more entities not found | - |
|
|
506
530
|
|**500** | Internal server error | - |
|
|
531
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
532
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
507
533
|
|
|
508
534
|
[[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)
|
|
509
535
|
|
|
510
536
|
# **deleteRelation**
|
|
511
|
-
>
|
|
537
|
+
> SuccessResponseString deleteRelation()
|
|
512
538
|
|
|
513
539
|
Deletes a relation between two records identified by their UUIDs and the relation name.
|
|
514
540
|
|
|
@@ -545,7 +571,7 @@ const { status, data } = await apiInstance.deleteRelation(
|
|
|
545
571
|
|
|
546
572
|
### Return type
|
|
547
573
|
|
|
548
|
-
**
|
|
574
|
+
**SuccessResponseString**
|
|
549
575
|
|
|
550
576
|
### Authorization
|
|
551
577
|
|
|
@@ -563,11 +589,13 @@ const { status, data } = await apiInstance.deleteRelation(
|
|
|
563
589
|
|**200** | Relation deleted successfully | - |
|
|
564
590
|
|**404** | One or more entities not found | - |
|
|
565
591
|
|**500** | Internal server error | - |
|
|
592
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
593
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
566
594
|
|
|
567
595
|
[[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)
|
|
568
596
|
|
|
569
597
|
# **extend**
|
|
570
|
-
>
|
|
598
|
+
> SuccessResponseObject extend(extendRecordRequest)
|
|
571
599
|
|
|
572
600
|
Extends a record identified by its UUID to one or more objects. You can use this to move a record or add it to another object so it\'ll be visible in the new object.Returns a SuccessResponse confirming that the record has been extended.
|
|
573
601
|
|
|
@@ -608,7 +636,7 @@ const { status, data } = await apiInstance.extend(
|
|
|
608
636
|
|
|
609
637
|
### Return type
|
|
610
638
|
|
|
611
|
-
**
|
|
639
|
+
**SuccessResponseObject**
|
|
612
640
|
|
|
613
641
|
### Authorization
|
|
614
642
|
|
|
@@ -626,11 +654,13 @@ const { status, data } = await apiInstance.extend(
|
|
|
626
654
|
|**200** | Record extended successfully | - |
|
|
627
655
|
|**404** | Record not found | - |
|
|
628
656
|
|**500** | Internal server error | - |
|
|
657
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
658
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
629
659
|
|
|
630
660
|
[[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)
|
|
631
661
|
|
|
632
662
|
# **index**
|
|
633
|
-
>
|
|
663
|
+
> PaginationResponseObject index(recordPaginationRequest)
|
|
634
664
|
|
|
635
665
|
Retrieves a paginated list of records. If a preview type is specified in the request, returns records formatted for preview; otherwise, returns full record details.
|
|
636
666
|
|
|
@@ -639,20 +669,21 @@ Retrieves a paginated list of records. If a preview type is specified in the req
|
|
|
639
669
|
```typescript
|
|
640
670
|
import {
|
|
641
671
|
RecordsApi,
|
|
642
|
-
Configuration
|
|
672
|
+
Configuration,
|
|
673
|
+
RecordPaginationRequest
|
|
643
674
|
} from '@caraer/client';
|
|
644
675
|
|
|
645
676
|
const configuration = new Configuration();
|
|
646
677
|
const apiInstance = new RecordsApi(configuration);
|
|
647
678
|
|
|
648
|
-
let
|
|
679
|
+
let recordPaginationRequest: RecordPaginationRequest; //Pagination request for records
|
|
649
680
|
let parse: 'DB' | 'HUMAN_READABLE' | 'STRUCTURED'; //Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records). (optional) (default to undefined)
|
|
650
681
|
let archived: boolean; //When \'true\', archived records are returned instead of active records. Defaults to \'false\'. (optional) (default to false)
|
|
651
682
|
let relatedRecordUuid: string; //UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record. (optional) (default to undefined)
|
|
652
683
|
let recordReturnFormat: 'LEGACY' | 'USER_FRIENDLY' | 'EXPANDED'; //Format of the records to return. LEGACY, USER_FRIENDLY, EXPANDED. (optional) (default to 'LEGACY')
|
|
653
684
|
|
|
654
685
|
const { status, data } = await apiInstance.index(
|
|
655
|
-
|
|
686
|
+
recordPaginationRequest,
|
|
656
687
|
parse,
|
|
657
688
|
archived,
|
|
658
689
|
relatedRecordUuid,
|
|
@@ -664,7 +695,7 @@ const { status, data } = await apiInstance.index(
|
|
|
664
695
|
|
|
665
696
|
|Name | Type | Description | Notes|
|
|
666
697
|
|------------- | ------------- | ------------- | -------------|
|
|
667
|
-
| **
|
|
698
|
+
| **recordPaginationRequest** | **RecordPaginationRequest**| Pagination request for records | |
|
|
668
699
|
| **parse** | [**'DB' | 'HUMAN_READABLE' | 'STRUCTURED'**]**Array<'DB' | 'HUMAN_READABLE' | 'STRUCTURED'>** | Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records). | (optional) defaults to undefined|
|
|
669
700
|
| **archived** | [**boolean**] | When \'true\', archived records are returned instead of active records. Defaults to \'false\'. | (optional) defaults to false|
|
|
670
701
|
| **relatedRecordUuid** | [**string**] | UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record. | (optional) defaults to undefined|
|
|
@@ -673,7 +704,7 @@ const { status, data } = await apiInstance.index(
|
|
|
673
704
|
|
|
674
705
|
### Return type
|
|
675
706
|
|
|
676
|
-
**
|
|
707
|
+
**PaginationResponseObject**
|
|
677
708
|
|
|
678
709
|
### Authorization
|
|
679
710
|
|
|
@@ -688,14 +719,17 @@ const { status, data } = await apiInstance.index(
|
|
|
688
719
|
### HTTP response details
|
|
689
720
|
| Status code | Description | Response headers |
|
|
690
721
|
|-------------|-------------|------------------|
|
|
691
|
-
|**200** | Records fetched successfully | - |
|
|
722
|
+
|**200** | Records fetched successfully. data items are preview objects when preview is set, otherwise record payloads shaped by recordReturnFormat. | - |
|
|
692
723
|
|**400** | Invalid pagination request | - |
|
|
693
724
|
|**500** | Internal server error | - |
|
|
725
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
726
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
727
|
+
|**404** | The requested resource was not found. | - |
|
|
694
728
|
|
|
695
729
|
[[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)
|
|
696
730
|
|
|
697
731
|
# **indexFlow**
|
|
698
|
-
>
|
|
732
|
+
> SuccessResponseFlow indexFlow(flowPaginationRequest)
|
|
699
733
|
|
|
700
734
|
Retrieves a list of records formatted for flow view based on a specific property. If the property is not provided in the request, defaults to the \'status\' property of the main object. Returns a SuccessResponse containing the flow records.
|
|
701
735
|
|
|
@@ -704,18 +738,19 @@ Retrieves a list of records formatted for flow view based on a specific property
|
|
|
704
738
|
```typescript
|
|
705
739
|
import {
|
|
706
740
|
RecordsApi,
|
|
707
|
-
Configuration
|
|
741
|
+
Configuration,
|
|
742
|
+
FlowPaginationRequest
|
|
708
743
|
} from '@caraer/client';
|
|
709
744
|
|
|
710
745
|
const configuration = new Configuration();
|
|
711
746
|
const apiInstance = new RecordsApi(configuration);
|
|
712
747
|
|
|
713
|
-
let
|
|
748
|
+
let flowPaginationRequest: FlowPaginationRequest; //Pagination request for flow view
|
|
714
749
|
let relatedRecordUuid: string; //UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record. (optional) (default to undefined)
|
|
715
750
|
let parse: 'DB' | 'HUMAN_READABLE' | 'STRUCTURED'; //Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records). (optional) (default to undefined)
|
|
716
751
|
|
|
717
752
|
const { status, data } = await apiInstance.indexFlow(
|
|
718
|
-
|
|
753
|
+
flowPaginationRequest,
|
|
719
754
|
relatedRecordUuid,
|
|
720
755
|
parse
|
|
721
756
|
);
|
|
@@ -725,14 +760,14 @@ const { status, data } = await apiInstance.indexFlow(
|
|
|
725
760
|
|
|
726
761
|
|Name | Type | Description | Notes|
|
|
727
762
|
|------------- | ------------- | ------------- | -------------|
|
|
728
|
-
| **
|
|
763
|
+
| **flowPaginationRequest** | **FlowPaginationRequest**| Pagination request for flow view | |
|
|
729
764
|
| **relatedRecordUuid** | [**string**] | UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record. | (optional) defaults to undefined|
|
|
730
765
|
| **parse** | [**'DB' | 'HUMAN_READABLE' | 'STRUCTURED'**]**Array<'DB' | 'HUMAN_READABLE' | 'STRUCTURED'>** | Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records). | (optional) defaults to undefined|
|
|
731
766
|
|
|
732
767
|
|
|
733
768
|
### Return type
|
|
734
769
|
|
|
735
|
-
**
|
|
770
|
+
**SuccessResponseFlow**
|
|
736
771
|
|
|
737
772
|
### Authorization
|
|
738
773
|
|
|
@@ -750,11 +785,14 @@ const { status, data } = await apiInstance.indexFlow(
|
|
|
750
785
|
|**200** | Records for flow view fetched successfully | - |
|
|
751
786
|
|**400** | Required property not found | - |
|
|
752
787
|
|**500** | Internal server error | - |
|
|
788
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
789
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
790
|
+
|**404** | The requested resource was not found. | - |
|
|
753
791
|
|
|
754
792
|
[[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
793
|
|
|
756
794
|
# **indexPage**
|
|
757
|
-
>
|
|
795
|
+
> PaginationResponseObject indexPage(recordPaginationRequest)
|
|
758
796
|
|
|
759
797
|
Retrieves a paginated list of webpages for page view. The search query is temporarily removed from the pagination request and passed separately. Returns a PaginationResponse containing WebpageDTO objects.
|
|
760
798
|
|
|
@@ -763,13 +801,14 @@ Retrieves a paginated list of webpages for page view. The search query is tempor
|
|
|
763
801
|
```typescript
|
|
764
802
|
import {
|
|
765
803
|
RecordsApi,
|
|
766
|
-
Configuration
|
|
804
|
+
Configuration,
|
|
805
|
+
RecordPaginationRequest
|
|
767
806
|
} from '@caraer/client';
|
|
768
807
|
|
|
769
808
|
const configuration = new Configuration();
|
|
770
809
|
const apiInstance = new RecordsApi(configuration);
|
|
771
810
|
|
|
772
|
-
let
|
|
811
|
+
let recordPaginationRequest: RecordPaginationRequest; //Pagination request for page view
|
|
773
812
|
let environment: string; //Target environment for resolving webpages (for example \'staging\' or \'production\'). Defaults to \'staging\'. (optional) (default to 'staging')
|
|
774
813
|
let relatedRecordUuid: string; //UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record. (optional) (default to undefined)
|
|
775
814
|
let fields: string; //Comma-separated WebpageDTO fields to return (for example: uuid,title). When omitted, the full WebpageDTO is returned. (optional) (default to undefined)
|
|
@@ -777,7 +816,7 @@ let publishedOnly: boolean; //When true, only returns pages published in the sel
|
|
|
777
816
|
let excludeTemplateRelated: boolean; //When true, excludes pages whose options mark them as related to a template. (optional) (default to false)
|
|
778
817
|
|
|
779
818
|
const { status, data } = await apiInstance.indexPage(
|
|
780
|
-
|
|
819
|
+
recordPaginationRequest,
|
|
781
820
|
environment,
|
|
782
821
|
relatedRecordUuid,
|
|
783
822
|
fields,
|
|
@@ -790,7 +829,7 @@ const { status, data } = await apiInstance.indexPage(
|
|
|
790
829
|
|
|
791
830
|
|Name | Type | Description | Notes|
|
|
792
831
|
|------------- | ------------- | ------------- | -------------|
|
|
793
|
-
| **
|
|
832
|
+
| **recordPaginationRequest** | **RecordPaginationRequest**| Pagination request for page view | |
|
|
794
833
|
| **environment** | [**string**] | Target environment for resolving webpages (for example \'staging\' or \'production\'). Defaults to \'staging\'. | (optional) defaults to 'staging'|
|
|
795
834
|
| **relatedRecordUuid** | [**string**] | UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record. | (optional) defaults to undefined|
|
|
796
835
|
| **fields** | [**string**] | Comma-separated WebpageDTO fields to return (for example: uuid,title). When omitted, the full WebpageDTO is returned. | (optional) defaults to undefined|
|
|
@@ -800,7 +839,7 @@ const { status, data } = await apiInstance.indexPage(
|
|
|
800
839
|
|
|
801
840
|
### Return type
|
|
802
841
|
|
|
803
|
-
**
|
|
842
|
+
**PaginationResponseObject**
|
|
804
843
|
|
|
805
844
|
### Authorization
|
|
806
845
|
|
|
@@ -817,11 +856,15 @@ const { status, data } = await apiInstance.indexPage(
|
|
|
817
856
|
|-------------|-------------|------------------|
|
|
818
857
|
|**200** | Webpages fetched successfully | - |
|
|
819
858
|
|**400** | Invalid pagination request | - |
|
|
859
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
860
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
861
|
+
|**404** | The requested resource was not found. | - |
|
|
862
|
+
|**500** | An internal server error occurred. | - |
|
|
820
863
|
|
|
821
864
|
[[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)
|
|
822
865
|
|
|
823
866
|
# **indexTable**
|
|
824
|
-
>
|
|
867
|
+
> SuccessResponseTable indexTable(recordPaginationRequest)
|
|
825
868
|
|
|
826
869
|
Retrieves records formatted for table display. Returns a PaginationResponse containing records formatted for table view.
|
|
827
870
|
|
|
@@ -830,17 +873,18 @@ Retrieves records formatted for table display. Returns a PaginationResponse cont
|
|
|
830
873
|
```typescript
|
|
831
874
|
import {
|
|
832
875
|
RecordsApi,
|
|
833
|
-
Configuration
|
|
876
|
+
Configuration,
|
|
877
|
+
RecordPaginationRequest
|
|
834
878
|
} from '@caraer/client';
|
|
835
879
|
|
|
836
880
|
const configuration = new Configuration();
|
|
837
881
|
const apiInstance = new RecordsApi(configuration);
|
|
838
882
|
|
|
839
|
-
let
|
|
883
|
+
let recordPaginationRequest: RecordPaginationRequest; //Pagination request for table view
|
|
840
884
|
let relatedRecordUuid: string; //UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record. (optional) (default to undefined)
|
|
841
885
|
|
|
842
886
|
const { status, data } = await apiInstance.indexTable(
|
|
843
|
-
|
|
887
|
+
recordPaginationRequest,
|
|
844
888
|
relatedRecordUuid
|
|
845
889
|
);
|
|
846
890
|
```
|
|
@@ -849,13 +893,13 @@ const { status, data } = await apiInstance.indexTable(
|
|
|
849
893
|
|
|
850
894
|
|Name | Type | Description | Notes|
|
|
851
895
|
|------------- | ------------- | ------------- | -------------|
|
|
852
|
-
| **
|
|
896
|
+
| **recordPaginationRequest** | **RecordPaginationRequest**| Pagination request for table view | |
|
|
853
897
|
| **relatedRecordUuid** | [**string**] | UUID of a record used for relation-aware filtering. If supplied and the request body contains a filter, that filter will be smartened based on this related record. If no filter is supplied, a default filter will be applied that returns all records related in any way (any relation) to this record. | (optional) defaults to undefined|
|
|
854
898
|
|
|
855
899
|
|
|
856
900
|
### Return type
|
|
857
901
|
|
|
858
|
-
**
|
|
902
|
+
**SuccessResponseTable**
|
|
859
903
|
|
|
860
904
|
### Authorization
|
|
861
905
|
|
|
@@ -872,11 +916,15 @@ const { status, data } = await apiInstance.indexTable(
|
|
|
872
916
|
|-------------|-------------|------------------|
|
|
873
917
|
|**200** | Records for table view fetched successfully | - |
|
|
874
918
|
|**400** | Invalid request | - |
|
|
919
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
920
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
921
|
+
|**404** | The requested resource was not found. | - |
|
|
922
|
+
|**500** | An internal server error occurred. | - |
|
|
875
923
|
|
|
876
924
|
[[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)
|
|
877
925
|
|
|
878
926
|
# **preview**
|
|
879
|
-
>
|
|
927
|
+
> ShowResponsePreviewDTO preview()
|
|
880
928
|
|
|
881
929
|
Retrieves a preview for a record specified by its UUID and preview name. Returns a ShowResponse containing the preview data.
|
|
882
930
|
|
|
@@ -916,7 +964,7 @@ const { status, data } = await apiInstance.preview(
|
|
|
916
964
|
|
|
917
965
|
### Return type
|
|
918
966
|
|
|
919
|
-
**
|
|
967
|
+
**ShowResponsePreviewDTO**
|
|
920
968
|
|
|
921
969
|
### Authorization
|
|
922
970
|
|
|
@@ -933,6 +981,9 @@ const { status, data } = await apiInstance.preview(
|
|
|
933
981
|
|-------------|-------------|------------------|
|
|
934
982
|
|**200** | Preview retrieved successfully | - |
|
|
935
983
|
|**404** | Record or preview not found | - |
|
|
984
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
985
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
986
|
+
|**500** | An internal server error occurred. | - |
|
|
936
987
|
|
|
937
988
|
[[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)
|
|
938
989
|
|
|
@@ -986,11 +1037,15 @@ const { status, data } = await apiInstance.query(
|
|
|
986
1037
|
|-------------|-------------|------------------|
|
|
987
1038
|
|**200** | Query completed successfully | - |
|
|
988
1039
|
|**400** | Invalid query request | - |
|
|
1040
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
1041
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
1042
|
+
|**404** | The requested resource was not found. | - |
|
|
1043
|
+
|**500** | An internal server error occurred. | - |
|
|
989
1044
|
|
|
990
1045
|
[[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)
|
|
991
1046
|
|
|
992
1047
|
# **restore**
|
|
993
|
-
>
|
|
1048
|
+
> SuccessResponseString restore()
|
|
994
1049
|
|
|
995
1050
|
Restores a soft-deleted record identified by its UUID. Returns a SuccessResponse confirming that the record has been restored.
|
|
996
1051
|
|
|
@@ -1021,7 +1076,7 @@ const { status, data } = await apiInstance.restore(
|
|
|
1021
1076
|
|
|
1022
1077
|
### Return type
|
|
1023
1078
|
|
|
1024
|
-
**
|
|
1079
|
+
**SuccessResponseString**
|
|
1025
1080
|
|
|
1026
1081
|
### Authorization
|
|
1027
1082
|
|
|
@@ -1039,11 +1094,13 @@ const { status, data } = await apiInstance.restore(
|
|
|
1039
1094
|
|**200** | Record restored successfully | - |
|
|
1040
1095
|
|**404** | Record not found | - |
|
|
1041
1096
|
|**500** | Internal server error | - |
|
|
1097
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
1098
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
1042
1099
|
|
|
1043
1100
|
[[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)
|
|
1044
1101
|
|
|
1045
1102
|
# **search**
|
|
1046
|
-
>
|
|
1103
|
+
> PaginationResponseObject search(searchRequest)
|
|
1047
1104
|
|
|
1048
1105
|
Performs a search for records based on the specified criteria in the request body. Returns a PaginationResponse containing matching records.
|
|
1049
1106
|
|
|
@@ -1052,19 +1109,20 @@ Performs a search for records based on the specified criteria in the request bod
|
|
|
1052
1109
|
```typescript
|
|
1053
1110
|
import {
|
|
1054
1111
|
RecordsApi,
|
|
1055
|
-
Configuration
|
|
1112
|
+
Configuration,
|
|
1113
|
+
SearchRequest
|
|
1056
1114
|
} from '@caraer/client';
|
|
1057
1115
|
|
|
1058
1116
|
const configuration = new Configuration();
|
|
1059
1117
|
const apiInstance = new RecordsApi(configuration);
|
|
1060
1118
|
|
|
1061
|
-
let
|
|
1119
|
+
let searchRequest: SearchRequest; //Search criteria
|
|
1062
1120
|
let archived: boolean; //When set to \'true\', includes soft-deleted records in the search results. (optional) (default to false)
|
|
1063
1121
|
let parse: 'DB' | 'HUMAN_READABLE' | 'STRUCTURED'; //Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records). (optional) (default to undefined)
|
|
1064
1122
|
let recordReturnFormat: 'LEGACY' | 'USER_FRIENDLY' | 'EXPANDED'; //Format of the records to return. LEGACY, USER_FRIENDLY, EXPANDED. (optional) (default to 'LEGACY')
|
|
1065
1123
|
|
|
1066
1124
|
const { status, data } = await apiInstance.search(
|
|
1067
|
-
|
|
1125
|
+
searchRequest,
|
|
1068
1126
|
archived,
|
|
1069
1127
|
parse,
|
|
1070
1128
|
recordReturnFormat
|
|
@@ -1075,7 +1133,7 @@ const { status, data } = await apiInstance.search(
|
|
|
1075
1133
|
|
|
1076
1134
|
|Name | Type | Description | Notes|
|
|
1077
1135
|
|------------- | ------------- | ------------- | -------------|
|
|
1078
|
-
| **
|
|
1136
|
+
| **searchRequest** | **SearchRequest**| Search criteria | |
|
|
1079
1137
|
| **archived** | [**boolean**] | When set to \'true\', includes soft-deleted records in the search results. | (optional) defaults to false|
|
|
1080
1138
|
| **parse** | [**'DB' | 'HUMAN_READABLE' | 'STRUCTURED'**]**Array<'DB' | 'HUMAN_READABLE' | 'STRUCTURED'>** | Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records). | (optional) defaults to undefined|
|
|
1081
1139
|
| **recordReturnFormat** | [**'LEGACY' | 'USER_FRIENDLY' | 'EXPANDED'**]**Array<'LEGACY' | 'USER_FRIENDLY' | 'EXPANDED'>** | Format of the records to return. LEGACY, USER_FRIENDLY, EXPANDED. | (optional) defaults to 'LEGACY'|
|
|
@@ -1083,7 +1141,7 @@ const { status, data } = await apiInstance.search(
|
|
|
1083
1141
|
|
|
1084
1142
|
### Return type
|
|
1085
1143
|
|
|
1086
|
-
**
|
|
1144
|
+
**PaginationResponseObject**
|
|
1087
1145
|
|
|
1088
1146
|
### Authorization
|
|
1089
1147
|
|
|
@@ -1098,14 +1156,17 @@ const { status, data } = await apiInstance.search(
|
|
|
1098
1156
|
### HTTP response details
|
|
1099
1157
|
| Status code | Description | Response headers |
|
|
1100
1158
|
|-------------|-------------|------------------|
|
|
1101
|
-
|**200** | Search completed successfully | - |
|
|
1159
|
+
|**200** | Search completed successfully. data items are preview objects when preview is set, otherwise record payloads shaped by recordReturnFormat. | - |
|
|
1102
1160
|
|**400** | Invalid search parameters | - |
|
|
1103
1161
|
|**500** | Internal server error | - |
|
|
1162
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
1163
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
1164
|
+
|**404** | The requested resource was not found. | - |
|
|
1104
1165
|
|
|
1105
1166
|
[[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)
|
|
1106
1167
|
|
|
1107
1168
|
# **searchCrossObject**
|
|
1108
|
-
>
|
|
1169
|
+
> PaginationResponsePreviewDTO searchCrossObject(crossObjectRecordSearchRequest)
|
|
1109
1170
|
|
|
1110
1171
|
Searches records across multiple object types in one request. Use fromObjectUuid + relationName to limit to relation target objects (e.g. event attendees), or objectUuids for an explicit list, or omit both to search all company objects (capped). Returns preview-shaped results suitable for relation pickers.
|
|
1111
1172
|
|
|
@@ -1143,7 +1204,7 @@ const { status, data } = await apiInstance.searchCrossObject(
|
|
|
1143
1204
|
|
|
1144
1205
|
### Return type
|
|
1145
1206
|
|
|
1146
|
-
**
|
|
1207
|
+
**PaginationResponsePreviewDTO**
|
|
1147
1208
|
|
|
1148
1209
|
### Authorization
|
|
1149
1210
|
|
|
@@ -1160,11 +1221,15 @@ const { status, data } = await apiInstance.searchCrossObject(
|
|
|
1160
1221
|
|-------------|-------------|------------------|
|
|
1161
1222
|
|**200** | Search completed successfully | - |
|
|
1162
1223
|
|**400** | Invalid search parameters | - |
|
|
1224
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
1225
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
1226
|
+
|**404** | The requested resource was not found. | - |
|
|
1227
|
+
|**500** | An internal server error occurred. | - |
|
|
1163
1228
|
|
|
1164
1229
|
[[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)
|
|
1165
1230
|
|
|
1166
1231
|
# **show**
|
|
1167
|
-
>
|
|
1232
|
+
> ShowResponseObject show()
|
|
1168
1233
|
|
|
1169
1234
|
Retrieves detailed information about a record by its UUID. Returns a ShowResponse containing the record details. Prefer GET /{objectName}/{uuid} when the object context is known.
|
|
1170
1235
|
|
|
@@ -1207,7 +1272,7 @@ const { status, data } = await apiInstance.show(
|
|
|
1207
1272
|
|
|
1208
1273
|
### Return type
|
|
1209
1274
|
|
|
1210
|
-
**
|
|
1275
|
+
**ShowResponseObject**
|
|
1211
1276
|
|
|
1212
1277
|
### Authorization
|
|
1213
1278
|
|
|
@@ -1224,11 +1289,14 @@ const { status, data } = await apiInstance.show(
|
|
|
1224
1289
|
|-------------|-------------|------------------|
|
|
1225
1290
|
|**200** | Record retrieved successfully | - |
|
|
1226
1291
|
|**404** | Record not found | - |
|
|
1292
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
1293
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
1294
|
+
|**500** | An internal server error occurred. | - |
|
|
1227
1295
|
|
|
1228
1296
|
[[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)
|
|
1229
1297
|
|
|
1230
1298
|
# **showByObject**
|
|
1231
|
-
>
|
|
1299
|
+
> ShowResponseObject showByObject()
|
|
1232
1300
|
|
|
1233
1301
|
Retrieves a record by object name and UUID. Same response as GET /{uuid}?object={objectName}.
|
|
1234
1302
|
|
|
@@ -1268,7 +1336,7 @@ const { status, data } = await apiInstance.showByObject(
|
|
|
1268
1336
|
|
|
1269
1337
|
### Return type
|
|
1270
1338
|
|
|
1271
|
-
**
|
|
1339
|
+
**ShowResponseObject**
|
|
1272
1340
|
|
|
1273
1341
|
### Authorization
|
|
1274
1342
|
|
|
@@ -1285,11 +1353,14 @@ const { status, data } = await apiInstance.showByObject(
|
|
|
1285
1353
|
|-------------|-------------|------------------|
|
|
1286
1354
|
|**200** | Record retrieved successfully | - |
|
|
1287
1355
|
|**404** | Record not found | - |
|
|
1356
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
1357
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
1358
|
+
|**500** | An internal server error occurred. | - |
|
|
1288
1359
|
|
|
1289
1360
|
[[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)
|
|
1290
1361
|
|
|
1291
1362
|
# **suggestAnalyticsWidgets**
|
|
1292
|
-
>
|
|
1363
|
+
> SuccessResponseSuggestAnalyticsWidgetsResponse suggestAnalyticsWidgets(suggestAnalyticsWidgetsRequest)
|
|
1293
1364
|
|
|
1294
1365
|
Uses structured OpenAI output plus schema validation to propose dashboard charts for an object. Returns an empty list when AI is unavailable.
|
|
1295
1366
|
|
|
@@ -1321,7 +1392,7 @@ const { status, data } = await apiInstance.suggestAnalyticsWidgets(
|
|
|
1321
1392
|
|
|
1322
1393
|
### Return type
|
|
1323
1394
|
|
|
1324
|
-
**
|
|
1395
|
+
**SuccessResponseSuggestAnalyticsWidgetsResponse**
|
|
1325
1396
|
|
|
1326
1397
|
### Authorization
|
|
1327
1398
|
|
|
@@ -1339,6 +1410,9 @@ const { status, data } = await apiInstance.suggestAnalyticsWidgets(
|
|
|
1339
1410
|
|**200** | Suggestions generated (may be empty) | - |
|
|
1340
1411
|
|**400** | Invalid request | - |
|
|
1341
1412
|
|**404** | Object not found | - |
|
|
1413
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
1414
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
1415
|
+
|**500** | An internal server error occurred. | - |
|
|
1342
1416
|
|
|
1343
1417
|
[[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)
|
|
1344
1418
|
|
|
@@ -1409,6 +1483,8 @@ const { status, data } = await apiInstance.update(
|
|
|
1409
1483
|
|**400** | Invalid input data | - |
|
|
1410
1484
|
|**404** | Record not found | - |
|
|
1411
1485
|
|**500** | Internal server error | - |
|
|
1486
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
1487
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
1412
1488
|
|
|
1413
1489
|
[[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)
|
|
1414
1490
|
|
|
@@ -1479,11 +1555,13 @@ const { status, data } = await apiInstance.updateByUuid(
|
|
|
1479
1555
|
|**400** | Invalid input data | - |
|
|
1480
1556
|
|**404** | Record not found | - |
|
|
1481
1557
|
|**500** | Internal server error | - |
|
|
1558
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
1559
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
1482
1560
|
|
|
1483
1561
|
[[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)
|
|
1484
1562
|
|
|
1485
1563
|
# **updateRelationEdge**
|
|
1486
|
-
>
|
|
1564
|
+
> SuccessResponseString updateRelationEdge(relationEdgeRequestDTO)
|
|
1487
1565
|
|
|
1488
1566
|
Patches values stored on an existing relation edge. Only keys present in edgeProperties are written; a null value clears a key.
|
|
1489
1567
|
|
|
@@ -1524,7 +1602,7 @@ const { status, data } = await apiInstance.updateRelationEdge(
|
|
|
1524
1602
|
|
|
1525
1603
|
### Return type
|
|
1526
1604
|
|
|
1527
|
-
**
|
|
1605
|
+
**SuccessResponseString**
|
|
1528
1606
|
|
|
1529
1607
|
### Authorization
|
|
1530
1608
|
|
|
@@ -1542,6 +1620,9 @@ const { status, data } = await apiInstance.updateRelationEdge(
|
|
|
1542
1620
|
|**200** | Relation updated successfully | - |
|
|
1543
1621
|
|**400** | Unknown or invalid edge property | - |
|
|
1544
1622
|
|**404** | One or more entities not found | - |
|
|
1623
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
1624
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
1625
|
+
|**500** | An internal server error occurred. | - |
|
|
1545
1626
|
|
|
1546
1627
|
[[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)
|
|
1547
1628
|
|