@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
|
@@ -15,8 +15,13 @@ Name | Type | Description | Notes
|
|
|
15
15
|
**actionSource** | [**AppSettingActionSource**](AppSettingActionSource.md) | | [optional] [default to undefined]
|
|
16
16
|
**defaultValue** | **any** | | [optional] [default to undefined]
|
|
17
17
|
**hidden** | **boolean** | | [optional] [default to undefined]
|
|
18
|
+
**advanced** | **boolean** | | [optional] [default to undefined]
|
|
18
19
|
**filterTraits** | **Array<string>** | | [optional] [default to undefined]
|
|
19
20
|
**visibleWhen** | [**Array<AppSettingCondition>**](AppSettingCondition.md) | | [optional] [default to undefined]
|
|
21
|
+
**itemFields** | [**Array<AppSettingFieldSchema>**](AppSettingFieldSchema.md) | | [optional] [default to undefined]
|
|
22
|
+
**min** | **number** | | [optional] [default to undefined]
|
|
23
|
+
**max** | **number** | | [optional] [default to undefined]
|
|
24
|
+
**itemLabel** | **string** | | [optional] [default to undefined]
|
|
20
25
|
**value** | **any** | | [optional] [default to undefined]
|
|
21
26
|
**hasValue** | **boolean** | | [optional] [default to undefined]
|
|
22
27
|
**mappingValue** | [**AppSettingFieldMappingStructure**](AppSettingFieldMappingStructure.md) | | [optional] [default to undefined]
|
|
@@ -39,8 +44,13 @@ const instance: AppSettingFieldSchema = {
|
|
|
39
44
|
actionSource,
|
|
40
45
|
defaultValue,
|
|
41
46
|
hidden,
|
|
47
|
+
advanced,
|
|
42
48
|
filterTraits,
|
|
43
49
|
visibleWhen,
|
|
50
|
+
itemFields,
|
|
51
|
+
min,
|
|
52
|
+
max,
|
|
53
|
+
itemLabel,
|
|
44
54
|
value,
|
|
45
55
|
hasValue,
|
|
46
56
|
mappingValue,
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
# CMSModulesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://v2.api.caraer.com*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**list**](#list) | **GET** /api/v2/apps/{appUuid}/cms-modules | List an app\'s CMS modules|
|
|
8
|
+
|[**publishPackage**](#publishpackage) | **POST** /api/v2/apps/{appUuid}/cms-modules/package | Publish an app\'s CMS module package|
|
|
9
|
+
|[**upsert**](#upsert) | **PUT** /api/v2/apps/{appUuid}/cms-modules | Replace an app\'s CMS module catalog|
|
|
10
|
+
|
|
11
|
+
# **list**
|
|
12
|
+
> ShowResponseListCmsModuleDTO list()
|
|
13
|
+
|
|
14
|
+
Includes retired modules, so a developer can see what a push removed.
|
|
15
|
+
|
|
16
|
+
### Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import {
|
|
20
|
+
CMSModulesApi,
|
|
21
|
+
Configuration
|
|
22
|
+
} from '@caraer/client';
|
|
23
|
+
|
|
24
|
+
const configuration = new Configuration();
|
|
25
|
+
const apiInstance = new CMSModulesApi(configuration);
|
|
26
|
+
|
|
27
|
+
let appUuid: string; // (default to undefined)
|
|
28
|
+
|
|
29
|
+
const { status, data } = await apiInstance.list(
|
|
30
|
+
appUuid
|
|
31
|
+
);
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Parameters
|
|
35
|
+
|
|
36
|
+
|Name | Type | Description | Notes|
|
|
37
|
+
|------------- | ------------- | ------------- | -------------|
|
|
38
|
+
| **appUuid** | [**string**] | | defaults to undefined|
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Return type
|
|
42
|
+
|
|
43
|
+
**ShowResponseListCmsModuleDTO**
|
|
44
|
+
|
|
45
|
+
### Authorization
|
|
46
|
+
|
|
47
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
48
|
+
|
|
49
|
+
### HTTP request headers
|
|
50
|
+
|
|
51
|
+
- **Content-Type**: Not defined
|
|
52
|
+
- **Accept**: application/json
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### HTTP response details
|
|
56
|
+
| Status code | Description | Response headers |
|
|
57
|
+
|-------------|-------------|------------------|
|
|
58
|
+
|**200** | OK | - |
|
|
59
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
60
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
61
|
+
|**404** | The requested resource was not found. | - |
|
|
62
|
+
|**500** | An internal server error occurred. | - |
|
|
63
|
+
|
|
64
|
+
[[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)
|
|
65
|
+
|
|
66
|
+
# **publishPackage**
|
|
67
|
+
> ShowResponseListCmsModuleDTO publishPackage(requestBody)
|
|
68
|
+
|
|
69
|
+
Accepts a staged npm tarball (base64) and module manifests. Publishes to the platform registry with the host token, then replaces the catalog.
|
|
70
|
+
|
|
71
|
+
### Example
|
|
72
|
+
|
|
73
|
+
```typescript
|
|
74
|
+
import {
|
|
75
|
+
CMSModulesApi,
|
|
76
|
+
Configuration
|
|
77
|
+
} from '@caraer/client';
|
|
78
|
+
|
|
79
|
+
const configuration = new Configuration();
|
|
80
|
+
const apiInstance = new CMSModulesApi(configuration);
|
|
81
|
+
|
|
82
|
+
let appUuid: string; // (default to undefined)
|
|
83
|
+
let requestBody: { [key: string]: any | null; }; //
|
|
84
|
+
|
|
85
|
+
const { status, data } = await apiInstance.publishPackage(
|
|
86
|
+
appUuid,
|
|
87
|
+
requestBody
|
|
88
|
+
);
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### Parameters
|
|
92
|
+
|
|
93
|
+
|Name | Type | Description | Notes|
|
|
94
|
+
|------------- | ------------- | ------------- | -------------|
|
|
95
|
+
| **requestBody** | **{ [key: string]: any | null; }**| | |
|
|
96
|
+
| **appUuid** | [**string**] | | defaults to undefined|
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
### Return type
|
|
100
|
+
|
|
101
|
+
**ShowResponseListCmsModuleDTO**
|
|
102
|
+
|
|
103
|
+
### Authorization
|
|
104
|
+
|
|
105
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
106
|
+
|
|
107
|
+
### HTTP request headers
|
|
108
|
+
|
|
109
|
+
- **Content-Type**: application/json
|
|
110
|
+
- **Accept**: application/json
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
### HTTP response details
|
|
114
|
+
| Status code | Description | Response headers |
|
|
115
|
+
|-------------|-------------|------------------|
|
|
116
|
+
|**200** | OK | - |
|
|
117
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
118
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
119
|
+
|**404** | The requested resource was not found. | - |
|
|
120
|
+
|**500** | An internal server error occurred. | - |
|
|
121
|
+
|
|
122
|
+
[[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)
|
|
123
|
+
|
|
124
|
+
# **upsert**
|
|
125
|
+
> ShowResponseListCmsModuleDTO upsert(requestBody)
|
|
126
|
+
|
|
127
|
+
Registers the modules shipped by a published package version. Modules missing from the payload are retired rather than deleted, because pages may still reference them.
|
|
128
|
+
|
|
129
|
+
### Example
|
|
130
|
+
|
|
131
|
+
```typescript
|
|
132
|
+
import {
|
|
133
|
+
CMSModulesApi,
|
|
134
|
+
Configuration
|
|
135
|
+
} from '@caraer/client';
|
|
136
|
+
|
|
137
|
+
const configuration = new Configuration();
|
|
138
|
+
const apiInstance = new CMSModulesApi(configuration);
|
|
139
|
+
|
|
140
|
+
let appUuid: string; // (default to undefined)
|
|
141
|
+
let requestBody: { [key: string]: any | null; }; //
|
|
142
|
+
|
|
143
|
+
const { status, data } = await apiInstance.upsert(
|
|
144
|
+
appUuid,
|
|
145
|
+
requestBody
|
|
146
|
+
);
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### Parameters
|
|
150
|
+
|
|
151
|
+
|Name | Type | Description | Notes|
|
|
152
|
+
|------------- | ------------- | ------------- | -------------|
|
|
153
|
+
| **requestBody** | **{ [key: string]: any | null; }**| | |
|
|
154
|
+
| **appUuid** | [**string**] | | defaults to undefined|
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
### Return type
|
|
158
|
+
|
|
159
|
+
**ShowResponseListCmsModuleDTO**
|
|
160
|
+
|
|
161
|
+
### Authorization
|
|
162
|
+
|
|
163
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
164
|
+
|
|
165
|
+
### HTTP request headers
|
|
166
|
+
|
|
167
|
+
- **Content-Type**: application/json
|
|
168
|
+
- **Accept**: application/json
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
### HTTP response details
|
|
172
|
+
| Status code | Description | Response headers |
|
|
173
|
+
|-------------|-------------|------------------|
|
|
174
|
+
|**200** | OK | - |
|
|
175
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
176
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
177
|
+
|**404** | The requested resource was not found. | - |
|
|
178
|
+
|**500** | An internal server error occurred. | - |
|
|
179
|
+
|
|
180
|
+
[[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)
|
|
181
|
+
|
|
@@ -0,0 +1,396 @@
|
|
|
1
|
+
# CMSV2EnvironmentsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://v2.api.caraer.com*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**create3**](#create3) | **POST** /api/v2/cms/environments | Create an environment|
|
|
8
|
+
|[**delete1**](#delete1) | **DELETE** /api/v2/cms/environments/{key} | Delete an environment except main|
|
|
9
|
+
|[**group**](#group) | **GET** /api/v2/cms/environments/translations/{recordUuid} | Translation group for a record|
|
|
10
|
+
|[**link**](#link) | **POST** /api/v2/cms/environments/translations/{fromUuid}/link/{toUuid} | Link two records as translations|
|
|
11
|
+
|[**list2**](#list2) | **GET** /api/v2/cms/environments | List company environments|
|
|
12
|
+
|[**unlink**](#unlink) | **DELETE** /api/v2/cms/environments/translations/{fromUuid}/link/{toUuid} | Unlink a translation edge|
|
|
13
|
+
|[**update1**](#update1) | **PUT** /api/v2/cms/environments/{key} | Update routing, auth or htmlLang. Keys are immutable.|
|
|
14
|
+
|
|
15
|
+
# **create3**
|
|
16
|
+
> ShowResponseCmsEnvironmentDTO create3(cmsEnvironmentDTO)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import {
|
|
23
|
+
CMSV2EnvironmentsApi,
|
|
24
|
+
Configuration,
|
|
25
|
+
CmsEnvironmentDTO
|
|
26
|
+
} from '@caraer/client';
|
|
27
|
+
|
|
28
|
+
const configuration = new Configuration();
|
|
29
|
+
const apiInstance = new CMSV2EnvironmentsApi(configuration);
|
|
30
|
+
|
|
31
|
+
let cmsEnvironmentDTO: CmsEnvironmentDTO; //
|
|
32
|
+
|
|
33
|
+
const { status, data } = await apiInstance.create3(
|
|
34
|
+
cmsEnvironmentDTO
|
|
35
|
+
);
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Parameters
|
|
39
|
+
|
|
40
|
+
|Name | Type | Description | Notes|
|
|
41
|
+
|------------- | ------------- | ------------- | -------------|
|
|
42
|
+
| **cmsEnvironmentDTO** | **CmsEnvironmentDTO**| | |
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Return type
|
|
46
|
+
|
|
47
|
+
**ShowResponseCmsEnvironmentDTO**
|
|
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** | OK | - |
|
|
63
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
64
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
65
|
+
|**404** | The requested resource was not found. | - |
|
|
66
|
+
|**500** | An internal server error occurred. | - |
|
|
67
|
+
|
|
68
|
+
[[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)
|
|
69
|
+
|
|
70
|
+
# **delete1**
|
|
71
|
+
> SuccessResponseString delete1()
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
### Example
|
|
75
|
+
|
|
76
|
+
```typescript
|
|
77
|
+
import {
|
|
78
|
+
CMSV2EnvironmentsApi,
|
|
79
|
+
Configuration
|
|
80
|
+
} from '@caraer/client';
|
|
81
|
+
|
|
82
|
+
const configuration = new Configuration();
|
|
83
|
+
const apiInstance = new CMSV2EnvironmentsApi(configuration);
|
|
84
|
+
|
|
85
|
+
let key: string; // (default to undefined)
|
|
86
|
+
|
|
87
|
+
const { status, data } = await apiInstance.delete1(
|
|
88
|
+
key
|
|
89
|
+
);
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Parameters
|
|
93
|
+
|
|
94
|
+
|Name | Type | Description | Notes|
|
|
95
|
+
|------------- | ------------- | ------------- | -------------|
|
|
96
|
+
| **key** | [**string**] | | defaults to undefined|
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
### Return type
|
|
100
|
+
|
|
101
|
+
**SuccessResponseString**
|
|
102
|
+
|
|
103
|
+
### Authorization
|
|
104
|
+
|
|
105
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
106
|
+
|
|
107
|
+
### HTTP request headers
|
|
108
|
+
|
|
109
|
+
- **Content-Type**: Not defined
|
|
110
|
+
- **Accept**: application/json
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
### HTTP response details
|
|
114
|
+
| Status code | Description | Response headers |
|
|
115
|
+
|-------------|-------------|------------------|
|
|
116
|
+
|**200** | OK | - |
|
|
117
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
118
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
119
|
+
|**404** | The requested resource was not found. | - |
|
|
120
|
+
|**500** | An internal server error occurred. | - |
|
|
121
|
+
|
|
122
|
+
[[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)
|
|
123
|
+
|
|
124
|
+
# **group**
|
|
125
|
+
> ShowResponseMapStringObject group()
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
### Example
|
|
129
|
+
|
|
130
|
+
```typescript
|
|
131
|
+
import {
|
|
132
|
+
CMSV2EnvironmentsApi,
|
|
133
|
+
Configuration
|
|
134
|
+
} from '@caraer/client';
|
|
135
|
+
|
|
136
|
+
const configuration = new Configuration();
|
|
137
|
+
const apiInstance = new CMSV2EnvironmentsApi(configuration);
|
|
138
|
+
|
|
139
|
+
let recordUuid: string; // (default to undefined)
|
|
140
|
+
|
|
141
|
+
const { status, data } = await apiInstance.group(
|
|
142
|
+
recordUuid
|
|
143
|
+
);
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### Parameters
|
|
147
|
+
|
|
148
|
+
|Name | Type | Description | Notes|
|
|
149
|
+
|------------- | ------------- | ------------- | -------------|
|
|
150
|
+
| **recordUuid** | [**string**] | | defaults to undefined|
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
### Return type
|
|
154
|
+
|
|
155
|
+
**ShowResponseMapStringObject**
|
|
156
|
+
|
|
157
|
+
### Authorization
|
|
158
|
+
|
|
159
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
160
|
+
|
|
161
|
+
### HTTP request headers
|
|
162
|
+
|
|
163
|
+
- **Content-Type**: Not defined
|
|
164
|
+
- **Accept**: application/json
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
### HTTP response details
|
|
168
|
+
| Status code | Description | Response headers |
|
|
169
|
+
|-------------|-------------|------------------|
|
|
170
|
+
|**200** | OK | - |
|
|
171
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
172
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
173
|
+
|**404** | The requested resource was not found. | - |
|
|
174
|
+
|**500** | An internal server error occurred. | - |
|
|
175
|
+
|
|
176
|
+
[[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)
|
|
177
|
+
|
|
178
|
+
# **link**
|
|
179
|
+
> SuccessResponseString link()
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
### Example
|
|
183
|
+
|
|
184
|
+
```typescript
|
|
185
|
+
import {
|
|
186
|
+
CMSV2EnvironmentsApi,
|
|
187
|
+
Configuration
|
|
188
|
+
} from '@caraer/client';
|
|
189
|
+
|
|
190
|
+
const configuration = new Configuration();
|
|
191
|
+
const apiInstance = new CMSV2EnvironmentsApi(configuration);
|
|
192
|
+
|
|
193
|
+
let fromUuid: string; // (default to undefined)
|
|
194
|
+
let toUuid: string; // (default to undefined)
|
|
195
|
+
|
|
196
|
+
const { status, data } = await apiInstance.link(
|
|
197
|
+
fromUuid,
|
|
198
|
+
toUuid
|
|
199
|
+
);
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
### Parameters
|
|
203
|
+
|
|
204
|
+
|Name | Type | Description | Notes|
|
|
205
|
+
|------------- | ------------- | ------------- | -------------|
|
|
206
|
+
| **fromUuid** | [**string**] | | defaults to undefined|
|
|
207
|
+
| **toUuid** | [**string**] | | defaults to undefined|
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
### Return type
|
|
211
|
+
|
|
212
|
+
**SuccessResponseString**
|
|
213
|
+
|
|
214
|
+
### Authorization
|
|
215
|
+
|
|
216
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
217
|
+
|
|
218
|
+
### HTTP request headers
|
|
219
|
+
|
|
220
|
+
- **Content-Type**: Not defined
|
|
221
|
+
- **Accept**: application/json
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
### HTTP response details
|
|
225
|
+
| Status code | Description | Response headers |
|
|
226
|
+
|-------------|-------------|------------------|
|
|
227
|
+
|**200** | OK | - |
|
|
228
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
229
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
230
|
+
|**404** | The requested resource was not found. | - |
|
|
231
|
+
|**500** | An internal server error occurred. | - |
|
|
232
|
+
|
|
233
|
+
[[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)
|
|
234
|
+
|
|
235
|
+
# **list2**
|
|
236
|
+
> ShowResponseListCmsEnvironmentDTO list2()
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
### Example
|
|
240
|
+
|
|
241
|
+
```typescript
|
|
242
|
+
import {
|
|
243
|
+
CMSV2EnvironmentsApi,
|
|
244
|
+
Configuration
|
|
245
|
+
} from '@caraer/client';
|
|
246
|
+
|
|
247
|
+
const configuration = new Configuration();
|
|
248
|
+
const apiInstance = new CMSV2EnvironmentsApi(configuration);
|
|
249
|
+
|
|
250
|
+
const { status, data } = await apiInstance.list2();
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
### Parameters
|
|
254
|
+
This endpoint does not have any parameters.
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
### Return type
|
|
258
|
+
|
|
259
|
+
**ShowResponseListCmsEnvironmentDTO**
|
|
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** | OK | - |
|
|
275
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
276
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
277
|
+
|**404** | The requested resource was not found. | - |
|
|
278
|
+
|**500** | An internal server error occurred. | - |
|
|
279
|
+
|
|
280
|
+
[[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)
|
|
281
|
+
|
|
282
|
+
# **unlink**
|
|
283
|
+
> SuccessResponseString unlink()
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
### Example
|
|
287
|
+
|
|
288
|
+
```typescript
|
|
289
|
+
import {
|
|
290
|
+
CMSV2EnvironmentsApi,
|
|
291
|
+
Configuration
|
|
292
|
+
} from '@caraer/client';
|
|
293
|
+
|
|
294
|
+
const configuration = new Configuration();
|
|
295
|
+
const apiInstance = new CMSV2EnvironmentsApi(configuration);
|
|
296
|
+
|
|
297
|
+
let fromUuid: string; // (default to undefined)
|
|
298
|
+
let toUuid: string; // (default to undefined)
|
|
299
|
+
|
|
300
|
+
const { status, data } = await apiInstance.unlink(
|
|
301
|
+
fromUuid,
|
|
302
|
+
toUuid
|
|
303
|
+
);
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
### Parameters
|
|
307
|
+
|
|
308
|
+
|Name | Type | Description | Notes|
|
|
309
|
+
|------------- | ------------- | ------------- | -------------|
|
|
310
|
+
| **fromUuid** | [**string**] | | defaults to undefined|
|
|
311
|
+
| **toUuid** | [**string**] | | defaults to undefined|
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
### Return type
|
|
315
|
+
|
|
316
|
+
**SuccessResponseString**
|
|
317
|
+
|
|
318
|
+
### Authorization
|
|
319
|
+
|
|
320
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
321
|
+
|
|
322
|
+
### HTTP request headers
|
|
323
|
+
|
|
324
|
+
- **Content-Type**: Not defined
|
|
325
|
+
- **Accept**: application/json
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
### HTTP response details
|
|
329
|
+
| Status code | Description | Response headers |
|
|
330
|
+
|-------------|-------------|------------------|
|
|
331
|
+
|**200** | OK | - |
|
|
332
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
333
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
334
|
+
|**404** | The requested resource was not found. | - |
|
|
335
|
+
|**500** | An internal server error occurred. | - |
|
|
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
|
+
# **update1**
|
|
340
|
+
> ShowResponseCmsEnvironmentDTO update1(cmsEnvironmentDTO)
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
### Example
|
|
344
|
+
|
|
345
|
+
```typescript
|
|
346
|
+
import {
|
|
347
|
+
CMSV2EnvironmentsApi,
|
|
348
|
+
Configuration,
|
|
349
|
+
CmsEnvironmentDTO
|
|
350
|
+
} from '@caraer/client';
|
|
351
|
+
|
|
352
|
+
const configuration = new Configuration();
|
|
353
|
+
const apiInstance = new CMSV2EnvironmentsApi(configuration);
|
|
354
|
+
|
|
355
|
+
let key: string; // (default to undefined)
|
|
356
|
+
let cmsEnvironmentDTO: CmsEnvironmentDTO; //
|
|
357
|
+
|
|
358
|
+
const { status, data } = await apiInstance.update1(
|
|
359
|
+
key,
|
|
360
|
+
cmsEnvironmentDTO
|
|
361
|
+
);
|
|
362
|
+
```
|
|
363
|
+
|
|
364
|
+
### Parameters
|
|
365
|
+
|
|
366
|
+
|Name | Type | Description | Notes|
|
|
367
|
+
|------------- | ------------- | ------------- | -------------|
|
|
368
|
+
| **cmsEnvironmentDTO** | **CmsEnvironmentDTO**| | |
|
|
369
|
+
| **key** | [**string**] | | defaults to undefined|
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
### Return type
|
|
373
|
+
|
|
374
|
+
**ShowResponseCmsEnvironmentDTO**
|
|
375
|
+
|
|
376
|
+
### Authorization
|
|
377
|
+
|
|
378
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
379
|
+
|
|
380
|
+
### HTTP request headers
|
|
381
|
+
|
|
382
|
+
- **Content-Type**: application/json
|
|
383
|
+
- **Accept**: application/json
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
### HTTP response details
|
|
387
|
+
| Status code | Description | Response headers |
|
|
388
|
+
|-------------|-------------|------------------|
|
|
389
|
+
|**200** | OK | - |
|
|
390
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
391
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
392
|
+
|**404** | The requested resource was not found. | - |
|
|
393
|
+
|**500** | An internal server error occurred. | - |
|
|
394
|
+
|
|
395
|
+
[[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)
|
|
396
|
+
|