@caraer/client 2.0.695 → 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 +41 -0
- package/api.ts +1856 -201
- package/dist/api.d.ts +1017 -31
- package/dist/api.js +1280 -84
- package/dist/esm/api.d.ts +1017 -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/Audience.md +36 -0
- 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/CRUD.md +2 -0
- package/docs/CreatePrivateAppRequest.md +4 -0
- package/docs/CrudAccessContext.md +22 -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/Permissions.md +22 -0
- 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/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,22 @@
|
|
|
1
|
+
# ApiTokenDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**token** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**expiresAt** | **number** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ApiTokenDTO } from '@caraer/client';
|
|
15
|
+
|
|
16
|
+
const instance: ApiTokenDTO = {
|
|
17
|
+
token,
|
|
18
|
+
expiresAt,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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/AppBarDTO.md
CHANGED
|
@@ -6,6 +6,9 @@ Data transfer object for an app bar (location-specific settings and action confi
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**navigationPlacement** | **string** | TOOL_BAR navigation: SUITE (legacy default) or suite-independent SETTINGS. Omission preserves an existing value. | [optional] [default to undefined]
|
|
10
|
+
**requiredUserScopes** | **Array<string>** | Literal human caller scopes required for TOOL_BAR discovery and iframe access. Omission preserves; [] clears. | [optional] [default to undefined]
|
|
11
|
+
**routeAliases** | **Array<string>** | Unique unreserved settings-relative route slugs for a SETTINGS tool. Omission preserves; [] clears. | [optional] [default to undefined]
|
|
9
12
|
**uuid** | **string** | Unique identifier for the entity | [default to undefined]
|
|
10
13
|
**name** | **string** | The name of the entity | [default to undefined]
|
|
11
14
|
**label** | **string** | Display label for the entity, can be different from name | [optional] [default to undefined]
|
|
@@ -31,6 +34,9 @@ Name | Type | Description | Notes
|
|
|
31
34
|
import { AppBarDTO } from '@caraer/client';
|
|
32
35
|
|
|
33
36
|
const instance: AppBarDTO = {
|
|
37
|
+
navigationPlacement,
|
|
38
|
+
requiredUserScopes,
|
|
39
|
+
routeAliases,
|
|
34
40
|
uuid,
|
|
35
41
|
name,
|
|
36
42
|
label,
|
|
@@ -6,6 +6,8 @@ Request body for creating an iframe session token
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**suite** | **string** | Selected suite for explicit SUITE tool requests; omitted legacy requests retain configured-suite behavior | [optional] [default to undefined]
|
|
10
|
+
**navigationPlacement** | **string** | Explicit TOOL_BAR placement; must match the stored descriptor | [optional] [default to undefined]
|
|
9
11
|
**object** | **string** | Object name in context | [optional] [default to undefined]
|
|
10
12
|
**recordUuid** | **string** | UUID of the record in context | [optional] [default to undefined]
|
|
11
13
|
**viewId** | **string** | View ID in context | [optional] [default to undefined]
|
|
@@ -18,6 +20,8 @@ Name | Type | Description | Notes
|
|
|
18
20
|
import { AppBarIframeSessionRequest } from '@caraer/client';
|
|
19
21
|
|
|
20
22
|
const instance: AppBarIframeSessionRequest = {
|
|
23
|
+
suite,
|
|
24
|
+
navigationPlacement,
|
|
21
25
|
object,
|
|
22
26
|
recordUuid,
|
|
23
27
|
viewId,
|
package/docs/AppBarsApi.md
CHANGED
|
@@ -29,6 +29,7 @@ let recordUuid: string; //Record UUID in context (optional) (default to undefine
|
|
|
29
29
|
let viewId: string; //View ID in context (optional) (default to undefined)
|
|
30
30
|
let trait: string; //Trait name in context (optional) (default to undefined)
|
|
31
31
|
let suite: string; //Suite selected in the UI. A tool bar is included when this suite is saved on the bar. (optional) (default to undefined)
|
|
32
|
+
let navigationPlacement: 'SUITE' | 'SETTINGS'; //TOOL_BAR placement. Omitted means legacy SUITE; SETTINGS is suite-independent. (optional) (default to undefined)
|
|
32
33
|
|
|
33
34
|
const { status, data } = await apiInstance.listAppBars(
|
|
34
35
|
location,
|
|
@@ -36,7 +37,8 @@ const { status, data } = await apiInstance.listAppBars(
|
|
|
36
37
|
recordUuid,
|
|
37
38
|
viewId,
|
|
38
39
|
trait,
|
|
39
|
-
suite
|
|
40
|
+
suite,
|
|
41
|
+
navigationPlacement
|
|
40
42
|
);
|
|
41
43
|
```
|
|
42
44
|
|
|
@@ -50,6 +52,7 @@ const { status, data } = await apiInstance.listAppBars(
|
|
|
50
52
|
| **viewId** | [**string**] | View ID in context | (optional) defaults to undefined|
|
|
51
53
|
| **trait** | [**string**] | Trait name in context | (optional) defaults to undefined|
|
|
52
54
|
| **suite** | [**string**] | Suite selected in the UI. A tool bar is included when this suite is saved on the bar. | (optional) defaults to undefined|
|
|
55
|
+
| **navigationPlacement** | [**'SUITE' | 'SETTINGS'**]**Array<'SUITE' | 'SETTINGS'>** | TOOL_BAR placement. Omitted means legacy SUITE; SETTINGS is suite-independent. | (optional) defaults to undefined|
|
|
53
56
|
|
|
54
57
|
|
|
55
58
|
### Return type
|
package/docs/AppDTO.md
CHANGED
|
@@ -6,6 +6,8 @@ Full app payload (AppCreatorDTO) to apply
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**brandmarkReference** | **string** | Stable creator input for brandmark; display uses brandmark URL | [optional] [readonly] [default to undefined]
|
|
10
|
+
**imageReference** | **string** | Stable creator input for details.image; display uses image URL | [optional] [readonly] [default to undefined]
|
|
9
11
|
**uuid** | **string** | Unique identifier for the entity | [default to undefined]
|
|
10
12
|
**name** | **string** | The name of the entity | [default to undefined]
|
|
11
13
|
**label** | **string** | Display label for the entity, can be different from name | [optional] [default to undefined]
|
|
@@ -62,6 +64,8 @@ Name | Type | Description | Notes
|
|
|
62
64
|
import { AppDTO } from '@caraer/client';
|
|
63
65
|
|
|
64
66
|
const instance: AppDTO = {
|
|
67
|
+
brandmarkReference,
|
|
68
|
+
imageReference,
|
|
65
69
|
uuid,
|
|
66
70
|
name,
|
|
67
71
|
label,
|
package/docs/AppDetailsDTO.md
CHANGED
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**title** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**description** | **string** | Short marketplace description shown on app cards and detail pages | [optional] [default to undefined]
|
|
11
11
|
**image** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**imageReference** | **string** | Stable creator input for image; never persist a signed display URL | [optional] [readonly] [default to undefined]
|
|
12
13
|
**brandColor** | **string** | Hex accent color (#RRGGBB) for installed app-bar action buttons and toolbar icons | [optional] [default to undefined]
|
|
13
14
|
**textColor** | **string** | Hex text color (#RRGGBB) for text on brand-colored marketplace UI elements | [optional] [default to undefined]
|
|
14
15
|
**url** | **string** | | [optional] [default to undefined]
|
|
@@ -38,6 +39,7 @@ const instance: AppDetailsDTO = {
|
|
|
38
39
|
title,
|
|
39
40
|
description,
|
|
40
41
|
image,
|
|
42
|
+
imageReference,
|
|
41
43
|
brandColor,
|
|
42
44
|
textColor,
|
|
43
45
|
url,
|
package/docs/Audience.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Audience
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**authentication** | **any** | | [optional] [default to undefined]
|
|
9
|
+
**principal** | **any** | | [optional] [default to undefined]
|
|
10
|
+
**authenticated** | **boolean** | | [optional] [default to undefined]
|
|
11
|
+
**database** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**principalDatabase** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**companyUuid** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**principalUuid** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**authorities** | **Array<string>** | | [optional] [default to undefined]
|
|
16
|
+
**roles** | **Array<string>** | | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { Audience } from '@caraer/client';
|
|
22
|
+
|
|
23
|
+
const instance: Audience = {
|
|
24
|
+
authentication,
|
|
25
|
+
principal,
|
|
26
|
+
authenticated,
|
|
27
|
+
database,
|
|
28
|
+
principalDatabase,
|
|
29
|
+
companyUuid,
|
|
30
|
+
principalUuid,
|
|
31
|
+
authorities,
|
|
32
|
+
roles,
|
|
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,24 @@
|
|
|
1
|
+
# BrowserAuthExchangeRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**code** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**codeVerifier** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**redirectUri** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { BrowserAuthExchangeRequest } from '@caraer/client';
|
|
16
|
+
|
|
17
|
+
const instance: BrowserAuthExchangeRequest = {
|
|
18
|
+
code,
|
|
19
|
+
codeVerifier,
|
|
20
|
+
redirectUri,
|
|
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,28 @@
|
|
|
1
|
+
# BrowserAuthSessionResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**accessToken** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**refreshToken** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**tokenType** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**user** | [**UserDTO**](UserDTO.md) | | [optional] [default to undefined]
|
|
12
|
+
**companyUuid** | **string** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { BrowserAuthSessionResponse } from '@caraer/client';
|
|
18
|
+
|
|
19
|
+
const instance: BrowserAuthSessionResponse = {
|
|
20
|
+
accessToken,
|
|
21
|
+
refreshToken,
|
|
22
|
+
tokenType,
|
|
23
|
+
user,
|
|
24
|
+
companyUuid,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[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,28 @@
|
|
|
1
|
+
# BrowserAuthStartRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**provider** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**redirectUri** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**codeChallenge** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**codeChallengeMethod** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**state** | **string** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { BrowserAuthStartRequest } from '@caraer/client';
|
|
18
|
+
|
|
19
|
+
const instance: BrowserAuthStartRequest = {
|
|
20
|
+
provider,
|
|
21
|
+
redirectUri,
|
|
22
|
+
codeChallenge,
|
|
23
|
+
codeChallengeMethod,
|
|
24
|
+
state,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[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,22 @@
|
|
|
1
|
+
# BrowserAuthStartResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**authorizationUrl** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**expiresIn** | **number** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { BrowserAuthStartResponse } from '@caraer/client';
|
|
15
|
+
|
|
16
|
+
const instance: BrowserAuthStartResponse = {
|
|
17
|
+
authorizationUrl,
|
|
18
|
+
expiresIn,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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,176 @@
|
|
|
1
|
+
# BrowserAuthenticationApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://v2.api.caraer.com*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**authorize**](#authorize) | **GET** /api/v2/auth/browser/authorize | Open the browser-owned provider session|
|
|
8
|
+
|[**exchange**](#exchange) | **POST** /api/v2/auth/browser/exchange | Exchange a native callback code|
|
|
9
|
+
|[**start**](#start) | **POST** /api/v2/auth/browser/start | Start browser sign-in|
|
|
10
|
+
|
|
11
|
+
# **authorize**
|
|
12
|
+
> authorize()
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import {
|
|
19
|
+
BrowserAuthenticationApi,
|
|
20
|
+
Configuration
|
|
21
|
+
} from '@caraer/client';
|
|
22
|
+
|
|
23
|
+
const configuration = new Configuration();
|
|
24
|
+
const apiInstance = new BrowserAuthenticationApi(configuration);
|
|
25
|
+
|
|
26
|
+
let flow: string; // (default to undefined)
|
|
27
|
+
|
|
28
|
+
const { status, data } = await apiInstance.authorize(
|
|
29
|
+
flow
|
|
30
|
+
);
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Parameters
|
|
34
|
+
|
|
35
|
+
|Name | Type | Description | Notes|
|
|
36
|
+
|------------- | ------------- | ------------- | -------------|
|
|
37
|
+
| **flow** | [**string**] | | defaults to undefined|
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Return type
|
|
41
|
+
|
|
42
|
+
void (empty response body)
|
|
43
|
+
|
|
44
|
+
### Authorization
|
|
45
|
+
|
|
46
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
47
|
+
|
|
48
|
+
### HTTP request headers
|
|
49
|
+
|
|
50
|
+
- **Content-Type**: Not defined
|
|
51
|
+
- **Accept**: application/json
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### HTTP response details
|
|
55
|
+
| Status code | Description | Response headers |
|
|
56
|
+
|-------------|-------------|------------------|
|
|
57
|
+
|**200** | OK | - |
|
|
58
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
59
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
60
|
+
|**404** | The requested resource was not found. | - |
|
|
61
|
+
|**500** | An internal server error occurred. | - |
|
|
62
|
+
|
|
63
|
+
[[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)
|
|
64
|
+
|
|
65
|
+
# **exchange**
|
|
66
|
+
> ShowResponseBrowserAuthSessionResponse exchange(browserAuthExchangeRequest)
|
|
67
|
+
|
|
68
|
+
Exchanges an unexpired single-use code only after exact redirect and PKCE verifier checks. Access/refresh tokens are returned in JSON and never in callback URLs.
|
|
69
|
+
|
|
70
|
+
### Example
|
|
71
|
+
|
|
72
|
+
```typescript
|
|
73
|
+
import {
|
|
74
|
+
BrowserAuthenticationApi,
|
|
75
|
+
Configuration,
|
|
76
|
+
BrowserAuthExchangeRequest
|
|
77
|
+
} from '@caraer/client';
|
|
78
|
+
|
|
79
|
+
const configuration = new Configuration();
|
|
80
|
+
const apiInstance = new BrowserAuthenticationApi(configuration);
|
|
81
|
+
|
|
82
|
+
let browserAuthExchangeRequest: BrowserAuthExchangeRequest; //
|
|
83
|
+
|
|
84
|
+
const { status, data } = await apiInstance.exchange(
|
|
85
|
+
browserAuthExchangeRequest
|
|
86
|
+
);
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### Parameters
|
|
90
|
+
|
|
91
|
+
|Name | Type | Description | Notes|
|
|
92
|
+
|------------- | ------------- | ------------- | -------------|
|
|
93
|
+
| **browserAuthExchangeRequest** | **BrowserAuthExchangeRequest**| | |
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
### Return type
|
|
97
|
+
|
|
98
|
+
**ShowResponseBrowserAuthSessionResponse**
|
|
99
|
+
|
|
100
|
+
### Authorization
|
|
101
|
+
|
|
102
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
103
|
+
|
|
104
|
+
### HTTP request headers
|
|
105
|
+
|
|
106
|
+
- **Content-Type**: application/json
|
|
107
|
+
- **Accept**: */*, application/json
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
### HTTP response details
|
|
111
|
+
| Status code | Description | Response headers |
|
|
112
|
+
|-------------|-------------|------------------|
|
|
113
|
+
|**200** | OK | - |
|
|
114
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
115
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
116
|
+
|**404** | The requested resource was not found. | - |
|
|
117
|
+
|**500** | An internal server error occurred. | - |
|
|
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
|
+
# **start**
|
|
122
|
+
> ShowResponseBrowserAuthStartResponse start(browserAuthStartRequest)
|
|
123
|
+
|
|
124
|
+
Requires an exact configured redirect URI, random client state and S256 PKCE challenge. Open the returned URL in the system browser.
|
|
125
|
+
|
|
126
|
+
### Example
|
|
127
|
+
|
|
128
|
+
```typescript
|
|
129
|
+
import {
|
|
130
|
+
BrowserAuthenticationApi,
|
|
131
|
+
Configuration,
|
|
132
|
+
BrowserAuthStartRequest
|
|
133
|
+
} from '@caraer/client';
|
|
134
|
+
|
|
135
|
+
const configuration = new Configuration();
|
|
136
|
+
const apiInstance = new BrowserAuthenticationApi(configuration);
|
|
137
|
+
|
|
138
|
+
let browserAuthStartRequest: BrowserAuthStartRequest; //
|
|
139
|
+
|
|
140
|
+
const { status, data } = await apiInstance.start(
|
|
141
|
+
browserAuthStartRequest
|
|
142
|
+
);
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
### Parameters
|
|
146
|
+
|
|
147
|
+
|Name | Type | Description | Notes|
|
|
148
|
+
|------------- | ------------- | ------------- | -------------|
|
|
149
|
+
| **browserAuthStartRequest** | **BrowserAuthStartRequest**| | |
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
### Return type
|
|
153
|
+
|
|
154
|
+
**ShowResponseBrowserAuthStartResponse**
|
|
155
|
+
|
|
156
|
+
### Authorization
|
|
157
|
+
|
|
158
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
159
|
+
|
|
160
|
+
### HTTP request headers
|
|
161
|
+
|
|
162
|
+
- **Content-Type**: application/json
|
|
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
|
+
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**clientRef** | **string** | Client reference echoed from the request, if provided. | [optional] [default to undefined]
|
|
11
11
|
**message** | **string** | Summary message for this record\'s failure. | [optional] [default to undefined]
|
|
12
12
|
**errors** | [**Array<CaraerErrorType>**](CaraerErrorType.md) | Field-level validation errors. | [optional] [default to undefined]
|
|
13
|
+
**recordWriteOutcome** | **string** | Proof for this item only that its owning record command did not start record/relationship persistence. Other bulk items may have persisted; ancillary file ingestion is not covered. | [optional] [default to undefined]
|
|
13
14
|
|
|
14
15
|
## Example
|
|
15
16
|
|
|
@@ -21,6 +22,7 @@ const instance: BulkEditRecordErrorItem = {
|
|
|
21
22
|
clientRef,
|
|
22
23
|
message,
|
|
23
24
|
errors,
|
|
25
|
+
recordWriteOutcome,
|
|
24
26
|
};
|
|
25
27
|
```
|
|
26
28
|
|
package/docs/CRUD.md
CHANGED
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**httpSessionId** | **string** | | [optional] [default to undefined]
|
|
9
9
|
**turnOffMetaRelationships** | **boolean** | | [optional] [default to undefined]
|
|
10
|
+
**httpAccessContext** | [**CrudAccessContext**](CrudAccessContext.md) | | [optional] [default to undefined]
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -16,6 +17,7 @@ import { CRUD } from '@caraer/client';
|
|
|
16
17
|
const instance: CRUD = {
|
|
17
18
|
httpSessionId,
|
|
18
19
|
turnOffMetaRelationships,
|
|
20
|
+
httpAccessContext,
|
|
19
21
|
};
|
|
20
22
|
```
|
|
21
23
|
|
|
@@ -6,6 +6,8 @@ Private app creator manifest; label is required and internal name is optional
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**brandmarkReference** | **string** | Stable creator input for brandmark; display uses brandmark URL | [optional] [readonly] [default to undefined]
|
|
10
|
+
**imageReference** | **string** | Stable creator input for details.image; display uses image URL | [optional] [readonly] [default to undefined]
|
|
9
11
|
**uuid** | **string** | Unique identifier for the entity | [default to undefined]
|
|
10
12
|
**name** | **string** | The name of the entity | [default to undefined]
|
|
11
13
|
**label** | **string** | Display label for the entity, can be different from name | [default to undefined]
|
|
@@ -62,6 +64,8 @@ Name | Type | Description | Notes
|
|
|
62
64
|
import { CreatePrivateAppRequest } from '@caraer/client';
|
|
63
65
|
|
|
64
66
|
const instance: CreatePrivateAppRequest = {
|
|
67
|
+
brandmarkReference,
|
|
68
|
+
imageReference,
|
|
65
69
|
uuid,
|
|
66
70
|
name,
|
|
67
71
|
label,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# CrudAccessContext
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**audience** | [**Audience**](Audience.md) | | [optional] [default to undefined]
|
|
9
|
+
**permissions** | [**Permissions**](Permissions.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { CrudAccessContext } from '@caraer/client';
|
|
15
|
+
|
|
16
|
+
const instance: CrudAccessContext = {
|
|
17
|
+
audience,
|
|
18
|
+
permissions,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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
|
+
# EnsureRelationDTO
|
|
2
|
+
|
|
3
|
+
Atomic ensure-link receipt. UNCHANGED leaves every existing edge property untouched.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**fromUuid** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**toUuid** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**relationName** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**outcome** | **string** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { EnsureRelationDTO } from '@caraer/client';
|
|
18
|
+
|
|
19
|
+
const instance: EnsureRelationDTO = {
|
|
20
|
+
fromUuid,
|
|
21
|
+
toUuid,
|
|
22
|
+
relationName,
|
|
23
|
+
outcome,
|
|
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)
|
package/docs/ErrorResponse.md
CHANGED
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**message** | **string** | The error message providing details about the failure. | [optional] [default to undefined]
|
|
10
10
|
**errors** | [**Array<CaraerErrorType>**](CaraerErrorType.md) | A list of error types providing further details about the error. | [optional] [default to undefined]
|
|
11
11
|
**status** | **number** | The HTTP status code associated with the error. | [optional] [default to undefined]
|
|
12
|
+
**recordWriteOutcome** | **string** | Present only when the owning direct-record command proves record/relationship persistence did not start. Does not imply no file-ingestion side effects or whole-request idempotency. | [optional] [default to undefined]
|
|
12
13
|
**stackTrace** | **string** | | [optional] [default to undefined]
|
|
13
14
|
**roles** | **Array<string>** | Roles the caller is missing when the failure is an authorization error. | [optional] [default to undefined]
|
|
14
15
|
**scopes** | **Array<string>** | Scopes the caller is missing when the failure is an authorization error. | [optional] [default to undefined]
|
|
@@ -23,6 +24,7 @@ const instance: ErrorResponse = {
|
|
|
23
24
|
message,
|
|
24
25
|
errors,
|
|
25
26
|
status,
|
|
27
|
+
recordWriteOutcome,
|
|
26
28
|
stackTrace,
|
|
27
29
|
roles,
|
|
28
30
|
scopes,
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**xproperty** | **string** | | [optional] [default to undefined]
|
|
9
8
|
**ymetric** | **string** | | [optional] [default to undefined]
|
|
10
9
|
**yproperty** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**xproperty** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**title** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**chartType** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**xProperty** | **string** | | [optional] [default to undefined]
|
|
@@ -20,9 +20,9 @@ Name | Type | Description | Notes
|
|
|
20
20
|
import { ExistingWidgetSummary } from '@caraer/client';
|
|
21
21
|
|
|
22
22
|
const instance: ExistingWidgetSummary = {
|
|
23
|
-
xproperty,
|
|
24
23
|
ymetric,
|
|
25
24
|
yproperty,
|
|
25
|
+
xproperty,
|
|
26
26
|
title,
|
|
27
27
|
chartType,
|
|
28
28
|
xProperty,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# FavoriteViewDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**object** | [**ObjectReferenceDTO**](ObjectReferenceDTO.md) | | [optional] [default to undefined]
|
|
9
|
+
**view** | [**NavigationViewDTO**](NavigationViewDTO.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { FavoriteViewDTO } from '@caraer/client';
|
|
15
|
+
|
|
16
|
+
const instance: FavoriteViewDTO = {
|
|
17
|
+
object,
|
|
18
|
+
view,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|