@caraer/client 2.0.381 → 2.0.382
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 +72 -1
- package/api.ts +7888 -2480
- package/apps.ts +122 -0
- package/dist/api.d.ts +3806 -637
- package/dist/api.js +6088 -1935
- package/dist/apps.d.ts +111 -0
- package/dist/apps.js +9 -0
- package/dist/esm/api.d.ts +3806 -637
- package/dist/esm/api.js +6019 -1883
- package/dist/esm/apps.d.ts +111 -0
- package/dist/esm/apps.js +8 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/docs/AdvancedRecordQueryPlan.md +50 -0
- package/docs/AdvancedRecordQueryRequest.md +43 -0
- package/docs/AdvancedRecordQueryResponse.md +39 -0
- package/docs/AdvancedRecordQueryResultItem.md +32 -0
- package/docs/AggregateBatchRequest.md +21 -0
- package/docs/AggregateRequest.md +43 -0
- package/docs/AnalyticsAxisConfig.md +32 -0
- package/docs/AnalyticsComparisonMetric.md +28 -0
- package/docs/AnalyticsDashboardConfig.md +24 -0
- package/docs/AnalyticsPropertyRef.md +24 -0
- package/docs/AnalyticsReferenceLine.md +24 -0
- package/docs/AnalyticsSeriesConfig.md +20 -0
- package/docs/AnalyticsTrendConfig.md +22 -0
- package/docs/AnalyticsWidgetConfig.md +54 -0
- package/docs/AnalyticsWidgetStyle.md +32 -0
- package/docs/AppConnectionStatusDTO.md +38 -0
- package/docs/AppDTO.md +19 -1
- package/docs/AppExternalOAuthProviderDTO.md +59 -0
- package/docs/AppExternalOAuthProviderSummaryDTO.md +27 -0
- package/docs/AppInboundRouteDTO.md +49 -0
- package/docs/AppInstallationRuntimeApi.md +764 -0
- package/docs/AppOAuthStartResponseDTO.md +20 -0
- package/docs/AppPublishDTO.md +1 -1
- package/docs/AppScheduleDTO.md +47 -0
- package/docs/AppSettingFieldSchema.md +4 -0
- package/docs/AppSettingOptionsSource.md +2 -0
- package/docs/ApplicationsApi.md +228 -0
- package/docs/BillingApi.md +101 -0
- package/docs/BulkDeleteRecordsData.md +21 -0
- package/docs/BulkDeleteRecordsRequest.md +23 -0
- package/docs/BulkDeleteRecordsResponse.md +25 -0
- package/docs/BulkEditRecordErrorItem.md +27 -0
- package/docs/BulkEditRecordItem.md +25 -0
- package/docs/BulkEditRecordResultItem.md +25 -0
- package/docs/BulkEditRecordsData.md +21 -0
- package/docs/BulkEditRecordsRequest.md +21 -0
- package/docs/BulkEditRecordsResponse.md +25 -0
- package/docs/CompanyApi.md +157 -0
- package/docs/CreateDeveloperProjectRequest.md +25 -0
- package/docs/CreateDeveloperSandboxRequest.md +23 -0
- package/docs/CreatePrivateAppRequest.md +4 -0
- package/docs/CreateProjectBuildRequest.md +29 -0
- package/docs/CreateResponseAppExternalOAuthProviderDTO.md +23 -0
- package/docs/CreateResponseAppInboundRouteDTO.md +23 -0
- package/docs/CreateResponseAppScheduleDTO.md +23 -0
- package/docs/CriterionScore.md +30 -0
- package/docs/CrossObjectRecordSearchRequest.md +37 -0
- package/docs/DeleteResponseVoid.md +23 -0
- package/docs/DeployBuildRequest.md +23 -0
- package/docs/DeveloperProjectsApi.md +387 -0
- package/docs/DeveloperSandboxesApi.md +158 -0
- package/docs/DeviceApproveRequest.md +21 -0
- package/docs/DevicePollRequest.md +21 -0
- package/docs/ErrorResponse.md +2 -0
- package/docs/EventRsvpRequest.md +22 -0
- package/docs/ExistingWidgetSummary.md +34 -0
- package/docs/{MorphRecordRequest.md → ExtendRecordRequest.md} +5 -5
- package/docs/FilterItem.md +4 -0
- package/docs/GraphPathEvidence.md +28 -0
- package/docs/GraphTraversalSpec.md +32 -0
- package/docs/Leadscore.md +4 -0
- package/docs/MigrateAppToV2Request.md +21 -0
- package/docs/ObjectsApi.md +6 -6
- package/docs/PreviewDTO.md +2 -0
- package/docs/Progress.md +20 -0
- package/docs/PropertyDTO.md +4 -0
- package/docs/PropertyDTOFormat.md +2 -0
- package/docs/PropertyOption.md +2 -0
- package/docs/QueryEvidence.md +40 -0
- package/docs/Record.md +2 -2
- package/docs/RecordDTO.md +1 -1
- package/docs/RecordRelationRequestDTO.md +2 -0
- package/docs/RecordsApi.md +671 -75
- package/docs/Recurrence.md +18 -0
- package/docs/RefreshTokenRequest.md +21 -0
- package/docs/RelationEdgeRequestDTO.md +23 -0
- package/docs/SamplePayloadRequest.md +23 -0
- package/docs/SavePropertyDTO.md +5 -1
- package/docs/ScoreBreakdown.md +34 -0
- package/docs/ServerlessFunctionDTO.md +2 -0
- package/docs/ServerlessFunctionRefDTO.md +25 -0
- package/docs/ServerlessFunctionsApi.md +184 -8
- package/docs/ShowItem.md +2 -0
- package/docs/ShowResponseAppExternalOAuthProviderDTO.md +23 -0
- package/docs/ShowResponseAppInboundRouteDTO.md +23 -0
- package/docs/ShowResponseAppOAuthStartResponseDTO.md +23 -0
- package/docs/ShowResponseAppScheduleDTO.md +23 -0
- package/docs/ShowResponseListAppConnectionStatusDTO.md +23 -0
- package/docs/ShowResponseListString.md +23 -0
- package/docs/ShowResponseMapStringObject.md +23 -0
- package/docs/ShowResponseObject.md +23 -0
- package/docs/SortItem.md +2 -0
- package/docs/SuccessResponseListAppExternalOAuthProviderDTO.md +23 -0
- package/docs/SuccessResponseListAppInboundRouteDTO.md +23 -0
- package/docs/SuccessResponseListAppScheduleDTO.md +23 -0
- package/docs/SuggestAnalyticsWidgetsRequest.md +24 -0
- package/docs/Team.md +2 -2
- package/docs/TraitsApi.md +272 -0
- package/docs/UserRecordResponseDTO.md +1 -1
- package/docs/ViewDTO.md +12 -0
- package/index.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hand-written serverless / installation payload helpers for Caraer apps.
|
|
3
|
+
*
|
|
4
|
+
* Preserved across OpenAPI regeneration (see `.openapi-generator-ignore` and
|
|
5
|
+
* `scripts/client-overlays/` in the Caraer backend). Prefer these over
|
|
6
|
+
* per-app `caraer apps typegen` output.
|
|
7
|
+
*/
|
|
8
|
+
/** Installation settings field as delivered in lifecycle / webhook bodies. */
|
|
9
|
+
export interface SettingFieldValue {
|
|
10
|
+
name: string;
|
|
11
|
+
label?: string;
|
|
12
|
+
type?: string;
|
|
13
|
+
value?: unknown;
|
|
14
|
+
defaultValue?: unknown;
|
|
15
|
+
hasValue?: boolean;
|
|
16
|
+
}
|
|
17
|
+
/** Approximate lifecycle hook body (install / update / uninstall / rotate). */
|
|
18
|
+
export interface LifecyclePayload {
|
|
19
|
+
event?: "Installed" | "Updated" | "Uninstalled" | "Rotated" | string;
|
|
20
|
+
timestamp?: number;
|
|
21
|
+
appUuid?: string;
|
|
22
|
+
appName?: string;
|
|
23
|
+
appLabel?: string;
|
|
24
|
+
privateApp?: boolean;
|
|
25
|
+
authMethod?: "OAUTH2" | "API_KEY" | string;
|
|
26
|
+
userUuid?: string;
|
|
27
|
+
companyUuid?: string;
|
|
28
|
+
installationToken?: string;
|
|
29
|
+
caraerApiBase?: string;
|
|
30
|
+
oauthConnected?: boolean;
|
|
31
|
+
settingsSchema?: SettingFieldValue[];
|
|
32
|
+
scopes?: string[];
|
|
33
|
+
settingsChanged?: boolean;
|
|
34
|
+
scopesChanged?: boolean;
|
|
35
|
+
filtersChanged?: boolean;
|
|
36
|
+
[key: string]: unknown;
|
|
37
|
+
}
|
|
38
|
+
/** Record / domain webhook body (USER_FRIENDLY shape varies by topic). */
|
|
39
|
+
export interface WebhookPayload {
|
|
40
|
+
topic?: string;
|
|
41
|
+
event?: string;
|
|
42
|
+
timestamp?: number;
|
|
43
|
+
appUuid?: string;
|
|
44
|
+
companyUuid?: string;
|
|
45
|
+
installationToken?: string;
|
|
46
|
+
caraerApiBase?: string;
|
|
47
|
+
record?: Record<string, unknown>;
|
|
48
|
+
objectName?: string;
|
|
49
|
+
settingsSchema?: SettingFieldValue[];
|
|
50
|
+
[key: string]: unknown;
|
|
51
|
+
}
|
|
52
|
+
/** Cron / schedule invocation body. */
|
|
53
|
+
export interface SchedulePayload {
|
|
54
|
+
scheduleName?: string;
|
|
55
|
+
name?: string;
|
|
56
|
+
appUuid?: string;
|
|
57
|
+
companyUuid?: string;
|
|
58
|
+
installationToken?: string;
|
|
59
|
+
caraerApiBase?: string;
|
|
60
|
+
scheduledAt?: string | number;
|
|
61
|
+
settingsSchema?: SettingFieldValue[];
|
|
62
|
+
[key: string]: unknown;
|
|
63
|
+
}
|
|
64
|
+
/** Inbound HTTP route body (provider-specific; wrapped by the platform). */
|
|
65
|
+
export interface InboundPayload {
|
|
66
|
+
appUuid?: string;
|
|
67
|
+
companyUuid?: string;
|
|
68
|
+
installationToken?: string;
|
|
69
|
+
caraerApiBase?: string;
|
|
70
|
+
routeName?: string;
|
|
71
|
+
body?: unknown;
|
|
72
|
+
headers?: Record<string, string>;
|
|
73
|
+
[key: string]: unknown;
|
|
74
|
+
}
|
|
75
|
+
/** Async installation job payload (function receives this as req.body). */
|
|
76
|
+
export interface JobPayload {
|
|
77
|
+
jobId?: string;
|
|
78
|
+
functionName?: string;
|
|
79
|
+
appUuid?: string;
|
|
80
|
+
companyUuid?: string;
|
|
81
|
+
installationToken?: string;
|
|
82
|
+
caraerApiBase?: string;
|
|
83
|
+
[key: string]: unknown;
|
|
84
|
+
}
|
|
85
|
+
/** Installation state document (arbitrary JSON map). */
|
|
86
|
+
export type InstallationState = Record<string, unknown>;
|
|
87
|
+
/** Installation secrets map (values are strings when readable). */
|
|
88
|
+
export type InstallationSecrets = Record<string, string>;
|
|
89
|
+
/** POST /installation/jobs request body. */
|
|
90
|
+
export interface EnqueueJobRequest {
|
|
91
|
+
functionName: string;
|
|
92
|
+
payload?: Record<string, unknown>;
|
|
93
|
+
delaySeconds?: number;
|
|
94
|
+
}
|
|
95
|
+
/** Installation job status document. */
|
|
96
|
+
export interface InstallationJob {
|
|
97
|
+
jobId: string;
|
|
98
|
+
status: "QUEUED" | "RUNNING" | "SUCCEEDED" | "FAILED" | string;
|
|
99
|
+
functionName?: string;
|
|
100
|
+
payload?: Record<string, unknown>;
|
|
101
|
+
result?: unknown;
|
|
102
|
+
error?: string;
|
|
103
|
+
createdAt?: string | number;
|
|
104
|
+
updatedAt?: string | number;
|
|
105
|
+
[key: string]: unknown;
|
|
106
|
+
}
|
|
107
|
+
/** Wrapper returned by many Caraer API endpoints. */
|
|
108
|
+
export interface ApiSuccess<T = unknown> {
|
|
109
|
+
message?: string;
|
|
110
|
+
data?: T;
|
|
111
|
+
}
|
package/dist/esm/apps.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hand-written serverless / installation payload helpers for Caraer apps.
|
|
3
|
+
*
|
|
4
|
+
* Preserved across OpenAPI regeneration (see `.openapi-generator-ignore` and
|
|
5
|
+
* `scripts/client-overlays/` in the Caraer backend). Prefer these over
|
|
6
|
+
* per-app `caraer apps typegen` output.
|
|
7
|
+
*/
|
|
8
|
+
export {};
|
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -29,3 +29,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
__exportStar(require("./api"), exports);
|
|
31
31
|
__exportStar(require("./configuration"), exports);
|
|
32
|
+
__exportStar(require("./apps"), exports);
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# AdvancedRecordQueryPlan
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**version** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**mainObject** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**mainObjects** | **Array<string>** | | [optional] [default to undefined]
|
|
11
|
+
**query** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**filter** | [**Filter**](Filter.md) | | [optional] [default to undefined]
|
|
13
|
+
**sort** | [**Set<SortItem>**](SortItem.md) | | [optional] [default to undefined]
|
|
14
|
+
**show** | [**Set<ShowItem>**](ShowItem.md) | | [optional] [default to undefined]
|
|
15
|
+
**strategy** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**anchorRecordUuid** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**criteria** | **Array<string>** | | [optional] [default to undefined]
|
|
18
|
+
**graphTraversals** | [**Array<GraphTraversalSpec>**](GraphTraversalSpec.md) | | [optional] [default to undefined]
|
|
19
|
+
**scoreWeights** | **{ [key: string]: number; }** | | [optional] [default to undefined]
|
|
20
|
+
**includeEvidence** | **boolean** | | [optional] [default to undefined]
|
|
21
|
+
**maxTraversalDepth** | **number** | | [optional] [default to undefined]
|
|
22
|
+
**page** | **number** | | [optional] [default to undefined]
|
|
23
|
+
**limit** | **number** | | [optional] [default to undefined]
|
|
24
|
+
|
|
25
|
+
## Example
|
|
26
|
+
|
|
27
|
+
```typescript
|
|
28
|
+
import { AdvancedRecordQueryPlan } from '@caraer/client';
|
|
29
|
+
|
|
30
|
+
const instance: AdvancedRecordQueryPlan = {
|
|
31
|
+
version,
|
|
32
|
+
mainObject,
|
|
33
|
+
mainObjects,
|
|
34
|
+
query,
|
|
35
|
+
filter,
|
|
36
|
+
sort,
|
|
37
|
+
show,
|
|
38
|
+
strategy,
|
|
39
|
+
anchorRecordUuid,
|
|
40
|
+
criteria,
|
|
41
|
+
graphTraversals,
|
|
42
|
+
scoreWeights,
|
|
43
|
+
includeEvidence,
|
|
44
|
+
maxTraversalDepth,
|
|
45
|
+
page,
|
|
46
|
+
limit,
|
|
47
|
+
};
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
[[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,43 @@
|
|
|
1
|
+
# AdvancedRecordQueryRequest
|
|
2
|
+
|
|
3
|
+
Advanced record query. Provide either question or plan, not both.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**question** | **string** | Natural-language question to plan and execute. | [optional] [default to undefined]
|
|
10
|
+
**plan** | [**AdvancedRecordQueryPlan**](AdvancedRecordQueryPlan.md) | Validated declarative query plan. | [optional] [default to undefined]
|
|
11
|
+
**mainObject** | **string** | Optional main object hint. Use mainObjects for multi-type queries. | [optional] [default to undefined]
|
|
12
|
+
**mainObjects** | **Array<string>** | Optional object list for multi-type queries (e.g. candidate and vacancy together). | [optional] [default to undefined]
|
|
13
|
+
**strategy** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**page** | **number** | | [optional] [default to undefined]
|
|
15
|
+
**limit** | **number** | | [optional] [default to undefined]
|
|
16
|
+
**preview** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**parse** | **any** | | [optional] [default to undefined]
|
|
18
|
+
**archived** | **boolean** | | [optional] [default to undefined]
|
|
19
|
+
**explain** | **boolean** | When true, include normalized plan, scores, and evidence. | [optional] [default to undefined]
|
|
20
|
+
**recordReturnFormat** | **string** | | [optional] [default to undefined]
|
|
21
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import { AdvancedRecordQueryRequest } from '@caraer/client';
|
|
26
|
+
|
|
27
|
+
const instance: AdvancedRecordQueryRequest = {
|
|
28
|
+
question,
|
|
29
|
+
plan,
|
|
30
|
+
mainObject,
|
|
31
|
+
mainObjects,
|
|
32
|
+
strategy,
|
|
33
|
+
page,
|
|
34
|
+
limit,
|
|
35
|
+
preview,
|
|
36
|
+
parse,
|
|
37
|
+
archived,
|
|
38
|
+
explain,
|
|
39
|
+
recordReturnFormat,
|
|
40
|
+
};
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
[[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,39 @@
|
|
|
1
|
+
# AdvancedRecordQueryResponse
|
|
2
|
+
|
|
3
|
+
Advanced record query response with scores and evidence.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**data** | **Array<any>** | | [optional] [default to undefined]
|
|
10
|
+
**results** | [**Array<AdvancedRecordQueryResultItem>**](AdvancedRecordQueryResultItem.md) | | [optional] [default to undefined]
|
|
11
|
+
**total** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**page** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**perPage** | **number** | | [optional] [default to undefined]
|
|
14
|
+
**lastPage** | **number** | | [optional] [default to undefined]
|
|
15
|
+
**plan** | [**AdvancedRecordQueryPlan**](AdvancedRecordQueryPlan.md) | | [optional] [default to undefined]
|
|
16
|
+
**confidence** | **number** | | [optional] [default to undefined]
|
|
17
|
+
**warnings** | **Array<string>** | | [optional] [default to undefined]
|
|
18
|
+
**diagnostics** | **{ [key: string]: any | null; }** | | [optional] [default to undefined]
|
|
19
|
+
|
|
20
|
+
## Example
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import { AdvancedRecordQueryResponse } from '@caraer/client';
|
|
24
|
+
|
|
25
|
+
const instance: AdvancedRecordQueryResponse = {
|
|
26
|
+
data,
|
|
27
|
+
results,
|
|
28
|
+
total,
|
|
29
|
+
page,
|
|
30
|
+
perPage,
|
|
31
|
+
lastPage,
|
|
32
|
+
plan,
|
|
33
|
+
confidence,
|
|
34
|
+
warnings,
|
|
35
|
+
diagnostics,
|
|
36
|
+
};
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
[[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,32 @@
|
|
|
1
|
+
# AdvancedRecordQueryResultItem
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**record** | **any** | | [optional] [default to undefined]
|
|
9
|
+
**recordUuid** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**objectName** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**scores** | [**ScoreBreakdown**](ScoreBreakdown.md) | | [optional] [default to undefined]
|
|
12
|
+
**criteria** | [**Array<CriterionScore>**](CriterionScore.md) | | [optional] [default to undefined]
|
|
13
|
+
**supportingEvidence** | [**Array<QueryEvidence>**](QueryEvidence.md) | | [optional] [default to undefined]
|
|
14
|
+
**contradictingEvidence** | [**Array<QueryEvidence>**](QueryEvidence.md) | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { AdvancedRecordQueryResultItem } from '@caraer/client';
|
|
20
|
+
|
|
21
|
+
const instance: AdvancedRecordQueryResultItem = {
|
|
22
|
+
record,
|
|
23
|
+
recordUuid,
|
|
24
|
+
objectName,
|
|
25
|
+
scores,
|
|
26
|
+
criteria,
|
|
27
|
+
supportingEvidence,
|
|
28
|
+
contradictingEvidence,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[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,21 @@
|
|
|
1
|
+
# AggregateBatchRequest
|
|
2
|
+
|
|
3
|
+
Batch aggregation request for loading a dashboard.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**requests** | [**Array<AggregateRequest>**](AggregateRequest.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { AggregateBatchRequest } from '@caraer/client';
|
|
15
|
+
|
|
16
|
+
const instance: AggregateBatchRequest = {
|
|
17
|
+
requests,
|
|
18
|
+
};
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
[[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,43 @@
|
|
|
1
|
+
# AggregateRequest
|
|
2
|
+
|
|
3
|
+
Aggregation request for analytics charts over Neo4j records.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**xaxis** | [**AnalyticsAxisConfig**](AnalyticsAxisConfig.md) | | [optional] [default to undefined]
|
|
10
|
+
**yaxis** | [**AnalyticsAxisConfig**](AnalyticsAxisConfig.md) | | [optional] [default to undefined]
|
|
11
|
+
**id** | **string** | Optional client widget id, echoed in batch responses. | [optional] [default to undefined]
|
|
12
|
+
**mainObject** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**filter** | [**Filter**](Filter.md) | | [optional] [default to undefined]
|
|
14
|
+
**query** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**xAxis** | [**AnalyticsAxisConfig**](AnalyticsAxisConfig.md) | | [optional] [default to undefined]
|
|
16
|
+
**yAxis** | [**AnalyticsAxisConfig**](AnalyticsAxisConfig.md) | | [optional] [default to undefined]
|
|
17
|
+
**series** | [**AnalyticsSeriesConfig**](AnalyticsSeriesConfig.md) | | [optional] [default to undefined]
|
|
18
|
+
**limit** | **number** | Optional top-N series limit. For additive metrics (count, countDistinct, sum), keeps the N series with the highest total Y. Null or <= 0 means no truncation. | [optional] [default to undefined]
|
|
19
|
+
**sort** | **string** | | [optional] [default to undefined]
|
|
20
|
+
**excludeEmptyValues** | **boolean** | When true, omit null/blank/(empty) category buckets from the response. Useful for bar and pie charts grouped by optional properties. | [optional] [default to undefined]
|
|
21
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import { AggregateRequest } from '@caraer/client';
|
|
26
|
+
|
|
27
|
+
const instance: AggregateRequest = {
|
|
28
|
+
xaxis,
|
|
29
|
+
yaxis,
|
|
30
|
+
id,
|
|
31
|
+
mainObject,
|
|
32
|
+
filter,
|
|
33
|
+
query,
|
|
34
|
+
xAxis,
|
|
35
|
+
yAxis,
|
|
36
|
+
series,
|
|
37
|
+
limit,
|
|
38
|
+
sort,
|
|
39
|
+
excludeEmptyValues,
|
|
40
|
+
};
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
[[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,32 @@
|
|
|
1
|
+
# AnalyticsAxisConfig
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**property** | [**AnalyticsPropertyRef**](AnalyticsPropertyRef.md) | | [optional] [default to undefined]
|
|
9
|
+
**timeBucket** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**timeZone** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**windowDays** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**binCount** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**metric** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**label** | **string** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { AnalyticsAxisConfig } from '@caraer/client';
|
|
20
|
+
|
|
21
|
+
const instance: AnalyticsAxisConfig = {
|
|
22
|
+
property,
|
|
23
|
+
timeBucket,
|
|
24
|
+
timeZone,
|
|
25
|
+
windowDays,
|
|
26
|
+
binCount,
|
|
27
|
+
metric,
|
|
28
|
+
label,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[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
|
+
# AnalyticsComparisonMetric
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**key** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**label** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**mainObject** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**filter** | [**Filter**](Filter.md) | | [optional] [default to undefined]
|
|
12
|
+
**yAxis** | [**AnalyticsAxisConfig**](AnalyticsAxisConfig.md) | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { AnalyticsComparisonMetric } from '@caraer/client';
|
|
18
|
+
|
|
19
|
+
const instance: AnalyticsComparisonMetric = {
|
|
20
|
+
key,
|
|
21
|
+
label,
|
|
22
|
+
mainObject,
|
|
23
|
+
filter,
|
|
24
|
+
yAxis,
|
|
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,24 @@
|
|
|
1
|
+
# AnalyticsDashboardConfig
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**version** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**columns** | **number** | | [optional] [default to undefined]
|
|
10
|
+
**widgets** | [**Array<AnalyticsWidgetConfig>**](AnalyticsWidgetConfig.md) | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { AnalyticsDashboardConfig } from '@caraer/client';
|
|
16
|
+
|
|
17
|
+
const instance: AnalyticsDashboardConfig = {
|
|
18
|
+
version,
|
|
19
|
+
columns,
|
|
20
|
+
widgets,
|
|
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
|
+
# AnalyticsPropertyRef
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**object** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**relation** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**propertyName** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { AnalyticsPropertyRef } from '@caraer/client';
|
|
16
|
+
|
|
17
|
+
const instance: AnalyticsPropertyRef = {
|
|
18
|
+
object,
|
|
19
|
+
relation,
|
|
20
|
+
propertyName,
|
|
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
|
+
# AnalyticsReferenceLine
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**value** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**label** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**color** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { AnalyticsReferenceLine } from '@caraer/client';
|
|
16
|
+
|
|
17
|
+
const instance: AnalyticsReferenceLine = {
|
|
18
|
+
value,
|
|
19
|
+
label,
|
|
20
|
+
color,
|
|
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,20 @@
|
|
|
1
|
+
# AnalyticsSeriesConfig
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**groupBy** | [**AnalyticsPropertyRef**](AnalyticsPropertyRef.md) | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { AnalyticsSeriesConfig } from '@caraer/client';
|
|
14
|
+
|
|
15
|
+
const instance: AnalyticsSeriesConfig = {
|
|
16
|
+
groupBy,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# AnalyticsTrendConfig
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**property** | [**AnalyticsPropertyRef**](AnalyticsPropertyRef.md) | | [optional] [default to undefined]
|
|
9
|
+
**windowDays** | **number** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { AnalyticsTrendConfig } from '@caraer/client';
|
|
15
|
+
|
|
16
|
+
const instance: AnalyticsTrendConfig = {
|
|
17
|
+
property,
|
|
18
|
+
windowDays,
|
|
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,54 @@
|
|
|
1
|
+
# AnalyticsWidgetConfig
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**title** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**chartType** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**mainObject** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**x** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**y** | **number** | | [optional] [default to undefined]
|
|
14
|
+
**w** | **number** | | [optional] [default to undefined]
|
|
15
|
+
**h** | **number** | | [optional] [default to undefined]
|
|
16
|
+
**filter** | [**Filter**](Filter.md) | | [optional] [default to undefined]
|
|
17
|
+
**xAxis** | [**AnalyticsAxisConfig**](AnalyticsAxisConfig.md) | | [optional] [default to undefined]
|
|
18
|
+
**yAxis** | [**AnalyticsAxisConfig**](AnalyticsAxisConfig.md) | | [optional] [default to undefined]
|
|
19
|
+
**series** | [**AnalyticsSeriesConfig**](AnalyticsSeriesConfig.md) | | [optional] [default to undefined]
|
|
20
|
+
**comparisonMetrics** | [**Array<AnalyticsComparisonMetric>**](AnalyticsComparisonMetric.md) | | [optional] [default to undefined]
|
|
21
|
+
**trend** | [**AnalyticsTrendConfig**](AnalyticsTrendConfig.md) | | [optional] [default to undefined]
|
|
22
|
+
**limit** | **number** | | [optional] [default to undefined]
|
|
23
|
+
**sort** | **string** | | [optional] [default to undefined]
|
|
24
|
+
**excludeEmptyValues** | **boolean** | | [optional] [default to undefined]
|
|
25
|
+
**style** | [**AnalyticsWidgetStyle**](AnalyticsWidgetStyle.md) | | [optional] [default to undefined]
|
|
26
|
+
|
|
27
|
+
## Example
|
|
28
|
+
|
|
29
|
+
```typescript
|
|
30
|
+
import { AnalyticsWidgetConfig } from '@caraer/client';
|
|
31
|
+
|
|
32
|
+
const instance: AnalyticsWidgetConfig = {
|
|
33
|
+
id,
|
|
34
|
+
title,
|
|
35
|
+
chartType,
|
|
36
|
+
mainObject,
|
|
37
|
+
x,
|
|
38
|
+
y,
|
|
39
|
+
w,
|
|
40
|
+
h,
|
|
41
|
+
filter,
|
|
42
|
+
xAxis,
|
|
43
|
+
yAxis,
|
|
44
|
+
series,
|
|
45
|
+
comparisonMetrics,
|
|
46
|
+
trend,
|
|
47
|
+
limit,
|
|
48
|
+
sort,
|
|
49
|
+
excludeEmptyValues,
|
|
50
|
+
style,
|
|
51
|
+
};
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
[[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,32 @@
|
|
|
1
|
+
# AnalyticsWidgetStyle
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**showLegend** | **boolean** | | [optional] [default to undefined]
|
|
9
|
+
**showGrid** | **boolean** | | [optional] [default to undefined]
|
|
10
|
+
**showValueLabels** | **boolean** | | [optional] [default to undefined]
|
|
11
|
+
**barOrientation** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**barGrouping** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**colors** | **{ [key: string]: string; }** | | [optional] [default to undefined]
|
|
14
|
+
**referenceLines** | [**Array<AnalyticsReferenceLine>**](AnalyticsReferenceLine.md) | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { AnalyticsWidgetStyle } from '@caraer/client';
|
|
20
|
+
|
|
21
|
+
const instance: AnalyticsWidgetStyle = {
|
|
22
|
+
showLegend,
|
|
23
|
+
showGrid,
|
|
24
|
+
showValueLabels,
|
|
25
|
+
barOrientation,
|
|
26
|
+
barGrouping,
|
|
27
|
+
colors,
|
|
28
|
+
referenceLines,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|