@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/PropertyApi.md
CHANGED
|
@@ -20,7 +20,7 @@ All URIs are relative to *https://v2.api.caraer.com*
|
|
|
20
20
|
|[**updateProperty**](#updateproperty) | **PUT** /api/v2/objects/{objectUuid}/properties/{propertyUuid} | Update an existing property|
|
|
21
21
|
|
|
22
22
|
# **copyPropertiesToObject**
|
|
23
|
-
>
|
|
23
|
+
> SuccessResponseListPropertyDTO copyPropertiesToObject(copyPropertiesToObjectRequest)
|
|
24
24
|
|
|
25
25
|
Attaches existing properties from other objects to the target object in a single request. Archived links on the target object are restored. Properties already active on the target are rejected.
|
|
26
26
|
|
|
@@ -55,7 +55,7 @@ const { status, data } = await apiInstance.copyPropertiesToObject(
|
|
|
55
55
|
|
|
56
56
|
### Return type
|
|
57
57
|
|
|
58
|
-
**
|
|
58
|
+
**SuccessResponseListPropertyDTO**
|
|
59
59
|
|
|
60
60
|
### Authorization
|
|
61
61
|
|
|
@@ -73,6 +73,9 @@ const { status, data } = await apiInstance.copyPropertiesToObject(
|
|
|
73
73
|
|**200** | Properties copied successfully | - |
|
|
74
74
|
|**400** | Invalid input data | - |
|
|
75
75
|
|**404** | Object or property not found | - |
|
|
76
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
77
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
78
|
+
|**500** | An internal server error occurred. | - |
|
|
76
79
|
|
|
77
80
|
[[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)
|
|
78
81
|
|
|
@@ -129,7 +132,10 @@ const { status, data } = await apiInstance.createProperty(
|
|
|
129
132
|
|-------------|-------------|------------------|
|
|
130
133
|
|**201** | Property created successfully | - |
|
|
131
134
|
|**400** | Invalid input data | - |
|
|
132
|
-
|**500** |
|
|
135
|
+
|**500** | An internal server error occurred. | - |
|
|
136
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
137
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
138
|
+
|**404** | The requested resource was not found. | - |
|
|
133
139
|
|
|
134
140
|
[[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)
|
|
135
141
|
|
|
@@ -177,20 +183,22 @@ const { status, data } = await apiInstance.deleteProperty(
|
|
|
177
183
|
### HTTP request headers
|
|
178
184
|
|
|
179
185
|
- **Content-Type**: Not defined
|
|
180
|
-
- **Accept**: application/json
|
|
186
|
+
- **Accept**: application/json
|
|
181
187
|
|
|
182
188
|
|
|
183
189
|
### HTTP response details
|
|
184
190
|
| Status code | Description | Response headers |
|
|
185
191
|
|-------------|-------------|------------------|
|
|
186
192
|
|**200** | Property deleted successfully | - |
|
|
187
|
-
|**404** |
|
|
188
|
-
|**500** |
|
|
193
|
+
|**404** | The requested resource was not found. | - |
|
|
194
|
+
|**500** | An internal server error occurred. | - |
|
|
195
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
196
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
189
197
|
|
|
190
198
|
[[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)
|
|
191
199
|
|
|
192
200
|
# **getCalculationTypes**
|
|
193
|
-
>
|
|
201
|
+
> PaginationResponsePropertyCalculationTypeDTO getCalculationTypes()
|
|
194
202
|
|
|
195
203
|
Returns the calculation functions available for each property type (for example min/max on numbers).
|
|
196
204
|
|
|
@@ -221,7 +229,7 @@ const { status, data } = await apiInstance.getCalculationTypes(
|
|
|
221
229
|
|
|
222
230
|
### Return type
|
|
223
231
|
|
|
224
|
-
**
|
|
232
|
+
**PaginationResponsePropertyCalculationTypeDTO**
|
|
225
233
|
|
|
226
234
|
### Authorization
|
|
227
235
|
|
|
@@ -230,19 +238,22 @@ const { status, data } = await apiInstance.getCalculationTypes(
|
|
|
230
238
|
### HTTP request headers
|
|
231
239
|
|
|
232
240
|
- **Content-Type**: Not defined
|
|
233
|
-
- **Accept**: application/json
|
|
241
|
+
- **Accept**: application/json
|
|
234
242
|
|
|
235
243
|
|
|
236
244
|
### HTTP response details
|
|
237
245
|
| Status code | Description | Response headers |
|
|
238
246
|
|-------------|-------------|------------------|
|
|
239
247
|
|**200** | Calculation types retrieved successfully | - |
|
|
240
|
-
|**500** |
|
|
248
|
+
|**500** | An internal server error occurred. | - |
|
|
249
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
250
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
251
|
+
|**404** | The requested resource was not found. | - |
|
|
241
252
|
|
|
242
253
|
[[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)
|
|
243
254
|
|
|
244
255
|
# **getFormats**
|
|
245
|
-
>
|
|
256
|
+
> PaginationResponsePropertyFormat getFormats()
|
|
246
257
|
|
|
247
258
|
Fetches a sorted list of available property formats. The formats are retrieved from the PropertyFormats enum and converted to PropertyFormat instances.
|
|
248
259
|
|
|
@@ -273,7 +284,7 @@ const { status, data } = await apiInstance.getFormats(
|
|
|
273
284
|
|
|
274
285
|
### Return type
|
|
275
286
|
|
|
276
|
-
**
|
|
287
|
+
**PaginationResponsePropertyFormat**
|
|
277
288
|
|
|
278
289
|
### Authorization
|
|
279
290
|
|
|
@@ -282,19 +293,22 @@ const { status, data } = await apiInstance.getFormats(
|
|
|
282
293
|
### HTTP request headers
|
|
283
294
|
|
|
284
295
|
- **Content-Type**: Not defined
|
|
285
|
-
- **Accept**: application/json
|
|
296
|
+
- **Accept**: application/json
|
|
286
297
|
|
|
287
298
|
|
|
288
299
|
### HTTP response details
|
|
289
300
|
| Status code | Description | Response headers |
|
|
290
301
|
|-------------|-------------|------------------|
|
|
291
302
|
|**200** | Property formats retrieved successfully | - |
|
|
292
|
-
|**500** |
|
|
303
|
+
|**500** | An internal server error occurred. | - |
|
|
304
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
305
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
306
|
+
|**404** | The requested resource was not found. | - |
|
|
293
307
|
|
|
294
308
|
[[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)
|
|
295
309
|
|
|
296
310
|
# **getProperties**
|
|
297
|
-
>
|
|
311
|
+
> PaginationResponsePropertyDTO getProperties(paginationRequest)
|
|
298
312
|
|
|
299
313
|
Retrieves a paginated list of properties for a given object. Depending on the object UUID format, a Cypher query is constructed to filter properties belonging to that object. Returns a PaginationResponse containing PropertyDTO objects.
|
|
300
314
|
|
|
@@ -303,18 +317,19 @@ Retrieves a paginated list of properties for a given object. Depending on the ob
|
|
|
303
317
|
```typescript
|
|
304
318
|
import {
|
|
305
319
|
PropertyApi,
|
|
306
|
-
Configuration
|
|
320
|
+
Configuration,
|
|
321
|
+
PaginationRequest
|
|
307
322
|
} from '@caraer/client';
|
|
308
323
|
|
|
309
324
|
const configuration = new Configuration();
|
|
310
325
|
const apiInstance = new PropertyApi(configuration);
|
|
311
326
|
|
|
312
327
|
let objectUuid: string; // (default to undefined)
|
|
313
|
-
let
|
|
328
|
+
let paginationRequest: PaginationRequest; //Pagination details (limit, page, filters, sort, query)
|
|
314
329
|
|
|
315
330
|
const { status, data } = await apiInstance.getProperties(
|
|
316
331
|
objectUuid,
|
|
317
|
-
|
|
332
|
+
paginationRequest
|
|
318
333
|
);
|
|
319
334
|
```
|
|
320
335
|
|
|
@@ -322,13 +337,13 @@ const { status, data } = await apiInstance.getProperties(
|
|
|
322
337
|
|
|
323
338
|
|Name | Type | Description | Notes|
|
|
324
339
|
|------------- | ------------- | ------------- | -------------|
|
|
325
|
-
| **
|
|
340
|
+
| **paginationRequest** | **PaginationRequest**| Pagination details (limit, page, filters, sort, query) | |
|
|
326
341
|
| **objectUuid** | [**string**] | | defaults to undefined|
|
|
327
342
|
|
|
328
343
|
|
|
329
344
|
### Return type
|
|
330
345
|
|
|
331
|
-
**
|
|
346
|
+
**PaginationResponsePropertyDTO**
|
|
332
347
|
|
|
333
348
|
### Authorization
|
|
334
349
|
|
|
@@ -346,11 +361,14 @@ const { status, data } = await apiInstance.getProperties(
|
|
|
346
361
|
|**200** | Properties fetched successfully | - |
|
|
347
362
|
|**400** | Invalid pagination request | - |
|
|
348
363
|
|**500** | Internal server error | - |
|
|
364
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
365
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
366
|
+
|**404** | The requested resource was not found. | - |
|
|
349
367
|
|
|
350
368
|
[[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)
|
|
351
369
|
|
|
352
370
|
# **getProperty**
|
|
353
|
-
>
|
|
371
|
+
> ShowResponsePropertyDTO getProperty()
|
|
354
372
|
|
|
355
373
|
Retrieves details of a property by its UUID and associates it with its parent object. Returns a ShowResponse containing a PropertyDTO object with complete property details.
|
|
356
374
|
|
|
@@ -384,7 +402,7 @@ const { status, data } = await apiInstance.getProperty(
|
|
|
384
402
|
|
|
385
403
|
### Return type
|
|
386
404
|
|
|
387
|
-
**
|
|
405
|
+
**ShowResponsePropertyDTO**
|
|
388
406
|
|
|
389
407
|
### Authorization
|
|
390
408
|
|
|
@@ -393,20 +411,22 @@ const { status, data } = await apiInstance.getProperty(
|
|
|
393
411
|
### HTTP request headers
|
|
394
412
|
|
|
395
413
|
- **Content-Type**: Not defined
|
|
396
|
-
- **Accept**: application/json
|
|
414
|
+
- **Accept**: application/json
|
|
397
415
|
|
|
398
416
|
|
|
399
417
|
### HTTP response details
|
|
400
418
|
| Status code | Description | Response headers |
|
|
401
419
|
|-------------|-------------|------------------|
|
|
402
420
|
|**200** | Property retrieved successfully | - |
|
|
403
|
-
|**404** |
|
|
404
|
-
|**500** |
|
|
421
|
+
|**404** | The requested resource was not found. | - |
|
|
422
|
+
|**500** | An internal server error occurred. | - |
|
|
423
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
424
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
405
425
|
|
|
406
426
|
[[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)
|
|
407
427
|
|
|
408
428
|
# **getPropertyCalculationTypes**
|
|
409
|
-
>
|
|
429
|
+
> SuccessResponseListString getPropertyCalculationTypes()
|
|
410
430
|
|
|
411
431
|
Returns calculation functions supported for the property\'s type.
|
|
412
432
|
|
|
@@ -440,7 +460,7 @@ const { status, data } = await apiInstance.getPropertyCalculationTypes(
|
|
|
440
460
|
|
|
441
461
|
### Return type
|
|
442
462
|
|
|
443
|
-
**
|
|
463
|
+
**SuccessResponseListString**
|
|
444
464
|
|
|
445
465
|
### Authorization
|
|
446
466
|
|
|
@@ -449,14 +469,17 @@ const { status, data } = await apiInstance.getPropertyCalculationTypes(
|
|
|
449
469
|
### HTTP request headers
|
|
450
470
|
|
|
451
471
|
- **Content-Type**: Not defined
|
|
452
|
-
- **Accept**: application/json
|
|
472
|
+
- **Accept**: application/json
|
|
453
473
|
|
|
454
474
|
|
|
455
475
|
### HTTP response details
|
|
456
476
|
| Status code | Description | Response headers |
|
|
457
477
|
|-------------|-------------|------------------|
|
|
458
478
|
|**200** | Calculation types retrieved successfully | - |
|
|
459
|
-
|**404** |
|
|
479
|
+
|**404** | The requested resource was not found. | - |
|
|
480
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
481
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
482
|
+
|**500** | An internal server error occurred. | - |
|
|
460
483
|
|
|
461
484
|
[[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)
|
|
462
485
|
|
|
@@ -512,7 +535,10 @@ const { status, data } = await apiInstance.permanentlyDeleteArchivedProperty(
|
|
|
512
535
|
|-------------|-------------|------------------|
|
|
513
536
|
|**200** | Archived property permanently removed | - |
|
|
514
537
|
|**400** | Property is not archived for this object | - |
|
|
515
|
-
|**404** |
|
|
538
|
+
|**404** | The requested resource was not found. | - |
|
|
539
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
540
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
541
|
+
|**500** | An internal server error occurred. | - |
|
|
516
542
|
|
|
517
543
|
[[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)
|
|
518
544
|
|
|
@@ -560,15 +586,17 @@ const { status, data } = await apiInstance.pinProperty(
|
|
|
560
586
|
### HTTP request headers
|
|
561
587
|
|
|
562
588
|
- **Content-Type**: Not defined
|
|
563
|
-
- **Accept**: application/json
|
|
589
|
+
- **Accept**: application/json
|
|
564
590
|
|
|
565
591
|
|
|
566
592
|
### HTTP response details
|
|
567
593
|
| Status code | Description | Response headers |
|
|
568
594
|
|-------------|-------------|------------------|
|
|
569
595
|
|**200** | Property pinned successfully | - |
|
|
570
|
-
|**404** |
|
|
571
|
-
|**500** |
|
|
596
|
+
|**404** | The requested resource was not found. | - |
|
|
597
|
+
|**500** | An internal server error occurred. | - |
|
|
598
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
599
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
572
600
|
|
|
573
601
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
574
602
|
|
|
@@ -616,15 +644,17 @@ const { status, data } = await apiInstance.restoreProperty(
|
|
|
616
644
|
### HTTP request headers
|
|
617
645
|
|
|
618
646
|
- **Content-Type**: Not defined
|
|
619
|
-
- **Accept**: application/json
|
|
647
|
+
- **Accept**: application/json
|
|
620
648
|
|
|
621
649
|
|
|
622
650
|
### HTTP response details
|
|
623
651
|
| Status code | Description | Response headers |
|
|
624
652
|
|-------------|-------------|------------------|
|
|
625
653
|
|**200** | Property restored successfully | - |
|
|
626
|
-
|**404** |
|
|
627
|
-
|**500** |
|
|
654
|
+
|**404** | The requested resource was not found. | - |
|
|
655
|
+
|**500** | An internal server error occurred. | - |
|
|
656
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
657
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
628
658
|
|
|
629
659
|
[[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)
|
|
630
660
|
|
|
@@ -672,20 +702,22 @@ const { status, data } = await apiInstance.unpinProperty(
|
|
|
672
702
|
### HTTP request headers
|
|
673
703
|
|
|
674
704
|
- **Content-Type**: Not defined
|
|
675
|
-
- **Accept**: application/json
|
|
705
|
+
- **Accept**: application/json
|
|
676
706
|
|
|
677
707
|
|
|
678
708
|
### HTTP response details
|
|
679
709
|
| Status code | Description | Response headers |
|
|
680
710
|
|-------------|-------------|------------------|
|
|
681
711
|
|**200** | Property unpinned successfully | - |
|
|
682
|
-
|**404** |
|
|
683
|
-
|**500** |
|
|
712
|
+
|**404** | The requested resource was not found. | - |
|
|
713
|
+
|**500** | An internal server error occurred. | - |
|
|
714
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
715
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
684
716
|
|
|
685
717
|
[[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)
|
|
686
718
|
|
|
687
719
|
# **updateIndices2**
|
|
688
|
-
>
|
|
720
|
+
> SuccessResponseListPropertyDTO updateIndices2(requestBody)
|
|
689
721
|
|
|
690
722
|
Updates the indices for properties of a specific object. The request body should contain a mapping between property UUIDs and their new index values. Returns a SuccessResponse containing a list of updated PropertyDTO objects.
|
|
691
723
|
|
|
@@ -701,11 +733,11 @@ const configuration = new Configuration();
|
|
|
701
733
|
const apiInstance = new PropertyApi(configuration);
|
|
702
734
|
|
|
703
735
|
let objectUuid: string; // (default to undefined)
|
|
704
|
-
let
|
|
736
|
+
let requestBody: { [key: string]: number; }; //Mapping of property UUIDs to new index values
|
|
705
737
|
|
|
706
738
|
const { status, data } = await apiInstance.updateIndices2(
|
|
707
739
|
objectUuid,
|
|
708
|
-
|
|
740
|
+
requestBody
|
|
709
741
|
);
|
|
710
742
|
```
|
|
711
743
|
|
|
@@ -713,13 +745,13 @@ const { status, data } = await apiInstance.updateIndices2(
|
|
|
713
745
|
|
|
714
746
|
|Name | Type | Description | Notes|
|
|
715
747
|
|------------- | ------------- | ------------- | -------------|
|
|
716
|
-
| **
|
|
748
|
+
| **requestBody** | **{ [key: string]: number; }**| Mapping of property UUIDs to new index values | |
|
|
717
749
|
| **objectUuid** | [**string**] | | defaults to undefined|
|
|
718
750
|
|
|
719
751
|
|
|
720
752
|
### Return type
|
|
721
753
|
|
|
722
|
-
**
|
|
754
|
+
**SuccessResponseListPropertyDTO**
|
|
723
755
|
|
|
724
756
|
### Authorization
|
|
725
757
|
|
|
@@ -736,7 +768,10 @@ const { status, data } = await apiInstance.updateIndices2(
|
|
|
736
768
|
|-------------|-------------|------------------|
|
|
737
769
|
|**200** | Indices updated successfully | - |
|
|
738
770
|
|**400** | Invalid input provided | - |
|
|
739
|
-
|**500** |
|
|
771
|
+
|**500** | An internal server error occurred. | - |
|
|
772
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
773
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
774
|
+
|**404** | The requested resource was not found. | - |
|
|
740
775
|
|
|
741
776
|
[[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)
|
|
742
777
|
|
|
@@ -796,8 +831,10 @@ const { status, data } = await apiInstance.updateProperty(
|
|
|
796
831
|
|-------------|-------------|------------------|
|
|
797
832
|
|**200** | Property updated successfully | - |
|
|
798
833
|
|**400** | Invalid input data | - |
|
|
799
|
-
|**404** |
|
|
800
|
-
|**500** |
|
|
834
|
+
|**404** | The requested resource was not found. | - |
|
|
835
|
+
|**500** | An internal server error occurred. | - |
|
|
836
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
837
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
801
838
|
|
|
802
839
|
[[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)
|
|
803
840
|
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# PublicFormDTO
|
|
2
|
+
|
|
3
|
+
Data transfer object representing a form with its associated properties and structure
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**uuid** | **string** | Unique identifier for the entity | [default to undefined]
|
|
10
|
+
**name** | **string** | The name of the entity | [default to undefined]
|
|
11
|
+
**label** | **string** | Display label for the entity, can be different from name | [optional] [default to undefined]
|
|
12
|
+
**createdAt** | **number** | Unix timestamp when the entity was created | [optional] [default to undefined]
|
|
13
|
+
**createdBy** | [**ModelRecord**](ModelRecord.md) | Identifier of the user who created the entity | [optional] [default to undefined]
|
|
14
|
+
**updatedAt** | **number** | Unix timestamp when the entity was last updated | [optional] [default to undefined]
|
|
15
|
+
**updatedBy** | [**ModelRecord**](ModelRecord.md) | Identifier of the user who last updated the entity | [optional] [default to undefined]
|
|
16
|
+
**deletedAt** | **number** | Unix timestamp when the entity was deleted (null if not deleted) | [optional] [default to undefined]
|
|
17
|
+
**deletedBy** | [**ModelRecord**](ModelRecord.md) | Identifier of the user who deleted the entity | [optional] [default to undefined]
|
|
18
|
+
**index** | **number** | Index number for ordering entities | [optional] [default to undefined]
|
|
19
|
+
**object** | [**CaraerObjectDTO**](CaraerObjectDTO.md) | The associated Caraer object that this form belongs to | [optional] [default to undefined]
|
|
20
|
+
**grids** | [**Array<FormItemDTO>**](FormItemDTO.md) | List of form items that make up the form\'s structure. Each grid represents a section or group of form elements | [optional] [default to undefined]
|
|
21
|
+
**description** | **string** | Descriptive text providing additional information about the form | [optional] [default to undefined]
|
|
22
|
+
**styling** | **string** | The styling of the form. Can be \'standard\', \'underline\' or \'plain\' | [optional] [default to undefined]
|
|
23
|
+
**wizard** | **boolean** | Indicates if the form should be displayed as a step-by-step wizard interface | [optional] [default to undefined]
|
|
24
|
+
**metadata** | **{ [key: string]: string; }** | Metadata associated with the form | [optional] [default to undefined]
|
|
25
|
+
**thankYouMessage** | **string** | Thank you message to be displayed after the form is submitted | [optional] [default to undefined]
|
|
26
|
+
**redirectUrl** | **string** | Redirect URL to be displayed after the form is submitted | [optional] [default to undefined]
|
|
27
|
+
|
|
28
|
+
## Example
|
|
29
|
+
|
|
30
|
+
```typescript
|
|
31
|
+
import { PublicFormDTO } from '@caraer/client';
|
|
32
|
+
|
|
33
|
+
const instance: PublicFormDTO = {
|
|
34
|
+
uuid,
|
|
35
|
+
name,
|
|
36
|
+
label,
|
|
37
|
+
createdAt,
|
|
38
|
+
createdBy,
|
|
39
|
+
updatedAt,
|
|
40
|
+
updatedBy,
|
|
41
|
+
deletedAt,
|
|
42
|
+
deletedBy,
|
|
43
|
+
index,
|
|
44
|
+
object,
|
|
45
|
+
grids,
|
|
46
|
+
description,
|
|
47
|
+
styling,
|
|
48
|
+
wizard,
|
|
49
|
+
metadata,
|
|
50
|
+
thankYouMessage,
|
|
51
|
+
redirectUrl,
|
|
52
|
+
};
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
[[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/Record.md
CHANGED
|
@@ -17,9 +17,9 @@ Name | Type | Description | Notes
|
|
|
17
17
|
**deleted** | **boolean** | | [optional] [default to undefined]
|
|
18
18
|
**complete** | **boolean** | | [optional] [default to undefined]
|
|
19
19
|
**uuid** | **string** | | [default to undefined]
|
|
20
|
-
**user** | [**PublicUserDTO**](PublicUserDTO.md) | | [optional] [default to undefined]
|
|
21
20
|
**properties** | [**Array<FilledProperty>**](FilledProperty.md) | | [optional] [default to undefined]
|
|
22
21
|
**objects** | **{ [key: string]: any | null; }** | | [optional] [default to undefined]
|
|
22
|
+
**user** | [**PublicUserDTO**](PublicUserDTO.md) | | [optional] [default to undefined]
|
|
23
23
|
|
|
24
24
|
## Example
|
|
25
25
|
|
|
@@ -39,9 +39,9 @@ const instance: ModelRecord = {
|
|
|
39
39
|
deleted,
|
|
40
40
|
complete,
|
|
41
41
|
uuid,
|
|
42
|
-
user,
|
|
43
42
|
properties,
|
|
44
43
|
objects,
|
|
44
|
+
user,
|
|
45
45
|
};
|
|
46
46
|
```
|
|
47
47
|
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# RecordPaginationRequest
|
|
2
|
+
|
|
3
|
+
Contains pagination details and optional query parameters such as filter, sort, and show options.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**page** | **number** | The page index (one-based) to request. | [optional] [default to undefined]
|
|
10
|
+
**limit** | **number** | The number of records to retrieve per page. | [optional] [default to undefined]
|
|
11
|
+
**filter** | **object** | Filters applied to the query. | [optional] [default to undefined]
|
|
12
|
+
**sort** | **Array<object>** | Sorting options for the query. | [optional] [default to undefined]
|
|
13
|
+
**show** | **Array<object>** | Specifies what data to show in the response. | [optional] [default to undefined]
|
|
14
|
+
**query** | **string** | A free-text search query applied to the records. | [optional] [default to undefined]
|
|
15
|
+
**preview** | **string** | Preview information for the records, if supported. | [optional] [default to undefined]
|
|
16
|
+
**mainObject** | **string** | The main object for categorization or context. | [optional] [default to undefined]
|
|
17
|
+
**column** | **string** | The column to group the records by. | [optional] [default to undefined]
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { RecordPaginationRequest } from '@caraer/client';
|
|
23
|
+
|
|
24
|
+
const instance: RecordPaginationRequest = {
|
|
25
|
+
page,
|
|
26
|
+
limit,
|
|
27
|
+
filter,
|
|
28
|
+
sort,
|
|
29
|
+
show,
|
|
30
|
+
query,
|
|
31
|
+
preview,
|
|
32
|
+
mainObject,
|
|
33
|
+
column,
|
|
34
|
+
};
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|