@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.
Files changed (210) hide show
  1. package/.openapi-generator/FILES +189 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +5 -0
  4. package/LICENSE +21 -0
  5. package/README.md +25 -0
  6. package/api.ts +21719 -0
  7. package/base.ts +62 -0
  8. package/common.ts +127 -0
  9. package/configuration.ts +121 -0
  10. package/dist/api.d.ts +12770 -0
  11. package/dist/api.js +15923 -0
  12. package/dist/base.d.ts +42 -0
  13. package/dist/base.js +46 -0
  14. package/dist/common.d.ts +34 -0
  15. package/dist/common.js +139 -0
  16. package/dist/configuration.d.ts +98 -0
  17. package/dist/configuration.js +44 -0
  18. package/dist/esm/api.d.ts +12770 -0
  19. package/dist/esm/api.js +15835 -0
  20. package/dist/esm/base.d.ts +42 -0
  21. package/dist/esm/base.js +41 -0
  22. package/dist/esm/common.d.ts +34 -0
  23. package/dist/esm/common.js +126 -0
  24. package/dist/esm/configuration.d.ts +98 -0
  25. package/dist/esm/configuration.js +40 -0
  26. package/dist/esm/index.d.ts +13 -0
  27. package/dist/esm/index.js +15 -0
  28. package/dist/index.d.ts +13 -0
  29. package/dist/index.js +31 -0
  30. package/docs/AccessGrantTargetDTO.md +25 -0
  31. package/docs/AppBarDTO.md +55 -0
  32. package/docs/AppBarIframeSessionRequest.md +29 -0
  33. package/docs/AppBarIframeSessionValidateRequest.md +21 -0
  34. package/docs/AppBarIframeSessionsApi.md +119 -0
  35. package/docs/AppBarTriggerRequest.md +31 -0
  36. package/docs/AppBarVisibilityEntry.md +22 -0
  37. package/docs/AppBarsApi.md +130 -0
  38. package/docs/AppDTO.md +101 -0
  39. package/docs/AppDetailsDTO.md +63 -0
  40. package/docs/AppPricingDTO.md +55 -0
  41. package/docs/AppPublishDTO.md +51 -0
  42. package/docs/AppRequest.md +21 -0
  43. package/docs/AppSettingFieldMappingStructure.md +22 -0
  44. package/docs/AppSettingFieldMappingStructureItem.md +32 -0
  45. package/docs/AppSettingFieldSchema.md +40 -0
  46. package/docs/AppSettingOptionsSource.md +28 -0
  47. package/docs/AppTierDTO.md +49 -0
  48. package/docs/ApplicationsApi.md +1422 -0
  49. package/docs/AutomationsApi.md +54 -0
  50. package/docs/BillingSettingsDTO.md +51 -0
  51. package/docs/CaraerErrorType.md +24 -0
  52. package/docs/CaraerObjectDTO.md +65 -0
  53. package/docs/CompanyApi.md +538 -0
  54. package/docs/CompanyDTO.md +47 -0
  55. package/docs/CompanyDetailsDTO.md +75 -0
  56. package/docs/CopyPropertiesToObjectRequest.md +20 -0
  57. package/docs/CopyPropertyToEnvironmentsRequest.md +28 -0
  58. package/docs/CreateCompanyRequest.md +29 -0
  59. package/docs/CreateOrUpdateEnvironmentRequest.md +22 -0
  60. package/docs/CreatePrivateAppRequest.md +27 -0
  61. package/docs/CreateResponse.md +23 -0
  62. package/docs/CreateResponseSignedUrlResultDTO.md +23 -0
  63. package/docs/CreateSignedUrlRequest.md +20 -0
  64. package/docs/Currency.md +18 -0
  65. package/docs/CurrencyRange.md +18 -0
  66. package/docs/CursorLocation.md +25 -0
  67. package/docs/CustomFontDTO.md +22 -0
  68. package/docs/Date.md +18 -0
  69. package/docs/DeleteResponse.md +23 -0
  70. package/docs/DeleteResponseString.md +23 -0
  71. package/docs/DigitalIdentityDTO.md +115 -0
  72. package/docs/Duration.md +18 -0
  73. package/docs/Email.md +18 -0
  74. package/docs/EngagementBatchRequest.md +24 -0
  75. package/docs/ErrorResponse.md +31 -0
  76. package/docs/FeedDTO.md +66 -0
  77. package/docs/FeedsApi.md +58 -0
  78. package/docs/File.md +18 -0
  79. package/docs/FileManagementApi.md +228 -0
  80. package/docs/FilledProperty.md +28 -0
  81. package/docs/Filter.md +21 -0
  82. package/docs/FilterApi.md +286 -0
  83. package/docs/FilterGroup.md +21 -0
  84. package/docs/FilterItem.md +33 -0
  85. package/docs/FontVariantDTO.md +24 -0
  86. package/docs/FormDTO.md +59 -0
  87. package/docs/FormItemDTO.md +31 -0
  88. package/docs/FormRelationDTO.md +31 -0
  89. package/docs/FormWithAiPromptDTO.md +61 -0
  90. package/docs/FormsApi.md +864 -0
  91. package/docs/GridItemDTO.md +31 -0
  92. package/docs/GridItemSettingsDTO.md +49 -0
  93. package/docs/HasAppDTO.md +37 -0
  94. package/docs/InstallAppRequest.md +29 -0
  95. package/docs/Leadscore.md +37 -0
  96. package/docs/LinkedProperty.md +20 -0
  97. package/docs/LoadAppSettingOptionsRequest.md +27 -0
  98. package/docs/LoginRequest.md +22 -0
  99. package/docs/MappingDTO.md +50 -0
  100. package/docs/MappingItemDTO.md +46 -0
  101. package/docs/ModuleApi.md +561 -0
  102. package/docs/MorphRecordRequest.md +21 -0
  103. package/docs/MultiLine.md +18 -0
  104. package/docs/MultiSelect.md +18 -0
  105. package/docs/MultiValueMapStringString.md +22 -0
  106. package/docs/NotFoundError.md +42 -0
  107. package/docs/NotFoundErrorCause.md +24 -0
  108. package/docs/NotFoundErrorCauseStackTraceInner.md +34 -0
  109. package/docs/NotificationsApi.md +211 -0
  110. package/docs/Number.md +18 -0
  111. package/docs/NumberRange.md +18 -0
  112. package/docs/ObjectAccessGrantCandidatesDTO.md +25 -0
  113. package/docs/ObjectAccessGrantRequestDTO.md +25 -0
  114. package/docs/ObjectAccessGrantSectionDTO.md +25 -0
  115. package/docs/ObjectsApi.md +878 -0
  116. package/docs/PageContentDTO.md +73 -0
  117. package/docs/PageContentSettingsDTO.md +111 -0
  118. package/docs/PageContentStylingDTO.md +26 -0
  119. package/docs/PaginationResponse.md +31 -0
  120. package/docs/PaginationResponsePreviewDTO.md +31 -0
  121. package/docs/PaginationResponseWebpageAccessGrantDTO.md +31 -0
  122. package/docs/Phone.md +18 -0
  123. package/docs/PreviewDTO.md +77 -0
  124. package/docs/PreviewItemDTO.md +43 -0
  125. package/docs/PreviewItemSettingsDTO.md +43 -0
  126. package/docs/PreviewRelatedObjectDTO.md +23 -0
  127. package/docs/PropertyApi.md +803 -0
  128. package/docs/PropertyDTO.md +77 -0
  129. package/docs/PropertyDTOFormat.md +35 -0
  130. package/docs/PropertyFormat.md +32 -0
  131. package/docs/PropertyOption.md +30 -0
  132. package/docs/PublicUserDTO.md +36 -0
  133. package/docs/Record.md +48 -0
  134. package/docs/RecordDTO.md +45 -0
  135. package/docs/RecordRelationRequestDTO.md +33 -0
  136. package/docs/RecordsApi.md +948 -0
  137. package/docs/Reference.md +26 -0
  138. package/docs/RegisterRequest.md +26 -0
  139. package/docs/RelationDTO.md +47 -0
  140. package/docs/RelationsApi.md +627 -0
  141. package/docs/ResetPasswordRequest.md +24 -0
  142. package/docs/RestoreResponse.md +23 -0
  143. package/docs/RestoreResponseCaraerObjectDTO.md +23 -0
  144. package/docs/RestoreResponseSavedFilterDTO.md +23 -0
  145. package/docs/RestoreResponseTeamDTO.md +23 -0
  146. package/docs/RestoreResponseViewDTO.md +23 -0
  147. package/docs/ReviewRequest.md +25 -0
  148. package/docs/SavePropertyDTO.md +71 -0
  149. package/docs/SavedFilterDTO.md +45 -0
  150. package/docs/SendNotificationRequest.md +35 -0
  151. package/docs/ServerlessFunctionDTO.md +45 -0
  152. package/docs/ServerlessFunctionsApi.md +298 -0
  153. package/docs/SettingField.md +40 -0
  154. package/docs/SettingOption.md +24 -0
  155. package/docs/ShowItem.md +35 -0
  156. package/docs/ShowResponse.md +23 -0
  157. package/docs/ShowResponseObjectAccessGrantCandidatesDTO.md +23 -0
  158. package/docs/ShowResponseWebpageProtectionInfoDTO.md +23 -0
  159. package/docs/SignedUrlResultDTO.md +27 -0
  160. package/docs/SimplePublicCompanyDTO.md +69 -0
  161. package/docs/SingleCheckbox.md +18 -0
  162. package/docs/SingleLine.md +18 -0
  163. package/docs/SingleSelect.md +18 -0
  164. package/docs/SortItem.md +27 -0
  165. package/docs/SseEmitter.md +20 -0
  166. package/docs/Structure.md +18 -0
  167. package/docs/StyleSetDTO.md +502 -0
  168. package/docs/SubscribeWebhookDTO.md +79 -0
  169. package/docs/SuccessResponse.md +23 -0
  170. package/docs/SuccessResponseString.md +23 -0
  171. package/docs/SuccessResponseVoid.md +23 -0
  172. package/docs/SyncApi.md +344 -0
  173. package/docs/SyncDTO.md +40 -0
  174. package/docs/Tag.md +18 -0
  175. package/docs/Team.md +52 -0
  176. package/docs/TeamDTO.md +48 -0
  177. package/docs/TemplateWebpageDTO.md +69 -0
  178. package/docs/TestServerlessFunctionRequest.md +25 -0
  179. package/docs/TestWebhookRequest.md +27 -0
  180. package/docs/TrackingEventRequest.md +72 -0
  181. package/docs/TrackingSessionUpsertRequest.md +22 -0
  182. package/docs/TraitsApi.md +236 -0
  183. package/docs/Tuple2LongLong.md +22 -0
  184. package/docs/UpdateLifecyclePropertiesDTO.md +21 -0
  185. package/docs/UpdateResponse.md +23 -0
  186. package/docs/Url.md +18 -0
  187. package/docs/UsedInResult.md +22 -0
  188. package/docs/UserRecordResponseDTO.md +47 -0
  189. package/docs/UserWithCursorLocationDTO.md +33 -0
  190. package/docs/ValidationError.md +36 -0
  191. package/docs/ViewDTO.md +72 -0
  192. package/docs/ViewShareRequest.md +24 -0
  193. package/docs/ViewsApi.md +412 -0
  194. package/docs/WebMenuDTO.md +53 -0
  195. package/docs/WebMenuItem.md +26 -0
  196. package/docs/WebMenusApi.md +336 -0
  197. package/docs/WebpageAccessGrantDTO.md +51 -0
  198. package/docs/WebpageDTO.md +69 -0
  199. package/docs/WebpageEditingStatusDTO.md +25 -0
  200. package/docs/WebpageOptionsDTO.md +41 -0
  201. package/docs/WebpageProtectionInfoDTO.md +27 -0
  202. package/docs/WebpagePublicRecordDTO.md +25 -0
  203. package/docs/WebpageUnlockRequest.md +20 -0
  204. package/docs/WebpagesApi.md +2009 -0
  205. package/docs/WebsiteSettingsDTO.md +321 -0
  206. package/git_push.sh +57 -0
  207. package/index.ts +18 -0
  208. package/package.json +37 -0
  209. package/tsconfig.esm.json +7 -0
  210. package/tsconfig.json +18 -0
