@caraer/client 2.0.696 → 2.0.701
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 +38 -0
- package/api.ts +1839 -204
- package/dist/api.d.ts +997 -31
- package/dist/api.js +1280 -84
- package/dist/esm/api.d.ts +997 -31
- package/dist/esm/api.js +1268 -80
- package/docs/ApiTokenDTO.md +22 -0
- package/docs/AppBarDTO.md +6 -0
- package/docs/AppBarIframeSessionRequest.md +4 -0
- package/docs/AppBarsApi.md +4 -1
- package/docs/AppDTO.md +4 -0
- package/docs/AppDetailsDTO.md +2 -0
- package/docs/AppSettingFieldSchema.md +2 -2
- package/docs/BrowserAuthExchangeRequest.md +24 -0
- package/docs/BrowserAuthSessionResponse.md +28 -0
- package/docs/BrowserAuthStartRequest.md +28 -0
- package/docs/BrowserAuthStartResponse.md +22 -0
- package/docs/BrowserAuthenticationApi.md +176 -0
- package/docs/BulkEditRecordErrorItem.md +2 -0
- package/docs/CreatePrivateAppRequest.md +4 -0
- package/docs/EnsureRelationDTO.md +27 -0
- package/docs/ErrorResponse.md +2 -0
- package/docs/ExistingWidgetSummary.md +2 -2
- package/docs/FavoriteViewDTO.md +22 -0
- package/docs/NavigationApi.md +280 -0
- package/docs/NavigationDTO.md +27 -0
- package/docs/NavigationObjectDTO.md +38 -0
- package/docs/NavigationViewDTO.md +44 -0
- package/docs/NotificationDeviceReceipt.md +26 -0
- package/docs/NotificationDeviceRegistration.md +28 -0
- package/docs/NotificationsApi.md +172 -0
- package/docs/ObjectReferenceDTO.md +32 -0
- package/docs/ObjectsApi.md +5 -2
- package/docs/Palette.md +22 -0
- package/docs/Record.md +2 -2
- package/docs/RecordsApi.md +119 -0
- package/docs/RelationCapabilities.md +26 -0
- package/docs/RelationCapabilityEdge.md +22 -0
- package/docs/RelationCapabilityEdges.md +22 -0
- package/docs/RelationCapabilityOperation.md +22 -0
- package/docs/RelationCapabilityPair.md +22 -0
- package/docs/RelationCapabilityPairCapability.md +34 -0
- package/docs/RelationCapabilityPrimary.md +22 -0
- package/docs/RelationCapabilityRequest.md +22 -0
- package/docs/SettingField.md +2 -2
- package/docs/ShowResponseBrowserAuthSessionResponse.md +23 -0
- package/docs/ShowResponseBrowserAuthStartResponse.md +23 -0
- package/docs/ShowResponseItem.md +23 -0
- package/docs/ShowResponseNotificationDeviceReceipt.md +23 -0
- package/docs/ShowResponseRelationCapabilities.md +23 -0
- package/docs/ShowResponseWebpageEditorDefaultsDTO.md +23 -0
- package/docs/SimpleCompanyDTO.md +22 -0
- package/docs/SuccessResponseEnsureRelationDTO.md +23 -0
- package/docs/SuccessResponseListFavoriteViewDTO.md +23 -0
- package/docs/SuccessResponseListNavigationViewDTO.md +23 -0
- package/docs/SuccessResponseNavigationDTO.md +23 -0
- package/docs/UserDTO.md +46 -0
- package/docs/ViewNavigationPreferencesRequest.md +23 -0
- package/docs/WebpageEditorDefaultsDTO.md +25 -0
- package/docs/WebpagesApi.md +118 -0
- package/package.json +1 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# SuccessResponseListNavigationViewDTO
|
|
2
|
+
|
|
3
|
+
Represents a standard successful response with a message and optional data.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**message** | **string** | A message detailing the result of the operation. | [optional] [default to undefined]
|
|
10
|
+
**data** | [**Array<NavigationViewDTO>**](NavigationViewDTO.md) | The data payload of the response, if any. | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { SuccessResponseListNavigationViewDTO } from '@caraer/client';
|
|
16
|
+
|
|
17
|
+
const instance: SuccessResponseListNavigationViewDTO = {
|
|
18
|
+
message,
|
|
19
|
+
data,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[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,23 @@
|
|
|
1
|
+
# SuccessResponseNavigationDTO
|
|
2
|
+
|
|
3
|
+
Represents a standard successful response with a message and optional data.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**message** | **string** | A message detailing the result of the operation. | [optional] [default to undefined]
|
|
10
|
+
**data** | [**NavigationDTO**](NavigationDTO.md) | The data payload of the response, if any. | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { SuccessResponseNavigationDTO } from '@caraer/client';
|
|
16
|
+
|
|
17
|
+
const instance: SuccessResponseNavigationDTO = {
|
|
18
|
+
message,
|
|
19
|
+
data,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[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/UserDTO.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# UserDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**uuid** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**firstname** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**lastname** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**initials** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**selectedCompany** | [**CompanyDTO**](CompanyDTO.md) | | [optional] [default to undefined]
|
|
14
|
+
**companies** | [**Array<SimpleCompanyDTO>**](SimpleCompanyDTO.md) | | [optional] [default to undefined]
|
|
15
|
+
**scopes** | **Array<string>** | | [optional] [default to undefined]
|
|
16
|
+
**filters** | [**{ [key: string]: Filter; }**](Filter.md) | | [optional] [default to undefined]
|
|
17
|
+
**role** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**roles** | **Array<string>** | | [optional] [default to undefined]
|
|
19
|
+
**token** | [**ApiTokenDTO**](ApiTokenDTO.md) | | [optional] [default to undefined]
|
|
20
|
+
**record** | [**ModelRecord**](ModelRecord.md) | | [optional] [default to undefined]
|
|
21
|
+
**easterEggs** | **Array<string>** | | [optional] [default to undefined]
|
|
22
|
+
|
|
23
|
+
## Example
|
|
24
|
+
|
|
25
|
+
```typescript
|
|
26
|
+
import { UserDTO } from '@caraer/client';
|
|
27
|
+
|
|
28
|
+
const instance: UserDTO = {
|
|
29
|
+
uuid,
|
|
30
|
+
email,
|
|
31
|
+
firstname,
|
|
32
|
+
lastname,
|
|
33
|
+
initials,
|
|
34
|
+
selectedCompany,
|
|
35
|
+
companies,
|
|
36
|
+
scopes,
|
|
37
|
+
filters,
|
|
38
|
+
role,
|
|
39
|
+
roles,
|
|
40
|
+
token,
|
|
41
|
+
record,
|
|
42
|
+
easterEggs,
|
|
43
|
+
};
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
[[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,23 @@
|
|
|
1
|
+
# ViewNavigationPreferencesRequest
|
|
2
|
+
|
|
3
|
+
Personal view navigation overrides. Omitted entries preserve their values; a null entry clears that override and restores the legacy sharing default. Does not change sharing or record access.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**indices** | **{ [key: string]: number; }** | | [optional] [default to undefined]
|
|
10
|
+
**favorites** | **{ [key: string]: boolean; }** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ViewNavigationPreferencesRequest } from '@caraer/client';
|
|
16
|
+
|
|
17
|
+
const instance: ViewNavigationPreferencesRequest = {
|
|
18
|
+
indices,
|
|
19
|
+
favorites,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[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
|
+
# WebpageEditorDefaultsDTO
|
|
2
|
+
|
|
3
|
+
Read-only style, color and font defaults for an authorized webpage editor. Contains no company administration or executable script configuration.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**componentStyles** | [**{ [key: string]: PageContentStylingDTO; }**](PageContentStylingDTO.md) | | [optional] [default to undefined]
|
|
10
|
+
**palette** | [**Palette**](Palette.md) | | [optional] [default to undefined]
|
|
11
|
+
**fonts** | [**Array<CustomFontDTO>**](CustomFontDTO.md) | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { WebpageEditorDefaultsDTO } from '@caraer/client';
|
|
17
|
+
|
|
18
|
+
const instance: WebpageEditorDefaultsDTO = {
|
|
19
|
+
componentStyles,
|
|
20
|
+
palette,
|
|
21
|
+
fonts,
|
|
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)
|
package/docs/WebpagesApi.md
CHANGED
|
@@ -31,11 +31,13 @@ All URIs are relative to *https://v2.api.caraer.com*
|
|
|
31
31
|
|[**getWebpageEditingStatus**](#getwebpageeditingstatus) | **GET** /api/v2/webpages/{uuid}/editing-status | Check if a webpage is being edited|
|
|
32
32
|
|[**getWebpagePickerPages**](#getwebpagepickerpages) | **GET** /api/v2/webpages/picker/pages | List webpages for picker dropdowns|
|
|
33
33
|
|[**listProtectionGrants**](#listprotectiongrants) | **GET** /api/v2/webpages/{uuid}/protection/grants | List signed URL grants for a webpage|
|
|
34
|
+
|[**page**](#page) | **GET** /api/v2/webpages/{uuid}/editor-defaults | Get authorized webpage editor defaults|
|
|
34
35
|
|[**publishFile**](#publishfile) | **POST** /api/v2/webpages/publishFile | Public URL for a library file|
|
|
35
36
|
|[**publishWebpage**](#publishwebpage) | **PUT** /api/v2/webpages/{uuid}/publish | Publish a webpage|
|
|
36
37
|
|[**releaseTemplateWebpageEditingSession**](#releasetemplatewebpageeditingsession) | **DELETE** /api/v2/webpages/template/{objectName}/{environment}/editing-session | Release a template webpage editing session|
|
|
37
38
|
|[**releaseWebpageEditingSession**](#releasewebpageeditingsession) | **DELETE** /api/v2/webpages/{uuid}/editing-session | Release a webpage editing session|
|
|
38
39
|
|[**revokeProtectionGrant**](#revokeprotectiongrant) | **DELETE** /api/v2/webpages/{uuid}/protection/grants/{grantUuid} | Revoke a signed URL grant|
|
|
40
|
+
|[**template**](#template) | **GET** /api/v2/webpages/template/{objectName}/{environment}/editor-defaults | Get authorized template editor defaults|
|
|
39
41
|
|[**unlockPublicWebpage**](#unlockpublicwebpage) | **POST** /api/v2/webpages/public/uuid/{uuid}/unlock | Unlock password-protected webpage|
|
|
40
42
|
|[**unpublishWebpage**](#unpublishwebpage) | **PUT** /api/v2/webpages/{uuid}/unpublish | Unpublish a webpage|
|
|
41
43
|
|[**updateWebpage**](#updatewebpage) | **PUT** /api/v2/webpages/{uuid} | Update a webpage|
|
|
@@ -1730,6 +1732,64 @@ const { status, data } = await apiInstance.listProtectionGrants(
|
|
|
1730
1732
|
- **Accept**: application/json
|
|
1731
1733
|
|
|
1732
1734
|
|
|
1735
|
+
### HTTP response details
|
|
1736
|
+
| Status code | Description | Response headers |
|
|
1737
|
+
|-------------|-------------|------------------|
|
|
1738
|
+
|**200** | OK | - |
|
|
1739
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
1740
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
1741
|
+
|**404** | The requested resource was not found. | - |
|
|
1742
|
+
|**500** | An internal server error occurred. | - |
|
|
1743
|
+
|
|
1744
|
+
[[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)
|
|
1745
|
+
|
|
1746
|
+
# **page**
|
|
1747
|
+
> ShowResponseWebpageEditorDefaultsDTO page()
|
|
1748
|
+
|
|
1749
|
+
Returns only public component styling, color tokens and custom fonts for the selected company. Uses the same page, record and environment-property read checks as reading this webpage; company administration access is not required.
|
|
1750
|
+
|
|
1751
|
+
### Example
|
|
1752
|
+
|
|
1753
|
+
```typescript
|
|
1754
|
+
import {
|
|
1755
|
+
WebpagesApi,
|
|
1756
|
+
Configuration
|
|
1757
|
+
} from '@caraer/client';
|
|
1758
|
+
|
|
1759
|
+
const configuration = new Configuration();
|
|
1760
|
+
const apiInstance = new WebpagesApi(configuration);
|
|
1761
|
+
|
|
1762
|
+
let uuid: string; // (default to undefined)
|
|
1763
|
+
let environment: string; // (optional) (default to 'staging')
|
|
1764
|
+
|
|
1765
|
+
const { status, data } = await apiInstance.page(
|
|
1766
|
+
uuid,
|
|
1767
|
+
environment
|
|
1768
|
+
);
|
|
1769
|
+
```
|
|
1770
|
+
|
|
1771
|
+
### Parameters
|
|
1772
|
+
|
|
1773
|
+
|Name | Type | Description | Notes|
|
|
1774
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1775
|
+
| **uuid** | [**string**] | | defaults to undefined|
|
|
1776
|
+
| **environment** | [**string**] | | (optional) defaults to 'staging'|
|
|
1777
|
+
|
|
1778
|
+
|
|
1779
|
+
### Return type
|
|
1780
|
+
|
|
1781
|
+
**ShowResponseWebpageEditorDefaultsDTO**
|
|
1782
|
+
|
|
1783
|
+
### Authorization
|
|
1784
|
+
|
|
1785
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1786
|
+
|
|
1787
|
+
### HTTP request headers
|
|
1788
|
+
|
|
1789
|
+
- **Content-Type**: Not defined
|
|
1790
|
+
- **Accept**: application/json
|
|
1791
|
+
|
|
1792
|
+
|
|
1733
1793
|
### HTTP response details
|
|
1734
1794
|
| Status code | Description | Response headers |
|
|
1735
1795
|
|-------------|-------------|------------------|
|
|
@@ -2020,6 +2080,64 @@ const { status, data } = await apiInstance.revokeProtectionGrant(
|
|
|
2020
2080
|
- **Accept**: application/json
|
|
2021
2081
|
|
|
2022
2082
|
|
|
2083
|
+
### HTTP response details
|
|
2084
|
+
| Status code | Description | Response headers |
|
|
2085
|
+
|-------------|-------------|------------------|
|
|
2086
|
+
|**200** | OK | - |
|
|
2087
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
2088
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
2089
|
+
|**404** | The requested resource was not found. | - |
|
|
2090
|
+
|**500** | An internal server error occurred. | - |
|
|
2091
|
+
|
|
2092
|
+
[[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)
|
|
2093
|
+
|
|
2094
|
+
# **template**
|
|
2095
|
+
> ShowResponseWebpageEditorDefaultsDTO template()
|
|
2096
|
+
|
|
2097
|
+
Returns only public component styling, color tokens and custom fonts for the selected company after its ordinary template-read and tenant object/template resolution checks. No template, lease, company setting or publication is changed.
|
|
2098
|
+
|
|
2099
|
+
### Example
|
|
2100
|
+
|
|
2101
|
+
```typescript
|
|
2102
|
+
import {
|
|
2103
|
+
WebpagesApi,
|
|
2104
|
+
Configuration
|
|
2105
|
+
} from '@caraer/client';
|
|
2106
|
+
|
|
2107
|
+
const configuration = new Configuration();
|
|
2108
|
+
const apiInstance = new WebpagesApi(configuration);
|
|
2109
|
+
|
|
2110
|
+
let objectName: string; // (default to undefined)
|
|
2111
|
+
let environment: string; // (default to undefined)
|
|
2112
|
+
|
|
2113
|
+
const { status, data } = await apiInstance.template(
|
|
2114
|
+
objectName,
|
|
2115
|
+
environment
|
|
2116
|
+
);
|
|
2117
|
+
```
|
|
2118
|
+
|
|
2119
|
+
### Parameters
|
|
2120
|
+
|
|
2121
|
+
|Name | Type | Description | Notes|
|
|
2122
|
+
|------------- | ------------- | ------------- | -------------|
|
|
2123
|
+
| **objectName** | [**string**] | | defaults to undefined|
|
|
2124
|
+
| **environment** | [**string**] | | defaults to undefined|
|
|
2125
|
+
|
|
2126
|
+
|
|
2127
|
+
### Return type
|
|
2128
|
+
|
|
2129
|
+
**ShowResponseWebpageEditorDefaultsDTO**
|
|
2130
|
+
|
|
2131
|
+
### Authorization
|
|
2132
|
+
|
|
2133
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
2134
|
+
|
|
2135
|
+
### HTTP request headers
|
|
2136
|
+
|
|
2137
|
+
- **Content-Type**: Not defined
|
|
2138
|
+
- **Accept**: application/json
|
|
2139
|
+
|
|
2140
|
+
|
|
2023
2141
|
### HTTP response details
|
|
2024
2142
|
| Status code | Description | Response headers |
|
|
2025
2143
|
|-------------|-------------|------------------|
|