@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/FormsApi.md
CHANGED
|
@@ -21,7 +21,7 @@ All URIs are relative to *https://v2.api.caraer.com*
|
|
|
21
21
|
|[**uploadFiles**](#uploadfiles) | **POST** /api/v2/forms/public/{companyUuid}/{formUuid}/upload | Submit a file|
|
|
22
22
|
|
|
23
23
|
# **chatField**
|
|
24
|
-
>
|
|
24
|
+
> SuccessResponseString chatField(formWithAiPromptDTO)
|
|
25
25
|
|
|
26
26
|
When X-CARAER-TOKEN or X-Caraer-Company-Uuid is sent, that value selects the tenant company and overrides the companyUuid path segment.
|
|
27
27
|
|
|
@@ -62,7 +62,7 @@ const { status, data } = await apiInstance.chatField(
|
|
|
62
62
|
|
|
63
63
|
### Return type
|
|
64
64
|
|
|
65
|
-
**
|
|
65
|
+
**SuccessResponseString**
|
|
66
66
|
|
|
67
67
|
### Authorization
|
|
68
68
|
|
|
@@ -71,18 +71,22 @@ const { status, data } = await apiInstance.chatField(
|
|
|
71
71
|
### HTTP request headers
|
|
72
72
|
|
|
73
73
|
- **Content-Type**: application/json
|
|
74
|
-
- **Accept**:
|
|
74
|
+
- **Accept**: */*, application/json
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
### HTTP response details
|
|
78
78
|
| Status code | Description | Response headers |
|
|
79
79
|
|-------------|-------------|------------------|
|
|
80
80
|
|**200** | OK | - |
|
|
81
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
82
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
83
|
+
|**404** | The requested resource was not found. | - |
|
|
84
|
+
|**500** | An internal server error occurred. | - |
|
|
81
85
|
|
|
82
86
|
[[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)
|
|
83
87
|
|
|
84
88
|
# **chatStep**
|
|
85
|
-
>
|
|
89
|
+
> SuccessResponseListString chatStep(formWithAiPromptDTO)
|
|
86
90
|
|
|
87
91
|
When X-CARAER-TOKEN or X-Caraer-Company-Uuid is sent, that value selects the tenant company and overrides the companyUuid path segment.
|
|
88
92
|
|
|
@@ -123,7 +127,7 @@ const { status, data } = await apiInstance.chatStep(
|
|
|
123
127
|
|
|
124
128
|
### Return type
|
|
125
129
|
|
|
126
|
-
**
|
|
130
|
+
**SuccessResponseListString**
|
|
127
131
|
|
|
128
132
|
### Authorization
|
|
129
133
|
|
|
@@ -132,13 +136,17 @@ const { status, data } = await apiInstance.chatStep(
|
|
|
132
136
|
### HTTP request headers
|
|
133
137
|
|
|
134
138
|
- **Content-Type**: application/json
|
|
135
|
-
- **Accept**:
|
|
139
|
+
- **Accept**: */*, application/json
|
|
136
140
|
|
|
137
141
|
|
|
138
142
|
### HTTP response details
|
|
139
143
|
| Status code | Description | Response headers |
|
|
140
144
|
|-------------|-------------|------------------|
|
|
141
145
|
|**200** | OK | - |
|
|
146
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
147
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
148
|
+
|**404** | The requested resource was not found. | - |
|
|
149
|
+
|**500** | An internal server error occurred. | - |
|
|
142
150
|
|
|
143
151
|
[[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)
|
|
144
152
|
|
|
@@ -194,6 +202,8 @@ const { status, data } = await apiInstance.createForm(
|
|
|
194
202
|
|**400** | Invalid input | - |
|
|
195
203
|
|**401** | Unauthorized access | - |
|
|
196
204
|
|**403** | Forbidden | - |
|
|
205
|
+
|**404** | The requested resource was not found. | - |
|
|
206
|
+
|**500** | An internal server error occurred. | - |
|
|
197
207
|
|
|
198
208
|
[[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)
|
|
199
209
|
|
|
@@ -238,21 +248,22 @@ const { status, data } = await apiInstance.deleteForm(
|
|
|
238
248
|
### HTTP request headers
|
|
239
249
|
|
|
240
250
|
- **Content-Type**: Not defined
|
|
241
|
-
- **Accept**: application/json
|
|
251
|
+
- **Accept**: application/json
|
|
242
252
|
|
|
243
253
|
|
|
244
254
|
### HTTP response details
|
|
245
255
|
| Status code | Description | Response headers |
|
|
246
256
|
|-------------|-------------|------------------|
|
|
247
257
|
|**200** | Form successfully deleted | - |
|
|
248
|
-
|**404** |
|
|
249
|
-
|**401** |
|
|
250
|
-
|**403** |
|
|
258
|
+
|**404** | The requested resource was not found. | - |
|
|
259
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
260
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
261
|
+
|**500** | An internal server error occurred. | - |
|
|
251
262
|
|
|
252
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)
|
|
253
264
|
|
|
254
265
|
# **getForm**
|
|
255
|
-
>
|
|
266
|
+
> ShowResponseFormDTO getForm()
|
|
256
267
|
|
|
257
268
|
Retrieves a specific form by its UUID. Returns the details of the form in a FormDTO object wrapped in a ShowResponse.
|
|
258
269
|
|
|
@@ -283,7 +294,7 @@ const { status, data } = await apiInstance.getForm(
|
|
|
283
294
|
|
|
284
295
|
### Return type
|
|
285
296
|
|
|
286
|
-
**
|
|
297
|
+
**ShowResponseFormDTO**
|
|
287
298
|
|
|
288
299
|
### Authorization
|
|
289
300
|
|
|
@@ -302,11 +313,12 @@ const { status, data } = await apiInstance.getForm(
|
|
|
302
313
|
|**404** | Form not found | - |
|
|
303
314
|
|**401** | Unauthorized access | - |
|
|
304
315
|
|**403** | Forbidden | - |
|
|
316
|
+
|**500** | An internal server error occurred. | - |
|
|
305
317
|
|
|
306
318
|
[[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)
|
|
307
319
|
|
|
308
320
|
# **getFormPublic**
|
|
309
|
-
>
|
|
321
|
+
> ShowResponsePublicFormDTO getFormPublic()
|
|
310
322
|
|
|
311
323
|
Retrieves a specific form by its UUID. When X-CARAER-TOKEN or X-Caraer-Company-Uuid is sent, that value selects the tenant company and overrides the companyUuid path segment.
|
|
312
324
|
|
|
@@ -340,7 +352,7 @@ const { status, data } = await apiInstance.getFormPublic(
|
|
|
340
352
|
|
|
341
353
|
### Return type
|
|
342
354
|
|
|
343
|
-
**
|
|
355
|
+
**ShowResponsePublicFormDTO**
|
|
344
356
|
|
|
345
357
|
### Authorization
|
|
346
358
|
|
|
@@ -349,21 +361,22 @@ const { status, data } = await apiInstance.getFormPublic(
|
|
|
349
361
|
### HTTP request headers
|
|
350
362
|
|
|
351
363
|
- **Content-Type**: Not defined
|
|
352
|
-
- **Accept**: application/json
|
|
364
|
+
- **Accept**: application/json
|
|
353
365
|
|
|
354
366
|
|
|
355
367
|
### HTTP response details
|
|
356
368
|
| Status code | Description | Response headers |
|
|
357
369
|
|-------------|-------------|------------------|
|
|
358
370
|
|**200** | Successfully retrieved the form | - |
|
|
359
|
-
|**404** |
|
|
360
|
-
|**401** |
|
|
361
|
-
|**403** |
|
|
371
|
+
|**404** | The requested resource was not found. | - |
|
|
372
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
373
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
374
|
+
|**500** | An internal server error occurred. | - |
|
|
362
375
|
|
|
363
376
|
[[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)
|
|
364
377
|
|
|
365
378
|
# **getForms**
|
|
366
|
-
>
|
|
379
|
+
> PaginationResponseFormDTO getForms(paginationRequest)
|
|
367
380
|
|
|
368
381
|
Retrieves a paginated list of forms based on the provided filters, sorting, and search query. This endpoint returns a list of FormDTO objects wrapped in a PaginationResponse containing the current page, limit, total count, and the forms data.
|
|
369
382
|
|
|
@@ -372,16 +385,17 @@ Retrieves a paginated list of forms based on the provided filters, sorting, and
|
|
|
372
385
|
```typescript
|
|
373
386
|
import {
|
|
374
387
|
FormsApi,
|
|
375
|
-
Configuration
|
|
388
|
+
Configuration,
|
|
389
|
+
PaginationRequest
|
|
376
390
|
} from '@caraer/client';
|
|
377
391
|
|
|
378
392
|
const configuration = new Configuration();
|
|
379
393
|
const apiInstance = new FormsApi(configuration);
|
|
380
394
|
|
|
381
|
-
let
|
|
395
|
+
let paginationRequest: PaginationRequest; //
|
|
382
396
|
|
|
383
397
|
const { status, data } = await apiInstance.getForms(
|
|
384
|
-
|
|
398
|
+
paginationRequest
|
|
385
399
|
);
|
|
386
400
|
```
|
|
387
401
|
|
|
@@ -389,12 +403,12 @@ const { status, data } = await apiInstance.getForms(
|
|
|
389
403
|
|
|
390
404
|
|Name | Type | Description | Notes|
|
|
391
405
|
|------------- | ------------- | ------------- | -------------|
|
|
392
|
-
| **
|
|
406
|
+
| **paginationRequest** | **PaginationRequest**| | |
|
|
393
407
|
|
|
394
408
|
|
|
395
409
|
### Return type
|
|
396
410
|
|
|
397
|
-
**
|
|
411
|
+
**PaginationResponseFormDTO**
|
|
398
412
|
|
|
399
413
|
### Authorization
|
|
400
414
|
|
|
@@ -413,11 +427,13 @@ const { status, data } = await apiInstance.getForms(
|
|
|
413
427
|
|**400** | Invalid request | - |
|
|
414
428
|
|**401** | Unauthorized access | - |
|
|
415
429
|
|**403** | Forbidden | - |
|
|
430
|
+
|**404** | The requested resource was not found. | - |
|
|
431
|
+
|**500** | An internal server error occurred. | - |
|
|
416
432
|
|
|
417
433
|
[[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)
|
|
418
434
|
|
|
419
435
|
# **getFormsByObject**
|
|
420
|
-
>
|
|
436
|
+
> PaginationResponseFormDTO getFormsByObject(paginationRequest)
|
|
421
437
|
|
|
422
438
|
Retrieves a paginated list of forms associated with a specific object UUID. The endpoint uses a custom Cypher query to match forms linked to the object.
|
|
423
439
|
|
|
@@ -426,18 +442,19 @@ Retrieves a paginated list of forms associated with a specific object UUID. The
|
|
|
426
442
|
```typescript
|
|
427
443
|
import {
|
|
428
444
|
FormsApi,
|
|
429
|
-
Configuration
|
|
445
|
+
Configuration,
|
|
446
|
+
PaginationRequest
|
|
430
447
|
} from '@caraer/client';
|
|
431
448
|
|
|
432
449
|
const configuration = new Configuration();
|
|
433
450
|
const apiInstance = new FormsApi(configuration);
|
|
434
451
|
|
|
435
452
|
let objectUuid: string; //UUID of the object to get forms for (default to undefined)
|
|
436
|
-
let
|
|
453
|
+
let paginationRequest: PaginationRequest; //
|
|
437
454
|
|
|
438
455
|
const { status, data } = await apiInstance.getFormsByObject(
|
|
439
456
|
objectUuid,
|
|
440
|
-
|
|
457
|
+
paginationRequest
|
|
441
458
|
);
|
|
442
459
|
```
|
|
443
460
|
|
|
@@ -445,13 +462,13 @@ const { status, data } = await apiInstance.getFormsByObject(
|
|
|
445
462
|
|
|
446
463
|
|Name | Type | Description | Notes|
|
|
447
464
|
|------------- | ------------- | ------------- | -------------|
|
|
448
|
-
| **
|
|
465
|
+
| **paginationRequest** | **PaginationRequest**| | |
|
|
449
466
|
| **objectUuid** | [**string**] | UUID of the object to get forms for | defaults to undefined|
|
|
450
467
|
|
|
451
468
|
|
|
452
469
|
### Return type
|
|
453
470
|
|
|
454
|
-
**
|
|
471
|
+
**PaginationResponseFormDTO**
|
|
455
472
|
|
|
456
473
|
### Authorization
|
|
457
474
|
|
|
@@ -470,11 +487,13 @@ const { status, data } = await apiInstance.getFormsByObject(
|
|
|
470
487
|
|**400** | Invalid request | - |
|
|
471
488
|
|**401** | Unauthorized access | - |
|
|
472
489
|
|**403** | Forbidden | - |
|
|
490
|
+
|**404** | The requested resource was not found. | - |
|
|
491
|
+
|**500** | An internal server error occurred. | - |
|
|
473
492
|
|
|
474
493
|
[[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)
|
|
475
494
|
|
|
476
495
|
# **getFormsPublic**
|
|
477
|
-
>
|
|
496
|
+
> PaginationResponsePublicFormDTO getFormsPublic(paginationRequest)
|
|
478
497
|
|
|
479
498
|
When X-CARAER-TOKEN or X-Caraer-Company-Uuid is sent, that value selects the tenant company and overrides the companyUuid path segment.
|
|
480
499
|
|
|
@@ -483,18 +502,19 @@ When X-CARAER-TOKEN or X-Caraer-Company-Uuid is sent, that value selects the ten
|
|
|
483
502
|
```typescript
|
|
484
503
|
import {
|
|
485
504
|
FormsApi,
|
|
486
|
-
Configuration
|
|
505
|
+
Configuration,
|
|
506
|
+
PaginationRequest
|
|
487
507
|
} from '@caraer/client';
|
|
488
508
|
|
|
489
509
|
const configuration = new Configuration();
|
|
490
510
|
const apiInstance = new FormsApi(configuration);
|
|
491
511
|
|
|
492
512
|
let companyUuid: string; // (default to undefined)
|
|
493
|
-
let
|
|
513
|
+
let paginationRequest: PaginationRequest; //
|
|
494
514
|
|
|
495
515
|
const { status, data } = await apiInstance.getFormsPublic(
|
|
496
516
|
companyUuid,
|
|
497
|
-
|
|
517
|
+
paginationRequest
|
|
498
518
|
);
|
|
499
519
|
```
|
|
500
520
|
|
|
@@ -502,13 +522,13 @@ const { status, data } = await apiInstance.getFormsPublic(
|
|
|
502
522
|
|
|
503
523
|
|Name | Type | Description | Notes|
|
|
504
524
|
|------------- | ------------- | ------------- | -------------|
|
|
505
|
-
| **
|
|
525
|
+
| **paginationRequest** | **PaginationRequest**| | |
|
|
506
526
|
| **companyUuid** | [**string**] | | defaults to undefined|
|
|
507
527
|
|
|
508
528
|
|
|
509
529
|
### Return type
|
|
510
530
|
|
|
511
|
-
**
|
|
531
|
+
**PaginationResponsePublicFormDTO**
|
|
512
532
|
|
|
513
533
|
### Authorization
|
|
514
534
|
|
|
@@ -517,18 +537,22 @@ const { status, data } = await apiInstance.getFormsPublic(
|
|
|
517
537
|
### HTTP request headers
|
|
518
538
|
|
|
519
539
|
- **Content-Type**: application/json
|
|
520
|
-
- **Accept**:
|
|
540
|
+
- **Accept**: */*, application/json
|
|
521
541
|
|
|
522
542
|
|
|
523
543
|
### HTTP response details
|
|
524
544
|
| Status code | Description | Response headers |
|
|
525
545
|
|-------------|-------------|------------------|
|
|
526
546
|
|**200** | OK | - |
|
|
547
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
548
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
549
|
+
|**404** | The requested resource was not found. | - |
|
|
550
|
+
|**500** | An internal server error occurred. | - |
|
|
527
551
|
|
|
528
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)
|
|
529
553
|
|
|
530
554
|
# **getObjectsWithForms**
|
|
531
|
-
>
|
|
555
|
+
> ShowResponseListFormObjectSummaryDTO getObjectsWithForms()
|
|
532
556
|
|
|
533
557
|
Returns distinct custom objects that have at least one non-deleted form, ordered by object index.
|
|
534
558
|
|
|
@@ -552,7 +576,7 @@ This endpoint does not have any parameters.
|
|
|
552
576
|
|
|
553
577
|
### Return type
|
|
554
578
|
|
|
555
|
-
**
|
|
579
|
+
**ShowResponseListFormObjectSummaryDTO**
|
|
556
580
|
|
|
557
581
|
### Authorization
|
|
558
582
|
|
|
@@ -570,11 +594,13 @@ This endpoint does not have any parameters.
|
|
|
570
594
|
|**200** | Successfully retrieved objects with forms | - |
|
|
571
595
|
|**401** | Unauthorized access | - |
|
|
572
596
|
|**403** | Forbidden | - |
|
|
597
|
+
|**404** | The requested resource was not found. | - |
|
|
598
|
+
|**500** | An internal server error occurred. | - |
|
|
573
599
|
|
|
574
600
|
[[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)
|
|
575
601
|
|
|
576
602
|
# **getOptions**
|
|
577
|
-
>
|
|
603
|
+
> PaginationResponsePropertyOption getOptions(paginationRequest)
|
|
578
604
|
|
|
579
605
|
When X-CARAER-TOKEN or X-Caraer-Company-Uuid is sent, that value selects the tenant company and overrides the companyUuid path segment.
|
|
580
606
|
|
|
@@ -583,7 +609,8 @@ When X-CARAER-TOKEN or X-Caraer-Company-Uuid is sent, that value selects the ten
|
|
|
583
609
|
```typescript
|
|
584
610
|
import {
|
|
585
611
|
FormsApi,
|
|
586
|
-
Configuration
|
|
612
|
+
Configuration,
|
|
613
|
+
PaginationRequest
|
|
587
614
|
} from '@caraer/client';
|
|
588
615
|
|
|
589
616
|
const configuration = new Configuration();
|
|
@@ -591,12 +618,12 @@ const apiInstance = new FormsApi(configuration);
|
|
|
591
618
|
|
|
592
619
|
let propertyUuid: string; // (default to undefined)
|
|
593
620
|
let companyUuid: string; // (default to undefined)
|
|
594
|
-
let
|
|
621
|
+
let paginationRequest: PaginationRequest; //
|
|
595
622
|
|
|
596
623
|
const { status, data } = await apiInstance.getOptions(
|
|
597
624
|
propertyUuid,
|
|
598
625
|
companyUuid,
|
|
599
|
-
|
|
626
|
+
paginationRequest
|
|
600
627
|
);
|
|
601
628
|
```
|
|
602
629
|
|
|
@@ -604,14 +631,14 @@ const { status, data } = await apiInstance.getOptions(
|
|
|
604
631
|
|
|
605
632
|
|Name | Type | Description | Notes|
|
|
606
633
|
|------------- | ------------- | ------------- | -------------|
|
|
607
|
-
| **
|
|
634
|
+
| **paginationRequest** | **PaginationRequest**| | |
|
|
608
635
|
| **propertyUuid** | [**string**] | | defaults to undefined|
|
|
609
636
|
| **companyUuid** | [**string**] | | defaults to undefined|
|
|
610
637
|
|
|
611
638
|
|
|
612
639
|
### Return type
|
|
613
640
|
|
|
614
|
-
**
|
|
641
|
+
**PaginationResponsePropertyOption**
|
|
615
642
|
|
|
616
643
|
### Authorization
|
|
617
644
|
|
|
@@ -620,13 +647,17 @@ const { status, data } = await apiInstance.getOptions(
|
|
|
620
647
|
### HTTP request headers
|
|
621
648
|
|
|
622
649
|
- **Content-Type**: application/json
|
|
623
|
-
- **Accept**:
|
|
650
|
+
- **Accept**: */*, application/json
|
|
624
651
|
|
|
625
652
|
|
|
626
653
|
### HTTP response details
|
|
627
654
|
| Status code | Description | Response headers |
|
|
628
655
|
|-------------|-------------|------------------|
|
|
629
656
|
|**200** | OK | - |
|
|
657
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
658
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
659
|
+
|**404** | The requested resource was not found. | - |
|
|
660
|
+
|**500** | An internal server error occurred. | - |
|
|
630
661
|
|
|
631
662
|
[[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)
|
|
632
663
|
|
|
@@ -671,21 +702,22 @@ const { status, data } = await apiInstance.restoreForm(
|
|
|
671
702
|
### HTTP request headers
|
|
672
703
|
|
|
673
704
|
- **Content-Type**: Not defined
|
|
674
|
-
- **Accept**: application/json
|
|
705
|
+
- **Accept**: application/json
|
|
675
706
|
|
|
676
707
|
|
|
677
708
|
### HTTP response details
|
|
678
709
|
| Status code | Description | Response headers |
|
|
679
710
|
|-------------|-------------|------------------|
|
|
680
711
|
|**200** | Form successfully restored | - |
|
|
681
|
-
|**404** |
|
|
682
|
-
|**401** |
|
|
683
|
-
|**403** |
|
|
712
|
+
|**404** | The requested resource was not found. | - |
|
|
713
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
714
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
715
|
+
|**500** | An internal server error occurred. | - |
|
|
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
|
# **submit**
|
|
688
|
-
>
|
|
720
|
+
> SuccessResponseString submit(formDTO)
|
|
689
721
|
|
|
690
722
|
Submits a form with the provided data. Returns a SuccessResponse upon successful submission. When X-CARAER-TOKEN or X-Caraer-Company-Uuid is sent, that value selects the tenant company and overrides the companyUuid path segment.
|
|
691
723
|
|
|
@@ -723,7 +755,7 @@ const { status, data } = await apiInstance.submit(
|
|
|
723
755
|
|
|
724
756
|
### Return type
|
|
725
757
|
|
|
726
|
-
**
|
|
758
|
+
**SuccessResponseString**
|
|
727
759
|
|
|
728
760
|
### Authorization
|
|
729
761
|
|
|
@@ -740,7 +772,10 @@ const { status, data } = await apiInstance.submit(
|
|
|
740
772
|
|-------------|-------------|------------------|
|
|
741
773
|
|**200** | Form successfully submitted | - |
|
|
742
774
|
|**400** | Invalid input | - |
|
|
743
|
-
|**401** |
|
|
775
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
776
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
777
|
+
|**404** | The requested resource was not found. | - |
|
|
778
|
+
|**500** | An internal server error occurred. | - |
|
|
744
779
|
|
|
745
780
|
[[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)
|
|
746
781
|
|
|
@@ -800,11 +835,12 @@ const { status, data } = await apiInstance.updateForm(
|
|
|
800
835
|
|**404** | Form not found | - |
|
|
801
836
|
|**401** | Unauthorized access | - |
|
|
802
837
|
|**403** | Forbidden | - |
|
|
838
|
+
|**500** | An internal server error occurred. | - |
|
|
803
839
|
|
|
804
840
|
[[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)
|
|
805
841
|
|
|
806
842
|
# **uploadFiles**
|
|
807
|
-
>
|
|
843
|
+
> SuccessResponseListString uploadFiles()
|
|
808
844
|
|
|
809
845
|
Submits a file with the provided data. Returns a SuccessResponse upon successful submission. When X-CARAER-TOKEN or X-Caraer-Company-Uuid is sent, that value selects the tenant company and overrides the companyUuid path segment.
|
|
810
846
|
|
|
@@ -841,7 +877,7 @@ const { status, data } = await apiInstance.uploadFiles(
|
|
|
841
877
|
|
|
842
878
|
### Return type
|
|
843
879
|
|
|
844
|
-
**
|
|
880
|
+
**SuccessResponseListString**
|
|
845
881
|
|
|
846
882
|
### Authorization
|
|
847
883
|
|
|
@@ -858,7 +894,10 @@ const { status, data } = await apiInstance.uploadFiles(
|
|
|
858
894
|
|-------------|-------------|------------------|
|
|
859
895
|
|**200** | File successfully submitted | - |
|
|
860
896
|
|**400** | Invalid input | - |
|
|
861
|
-
|**401** |
|
|
897
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
898
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
899
|
+
|**404** | The requested resource was not found. | - |
|
|
900
|
+
|**500** | An internal server error occurred. | - |
|
|
862
901
|
|
|
863
902
|
[[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)
|
|
864
903
|
|