@caraer/client 2.0.504 → 2.0.506
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 +32 -0
- package/api.ts +4951 -147
- package/dist/api.d.ts +2747 -126
- package/dist/api.js +4048 -72
- package/dist/esm/api.d.ts +2747 -126
- package/dist/esm/api.js +4024 -69
- package/docs/AppSettingFieldSchema.md +10 -0
- package/docs/CMSModulesApi.md +181 -0
- package/docs/CMSV2EnvironmentsApi.md +396 -0
- package/docs/CMSV2PagesApi.md +1058 -0
- package/docs/CMSV2PublicApi.md +739 -0
- package/docs/CMSV2TransferApi.md +230 -0
- package/docs/CalendarsApi.md +8 -8
- package/docs/CmsEnvironmentDTO.md +36 -0
- package/docs/CmsModuleDTO.md +52 -0
- package/docs/CmsPageDTO.md +44 -0
- package/docs/CmsPageDocument.md +38 -0
- package/docs/CmsPageModuleInstance.md +26 -0
- package/docs/CmsPagePatch.md +40 -0
- package/docs/CmsPagePatchRequest.md +24 -0
- package/docs/CmsPublicMenuDTO.md +24 -0
- package/docs/CompanyDTO.md +8 -0
- package/docs/DeveloperSandboxesApi.md +4 -4
- package/docs/DigitalIdentityDTO.md +104 -0
- package/docs/ExistingWidgetSummary.md +4 -4
- package/docs/FileListItemDTO.md +28 -0
- package/docs/FileManagementApi.md +55 -0
- package/docs/Location.md +18 -0
- package/docs/MapLocationDTO.md +65 -0
- package/docs/MapMarkerPreviewRequest.md +24 -0
- package/docs/MultiFile.md +18 -0
- package/docs/PageContentSettingsDTO.md +10 -0
- package/docs/RecordSummary.md +26 -0
- package/docs/ServerlessFunctionsApi.md +12 -12
- package/docs/SettingOption.md +2 -0
- package/docs/ShowResponseCmsEnvironmentDTO.md +23 -0
- package/docs/ShowResponseCmsPageDTO.md +23 -0
- package/docs/ShowResponseCmsPageDocument.md +23 -0
- package/docs/ShowResponseCompanyDTO.md +3 -3
- package/docs/ShowResponseListCmsEnvironmentDTO.md +23 -0
- package/docs/ShowResponseListCmsModuleDTO.md +23 -0
- package/docs/ShowResponseListCmsPageDTO.md +23 -0
- package/docs/ShowResponseListCmsPublicMenuDTO.md +23 -0
- package/docs/ShowResponseListMapStringObject.md +23 -0
- package/docs/ShowResponseListWebpageAccessGrantDTO.md +23 -0
- package/docs/ShowResponsePreviewDTO.md +3 -3
- package/docs/ShowResponseSignedUrlResultDTO.md +23 -0
- package/docs/ShowResponseWebpageMapLocationsDTO.md +23 -0
- package/docs/SuccessResponseListFileListItemDTO.md +23 -0
- package/docs/TemplateWebpageDTO.md +2 -0
- package/docs/WebpageDTO.md +4 -0
- package/docs/WebpageMapLocationsDTO.md +21 -0
- package/docs/WebpagesApi.md +168 -0
- package/docs/WebsiteSettingsDTO.md +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
# CMSV2TransferApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://v2.api.caraer.com*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**attach**](#attach) | **POST** /api/v2/company/{companyUuid}/cms-transfer/attach | Attach a manually created caraer-web project|
|
|
8
|
+
|[**cutover**](#cutover) | **POST** /api/v2/company/{companyUuid}/cms-transfer/cutover | Switch the live site to CMS v2: schema, caraer-web repo, and hostname|
|
|
9
|
+
|[**rollback**](#rollback) | **POST** /api/v2/company/{companyUuid}/cms-transfer/rollback | Restore the live hostname to the stored v1 project|
|
|
10
|
+
|[**status**](#status) | **GET** /api/v2/company/{companyUuid}/cms-transfer | Transfer status for one company|
|
|
11
|
+
|
|
12
|
+
# **attach**
|
|
13
|
+
> ShowResponseCompanyDTO attach(requestBody)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import {
|
|
20
|
+
CMSV2TransferApi,
|
|
21
|
+
Configuration
|
|
22
|
+
} from '@caraer/client';
|
|
23
|
+
|
|
24
|
+
const configuration = new Configuration();
|
|
25
|
+
const apiInstance = new CMSV2TransferApi(configuration);
|
|
26
|
+
|
|
27
|
+
let companyUuid: string; // (default to undefined)
|
|
28
|
+
let requestBody: { [key: string]: string; }; //
|
|
29
|
+
|
|
30
|
+
const { status, data } = await apiInstance.attach(
|
|
31
|
+
companyUuid,
|
|
32
|
+
requestBody
|
|
33
|
+
);
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Parameters
|
|
37
|
+
|
|
38
|
+
|Name | Type | Description | Notes|
|
|
39
|
+
|------------- | ------------- | ------------- | -------------|
|
|
40
|
+
| **requestBody** | **{ [key: string]: string; }**| | |
|
|
41
|
+
| **companyUuid** | [**string**] | | defaults to undefined|
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Return type
|
|
45
|
+
|
|
46
|
+
**ShowResponseCompanyDTO**
|
|
47
|
+
|
|
48
|
+
### Authorization
|
|
49
|
+
|
|
50
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
51
|
+
|
|
52
|
+
### HTTP request headers
|
|
53
|
+
|
|
54
|
+
- **Content-Type**: application/json
|
|
55
|
+
- **Accept**: application/json
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
### HTTP response details
|
|
59
|
+
| Status code | Description | Response headers |
|
|
60
|
+
|-------------|-------------|------------------|
|
|
61
|
+
|**200** | OK | - |
|
|
62
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
63
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
64
|
+
|**404** | The requested resource was not found. | - |
|
|
65
|
+
|**500** | An internal server error occurred. | - |
|
|
66
|
+
|
|
67
|
+
[[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)
|
|
68
|
+
|
|
69
|
+
# **cutover**
|
|
70
|
+
> ShowResponseCompanyDTO cutover()
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
### Example
|
|
74
|
+
|
|
75
|
+
```typescript
|
|
76
|
+
import {
|
|
77
|
+
CMSV2TransferApi,
|
|
78
|
+
Configuration
|
|
79
|
+
} from '@caraer/client';
|
|
80
|
+
|
|
81
|
+
const configuration = new Configuration();
|
|
82
|
+
const apiInstance = new CMSV2TransferApi(configuration);
|
|
83
|
+
|
|
84
|
+
let companyUuid: string; // (default to undefined)
|
|
85
|
+
|
|
86
|
+
const { status, data } = await apiInstance.cutover(
|
|
87
|
+
companyUuid
|
|
88
|
+
);
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### Parameters
|
|
92
|
+
|
|
93
|
+
|Name | Type | Description | Notes|
|
|
94
|
+
|------------- | ------------- | ------------- | -------------|
|
|
95
|
+
| **companyUuid** | [**string**] | | defaults to undefined|
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
### Return type
|
|
99
|
+
|
|
100
|
+
**ShowResponseCompanyDTO**
|
|
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** | OK | - |
|
|
116
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
117
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
118
|
+
|**404** | The requested resource was not found. | - |
|
|
119
|
+
|**500** | An internal server error occurred. | - |
|
|
120
|
+
|
|
121
|
+
[[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)
|
|
122
|
+
|
|
123
|
+
# **rollback**
|
|
124
|
+
> ShowResponseCompanyDTO rollback()
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
### Example
|
|
128
|
+
|
|
129
|
+
```typescript
|
|
130
|
+
import {
|
|
131
|
+
CMSV2TransferApi,
|
|
132
|
+
Configuration
|
|
133
|
+
} from '@caraer/client';
|
|
134
|
+
|
|
135
|
+
const configuration = new Configuration();
|
|
136
|
+
const apiInstance = new CMSV2TransferApi(configuration);
|
|
137
|
+
|
|
138
|
+
let companyUuid: string; // (default to undefined)
|
|
139
|
+
|
|
140
|
+
const { status, data } = await apiInstance.rollback(
|
|
141
|
+
companyUuid
|
|
142
|
+
);
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
### Parameters
|
|
146
|
+
|
|
147
|
+
|Name | Type | Description | Notes|
|
|
148
|
+
|------------- | ------------- | ------------- | -------------|
|
|
149
|
+
| **companyUuid** | [**string**] | | defaults to undefined|
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
### Return type
|
|
153
|
+
|
|
154
|
+
**ShowResponseCompanyDTO**
|
|
155
|
+
|
|
156
|
+
### Authorization
|
|
157
|
+
|
|
158
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
159
|
+
|
|
160
|
+
### HTTP request headers
|
|
161
|
+
|
|
162
|
+
- **Content-Type**: Not defined
|
|
163
|
+
- **Accept**: application/json
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
### HTTP response details
|
|
167
|
+
| Status code | Description | Response headers |
|
|
168
|
+
|-------------|-------------|------------------|
|
|
169
|
+
|**200** | OK | - |
|
|
170
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
171
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
172
|
+
|**404** | The requested resource was not found. | - |
|
|
173
|
+
|**500** | An internal server error occurred. | - |
|
|
174
|
+
|
|
175
|
+
[[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)
|
|
176
|
+
|
|
177
|
+
# **status**
|
|
178
|
+
> ShowResponseMapStringObject status()
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
### Example
|
|
182
|
+
|
|
183
|
+
```typescript
|
|
184
|
+
import {
|
|
185
|
+
CMSV2TransferApi,
|
|
186
|
+
Configuration
|
|
187
|
+
} from '@caraer/client';
|
|
188
|
+
|
|
189
|
+
const configuration = new Configuration();
|
|
190
|
+
const apiInstance = new CMSV2TransferApi(configuration);
|
|
191
|
+
|
|
192
|
+
let companyUuid: string; // (default to undefined)
|
|
193
|
+
|
|
194
|
+
const { status, data } = await apiInstance.status(
|
|
195
|
+
companyUuid
|
|
196
|
+
);
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
### Parameters
|
|
200
|
+
|
|
201
|
+
|Name | Type | Description | Notes|
|
|
202
|
+
|------------- | ------------- | ------------- | -------------|
|
|
203
|
+
| **companyUuid** | [**string**] | | defaults to undefined|
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
### Return type
|
|
207
|
+
|
|
208
|
+
**ShowResponseMapStringObject**
|
|
209
|
+
|
|
210
|
+
### Authorization
|
|
211
|
+
|
|
212
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
213
|
+
|
|
214
|
+
### HTTP request headers
|
|
215
|
+
|
|
216
|
+
- **Content-Type**: Not defined
|
|
217
|
+
- **Accept**: application/json
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
### HTTP response details
|
|
221
|
+
| Status code | Description | Response headers |
|
|
222
|
+
|-------------|-------------|------------------|
|
|
223
|
+
|**200** | OK | - |
|
|
224
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
225
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
226
|
+
|**404** | The requested resource was not found. | - |
|
|
227
|
+
|**500** | An internal server error occurred. | - |
|
|
228
|
+
|
|
229
|
+
[[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)
|
|
230
|
+
|
package/docs/CalendarsApi.md
CHANGED
|
@@ -5,8 +5,8 @@ All URIs are relative to *https://v2.api.caraer.com*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**bootstrap**](#bootstrap) | **POST** /api/v2/calendars/bootstrap | Ensure calendar schema, default calendar, and event backfill|
|
|
8
|
-
|[**
|
|
9
|
-
|[**
|
|
8
|
+
|[**create4**](#create4) | **POST** /api/v2/calendars | Create a calendar owned by the current user|
|
|
9
|
+
|[**list3**](#list3) | **GET** /api/v2/calendars | List calendars visible to the current company|
|
|
10
10
|
|[**listTeams**](#listteams) | **GET** /api/v2/calendars/teams | List teams that can be linked to a calendar|
|
|
11
11
|
|
|
12
12
|
# **bootstrap**
|
|
@@ -57,8 +57,8 @@ This endpoint does not have any parameters.
|
|
|
57
57
|
|
|
58
58
|
[[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)
|
|
59
59
|
|
|
60
|
-
# **
|
|
61
|
-
> CreateResponseCalendarRecordDTO
|
|
60
|
+
# **create4**
|
|
61
|
+
> CreateResponseCalendarRecordDTO create4(calendarCreateRequest)
|
|
62
62
|
|
|
63
63
|
|
|
64
64
|
### Example
|
|
@@ -75,7 +75,7 @@ const apiInstance = new CalendarsApi(configuration);
|
|
|
75
75
|
|
|
76
76
|
let calendarCreateRequest: CalendarCreateRequest; //
|
|
77
77
|
|
|
78
|
-
const { status, data } = await apiInstance.
|
|
78
|
+
const { status, data } = await apiInstance.create4(
|
|
79
79
|
calendarCreateRequest
|
|
80
80
|
);
|
|
81
81
|
```
|
|
@@ -113,8 +113,8 @@ const { status, data } = await apiInstance.create3(
|
|
|
113
113
|
|
|
114
114
|
[[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)
|
|
115
115
|
|
|
116
|
-
# **
|
|
117
|
-
> SuccessResponseListCalendarRecordDTO
|
|
116
|
+
# **list3**
|
|
117
|
+
> SuccessResponseListCalendarRecordDTO list3()
|
|
118
118
|
|
|
119
119
|
|
|
120
120
|
### Example
|
|
@@ -128,7 +128,7 @@ import {
|
|
|
128
128
|
const configuration = new Configuration();
|
|
129
129
|
const apiInstance = new CalendarsApi(configuration);
|
|
130
130
|
|
|
131
|
-
const { status, data } = await apiInstance.
|
|
131
|
+
const { status, data } = await apiInstance.list3();
|
|
132
132
|
```
|
|
133
133
|
|
|
134
134
|
### Parameters
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# CmsEnvironmentDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**uuid** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**key** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**label** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**routing** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**slugPrefix** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**hostLabel** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**requiresAuth** | **boolean** | | [optional] [default to undefined]
|
|
15
|
+
**htmlLang** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**_default** | **boolean** | | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { CmsEnvironmentDTO } from '@caraer/client';
|
|
22
|
+
|
|
23
|
+
const instance: CmsEnvironmentDTO = {
|
|
24
|
+
uuid,
|
|
25
|
+
key,
|
|
26
|
+
label,
|
|
27
|
+
routing,
|
|
28
|
+
slugPrefix,
|
|
29
|
+
hostLabel,
|
|
30
|
+
requiresAuth,
|
|
31
|
+
htmlLang,
|
|
32
|
+
_default,
|
|
33
|
+
};
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[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,52 @@
|
|
|
1
|
+
# CmsModuleDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**uuid** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**label** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**ref** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**kind** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**category** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**icon** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**preview** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**appUuid** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**appName** | **string** | | [optional] [default to undefined]
|
|
19
|
+
**appLabel** | **string** | | [optional] [default to undefined]
|
|
20
|
+
**packageName** | **string** | | [optional] [default to undefined]
|
|
21
|
+
**version** | **string** | | [optional] [default to undefined]
|
|
22
|
+
**retired** | **boolean** | | [optional] [default to undefined]
|
|
23
|
+
**fields** | [**Array<AppSettingFieldSchema>**](AppSettingFieldSchema.md) | | [optional] [default to undefined]
|
|
24
|
+
**frameworks** | **{ [key: string]: string; }** | | [optional] [default to undefined]
|
|
25
|
+
|
|
26
|
+
## Example
|
|
27
|
+
|
|
28
|
+
```typescript
|
|
29
|
+
import { CmsModuleDTO } from '@caraer/client';
|
|
30
|
+
|
|
31
|
+
const instance: CmsModuleDTO = {
|
|
32
|
+
uuid,
|
|
33
|
+
name,
|
|
34
|
+
label,
|
|
35
|
+
ref,
|
|
36
|
+
kind,
|
|
37
|
+
description,
|
|
38
|
+
category,
|
|
39
|
+
icon,
|
|
40
|
+
preview,
|
|
41
|
+
appUuid,
|
|
42
|
+
appName,
|
|
43
|
+
appLabel,
|
|
44
|
+
packageName,
|
|
45
|
+
version,
|
|
46
|
+
retired,
|
|
47
|
+
fields,
|
|
48
|
+
frameworks,
|
|
49
|
+
};
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
[[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,44 @@
|
|
|
1
|
+
# CmsPageDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**uuid** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**title** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**slug** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**locale** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**environment** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**state** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**published** | **boolean** | | [optional] [default to undefined]
|
|
15
|
+
**document** | [**CmsPageDocument**](CmsPageDocument.md) | | [optional] [default to undefined]
|
|
16
|
+
**record** | [**RecordSummary**](RecordSummary.md) | | [optional] [default to undefined]
|
|
17
|
+
**protection** | **{ [key: string]: any | null; }** | | [optional] [default to undefined]
|
|
18
|
+
**locales** | **Array<string>** | | [optional] [default to undefined]
|
|
19
|
+
**publishAt** | **number** | | [optional] [default to undefined]
|
|
20
|
+
**unpublishAt** | **number** | | [optional] [default to undefined]
|
|
21
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import { CmsPageDTO } from '@caraer/client';
|
|
26
|
+
|
|
27
|
+
const instance: CmsPageDTO = {
|
|
28
|
+
uuid,
|
|
29
|
+
title,
|
|
30
|
+
slug,
|
|
31
|
+
locale,
|
|
32
|
+
environment,
|
|
33
|
+
state,
|
|
34
|
+
published,
|
|
35
|
+
document,
|
|
36
|
+
record,
|
|
37
|
+
protection,
|
|
38
|
+
locales,
|
|
39
|
+
publishAt,
|
|
40
|
+
unpublishAt,
|
|
41
|
+
};
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
[[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,38 @@
|
|
|
1
|
+
# CmsPageDocument
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**version** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**revision** | **number** | | [optional] [default to undefined]
|
|
10
|
+
**modules** | [**Array<CmsPageModuleInstance>**](CmsPageModuleInstance.md) | | [optional] [default to undefined]
|
|
11
|
+
**seo** | **{ [key: string]: any | null; }** | | [optional] [default to undefined]
|
|
12
|
+
**title** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**slug** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**excerpt** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**css** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**headJs** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**bodyJs** | **string** | | [optional] [default to undefined]
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { CmsPageDocument } from '@caraer/client';
|
|
23
|
+
|
|
24
|
+
const instance: CmsPageDocument = {
|
|
25
|
+
version,
|
|
26
|
+
revision,
|
|
27
|
+
modules,
|
|
28
|
+
seo,
|
|
29
|
+
title,
|
|
30
|
+
slug,
|
|
31
|
+
excerpt,
|
|
32
|
+
css,
|
|
33
|
+
headJs,
|
|
34
|
+
bodyJs,
|
|
35
|
+
};
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[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
|
+
# CmsPageModuleInstance
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**module** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**fields** | **{ [key: string]: any | null; }** | | [optional] [default to undefined]
|
|
11
|
+
**hidden** | **boolean** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { CmsPageModuleInstance } from '@caraer/client';
|
|
17
|
+
|
|
18
|
+
const instance: CmsPageModuleInstance = {
|
|
19
|
+
id,
|
|
20
|
+
module,
|
|
21
|
+
fields,
|
|
22
|
+
hidden,
|
|
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)
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# CmsPagePatch
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**op** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**moduleId** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**field** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**value** | **any** | | [optional] [default to undefined]
|
|
12
|
+
**fields** | **{ [key: string]: any | null; }** | | [optional] [default to undefined]
|
|
13
|
+
**module** | [**CmsPageModuleInstance**](CmsPageModuleInstance.md) | | [optional] [default to undefined]
|
|
14
|
+
**index** | **number** | | [optional] [default to undefined]
|
|
15
|
+
**toIndex** | **number** | | [optional] [default to undefined]
|
|
16
|
+
**hidden** | **boolean** | | [optional] [default to undefined]
|
|
17
|
+
**modules** | [**Array<CmsPageModuleInstance>**](CmsPageModuleInstance.md) | | [optional] [default to undefined]
|
|
18
|
+
**seo** | **{ [key: string]: any | null; }** | | [optional] [default to undefined]
|
|
19
|
+
|
|
20
|
+
## Example
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import { CmsPagePatch } from '@caraer/client';
|
|
24
|
+
|
|
25
|
+
const instance: CmsPagePatch = {
|
|
26
|
+
op,
|
|
27
|
+
moduleId,
|
|
28
|
+
field,
|
|
29
|
+
value,
|
|
30
|
+
fields,
|
|
31
|
+
module,
|
|
32
|
+
index,
|
|
33
|
+
toIndex,
|
|
34
|
+
hidden,
|
|
35
|
+
modules,
|
|
36
|
+
seo,
|
|
37
|
+
};
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
[[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
|
+
# CmsPagePatchRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**locale** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**patches** | [**Array<CmsPagePatch>**](CmsPagePatch.md) | | [optional] [default to undefined]
|
|
10
|
+
**expectedRevision** | **number** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { CmsPagePatchRequest } from '@caraer/client';
|
|
16
|
+
|
|
17
|
+
const instance: CmsPagePatchRequest = {
|
|
18
|
+
locale,
|
|
19
|
+
patches,
|
|
20
|
+
expectedRevision,
|
|
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)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# CmsPublicMenuDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**location** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**title** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**items** | [**Array<WebMenuItem>**](WebMenuItem.md) | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { CmsPublicMenuDTO } from '@caraer/client';
|
|
16
|
+
|
|
17
|
+
const instance: CmsPublicMenuDTO = {
|
|
18
|
+
location,
|
|
19
|
+
title,
|
|
20
|
+
items,
|
|
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)
|
package/docs/CompanyDTO.md
CHANGED
|
@@ -20,6 +20,10 @@ Name | Type | Description | Notes
|
|
|
20
20
|
**digitalIdentity** | [**DigitalIdentityDTO**](DigitalIdentityDTO.md) | The digital identity of the company. | [optional] [default to undefined]
|
|
21
21
|
**websiteSettings** | [**WebsiteSettingsDTO**](WebsiteSettingsDTO.md) | The website settings of the company. | [optional] [default to undefined]
|
|
22
22
|
**billingSettings** | [**BillingSettingsDTO**](BillingSettingsDTO.md) | The billing settings of the company. | [optional] [default to undefined]
|
|
23
|
+
**cmsVersion** | **number** | Which CMS serves this company: 1 = WerkenBij, 2 = caraer-web | [optional] [default to undefined]
|
|
24
|
+
**cmsV2PreviewOrigin** | **string** | Origin of the v2 sidecar site while the live hostname is still v1 | [optional] [default to undefined]
|
|
25
|
+
**cmsV2ProjectId** | **string** | | [optional] [default to undefined]
|
|
26
|
+
**cmsV1ProjectId** | **string** | | [optional] [default to undefined]
|
|
23
27
|
|
|
24
28
|
## Example
|
|
25
29
|
|
|
@@ -41,6 +45,10 @@ const instance: CompanyDTO = {
|
|
|
41
45
|
digitalIdentity,
|
|
42
46
|
websiteSettings,
|
|
43
47
|
billingSettings,
|
|
48
|
+
cmsVersion,
|
|
49
|
+
cmsV2PreviewOrigin,
|
|
50
|
+
cmsV2ProjectId,
|
|
51
|
+
cmsV1ProjectId,
|
|
44
52
|
};
|
|
45
53
|
```
|
|
46
54
|
|
|
@@ -5,7 +5,7 @@ All URIs are relative to *https://v2.api.caraer.com*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**create1**](#create1) | **POST** /api/v2/developer-sandboxes | Create a developer sandbox|
|
|
8
|
-
|[**
|
|
8
|
+
|[**list1**](#list1) | **GET** /api/v2/developer-sandboxes | List developer sandboxes|
|
|
9
9
|
|[**show2**](#show2) | **GET** /api/v2/developer-sandboxes/{uuid} | Get a developer sandbox|
|
|
10
10
|
|
|
11
11
|
# **create1**
|
|
@@ -65,8 +65,8 @@ const { status, data } = await apiInstance.create1(
|
|
|
65
65
|
|
|
66
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
67
|
|
|
68
|
-
# **
|
|
69
|
-
> SuccessResponseListDeveloperSandboxDTO
|
|
68
|
+
# **list1**
|
|
69
|
+
> SuccessResponseListDeveloperSandboxDTO list1()
|
|
70
70
|
|
|
71
71
|
Lists sandboxes owned by the caller\'s selected company.
|
|
72
72
|
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
const configuration = new Configuration();
|
|
82
82
|
const apiInstance = new DeveloperSandboxesApi(configuration);
|
|
83
83
|
|
|
84
|
-
const { status, data } = await apiInstance.
|
|
84
|
+
const { status, data } = await apiInstance.list1();
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
### Parameters
|