grexx-api 1.0.0 → 1.0.2
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/dist/generated/core/ApiError.d.ts +10 -0
- package/dist/generated/core/ApiRequestOptions.d.ts +13 -0
- package/dist/generated/core/ApiResult.d.ts +7 -0
- package/dist/generated/core/CancelablePromise.d.ts +20 -0
- package/dist/generated/core/OpenAPI.d.ts +16 -0
- package/dist/generated/core/request.d.ts +30 -0
- package/dist/generated/index.d.ts +67 -0
- package/dist/generated/models/AbstractCondition.d.ts +6 -0
- package/dist/generated/models/AbstractReference.d.ts +4 -0
- package/dist/generated/models/AbstractRule.d.ts +14 -0
- package/dist/generated/models/Activity.d.ts +1 -0
- package/dist/generated/models/AdditionalAggregateColumn.d.ts +15 -0
- package/dist/generated/models/AdditionalDataHistoryColumn.d.ts +12 -0
- package/dist/generated/models/AdditionalDerivedColumn.d.ts +19 -0
- package/dist/generated/models/AdditionalExternalColumn.d.ts +11 -0
- package/dist/generated/models/AdditionalGroupbyColumn.d.ts +13 -0
- package/dist/generated/models/AdditionalMetaColumn.d.ts +29 -0
- package/dist/generated/models/AdditionalTemplateColumn.d.ts +17 -0
- package/dist/generated/models/AnalyseDependency.d.ts +34 -0
- package/dist/generated/models/BaseMessage.d.ts +21 -0
- package/dist/generated/models/CaseReference.d.ts +4 -0
- package/dist/generated/models/CasetypeAttribute.d.ts +1 -0
- package/dist/generated/models/CasetypeCss.d.ts +5 -0
- package/dist/generated/models/CatchBlock.d.ts +1 -0
- package/dist/generated/models/CatchPattern.d.ts +3 -0
- package/dist/generated/models/ColumnId.d.ts +1 -0
- package/dist/generated/models/ColumnIdentifier.d.ts +6 -0
- package/dist/generated/models/ConditionList.d.ts +1 -0
- package/dist/generated/models/ConditionOperatorType.d.ts +22 -0
- package/dist/generated/models/CustomThrow.d.ts +1 -0
- package/dist/generated/models/Dataset.d.ts +1 -0
- package/dist/generated/models/DatasetColumn.d.ts +1 -0
- package/dist/generated/models/DatasetCondition.d.ts +1 -0
- package/dist/generated/models/DatasetResult.d.ts +15 -0
- package/dist/generated/models/FieldType.d.ts +12 -0
- package/dist/generated/models/FileUploadProfile.d.ts +1 -0
- package/dist/generated/models/ForEach.d.ts +1 -0
- package/dist/generated/models/FormAction.d.ts +1 -0
- package/dist/generated/models/FormActionInlineJavascript.d.ts +1 -0
- package/dist/generated/models/FormField.d.ts +1 -0
- package/dist/generated/models/FormFieldConditionList.d.ts +14 -0
- package/dist/generated/models/FormFieldNotCondition.d.ts +7 -0
- package/dist/generated/models/FormFieldSimpleCondition.d.ts +22 -0
- package/dist/generated/models/FormGroup.d.ts +1 -0
- package/dist/generated/models/GrexxComplexDatatype.d.ts +6 -0
- package/dist/generated/models/HasRoleCondition.d.ts +1 -0
- package/dist/generated/models/IfThenElse.d.ts +1 -0
- package/dist/generated/models/Instant.d.ts +1 -0
- package/dist/generated/models/InterfaceConditionListType.d.ts +4 -0
- package/dist/generated/models/MapStringObject.d.ts +1 -0
- package/dist/generated/models/Mapping.d.ts +1 -0
- package/dist/generated/models/NotCondition.d.ts +1 -0
- package/dist/generated/models/ParallelBlock.d.ts +1 -0
- package/dist/generated/models/Picklist.d.ts +1 -0
- package/dist/generated/models/PrimitiveType.d.ts +31 -0
- package/dist/generated/models/RequestContext.d.ts +1 -0
- package/dist/generated/models/ReturnTypeFlags.d.ts +14 -0
- package/dist/generated/models/RuleList.d.ts +1 -0
- package/dist/generated/models/SimpleCondition.d.ts +1 -0
- package/dist/generated/models/SortConfigSearchCondition.d.ts +19 -0
- package/dist/generated/models/SortConfigSearchList.d.ts +12 -0
- package/dist/generated/models/SortConfigSort.d.ts +11 -0
- package/dist/generated/models/Trigger.d.ts +1 -0
- package/dist/generated/models/TryBlock.d.ts +1 -0
- package/dist/generated/models/UUID.d.ts +1 -0
- package/dist/generated/models/UnversionedReference.d.ts +4 -0
- package/dist/generated/models/VersionedReference.d.ts +4 -0
- package/dist/generated/models/While.d.ts +1 -0
- package/dist/generated/services/CaseService.d.ts +512 -0
- package/dist/generated/services/CaseService.js +10 -10
- package/dist/generated/services/PlatformService.d.ts +15 -0
- package/openapi.yaml +4 -4
- package/package.json +7 -4
- package/src/generated/services/CaseService.ts +12 -12
- package/tsconfig.json +2 -1
- package/dist/api.js +0 -2508
- package/dist/base.js +0 -68
- package/dist/common.js +0 -161
- package/dist/configuration.js +0 -44
- package/dist/generated/api.js +0 -2448
- package/dist/generated/apis/CaseApi.js +0 -745
- package/dist/generated/apis/PlatformApi.js +0 -82
- package/dist/generated/apis/index.js +0 -20
- package/dist/generated/base.js +0 -71
- package/dist/generated/common.js +0 -145
- package/dist/generated/configuration.js +0 -104
- package/dist/generated/models/ActivityDirectSubmit200Response.js +0 -74
- package/dist/generated/models/CaseInfo200Response.js +0 -88
- package/dist/generated/models/CaseInfo200ResponseCasetype.js +0 -63
- package/dist/generated/models/CaseInfo200ResponseCasetypePlatformTheme.js +0 -84
- package/dist/generated/models/CaseInfo200ResponseCasetypePlatformThemeCssVariables.js +0 -98
- package/dist/generated/models/CaseInfo200ResponseCasetypeViewsInner.js +0 -96
- package/dist/generated/models/CaseInfo200ResponseRootlineInner.js +0 -52
- package/dist/generated/models/CasetypeAttributeCurrency.js +0 -48
- package/dist/generated/models/DatasetResultDatasetDefinition.js +0 -54
- package/dist/generated/models/DatasetResultDatasetDefinitionSortConfig.js +0 -50
- package/dist/generated/models/DatasetRetrieveRequest.js +0 -80
- package/dist/generated/models/DatasetRetrieveRequestAdditionalColumnsInner.js +0 -120
- package/dist/generated/models/DatasetRetrieveRequestSearch.js +0 -73
- package/dist/generated/models/DatasetRetrieveViaWidgetRequest.js +0 -86
- package/dist/generated/models/FormFieldMultitaskPlatformAttribute.js +0 -184
- package/dist/generated/models/FormFieldValueInner.js +0 -58
- package/dist/generated/models/FormRetrieve200Response.js +0 -95
- package/dist/generated/models/ModelRequestContext.js +0 -107
- package/dist/generated/models/PicklistTemplate.js +0 -78
- package/dist/generated/models/PlatformVersion200Response.js +0 -54
- package/dist/generated/models/SortConfigSearchConditionValueDatatype.js +0 -52
- package/dist/generated/models/TaskCreate200Response.js +0 -63
- package/dist/generated/models/TaskCreate200ResponseFormCondition.js +0 -79
- package/dist/generated/models/TaskCreateRequest.js +0 -74
- package/dist/generated/models/TaskCreateRequestAnyOf.js +0 -65
- package/dist/generated/models/TaskCreateRequestAnyOf1.js +0 -65
- package/dist/generated/models/TaskCreateRequestAnyOf2.js +0 -64
- package/dist/generated/models/TaskSubmitRequest.js +0 -71
- package/dist/generated/models/TaskSubmitRequestAnyOf.js +0 -67
- package/dist/generated/models/TaskSubmitRequestAnyOf1.js +0 -66
- package/dist/generated/models/TaskSubmitRequestAnyOf1FieldsInner.js +0 -56
- package/dist/generated/models/TaskSubmitRequestAnyOf2.js +0 -65
- package/dist/generated/models/index.js +0 -102
- package/dist/generated/runtime.js +0 -345
- package/dist/index.js +0 -31
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
2
|
+
import type { ApiResult } from './ApiResult';
|
|
3
|
+
export declare class ApiError extends Error {
|
|
4
|
+
readonly url: string;
|
|
5
|
+
readonly status: number;
|
|
6
|
+
readonly statusText: string;
|
|
7
|
+
readonly body: any;
|
|
8
|
+
readonly request: ApiRequestOptions;
|
|
9
|
+
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type ApiRequestOptions = {
|
|
2
|
+
readonly method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH';
|
|
3
|
+
readonly url: string;
|
|
4
|
+
readonly path?: Record<string, any>;
|
|
5
|
+
readonly cookies?: Record<string, any>;
|
|
6
|
+
readonly headers?: Record<string, any>;
|
|
7
|
+
readonly query?: Record<string, any>;
|
|
8
|
+
readonly formData?: Record<string, any>;
|
|
9
|
+
readonly body?: any;
|
|
10
|
+
readonly mediaType?: string;
|
|
11
|
+
readonly responseHeader?: string;
|
|
12
|
+
readonly errors?: Record<number, string>;
|
|
13
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare class CancelError extends Error {
|
|
2
|
+
constructor(message: string);
|
|
3
|
+
get isCancelled(): boolean;
|
|
4
|
+
}
|
|
5
|
+
export interface OnCancel {
|
|
6
|
+
readonly isResolved: boolean;
|
|
7
|
+
readonly isRejected: boolean;
|
|
8
|
+
readonly isCancelled: boolean;
|
|
9
|
+
(cancelHandler: () => void): void;
|
|
10
|
+
}
|
|
11
|
+
export declare class CancelablePromise<T> implements Promise<T> {
|
|
12
|
+
#private;
|
|
13
|
+
constructor(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void, onCancel: OnCancel) => void);
|
|
14
|
+
get [Symbol.toStringTag](): string;
|
|
15
|
+
then<TResult1 = T, TResult2 = never>(onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null, onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null): Promise<TResult1 | TResult2>;
|
|
16
|
+
catch<TResult = never>(onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null): Promise<T | TResult>;
|
|
17
|
+
finally(onFinally?: (() => void) | null): Promise<T>;
|
|
18
|
+
cancel(): void;
|
|
19
|
+
get isCancelled(): boolean;
|
|
20
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
2
|
+
type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;
|
|
3
|
+
type Headers = Record<string, string>;
|
|
4
|
+
export type OpenAPIConfig = {
|
|
5
|
+
BASE: string;
|
|
6
|
+
VERSION: string;
|
|
7
|
+
WITH_CREDENTIALS: boolean;
|
|
8
|
+
CREDENTIALS: 'include' | 'omit' | 'same-origin';
|
|
9
|
+
TOKEN?: string | Resolver<string> | undefined;
|
|
10
|
+
USERNAME?: string | Resolver<string> | undefined;
|
|
11
|
+
PASSWORD?: string | Resolver<string> | undefined;
|
|
12
|
+
HEADERS?: Headers | Resolver<Headers> | undefined;
|
|
13
|
+
ENCODE_PATH?: ((path: string) => string) | undefined;
|
|
14
|
+
};
|
|
15
|
+
export declare const OpenAPI: OpenAPIConfig;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
2
|
+
import type { ApiResult } from './ApiResult';
|
|
3
|
+
import { CancelablePromise } from './CancelablePromise';
|
|
4
|
+
import type { OnCancel } from './CancelablePromise';
|
|
5
|
+
import type { OpenAPIConfig } from './OpenAPI';
|
|
6
|
+
export declare const isDefined: <T>(value: T | null | undefined) => value is Exclude<T, null | undefined>;
|
|
7
|
+
export declare const isString: (value: any) => value is string;
|
|
8
|
+
export declare const isStringWithValue: (value: any) => value is string;
|
|
9
|
+
export declare const isBlob: (value: any) => value is Blob;
|
|
10
|
+
export declare const isFormData: (value: any) => value is FormData;
|
|
11
|
+
export declare const base64: (str: string) => string;
|
|
12
|
+
export declare const getQueryString: (params: Record<string, any>) => string;
|
|
13
|
+
export declare const getFormData: (options: ApiRequestOptions) => FormData | undefined;
|
|
14
|
+
type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;
|
|
15
|
+
export declare const resolve: <T>(options: ApiRequestOptions, resolver?: T | Resolver<T> | undefined) => Promise<T | undefined>;
|
|
16
|
+
export declare const getHeaders: (config: OpenAPIConfig, options: ApiRequestOptions) => Promise<Headers>;
|
|
17
|
+
export declare const getRequestBody: (options: ApiRequestOptions) => any;
|
|
18
|
+
export declare const sendRequest: (config: OpenAPIConfig, options: ApiRequestOptions, url: string, body: any, formData: FormData | undefined, headers: Headers, onCancel: OnCancel) => Promise<Response>;
|
|
19
|
+
export declare const getResponseHeader: (response: Response, responseHeader?: string) => string | undefined;
|
|
20
|
+
export declare const getResponseBody: (response: Response) => Promise<any>;
|
|
21
|
+
export declare const catchErrorCodes: (options: ApiRequestOptions, result: ApiResult) => void;
|
|
22
|
+
/**
|
|
23
|
+
* Request method
|
|
24
|
+
* @param config The OpenAPI configuration object
|
|
25
|
+
* @param options The request options from the service
|
|
26
|
+
* @returns CancelablePromise<T>
|
|
27
|
+
* @throws ApiError
|
|
28
|
+
*/
|
|
29
|
+
export declare const request: <T>(config: OpenAPIConfig, options: ApiRequestOptions) => CancelablePromise<T>;
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export { ApiError } from './core/ApiError';
|
|
2
|
+
export { CancelablePromise, CancelError } from './core/CancelablePromise';
|
|
3
|
+
export { OpenAPI } from './core/OpenAPI';
|
|
4
|
+
export type { OpenAPIConfig } from './core/OpenAPI';
|
|
5
|
+
export type { AbstractCondition } from './models/AbstractCondition';
|
|
6
|
+
export type { AbstractReference } from './models/AbstractReference';
|
|
7
|
+
export type { AbstractRule } from './models/AbstractRule';
|
|
8
|
+
export type { Activity } from './models/Activity';
|
|
9
|
+
export { AdditionalAggregateColumn } from './models/AdditionalAggregateColumn';
|
|
10
|
+
export { AdditionalDataHistoryColumn } from './models/AdditionalDataHistoryColumn';
|
|
11
|
+
export { AdditionalDerivedColumn } from './models/AdditionalDerivedColumn';
|
|
12
|
+
export { AdditionalExternalColumn } from './models/AdditionalExternalColumn';
|
|
13
|
+
export { AdditionalGroupbyColumn } from './models/AdditionalGroupbyColumn';
|
|
14
|
+
export { AdditionalMetaColumn } from './models/AdditionalMetaColumn';
|
|
15
|
+
export { AdditionalTemplateColumn } from './models/AdditionalTemplateColumn';
|
|
16
|
+
export type { AnalyseDependency } from './models/AnalyseDependency';
|
|
17
|
+
export { BaseMessage } from './models/BaseMessage';
|
|
18
|
+
export type { CaseReference } from './models/CaseReference';
|
|
19
|
+
export type { CasetypeAttribute } from './models/CasetypeAttribute';
|
|
20
|
+
export type { CasetypeCss } from './models/CasetypeCss';
|
|
21
|
+
export type { CatchBlock } from './models/CatchBlock';
|
|
22
|
+
export { CatchPattern } from './models/CatchPattern';
|
|
23
|
+
export type { ColumnId } from './models/ColumnId';
|
|
24
|
+
export { ColumnIdentifier } from './models/ColumnIdentifier';
|
|
25
|
+
export type { ConditionList } from './models/ConditionList';
|
|
26
|
+
export { ConditionOperatorType } from './models/ConditionOperatorType';
|
|
27
|
+
export type { CustomThrow } from './models/CustomThrow';
|
|
28
|
+
export type { Dataset } from './models/Dataset';
|
|
29
|
+
export type { DatasetColumn } from './models/DatasetColumn';
|
|
30
|
+
export type { DatasetCondition } from './models/DatasetCondition';
|
|
31
|
+
export type { DatasetResult } from './models/DatasetResult';
|
|
32
|
+
export { FieldType } from './models/FieldType';
|
|
33
|
+
export type { FileUploadProfile } from './models/FileUploadProfile';
|
|
34
|
+
export type { ForEach } from './models/ForEach';
|
|
35
|
+
export type { FormAction } from './models/FormAction';
|
|
36
|
+
export type { FormActionInlineJavascript } from './models/FormActionInlineJavascript';
|
|
37
|
+
export type { FormField } from './models/FormField';
|
|
38
|
+
export { FormFieldConditionList } from './models/FormFieldConditionList';
|
|
39
|
+
export type { FormFieldNotCondition } from './models/FormFieldNotCondition';
|
|
40
|
+
export { FormFieldSimpleCondition } from './models/FormFieldSimpleCondition';
|
|
41
|
+
export type { FormGroup } from './models/FormGroup';
|
|
42
|
+
export type { GrexxComplexDatatype } from './models/GrexxComplexDatatype';
|
|
43
|
+
export type { HasRoleCondition } from './models/HasRoleCondition';
|
|
44
|
+
export type { IfThenElse } from './models/IfThenElse';
|
|
45
|
+
export type { Instant } from './models/Instant';
|
|
46
|
+
export { InterfaceConditionListType } from './models/InterfaceConditionListType';
|
|
47
|
+
export type { Mapping } from './models/Mapping';
|
|
48
|
+
export type { MapStringObject } from './models/MapStringObject';
|
|
49
|
+
export type { NotCondition } from './models/NotCondition';
|
|
50
|
+
export type { ParallelBlock } from './models/ParallelBlock';
|
|
51
|
+
export type { Picklist } from './models/Picklist';
|
|
52
|
+
export { PrimitiveType } from './models/PrimitiveType';
|
|
53
|
+
export type { RequestContext } from './models/RequestContext';
|
|
54
|
+
export { ReturnTypeFlags } from './models/ReturnTypeFlags';
|
|
55
|
+
export type { RuleList } from './models/RuleList';
|
|
56
|
+
export type { SimpleCondition } from './models/SimpleCondition';
|
|
57
|
+
export { SortConfigSearchCondition } from './models/SortConfigSearchCondition';
|
|
58
|
+
export { SortConfigSearchList } from './models/SortConfigSearchList';
|
|
59
|
+
export { SortConfigSort } from './models/SortConfigSort';
|
|
60
|
+
export type { Trigger } from './models/Trigger';
|
|
61
|
+
export type { TryBlock } from './models/TryBlock';
|
|
62
|
+
export type { UnversionedReference } from './models/UnversionedReference';
|
|
63
|
+
export type { UUID } from './models/UUID';
|
|
64
|
+
export type { VersionedReference } from './models/VersionedReference';
|
|
65
|
+
export type { While } from './models/While';
|
|
66
|
+
export { CaseService } from './services/CaseService';
|
|
67
|
+
export { PlatformService } from './services/PlatformService';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ConditionList } from './ConditionList';
|
|
2
|
+
import type { DatasetCondition } from './DatasetCondition';
|
|
3
|
+
import type { HasRoleCondition } from './HasRoleCondition';
|
|
4
|
+
import type { NotCondition } from './NotCondition';
|
|
5
|
+
import type { SimpleCondition } from './SimpleCondition';
|
|
6
|
+
export type AbstractCondition = (ConditionList | DatasetCondition | HasRoleCondition | NotCondition | SimpleCondition);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { CatchBlock } from './CatchBlock';
|
|
2
|
+
import type { CustomThrow } from './CustomThrow';
|
|
3
|
+
import type { ForEach } from './ForEach';
|
|
4
|
+
import type { FormAction } from './FormAction';
|
|
5
|
+
import type { FormActionInlineJavascript } from './FormActionInlineJavascript';
|
|
6
|
+
import type { IfThenElse } from './IfThenElse';
|
|
7
|
+
import type { Mapping } from './Mapping';
|
|
8
|
+
import type { ParallelBlock } from './ParallelBlock';
|
|
9
|
+
import type { RequestContext } from './RequestContext';
|
|
10
|
+
import type { RuleList } from './RuleList';
|
|
11
|
+
import type { Trigger } from './Trigger';
|
|
12
|
+
import type { TryBlock } from './TryBlock';
|
|
13
|
+
import type { While } from './While';
|
|
14
|
+
export type AbstractRule = (CatchBlock | CustomThrow | ForEach | FormAction | FormActionInlineJavascript | IfThenElse | Mapping | ParallelBlock | RequestContext | RuleList | Trigger | TryBlock | While);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Activity = {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ColumnId } from './ColumnId';
|
|
2
|
+
export type AdditionalAggregateColumn = {
|
|
3
|
+
alias?: string;
|
|
4
|
+
allowHtmlAlways?: boolean;
|
|
5
|
+
datatype?: string;
|
|
6
|
+
externalReference?: string;
|
|
7
|
+
operator?: string;
|
|
8
|
+
parentColumn?: ColumnId;
|
|
9
|
+
type?: AdditionalAggregateColumn.type;
|
|
10
|
+
};
|
|
11
|
+
export declare namespace AdditionalAggregateColumn {
|
|
12
|
+
enum type {
|
|
13
|
+
AGGREGATED = "aggregated"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type AdditionalDataHistoryColumn = {
|
|
2
|
+
alias?: string;
|
|
3
|
+
allowHtmlAlways?: boolean;
|
|
4
|
+
externalReference?: string;
|
|
5
|
+
metaname: string;
|
|
6
|
+
type?: AdditionalDataHistoryColumn.type;
|
|
7
|
+
};
|
|
8
|
+
export declare namespace AdditionalDataHistoryColumn {
|
|
9
|
+
enum type {
|
|
10
|
+
DATA_HISTORY = "dataHistory"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { AbstractReference } from './AbstractReference';
|
|
2
|
+
export type AdditionalDerivedColumn = {
|
|
3
|
+
alias?: string;
|
|
4
|
+
allowHtmlAlways?: boolean;
|
|
5
|
+
columnID: AbstractReference;
|
|
6
|
+
derivation: AdditionalDerivedColumn.derivation;
|
|
7
|
+
externalReference?: string;
|
|
8
|
+
type?: AdditionalDerivedColumn.type;
|
|
9
|
+
};
|
|
10
|
+
export declare namespace AdditionalDerivedColumn {
|
|
11
|
+
enum derivation {
|
|
12
|
+
PICKLISTLABEL = "PICKLISTLABEL",
|
|
13
|
+
FASTPICKLISTLABEL = "FASTPICKLISTLABEL",
|
|
14
|
+
REFERENCE = "REFERENCE"
|
|
15
|
+
}
|
|
16
|
+
enum type {
|
|
17
|
+
DERIVED = "derived"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type AdditionalExternalColumn = {
|
|
2
|
+
alias?: string;
|
|
3
|
+
allowHtmlAlways?: boolean;
|
|
4
|
+
externalReference?: string;
|
|
5
|
+
type?: AdditionalExternalColumn.type;
|
|
6
|
+
};
|
|
7
|
+
export declare namespace AdditionalExternalColumn {
|
|
8
|
+
enum type {
|
|
9
|
+
EXTERNAL = "external"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ColumnId } from './ColumnId';
|
|
2
|
+
export type AdditionalGroupbyColumn = {
|
|
3
|
+
alias?: string;
|
|
4
|
+
allowHtmlAlways?: boolean;
|
|
5
|
+
externalReference?: string;
|
|
6
|
+
parentColumn?: ColumnId;
|
|
7
|
+
type?: AdditionalGroupbyColumn.type;
|
|
8
|
+
};
|
|
9
|
+
export declare namespace AdditionalGroupbyColumn {
|
|
10
|
+
enum type {
|
|
11
|
+
GROUPBY = "groupby"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export type AdditionalMetaColumn = {
|
|
2
|
+
alias?: string;
|
|
3
|
+
allowHtmlAlways?: boolean;
|
|
4
|
+
externalReference?: string;
|
|
5
|
+
fieldtype: AdditionalMetaColumn.fieldtype;
|
|
6
|
+
metaname: string;
|
|
7
|
+
type?: AdditionalMetaColumn.type;
|
|
8
|
+
};
|
|
9
|
+
export declare namespace AdditionalMetaColumn {
|
|
10
|
+
enum fieldtype {
|
|
11
|
+
CASE_DATA = "caseData",
|
|
12
|
+
CASE_META_DATA = "caseMetaData",
|
|
13
|
+
INLINE_TEMPLATE = "inlineTemplate",
|
|
14
|
+
VALUE = "value",
|
|
15
|
+
TASK_META_DATA = "taskMetaData",
|
|
16
|
+
TASKQUEUE_META_DATA = "taskqueueMetaData",
|
|
17
|
+
ACTIVITY_METADATA = "activityMetadata",
|
|
18
|
+
EXTERNAL = "external",
|
|
19
|
+
DATA_HISTORY = "dataHistory",
|
|
20
|
+
PLATFORM_ATTRIBUTE = "platformAttribute",
|
|
21
|
+
CASE_META_ID = "caseMetaId",
|
|
22
|
+
JOIN_DATASET1 = "joinDataset1",
|
|
23
|
+
JOIN_DATASET2 = "joinDataset2",
|
|
24
|
+
TESTING = "testing"
|
|
25
|
+
}
|
|
26
|
+
enum type {
|
|
27
|
+
META = "meta"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { AbstractReference } from './AbstractReference';
|
|
2
|
+
export type AdditionalTemplateColumn = {
|
|
3
|
+
alias?: string;
|
|
4
|
+
allowHtmlAlways?: boolean;
|
|
5
|
+
externalReference?: string;
|
|
6
|
+
/**
|
|
7
|
+
* An inline template
|
|
8
|
+
*/
|
|
9
|
+
template?: Record<string, any>;
|
|
10
|
+
templateID?: AbstractReference;
|
|
11
|
+
type?: AdditionalTemplateColumn.type;
|
|
12
|
+
};
|
|
13
|
+
export declare namespace AdditionalTemplateColumn {
|
|
14
|
+
enum type {
|
|
15
|
+
TEMPLATE = "template"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export type AnalyseDependency = {
|
|
2
|
+
/**
|
|
3
|
+
* For example current case, user, pages and cases dataset
|
|
4
|
+
*/
|
|
5
|
+
anyCase?: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* For example the casedata, casemeta, but also task data.
|
|
8
|
+
*/
|
|
9
|
+
currentCase?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* For example current date and temporary files
|
|
12
|
+
*/
|
|
13
|
+
date?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* For example the foreach.currentcase, foreach.currentrow
|
|
16
|
+
*/
|
|
17
|
+
foreach?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* For example random strings and random numbers
|
|
20
|
+
*/
|
|
21
|
+
random?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* For example root caseid of the url of the request
|
|
24
|
+
*/
|
|
25
|
+
requestContext?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Dependency analyse was incomplete. Possibly there was an error, possibly not implemented, possibly to hard to determine.
|
|
28
|
+
*/
|
|
29
|
+
unknown?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* For example currentusercase and usersession info.
|
|
32
|
+
*/
|
|
33
|
+
user?: boolean;
|
|
34
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Instant } from './Instant';
|
|
2
|
+
import type { MapStringObject } from './MapStringObject';
|
|
3
|
+
import type { UUID } from './UUID';
|
|
4
|
+
export type BaseMessage = {
|
|
5
|
+
cause?: BaseMessage;
|
|
6
|
+
causes?: Array<BaseMessage>;
|
|
7
|
+
code: string;
|
|
8
|
+
context: MapStringObject;
|
|
9
|
+
date?: Instant;
|
|
10
|
+
id?: UUID;
|
|
11
|
+
level?: BaseMessage.level;
|
|
12
|
+
};
|
|
13
|
+
export declare namespace BaseMessage {
|
|
14
|
+
enum level {
|
|
15
|
+
DEBUG = "DEBUG",
|
|
16
|
+
INFO = "INFO",
|
|
17
|
+
WARNING = "WARNING",
|
|
18
|
+
ERROR = "ERROR",
|
|
19
|
+
CRITICAL = "CRITICAL"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type CasetypeAttribute = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type CatchBlock = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ColumnId = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ConditionList = {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare enum ConditionOperatorType {
|
|
2
|
+
_ = "==",
|
|
3
|
+
_TEXT_ = "==text==",
|
|
4
|
+
CONTAINS = "contains",
|
|
5
|
+
NOTCONTAINS = "notcontains",
|
|
6
|
+
STRINGCONTAINS = "stringcontains",
|
|
7
|
+
NOTSTRINGCONTAINS = "notstringcontains",
|
|
8
|
+
MULTIVALUECONTAINS = "multivaluecontains",
|
|
9
|
+
NOTMULTIVALUECONTAINS = "notmultivaluecontains",
|
|
10
|
+
ANYIN = "anyin",
|
|
11
|
+
NOTANYIN = "notanyin",
|
|
12
|
+
ALLIN = "allin",
|
|
13
|
+
NOTALLIN = "notallin",
|
|
14
|
+
IN = "in",
|
|
15
|
+
NOTIN = "notin",
|
|
16
|
+
LIKE = "like",
|
|
17
|
+
NOTLIKE = "notlike",
|
|
18
|
+
BEGINSWITH = "beginswith",
|
|
19
|
+
NOTBEGINSWITH = "notbeginswith",
|
|
20
|
+
ENDSWITH = "endswith",
|
|
21
|
+
NOTENDSWITH = "notendswith"
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type CustomThrow = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Dataset = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type DatasetColumn = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type DatasetCondition = {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { BaseMessage } from './BaseMessage';
|
|
2
|
+
import type { Dataset } from './Dataset';
|
|
3
|
+
export type DatasetResult = {
|
|
4
|
+
analysis?: Array<BaseMessage>;
|
|
5
|
+
count?: number;
|
|
6
|
+
data: Array<Record<string, any>>;
|
|
7
|
+
datasetDefinition?: {
|
|
8
|
+
dataset?: Dataset;
|
|
9
|
+
sortConfig: {
|
|
10
|
+
limit?: number;
|
|
11
|
+
skipItems?: number;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
fullCount?: number;
|
|
15
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum FieldType {
|
|
2
|
+
TASK_IN = "taskIn",
|
|
3
|
+
TASK_OUT = "taskOut",
|
|
4
|
+
TASKINFORMFIELD = "taskinformfield",
|
|
5
|
+
TASKOUTFORMFIELD = "taskoutformfield",
|
|
6
|
+
CASE_DATA = "caseData",
|
|
7
|
+
INLINETEMPLATE = "inlinetemplate",
|
|
8
|
+
VALUE = "value",
|
|
9
|
+
STATIC_PICKLIST_ITEM = "staticPicklistItem",
|
|
10
|
+
TASKDATA = "taskdata",
|
|
11
|
+
FORMFIELD = "formfield"
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type FileUploadProfile = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ForEach = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type FormAction = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type FormActionInlineJavascript = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type FormField = {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { FormFieldNotCondition } from './FormFieldNotCondition';
|
|
2
|
+
import type { FormFieldSimpleCondition } from './FormFieldSimpleCondition';
|
|
3
|
+
import type { InterfaceConditionListType } from './InterfaceConditionListType';
|
|
4
|
+
export type FormFieldConditionList = {
|
|
5
|
+
conditions?: Array<(FormFieldConditionList | FormFieldSimpleCondition | FormFieldNotCondition)>;
|
|
6
|
+
listType?: FormFieldConditionList.listType;
|
|
7
|
+
negate?: boolean;
|
|
8
|
+
type?: InterfaceConditionListType;
|
|
9
|
+
};
|
|
10
|
+
export declare namespace FormFieldConditionList {
|
|
11
|
+
enum listType {
|
|
12
|
+
LIST = "list"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { FormFieldConditionList } from './FormFieldConditionList';
|
|
2
|
+
import type { FormFieldSimpleCondition } from './FormFieldSimpleCondition';
|
|
3
|
+
export type FormFieldNotCondition = {
|
|
4
|
+
condition?: (FormFieldConditionList | FormFieldSimpleCondition | FormFieldNotCondition);
|
|
5
|
+
listType?: string;
|
|
6
|
+
negate?: boolean;
|
|
7
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ConditionOperatorType } from './ConditionOperatorType';
|
|
2
|
+
import type { FieldType } from './FieldType';
|
|
3
|
+
import type { FormField } from './FormField';
|
|
4
|
+
import type { GrexxComplexDatatype } from './GrexxComplexDatatype';
|
|
5
|
+
export type FormFieldSimpleCondition = {
|
|
6
|
+
leftDt?: GrexxComplexDatatype;
|
|
7
|
+
leftField?: FormField;
|
|
8
|
+
leftType?: FieldType;
|
|
9
|
+
leftValue?: any;
|
|
10
|
+
listType?: FormFieldSimpleCondition.listType;
|
|
11
|
+
negate?: boolean;
|
|
12
|
+
operator?: ConditionOperatorType;
|
|
13
|
+
rightDt?: GrexxComplexDatatype;
|
|
14
|
+
rightField?: FormField;
|
|
15
|
+
rightType?: FieldType;
|
|
16
|
+
rightValue?: any;
|
|
17
|
+
};
|
|
18
|
+
export declare namespace FormFieldSimpleCondition {
|
|
19
|
+
enum listType {
|
|
20
|
+
SIMPLE = "simple"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type FormGroup = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type HasRoleCondition = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type IfThenElse = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Instant = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type MapStringObject = Record<string, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Mapping = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type NotCondition = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ParallelBlock = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Picklist = {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare enum PrimitiveType {
|
|
2
|
+
AUTO = "auto",
|
|
3
|
+
STRING = "string",
|
|
4
|
+
CASE = "case",
|
|
5
|
+
INTERNALEXTERNALCASEID = "internalexternalcaseid",
|
|
6
|
+
CASEID = "caseid",
|
|
7
|
+
INTEGER = "integer",
|
|
8
|
+
DOUBLE = "double",
|
|
9
|
+
DATE = "date",
|
|
10
|
+
DATETIME = "datetime",
|
|
11
|
+
BOOLEAN = "boolean",
|
|
12
|
+
INLINETEMPLATE = "inlinetemplate",
|
|
13
|
+
FILE = "file",
|
|
14
|
+
TEXT = "text",
|
|
15
|
+
MEDIUMSTRING = "mediumstring",
|
|
16
|
+
SMALLSTRING = "smallstring",
|
|
17
|
+
TINYSTRING = "tinystring",
|
|
18
|
+
TASK = "task",
|
|
19
|
+
TASKID = "taskid",
|
|
20
|
+
LONG = "long",
|
|
21
|
+
JSON = "json",
|
|
22
|
+
JSONOBJECT = "jsonobject",
|
|
23
|
+
MONEY = "money",
|
|
24
|
+
SINGLECURRENCYMONEY = "singlecurrencymoney",
|
|
25
|
+
UUID = "uuid",
|
|
26
|
+
DATASETROW = "datasetrow",
|
|
27
|
+
VERSIONEDID = "versionedid",
|
|
28
|
+
POINT2D = "point2d",
|
|
29
|
+
POLYGON2D = "polygon2d",
|
|
30
|
+
GREXXBLOB = "grexxblob"
|
|
31
|
+
}
|