@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,336 @@
|
|
|
1
|
+
# WebMenusApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://v2.api.caraer.com*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**createWebMenu**](#createwebmenu) | **POST** /api/v2/webmenus | Create web menu|
|
|
8
|
+
|[**deleteWebMenu**](#deletewebmenu) | **DELETE** /api/v2/webmenus/{uuid} | Delete web menu|
|
|
9
|
+
|[**getWebMenu**](#getwebmenu) | **GET** /api/v2/webmenus/{uuid} | Show web menu|
|
|
10
|
+
|[**indexWebMenus**](#indexwebmenus) | **POST** /api/v2/webmenus/index | Index web menus|
|
|
11
|
+
|[**restoreWebMenu**](#restorewebmenu) | **POST** /api/v2/webmenus/{uuid}/restore | Restore deleted web menu|
|
|
12
|
+
|[**updateWebMenu**](#updatewebmenu) | **PUT** /api/v2/webmenus/{uuid} | Update web menu|
|
|
13
|
+
|
|
14
|
+
# **createWebMenu**
|
|
15
|
+
> CreateResponse createWebMenu(webMenuDTO)
|
|
16
|
+
|
|
17
|
+
Create web menu
|
|
18
|
+
|
|
19
|
+
### Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import {
|
|
23
|
+
WebMenusApi,
|
|
24
|
+
Configuration,
|
|
25
|
+
WebMenuDTO
|
|
26
|
+
} from '@caraer/client';
|
|
27
|
+
|
|
28
|
+
const configuration = new Configuration();
|
|
29
|
+
const apiInstance = new WebMenusApi(configuration);
|
|
30
|
+
|
|
31
|
+
let webMenuDTO: WebMenuDTO; //
|
|
32
|
+
|
|
33
|
+
const { status, data } = await apiInstance.createWebMenu(
|
|
34
|
+
webMenuDTO
|
|
35
|
+
);
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Parameters
|
|
39
|
+
|
|
40
|
+
|Name | Type | Description | Notes|
|
|
41
|
+
|------------- | ------------- | ------------- | -------------|
|
|
42
|
+
| **webMenuDTO** | **WebMenuDTO**| | |
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Return type
|
|
46
|
+
|
|
47
|
+
**CreateResponse**
|
|
48
|
+
|
|
49
|
+
### Authorization
|
|
50
|
+
|
|
51
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
52
|
+
|
|
53
|
+
### HTTP request headers
|
|
54
|
+
|
|
55
|
+
- **Content-Type**: application/json
|
|
56
|
+
- **Accept**: application/json
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
### HTTP response details
|
|
60
|
+
| Status code | Description | Response headers |
|
|
61
|
+
|-------------|-------------|------------------|
|
|
62
|
+
|**200** | Web menu created successfully | - |
|
|
63
|
+
|**400** | Bad request | - |
|
|
64
|
+
|**500** | Internal server error | - |
|
|
65
|
+
|
|
66
|
+
[[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)
|
|
67
|
+
|
|
68
|
+
# **deleteWebMenu**
|
|
69
|
+
> DeleteResponse deleteWebMenu()
|
|
70
|
+
|
|
71
|
+
Delete web menu
|
|
72
|
+
|
|
73
|
+
### Example
|
|
74
|
+
|
|
75
|
+
```typescript
|
|
76
|
+
import {
|
|
77
|
+
WebMenusApi,
|
|
78
|
+
Configuration
|
|
79
|
+
} from '@caraer/client';
|
|
80
|
+
|
|
81
|
+
const configuration = new Configuration();
|
|
82
|
+
const apiInstance = new WebMenusApi(configuration);
|
|
83
|
+
|
|
84
|
+
let uuid: string; // (default to undefined)
|
|
85
|
+
|
|
86
|
+
const { status, data } = await apiInstance.deleteWebMenu(
|
|
87
|
+
uuid
|
|
88
|
+
);
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### Parameters
|
|
92
|
+
|
|
93
|
+
|Name | Type | Description | Notes|
|
|
94
|
+
|------------- | ------------- | ------------- | -------------|
|
|
95
|
+
| **uuid** | [**string**] | | defaults to undefined|
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
### Return type
|
|
99
|
+
|
|
100
|
+
**DeleteResponse**
|
|
101
|
+
|
|
102
|
+
### Authorization
|
|
103
|
+
|
|
104
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
105
|
+
|
|
106
|
+
### HTTP request headers
|
|
107
|
+
|
|
108
|
+
- **Content-Type**: Not defined
|
|
109
|
+
- **Accept**: application/json, */*
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
### HTTP response details
|
|
113
|
+
| Status code | Description | Response headers |
|
|
114
|
+
|-------------|-------------|------------------|
|
|
115
|
+
|**200** | Web menu deleted successfully | - |
|
|
116
|
+
|**400** | Bad request | - |
|
|
117
|
+
|**500** | Internal server error | - |
|
|
118
|
+
|
|
119
|
+
[[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)
|
|
120
|
+
|
|
121
|
+
# **getWebMenu**
|
|
122
|
+
> ShowResponse getWebMenu()
|
|
123
|
+
|
|
124
|
+
Show web menu
|
|
125
|
+
|
|
126
|
+
### Example
|
|
127
|
+
|
|
128
|
+
```typescript
|
|
129
|
+
import {
|
|
130
|
+
WebMenusApi,
|
|
131
|
+
Configuration
|
|
132
|
+
} from '@caraer/client';
|
|
133
|
+
|
|
134
|
+
const configuration = new Configuration();
|
|
135
|
+
const apiInstance = new WebMenusApi(configuration);
|
|
136
|
+
|
|
137
|
+
let uuid: string; // (default to undefined)
|
|
138
|
+
|
|
139
|
+
const { status, data } = await apiInstance.getWebMenu(
|
|
140
|
+
uuid
|
|
141
|
+
);
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
### Parameters
|
|
145
|
+
|
|
146
|
+
|Name | Type | Description | Notes|
|
|
147
|
+
|------------- | ------------- | ------------- | -------------|
|
|
148
|
+
| **uuid** | [**string**] | | defaults to undefined|
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
### Return type
|
|
152
|
+
|
|
153
|
+
**ShowResponse**
|
|
154
|
+
|
|
155
|
+
### Authorization
|
|
156
|
+
|
|
157
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
158
|
+
|
|
159
|
+
### HTTP request headers
|
|
160
|
+
|
|
161
|
+
- **Content-Type**: Not defined
|
|
162
|
+
- **Accept**: application/json
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
### HTTP response details
|
|
166
|
+
| Status code | Description | Response headers |
|
|
167
|
+
|-------------|-------------|------------------|
|
|
168
|
+
|**200** | Web menu shown successfully | - |
|
|
169
|
+
|**400** | Bad request | - |
|
|
170
|
+
|**500** | Internal server error | - |
|
|
171
|
+
|
|
172
|
+
[[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)
|
|
173
|
+
|
|
174
|
+
# **indexWebMenus**
|
|
175
|
+
> PaginationResponse indexWebMenus(body)
|
|
176
|
+
|
|
177
|
+
Index web menus
|
|
178
|
+
|
|
179
|
+
### Example
|
|
180
|
+
|
|
181
|
+
```typescript
|
|
182
|
+
import {
|
|
183
|
+
WebMenusApi,
|
|
184
|
+
Configuration
|
|
185
|
+
} from '@caraer/client';
|
|
186
|
+
|
|
187
|
+
const configuration = new Configuration();
|
|
188
|
+
const apiInstance = new WebMenusApi(configuration);
|
|
189
|
+
|
|
190
|
+
let body: any; //
|
|
191
|
+
|
|
192
|
+
const { status, data } = await apiInstance.indexWebMenus(
|
|
193
|
+
body
|
|
194
|
+
);
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
### Parameters
|
|
198
|
+
|
|
199
|
+
|Name | Type | Description | Notes|
|
|
200
|
+
|------------- | ------------- | ------------- | -------------|
|
|
201
|
+
| **body** | **any**| | |
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
### Return type
|
|
205
|
+
|
|
206
|
+
**PaginationResponse**
|
|
207
|
+
|
|
208
|
+
### Authorization
|
|
209
|
+
|
|
210
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
211
|
+
|
|
212
|
+
### HTTP request headers
|
|
213
|
+
|
|
214
|
+
- **Content-Type**: application/json
|
|
215
|
+
- **Accept**: application/json
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
### HTTP response details
|
|
219
|
+
| Status code | Description | Response headers |
|
|
220
|
+
|-------------|-------------|------------------|
|
|
221
|
+
|**200** | Web menus indexed successfully | - |
|
|
222
|
+
|**400** | Bad request | - |
|
|
223
|
+
|**500** | Internal server error | - |
|
|
224
|
+
|
|
225
|
+
[[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)
|
|
226
|
+
|
|
227
|
+
# **restoreWebMenu**
|
|
228
|
+
> RestoreResponse restoreWebMenu()
|
|
229
|
+
|
|
230
|
+
Restore a deleted web menu by its UUID
|
|
231
|
+
|
|
232
|
+
### Example
|
|
233
|
+
|
|
234
|
+
```typescript
|
|
235
|
+
import {
|
|
236
|
+
WebMenusApi,
|
|
237
|
+
Configuration
|
|
238
|
+
} from '@caraer/client';
|
|
239
|
+
|
|
240
|
+
const configuration = new Configuration();
|
|
241
|
+
const apiInstance = new WebMenusApi(configuration);
|
|
242
|
+
|
|
243
|
+
let uuid: string; // (default to undefined)
|
|
244
|
+
|
|
245
|
+
const { status, data } = await apiInstance.restoreWebMenu(
|
|
246
|
+
uuid
|
|
247
|
+
);
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
### Parameters
|
|
251
|
+
|
|
252
|
+
|Name | Type | Description | Notes|
|
|
253
|
+
|------------- | ------------- | ------------- | -------------|
|
|
254
|
+
| **uuid** | [**string**] | | defaults to undefined|
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
### Return type
|
|
258
|
+
|
|
259
|
+
**RestoreResponse**
|
|
260
|
+
|
|
261
|
+
### Authorization
|
|
262
|
+
|
|
263
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
264
|
+
|
|
265
|
+
### HTTP request headers
|
|
266
|
+
|
|
267
|
+
- **Content-Type**: Not defined
|
|
268
|
+
- **Accept**: application/json, */*
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
### HTTP response details
|
|
272
|
+
| Status code | Description | Response headers |
|
|
273
|
+
|-------------|-------------|------------------|
|
|
274
|
+
|**200** | Web menu restored successfully | - |
|
|
275
|
+
|**404** | Web menu not found | - |
|
|
276
|
+
|**500** | Internal server error | - |
|
|
277
|
+
|
|
278
|
+
[[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)
|
|
279
|
+
|
|
280
|
+
# **updateWebMenu**
|
|
281
|
+
> UpdateResponse updateWebMenu(webMenuDTO)
|
|
282
|
+
|
|
283
|
+
Update web menu
|
|
284
|
+
|
|
285
|
+
### Example
|
|
286
|
+
|
|
287
|
+
```typescript
|
|
288
|
+
import {
|
|
289
|
+
WebMenusApi,
|
|
290
|
+
Configuration,
|
|
291
|
+
WebMenuDTO
|
|
292
|
+
} from '@caraer/client';
|
|
293
|
+
|
|
294
|
+
const configuration = new Configuration();
|
|
295
|
+
const apiInstance = new WebMenusApi(configuration);
|
|
296
|
+
|
|
297
|
+
let uuid: string; // (default to undefined)
|
|
298
|
+
let webMenuDTO: WebMenuDTO; //
|
|
299
|
+
|
|
300
|
+
const { status, data } = await apiInstance.updateWebMenu(
|
|
301
|
+
uuid,
|
|
302
|
+
webMenuDTO
|
|
303
|
+
);
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
### Parameters
|
|
307
|
+
|
|
308
|
+
|Name | Type | Description | Notes|
|
|
309
|
+
|------------- | ------------- | ------------- | -------------|
|
|
310
|
+
| **webMenuDTO** | **WebMenuDTO**| | |
|
|
311
|
+
| **uuid** | [**string**] | | defaults to undefined|
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
### Return type
|
|
315
|
+
|
|
316
|
+
**UpdateResponse**
|
|
317
|
+
|
|
318
|
+
### Authorization
|
|
319
|
+
|
|
320
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
321
|
+
|
|
322
|
+
### HTTP request headers
|
|
323
|
+
|
|
324
|
+
- **Content-Type**: application/json
|
|
325
|
+
- **Accept**: application/json
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
### HTTP response details
|
|
329
|
+
| Status code | Description | Response headers |
|
|
330
|
+
|-------------|-------------|------------------|
|
|
331
|
+
|**200** | Web menu updated successfully | - |
|
|
332
|
+
|**400** | Bad request | - |
|
|
333
|
+
|**500** | Internal server error | - |
|
|
334
|
+
|
|
335
|
+
[[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)
|
|
336
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# WebpageAccessGrantDTO
|
|
2
|
+
|
|
3
|
+
Signed URL access grant for a protected webpage
|
|
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
|
+
**recordUuid** | **string** | | [optional] [default to undefined]
|
|
20
|
+
**expiresAt** | **number** | | [optional] [default to undefined]
|
|
21
|
+
**revokedAt** | **number** | | [optional] [default to undefined]
|
|
22
|
+
**active** | **boolean** | | [optional] [default to undefined]
|
|
23
|
+
**tokenHash** | **string** | | [optional] [default to undefined]
|
|
24
|
+
**token** | **string** | | [optional] [default to undefined]
|
|
25
|
+
|
|
26
|
+
## Example
|
|
27
|
+
|
|
28
|
+
```typescript
|
|
29
|
+
import { WebpageAccessGrantDTO } from '@caraer/client';
|
|
30
|
+
|
|
31
|
+
const instance: WebpageAccessGrantDTO = {
|
|
32
|
+
uuid,
|
|
33
|
+
name,
|
|
34
|
+
label,
|
|
35
|
+
createdAt,
|
|
36
|
+
createdBy,
|
|
37
|
+
updatedAt,
|
|
38
|
+
updatedBy,
|
|
39
|
+
deletedAt,
|
|
40
|
+
deletedBy,
|
|
41
|
+
index,
|
|
42
|
+
recordUuid,
|
|
43
|
+
expiresAt,
|
|
44
|
+
revokedAt,
|
|
45
|
+
active,
|
|
46
|
+
tokenHash,
|
|
47
|
+
token,
|
|
48
|
+
};
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
[[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,69 @@
|
|
|
1
|
+
# WebpageDTO
|
|
2
|
+
|
|
3
|
+
Data transfer object representing a webpage with its various states, properties, and associated form/versions
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**environment** | **string** | The environment of the webpage. | [optional] [default to undefined]
|
|
10
|
+
**uuid** | **string** | The UUID of the webpage. | [optional] [default to undefined]
|
|
11
|
+
**title** | **string** | The title of the webpage. | [optional] [default to undefined]
|
|
12
|
+
**excerpt** | **string** | Short summary or excerpt displayed for the webpage. | [optional] [default to undefined]
|
|
13
|
+
**slug** | **string** | URL-friendly identifier for the webpage. | [optional] [default to undefined]
|
|
14
|
+
**image** | **string** | URL or identifier of the image associated with the webpage. | [optional] [default to undefined]
|
|
15
|
+
**customCss** | **string** | Custom CSS for the webpage. | [optional] [default to undefined]
|
|
16
|
+
**customJsHead** | **string** | Custom JS for the webpage. | [optional] [default to undefined]
|
|
17
|
+
**customJsBody** | **string** | Custom JS for the webpage. | [optional] [default to undefined]
|
|
18
|
+
**content** | [**PageContentDTO**](PageContentDTO.md) | Content of the webpage | [optional] [default to undefined]
|
|
19
|
+
**sidebar** | [**PreviewDTO**](PreviewDTO.md) | Preview of the sidebar | [optional] [default to undefined]
|
|
20
|
+
**sidebarRelation** | [**RelationDTO**](RelationDTO.md) | Relation of the sidebar | [optional] [default to undefined]
|
|
21
|
+
**sidebarObject** | [**CaraerObjectDTO**](CaraerObjectDTO.md) | Object of the sidebar | [optional] [default to undefined]
|
|
22
|
+
**object** | [**CaraerObjectDTO**](CaraerObjectDTO.md) | The Object object associated with the webpage, representing application data. | [optional] [default to undefined]
|
|
23
|
+
**record** | [**WebpagePublicRecordDTO**](WebpagePublicRecordDTO.md) | Webpage-public backing record values (internal + parsed). Set only on public page responses. | [optional] [default to undefined]
|
|
24
|
+
**_options** | [**WebpageOptionsDTO**](WebpageOptionsDTO.md) | Custom options and configurations specific to the webpage. | [optional] [default to undefined]
|
|
25
|
+
**metaData** | **{ [key: string]: any | null; }** | Map of additional metadata and attributes for the webpage. | [optional] [default to undefined]
|
|
26
|
+
**publishedBy** | **string** | Identifier of the user or process that published the webpage | [optional] [default to undefined]
|
|
27
|
+
**publishedAt** | **number** | Timestamp representing when the webpage was published | [optional] [default to undefined]
|
|
28
|
+
**unpublishedBy** | **string** | Identifier of the user or process that unpublished the webpage | [optional] [default to undefined]
|
|
29
|
+
**unpublishedAt** | **number** | Timestamp representing when the webpage was unpublished | [optional] [default to undefined]
|
|
30
|
+
**publishAt** | **number** | Scheduled timestamp for when the webpage will be published | [optional] [default to undefined]
|
|
31
|
+
**unpublishAt** | **number** | Scheduled timestamp for when the webpage will be unpublished | [optional] [default to undefined]
|
|
32
|
+
**isPublished** | **boolean** | Flag indicating whether the webpage is currently published | [optional] [default to false]
|
|
33
|
+
**liveUrl** | **string** | Fully qualified public URL of the webpage, including the page trait root slug. | [optional] [default to undefined]
|
|
34
|
+
|
|
35
|
+
## Example
|
|
36
|
+
|
|
37
|
+
```typescript
|
|
38
|
+
import { WebpageDTO } from '@caraer/client';
|
|
39
|
+
|
|
40
|
+
const instance: WebpageDTO = {
|
|
41
|
+
environment,
|
|
42
|
+
uuid,
|
|
43
|
+
title,
|
|
44
|
+
excerpt,
|
|
45
|
+
slug,
|
|
46
|
+
image,
|
|
47
|
+
customCss,
|
|
48
|
+
customJsHead,
|
|
49
|
+
customJsBody,
|
|
50
|
+
content,
|
|
51
|
+
sidebar,
|
|
52
|
+
sidebarRelation,
|
|
53
|
+
sidebarObject,
|
|
54
|
+
object,
|
|
55
|
+
record,
|
|
56
|
+
_options,
|
|
57
|
+
metaData,
|
|
58
|
+
publishedBy,
|
|
59
|
+
publishedAt,
|
|
60
|
+
unpublishedBy,
|
|
61
|
+
unpublishedAt,
|
|
62
|
+
publishAt,
|
|
63
|
+
unpublishAt,
|
|
64
|
+
isPublished,
|
|
65
|
+
liveUrl,
|
|
66
|
+
};
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
[[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,25 @@
|
|
|
1
|
+
# WebpageEditingStatusDTO
|
|
2
|
+
|
|
3
|
+
Whether a webpage is currently being edited by another user
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**locked** | **boolean** | True when another user is actively editing this webpage | [optional] [default to undefined]
|
|
10
|
+
**editor** | [**UserWithCursorLocationDTO**](UserWithCursorLocationDTO.md) | The user currently editing, when locked is true | [optional] [default to undefined]
|
|
11
|
+
**message** | **string** | Human-readable message for the client UI | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { WebpageEditingStatusDTO } from '@caraer/client';
|
|
17
|
+
|
|
18
|
+
const instance: WebpageEditingStatusDTO = {
|
|
19
|
+
locked,
|
|
20
|
+
editor,
|
|
21
|
+
message,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[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,41 @@
|
|
|
1
|
+
# WebpageOptionsDTO
|
|
2
|
+
|
|
3
|
+
Data Transfer Object representing options for a webpage.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**relatedToTemplate** | **boolean** | Indicates if the webpage is related to a template. | [optional] [default to undefined]
|
|
10
|
+
**protectionOverride** | **string** | Page-level protection override: inherit, none, password, signedUrl, caraerAuth | [optional] [default to undefined]
|
|
11
|
+
**passwordHash** | **string** | Bcrypt hash for per-page password (never returned in public APIs) | [optional] [default to undefined]
|
|
12
|
+
**password** | **string** | Recoverable per-page password value for CMS display only | [optional] [default to undefined]
|
|
13
|
+
**passwordValue** | **string** | Stored recoverable per-page password value for CMS display only | [optional] [default to undefined]
|
|
14
|
+
**passwordSmartContent** | **boolean** | Whether the per-page password value should be resolved as smart content | [optional] [default to undefined]
|
|
15
|
+
**hasPassword** | **boolean** | Whether a per-page password is configured | [optional] [default to undefined]
|
|
16
|
+
**inheritedPassword** | **string** | Recoverable inherited shared password value for CMS display only | [optional] [default to undefined]
|
|
17
|
+
**inheritedPasswordValue** | **string** | Stored recoverable inherited shared password value for CMS display only | [optional] [default to undefined]
|
|
18
|
+
**inheritedPasswordSmartContent** | **boolean** | Whether the inherited shared password value should be resolved as smart content | [optional] [default to undefined]
|
|
19
|
+
**inheritedHasPassword** | **boolean** | Whether an inherited shared password is configured | [optional] [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { WebpageOptionsDTO } from '@caraer/client';
|
|
25
|
+
|
|
26
|
+
const instance: WebpageOptionsDTO = {
|
|
27
|
+
relatedToTemplate,
|
|
28
|
+
protectionOverride,
|
|
29
|
+
passwordHash,
|
|
30
|
+
password,
|
|
31
|
+
passwordValue,
|
|
32
|
+
passwordSmartContent,
|
|
33
|
+
hasPassword,
|
|
34
|
+
inheritedPassword,
|
|
35
|
+
inheritedPasswordValue,
|
|
36
|
+
inheritedPasswordSmartContent,
|
|
37
|
+
inheritedHasPassword,
|
|
38
|
+
};
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
[[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,27 @@
|
|
|
1
|
+
# WebpageProtectionInfoDTO
|
|
2
|
+
|
|
3
|
+
Public protection metadata for a webpage (no content)
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**protectionRequired** | **boolean** | | [optional] [default to undefined]
|
|
10
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**title** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**uuid** | **string** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { WebpageProtectionInfoDTO } from '@caraer/client';
|
|
18
|
+
|
|
19
|
+
const instance: WebpageProtectionInfoDTO = {
|
|
20
|
+
protectionRequired,
|
|
21
|
+
type,
|
|
22
|
+
title,
|
|
23
|
+
uuid,
|
|
24
|
+
};
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
[[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,25 @@
|
|
|
1
|
+
# WebpagePublicRecordDTO
|
|
2
|
+
|
|
3
|
+
Webpage-public record values with internal and parsed property maps
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**uuid** | **string** | UUID of the webpage backing record | [optional] [default to undefined]
|
|
10
|
+
**properties** | **{ [key: string]: any | null; }** | Internal/plain property values keyed by property name | [optional] [default to undefined]
|
|
11
|
+
**parsedProperties** | **{ [key: string]: any | null; }** | Parsed/display property values keyed by property name | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { WebpagePublicRecordDTO } from '@caraer/client';
|
|
17
|
+
|
|
18
|
+
const instance: WebpagePublicRecordDTO = {
|
|
19
|
+
uuid,
|
|
20
|
+
properties,
|
|
21
|
+
parsedProperties,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[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,20 @@
|
|
|
1
|
+
# WebpageUnlockRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**password** | **string** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { WebpageUnlockRequest } from '@caraer/client';
|
|
14
|
+
|
|
15
|
+
const instance: WebpageUnlockRequest = {
|
|
16
|
+
password,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|