@@ -0,0 +1,412 @@
1
+ # ViewsApi
2
+
3
+ All URIs are relative to *https://v2.api.caraer.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createView**](#createview) | **POST** /api/v2/objects/{objectUuid}/views/ | Create a new view|
8
+ |[**deleteView**](#deleteview) | **DELETE** /api/v2/objects/{objectUuid}/views/{viewUuid} | Delete a view|
9
+ |[**favoriteView**](#favoriteview) | **PUT** /api/v2/objects/{objectUuid}/views/{viewUuid}/favorite | Toggle view favorite status|
10
+ |[**getView**](#getview) | **GET** /api/v2/objects/{objectUuid}/views/{viewUuid} | Get view details|
11
+ |[**getViews**](#getviews) | **POST** /api/v2/objects/{objectUuid}/views/index | Fetch paginated views for an object|
12
+ |[**updateIndices1**](#updateindices1) | **PUT** /api/v2/objects/{objectUuid}/views/updateIndices | Update view indices|
13
+ |[**updateView**](#updateview) | **PUT** /api/v2/objects/{objectUuid}/views/{viewUuid} | Update an existing view|
14
+
15
+ # **createView**
16
+ > CreateResponse createView(viewDTO)
17
+
18
+ Creates a new view for the specified object. The request body must contain the view details as a ViewDTO. Returns a CreateResponse containing the newly created view as a ViewDTO.
19
+
20
+ ### Example
21
+
22
+ ```typescript
23
+ import {
24
+ ViewsApi,
25
+ Configuration,
26
+ ViewDTO
27
+ } from '@caraer/client';
28
+
29
+ const configuration = new Configuration();
30
+ const apiInstance = new ViewsApi(configuration);
31
+
32
+ let objectUuid: string; // (default to undefined)
33
+ let viewDTO: ViewDTO; //View details to create
34
+
35
+ const { status, data } = await apiInstance.createView(
36
+ objectUuid,
37
+ viewDTO
38
+ );
39
+ ```
40
+
41
+ ### Parameters
42
+
43
+ |Name | Type | Description | Notes|
44
+ |------------- | ------------- | ------------- | -------------|
45
+ | **viewDTO** | **ViewDTO**| View details to create | |
46
+ | **objectUuid** | [**string**] | | defaults to undefined|
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** | View 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
+ # **deleteView**
73
+ > DeleteResponse deleteView()
74
+
75
+ Deletes the view identified by its UUID from the specified object. Returns a DeleteResponse confirming the deletion.
76
+
77
+ ### Example
78
+
79
+ ```typescript
80
+ import {
81
+ ViewsApi,
82
+ Configuration
83
+ } from '@caraer/client';
84
+
85
+ const configuration = new Configuration();
86
+ const apiInstance = new ViewsApi(configuration);
87
+
88
+ let objectUuid: string; // (default to undefined)
89
+ let viewUuid: string; // (default to undefined)
90
+
91
+ const { status, data } = await apiInstance.deleteView(
92
+ objectUuid,
93
+ viewUuid
94
+ );
95
+ ```
96
+
97
+ ### Parameters
98
+
99
+ |Name | Type | Description | Notes|
100
+ |------------- | ------------- | ------------- | -------------|
101
+ | **objectUuid** | [**string**] | | defaults to undefined|
102
+ | **viewUuid** | [**string**] | | defaults to undefined|
103
+
104
+
105
+ ### Return type
106
+
107
+ **DeleteResponse**
108
+
109
+ ### Authorization
110
+
111
+ [bearerAuth](../README.md#bearerAuth)
112
+
113
+ ### HTTP request headers
114
+
115
+ - **Content-Type**: Not defined
116
+ - **Accept**: application/json, */*
117
+
118
+
119
+ ### HTTP response details
120
+ | Status code | Description | Response headers |
121
+ |-------------|-------------|------------------|
122
+ |**200** | View deleted successfully | - |
123
+ |**404** | View not found | - |
124
+ |**500** | Internal server error | - |
125
+
126
+ [[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)
127
+
128
+ # **favoriteView**
129
+ > UpdateResponse favoriteView()
130
+
131
+ Toggles the favorite status of the specified view. Returns an UpdateResponse containing the updated view details.
132
+
133
+ ### Example
134
+
135
+ ```typescript
136
+ import {
137
+ ViewsApi,
138
+ Configuration
139
+ } from '@caraer/client';
140
+
141
+ const configuration = new Configuration();
142
+ const apiInstance = new ViewsApi(configuration);
143
+
144
+ let objectUuid: string; // (default to undefined)
145
+ let viewUuid: string; // (default to undefined)
146
+
147
+ const { status, data } = await apiInstance.favoriteView(
148
+ objectUuid,
149
+ viewUuid
150
+ );
151
+ ```
152
+
153
+ ### Parameters
154
+
155
+ |Name | Type | Description | Notes|
156
+ |------------- | ------------- | ------------- | -------------|
157
+ | **objectUuid** | [**string**] | | defaults to undefined|
158
+ | **viewUuid** | [**string**] | | defaults to undefined|
159
+
160
+
161
+ ### Return type
162
+
163
+ **UpdateResponse**
164
+
165
+ ### Authorization
166
+
167
+ [bearerAuth](../README.md#bearerAuth)
168
+
169
+ ### HTTP request headers
170
+
171
+ - **Content-Type**: Not defined
172
+ - **Accept**: application/json, */*
173
+
174
+
175
+ ### HTTP response details
176
+ | Status code | Description | Response headers |
177
+ |-------------|-------------|------------------|
178
+ |**200** | View favorite status updated successfully | - |
179
+ |**404** | View not found | - |
180
+ |**500** | Internal server error | - |
181
+
182
+ [[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)
183
+
184
+ # **getView**
185
+ > ShowResponse getView()
186
+
187
+ Retrieves detailed information for a view identified by its UUID for the specified object. Returns a ShowResponse containing the ViewDTO.
188
+
189
+ ### Example
190
+
191
+ ```typescript
192
+ import {
193
+ ViewsApi,
194
+ Configuration
195
+ } from '@caraer/client';
196
+
197
+ const configuration = new Configuration();
198
+ const apiInstance = new ViewsApi(configuration);
199
+
200
+ let objectUuid: string; // (default to undefined)
201
+ let viewUuid: string; // (default to undefined)
202
+
203
+ const { status, data } = await apiInstance.getView(
204
+ objectUuid,
205
+ viewUuid
206
+ );
207
+ ```
208
+
209
+ ### Parameters
210
+
211
+ |Name | Type | Description | Notes|
212
+ |------------- | ------------- | ------------- | -------------|
213
+ | **objectUuid** | [**string**] | | defaults to undefined|
214
+ | **viewUuid** | [**string**] | | defaults to undefined|
215
+
216
+
217
+ ### Return type
218
+
219
+ **ShowResponse**
220
+
221
+ ### Authorization
222
+
223
+ [bearerAuth](../README.md#bearerAuth)
224
+
225
+ ### HTTP request headers
226
+
227
+ - **Content-Type**: Not defined
228
+ - **Accept**: application/json, */*
229
+
230
+
231
+ ### HTTP response details
232
+ | Status code | Description | Response headers |
233
+ |-------------|-------------|------------------|
234
+ |**200** | View retrieved successfully | - |
235
+ |**404** | View not found | - |
236
+ |**500** | Internal server error | - |
237
+
238
+ [[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)
239
+
240
+ # **getViews**
241
+ > PaginationResponse getViews(body)
242
+
243
+ Retrieves a paginated list of views for the specified object. A custom Cypher query is used to filter views based on the object\'s UUID. Returns a PaginationResponse containing ViewDTO objects.
244
+
245
+ ### Example
246
+
247
+ ```typescript
248
+ import {
249
+ ViewsApi,
250
+ Configuration
251
+ } from '@caraer/client';
252
+
253
+ const configuration = new Configuration();
254
+ const apiInstance = new ViewsApi(configuration);
255
+
256
+ let objectUuid: string; // (default to undefined)
257
+ let body: any; //Pagination request details (limit, page, filters, sort, query)
258
+
259
+ const { status, data } = await apiInstance.getViews(
260
+ objectUuid,
261
+ body
262
+ );
263
+ ```
264
+
265
+ ### Parameters
266
+
267
+ |Name | Type | Description | Notes|
268
+ |------------- | ------------- | ------------- | -------------|
269
+ | **body** | **any**| Pagination request details (limit, page, filters, sort, query) | |
270
+ | **objectUuid** | [**string**] | | defaults to undefined|
271
+
272
+
273
+ ### Return type
274
+
275
+ **PaginationResponse**
276
+
277
+ ### Authorization
278
+
279
+ [bearerAuth](../README.md#bearerAuth)
280
+
281
+ ### HTTP request headers
282
+
283
+ - **Content-Type**: application/json
284
+ - **Accept**: application/json
285
+
286
+
287
+ ### HTTP response details
288
+ | Status code | Description | Response headers |
289
+ |-------------|-------------|------------------|
290
+ |**200** | Views fetched successfully | - |
291
+ |**400** | Invalid pagination request | - |
292
+ |**500** | Internal server error | - |
293
+
294
+ [[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
+
296
+ # **updateIndices1**
297
+ > SuccessResponse updateIndices1(body)
298
+
299
+ Updates the indices for views associated with the specified object. The request body must include a mapping of view UUIDs to their new index values. Returns a SuccessResponse with the updated view DTOs.
300
+
301
+ ### Example
302
+
303
+ ```typescript
304
+ import {
305
+ ViewsApi,
306
+ Configuration
307
+ } from '@caraer/client';
308
+
309
+ const configuration = new Configuration();
310
+ const apiInstance = new ViewsApi(configuration);
311
+
312
+ let objectUuid: string; // (default to undefined)
313
+ let body: string; //Mapping of view UUIDs to new index values
314
+
315
+ const { status, data } = await apiInstance.updateIndices1(
316
+ objectUuid,
317
+ body
318
+ );
319
+ ```
320
+
321
+ ### Parameters
322
+
323
+ |Name | Type | Description | Notes|
324
+ |------------- | ------------- | ------------- | -------------|
325
+ | **body** | **string**| Mapping of view UUIDs to new index values | |
326
+ | **objectUuid** | [**string**] | | defaults to undefined|
327
+
328
+
329
+ ### Return type
330
+
331
+ **SuccessResponse**
332
+
333
+ ### Authorization
334
+
335
+ [bearerAuth](../README.md#bearerAuth)
336
+
337
+ ### HTTP request headers
338
+
339
+ - **Content-Type**: application/json
340
+ - **Accept**: application/json, */*
341
+
342
+
343
+ ### HTTP response details
344
+ | Status code | Description | Response headers |
345
+ |-------------|-------------|------------------|
346
+ |**200** | View indices updated successfully | - |
347
+ |**400** | Invalid input provided | - |
348
+ |**500** | Internal server error | - |
349
+
350
+ [[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
+
352
+ # **updateView**
353
+ > UpdateResponse updateView(viewDTO)
354
+
355
+ Updates the details of an existing view identified by its UUID for the specified object. The request body must contain the updated view details as a ViewDTO. Returns an UpdateResponse with the updated view data.
356
+
357
+ ### Example
358
+
359
+ ```typescript
360
+ import {
361
+ ViewsApi,
362
+ Configuration,
363
+ ViewDTO
364
+ } from '@caraer/client';
365
+
366
+ const configuration = new Configuration();
367
+ const apiInstance = new ViewsApi(configuration);
368
+
369
+ let objectUuid: string; // (default to undefined)
370
+ let viewUuid: string; // (default to undefined)
371
+ let viewDTO: ViewDTO; //Updated view details
372
+
373
+ const { status, data } = await apiInstance.updateView(
374
+ objectUuid,
375
+ viewUuid,
376
+ viewDTO
377
+ );
378
+ ```
379
+
380
+ ### Parameters
381
+
382
+ |Name | Type | Description | Notes|
383
+ |------------- | ------------- | ------------- | -------------|
384
+ | **viewDTO** | **ViewDTO**| Updated view details | |
385
+ | **objectUuid** | [**string**] | | defaults to undefined|
386
+ | **viewUuid** | [**string**] | | defaults to undefined|
387
+
388
+
389
+ ### Return type
390
+
391
+ **UpdateResponse**
392
+
393
+ ### Authorization
394
+
395
+ [bearerAuth](../README.md#bearerAuth)
396
+
397
+ ### HTTP request headers
398
+
399
+ - **Content-Type**: application/json
400
+ - **Accept**: application/json, */*
401
+
402
+
403
+ ### HTTP response details
404
+ | Status code | Description | Response headers |
405
+ |-------------|-------------|------------------|
406
+ |**200** | View updated successfully | - |
407
+ |**400** | Invalid input data | - |
408
+ |**404** | View not found | - |
409
+ |**500** | Internal server error | - |
410
+
411
+ [[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)
412
+
@@ -0,0 +1,53 @@
1
+ # WebMenuDTO
2
+
3
+ Data transfer object representing the structure of a web menu
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
+ **title** | **string** | The title of the web menu | [optional] [default to undefined]
20
+ **active** | **boolean** | Indicates whether the web menu is active | [optional] [default to undefined]
21
+ **environments** | **Array<string>** | The environments of the web menu | [optional] [default to undefined]
22
+ **location** | **string** | The location of the web menu in the UI, e.g., \'footer_block_1\' or \'header\' | [optional] [default to undefined]
23
+ **urls** | **Array<{ [key: string]: string; }>** | | [optional] [default to undefined]
24
+ **items** | [**Array<WebMenuItem>**](WebMenuItem.md) | | [optional] [default to undefined]
25
+ **text** | **string** | The text of the web menu | [optional] [default to undefined]
26
+
27
+ ## Example
28
+
29
+ ```typescript
30
+ import { WebMenuDTO } from '@caraer/client';
31
+
32
+ const instance: WebMenuDTO = {
33
+ uuid,
34
+ name,
35
+ label,
36
+ createdAt,
37
+ createdBy,
38
+ updatedAt,
39
+ updatedBy,
40
+ deletedAt,
41
+ deletedBy,
42
+ index,
43
+ title,
44
+ active,
45
+ environments,
46
+ location,
47
+ urls,
48
+ items,
49
+ text,
50
+ };
51
+ ```
52
+
53
+ [[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,26 @@
1
+ # WebMenuItem
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **label** | **string** | | [optional] [default to undefined]
9
+ **url** | **string** | | [optional] [default to undefined]
10
+ **icon** | **string** | | [optional] [default to undefined]
11
+ **image** | **string** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { WebMenuItem } from '@caraer/client';
17
+
18
+ const instance: WebMenuItem = {
19
+ label,
20
+ url,
21
+ icon,
22
+ image,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)