@caraer/client 2.0.347
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 +189 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +5 -0
- package/LICENSE +21 -0
- package/README.md +25 -0
- package/api.ts +21719 -0
- package/base.ts +62 -0
- package/common.ts +127 -0
- package/configuration.ts +121 -0
- package/dist/api.d.ts +12770 -0
- package/dist/api.js +15923 -0
- package/dist/base.d.ts +42 -0
- package/dist/base.js +46 -0
- package/dist/common.d.ts +34 -0
- package/dist/common.js +139 -0
- package/dist/configuration.d.ts +98 -0
- package/dist/configuration.js +44 -0
- package/dist/esm/api.d.ts +12770 -0
- package/dist/esm/api.js +15835 -0
- package/dist/esm/base.d.ts +42 -0
- package/dist/esm/base.js +41 -0
- package/dist/esm/common.d.ts +34 -0
- package/dist/esm/common.js +126 -0
- package/dist/esm/configuration.d.ts +98 -0
- package/dist/esm/configuration.js +40 -0
- package/dist/esm/index.d.ts +13 -0
- package/dist/esm/index.js +15 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +31 -0
- package/docs/AccessGrantTargetDTO.md +25 -0
- package/docs/AppBarDTO.md +55 -0
- package/docs/AppBarIframeSessionRequest.md +29 -0
- package/docs/AppBarIframeSessionValidateRequest.md +21 -0
- package/docs/AppBarIframeSessionsApi.md +119 -0
- package/docs/AppBarTriggerRequest.md +31 -0
- package/docs/AppBarVisibilityEntry.md +22 -0
- package/docs/AppBarsApi.md +130 -0
- package/docs/AppDTO.md +101 -0
- package/docs/AppDetailsDTO.md +63 -0
- package/docs/AppPricingDTO.md +55 -0
- package/docs/AppPublishDTO.md +51 -0
- package/docs/AppRequest.md +21 -0
- package/docs/AppSettingFieldMappingStructure.md +22 -0
- package/docs/AppSettingFieldMappingStructureItem.md +32 -0
- package/docs/AppSettingFieldSchema.md +40 -0
- package/docs/AppSettingOptionsSource.md +28 -0
- package/docs/AppTierDTO.md +49 -0
- package/docs/ApplicationsApi.md +1422 -0
- package/docs/AutomationsApi.md +54 -0
- package/docs/BillingSettingsDTO.md +51 -0
- package/docs/CaraerErrorType.md +24 -0
- package/docs/CaraerObjectDTO.md +65 -0
- package/docs/CompanyApi.md +538 -0
- package/docs/CompanyDTO.md +47 -0
- package/docs/CompanyDetailsDTO.md +75 -0
- package/docs/CopyPropertiesToObjectRequest.md +20 -0
- package/docs/CopyPropertyToEnvironmentsRequest.md +28 -0
- package/docs/CreateCompanyRequest.md +29 -0
- package/docs/CreateOrUpdateEnvironmentRequest.md +22 -0
- package/docs/CreatePrivateAppRequest.md +27 -0
- package/docs/CreateResponse.md +23 -0
- package/docs/CreateResponseSignedUrlResultDTO.md +23 -0
- package/docs/CreateSignedUrlRequest.md +20 -0
- package/docs/Currency.md +18 -0
- package/docs/CurrencyRange.md +18 -0
- package/docs/CursorLocation.md +25 -0
- package/docs/CustomFontDTO.md +22 -0
- package/docs/Date.md +18 -0
- package/docs/DeleteResponse.md +23 -0
- package/docs/DeleteResponseString.md +23 -0
- package/docs/DigitalIdentityDTO.md +115 -0
- package/docs/Duration.md +18 -0
- package/docs/Email.md +18 -0
- package/docs/EngagementBatchRequest.md +24 -0
- package/docs/ErrorResponse.md +31 -0
- package/docs/FeedDTO.md +66 -0
- package/docs/FeedsApi.md +58 -0
- package/docs/File.md +18 -0
- package/docs/FileManagementApi.md +228 -0
- package/docs/FilledProperty.md +28 -0
- package/docs/Filter.md +21 -0
- package/docs/FilterApi.md +286 -0
- package/docs/FilterGroup.md +21 -0
- package/docs/FilterItem.md +33 -0
- package/docs/FontVariantDTO.md +24 -0
- package/docs/FormDTO.md +59 -0
- package/docs/FormItemDTO.md +31 -0
- package/docs/FormRelationDTO.md +31 -0
- package/docs/FormWithAiPromptDTO.md +61 -0
- package/docs/FormsApi.md +864 -0
- package/docs/GridItemDTO.md +31 -0
- package/docs/GridItemSettingsDTO.md +49 -0
- package/docs/HasAppDTO.md +37 -0
- package/docs/InstallAppRequest.md +29 -0
- package/docs/Leadscore.md +37 -0
- package/docs/LinkedProperty.md +20 -0
- package/docs/LoadAppSettingOptionsRequest.md +27 -0
- package/docs/LoginRequest.md +22 -0
- package/docs/MappingDTO.md +50 -0
- package/docs/MappingItemDTO.md +46 -0
- package/docs/ModuleApi.md +561 -0
- package/docs/MorphRecordRequest.md +21 -0
- package/docs/MultiLine.md +18 -0
- package/docs/MultiSelect.md +18 -0
- package/docs/MultiValueMapStringString.md +22 -0
- package/docs/NotFoundError.md +42 -0
- package/docs/NotFoundErrorCause.md +24 -0
- package/docs/NotFoundErrorCauseStackTraceInner.md +34 -0
- package/docs/NotificationsApi.md +211 -0
- package/docs/Number.md +18 -0
- package/docs/NumberRange.md +18 -0
- package/docs/ObjectAccessGrantCandidatesDTO.md +25 -0
- package/docs/ObjectAccessGrantRequestDTO.md +25 -0
- package/docs/ObjectAccessGrantSectionDTO.md +25 -0
- package/docs/ObjectsApi.md +878 -0
- package/docs/PageContentDTO.md +73 -0
- package/docs/PageContentSettingsDTO.md +111 -0
- package/docs/PageContentStylingDTO.md +26 -0
- package/docs/PaginationResponse.md +31 -0
- package/docs/PaginationResponsePreviewDTO.md +31 -0
- package/docs/PaginationResponseWebpageAccessGrantDTO.md +31 -0
- package/docs/Phone.md +18 -0
- package/docs/PreviewDTO.md +77 -0
- package/docs/PreviewItemDTO.md +43 -0
- package/docs/PreviewItemSettingsDTO.md +43 -0
- package/docs/PreviewRelatedObjectDTO.md +23 -0
- package/docs/PropertyApi.md +803 -0
- package/docs/PropertyDTO.md +77 -0
- package/docs/PropertyDTOFormat.md +35 -0
- package/docs/PropertyFormat.md +32 -0
- package/docs/PropertyOption.md +30 -0
- package/docs/PublicUserDTO.md +36 -0
- package/docs/Record.md +48 -0
- package/docs/RecordDTO.md +45 -0
- package/docs/RecordRelationRequestDTO.md +33 -0
- package/docs/RecordsApi.md +948 -0
- package/docs/Reference.md +26 -0
- package/docs/RegisterRequest.md +26 -0
- package/docs/RelationDTO.md +47 -0
- package/docs/RelationsApi.md +627 -0
- package/docs/ResetPasswordRequest.md +24 -0
- package/docs/RestoreResponse.md +23 -0
- package/docs/RestoreResponseCaraerObjectDTO.md +23 -0
- package/docs/RestoreResponseSavedFilterDTO.md +23 -0
- package/docs/RestoreResponseTeamDTO.md +23 -0
- package/docs/RestoreResponseViewDTO.md +23 -0
- package/docs/ReviewRequest.md +25 -0
- package/docs/SavePropertyDTO.md +71 -0
- package/docs/SavedFilterDTO.md +45 -0
- package/docs/SendNotificationRequest.md +35 -0
- package/docs/ServerlessFunctionDTO.md +45 -0
- package/docs/ServerlessFunctionsApi.md +298 -0
- package/docs/SettingField.md +40 -0
- package/docs/SettingOption.md +24 -0
- package/docs/ShowItem.md +35 -0
- package/docs/ShowResponse.md +23 -0
- package/docs/ShowResponseObjectAccessGrantCandidatesDTO.md +23 -0
- package/docs/ShowResponseWebpageProtectionInfoDTO.md +23 -0
- package/docs/SignedUrlResultDTO.md +27 -0
- package/docs/SimplePublicCompanyDTO.md +69 -0
- package/docs/SingleCheckbox.md +18 -0
- package/docs/SingleLine.md +18 -0
- package/docs/SingleSelect.md +18 -0
- package/docs/SortItem.md +27 -0
- package/docs/SseEmitter.md +20 -0
- package/docs/Structure.md +18 -0
- package/docs/StyleSetDTO.md +502 -0
- package/docs/SubscribeWebhookDTO.md +79 -0
- package/docs/SuccessResponse.md +23 -0
- package/docs/SuccessResponseString.md +23 -0
- package/docs/SuccessResponseVoid.md +23 -0
- package/docs/SyncApi.md +344 -0
- package/docs/SyncDTO.md +40 -0
- package/docs/Tag.md +18 -0
- package/docs/Team.md +52 -0
- package/docs/TeamDTO.md +48 -0
- package/docs/TemplateWebpageDTO.md +69 -0
- package/docs/TestServerlessFunctionRequest.md +25 -0
- package/docs/TestWebhookRequest.md +27 -0
- package/docs/TrackingEventRequest.md +72 -0
- package/docs/TrackingSessionUpsertRequest.md +22 -0
- package/docs/TraitsApi.md +236 -0
- package/docs/Tuple2LongLong.md +22 -0
- package/docs/UpdateLifecyclePropertiesDTO.md +21 -0
- package/docs/UpdateResponse.md +23 -0
- package/docs/Url.md +18 -0
- package/docs/UsedInResult.md +22 -0
- package/docs/UserRecordResponseDTO.md +47 -0
- package/docs/UserWithCursorLocationDTO.md +33 -0
- package/docs/ValidationError.md +36 -0
- package/docs/ViewDTO.md +72 -0
- package/docs/ViewShareRequest.md +24 -0
- package/docs/ViewsApi.md +412 -0
- package/docs/WebMenuDTO.md +53 -0
- package/docs/WebMenuItem.md +26 -0
- package/docs/WebMenusApi.md +336 -0
- package/docs/WebpageAccessGrantDTO.md +51 -0
- package/docs/WebpageDTO.md +69 -0
- package/docs/WebpageEditingStatusDTO.md +25 -0
- package/docs/WebpageOptionsDTO.md +41 -0
- package/docs/WebpageProtectionInfoDTO.md +27 -0
- package/docs/WebpagePublicRecordDTO.md +25 -0
- package/docs/WebpageUnlockRequest.md +20 -0
- package/docs/WebpagesApi.md +2009 -0
- package/docs/WebsiteSettingsDTO.md +321 -0
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/package.json +37 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +18 -0
|
@@ -0,0 +1,561 @@
|
|
|
1
|
+
# ModuleApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://v2.api.caraer.com*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**createModule**](#createmodule) | **POST** /api/v2/modules/ | Create a new module|
|
|
8
|
+
|[**createPersonalModule**](#createpersonalmodule) | **POST** /api/v2/modules/personal/ | Create a personal module|
|
|
9
|
+
|[**deleteModule**](#deletemodule) | **DELETE** /api/v2/modules/{moduleId} | Delete a module|
|
|
10
|
+
|[**deletePersonalModule**](#deletepersonalmodule) | **DELETE** /api/v2/modules/personal/{moduleId} | Delete a personal module|
|
|
11
|
+
|[**getModule**](#getmodule) | **GET** /api/v2/modules/{moduleId} | Fetch a specific module|
|
|
12
|
+
|[**getModules**](#getmodules) | **POST** /api/v2/modules/index | Fetch paginated modules|
|
|
13
|
+
|[**getPersonalModule**](#getpersonalmodule) | **GET** /api/v2/modules/personal/{moduleId} | Fetch a personal module|
|
|
14
|
+
|[**getPersonalModules**](#getpersonalmodules) | **POST** /api/v2/modules/personal/index | Fetch paginated personal modules|
|
|
15
|
+
|[**updateModule**](#updatemodule) | **PUT** /api/v2/modules/{moduleId} | Update an existing module|
|
|
16
|
+
|[**updatePersonalModule**](#updatepersonalmodule) | **PUT** /api/v2/modules/personal/{moduleId} | Update a personal module|
|
|
17
|
+
|
|
18
|
+
# **createModule**
|
|
19
|
+
> CreateResponse createModule(pageContentDTO)
|
|
20
|
+
|
|
21
|
+
Creates a new module.
|
|
22
|
+
|
|
23
|
+
### Example
|
|
24
|
+
|
|
25
|
+
```typescript
|
|
26
|
+
import {
|
|
27
|
+
ModuleApi,
|
|
28
|
+
Configuration,
|
|
29
|
+
PageContentDTO
|
|
30
|
+
} from '@caraer/client';
|
|
31
|
+
|
|
32
|
+
const configuration = new Configuration();
|
|
33
|
+
const apiInstance = new ModuleApi(configuration);
|
|
34
|
+
|
|
35
|
+
let pageContentDTO: PageContentDTO; //Module details
|
|
36
|
+
|
|
37
|
+
const { status, data } = await apiInstance.createModule(
|
|
38
|
+
pageContentDTO
|
|
39
|
+
);
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Parameters
|
|
43
|
+
|
|
44
|
+
|Name | Type | Description | Notes|
|
|
45
|
+
|------------- | ------------- | ------------- | -------------|
|
|
46
|
+
| **pageContentDTO** | **PageContentDTO**| Module details | |
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Return type
|
|
50
|
+
|
|
51
|
+
**CreateResponse**
|
|
52
|
+
|
|
53
|
+
### Authorization
|
|
54
|
+
|
|
55
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
56
|
+
|
|
57
|
+
### HTTP request headers
|
|
58
|
+
|
|
59
|
+
- **Content-Type**: application/json
|
|
60
|
+
- **Accept**: application/json, */*
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
### HTTP response details
|
|
64
|
+
| Status code | Description | Response headers |
|
|
65
|
+
|-------------|-------------|------------------|
|
|
66
|
+
|**201** | Module created successfully | - |
|
|
67
|
+
|**400** | Invalid input data | - |
|
|
68
|
+
|**500** | Internal server error | - |
|
|
69
|
+
|
|
70
|
+
[[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)
|
|
71
|
+
|
|
72
|
+
# **createPersonalModule**
|
|
73
|
+
> CreateResponse createPersonalModule(pageContentDTO)
|
|
74
|
+
|
|
75
|
+
Creates a module in the user\'s personal library.
|
|
76
|
+
|
|
77
|
+
### Example
|
|
78
|
+
|
|
79
|
+
```typescript
|
|
80
|
+
import {
|
|
81
|
+
ModuleApi,
|
|
82
|
+
Configuration,
|
|
83
|
+
PageContentDTO
|
|
84
|
+
} from '@caraer/client';
|
|
85
|
+
|
|
86
|
+
const configuration = new Configuration();
|
|
87
|
+
const apiInstance = new ModuleApi(configuration);
|
|
88
|
+
|
|
89
|
+
let pageContentDTO: PageContentDTO; //
|
|
90
|
+
|
|
91
|
+
const { status, data } = await apiInstance.createPersonalModule(
|
|
92
|
+
pageContentDTO
|
|
93
|
+
);
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Parameters
|
|
97
|
+
|
|
98
|
+
|Name | Type | Description | Notes|
|
|
99
|
+
|------------- | ------------- | ------------- | -------------|
|
|
100
|
+
| **pageContentDTO** | **PageContentDTO**| | |
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
### Return type
|
|
104
|
+
|
|
105
|
+
**CreateResponse**
|
|
106
|
+
|
|
107
|
+
### Authorization
|
|
108
|
+
|
|
109
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
110
|
+
|
|
111
|
+
### HTTP request headers
|
|
112
|
+
|
|
113
|
+
- **Content-Type**: application/json
|
|
114
|
+
- **Accept**: application/json, */*
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
### HTTP response details
|
|
118
|
+
| Status code | Description | Response headers |
|
|
119
|
+
|-------------|-------------|------------------|
|
|
120
|
+
|**201** | Module created successfully | - |
|
|
121
|
+
|**400** | Invalid input data | - |
|
|
122
|
+
|**500** | Internal server error | - |
|
|
123
|
+
|
|
124
|
+
[[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)
|
|
125
|
+
|
|
126
|
+
# **deleteModule**
|
|
127
|
+
> DeleteResponse deleteModule()
|
|
128
|
+
|
|
129
|
+
Deletes a module by its UUID.
|
|
130
|
+
|
|
131
|
+
### Example
|
|
132
|
+
|
|
133
|
+
```typescript
|
|
134
|
+
import {
|
|
135
|
+
ModuleApi,
|
|
136
|
+
Configuration
|
|
137
|
+
} from '@caraer/client';
|
|
138
|
+
|
|
139
|
+
const configuration = new Configuration();
|
|
140
|
+
const apiInstance = new ModuleApi(configuration);
|
|
141
|
+
|
|
142
|
+
let moduleId: string; // (default to undefined)
|
|
143
|
+
|
|
144
|
+
const { status, data } = await apiInstance.deleteModule(
|
|
145
|
+
moduleId
|
|
146
|
+
);
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### Parameters
|
|
150
|
+
|
|
151
|
+
|Name | Type | Description | Notes|
|
|
152
|
+
|------------- | ------------- | ------------- | -------------|
|
|
153
|
+
| **moduleId** | [**string**] | | defaults to undefined|
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
### Return type
|
|
157
|
+
|
|
158
|
+
**DeleteResponse**
|
|
159
|
+
|
|
160
|
+
### Authorization
|
|
161
|
+
|
|
162
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
163
|
+
|
|
164
|
+
### HTTP request headers
|
|
165
|
+
|
|
166
|
+
- **Content-Type**: Not defined
|
|
167
|
+
- **Accept**: application/json, */*
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
### HTTP response details
|
|
171
|
+
| Status code | Description | Response headers |
|
|
172
|
+
|-------------|-------------|------------------|
|
|
173
|
+
|**200** | Module deleted successfully | - |
|
|
174
|
+
|**404** | Module not found | - |
|
|
175
|
+
|**500** | Internal server error | - |
|
|
176
|
+
|
|
177
|
+
[[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)
|
|
178
|
+
|
|
179
|
+
# **deletePersonalModule**
|
|
180
|
+
> DeleteResponse deletePersonalModule()
|
|
181
|
+
|
|
182
|
+
Deletes a personal module for the logged-in user.
|
|
183
|
+
|
|
184
|
+
### Example
|
|
185
|
+
|
|
186
|
+
```typescript
|
|
187
|
+
import {
|
|
188
|
+
ModuleApi,
|
|
189
|
+
Configuration
|
|
190
|
+
} from '@caraer/client';
|
|
191
|
+
|
|
192
|
+
const configuration = new Configuration();
|
|
193
|
+
const apiInstance = new ModuleApi(configuration);
|
|
194
|
+
|
|
195
|
+
let moduleId: string; // (default to undefined)
|
|
196
|
+
|
|
197
|
+
const { status, data } = await apiInstance.deletePersonalModule(
|
|
198
|
+
moduleId
|
|
199
|
+
);
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
### Parameters
|
|
203
|
+
|
|
204
|
+
|Name | Type | Description | Notes|
|
|
205
|
+
|------------- | ------------- | ------------- | -------------|
|
|
206
|
+
| **moduleId** | [**string**] | | defaults to undefined|
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
### Return type
|
|
210
|
+
|
|
211
|
+
**DeleteResponse**
|
|
212
|
+
|
|
213
|
+
### Authorization
|
|
214
|
+
|
|
215
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
216
|
+
|
|
217
|
+
### HTTP request headers
|
|
218
|
+
|
|
219
|
+
- **Content-Type**: Not defined
|
|
220
|
+
- **Accept**: application/json, */*
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
### HTTP response details
|
|
224
|
+
| Status code | Description | Response headers |
|
|
225
|
+
|-------------|-------------|------------------|
|
|
226
|
+
|**200** | Module deleted successfully | - |
|
|
227
|
+
|**403** | Not authorized | - |
|
|
228
|
+
|**404** | Module not found | - |
|
|
229
|
+
|**500** | Internal server error | - |
|
|
230
|
+
|
|
231
|
+
[[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)
|
|
232
|
+
|
|
233
|
+
# **getModule**
|
|
234
|
+
> ShowResponse getModule()
|
|
235
|
+
|
|
236
|
+
Retrieves details of a module by its UUID.
|
|
237
|
+
|
|
238
|
+
### Example
|
|
239
|
+
|
|
240
|
+
```typescript
|
|
241
|
+
import {
|
|
242
|
+
ModuleApi,
|
|
243
|
+
Configuration
|
|
244
|
+
} from '@caraer/client';
|
|
245
|
+
|
|
246
|
+
const configuration = new Configuration();
|
|
247
|
+
const apiInstance = new ModuleApi(configuration);
|
|
248
|
+
|
|
249
|
+
let moduleId: string; // (default to undefined)
|
|
250
|
+
|
|
251
|
+
const { status, data } = await apiInstance.getModule(
|
|
252
|
+
moduleId
|
|
253
|
+
);
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
### Parameters
|
|
257
|
+
|
|
258
|
+
|Name | Type | Description | Notes|
|
|
259
|
+
|------------- | ------------- | ------------- | -------------|
|
|
260
|
+
| **moduleId** | [**string**] | | defaults to undefined|
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
### Return type
|
|
264
|
+
|
|
265
|
+
**ShowResponse**
|
|
266
|
+
|
|
267
|
+
### Authorization
|
|
268
|
+
|
|
269
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
270
|
+
|
|
271
|
+
### HTTP request headers
|
|
272
|
+
|
|
273
|
+
- **Content-Type**: Not defined
|
|
274
|
+
- **Accept**: application/json, */*
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
### HTTP response details
|
|
278
|
+
| Status code | Description | Response headers |
|
|
279
|
+
|-------------|-------------|------------------|
|
|
280
|
+
|**200** | Module retrieved successfully | - |
|
|
281
|
+
|**404** | Module not found | - |
|
|
282
|
+
|**500** | Internal server error | - |
|
|
283
|
+
|
|
284
|
+
[[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)
|
|
285
|
+
|
|
286
|
+
# **getModules**
|
|
287
|
+
> PaginationResponse getModules(body)
|
|
288
|
+
|
|
289
|
+
Retrieves a paginated list of modules.
|
|
290
|
+
|
|
291
|
+
### Example
|
|
292
|
+
|
|
293
|
+
```typescript
|
|
294
|
+
import {
|
|
295
|
+
ModuleApi,
|
|
296
|
+
Configuration
|
|
297
|
+
} from '@caraer/client';
|
|
298
|
+
|
|
299
|
+
const configuration = new Configuration();
|
|
300
|
+
const apiInstance = new ModuleApi(configuration);
|
|
301
|
+
|
|
302
|
+
let body: any; //Pagination details
|
|
303
|
+
|
|
304
|
+
const { status, data } = await apiInstance.getModules(
|
|
305
|
+
body
|
|
306
|
+
);
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
### Parameters
|
|
310
|
+
|
|
311
|
+
|Name | Type | Description | Notes|
|
|
312
|
+
|------------- | ------------- | ------------- | -------------|
|
|
313
|
+
| **body** | **any**| Pagination details | |
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
### Return type
|
|
317
|
+
|
|
318
|
+
**PaginationResponse**
|
|
319
|
+
|
|
320
|
+
### Authorization
|
|
321
|
+
|
|
322
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
323
|
+
|
|
324
|
+
### HTTP request headers
|
|
325
|
+
|
|
326
|
+
- **Content-Type**: application/json
|
|
327
|
+
- **Accept**: application/json
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
### HTTP response details
|
|
331
|
+
| Status code | Description | Response headers |
|
|
332
|
+
|-------------|-------------|------------------|
|
|
333
|
+
|**200** | Modules fetched successfully | - |
|
|
334
|
+
|**400** | Invalid pagination request | - |
|
|
335
|
+
|**500** | Internal server error | - |
|
|
336
|
+
|
|
337
|
+
[[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)
|
|
338
|
+
|
|
339
|
+
# **getPersonalModule**
|
|
340
|
+
> ShowResponse getPersonalModule()
|
|
341
|
+
|
|
342
|
+
Retrieves a personal module by UUID for the logged-in user.
|
|
343
|
+
|
|
344
|
+
### Example
|
|
345
|
+
|
|
346
|
+
```typescript
|
|
347
|
+
import {
|
|
348
|
+
ModuleApi,
|
|
349
|
+
Configuration
|
|
350
|
+
} from '@caraer/client';
|
|
351
|
+
|
|
352
|
+
const configuration = new Configuration();
|
|
353
|
+
const apiInstance = new ModuleApi(configuration);
|
|
354
|
+
|
|
355
|
+
let moduleId: string; // (default to undefined)
|
|
356
|
+
|
|
357
|
+
const { status, data } = await apiInstance.getPersonalModule(
|
|
358
|
+
moduleId
|
|
359
|
+
);
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
### Parameters
|
|
363
|
+
|
|
364
|
+
|Name | Type | Description | Notes|
|
|
365
|
+
|------------- | ------------- | ------------- | -------------|
|
|
366
|
+
| **moduleId** | [**string**] | | defaults to undefined|
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
### Return type
|
|
370
|
+
|
|
371
|
+
**ShowResponse**
|
|
372
|
+
|
|
373
|
+
### Authorization
|
|
374
|
+
|
|
375
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
376
|
+
|
|
377
|
+
### HTTP request headers
|
|
378
|
+
|
|
379
|
+
- **Content-Type**: Not defined
|
|
380
|
+
- **Accept**: application/json, */*
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
### HTTP response details
|
|
384
|
+
| Status code | Description | Response headers |
|
|
385
|
+
|-------------|-------------|------------------|
|
|
386
|
+
|**200** | Module retrieved successfully | - |
|
|
387
|
+
|**403** | Not authorized | - |
|
|
388
|
+
|**404** | Module not found | - |
|
|
389
|
+
|**500** | Internal server error | - |
|
|
390
|
+
|
|
391
|
+
[[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)
|
|
392
|
+
|
|
393
|
+
# **getPersonalModules**
|
|
394
|
+
> PaginationResponse getPersonalModules(body)
|
|
395
|
+
|
|
396
|
+
Retrieves personal modules for the logged-in user.
|
|
397
|
+
|
|
398
|
+
### Example
|
|
399
|
+
|
|
400
|
+
```typescript
|
|
401
|
+
import {
|
|
402
|
+
ModuleApi,
|
|
403
|
+
Configuration
|
|
404
|
+
} from '@caraer/client';
|
|
405
|
+
|
|
406
|
+
const configuration = new Configuration();
|
|
407
|
+
const apiInstance = new ModuleApi(configuration);
|
|
408
|
+
|
|
409
|
+
let body: any; //
|
|
410
|
+
|
|
411
|
+
const { status, data } = await apiInstance.getPersonalModules(
|
|
412
|
+
body
|
|
413
|
+
);
|
|
414
|
+
```
|
|
415
|
+
|
|
416
|
+
### Parameters
|
|
417
|
+
|
|
418
|
+
|Name | Type | Description | Notes|
|
|
419
|
+
|------------- | ------------- | ------------- | -------------|
|
|
420
|
+
| **body** | **any**| | |
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
### Return type
|
|
424
|
+
|
|
425
|
+
**PaginationResponse**
|
|
426
|
+
|
|
427
|
+
### Authorization
|
|
428
|
+
|
|
429
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
430
|
+
|
|
431
|
+
### HTTP request headers
|
|
432
|
+
|
|
433
|
+
- **Content-Type**: application/json
|
|
434
|
+
- **Accept**: application/json
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
### HTTP response details
|
|
438
|
+
| Status code | Description | Response headers |
|
|
439
|
+
|-------------|-------------|------------------|
|
|
440
|
+
|**200** | Modules fetched successfully | - |
|
|
441
|
+
|**400** | Invalid pagination request | - |
|
|
442
|
+
|**500** | Internal server error | - |
|
|
443
|
+
|
|
444
|
+
[[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)
|
|
445
|
+
|
|
446
|
+
# **updateModule**
|
|
447
|
+
> UpdateResponse updateModule(pageContentDTO)
|
|
448
|
+
|
|
449
|
+
Updates the details of an existing module.
|
|
450
|
+
|
|
451
|
+
### Example
|
|
452
|
+
|
|
453
|
+
```typescript
|
|
454
|
+
import {
|
|
455
|
+
ModuleApi,
|
|
456
|
+
Configuration,
|
|
457
|
+
PageContentDTO
|
|
458
|
+
} from '@caraer/client';
|
|
459
|
+
|
|
460
|
+
const configuration = new Configuration();
|
|
461
|
+
const apiInstance = new ModuleApi(configuration);
|
|
462
|
+
|
|
463
|
+
let moduleId: string; // (default to undefined)
|
|
464
|
+
let pageContentDTO: PageContentDTO; //Updated module details
|
|
465
|
+
|
|
466
|
+
const { status, data } = await apiInstance.updateModule(
|
|
467
|
+
moduleId,
|
|
468
|
+
pageContentDTO
|
|
469
|
+
);
|
|
470
|
+
```
|
|
471
|
+
|
|
472
|
+
### Parameters
|
|
473
|
+
|
|
474
|
+
|Name | Type | Description | Notes|
|
|
475
|
+
|------------- | ------------- | ------------- | -------------|
|
|
476
|
+
| **pageContentDTO** | **PageContentDTO**| Updated module details | |
|
|
477
|
+
| **moduleId** | [**string**] | | defaults to undefined|
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
### Return type
|
|
481
|
+
|
|
482
|
+
**UpdateResponse**
|
|
483
|
+
|
|
484
|
+
### Authorization
|
|
485
|
+
|
|
486
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
487
|
+
|
|
488
|
+
### HTTP request headers
|
|
489
|
+
|
|
490
|
+
- **Content-Type**: application/json
|
|
491
|
+
- **Accept**: application/json, */*
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
### HTTP response details
|
|
495
|
+
| Status code | Description | Response headers |
|
|
496
|
+
|-------------|-------------|------------------|
|
|
497
|
+
|**200** | Module updated successfully | - |
|
|
498
|
+
|**400** | Invalid input data | - |
|
|
499
|
+
|**404** | Module not found | - |
|
|
500
|
+
|**500** | Internal server error | - |
|
|
501
|
+
|
|
502
|
+
[[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)
|
|
503
|
+
|
|
504
|
+
# **updatePersonalModule**
|
|
505
|
+
> UpdateResponse updatePersonalModule(pageContentDTO)
|
|
506
|
+
|
|
507
|
+
Updates a personal module for the logged-in user.
|
|
508
|
+
|
|
509
|
+
### Example
|
|
510
|
+
|
|
511
|
+
```typescript
|
|
512
|
+
import {
|
|
513
|
+
ModuleApi,
|
|
514
|
+
Configuration,
|
|
515
|
+
PageContentDTO
|
|
516
|
+
} from '@caraer/client';
|
|
517
|
+
|
|
518
|
+
const configuration = new Configuration();
|
|
519
|
+
const apiInstance = new ModuleApi(configuration);
|
|
520
|
+
|
|
521
|
+
let moduleId: string; // (default to undefined)
|
|
522
|
+
let pageContentDTO: PageContentDTO; //
|
|
523
|
+
|
|
524
|
+
const { status, data } = await apiInstance.updatePersonalModule(
|
|
525
|
+
moduleId,
|
|
526
|
+
pageContentDTO
|
|
527
|
+
);
|
|
528
|
+
```
|
|
529
|
+
|
|
530
|
+
### Parameters
|
|
531
|
+
|
|
532
|
+
|Name | Type | Description | Notes|
|
|
533
|
+
|------------- | ------------- | ------------- | -------------|
|
|
534
|
+
| **pageContentDTO** | **PageContentDTO**| | |
|
|
535
|
+
| **moduleId** | [**string**] | | defaults to undefined|
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
### Return type
|
|
539
|
+
|
|
540
|
+
**UpdateResponse**
|
|
541
|
+
|
|
542
|
+
### Authorization
|
|
543
|
+
|
|
544
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
545
|
+
|
|
546
|
+
### HTTP request headers
|
|
547
|
+
|
|
548
|
+
- **Content-Type**: application/json
|
|
549
|
+
- **Accept**: application/json, */*
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
### HTTP response details
|
|
553
|
+
| Status code | Description | Response headers |
|
|
554
|
+
|-------------|-------------|------------------|
|
|
555
|
+
|**200** | Module updated successfully | - |
|
|
556
|
+
|**403** | Not authorized | - |
|
|
557
|
+
|**404** | Module not found | - |
|
|
558
|
+
|**500** | Internal server error | - |
|
|
559
|
+
|
|
560
|
+
[[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)
|
|
561
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# MorphRecordRequest
|
|
2
|
+
|
|
3
|
+
Request to morph a record
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**objects** | [**Set<CaraerObjectDTO>**](CaraerObjectDTO.md) | The objects to morph the record into | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { MorphRecordRequest } from '@caraer/client';
|
|
15
|
+
|
|
16
|
+
const instance: MorphRecordRequest = {
|
|
17
|
+
objects,
|
|
18
|
+
};
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# MultiLine
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
import { MultiLine } from '@caraer/client';
|
|
13
|
+
|
|
14
|
+
const instance: MultiLine = {
|
|
15
|
+
};
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# MultiSelect
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
import { MultiSelect } from '@caraer/client';
|
|
13
|
+
|
|
14
|
+
const instance: MultiSelect = {
|
|
15
|
+
};
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# MultiValueMapStringString
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**all** | **{ [key: string]: string; }** | | [optional] [default to undefined]
|
|
9
|
+
**empty** | **boolean** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { MultiValueMapStringString } from '@caraer/client';
|
|
15
|
+
|
|
16
|
+
const instance: MultiValueMapStringString = {
|
|
17
|
+
all,
|
|
18
|
+
empty,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# NotFoundError
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**cause** | [**NotFoundErrorCause**](NotFoundErrorCause.md) | | [optional] [default to undefined]
|
|
9
|
+
**stackTrace** | [**Array<NotFoundErrorCauseStackTraceInner>**](NotFoundErrorCauseStackTraceInner.md) | | [optional] [default to undefined]
|
|
10
|
+
**errors** | [**Array<CaraerErrorType>**](CaraerErrorType.md) | The error message providing details about the failure. | [optional] [default to undefined]
|
|
11
|
+
**code** | **number** | The HTTP status code associated with the error. | [optional] [default to undefined]
|
|
12
|
+
**correctionSuggestion** | **string** | A suggestion on how to correct the error. | [default to undefined]
|
|
13
|
+
**message** | **string** | The error message providing details about the failure. | [default to undefined]
|
|
14
|
+
**suppressed** | [**Array<NotFoundErrorCause>**](NotFoundErrorCause.md) | | [optional] [default to undefined]
|
|
15
|
+
**localizedMessage** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**resourceKind** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**identifier** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**identifierType** | **string** | | [optional] [default to undefined]
|
|
19
|
+
**referencedBy** | [**Array<Reference>**](Reference.md) | | [optional] [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { NotFoundError } from '@caraer/client';
|
|
25
|
+
|
|
26
|
+
const instance: NotFoundError = {
|
|
27
|
+
cause,
|
|
28
|
+
stackTrace,
|
|
29
|
+
errors,
|
|
30
|
+
code,
|
|
31
|
+
correctionSuggestion,
|
|
32
|
+
message,
|
|
33
|
+
suppressed,
|
|
34
|
+
localizedMessage,
|
|
35
|
+
resourceKind,
|
|
36
|
+
identifier,
|
|
37
|
+
identifierType,
|
|
38
|
+
referencedBy,
|
|
39
|
+
};
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# NotFoundErrorCause
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**stackTrace** | [**Array<NotFoundErrorCauseStackTraceInner>**](NotFoundErrorCauseStackTraceInner.md) | | [optional] [default to undefined]
|
|
9
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**localizedMessage** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { NotFoundErrorCause } from '@caraer/client';
|
|
16
|
+
|
|
17
|
+
const instance: NotFoundErrorCause = {
|
|
18
|
+
stackTrace,
|
|
19
|
+
message,
|
|
20
|
+
localizedMessage,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|