grexx-api 1.0.0
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/.idea/grexx-api.iml +12 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/dist/api.js +2508 -0
- package/dist/base.js +68 -0
- package/dist/common.js +161 -0
- package/dist/configuration.js +44 -0
- package/dist/generated/api.js +2448 -0
- package/dist/generated/apis/CaseApi.js +745 -0
- package/dist/generated/apis/PlatformApi.js +82 -0
- package/dist/generated/apis/index.js +20 -0
- package/dist/generated/base.js +71 -0
- package/dist/generated/common.js +145 -0
- package/dist/generated/configuration.js +104 -0
- package/dist/generated/core/ApiError.js +20 -0
- package/dist/generated/core/ApiRequestOptions.js +2 -0
- package/dist/generated/core/ApiResult.js +2 -0
- package/dist/generated/core/CancelablePromise.js +104 -0
- package/dist/generated/core/OpenAPI.js +14 -0
- package/dist/generated/core/request.js +294 -0
- package/dist/generated/index.js +58 -0
- package/dist/generated/models/AbstractCondition.js +2 -0
- package/dist/generated/models/AbstractReference.js +2 -0
- package/dist/generated/models/AbstractRule.js +2 -0
- package/dist/generated/models/Activity.js +2 -0
- package/dist/generated/models/ActivityDirectSubmit200Response.js +74 -0
- package/dist/generated/models/AdditionalAggregateColumn.js +10 -0
- package/dist/generated/models/AdditionalDataHistoryColumn.js +10 -0
- package/dist/generated/models/AdditionalDerivedColumn.js +16 -0
- package/dist/generated/models/AdditionalExternalColumn.js +10 -0
- package/dist/generated/models/AdditionalGroupbyColumn.js +10 -0
- package/dist/generated/models/AdditionalMetaColumn.js +27 -0
- package/dist/generated/models/AdditionalTemplateColumn.js +10 -0
- package/dist/generated/models/AnalyseDependency.js +2 -0
- package/dist/generated/models/BaseMessage.js +14 -0
- package/dist/generated/models/CaseInfo200Response.js +88 -0
- package/dist/generated/models/CaseInfo200ResponseCasetype.js +63 -0
- package/dist/generated/models/CaseInfo200ResponseCasetypePlatformTheme.js +84 -0
- package/dist/generated/models/CaseInfo200ResponseCasetypePlatformThemeCssVariables.js +98 -0
- package/dist/generated/models/CaseInfo200ResponseCasetypeViewsInner.js +96 -0
- package/dist/generated/models/CaseInfo200ResponseRootlineInner.js +52 -0
- package/dist/generated/models/CaseReference.js +2 -0
- package/dist/generated/models/CasetypeAttribute.js +2 -0
- package/dist/generated/models/CasetypeAttributeCurrency.js +48 -0
- package/dist/generated/models/CasetypeCss.js +2 -0
- package/dist/generated/models/CatchBlock.js +2 -0
- package/dist/generated/models/CatchPattern.js +11 -0
- package/dist/generated/models/ColumnId.js +2 -0
- package/dist/generated/models/ColumnIdentifier.js +14 -0
- package/dist/generated/models/ConditionList.js +2 -0
- package/dist/generated/models/ConditionOperatorType.js +30 -0
- package/dist/generated/models/CustomThrow.js +2 -0
- package/dist/generated/models/Dataset.js +2 -0
- package/dist/generated/models/DatasetColumn.js +2 -0
- package/dist/generated/models/DatasetCondition.js +2 -0
- package/dist/generated/models/DatasetResult.js +2 -0
- package/dist/generated/models/DatasetResultDatasetDefinition.js +54 -0
- package/dist/generated/models/DatasetResultDatasetDefinitionSortConfig.js +50 -0
- package/dist/generated/models/DatasetRetrieveRequest.js +80 -0
- package/dist/generated/models/DatasetRetrieveRequestAdditionalColumnsInner.js +120 -0
- package/dist/generated/models/DatasetRetrieveRequestSearch.js +73 -0
- package/dist/generated/models/DatasetRetrieveViaWidgetRequest.js +86 -0
- package/dist/generated/models/FieldType.js +20 -0
- package/dist/generated/models/FileUploadProfile.js +2 -0
- package/dist/generated/models/ForEach.js +2 -0
- package/dist/generated/models/FormAction.js +2 -0
- package/dist/generated/models/FormActionInlineJavascript.js +2 -0
- package/dist/generated/models/FormField.js +2 -0
- package/dist/generated/models/FormFieldConditionList.js +10 -0
- package/dist/generated/models/FormFieldMultitaskPlatformAttribute.js +184 -0
- package/dist/generated/models/FormFieldNotCondition.js +2 -0
- package/dist/generated/models/FormFieldSimpleCondition.js +10 -0
- package/dist/generated/models/FormFieldValueInner.js +58 -0
- package/dist/generated/models/FormGroup.js +2 -0
- package/dist/generated/models/FormRetrieve200Response.js +95 -0
- package/dist/generated/models/GrexxComplexDatatype.js +2 -0
- package/dist/generated/models/HasRoleCondition.js +2 -0
- package/dist/generated/models/IfThenElse.js +2 -0
- package/dist/generated/models/Instant.js +2 -0
- package/dist/generated/models/InterfaceConditionListType.js +12 -0
- package/dist/generated/models/MapStringObject.js +2 -0
- package/dist/generated/models/Mapping.js +2 -0
- package/dist/generated/models/ModelRequestContext.js +107 -0
- package/dist/generated/models/NotCondition.js +2 -0
- package/dist/generated/models/ParallelBlock.js +2 -0
- package/dist/generated/models/Picklist.js +2 -0
- package/dist/generated/models/PicklistTemplate.js +78 -0
- package/dist/generated/models/PlatformVersion200Response.js +54 -0
- package/dist/generated/models/PrimitiveType.js +39 -0
- package/dist/generated/models/RequestContext.js +2 -0
- package/dist/generated/models/ReturnTypeFlags.js +11 -0
- package/dist/generated/models/RuleList.js +2 -0
- package/dist/generated/models/SimpleCondition.js +2 -0
- package/dist/generated/models/SortConfigSearchCondition.js +10 -0
- package/dist/generated/models/SortConfigSearchConditionValueDatatype.js +52 -0
- package/dist/generated/models/SortConfigSearchList.js +10 -0
- package/dist/generated/models/SortConfigSort.js +11 -0
- package/dist/generated/models/TaskCreate200Response.js +63 -0
- package/dist/generated/models/TaskCreate200ResponseFormCondition.js +79 -0
- package/dist/generated/models/TaskCreateRequest.js +74 -0
- package/dist/generated/models/TaskCreateRequestAnyOf.js +65 -0
- package/dist/generated/models/TaskCreateRequestAnyOf1.js +65 -0
- package/dist/generated/models/TaskCreateRequestAnyOf2.js +64 -0
- package/dist/generated/models/TaskSubmitRequest.js +71 -0
- package/dist/generated/models/TaskSubmitRequestAnyOf.js +67 -0
- package/dist/generated/models/TaskSubmitRequestAnyOf1.js +66 -0
- package/dist/generated/models/TaskSubmitRequestAnyOf1FieldsInner.js +56 -0
- package/dist/generated/models/TaskSubmitRequestAnyOf2.js +65 -0
- package/dist/generated/models/Trigger.js +2 -0
- package/dist/generated/models/TryBlock.js +2 -0
- package/dist/generated/models/UUID.js +2 -0
- package/dist/generated/models/UnversionedReference.js +2 -0
- package/dist/generated/models/VersionedReference.js +2 -0
- package/dist/generated/models/While.js +2 -0
- package/dist/generated/models/index.js +102 -0
- package/dist/generated/runtime.js +345 -0
- package/dist/generated/services/CaseService.js +378 -0
- package/dist/generated/services/PlatformService.js +19 -0
- package/dist/index.js +31 -0
- package/openapi.yaml +4470 -0
- package/openapitools.json +7 -0
- package/package.json +15 -0
- package/src/generated/core/ApiError.ts +25 -0
- package/src/generated/core/ApiRequestOptions.ts +17 -0
- package/src/generated/core/ApiResult.ts +11 -0
- package/src/generated/core/CancelablePromise.ts +131 -0
- package/src/generated/core/OpenAPI.ts +32 -0
- package/src/generated/core/request.ts +322 -0
- package/src/generated/index.ts +73 -0
- package/src/generated/models/AbstractCondition.ts +11 -0
- package/src/generated/models/AbstractReference.ts +8 -0
- package/src/generated/models/AbstractRule.ts +19 -0
- package/src/generated/models/Activity.ts +7 -0
- package/src/generated/models/AdditionalAggregateColumn.ts +20 -0
- package/src/generated/models/AdditionalDataHistoryColumn.ts +17 -0
- package/src/generated/models/AdditionalDerivedColumn.ts +24 -0
- package/src/generated/models/AdditionalExternalColumn.ts +16 -0
- package/src/generated/models/AdditionalGroupbyColumn.ts +18 -0
- package/src/generated/models/AdditionalMetaColumn.ts +34 -0
- package/src/generated/models/AdditionalTemplateColumn.ts +22 -0
- package/src/generated/models/AnalyseDependency.ts +39 -0
- package/src/generated/models/BaseMessage.ts +26 -0
- package/src/generated/models/CaseReference.ts +8 -0
- package/src/generated/models/CasetypeAttribute.ts +7 -0
- package/src/generated/models/CasetypeCss.ts +10 -0
- package/src/generated/models/CatchBlock.ts +7 -0
- package/src/generated/models/CatchPattern.ts +7 -0
- package/src/generated/models/ColumnId.ts +5 -0
- package/src/generated/models/ColumnIdentifier.ts +10 -0
- package/src/generated/models/ConditionList.ts +7 -0
- package/src/generated/models/ConditionOperatorType.ts +26 -0
- package/src/generated/models/CustomThrow.ts +7 -0
- package/src/generated/models/Dataset.ts +7 -0
- package/src/generated/models/DatasetColumn.ts +7 -0
- package/src/generated/models/DatasetCondition.ts +7 -0
- package/src/generated/models/DatasetResult.ts +20 -0
- package/src/generated/models/FieldType.ts +16 -0
- package/src/generated/models/FileUploadProfile.ts +7 -0
- package/src/generated/models/ForEach.ts +7 -0
- package/src/generated/models/FormAction.ts +7 -0
- package/src/generated/models/FormActionInlineJavascript.ts +7 -0
- package/src/generated/models/FormField.ts +7 -0
- package/src/generated/models/FormFieldConditionList.ts +19 -0
- package/src/generated/models/FormFieldNotCondition.ts +12 -0
- package/src/generated/models/FormFieldSimpleCondition.ts +27 -0
- package/src/generated/models/FormGroup.ts +7 -0
- package/src/generated/models/GrexxComplexDatatype.ts +11 -0
- package/src/generated/models/HasRoleCondition.ts +7 -0
- package/src/generated/models/IfThenElse.ts +7 -0
- package/src/generated/models/Instant.ts +5 -0
- package/src/generated/models/InterfaceConditionListType.ts +8 -0
- package/src/generated/models/MapStringObject.ts +5 -0
- package/src/generated/models/Mapping.ts +7 -0
- package/src/generated/models/NotCondition.ts +7 -0
- package/src/generated/models/ParallelBlock.ts +7 -0
- package/src/generated/models/Picklist.ts +7 -0
- package/src/generated/models/PrimitiveType.ts +35 -0
- package/src/generated/models/RequestContext.ts +7 -0
- package/src/generated/models/ReturnTypeFlags.ts +19 -0
- package/src/generated/models/RuleList.ts +7 -0
- package/src/generated/models/SimpleCondition.ts +7 -0
- package/src/generated/models/SortConfigSearchCondition.ts +24 -0
- package/src/generated/models/SortConfigSearchList.ts +17 -0
- package/src/generated/models/SortConfigSort.ts +16 -0
- package/src/generated/models/Trigger.ts +7 -0
- package/src/generated/models/TryBlock.ts +7 -0
- package/src/generated/models/UUID.ts +5 -0
- package/src/generated/models/UnversionedReference.ts +8 -0
- package/src/generated/models/VersionedReference.ts +8 -0
- package/src/generated/models/While.ts +7 -0
- package/src/generated/services/CaseService.ts +800 -0
- package/src/generated/services/PlatformService.ts +26 -0
- package/tsconfig.json +13 -0
package/dist/api.js
ADDED
|
@@ -0,0 +1,2508 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Grexx Platform API
|
|
6
|
+
* This is the Grexx Platform API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 12.4.44
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ReturnTypeFlagsMultivalueTypeEnum = exports.RequestContextContexttypeEnum = exports.PrimitiveType = exports.PicklistSpecialPicklistEnum = exports.MappingFromAttributeTypeEnum = exports.MappingOperatorEnum = exports.MappingToAttributeTypeEnum = exports.InterfaceConditionListType = exports.FormFieldSimpleConditionListTypeEnum = exports.FormFieldMultitaskPlatformAttributeMultivalueTypeEnum = exports.FormFieldMultitaskPlatformAttributeTypeEnum = exports.FormFieldConditionListListTypeEnum = exports.FormFieldOperatorEnum = exports.FormFieldMultivalueTypeEnum = exports.FormFieldTypeEnum = exports.FieldType = exports.DatasetRetrieveRequestSearchTypeEnum = exports.DatasetRetrieveRequestAdditionalColumnsInnerDerivationEnum = exports.DatasetRetrieveRequestAdditionalColumnsInnerFieldtypeEnum = exports.DatasetRetrieveRequestAdditionalColumnsInnerTypeEnum = exports.DatasetConditionOperatorEnum = exports.DatasetSpecialDatasetEnum = exports.DatasetTypeEnum = exports.ConditionOperatorType = exports.ConditionListTypeEnum = exports.ColumnIdentifier = exports.CatchPattern = exports.CasetypeAttributeMultivalueTypeEnum = exports.CasetypeAttributeTypeEnum = exports.BaseMessageLevelEnum = exports.AdditionalTemplateColumnTypeEnum = exports.AdditionalMetaColumnTypeEnum = exports.AdditionalMetaColumnFieldtypeEnum = exports.AdditionalGroupbyColumnTypeEnum = exports.AdditionalExternalColumnTypeEnum = exports.AdditionalDerivedColumnTypeEnum = exports.AdditionalDerivedColumnDerivationEnum = exports.AdditionalDataHistoryColumnTypeEnum = exports.AdditionalAggregateColumnTypeEnum = exports.ActivityMultitaskTypeEnum = exports.ActivityProcessBlockTypeEnum = exports.ActivityTypeEnum = exports.AbstractRuleContexttypeEnum = exports.AbstractRuleFromAttributeTypeEnum = exports.AbstractRuleOperatorEnum = exports.AbstractRuleToAttributeTypeEnum = exports.AbstractConditionRightFieldTypeEnum = exports.AbstractConditionLeftFieldTypeEnum = exports.AbstractConditionOperatorEnum = exports.AbstractConditionTypeEnum = void 0;
|
|
29
|
+
exports.PlatformApi = exports.PlatformApiFactory = exports.PlatformApiFp = exports.PlatformApiAxiosParamCreator = exports.TaskInfoFormatEnum = exports.TaskCreateFormatEnum = exports.FormRetrieveFormatEnum = exports.FormGetFormatEnum = exports.DatasetRetrieveViaWidgetFormatEnum = exports.DatasetRetrieveFormatEnum = exports.DatasetGetViaWidgetFormatEnum = exports.DatasetGetFormatEnum = exports.CaseTaskGetFormatEnum = exports.CaseTaskCreateFormatEnum = exports.CaseApi = exports.CaseApiFactory = exports.CaseApiFp = exports.CaseApiAxiosParamCreator = exports.TriggerTypeEnum = exports.TaskSubmitRequestAnyOf2TypeEnum = exports.TaskSubmitRequestAnyOf1TypeEnum = exports.TaskSubmitRequestAnyOfTypeEnum = exports.TaskSubmitRequestTypeEnum = exports.TaskCreateRequestAnyOf2TypeEnum = exports.TaskCreateRequestAnyOf1TypeEnum = exports.TaskCreateRequestAnyOfTypeEnum = exports.TaskCreateRequestTypeEnum = exports.SortConfigSortDirectionEnum = exports.SortConfigSearchListTypeEnum = exports.SortConfigSearchConditionTypeEnum = exports.SimpleConditionRightFieldTypeEnum = exports.SimpleConditionOperatorEnum = exports.SimpleConditionLeftFieldTypeEnum = void 0;
|
|
30
|
+
const axios_1 = __importDefault(require("axios"));
|
|
31
|
+
// Some imports not used depending on template conditions
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
const common_1 = require("./common");
|
|
34
|
+
// @ts-ignore
|
|
35
|
+
const base_1 = require("./base");
|
|
36
|
+
exports.AbstractConditionTypeEnum = {
|
|
37
|
+
And: 'AND',
|
|
38
|
+
Or: 'OR'
|
|
39
|
+
};
|
|
40
|
+
exports.AbstractConditionOperatorEnum = {
|
|
41
|
+
DoubleEqual: '==',
|
|
42
|
+
Text: '==text==',
|
|
43
|
+
Text2: '!==text!==',
|
|
44
|
+
};
|
|
45
|
+
'!==',
|
|
46
|
+
GreaterThanOrEqualTo;
|
|
47
|
+
'>=',
|
|
48
|
+
GreaterThan;
|
|
49
|
+
'>',
|
|
50
|
+
LessThanOrEqualTo;
|
|
51
|
+
'<=',
|
|
52
|
+
LessThan;
|
|
53
|
+
'<',
|
|
54
|
+
Contains;
|
|
55
|
+
'contains',
|
|
56
|
+
Notcontains;
|
|
57
|
+
'notcontains',
|
|
58
|
+
Stringcontains;
|
|
59
|
+
'stringcontains',
|
|
60
|
+
Notstringcontains;
|
|
61
|
+
'notstringcontains',
|
|
62
|
+
Multivaluecontains;
|
|
63
|
+
'multivaluecontains',
|
|
64
|
+
Notmultivaluecontains;
|
|
65
|
+
'notmultivaluecontains',
|
|
66
|
+
Anyin;
|
|
67
|
+
'anyin',
|
|
68
|
+
Notanyin;
|
|
69
|
+
'notanyin',
|
|
70
|
+
Allin;
|
|
71
|
+
'allin',
|
|
72
|
+
Notallin;
|
|
73
|
+
'notallin',
|
|
74
|
+
In;
|
|
75
|
+
'in',
|
|
76
|
+
Notin;
|
|
77
|
+
'notin',
|
|
78
|
+
Like;
|
|
79
|
+
'like',
|
|
80
|
+
Notlike;
|
|
81
|
+
'notlike',
|
|
82
|
+
Beginswith;
|
|
83
|
+
'beginswith',
|
|
84
|
+
Notbeginswith;
|
|
85
|
+
'notbeginswith',
|
|
86
|
+
Endswith;
|
|
87
|
+
'endswith',
|
|
88
|
+
Notendswith;
|
|
89
|
+
'notendswith';
|
|
90
|
+
as;
|
|
91
|
+
const ;
|
|
92
|
+
exports.AbstractConditionLeftFieldTypeEnum = {
|
|
93
|
+
TaskIn: 'taskIn',
|
|
94
|
+
TaskOut: 'taskOut',
|
|
95
|
+
Taskinformfield: 'taskinformfield',
|
|
96
|
+
Taskoutformfield: 'taskoutformfield',
|
|
97
|
+
CaseData: 'caseData',
|
|
98
|
+
Inlinetemplate: 'inlinetemplate',
|
|
99
|
+
Value: 'value',
|
|
100
|
+
StaticPicklistItem: 'staticPicklistItem',
|
|
101
|
+
Taskdata: 'taskdata',
|
|
102
|
+
Formfield: 'formfield'
|
|
103
|
+
};
|
|
104
|
+
exports.AbstractConditionRightFieldTypeEnum = {
|
|
105
|
+
TaskIn: 'taskIn',
|
|
106
|
+
TaskOut: 'taskOut',
|
|
107
|
+
Taskinformfield: 'taskinformfield',
|
|
108
|
+
Taskoutformfield: 'taskoutformfield',
|
|
109
|
+
CaseData: 'caseData',
|
|
110
|
+
Inlinetemplate: 'inlinetemplate',
|
|
111
|
+
Value: 'value',
|
|
112
|
+
StaticPicklistItem: 'staticPicklistItem',
|
|
113
|
+
Taskdata: 'taskdata',
|
|
114
|
+
Formfield: 'formfield'
|
|
115
|
+
};
|
|
116
|
+
exports.AbstractRuleToAttributeTypeEnum = {
|
|
117
|
+
Casedata: 'casedata',
|
|
118
|
+
Casedataplatformattribute: 'casedataplatformattribute',
|
|
119
|
+
Taskin: 'taskin',
|
|
120
|
+
Taskinformfield: 'taskinformfield',
|
|
121
|
+
Taskdata: 'taskdata',
|
|
122
|
+
Usersession: 'usersession'
|
|
123
|
+
};
|
|
124
|
+
exports.AbstractRuleOperatorEnum = {
|
|
125
|
+
Equal: '=',
|
|
126
|
+
};
|
|
127
|
+
'+=',
|
|
128
|
+
2;
|
|
129
|
+
'-=',
|
|
130
|
+
3;
|
|
131
|
+
'*=',
|
|
132
|
+
4;
|
|
133
|
+
'/=';
|
|
134
|
+
as;
|
|
135
|
+
const ;
|
|
136
|
+
exports.AbstractRuleFromAttributeTypeEnum = {
|
|
137
|
+
Casedata: 'casedata',
|
|
138
|
+
Casedataplatformattribute: 'casedataplatformattribute',
|
|
139
|
+
Casemetadata: 'casemetadata',
|
|
140
|
+
Currentitem: 'currentitem',
|
|
141
|
+
Inlinetemplate: 'inlinetemplate',
|
|
142
|
+
Newcasemetadata: 'newcasemetadata',
|
|
143
|
+
Taskout: 'taskout',
|
|
144
|
+
Taskoutformfield: 'taskoutformfield',
|
|
145
|
+
Taskdata: 'taskdata',
|
|
146
|
+
Value: 'value'
|
|
147
|
+
};
|
|
148
|
+
exports.AbstractRuleContexttypeEnum = {
|
|
149
|
+
Context: 'context',
|
|
150
|
+
Usersession: 'usersession',
|
|
151
|
+
Additionalsecurityprofile: 'additionalsecurityprofile',
|
|
152
|
+
Impersonate: 'impersonate',
|
|
153
|
+
Resetimpersonate: 'resetimpersonate'
|
|
154
|
+
};
|
|
155
|
+
exports.ActivityTypeEnum = {
|
|
156
|
+
Form: 'form',
|
|
157
|
+
Casetype: 'casetype',
|
|
158
|
+
Processblock: 'processblock',
|
|
159
|
+
Event: 'event',
|
|
160
|
+
Multitask: 'multitask',
|
|
161
|
+
Unknown: 'unknown'
|
|
162
|
+
};
|
|
163
|
+
exports.ActivityProcessBlockTypeEnum = {
|
|
164
|
+
Dummy: 'dummy',
|
|
165
|
+
Recalculate: 'recalculate',
|
|
166
|
+
DeleteInvalidatePaths: 'delete-invalidate-paths',
|
|
167
|
+
AndJoin: 'and-join',
|
|
168
|
+
NJoin: 'n-join',
|
|
169
|
+
OrJoin: 'or-join',
|
|
170
|
+
StartModule: 'start-module',
|
|
171
|
+
FinishModule: 'finish-module',
|
|
172
|
+
FinishCase: 'finish-case',
|
|
173
|
+
ReopenCase: 'reopen-case',
|
|
174
|
+
CommitAll: 'commit-all'
|
|
175
|
+
};
|
|
176
|
+
exports.ActivityMultitaskTypeEnum = {
|
|
177
|
+
SubmitEach: 'submitEach',
|
|
178
|
+
SubmitAll: 'submitAll'
|
|
179
|
+
};
|
|
180
|
+
exports.AdditionalAggregateColumnTypeEnum = {
|
|
181
|
+
Aggregated: 'aggregated'
|
|
182
|
+
};
|
|
183
|
+
exports.AdditionalDataHistoryColumnTypeEnum = {
|
|
184
|
+
DataHistory: 'dataHistory'
|
|
185
|
+
};
|
|
186
|
+
exports.AdditionalDerivedColumnDerivationEnum = {
|
|
187
|
+
Picklistlabel: 'PICKLISTLABEL',
|
|
188
|
+
Fastpicklistlabel: 'FASTPICKLISTLABEL',
|
|
189
|
+
Reference: 'REFERENCE'
|
|
190
|
+
};
|
|
191
|
+
exports.AdditionalDerivedColumnTypeEnum = {
|
|
192
|
+
Derived: 'derived'
|
|
193
|
+
};
|
|
194
|
+
exports.AdditionalExternalColumnTypeEnum = {
|
|
195
|
+
External: 'external'
|
|
196
|
+
};
|
|
197
|
+
exports.AdditionalGroupbyColumnTypeEnum = {
|
|
198
|
+
Groupby: 'groupby'
|
|
199
|
+
};
|
|
200
|
+
exports.AdditionalMetaColumnFieldtypeEnum = {
|
|
201
|
+
CaseData: 'caseData',
|
|
202
|
+
CaseMetaData: 'caseMetaData',
|
|
203
|
+
InlineTemplate: 'inlineTemplate',
|
|
204
|
+
Value: 'value',
|
|
205
|
+
TaskMetaData: 'taskMetaData',
|
|
206
|
+
TaskqueueMetaData: 'taskqueueMetaData',
|
|
207
|
+
ActivityMetadata: 'activityMetadata',
|
|
208
|
+
External: 'external',
|
|
209
|
+
DataHistory: 'dataHistory',
|
|
210
|
+
PlatformAttribute: 'platformAttribute',
|
|
211
|
+
CaseMetaId: 'caseMetaId',
|
|
212
|
+
JoinDataset1: 'joinDataset1',
|
|
213
|
+
JoinDataset2: 'joinDataset2',
|
|
214
|
+
Testing: 'testing'
|
|
215
|
+
};
|
|
216
|
+
exports.AdditionalMetaColumnTypeEnum = {
|
|
217
|
+
Meta: 'meta'
|
|
218
|
+
};
|
|
219
|
+
exports.AdditionalTemplateColumnTypeEnum = {
|
|
220
|
+
Template: 'template'
|
|
221
|
+
};
|
|
222
|
+
exports.BaseMessageLevelEnum = {
|
|
223
|
+
Debug: 'DEBUG',
|
|
224
|
+
Info: 'INFO',
|
|
225
|
+
Warning: 'WARNING',
|
|
226
|
+
Error: 'ERROR',
|
|
227
|
+
Critical: 'CRITICAL'
|
|
228
|
+
};
|
|
229
|
+
exports.CasetypeAttributeTypeEnum = {
|
|
230
|
+
Boolean: 'boolean',
|
|
231
|
+
Date: 'date',
|
|
232
|
+
Datetime: 'datetime',
|
|
233
|
+
Integer: 'integer',
|
|
234
|
+
Long: 'long',
|
|
235
|
+
Double: 'double',
|
|
236
|
+
String: 'string',
|
|
237
|
+
Mediumstring: 'mediumstring',
|
|
238
|
+
Smallstring: 'smallstring',
|
|
239
|
+
Tinystring: 'tinystring',
|
|
240
|
+
Case: 'case',
|
|
241
|
+
Internalexternalcaseid: 'internalexternalcaseid',
|
|
242
|
+
Task: 'task',
|
|
243
|
+
Json: 'json',
|
|
244
|
+
File: 'file',
|
|
245
|
+
Inlinetemplate: 'inlinetemplate',
|
|
246
|
+
Money: 'money',
|
|
247
|
+
Uuid: 'uuid',
|
|
248
|
+
Datasetrow: 'datasetrow',
|
|
249
|
+
Versionedid: 'versionedid',
|
|
250
|
+
Point2d: 'point2d',
|
|
251
|
+
Polygon2d: 'polygon2d',
|
|
252
|
+
Grexxblob: 'grexxblob',
|
|
253
|
+
Singlecurrencymoney: 'singlecurrencymoney'
|
|
254
|
+
};
|
|
255
|
+
exports.CasetypeAttributeMultivalueTypeEnum = {
|
|
256
|
+
Set: 'set',
|
|
257
|
+
List: 'list'
|
|
258
|
+
};
|
|
259
|
+
/**
|
|
260
|
+
*
|
|
261
|
+
* @export
|
|
262
|
+
* @enum {string}
|
|
263
|
+
*/
|
|
264
|
+
exports.CatchPattern = {
|
|
265
|
+
Email1001: 'EMAIL-1001'
|
|
266
|
+
};
|
|
267
|
+
/**
|
|
268
|
+
*
|
|
269
|
+
* @export
|
|
270
|
+
* @enum {string}
|
|
271
|
+
*/
|
|
272
|
+
exports.ColumnIdentifier = {
|
|
273
|
+
Legacy: 'legacy',
|
|
274
|
+
ColumnCaseid: 'columnCaseid',
|
|
275
|
+
ExternalReference: 'externalReference',
|
|
276
|
+
Alias: 'alias'
|
|
277
|
+
};
|
|
278
|
+
exports.ConditionListTypeEnum = {
|
|
279
|
+
And: 'AND',
|
|
280
|
+
Or: 'OR'
|
|
281
|
+
};
|
|
282
|
+
/**
|
|
283
|
+
*
|
|
284
|
+
* @export
|
|
285
|
+
* @enum {string}
|
|
286
|
+
*/
|
|
287
|
+
exports.ConditionOperatorType = {
|
|
288
|
+
DoubleEqual: '==',
|
|
289
|
+
Text: '==text==',
|
|
290
|
+
Text2: '!==text!==',
|
|
291
|
+
};
|
|
292
|
+
'!==',
|
|
293
|
+
GreaterThanOrEqualTo;
|
|
294
|
+
'>=',
|
|
295
|
+
GreaterThan;
|
|
296
|
+
'>',
|
|
297
|
+
LessThanOrEqualTo;
|
|
298
|
+
'<=',
|
|
299
|
+
LessThan;
|
|
300
|
+
'<',
|
|
301
|
+
Contains;
|
|
302
|
+
'contains',
|
|
303
|
+
Notcontains;
|
|
304
|
+
'notcontains',
|
|
305
|
+
Stringcontains;
|
|
306
|
+
'stringcontains',
|
|
307
|
+
Notstringcontains;
|
|
308
|
+
'notstringcontains',
|
|
309
|
+
Multivaluecontains;
|
|
310
|
+
'multivaluecontains',
|
|
311
|
+
Notmultivaluecontains;
|
|
312
|
+
'notmultivaluecontains',
|
|
313
|
+
Anyin;
|
|
314
|
+
'anyin',
|
|
315
|
+
Notanyin;
|
|
316
|
+
'notanyin',
|
|
317
|
+
Allin;
|
|
318
|
+
'allin',
|
|
319
|
+
Notallin;
|
|
320
|
+
'notallin',
|
|
321
|
+
In;
|
|
322
|
+
'in',
|
|
323
|
+
Notin;
|
|
324
|
+
'notin',
|
|
325
|
+
Like;
|
|
326
|
+
'like',
|
|
327
|
+
Notlike;
|
|
328
|
+
'notlike',
|
|
329
|
+
Beginswith;
|
|
330
|
+
'beginswith',
|
|
331
|
+
Notbeginswith;
|
|
332
|
+
'notbeginswith',
|
|
333
|
+
Endswith;
|
|
334
|
+
'endswith',
|
|
335
|
+
Notendswith;
|
|
336
|
+
'notendswith';
|
|
337
|
+
as;
|
|
338
|
+
const ;
|
|
339
|
+
exports.DatasetTypeEnum = {
|
|
340
|
+
MandatoryTasks: 'mandatoryTasks',
|
|
341
|
+
MandatoryTasksNoRightsCheck: 'mandatoryTasksNoRightsCheck',
|
|
342
|
+
MandatoryTasksPlatform: 'mandatoryTasksPlatform',
|
|
343
|
+
MandatoryPlatformNoRightsCheck: 'mandatoryPlatformNoRightsCheck',
|
|
344
|
+
AllTasks: 'allTasks',
|
|
345
|
+
AllTasksIncludingNew: 'allTasksIncludingNew',
|
|
346
|
+
AllTasksPlatform: 'allTasksPlatform',
|
|
347
|
+
AllTasksPlatformIncludingNew: 'allTasksPlatformIncludingNew',
|
|
348
|
+
QueuedTasks: 'queuedTasks',
|
|
349
|
+
OptionalTasks: 'optionalTasks',
|
|
350
|
+
OptionalTasksNoRightsCheck: 'optionalTasksNoRightsCheck',
|
|
351
|
+
Cases: 'cases',
|
|
352
|
+
Casespostprocess: 'casespostprocess',
|
|
353
|
+
Externalcases: 'externalcases',
|
|
354
|
+
MultivalueAttribute: 'multivalueAttribute',
|
|
355
|
+
TaskHistory: 'taskHistory',
|
|
356
|
+
ExternalUrl: 'externalUrl',
|
|
357
|
+
Json: 'json',
|
|
358
|
+
KibanaPerformance: 'kibanaPerformance',
|
|
359
|
+
ElasticPerformance: 'elasticPerformance',
|
|
360
|
+
ElasticPerformanceClient: 'elasticPerformanceClient',
|
|
361
|
+
ElasticPerformanceUnion: 'elasticPerformanceUnion',
|
|
362
|
+
ElasticError: 'elasticError',
|
|
363
|
+
ElasticUsage: 'elasticUsage',
|
|
364
|
+
ElasticGcMessages: 'elasticGcMessages',
|
|
365
|
+
ElasticPlatformMessages: 'elasticPlatformMessages',
|
|
366
|
+
ElasticGui: 'elasticGui',
|
|
367
|
+
ElasticApiRequestV2: 'elasticApiRequestV2',
|
|
368
|
+
Aggregate: 'aggregate',
|
|
369
|
+
Special: 'special',
|
|
370
|
+
Join: 'join',
|
|
371
|
+
CasedataHistory: 'casedataHistory',
|
|
372
|
+
Casepath: 'casepath',
|
|
373
|
+
Size: 'size',
|
|
374
|
+
Sizeaggregated: 'sizeaggregated',
|
|
375
|
+
Filter: 'filter'
|
|
376
|
+
};
|
|
377
|
+
exports.DatasetSpecialDatasetEnum = {
|
|
378
|
+
Special: 'special',
|
|
379
|
+
Datatype: 'datatype',
|
|
380
|
+
Systemservice: 'systemservice',
|
|
381
|
+
GitDataCommits: 'gitDataCommits',
|
|
382
|
+
GitDataBranches: 'gitDataBranches',
|
|
383
|
+
GitDefinitionBranches: 'gitDefinitionBranches',
|
|
384
|
+
Eventtype: 'eventtype',
|
|
385
|
+
ReleaseRings: 'releaseRings',
|
|
386
|
+
AvailableLocales: 'availableLocales',
|
|
387
|
+
WebhookEvent: 'webhookEvent',
|
|
388
|
+
WebhookDatatype: 'webhookDatatype',
|
|
389
|
+
JobStep: 'jobStep',
|
|
390
|
+
JobDefinition: 'jobDefinition'
|
|
391
|
+
};
|
|
392
|
+
exports.DatasetConditionOperatorEnum = {
|
|
393
|
+
DoubleEqual: '==',
|
|
394
|
+
Text: '==text==',
|
|
395
|
+
Text2: '!==text!==',
|
|
396
|
+
};
|
|
397
|
+
'!==',
|
|
398
|
+
GreaterThanOrEqualTo;
|
|
399
|
+
'>=',
|
|
400
|
+
GreaterThan;
|
|
401
|
+
'>',
|
|
402
|
+
LessThanOrEqualTo;
|
|
403
|
+
'<=',
|
|
404
|
+
LessThan;
|
|
405
|
+
'<',
|
|
406
|
+
Contains;
|
|
407
|
+
'contains',
|
|
408
|
+
Notcontains;
|
|
409
|
+
'notcontains',
|
|
410
|
+
Stringcontains;
|
|
411
|
+
'stringcontains',
|
|
412
|
+
Notstringcontains;
|
|
413
|
+
'notstringcontains',
|
|
414
|
+
Multivaluecontains;
|
|
415
|
+
'multivaluecontains',
|
|
416
|
+
Notmultivaluecontains;
|
|
417
|
+
'notmultivaluecontains',
|
|
418
|
+
Anyin;
|
|
419
|
+
'anyin',
|
|
420
|
+
Notanyin;
|
|
421
|
+
'notanyin',
|
|
422
|
+
Allin;
|
|
423
|
+
'allin',
|
|
424
|
+
Notallin;
|
|
425
|
+
'notallin',
|
|
426
|
+
In;
|
|
427
|
+
'in',
|
|
428
|
+
Notin;
|
|
429
|
+
'notin',
|
|
430
|
+
Like;
|
|
431
|
+
'like',
|
|
432
|
+
Notlike;
|
|
433
|
+
'notlike',
|
|
434
|
+
Beginswith;
|
|
435
|
+
'beginswith',
|
|
436
|
+
Notbeginswith;
|
|
437
|
+
'notbeginswith',
|
|
438
|
+
Endswith;
|
|
439
|
+
'endswith',
|
|
440
|
+
Notendswith;
|
|
441
|
+
'notendswith';
|
|
442
|
+
as;
|
|
443
|
+
const ;
|
|
444
|
+
exports.DatasetRetrieveRequestAdditionalColumnsInnerTypeEnum = {
|
|
445
|
+
Template: 'template',
|
|
446
|
+
Meta: 'meta',
|
|
447
|
+
Aggregated: 'aggregated',
|
|
448
|
+
Groupby: 'groupby',
|
|
449
|
+
DataHistory: 'dataHistory',
|
|
450
|
+
External: 'external',
|
|
451
|
+
Derived: 'derived'
|
|
452
|
+
};
|
|
453
|
+
exports.DatasetRetrieveRequestAdditionalColumnsInnerFieldtypeEnum = {
|
|
454
|
+
CaseData: 'caseData',
|
|
455
|
+
CaseMetaData: 'caseMetaData',
|
|
456
|
+
InlineTemplate: 'inlineTemplate',
|
|
457
|
+
Value: 'value',
|
|
458
|
+
TaskMetaData: 'taskMetaData',
|
|
459
|
+
TaskqueueMetaData: 'taskqueueMetaData',
|
|
460
|
+
ActivityMetadata: 'activityMetadata',
|
|
461
|
+
External: 'external',
|
|
462
|
+
DataHistory: 'dataHistory',
|
|
463
|
+
PlatformAttribute: 'platformAttribute',
|
|
464
|
+
CaseMetaId: 'caseMetaId',
|
|
465
|
+
JoinDataset1: 'joinDataset1',
|
|
466
|
+
JoinDataset2: 'joinDataset2',
|
|
467
|
+
Testing: 'testing'
|
|
468
|
+
};
|
|
469
|
+
exports.DatasetRetrieveRequestAdditionalColumnsInnerDerivationEnum = {
|
|
470
|
+
Picklistlabel: 'PICKLISTLABEL',
|
|
471
|
+
Fastpicklistlabel: 'FASTPICKLISTLABEL',
|
|
472
|
+
Reference: 'REFERENCE'
|
|
473
|
+
};
|
|
474
|
+
exports.DatasetRetrieveRequestSearchTypeEnum = {
|
|
475
|
+
ConditionList: 'conditionList',
|
|
476
|
+
SimpleCondition: 'simpleCondition'
|
|
477
|
+
};
|
|
478
|
+
/**
|
|
479
|
+
*
|
|
480
|
+
* @export
|
|
481
|
+
* @enum {string}
|
|
482
|
+
*/
|
|
483
|
+
exports.FieldType = {
|
|
484
|
+
TaskIn: 'taskIn',
|
|
485
|
+
TaskOut: 'taskOut',
|
|
486
|
+
Taskinformfield: 'taskinformfield',
|
|
487
|
+
Taskoutformfield: 'taskoutformfield',
|
|
488
|
+
CaseData: 'caseData',
|
|
489
|
+
Inlinetemplate: 'inlinetemplate',
|
|
490
|
+
Value: 'value',
|
|
491
|
+
StaticPicklistItem: 'staticPicklistItem',
|
|
492
|
+
Taskdata: 'taskdata',
|
|
493
|
+
Formfield: 'formfield'
|
|
494
|
+
};
|
|
495
|
+
exports.FormFieldTypeEnum = {
|
|
496
|
+
Boolean: 'boolean',
|
|
497
|
+
Date: 'date',
|
|
498
|
+
Datetime: 'datetime',
|
|
499
|
+
Integer: 'integer',
|
|
500
|
+
Long: 'long',
|
|
501
|
+
Double: 'double',
|
|
502
|
+
String: 'string',
|
|
503
|
+
Mediumstring: 'mediumstring',
|
|
504
|
+
Smallstring: 'smallstring',
|
|
505
|
+
Tinystring: 'tinystring',
|
|
506
|
+
Case: 'case',
|
|
507
|
+
Internalexternalcaseid: 'internalexternalcaseid',
|
|
508
|
+
Task: 'task',
|
|
509
|
+
Json: 'json',
|
|
510
|
+
File: 'file',
|
|
511
|
+
Inlinetemplate: 'inlinetemplate',
|
|
512
|
+
Money: 'money',
|
|
513
|
+
Uuid: 'uuid',
|
|
514
|
+
Datasetrow: 'datasetrow',
|
|
515
|
+
Versionedid: 'versionedid',
|
|
516
|
+
Point2d: 'point2d',
|
|
517
|
+
Polygon2d: 'polygon2d',
|
|
518
|
+
Grexxblob: 'grexxblob',
|
|
519
|
+
Singlecurrencymoney: 'singlecurrencymoney'
|
|
520
|
+
};
|
|
521
|
+
exports.FormFieldMultivalueTypeEnum = {
|
|
522
|
+
Set: 'set',
|
|
523
|
+
List: 'list'
|
|
524
|
+
};
|
|
525
|
+
exports.FormFieldOperatorEnum = {
|
|
526
|
+
DoubleEqual: '==',
|
|
527
|
+
Text: '==text==',
|
|
528
|
+
Text2: '!==text!==',
|
|
529
|
+
};
|
|
530
|
+
'!==',
|
|
531
|
+
GreaterThanOrEqualTo;
|
|
532
|
+
'>=',
|
|
533
|
+
GreaterThan;
|
|
534
|
+
'>',
|
|
535
|
+
LessThanOrEqualTo;
|
|
536
|
+
'<=',
|
|
537
|
+
LessThan;
|
|
538
|
+
'<',
|
|
539
|
+
Contains;
|
|
540
|
+
'contains',
|
|
541
|
+
Notcontains;
|
|
542
|
+
'notcontains',
|
|
543
|
+
Stringcontains;
|
|
544
|
+
'stringcontains',
|
|
545
|
+
Notstringcontains;
|
|
546
|
+
'notstringcontains',
|
|
547
|
+
Multivaluecontains;
|
|
548
|
+
'multivaluecontains',
|
|
549
|
+
Notmultivaluecontains;
|
|
550
|
+
'notmultivaluecontains',
|
|
551
|
+
Anyin;
|
|
552
|
+
'anyin',
|
|
553
|
+
Notanyin;
|
|
554
|
+
'notanyin',
|
|
555
|
+
Allin;
|
|
556
|
+
'allin',
|
|
557
|
+
Notallin;
|
|
558
|
+
'notallin',
|
|
559
|
+
In;
|
|
560
|
+
'in',
|
|
561
|
+
Notin;
|
|
562
|
+
'notin',
|
|
563
|
+
Like;
|
|
564
|
+
'like',
|
|
565
|
+
Notlike;
|
|
566
|
+
'notlike',
|
|
567
|
+
Beginswith;
|
|
568
|
+
'beginswith',
|
|
569
|
+
Notbeginswith;
|
|
570
|
+
'notbeginswith',
|
|
571
|
+
Endswith;
|
|
572
|
+
'endswith',
|
|
573
|
+
Notendswith;
|
|
574
|
+
'notendswith';
|
|
575
|
+
as;
|
|
576
|
+
const ;
|
|
577
|
+
exports.FormFieldConditionListListTypeEnum = {
|
|
578
|
+
List: 'list'
|
|
579
|
+
};
|
|
580
|
+
exports.FormFieldMultitaskPlatformAttributeTypeEnum = {
|
|
581
|
+
Boolean: 'boolean',
|
|
582
|
+
Date: 'date',
|
|
583
|
+
Datetime: 'datetime',
|
|
584
|
+
Integer: 'integer',
|
|
585
|
+
Long: 'long',
|
|
586
|
+
Double: 'double',
|
|
587
|
+
String: 'string',
|
|
588
|
+
Mediumstring: 'mediumstring',
|
|
589
|
+
Smallstring: 'smallstring',
|
|
590
|
+
Tinystring: 'tinystring',
|
|
591
|
+
Case: 'case',
|
|
592
|
+
Internalexternalcaseid: 'internalexternalcaseid',
|
|
593
|
+
Task: 'task',
|
|
594
|
+
Json: 'json',
|
|
595
|
+
File: 'file',
|
|
596
|
+
Inlinetemplate: 'inlinetemplate',
|
|
597
|
+
Money: 'money',
|
|
598
|
+
Uuid: 'uuid',
|
|
599
|
+
Datasetrow: 'datasetrow',
|
|
600
|
+
Versionedid: 'versionedid',
|
|
601
|
+
Point2d: 'point2d',
|
|
602
|
+
Polygon2d: 'polygon2d',
|
|
603
|
+
Grexxblob: 'grexxblob',
|
|
604
|
+
Singlecurrencymoney: 'singlecurrencymoney'
|
|
605
|
+
};
|
|
606
|
+
exports.FormFieldMultitaskPlatformAttributeMultivalueTypeEnum = {
|
|
607
|
+
Set: 'set',
|
|
608
|
+
List: 'list'
|
|
609
|
+
};
|
|
610
|
+
exports.FormFieldSimpleConditionListTypeEnum = {
|
|
611
|
+
Simple: 'simple'
|
|
612
|
+
};
|
|
613
|
+
/**
|
|
614
|
+
*
|
|
615
|
+
* @export
|
|
616
|
+
* @enum {string}
|
|
617
|
+
*/
|
|
618
|
+
exports.InterfaceConditionListType = {
|
|
619
|
+
And: 'AND',
|
|
620
|
+
Or: 'OR'
|
|
621
|
+
};
|
|
622
|
+
exports.MappingToAttributeTypeEnum = {
|
|
623
|
+
Casedata: 'casedata',
|
|
624
|
+
Casedataplatformattribute: 'casedataplatformattribute',
|
|
625
|
+
Taskin: 'taskin',
|
|
626
|
+
Taskinformfield: 'taskinformfield',
|
|
627
|
+
Taskdata: 'taskdata',
|
|
628
|
+
Usersession: 'usersession'
|
|
629
|
+
};
|
|
630
|
+
exports.MappingOperatorEnum = {
|
|
631
|
+
Equal: '=',
|
|
632
|
+
};
|
|
633
|
+
'+=',
|
|
634
|
+
2;
|
|
635
|
+
'-=',
|
|
636
|
+
3;
|
|
637
|
+
'*=',
|
|
638
|
+
4;
|
|
639
|
+
'/=';
|
|
640
|
+
as;
|
|
641
|
+
const ;
|
|
642
|
+
exports.MappingFromAttributeTypeEnum = {
|
|
643
|
+
Casedata: 'casedata',
|
|
644
|
+
Casedataplatformattribute: 'casedataplatformattribute',
|
|
645
|
+
Casemetadata: 'casemetadata',
|
|
646
|
+
Currentitem: 'currentitem',
|
|
647
|
+
Inlinetemplate: 'inlinetemplate',
|
|
648
|
+
Newcasemetadata: 'newcasemetadata',
|
|
649
|
+
Taskout: 'taskout',
|
|
650
|
+
Taskoutformfield: 'taskoutformfield',
|
|
651
|
+
Taskdata: 'taskdata',
|
|
652
|
+
Value: 'value'
|
|
653
|
+
};
|
|
654
|
+
exports.PicklistSpecialPicklistEnum = {
|
|
655
|
+
Special: 'special',
|
|
656
|
+
Datatype: 'datatype',
|
|
657
|
+
Systemservice: 'systemservice',
|
|
658
|
+
GitDataCommits: 'gitDataCommits',
|
|
659
|
+
GitDataBranches: 'gitDataBranches',
|
|
660
|
+
GitDefinitionBranches: 'gitDefinitionBranches',
|
|
661
|
+
Eventtype: 'eventtype',
|
|
662
|
+
ReleaseRings: 'releaseRings',
|
|
663
|
+
AvailableLocales: 'availableLocales',
|
|
664
|
+
WebhookEvent: 'webhookEvent',
|
|
665
|
+
WebhookDatatype: 'webhookDatatype',
|
|
666
|
+
JobStep: 'jobStep',
|
|
667
|
+
JobDefinition: 'jobDefinition'
|
|
668
|
+
};
|
|
669
|
+
/**
|
|
670
|
+
*
|
|
671
|
+
* @export
|
|
672
|
+
* @enum {string}
|
|
673
|
+
*/
|
|
674
|
+
exports.PrimitiveType = {
|
|
675
|
+
Auto: 'auto',
|
|
676
|
+
String: 'string',
|
|
677
|
+
Case: 'case',
|
|
678
|
+
Internalexternalcaseid: 'internalexternalcaseid',
|
|
679
|
+
Caseid: 'caseid',
|
|
680
|
+
Integer: 'integer',
|
|
681
|
+
Double: 'double',
|
|
682
|
+
Date: 'date',
|
|
683
|
+
Datetime: 'datetime',
|
|
684
|
+
Boolean: 'boolean',
|
|
685
|
+
Inlinetemplate: 'inlinetemplate',
|
|
686
|
+
File: 'file',
|
|
687
|
+
Text: 'text',
|
|
688
|
+
Mediumstring: 'mediumstring',
|
|
689
|
+
Smallstring: 'smallstring',
|
|
690
|
+
Tinystring: 'tinystring',
|
|
691
|
+
Task: 'task',
|
|
692
|
+
Taskid: 'taskid',
|
|
693
|
+
Long: 'long',
|
|
694
|
+
Json: 'json',
|
|
695
|
+
Jsonobject: 'jsonobject',
|
|
696
|
+
Money: 'money',
|
|
697
|
+
Singlecurrencymoney: 'singlecurrencymoney',
|
|
698
|
+
Uuid: 'uuid',
|
|
699
|
+
Datasetrow: 'datasetrow',
|
|
700
|
+
Versionedid: 'versionedid',
|
|
701
|
+
Point2d: 'point2d',
|
|
702
|
+
Polygon2d: 'polygon2d',
|
|
703
|
+
Grexxblob: 'grexxblob'
|
|
704
|
+
};
|
|
705
|
+
exports.RequestContextContexttypeEnum = {
|
|
706
|
+
Context: 'context',
|
|
707
|
+
Usersession: 'usersession',
|
|
708
|
+
Additionalsecurityprofile: 'additionalsecurityprofile',
|
|
709
|
+
Impersonate: 'impersonate',
|
|
710
|
+
Resetimpersonate: 'resetimpersonate'
|
|
711
|
+
};
|
|
712
|
+
exports.ReturnTypeFlagsMultivalueTypeEnum = {
|
|
713
|
+
Set: 'set',
|
|
714
|
+
List: 'list'
|
|
715
|
+
};
|
|
716
|
+
exports.SimpleConditionLeftFieldTypeEnum = {
|
|
717
|
+
TaskIn: 'taskIn',
|
|
718
|
+
TaskOut: 'taskOut',
|
|
719
|
+
Taskinformfield: 'taskinformfield',
|
|
720
|
+
Taskoutformfield: 'taskoutformfield',
|
|
721
|
+
CaseData: 'caseData',
|
|
722
|
+
Inlinetemplate: 'inlinetemplate',
|
|
723
|
+
Value: 'value',
|
|
724
|
+
StaticPicklistItem: 'staticPicklistItem',
|
|
725
|
+
Taskdata: 'taskdata',
|
|
726
|
+
Formfield: 'formfield'
|
|
727
|
+
};
|
|
728
|
+
exports.SimpleConditionOperatorEnum = {
|
|
729
|
+
DoubleEqual: '==',
|
|
730
|
+
Text: '==text==',
|
|
731
|
+
Text2: '!==text!==',
|
|
732
|
+
};
|
|
733
|
+
'!==',
|
|
734
|
+
GreaterThanOrEqualTo;
|
|
735
|
+
'>=',
|
|
736
|
+
GreaterThan;
|
|
737
|
+
'>',
|
|
738
|
+
LessThanOrEqualTo;
|
|
739
|
+
'<=',
|
|
740
|
+
LessThan;
|
|
741
|
+
'<',
|
|
742
|
+
Contains;
|
|
743
|
+
'contains',
|
|
744
|
+
Notcontains;
|
|
745
|
+
'notcontains',
|
|
746
|
+
Stringcontains;
|
|
747
|
+
'stringcontains',
|
|
748
|
+
Notstringcontains;
|
|
749
|
+
'notstringcontains',
|
|
750
|
+
Multivaluecontains;
|
|
751
|
+
'multivaluecontains',
|
|
752
|
+
Notmultivaluecontains;
|
|
753
|
+
'notmultivaluecontains',
|
|
754
|
+
Anyin;
|
|
755
|
+
'anyin',
|
|
756
|
+
Notanyin;
|
|
757
|
+
'notanyin',
|
|
758
|
+
Allin;
|
|
759
|
+
'allin',
|
|
760
|
+
Notallin;
|
|
761
|
+
'notallin',
|
|
762
|
+
In;
|
|
763
|
+
'in',
|
|
764
|
+
Notin;
|
|
765
|
+
'notin',
|
|
766
|
+
Like;
|
|
767
|
+
'like',
|
|
768
|
+
Notlike;
|
|
769
|
+
'notlike',
|
|
770
|
+
Beginswith;
|
|
771
|
+
'beginswith',
|
|
772
|
+
Notbeginswith;
|
|
773
|
+
'notbeginswith',
|
|
774
|
+
Endswith;
|
|
775
|
+
'endswith',
|
|
776
|
+
Notendswith;
|
|
777
|
+
'notendswith';
|
|
778
|
+
as;
|
|
779
|
+
const ;
|
|
780
|
+
exports.SimpleConditionRightFieldTypeEnum = {
|
|
781
|
+
TaskIn: 'taskIn',
|
|
782
|
+
TaskOut: 'taskOut',
|
|
783
|
+
Taskinformfield: 'taskinformfield',
|
|
784
|
+
Taskoutformfield: 'taskoutformfield',
|
|
785
|
+
CaseData: 'caseData',
|
|
786
|
+
Inlinetemplate: 'inlinetemplate',
|
|
787
|
+
Value: 'value',
|
|
788
|
+
StaticPicklistItem: 'staticPicklistItem',
|
|
789
|
+
Taskdata: 'taskdata',
|
|
790
|
+
Formfield: 'formfield'
|
|
791
|
+
};
|
|
792
|
+
exports.SortConfigSearchConditionTypeEnum = {
|
|
793
|
+
SimpleCondition: 'simpleCondition'
|
|
794
|
+
};
|
|
795
|
+
exports.SortConfigSearchListTypeEnum = {
|
|
796
|
+
ConditionList: 'conditionList'
|
|
797
|
+
};
|
|
798
|
+
exports.SortConfigSortDirectionEnum = {
|
|
799
|
+
Asc: 'asc',
|
|
800
|
+
Desc: 'desc'
|
|
801
|
+
};
|
|
802
|
+
exports.TaskCreateRequestTypeEnum = {
|
|
803
|
+
Optional: 'optional',
|
|
804
|
+
OptionalByTag: 'optionalByTag',
|
|
805
|
+
Mandatory: 'mandatory',
|
|
806
|
+
Required: 'required'
|
|
807
|
+
};
|
|
808
|
+
exports.TaskCreateRequestAnyOfTypeEnum = {
|
|
809
|
+
Optional: 'optional'
|
|
810
|
+
};
|
|
811
|
+
exports.TaskCreateRequestAnyOf1TypeEnum = {
|
|
812
|
+
OptionalByTag: 'optionalByTag'
|
|
813
|
+
};
|
|
814
|
+
exports.TaskCreateRequestAnyOf2TypeEnum = {
|
|
815
|
+
Mandatory: 'mandatory',
|
|
816
|
+
Required: 'required'
|
|
817
|
+
};
|
|
818
|
+
exports.TaskSubmitRequestTypeEnum = {
|
|
819
|
+
Optional: 'optional',
|
|
820
|
+
TaskArray: 'task-array',
|
|
821
|
+
TaskJson: 'task-json'
|
|
822
|
+
};
|
|
823
|
+
exports.TaskSubmitRequestAnyOfTypeEnum = {
|
|
824
|
+
Optional: 'optional'
|
|
825
|
+
};
|
|
826
|
+
exports.TaskSubmitRequestAnyOf1TypeEnum = {
|
|
827
|
+
TaskArray: 'task-array'
|
|
828
|
+
};
|
|
829
|
+
exports.TaskSubmitRequestAnyOf2TypeEnum = {
|
|
830
|
+
TaskJson: 'task-json'
|
|
831
|
+
};
|
|
832
|
+
exports.TriggerTypeEnum = {
|
|
833
|
+
Execute: 'execute',
|
|
834
|
+
ExecuteAndSubmit: 'execute and submit',
|
|
835
|
+
Enable: 'enable',
|
|
836
|
+
Disable: 'disable',
|
|
837
|
+
Cancel: 'cancel',
|
|
838
|
+
Finish: 'finish',
|
|
839
|
+
Submit: 'submit'
|
|
840
|
+
};
|
|
841
|
+
/**
|
|
842
|
+
* CaseApi - axios parameter creator
|
|
843
|
+
* @export
|
|
844
|
+
*/
|
|
845
|
+
const CaseApiAxiosParamCreator = function (configuration) {
|
|
846
|
+
return {
|
|
847
|
+
/**
|
|
848
|
+
*
|
|
849
|
+
* @summary Submit (create and submit) an activity based on the activity ID and filled in fields
|
|
850
|
+
* @param {string} casePath Path or Id of case
|
|
851
|
+
* @param {string} activity ID of activity
|
|
852
|
+
* @param {object} [body]
|
|
853
|
+
* @param {*} [options] Override http request option.
|
|
854
|
+
* @throws {RequiredError}
|
|
855
|
+
*/
|
|
856
|
+
activityDirectSubmit: (casePath_1, activity_1, body_1, ...args_1) => __awaiter(this, [casePath_1, activity_1, body_1, ...args_1], void 0, function* (casePath, activity, body, options = {}) {
|
|
857
|
+
// verify required parameter 'casePath' is not null or undefined
|
|
858
|
+
(0, common_1.assertParamExists)('activityDirectSubmit', 'casePath', casePath);
|
|
859
|
+
// verify required parameter 'activity' is not null or undefined
|
|
860
|
+
(0, common_1.assertParamExists)('activityDirectSubmit', 'activity', activity);
|
|
861
|
+
const localVarPath = `/activity/{activity}/{casePath}`
|
|
862
|
+
.replace(`{${"casePath"}}`, encodeURIComponent(String(casePath)))
|
|
863
|
+
.replace(`{${"activity"}}`, encodeURIComponent(String(activity)));
|
|
864
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
865
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
866
|
+
let baseOptions;
|
|
867
|
+
if (configuration) {
|
|
868
|
+
baseOptions = configuration.baseOptions;
|
|
869
|
+
}
|
|
870
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
871
|
+
const localVarHeaderParameter = {};
|
|
872
|
+
const localVarQueryParameter = {};
|
|
873
|
+
// authentication id-and-key required
|
|
874
|
+
// oauth required
|
|
875
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "id-and-key", [], configuration);
|
|
876
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
877
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
878
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
879
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
880
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
881
|
+
return {
|
|
882
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
883
|
+
options: localVarRequestOptions,
|
|
884
|
+
};
|
|
885
|
+
}),
|
|
886
|
+
/**
|
|
887
|
+
*
|
|
888
|
+
* @summary Submit (create and submit) an activity based on the activity ID and filled in fields
|
|
889
|
+
* @param {string} caseId ID of case
|
|
890
|
+
* @param {string} activity ID of activity
|
|
891
|
+
* @param {object} [body]
|
|
892
|
+
* @param {*} [options] Override http request option.
|
|
893
|
+
* @deprecated
|
|
894
|
+
* @throws {RequiredError}
|
|
895
|
+
*/
|
|
896
|
+
activitySubmit: (caseId_1, activity_1, body_1, ...args_1) => __awaiter(this, [caseId_1, activity_1, body_1, ...args_1], void 0, function* (caseId, activity, body, options = {}) {
|
|
897
|
+
// verify required parameter 'caseId' is not null or undefined
|
|
898
|
+
(0, common_1.assertParamExists)('activitySubmit', 'caseId', caseId);
|
|
899
|
+
// verify required parameter 'activity' is not null or undefined
|
|
900
|
+
(0, common_1.assertParamExists)('activitySubmit', 'activity', activity);
|
|
901
|
+
const localVarPath = `/case/{caseId}/activity/{activity}`
|
|
902
|
+
.replace(`{${"caseId"}}`, encodeURIComponent(String(caseId)))
|
|
903
|
+
.replace(`{${"activity"}}`, encodeURIComponent(String(activity)));
|
|
904
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
905
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
906
|
+
let baseOptions;
|
|
907
|
+
if (configuration) {
|
|
908
|
+
baseOptions = configuration.baseOptions;
|
|
909
|
+
}
|
|
910
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
911
|
+
const localVarHeaderParameter = {};
|
|
912
|
+
const localVarQueryParameter = {};
|
|
913
|
+
// authentication id-and-key required
|
|
914
|
+
// oauth required
|
|
915
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "id-and-key", [], configuration);
|
|
916
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
917
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
918
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
919
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
920
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
921
|
+
return {
|
|
922
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
923
|
+
options: localVarRequestOptions,
|
|
924
|
+
};
|
|
925
|
+
}),
|
|
926
|
+
/**
|
|
927
|
+
*
|
|
928
|
+
* @summary Retrieve information on a case
|
|
929
|
+
* @param {string} casePath Path or Id of case
|
|
930
|
+
* @param {boolean} [css] Set css
|
|
931
|
+
* @param {boolean} [rootline] Set rootline
|
|
932
|
+
* @param {boolean} [views] Set views
|
|
933
|
+
* @param {*} [options] Override http request option.
|
|
934
|
+
* @throws {RequiredError}
|
|
935
|
+
*/
|
|
936
|
+
caseInfo: (casePath_1, css_1, rootline_1, views_1, ...args_1) => __awaiter(this, [casePath_1, css_1, rootline_1, views_1, ...args_1], void 0, function* (casePath, css, rootline, views, options = {}) {
|
|
937
|
+
// verify required parameter 'casePath' is not null or undefined
|
|
938
|
+
(0, common_1.assertParamExists)('caseInfo', 'casePath', casePath);
|
|
939
|
+
const localVarPath = `/case-info/{casePath}`
|
|
940
|
+
.replace(`{${"casePath"}}`, encodeURIComponent(String(casePath)));
|
|
941
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
942
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
943
|
+
let baseOptions;
|
|
944
|
+
if (configuration) {
|
|
945
|
+
baseOptions = configuration.baseOptions;
|
|
946
|
+
}
|
|
947
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
948
|
+
const localVarHeaderParameter = {};
|
|
949
|
+
const localVarQueryParameter = {};
|
|
950
|
+
// authentication id-and-key required
|
|
951
|
+
// oauth required
|
|
952
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "id-and-key", [], configuration);
|
|
953
|
+
if (css !== undefined) {
|
|
954
|
+
localVarQueryParameter['css'] = css;
|
|
955
|
+
}
|
|
956
|
+
if (rootline !== undefined) {
|
|
957
|
+
localVarQueryParameter['rootline'] = rootline;
|
|
958
|
+
}
|
|
959
|
+
if (views !== undefined) {
|
|
960
|
+
localVarQueryParameter['views'] = views;
|
|
961
|
+
}
|
|
962
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
963
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
964
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
965
|
+
return {
|
|
966
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
967
|
+
options: localVarRequestOptions,
|
|
968
|
+
};
|
|
969
|
+
}),
|
|
970
|
+
/**
|
|
971
|
+
*
|
|
972
|
+
* @summary Create a new optional task based on an activity ID
|
|
973
|
+
* @param {string} caseId ID of case
|
|
974
|
+
* @param {string} activity ID of activity
|
|
975
|
+
* @param {CaseTaskCreateFormatEnum} format Format of the result
|
|
976
|
+
* @param {TaskCreateRequest} [taskCreateRequest]
|
|
977
|
+
* @param {*} [options] Override http request option.
|
|
978
|
+
* @deprecated
|
|
979
|
+
* @throws {RequiredError}
|
|
980
|
+
*/
|
|
981
|
+
caseTaskCreate: (caseId_1, activity_1, format_1, taskCreateRequest_1, ...args_1) => __awaiter(this, [caseId_1, activity_1, format_1, taskCreateRequest_1, ...args_1], void 0, function* (caseId, activity, format, taskCreateRequest, options = {}) {
|
|
982
|
+
// verify required parameter 'caseId' is not null or undefined
|
|
983
|
+
(0, common_1.assertParamExists)('caseTaskCreate', 'caseId', caseId);
|
|
984
|
+
// verify required parameter 'activity' is not null or undefined
|
|
985
|
+
(0, common_1.assertParamExists)('caseTaskCreate', 'activity', activity);
|
|
986
|
+
// verify required parameter 'format' is not null or undefined
|
|
987
|
+
(0, common_1.assertParamExists)('caseTaskCreate', 'format', format);
|
|
988
|
+
const localVarPath = `/case/{caseId}/task/create/{activity}`
|
|
989
|
+
.replace(`{${"caseId"}}`, encodeURIComponent(String(caseId)))
|
|
990
|
+
.replace(`{${"activity"}}`, encodeURIComponent(String(activity)));
|
|
991
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
992
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
993
|
+
let baseOptions;
|
|
994
|
+
if (configuration) {
|
|
995
|
+
baseOptions = configuration.baseOptions;
|
|
996
|
+
}
|
|
997
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
998
|
+
const localVarHeaderParameter = {};
|
|
999
|
+
const localVarQueryParameter = {};
|
|
1000
|
+
// authentication id-and-key required
|
|
1001
|
+
// oauth required
|
|
1002
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "id-and-key", [], configuration);
|
|
1003
|
+
if (format !== undefined) {
|
|
1004
|
+
localVarQueryParameter['format'] = format;
|
|
1005
|
+
}
|
|
1006
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1007
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1008
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1009
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1010
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(taskCreateRequest, localVarRequestOptions, configuration);
|
|
1011
|
+
return {
|
|
1012
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1013
|
+
options: localVarRequestOptions,
|
|
1014
|
+
};
|
|
1015
|
+
}),
|
|
1016
|
+
/**
|
|
1017
|
+
*
|
|
1018
|
+
* @summary Retrieve an existing task based on the task ID
|
|
1019
|
+
* @param {string} caseId ID of case
|
|
1020
|
+
* @param {number} task ID of task
|
|
1021
|
+
* @param {CaseTaskGetFormatEnum} format Format of the result
|
|
1022
|
+
* @param {*} [options] Override http request option.
|
|
1023
|
+
* @deprecated
|
|
1024
|
+
* @throws {RequiredError}
|
|
1025
|
+
*/
|
|
1026
|
+
caseTaskGet: (caseId_1, task_1, format_1, ...args_1) => __awaiter(this, [caseId_1, task_1, format_1, ...args_1], void 0, function* (caseId, task, format, options = {}) {
|
|
1027
|
+
// verify required parameter 'caseId' is not null or undefined
|
|
1028
|
+
(0, common_1.assertParamExists)('caseTaskGet', 'caseId', caseId);
|
|
1029
|
+
// verify required parameter 'task' is not null or undefined
|
|
1030
|
+
(0, common_1.assertParamExists)('caseTaskGet', 'task', task);
|
|
1031
|
+
// verify required parameter 'format' is not null or undefined
|
|
1032
|
+
(0, common_1.assertParamExists)('caseTaskGet', 'format', format);
|
|
1033
|
+
const localVarPath = `/case/{caseId}/task/{task}`
|
|
1034
|
+
.replace(`{${"caseId"}}`, encodeURIComponent(String(caseId)))
|
|
1035
|
+
.replace(`{${"task"}}`, encodeURIComponent(String(task)));
|
|
1036
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1037
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1038
|
+
let baseOptions;
|
|
1039
|
+
if (configuration) {
|
|
1040
|
+
baseOptions = configuration.baseOptions;
|
|
1041
|
+
}
|
|
1042
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1043
|
+
const localVarHeaderParameter = {};
|
|
1044
|
+
const localVarQueryParameter = {};
|
|
1045
|
+
// authentication id-and-key required
|
|
1046
|
+
// oauth required
|
|
1047
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "id-and-key", [], configuration);
|
|
1048
|
+
if (format !== undefined) {
|
|
1049
|
+
localVarQueryParameter['format'] = format;
|
|
1050
|
+
}
|
|
1051
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1052
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1053
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1054
|
+
return {
|
|
1055
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1056
|
+
options: localVarRequestOptions,
|
|
1057
|
+
};
|
|
1058
|
+
}),
|
|
1059
|
+
/**
|
|
1060
|
+
*
|
|
1061
|
+
* @summary Submit an existing task based on the task ID and filled in fields
|
|
1062
|
+
* @param {string} caseId ID of case
|
|
1063
|
+
* @param {number} task ID of task
|
|
1064
|
+
* @param {TaskSubmitRequest} [taskSubmitRequest]
|
|
1065
|
+
* @param {*} [options] Override http request option.
|
|
1066
|
+
* @deprecated
|
|
1067
|
+
* @throws {RequiredError}
|
|
1068
|
+
*/
|
|
1069
|
+
caseTaskSubmit: (caseId_1, task_1, taskSubmitRequest_1, ...args_1) => __awaiter(this, [caseId_1, task_1, taskSubmitRequest_1, ...args_1], void 0, function* (caseId, task, taskSubmitRequest, options = {}) {
|
|
1070
|
+
// verify required parameter 'caseId' is not null or undefined
|
|
1071
|
+
(0, common_1.assertParamExists)('caseTaskSubmit', 'caseId', caseId);
|
|
1072
|
+
// verify required parameter 'task' is not null or undefined
|
|
1073
|
+
(0, common_1.assertParamExists)('caseTaskSubmit', 'task', task);
|
|
1074
|
+
const localVarPath = `/case/{caseId}/task/{task}`
|
|
1075
|
+
.replace(`{${"caseId"}}`, encodeURIComponent(String(caseId)))
|
|
1076
|
+
.replace(`{${"task"}}`, encodeURIComponent(String(task)));
|
|
1077
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1078
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1079
|
+
let baseOptions;
|
|
1080
|
+
if (configuration) {
|
|
1081
|
+
baseOptions = configuration.baseOptions;
|
|
1082
|
+
}
|
|
1083
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1084
|
+
const localVarHeaderParameter = {};
|
|
1085
|
+
const localVarQueryParameter = {};
|
|
1086
|
+
// authentication id-and-key required
|
|
1087
|
+
// oauth required
|
|
1088
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "id-and-key", [], configuration);
|
|
1089
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1090
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1091
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1092
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1093
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(taskSubmitRequest, localVarRequestOptions, configuration);
|
|
1094
|
+
return {
|
|
1095
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1096
|
+
options: localVarRequestOptions,
|
|
1097
|
+
};
|
|
1098
|
+
}),
|
|
1099
|
+
/**
|
|
1100
|
+
*
|
|
1101
|
+
* @summary Retrieve information on a case
|
|
1102
|
+
* @param {string} caseId ID of case
|
|
1103
|
+
* @param {boolean} [css] Set css
|
|
1104
|
+
* @param {boolean} [rootline] Set rootline
|
|
1105
|
+
* @param {boolean} [views] Set views
|
|
1106
|
+
* @param {*} [options] Override http request option.
|
|
1107
|
+
* @deprecated
|
|
1108
|
+
* @throws {RequiredError}
|
|
1109
|
+
*/
|
|
1110
|
+
caseView: (caseId_1, css_1, rootline_1, views_1, ...args_1) => __awaiter(this, [caseId_1, css_1, rootline_1, views_1, ...args_1], void 0, function* (caseId, css, rootline, views, options = {}) {
|
|
1111
|
+
// verify required parameter 'caseId' is not null or undefined
|
|
1112
|
+
(0, common_1.assertParamExists)('caseView', 'caseId', caseId);
|
|
1113
|
+
const localVarPath = `/case/{caseId}`
|
|
1114
|
+
.replace(`{${"caseId"}}`, encodeURIComponent(String(caseId)));
|
|
1115
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1116
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1117
|
+
let baseOptions;
|
|
1118
|
+
if (configuration) {
|
|
1119
|
+
baseOptions = configuration.baseOptions;
|
|
1120
|
+
}
|
|
1121
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1122
|
+
const localVarHeaderParameter = {};
|
|
1123
|
+
const localVarQueryParameter = {};
|
|
1124
|
+
// authentication id-and-key required
|
|
1125
|
+
// oauth required
|
|
1126
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "id-and-key", [], configuration);
|
|
1127
|
+
if (css !== undefined) {
|
|
1128
|
+
localVarQueryParameter['css'] = css;
|
|
1129
|
+
}
|
|
1130
|
+
if (rootline !== undefined) {
|
|
1131
|
+
localVarQueryParameter['rootline'] = rootline;
|
|
1132
|
+
}
|
|
1133
|
+
if (views !== undefined) {
|
|
1134
|
+
localVarQueryParameter['views'] = views;
|
|
1135
|
+
}
|
|
1136
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1137
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1138
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1139
|
+
return {
|
|
1140
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1141
|
+
options: localVarRequestOptions,
|
|
1142
|
+
};
|
|
1143
|
+
}),
|
|
1144
|
+
/**
|
|
1145
|
+
*
|
|
1146
|
+
* @summary Retrieve the contents of a dataset, rights are checked via dataset rights
|
|
1147
|
+
* @param {string} caseId ID of case
|
|
1148
|
+
* @param {string} dataset ID of dataset
|
|
1149
|
+
* @param {DatasetGetFormatEnum} format Format of the result
|
|
1150
|
+
* @param {DatasetRetrieveRequest} [datasetRetrieveRequest]
|
|
1151
|
+
* @param {*} [options] Override http request option.
|
|
1152
|
+
* @deprecated
|
|
1153
|
+
* @throws {RequiredError}
|
|
1154
|
+
*/
|
|
1155
|
+
datasetGet: (caseId_1, dataset_1, format_1, datasetRetrieveRequest_1, ...args_1) => __awaiter(this, [caseId_1, dataset_1, format_1, datasetRetrieveRequest_1, ...args_1], void 0, function* (caseId, dataset, format, datasetRetrieveRequest, options = {}) {
|
|
1156
|
+
// verify required parameter 'caseId' is not null or undefined
|
|
1157
|
+
(0, common_1.assertParamExists)('datasetGet', 'caseId', caseId);
|
|
1158
|
+
// verify required parameter 'dataset' is not null or undefined
|
|
1159
|
+
(0, common_1.assertParamExists)('datasetGet', 'dataset', dataset);
|
|
1160
|
+
// verify required parameter 'format' is not null or undefined
|
|
1161
|
+
(0, common_1.assertParamExists)('datasetGet', 'format', format);
|
|
1162
|
+
const localVarPath = `/case/{caseId}/dataset/{dataset}`
|
|
1163
|
+
.replace(`{${"caseId"}}`, encodeURIComponent(String(caseId)))
|
|
1164
|
+
.replace(`{${"dataset"}}`, encodeURIComponent(String(dataset)));
|
|
1165
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1166
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1167
|
+
let baseOptions;
|
|
1168
|
+
if (configuration) {
|
|
1169
|
+
baseOptions = configuration.baseOptions;
|
|
1170
|
+
}
|
|
1171
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1172
|
+
const localVarHeaderParameter = {};
|
|
1173
|
+
const localVarQueryParameter = {};
|
|
1174
|
+
// authentication id-and-key required
|
|
1175
|
+
// oauth required
|
|
1176
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "id-and-key", [], configuration);
|
|
1177
|
+
if (format !== undefined) {
|
|
1178
|
+
localVarQueryParameter['format'] = format;
|
|
1179
|
+
}
|
|
1180
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1181
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1182
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1183
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1184
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(datasetRetrieveRequest, localVarRequestOptions, configuration);
|
|
1185
|
+
return {
|
|
1186
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1187
|
+
options: localVarRequestOptions,
|
|
1188
|
+
};
|
|
1189
|
+
}),
|
|
1190
|
+
/**
|
|
1191
|
+
*
|
|
1192
|
+
* @summary Retrieve the contents of a dataset, rights are checked via widget rights
|
|
1193
|
+
* @param {string} caseId ID of case
|
|
1194
|
+
* @param {string} dataset ID of dataset
|
|
1195
|
+
* @param {string} widget ID of widget
|
|
1196
|
+
* @param {DatasetGetViaWidgetFormatEnum} format Format of the result
|
|
1197
|
+
* @param {DatasetRetrieveViaWidgetRequest} [datasetRetrieveViaWidgetRequest]
|
|
1198
|
+
* @param {*} [options] Override http request option.
|
|
1199
|
+
* @deprecated
|
|
1200
|
+
* @throws {RequiredError}
|
|
1201
|
+
*/
|
|
1202
|
+
datasetGetViaWidget: (caseId_1, dataset_1, widget_1, format_1, datasetRetrieveViaWidgetRequest_1, ...args_1) => __awaiter(this, [caseId_1, dataset_1, widget_1, format_1, datasetRetrieveViaWidgetRequest_1, ...args_1], void 0, function* (caseId, dataset, widget, format, datasetRetrieveViaWidgetRequest, options = {}) {
|
|
1203
|
+
// verify required parameter 'caseId' is not null or undefined
|
|
1204
|
+
(0, common_1.assertParamExists)('datasetGetViaWidget', 'caseId', caseId);
|
|
1205
|
+
// verify required parameter 'dataset' is not null or undefined
|
|
1206
|
+
(0, common_1.assertParamExists)('datasetGetViaWidget', 'dataset', dataset);
|
|
1207
|
+
// verify required parameter 'widget' is not null or undefined
|
|
1208
|
+
(0, common_1.assertParamExists)('datasetGetViaWidget', 'widget', widget);
|
|
1209
|
+
// verify required parameter 'format' is not null or undefined
|
|
1210
|
+
(0, common_1.assertParamExists)('datasetGetViaWidget', 'format', format);
|
|
1211
|
+
const localVarPath = `/case/{caseId}/dataset/{dataset}/widget/{widget}`
|
|
1212
|
+
.replace(`{${"caseId"}}`, encodeURIComponent(String(caseId)))
|
|
1213
|
+
.replace(`{${"dataset"}}`, encodeURIComponent(String(dataset)))
|
|
1214
|
+
.replace(`{${"widget"}}`, encodeURIComponent(String(widget)));
|
|
1215
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1216
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1217
|
+
let baseOptions;
|
|
1218
|
+
if (configuration) {
|
|
1219
|
+
baseOptions = configuration.baseOptions;
|
|
1220
|
+
}
|
|
1221
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1222
|
+
const localVarHeaderParameter = {};
|
|
1223
|
+
const localVarQueryParameter = {};
|
|
1224
|
+
// authentication id-and-key required
|
|
1225
|
+
// oauth required
|
|
1226
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "id-and-key", [], configuration);
|
|
1227
|
+
if (format !== undefined) {
|
|
1228
|
+
localVarQueryParameter['format'] = format;
|
|
1229
|
+
}
|
|
1230
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1231
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1232
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1233
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1234
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(datasetRetrieveViaWidgetRequest, localVarRequestOptions, configuration);
|
|
1235
|
+
return {
|
|
1236
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1237
|
+
options: localVarRequestOptions,
|
|
1238
|
+
};
|
|
1239
|
+
}),
|
|
1240
|
+
/**
|
|
1241
|
+
*
|
|
1242
|
+
* @summary Retrieve the contents of a dataset, rights are checked via dataset rights
|
|
1243
|
+
* @param {string} casePath Path or Id of case
|
|
1244
|
+
* @param {string} dataset ID of dataset
|
|
1245
|
+
* @param {DatasetRetrieveFormatEnum} format Format of the result
|
|
1246
|
+
* @param {DatasetRetrieveRequest} [datasetRetrieveRequest]
|
|
1247
|
+
* @param {*} [options] Override http request option.
|
|
1248
|
+
* @throws {RequiredError}
|
|
1249
|
+
*/
|
|
1250
|
+
datasetRetrieve: (casePath_1, dataset_1, format_1, datasetRetrieveRequest_1, ...args_1) => __awaiter(this, [casePath_1, dataset_1, format_1, datasetRetrieveRequest_1, ...args_1], void 0, function* (casePath, dataset, format, datasetRetrieveRequest, options = {}) {
|
|
1251
|
+
// verify required parameter 'casePath' is not null or undefined
|
|
1252
|
+
(0, common_1.assertParamExists)('datasetRetrieve', 'casePath', casePath);
|
|
1253
|
+
// verify required parameter 'dataset' is not null or undefined
|
|
1254
|
+
(0, common_1.assertParamExists)('datasetRetrieve', 'dataset', dataset);
|
|
1255
|
+
// verify required parameter 'format' is not null or undefined
|
|
1256
|
+
(0, common_1.assertParamExists)('datasetRetrieve', 'format', format);
|
|
1257
|
+
const localVarPath = `/dataset/{dataset}/{casePath}`
|
|
1258
|
+
.replace(`{${"casePath"}}`, encodeURIComponent(String(casePath)))
|
|
1259
|
+
.replace(`{${"dataset"}}`, encodeURIComponent(String(dataset)));
|
|
1260
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1261
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1262
|
+
let baseOptions;
|
|
1263
|
+
if (configuration) {
|
|
1264
|
+
baseOptions = configuration.baseOptions;
|
|
1265
|
+
}
|
|
1266
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1267
|
+
const localVarHeaderParameter = {};
|
|
1268
|
+
const localVarQueryParameter = {};
|
|
1269
|
+
// authentication id-and-key required
|
|
1270
|
+
// oauth required
|
|
1271
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "id-and-key", [], configuration);
|
|
1272
|
+
if (format !== undefined) {
|
|
1273
|
+
localVarQueryParameter['format'] = format;
|
|
1274
|
+
}
|
|
1275
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1276
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1277
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1278
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1279
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(datasetRetrieveRequest, localVarRequestOptions, configuration);
|
|
1280
|
+
return {
|
|
1281
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1282
|
+
options: localVarRequestOptions,
|
|
1283
|
+
};
|
|
1284
|
+
}),
|
|
1285
|
+
/**
|
|
1286
|
+
*
|
|
1287
|
+
* @summary Retrieve the contents of a dataset, rights are checked via widget rights
|
|
1288
|
+
* @param {string} casePath Path or Id of case
|
|
1289
|
+
* @param {string} dataset ID of dataset
|
|
1290
|
+
* @param {string} widget ID of widget
|
|
1291
|
+
* @param {DatasetRetrieveViaWidgetFormatEnum} format Format of the result
|
|
1292
|
+
* @param {DatasetRetrieveViaWidgetRequest} [datasetRetrieveViaWidgetRequest]
|
|
1293
|
+
* @param {*} [options] Override http request option.
|
|
1294
|
+
* @throws {RequiredError}
|
|
1295
|
+
*/
|
|
1296
|
+
datasetRetrieveViaWidget: (casePath_1, dataset_1, widget_1, format_1, datasetRetrieveViaWidgetRequest_1, ...args_1) => __awaiter(this, [casePath_1, dataset_1, widget_1, format_1, datasetRetrieveViaWidgetRequest_1, ...args_1], void 0, function* (casePath, dataset, widget, format, datasetRetrieveViaWidgetRequest, options = {}) {
|
|
1297
|
+
// verify required parameter 'casePath' is not null or undefined
|
|
1298
|
+
(0, common_1.assertParamExists)('datasetRetrieveViaWidget', 'casePath', casePath);
|
|
1299
|
+
// verify required parameter 'dataset' is not null or undefined
|
|
1300
|
+
(0, common_1.assertParamExists)('datasetRetrieveViaWidget', 'dataset', dataset);
|
|
1301
|
+
// verify required parameter 'widget' is not null or undefined
|
|
1302
|
+
(0, common_1.assertParamExists)('datasetRetrieveViaWidget', 'widget', widget);
|
|
1303
|
+
// verify required parameter 'format' is not null or undefined
|
|
1304
|
+
(0, common_1.assertParamExists)('datasetRetrieveViaWidget', 'format', format);
|
|
1305
|
+
const localVarPath = `/widget-dataset/{dataset}/{widget}/{casePath}`
|
|
1306
|
+
.replace(`{${"casePath"}}`, encodeURIComponent(String(casePath)))
|
|
1307
|
+
.replace(`{${"dataset"}}`, encodeURIComponent(String(dataset)))
|
|
1308
|
+
.replace(`{${"widget"}}`, encodeURIComponent(String(widget)));
|
|
1309
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1310
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1311
|
+
let baseOptions;
|
|
1312
|
+
if (configuration) {
|
|
1313
|
+
baseOptions = configuration.baseOptions;
|
|
1314
|
+
}
|
|
1315
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1316
|
+
const localVarHeaderParameter = {};
|
|
1317
|
+
const localVarQueryParameter = {};
|
|
1318
|
+
// authentication id-and-key required
|
|
1319
|
+
// oauth required
|
|
1320
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "id-and-key", [], configuration);
|
|
1321
|
+
if (format !== undefined) {
|
|
1322
|
+
localVarQueryParameter['format'] = format;
|
|
1323
|
+
}
|
|
1324
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1325
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1326
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1327
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1328
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(datasetRetrieveViaWidgetRequest, localVarRequestOptions, configuration);
|
|
1329
|
+
return {
|
|
1330
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1331
|
+
options: localVarRequestOptions,
|
|
1332
|
+
};
|
|
1333
|
+
}),
|
|
1334
|
+
/**
|
|
1335
|
+
*
|
|
1336
|
+
* @summary Retrieve the contents of a form, rights are checked via form rights
|
|
1337
|
+
* @param {string} caseId ID of case
|
|
1338
|
+
* @param {string} form2 ID of form
|
|
1339
|
+
* @param {FormGetFormatEnum} format Format of the result
|
|
1340
|
+
* @param {any} [form] Set form
|
|
1341
|
+
* @param {*} [options] Override http request option.
|
|
1342
|
+
* @deprecated
|
|
1343
|
+
* @throws {RequiredError}
|
|
1344
|
+
*/
|
|
1345
|
+
formGet: (caseId_1, form2_1, format_1, form_1, ...args_1) => __awaiter(this, [caseId_1, form2_1, format_1, form_1, ...args_1], void 0, function* (caseId, form2, format, form, options = {}) {
|
|
1346
|
+
// verify required parameter 'caseId' is not null or undefined
|
|
1347
|
+
(0, common_1.assertParamExists)('formGet', 'caseId', caseId);
|
|
1348
|
+
// verify required parameter 'form2' is not null or undefined
|
|
1349
|
+
(0, common_1.assertParamExists)('formGet', 'form2', form2);
|
|
1350
|
+
// verify required parameter 'format' is not null or undefined
|
|
1351
|
+
(0, common_1.assertParamExists)('formGet', 'format', format);
|
|
1352
|
+
const localVarPath = `/case/{caseId}/form/{form}`
|
|
1353
|
+
.replace(`{${"caseId"}}`, encodeURIComponent(String(caseId)))
|
|
1354
|
+
.replace(`{${"form"}}`, encodeURIComponent(String(form2)));
|
|
1355
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1356
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1357
|
+
let baseOptions;
|
|
1358
|
+
if (configuration) {
|
|
1359
|
+
baseOptions = configuration.baseOptions;
|
|
1360
|
+
}
|
|
1361
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1362
|
+
const localVarHeaderParameter = {};
|
|
1363
|
+
const localVarQueryParameter = {};
|
|
1364
|
+
// authentication id-and-key required
|
|
1365
|
+
// oauth required
|
|
1366
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "id-and-key", [], configuration);
|
|
1367
|
+
if (form !== undefined) {
|
|
1368
|
+
for (const [key, value] of Object.entries(form)) {
|
|
1369
|
+
localVarQueryParameter[key] = value;
|
|
1370
|
+
}
|
|
1371
|
+
}
|
|
1372
|
+
if (format !== undefined) {
|
|
1373
|
+
localVarQueryParameter['format'] = format;
|
|
1374
|
+
}
|
|
1375
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1376
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1377
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1378
|
+
return {
|
|
1379
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1380
|
+
options: localVarRequestOptions,
|
|
1381
|
+
};
|
|
1382
|
+
}),
|
|
1383
|
+
/**
|
|
1384
|
+
*
|
|
1385
|
+
* @summary Retrieve the contents of a form, rights are checked via form rights
|
|
1386
|
+
* @param {string} casePath Path or Id of case
|
|
1387
|
+
* @param {string} form2 ID of form
|
|
1388
|
+
* @param {FormRetrieveFormatEnum} format Format of the result
|
|
1389
|
+
* @param {any} [form] Set form
|
|
1390
|
+
* @param {*} [options] Override http request option.
|
|
1391
|
+
* @throws {RequiredError}
|
|
1392
|
+
*/
|
|
1393
|
+
formRetrieve: (casePath_1, form2_1, format_1, form_1, ...args_1) => __awaiter(this, [casePath_1, form2_1, format_1, form_1, ...args_1], void 0, function* (casePath, form2, format, form, options = {}) {
|
|
1394
|
+
// verify required parameter 'casePath' is not null or undefined
|
|
1395
|
+
(0, common_1.assertParamExists)('formRetrieve', 'casePath', casePath);
|
|
1396
|
+
// verify required parameter 'form2' is not null or undefined
|
|
1397
|
+
(0, common_1.assertParamExists)('formRetrieve', 'form2', form2);
|
|
1398
|
+
// verify required parameter 'format' is not null or undefined
|
|
1399
|
+
(0, common_1.assertParamExists)('formRetrieve', 'format', format);
|
|
1400
|
+
const localVarPath = `/form/{form}/{casePath}`
|
|
1401
|
+
.replace(`{${"casePath"}}`, encodeURIComponent(String(casePath)))
|
|
1402
|
+
.replace(`{${"form"}}`, encodeURIComponent(String(form2)));
|
|
1403
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1404
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1405
|
+
let baseOptions;
|
|
1406
|
+
if (configuration) {
|
|
1407
|
+
baseOptions = configuration.baseOptions;
|
|
1408
|
+
}
|
|
1409
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1410
|
+
const localVarHeaderParameter = {};
|
|
1411
|
+
const localVarQueryParameter = {};
|
|
1412
|
+
// authentication id-and-key required
|
|
1413
|
+
// oauth required
|
|
1414
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "id-and-key", [], configuration);
|
|
1415
|
+
if (form !== undefined) {
|
|
1416
|
+
for (const [key, value] of Object.entries(form)) {
|
|
1417
|
+
localVarQueryParameter[key] = value;
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
if (format !== undefined) {
|
|
1421
|
+
localVarQueryParameter['format'] = format;
|
|
1422
|
+
}
|
|
1423
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1424
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1425
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1426
|
+
return {
|
|
1427
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1428
|
+
options: localVarRequestOptions,
|
|
1429
|
+
};
|
|
1430
|
+
}),
|
|
1431
|
+
/**
|
|
1432
|
+
*
|
|
1433
|
+
* @summary Create a new optional task based on an activity ID
|
|
1434
|
+
* @param {string} casePath Path or Id of case
|
|
1435
|
+
* @param {string} activity ID of activity
|
|
1436
|
+
* @param {TaskCreateFormatEnum} format Format of the result
|
|
1437
|
+
* @param {TaskCreateRequest} [taskCreateRequest]
|
|
1438
|
+
* @param {*} [options] Override http request option.
|
|
1439
|
+
* @throws {RequiredError}
|
|
1440
|
+
*/
|
|
1441
|
+
taskCreate: (casePath_1, activity_1, format_1, taskCreateRequest_1, ...args_1) => __awaiter(this, [casePath_1, activity_1, format_1, taskCreateRequest_1, ...args_1], void 0, function* (casePath, activity, format, taskCreateRequest, options = {}) {
|
|
1442
|
+
// verify required parameter 'casePath' is not null or undefined
|
|
1443
|
+
(0, common_1.assertParamExists)('taskCreate', 'casePath', casePath);
|
|
1444
|
+
// verify required parameter 'activity' is not null or undefined
|
|
1445
|
+
(0, common_1.assertParamExists)('taskCreate', 'activity', activity);
|
|
1446
|
+
// verify required parameter 'format' is not null or undefined
|
|
1447
|
+
(0, common_1.assertParamExists)('taskCreate', 'format', format);
|
|
1448
|
+
const localVarPath = `/task-create/{activity}/{casePath}`
|
|
1449
|
+
.replace(`{${"casePath"}}`, encodeURIComponent(String(casePath)))
|
|
1450
|
+
.replace(`{${"activity"}}`, encodeURIComponent(String(activity)));
|
|
1451
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1452
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1453
|
+
let baseOptions;
|
|
1454
|
+
if (configuration) {
|
|
1455
|
+
baseOptions = configuration.baseOptions;
|
|
1456
|
+
}
|
|
1457
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1458
|
+
const localVarHeaderParameter = {};
|
|
1459
|
+
const localVarQueryParameter = {};
|
|
1460
|
+
// authentication id-and-key required
|
|
1461
|
+
// oauth required
|
|
1462
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "id-and-key", [], configuration);
|
|
1463
|
+
if (format !== undefined) {
|
|
1464
|
+
localVarQueryParameter['format'] = format;
|
|
1465
|
+
}
|
|
1466
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1467
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1468
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1469
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1470
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(taskCreateRequest, localVarRequestOptions, configuration);
|
|
1471
|
+
return {
|
|
1472
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1473
|
+
options: localVarRequestOptions,
|
|
1474
|
+
};
|
|
1475
|
+
}),
|
|
1476
|
+
/**
|
|
1477
|
+
*
|
|
1478
|
+
* @summary Retrieve an existing task based on the task ID
|
|
1479
|
+
* @param {string} casePath Path or Id of case
|
|
1480
|
+
* @param {number} task ID of task
|
|
1481
|
+
* @param {TaskInfoFormatEnum} format Format of the result
|
|
1482
|
+
* @param {*} [options] Override http request option.
|
|
1483
|
+
* @throws {RequiredError}
|
|
1484
|
+
*/
|
|
1485
|
+
taskInfo: (casePath_1, task_1, format_1, ...args_1) => __awaiter(this, [casePath_1, task_1, format_1, ...args_1], void 0, function* (casePath, task, format, options = {}) {
|
|
1486
|
+
// verify required parameter 'casePath' is not null or undefined
|
|
1487
|
+
(0, common_1.assertParamExists)('taskInfo', 'casePath', casePath);
|
|
1488
|
+
// verify required parameter 'task' is not null or undefined
|
|
1489
|
+
(0, common_1.assertParamExists)('taskInfo', 'task', task);
|
|
1490
|
+
// verify required parameter 'format' is not null or undefined
|
|
1491
|
+
(0, common_1.assertParamExists)('taskInfo', 'format', format);
|
|
1492
|
+
const localVarPath = `/task-info/{task}/{casePath}`
|
|
1493
|
+
.replace(`{${"casePath"}}`, encodeURIComponent(String(casePath)))
|
|
1494
|
+
.replace(`{${"task"}}`, encodeURIComponent(String(task)));
|
|
1495
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1496
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1497
|
+
let baseOptions;
|
|
1498
|
+
if (configuration) {
|
|
1499
|
+
baseOptions = configuration.baseOptions;
|
|
1500
|
+
}
|
|
1501
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1502
|
+
const localVarHeaderParameter = {};
|
|
1503
|
+
const localVarQueryParameter = {};
|
|
1504
|
+
// authentication id-and-key required
|
|
1505
|
+
// oauth required
|
|
1506
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "id-and-key", [], configuration);
|
|
1507
|
+
if (format !== undefined) {
|
|
1508
|
+
localVarQueryParameter['format'] = format;
|
|
1509
|
+
}
|
|
1510
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1511
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1512
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1513
|
+
return {
|
|
1514
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1515
|
+
options: localVarRequestOptions,
|
|
1516
|
+
};
|
|
1517
|
+
}),
|
|
1518
|
+
/**
|
|
1519
|
+
*
|
|
1520
|
+
* @summary Submit an existing task based on the task ID and filled in fields
|
|
1521
|
+
* @param {string} casePath Path or Id of case
|
|
1522
|
+
* @param {number} task ID of task
|
|
1523
|
+
* @param {TaskSubmitRequest} [taskSubmitRequest]
|
|
1524
|
+
* @param {*} [options] Override http request option.
|
|
1525
|
+
* @throws {RequiredError}
|
|
1526
|
+
*/
|
|
1527
|
+
taskSubmit: (casePath_1, task_1, taskSubmitRequest_1, ...args_1) => __awaiter(this, [casePath_1, task_1, taskSubmitRequest_1, ...args_1], void 0, function* (casePath, task, taskSubmitRequest, options = {}) {
|
|
1528
|
+
// verify required parameter 'casePath' is not null or undefined
|
|
1529
|
+
(0, common_1.assertParamExists)('taskSubmit', 'casePath', casePath);
|
|
1530
|
+
// verify required parameter 'task' is not null or undefined
|
|
1531
|
+
(0, common_1.assertParamExists)('taskSubmit', 'task', task);
|
|
1532
|
+
const localVarPath = `/task-submit/{task}/{casePath}`
|
|
1533
|
+
.replace(`{${"casePath"}}`, encodeURIComponent(String(casePath)))
|
|
1534
|
+
.replace(`{${"task"}}`, encodeURIComponent(String(task)));
|
|
1535
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1536
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1537
|
+
let baseOptions;
|
|
1538
|
+
if (configuration) {
|
|
1539
|
+
baseOptions = configuration.baseOptions;
|
|
1540
|
+
}
|
|
1541
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1542
|
+
const localVarHeaderParameter = {};
|
|
1543
|
+
const localVarQueryParameter = {};
|
|
1544
|
+
// authentication id-and-key required
|
|
1545
|
+
// oauth required
|
|
1546
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "id-and-key", [], configuration);
|
|
1547
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1548
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1549
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1550
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1551
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(taskSubmitRequest, localVarRequestOptions, configuration);
|
|
1552
|
+
return {
|
|
1553
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1554
|
+
options: localVarRequestOptions,
|
|
1555
|
+
};
|
|
1556
|
+
}),
|
|
1557
|
+
};
|
|
1558
|
+
};
|
|
1559
|
+
exports.CaseApiAxiosParamCreator = CaseApiAxiosParamCreator;
|
|
1560
|
+
/**
|
|
1561
|
+
* CaseApi - functional programming interface
|
|
1562
|
+
* @export
|
|
1563
|
+
*/
|
|
1564
|
+
const CaseApiFp = function (configuration) {
|
|
1565
|
+
const localVarAxiosParamCreator = (0, exports.CaseApiAxiosParamCreator)(configuration);
|
|
1566
|
+
return {
|
|
1567
|
+
/**
|
|
1568
|
+
*
|
|
1569
|
+
* @summary Submit (create and submit) an activity based on the activity ID and filled in fields
|
|
1570
|
+
* @param {string} casePath Path or Id of case
|
|
1571
|
+
* @param {string} activity ID of activity
|
|
1572
|
+
* @param {object} [body]
|
|
1573
|
+
* @param {*} [options] Override http request option.
|
|
1574
|
+
* @throws {RequiredError}
|
|
1575
|
+
*/
|
|
1576
|
+
activityDirectSubmit(casePath, activity, body, options) {
|
|
1577
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1578
|
+
var _a, _b, _c;
|
|
1579
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.activityDirectSubmit(casePath, activity, body, options);
|
|
1580
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1581
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CaseApi.activityDirectSubmit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1582
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1583
|
+
});
|
|
1584
|
+
},
|
|
1585
|
+
/**
|
|
1586
|
+
*
|
|
1587
|
+
* @summary Submit (create and submit) an activity based on the activity ID and filled in fields
|
|
1588
|
+
* @param {string} caseId ID of case
|
|
1589
|
+
* @param {string} activity ID of activity
|
|
1590
|
+
* @param {object} [body]
|
|
1591
|
+
* @param {*} [options] Override http request option.
|
|
1592
|
+
* @deprecated
|
|
1593
|
+
* @throws {RequiredError}
|
|
1594
|
+
*/
|
|
1595
|
+
activitySubmit(caseId, activity, body, options) {
|
|
1596
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1597
|
+
var _a, _b, _c;
|
|
1598
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.activitySubmit(caseId, activity, body, options);
|
|
1599
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1600
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CaseApi.activitySubmit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1601
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1602
|
+
});
|
|
1603
|
+
},
|
|
1604
|
+
/**
|
|
1605
|
+
*
|
|
1606
|
+
* @summary Retrieve information on a case
|
|
1607
|
+
* @param {string} casePath Path or Id of case
|
|
1608
|
+
* @param {boolean} [css] Set css
|
|
1609
|
+
* @param {boolean} [rootline] Set rootline
|
|
1610
|
+
* @param {boolean} [views] Set views
|
|
1611
|
+
* @param {*} [options] Override http request option.
|
|
1612
|
+
* @throws {RequiredError}
|
|
1613
|
+
*/
|
|
1614
|
+
caseInfo(casePath, css, rootline, views, options) {
|
|
1615
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1616
|
+
var _a, _b, _c;
|
|
1617
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.caseInfo(casePath, css, rootline, views, options);
|
|
1618
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1619
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CaseApi.caseInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1620
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1621
|
+
});
|
|
1622
|
+
},
|
|
1623
|
+
/**
|
|
1624
|
+
*
|
|
1625
|
+
* @summary Create a new optional task based on an activity ID
|
|
1626
|
+
* @param {string} caseId ID of case
|
|
1627
|
+
* @param {string} activity ID of activity
|
|
1628
|
+
* @param {CaseTaskCreateFormatEnum} format Format of the result
|
|
1629
|
+
* @param {TaskCreateRequest} [taskCreateRequest]
|
|
1630
|
+
* @param {*} [options] Override http request option.
|
|
1631
|
+
* @deprecated
|
|
1632
|
+
* @throws {RequiredError}
|
|
1633
|
+
*/
|
|
1634
|
+
caseTaskCreate(caseId, activity, format, taskCreateRequest, options) {
|
|
1635
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1636
|
+
var _a, _b, _c;
|
|
1637
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.caseTaskCreate(caseId, activity, format, taskCreateRequest, options);
|
|
1638
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1639
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CaseApi.caseTaskCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1640
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1641
|
+
});
|
|
1642
|
+
},
|
|
1643
|
+
/**
|
|
1644
|
+
*
|
|
1645
|
+
* @summary Retrieve an existing task based on the task ID
|
|
1646
|
+
* @param {string} caseId ID of case
|
|
1647
|
+
* @param {number} task ID of task
|
|
1648
|
+
* @param {CaseTaskGetFormatEnum} format Format of the result
|
|
1649
|
+
* @param {*} [options] Override http request option.
|
|
1650
|
+
* @deprecated
|
|
1651
|
+
* @throws {RequiredError}
|
|
1652
|
+
*/
|
|
1653
|
+
caseTaskGet(caseId, task, format, options) {
|
|
1654
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1655
|
+
var _a, _b, _c;
|
|
1656
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.caseTaskGet(caseId, task, format, options);
|
|
1657
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1658
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CaseApi.caseTaskGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1659
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1660
|
+
});
|
|
1661
|
+
},
|
|
1662
|
+
/**
|
|
1663
|
+
*
|
|
1664
|
+
* @summary Submit an existing task based on the task ID and filled in fields
|
|
1665
|
+
* @param {string} caseId ID of case
|
|
1666
|
+
* @param {number} task ID of task
|
|
1667
|
+
* @param {TaskSubmitRequest} [taskSubmitRequest]
|
|
1668
|
+
* @param {*} [options] Override http request option.
|
|
1669
|
+
* @deprecated
|
|
1670
|
+
* @throws {RequiredError}
|
|
1671
|
+
*/
|
|
1672
|
+
caseTaskSubmit(caseId, task, taskSubmitRequest, options) {
|
|
1673
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1674
|
+
var _a, _b, _c;
|
|
1675
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.caseTaskSubmit(caseId, task, taskSubmitRequest, options);
|
|
1676
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1677
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CaseApi.caseTaskSubmit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1678
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1679
|
+
});
|
|
1680
|
+
},
|
|
1681
|
+
/**
|
|
1682
|
+
*
|
|
1683
|
+
* @summary Retrieve information on a case
|
|
1684
|
+
* @param {string} caseId ID of case
|
|
1685
|
+
* @param {boolean} [css] Set css
|
|
1686
|
+
* @param {boolean} [rootline] Set rootline
|
|
1687
|
+
* @param {boolean} [views] Set views
|
|
1688
|
+
* @param {*} [options] Override http request option.
|
|
1689
|
+
* @deprecated
|
|
1690
|
+
* @throws {RequiredError}
|
|
1691
|
+
*/
|
|
1692
|
+
caseView(caseId, css, rootline, views, options) {
|
|
1693
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1694
|
+
var _a, _b, _c;
|
|
1695
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.caseView(caseId, css, rootline, views, options);
|
|
1696
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1697
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CaseApi.caseView']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1698
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1699
|
+
});
|
|
1700
|
+
},
|
|
1701
|
+
/**
|
|
1702
|
+
*
|
|
1703
|
+
* @summary Retrieve the contents of a dataset, rights are checked via dataset rights
|
|
1704
|
+
* @param {string} caseId ID of case
|
|
1705
|
+
* @param {string} dataset ID of dataset
|
|
1706
|
+
* @param {DatasetGetFormatEnum} format Format of the result
|
|
1707
|
+
* @param {DatasetRetrieveRequest} [datasetRetrieveRequest]
|
|
1708
|
+
* @param {*} [options] Override http request option.
|
|
1709
|
+
* @deprecated
|
|
1710
|
+
* @throws {RequiredError}
|
|
1711
|
+
*/
|
|
1712
|
+
datasetGet(caseId, dataset, format, datasetRetrieveRequest, options) {
|
|
1713
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1714
|
+
var _a, _b, _c;
|
|
1715
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.datasetGet(caseId, dataset, format, datasetRetrieveRequest, options);
|
|
1716
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1717
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CaseApi.datasetGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1718
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1719
|
+
});
|
|
1720
|
+
},
|
|
1721
|
+
/**
|
|
1722
|
+
*
|
|
1723
|
+
* @summary Retrieve the contents of a dataset, rights are checked via widget rights
|
|
1724
|
+
* @param {string} caseId ID of case
|
|
1725
|
+
* @param {string} dataset ID of dataset
|
|
1726
|
+
* @param {string} widget ID of widget
|
|
1727
|
+
* @param {DatasetGetViaWidgetFormatEnum} format Format of the result
|
|
1728
|
+
* @param {DatasetRetrieveViaWidgetRequest} [datasetRetrieveViaWidgetRequest]
|
|
1729
|
+
* @param {*} [options] Override http request option.
|
|
1730
|
+
* @deprecated
|
|
1731
|
+
* @throws {RequiredError}
|
|
1732
|
+
*/
|
|
1733
|
+
datasetGetViaWidget(caseId, dataset, widget, format, datasetRetrieveViaWidgetRequest, options) {
|
|
1734
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1735
|
+
var _a, _b, _c;
|
|
1736
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.datasetGetViaWidget(caseId, dataset, widget, format, datasetRetrieveViaWidgetRequest, options);
|
|
1737
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1738
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CaseApi.datasetGetViaWidget']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1739
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1740
|
+
});
|
|
1741
|
+
},
|
|
1742
|
+
/**
|
|
1743
|
+
*
|
|
1744
|
+
* @summary Retrieve the contents of a dataset, rights are checked via dataset rights
|
|
1745
|
+
* @param {string} casePath Path or Id of case
|
|
1746
|
+
* @param {string} dataset ID of dataset
|
|
1747
|
+
* @param {DatasetRetrieveFormatEnum} format Format of the result
|
|
1748
|
+
* @param {DatasetRetrieveRequest} [datasetRetrieveRequest]
|
|
1749
|
+
* @param {*} [options] Override http request option.
|
|
1750
|
+
* @throws {RequiredError}
|
|
1751
|
+
*/
|
|
1752
|
+
datasetRetrieve(casePath, dataset, format, datasetRetrieveRequest, options) {
|
|
1753
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1754
|
+
var _a, _b, _c;
|
|
1755
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.datasetRetrieve(casePath, dataset, format, datasetRetrieveRequest, options);
|
|
1756
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1757
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CaseApi.datasetRetrieve']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1758
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1759
|
+
});
|
|
1760
|
+
},
|
|
1761
|
+
/**
|
|
1762
|
+
*
|
|
1763
|
+
* @summary Retrieve the contents of a dataset, rights are checked via widget rights
|
|
1764
|
+
* @param {string} casePath Path or Id of case
|
|
1765
|
+
* @param {string} dataset ID of dataset
|
|
1766
|
+
* @param {string} widget ID of widget
|
|
1767
|
+
* @param {DatasetRetrieveViaWidgetFormatEnum} format Format of the result
|
|
1768
|
+
* @param {DatasetRetrieveViaWidgetRequest} [datasetRetrieveViaWidgetRequest]
|
|
1769
|
+
* @param {*} [options] Override http request option.
|
|
1770
|
+
* @throws {RequiredError}
|
|
1771
|
+
*/
|
|
1772
|
+
datasetRetrieveViaWidget(casePath, dataset, widget, format, datasetRetrieveViaWidgetRequest, options) {
|
|
1773
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1774
|
+
var _a, _b, _c;
|
|
1775
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.datasetRetrieveViaWidget(casePath, dataset, widget, format, datasetRetrieveViaWidgetRequest, options);
|
|
1776
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1777
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CaseApi.datasetRetrieveViaWidget']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1778
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1779
|
+
});
|
|
1780
|
+
},
|
|
1781
|
+
/**
|
|
1782
|
+
*
|
|
1783
|
+
* @summary Retrieve the contents of a form, rights are checked via form rights
|
|
1784
|
+
* @param {string} caseId ID of case
|
|
1785
|
+
* @param {string} form2 ID of form
|
|
1786
|
+
* @param {FormGetFormatEnum} format Format of the result
|
|
1787
|
+
* @param {any} [form] Set form
|
|
1788
|
+
* @param {*} [options] Override http request option.
|
|
1789
|
+
* @deprecated
|
|
1790
|
+
* @throws {RequiredError}
|
|
1791
|
+
*/
|
|
1792
|
+
formGet(caseId, form2, format, form, options) {
|
|
1793
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1794
|
+
var _a, _b, _c;
|
|
1795
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.formGet(caseId, form2, format, form, options);
|
|
1796
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1797
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CaseApi.formGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1798
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1799
|
+
});
|
|
1800
|
+
},
|
|
1801
|
+
/**
|
|
1802
|
+
*
|
|
1803
|
+
* @summary Retrieve the contents of a form, rights are checked via form rights
|
|
1804
|
+
* @param {string} casePath Path or Id of case
|
|
1805
|
+
* @param {string} form2 ID of form
|
|
1806
|
+
* @param {FormRetrieveFormatEnum} format Format of the result
|
|
1807
|
+
* @param {any} [form] Set form
|
|
1808
|
+
* @param {*} [options] Override http request option.
|
|
1809
|
+
* @throws {RequiredError}
|
|
1810
|
+
*/
|
|
1811
|
+
formRetrieve(casePath, form2, format, form, options) {
|
|
1812
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1813
|
+
var _a, _b, _c;
|
|
1814
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.formRetrieve(casePath, form2, format, form, options);
|
|
1815
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1816
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CaseApi.formRetrieve']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1817
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1818
|
+
});
|
|
1819
|
+
},
|
|
1820
|
+
/**
|
|
1821
|
+
*
|
|
1822
|
+
* @summary Create a new optional task based on an activity ID
|
|
1823
|
+
* @param {string} casePath Path or Id of case
|
|
1824
|
+
* @param {string} activity ID of activity
|
|
1825
|
+
* @param {TaskCreateFormatEnum} format Format of the result
|
|
1826
|
+
* @param {TaskCreateRequest} [taskCreateRequest]
|
|
1827
|
+
* @param {*} [options] Override http request option.
|
|
1828
|
+
* @throws {RequiredError}
|
|
1829
|
+
*/
|
|
1830
|
+
taskCreate(casePath, activity, format, taskCreateRequest, options) {
|
|
1831
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1832
|
+
var _a, _b, _c;
|
|
1833
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.taskCreate(casePath, activity, format, taskCreateRequest, options);
|
|
1834
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1835
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CaseApi.taskCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1836
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1837
|
+
});
|
|
1838
|
+
},
|
|
1839
|
+
/**
|
|
1840
|
+
*
|
|
1841
|
+
* @summary Retrieve an existing task based on the task ID
|
|
1842
|
+
* @param {string} casePath Path or Id of case
|
|
1843
|
+
* @param {number} task ID of task
|
|
1844
|
+
* @param {TaskInfoFormatEnum} format Format of the result
|
|
1845
|
+
* @param {*} [options] Override http request option.
|
|
1846
|
+
* @throws {RequiredError}
|
|
1847
|
+
*/
|
|
1848
|
+
taskInfo(casePath, task, format, options) {
|
|
1849
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1850
|
+
var _a, _b, _c;
|
|
1851
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.taskInfo(casePath, task, format, options);
|
|
1852
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1853
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CaseApi.taskInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1854
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1855
|
+
});
|
|
1856
|
+
},
|
|
1857
|
+
/**
|
|
1858
|
+
*
|
|
1859
|
+
* @summary Submit an existing task based on the task ID and filled in fields
|
|
1860
|
+
* @param {string} casePath Path or Id of case
|
|
1861
|
+
* @param {number} task ID of task
|
|
1862
|
+
* @param {TaskSubmitRequest} [taskSubmitRequest]
|
|
1863
|
+
* @param {*} [options] Override http request option.
|
|
1864
|
+
* @throws {RequiredError}
|
|
1865
|
+
*/
|
|
1866
|
+
taskSubmit(casePath, task, taskSubmitRequest, options) {
|
|
1867
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1868
|
+
var _a, _b, _c;
|
|
1869
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.taskSubmit(casePath, task, taskSubmitRequest, options);
|
|
1870
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1871
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CaseApi.taskSubmit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1872
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1873
|
+
});
|
|
1874
|
+
},
|
|
1875
|
+
};
|
|
1876
|
+
};
|
|
1877
|
+
exports.CaseApiFp = CaseApiFp;
|
|
1878
|
+
/**
|
|
1879
|
+
* CaseApi - factory interface
|
|
1880
|
+
* @export
|
|
1881
|
+
*/
|
|
1882
|
+
const CaseApiFactory = function (configuration, basePath, axios) {
|
|
1883
|
+
const localVarFp = (0, exports.CaseApiFp)(configuration);
|
|
1884
|
+
return {
|
|
1885
|
+
/**
|
|
1886
|
+
*
|
|
1887
|
+
* @summary Submit (create and submit) an activity based on the activity ID and filled in fields
|
|
1888
|
+
* @param {string} casePath Path or Id of case
|
|
1889
|
+
* @param {string} activity ID of activity
|
|
1890
|
+
* @param {object} [body]
|
|
1891
|
+
* @param {*} [options] Override http request option.
|
|
1892
|
+
* @throws {RequiredError}
|
|
1893
|
+
*/
|
|
1894
|
+
activityDirectSubmit(casePath, activity, body, options) {
|
|
1895
|
+
return localVarFp.activityDirectSubmit(casePath, activity, body, options).then((request) => request(axios, basePath));
|
|
1896
|
+
},
|
|
1897
|
+
/**
|
|
1898
|
+
*
|
|
1899
|
+
* @summary Submit (create and submit) an activity based on the activity ID and filled in fields
|
|
1900
|
+
* @param {string} caseId ID of case
|
|
1901
|
+
* @param {string} activity ID of activity
|
|
1902
|
+
* @param {object} [body]
|
|
1903
|
+
* @param {*} [options] Override http request option.
|
|
1904
|
+
* @deprecated
|
|
1905
|
+
* @throws {RequiredError}
|
|
1906
|
+
*/
|
|
1907
|
+
activitySubmit(caseId, activity, body, options) {
|
|
1908
|
+
return localVarFp.activitySubmit(caseId, activity, body, options).then((request) => request(axios, basePath));
|
|
1909
|
+
},
|
|
1910
|
+
/**
|
|
1911
|
+
*
|
|
1912
|
+
* @summary Retrieve information on a case
|
|
1913
|
+
* @param {string} casePath Path or Id of case
|
|
1914
|
+
* @param {boolean} [css] Set css
|
|
1915
|
+
* @param {boolean} [rootline] Set rootline
|
|
1916
|
+
* @param {boolean} [views] Set views
|
|
1917
|
+
* @param {*} [options] Override http request option.
|
|
1918
|
+
* @throws {RequiredError}
|
|
1919
|
+
*/
|
|
1920
|
+
caseInfo(casePath, css, rootline, views, options) {
|
|
1921
|
+
return localVarFp.caseInfo(casePath, css, rootline, views, options).then((request) => request(axios, basePath));
|
|
1922
|
+
},
|
|
1923
|
+
/**
|
|
1924
|
+
*
|
|
1925
|
+
* @summary Create a new optional task based on an activity ID
|
|
1926
|
+
* @param {string} caseId ID of case
|
|
1927
|
+
* @param {string} activity ID of activity
|
|
1928
|
+
* @param {CaseTaskCreateFormatEnum} format Format of the result
|
|
1929
|
+
* @param {TaskCreateRequest} [taskCreateRequest]
|
|
1930
|
+
* @param {*} [options] Override http request option.
|
|
1931
|
+
* @deprecated
|
|
1932
|
+
* @throws {RequiredError}
|
|
1933
|
+
*/
|
|
1934
|
+
caseTaskCreate(caseId, activity, format, taskCreateRequest, options) {
|
|
1935
|
+
return localVarFp.caseTaskCreate(caseId, activity, format, taskCreateRequest, options).then((request) => request(axios, basePath));
|
|
1936
|
+
},
|
|
1937
|
+
/**
|
|
1938
|
+
*
|
|
1939
|
+
* @summary Retrieve an existing task based on the task ID
|
|
1940
|
+
* @param {string} caseId ID of case
|
|
1941
|
+
* @param {number} task ID of task
|
|
1942
|
+
* @param {CaseTaskGetFormatEnum} format Format of the result
|
|
1943
|
+
* @param {*} [options] Override http request option.
|
|
1944
|
+
* @deprecated
|
|
1945
|
+
* @throws {RequiredError}
|
|
1946
|
+
*/
|
|
1947
|
+
caseTaskGet(caseId, task, format, options) {
|
|
1948
|
+
return localVarFp.caseTaskGet(caseId, task, format, options).then((request) => request(axios, basePath));
|
|
1949
|
+
},
|
|
1950
|
+
/**
|
|
1951
|
+
*
|
|
1952
|
+
* @summary Submit an existing task based on the task ID and filled in fields
|
|
1953
|
+
* @param {string} caseId ID of case
|
|
1954
|
+
* @param {number} task ID of task
|
|
1955
|
+
* @param {TaskSubmitRequest} [taskSubmitRequest]
|
|
1956
|
+
* @param {*} [options] Override http request option.
|
|
1957
|
+
* @deprecated
|
|
1958
|
+
* @throws {RequiredError}
|
|
1959
|
+
*/
|
|
1960
|
+
caseTaskSubmit(caseId, task, taskSubmitRequest, options) {
|
|
1961
|
+
return localVarFp.caseTaskSubmit(caseId, task, taskSubmitRequest, options).then((request) => request(axios, basePath));
|
|
1962
|
+
},
|
|
1963
|
+
/**
|
|
1964
|
+
*
|
|
1965
|
+
* @summary Retrieve information on a case
|
|
1966
|
+
* @param {string} caseId ID of case
|
|
1967
|
+
* @param {boolean} [css] Set css
|
|
1968
|
+
* @param {boolean} [rootline] Set rootline
|
|
1969
|
+
* @param {boolean} [views] Set views
|
|
1970
|
+
* @param {*} [options] Override http request option.
|
|
1971
|
+
* @deprecated
|
|
1972
|
+
* @throws {RequiredError}
|
|
1973
|
+
*/
|
|
1974
|
+
caseView(caseId, css, rootline, views, options) {
|
|
1975
|
+
return localVarFp.caseView(caseId, css, rootline, views, options).then((request) => request(axios, basePath));
|
|
1976
|
+
},
|
|
1977
|
+
/**
|
|
1978
|
+
*
|
|
1979
|
+
* @summary Retrieve the contents of a dataset, rights are checked via dataset rights
|
|
1980
|
+
* @param {string} caseId ID of case
|
|
1981
|
+
* @param {string} dataset ID of dataset
|
|
1982
|
+
* @param {DatasetGetFormatEnum} format Format of the result
|
|
1983
|
+
* @param {DatasetRetrieveRequest} [datasetRetrieveRequest]
|
|
1984
|
+
* @param {*} [options] Override http request option.
|
|
1985
|
+
* @deprecated
|
|
1986
|
+
* @throws {RequiredError}
|
|
1987
|
+
*/
|
|
1988
|
+
datasetGet(caseId, dataset, format, datasetRetrieveRequest, options) {
|
|
1989
|
+
return localVarFp.datasetGet(caseId, dataset, format, datasetRetrieveRequest, options).then((request) => request(axios, basePath));
|
|
1990
|
+
},
|
|
1991
|
+
/**
|
|
1992
|
+
*
|
|
1993
|
+
* @summary Retrieve the contents of a dataset, rights are checked via widget rights
|
|
1994
|
+
* @param {string} caseId ID of case
|
|
1995
|
+
* @param {string} dataset ID of dataset
|
|
1996
|
+
* @param {string} widget ID of widget
|
|
1997
|
+
* @param {DatasetGetViaWidgetFormatEnum} format Format of the result
|
|
1998
|
+
* @param {DatasetRetrieveViaWidgetRequest} [datasetRetrieveViaWidgetRequest]
|
|
1999
|
+
* @param {*} [options] Override http request option.
|
|
2000
|
+
* @deprecated
|
|
2001
|
+
* @throws {RequiredError}
|
|
2002
|
+
*/
|
|
2003
|
+
datasetGetViaWidget(caseId, dataset, widget, format, datasetRetrieveViaWidgetRequest, options) {
|
|
2004
|
+
return localVarFp.datasetGetViaWidget(caseId, dataset, widget, format, datasetRetrieveViaWidgetRequest, options).then((request) => request(axios, basePath));
|
|
2005
|
+
},
|
|
2006
|
+
/**
|
|
2007
|
+
*
|
|
2008
|
+
* @summary Retrieve the contents of a dataset, rights are checked via dataset rights
|
|
2009
|
+
* @param {string} casePath Path or Id of case
|
|
2010
|
+
* @param {string} dataset ID of dataset
|
|
2011
|
+
* @param {DatasetRetrieveFormatEnum} format Format of the result
|
|
2012
|
+
* @param {DatasetRetrieveRequest} [datasetRetrieveRequest]
|
|
2013
|
+
* @param {*} [options] Override http request option.
|
|
2014
|
+
* @throws {RequiredError}
|
|
2015
|
+
*/
|
|
2016
|
+
datasetRetrieve(casePath, dataset, format, datasetRetrieveRequest, options) {
|
|
2017
|
+
return localVarFp.datasetRetrieve(casePath, dataset, format, datasetRetrieveRequest, options).then((request) => request(axios, basePath));
|
|
2018
|
+
},
|
|
2019
|
+
/**
|
|
2020
|
+
*
|
|
2021
|
+
* @summary Retrieve the contents of a dataset, rights are checked via widget rights
|
|
2022
|
+
* @param {string} casePath Path or Id of case
|
|
2023
|
+
* @param {string} dataset ID of dataset
|
|
2024
|
+
* @param {string} widget ID of widget
|
|
2025
|
+
* @param {DatasetRetrieveViaWidgetFormatEnum} format Format of the result
|
|
2026
|
+
* @param {DatasetRetrieveViaWidgetRequest} [datasetRetrieveViaWidgetRequest]
|
|
2027
|
+
* @param {*} [options] Override http request option.
|
|
2028
|
+
* @throws {RequiredError}
|
|
2029
|
+
*/
|
|
2030
|
+
datasetRetrieveViaWidget(casePath, dataset, widget, format, datasetRetrieveViaWidgetRequest, options) {
|
|
2031
|
+
return localVarFp.datasetRetrieveViaWidget(casePath, dataset, widget, format, datasetRetrieveViaWidgetRequest, options).then((request) => request(axios, basePath));
|
|
2032
|
+
},
|
|
2033
|
+
/**
|
|
2034
|
+
*
|
|
2035
|
+
* @summary Retrieve the contents of a form, rights are checked via form rights
|
|
2036
|
+
* @param {string} caseId ID of case
|
|
2037
|
+
* @param {string} form2 ID of form
|
|
2038
|
+
* @param {FormGetFormatEnum} format Format of the result
|
|
2039
|
+
* @param {any} [form] Set form
|
|
2040
|
+
* @param {*} [options] Override http request option.
|
|
2041
|
+
* @deprecated
|
|
2042
|
+
* @throws {RequiredError}
|
|
2043
|
+
*/
|
|
2044
|
+
formGet(caseId, form2, format, form, options) {
|
|
2045
|
+
return localVarFp.formGet(caseId, form2, format, form, options).then((request) => request(axios, basePath));
|
|
2046
|
+
},
|
|
2047
|
+
/**
|
|
2048
|
+
*
|
|
2049
|
+
* @summary Retrieve the contents of a form, rights are checked via form rights
|
|
2050
|
+
* @param {string} casePath Path or Id of case
|
|
2051
|
+
* @param {string} form2 ID of form
|
|
2052
|
+
* @param {FormRetrieveFormatEnum} format Format of the result
|
|
2053
|
+
* @param {any} [form] Set form
|
|
2054
|
+
* @param {*} [options] Override http request option.
|
|
2055
|
+
* @throws {RequiredError}
|
|
2056
|
+
*/
|
|
2057
|
+
formRetrieve(casePath, form2, format, form, options) {
|
|
2058
|
+
return localVarFp.formRetrieve(casePath, form2, format, form, options).then((request) => request(axios, basePath));
|
|
2059
|
+
},
|
|
2060
|
+
/**
|
|
2061
|
+
*
|
|
2062
|
+
* @summary Create a new optional task based on an activity ID
|
|
2063
|
+
* @param {string} casePath Path or Id of case
|
|
2064
|
+
* @param {string} activity ID of activity
|
|
2065
|
+
* @param {TaskCreateFormatEnum} format Format of the result
|
|
2066
|
+
* @param {TaskCreateRequest} [taskCreateRequest]
|
|
2067
|
+
* @param {*} [options] Override http request option.
|
|
2068
|
+
* @throws {RequiredError}
|
|
2069
|
+
*/
|
|
2070
|
+
taskCreate(casePath, activity, format, taskCreateRequest, options) {
|
|
2071
|
+
return localVarFp.taskCreate(casePath, activity, format, taskCreateRequest, options).then((request) => request(axios, basePath));
|
|
2072
|
+
},
|
|
2073
|
+
/**
|
|
2074
|
+
*
|
|
2075
|
+
* @summary Retrieve an existing task based on the task ID
|
|
2076
|
+
* @param {string} casePath Path or Id of case
|
|
2077
|
+
* @param {number} task ID of task
|
|
2078
|
+
* @param {TaskInfoFormatEnum} format Format of the result
|
|
2079
|
+
* @param {*} [options] Override http request option.
|
|
2080
|
+
* @throws {RequiredError}
|
|
2081
|
+
*/
|
|
2082
|
+
taskInfo(casePath, task, format, options) {
|
|
2083
|
+
return localVarFp.taskInfo(casePath, task, format, options).then((request) => request(axios, basePath));
|
|
2084
|
+
},
|
|
2085
|
+
/**
|
|
2086
|
+
*
|
|
2087
|
+
* @summary Submit an existing task based on the task ID and filled in fields
|
|
2088
|
+
* @param {string} casePath Path or Id of case
|
|
2089
|
+
* @param {number} task ID of task
|
|
2090
|
+
* @param {TaskSubmitRequest} [taskSubmitRequest]
|
|
2091
|
+
* @param {*} [options] Override http request option.
|
|
2092
|
+
* @throws {RequiredError}
|
|
2093
|
+
*/
|
|
2094
|
+
taskSubmit(casePath, task, taskSubmitRequest, options) {
|
|
2095
|
+
return localVarFp.taskSubmit(casePath, task, taskSubmitRequest, options).then((request) => request(axios, basePath));
|
|
2096
|
+
},
|
|
2097
|
+
};
|
|
2098
|
+
};
|
|
2099
|
+
exports.CaseApiFactory = CaseApiFactory;
|
|
2100
|
+
/**
|
|
2101
|
+
* CaseApi - object-oriented interface
|
|
2102
|
+
* @export
|
|
2103
|
+
* @class CaseApi
|
|
2104
|
+
* @extends {BaseAPI}
|
|
2105
|
+
*/
|
|
2106
|
+
class CaseApi extends base_1.BaseAPI {
|
|
2107
|
+
/**
|
|
2108
|
+
*
|
|
2109
|
+
* @summary Submit (create and submit) an activity based on the activity ID and filled in fields
|
|
2110
|
+
* @param {string} casePath Path or Id of case
|
|
2111
|
+
* @param {string} activity ID of activity
|
|
2112
|
+
* @param {object} [body]
|
|
2113
|
+
* @param {*} [options] Override http request option.
|
|
2114
|
+
* @throws {RequiredError}
|
|
2115
|
+
* @memberof CaseApi
|
|
2116
|
+
*/
|
|
2117
|
+
activityDirectSubmit(casePath, activity, body, options) {
|
|
2118
|
+
return (0, exports.CaseApiFp)(this.configuration).activityDirectSubmit(casePath, activity, body, options).then((request) => request(this.axios, this.basePath));
|
|
2119
|
+
}
|
|
2120
|
+
/**
|
|
2121
|
+
*
|
|
2122
|
+
* @summary Submit (create and submit) an activity based on the activity ID and filled in fields
|
|
2123
|
+
* @param {string} caseId ID of case
|
|
2124
|
+
* @param {string} activity ID of activity
|
|
2125
|
+
* @param {object} [body]
|
|
2126
|
+
* @param {*} [options] Override http request option.
|
|
2127
|
+
* @deprecated
|
|
2128
|
+
* @throws {RequiredError}
|
|
2129
|
+
* @memberof CaseApi
|
|
2130
|
+
*/
|
|
2131
|
+
activitySubmit(caseId, activity, body, options) {
|
|
2132
|
+
return (0, exports.CaseApiFp)(this.configuration).activitySubmit(caseId, activity, body, options).then((request) => request(this.axios, this.basePath));
|
|
2133
|
+
}
|
|
2134
|
+
/**
|
|
2135
|
+
*
|
|
2136
|
+
* @summary Retrieve information on a case
|
|
2137
|
+
* @param {string} casePath Path or Id of case
|
|
2138
|
+
* @param {boolean} [css] Set css
|
|
2139
|
+
* @param {boolean} [rootline] Set rootline
|
|
2140
|
+
* @param {boolean} [views] Set views
|
|
2141
|
+
* @param {*} [options] Override http request option.
|
|
2142
|
+
* @throws {RequiredError}
|
|
2143
|
+
* @memberof CaseApi
|
|
2144
|
+
*/
|
|
2145
|
+
caseInfo(casePath, css, rootline, views, options) {
|
|
2146
|
+
return (0, exports.CaseApiFp)(this.configuration).caseInfo(casePath, css, rootline, views, options).then((request) => request(this.axios, this.basePath));
|
|
2147
|
+
}
|
|
2148
|
+
/**
|
|
2149
|
+
*
|
|
2150
|
+
* @summary Create a new optional task based on an activity ID
|
|
2151
|
+
* @param {string} caseId ID of case
|
|
2152
|
+
* @param {string} activity ID of activity
|
|
2153
|
+
* @param {CaseTaskCreateFormatEnum} format Format of the result
|
|
2154
|
+
* @param {TaskCreateRequest} [taskCreateRequest]
|
|
2155
|
+
* @param {*} [options] Override http request option.
|
|
2156
|
+
* @deprecated
|
|
2157
|
+
* @throws {RequiredError}
|
|
2158
|
+
* @memberof CaseApi
|
|
2159
|
+
*/
|
|
2160
|
+
caseTaskCreate(caseId, activity, format, taskCreateRequest, options) {
|
|
2161
|
+
return (0, exports.CaseApiFp)(this.configuration).caseTaskCreate(caseId, activity, format, taskCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2162
|
+
}
|
|
2163
|
+
/**
|
|
2164
|
+
*
|
|
2165
|
+
* @summary Retrieve an existing task based on the task ID
|
|
2166
|
+
* @param {string} caseId ID of case
|
|
2167
|
+
* @param {number} task ID of task
|
|
2168
|
+
* @param {CaseTaskGetFormatEnum} format Format of the result
|
|
2169
|
+
* @param {*} [options] Override http request option.
|
|
2170
|
+
* @deprecated
|
|
2171
|
+
* @throws {RequiredError}
|
|
2172
|
+
* @memberof CaseApi
|
|
2173
|
+
*/
|
|
2174
|
+
caseTaskGet(caseId, task, format, options) {
|
|
2175
|
+
return (0, exports.CaseApiFp)(this.configuration).caseTaskGet(caseId, task, format, options).then((request) => request(this.axios, this.basePath));
|
|
2176
|
+
}
|
|
2177
|
+
/**
|
|
2178
|
+
*
|
|
2179
|
+
* @summary Submit an existing task based on the task ID and filled in fields
|
|
2180
|
+
* @param {string} caseId ID of case
|
|
2181
|
+
* @param {number} task ID of task
|
|
2182
|
+
* @param {TaskSubmitRequest} [taskSubmitRequest]
|
|
2183
|
+
* @param {*} [options] Override http request option.
|
|
2184
|
+
* @deprecated
|
|
2185
|
+
* @throws {RequiredError}
|
|
2186
|
+
* @memberof CaseApi
|
|
2187
|
+
*/
|
|
2188
|
+
caseTaskSubmit(caseId, task, taskSubmitRequest, options) {
|
|
2189
|
+
return (0, exports.CaseApiFp)(this.configuration).caseTaskSubmit(caseId, task, taskSubmitRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2190
|
+
}
|
|
2191
|
+
/**
|
|
2192
|
+
*
|
|
2193
|
+
* @summary Retrieve information on a case
|
|
2194
|
+
* @param {string} caseId ID of case
|
|
2195
|
+
* @param {boolean} [css] Set css
|
|
2196
|
+
* @param {boolean} [rootline] Set rootline
|
|
2197
|
+
* @param {boolean} [views] Set views
|
|
2198
|
+
* @param {*} [options] Override http request option.
|
|
2199
|
+
* @deprecated
|
|
2200
|
+
* @throws {RequiredError}
|
|
2201
|
+
* @memberof CaseApi
|
|
2202
|
+
*/
|
|
2203
|
+
caseView(caseId, css, rootline, views, options) {
|
|
2204
|
+
return (0, exports.CaseApiFp)(this.configuration).caseView(caseId, css, rootline, views, options).then((request) => request(this.axios, this.basePath));
|
|
2205
|
+
}
|
|
2206
|
+
/**
|
|
2207
|
+
*
|
|
2208
|
+
* @summary Retrieve the contents of a dataset, rights are checked via dataset rights
|
|
2209
|
+
* @param {string} caseId ID of case
|
|
2210
|
+
* @param {string} dataset ID of dataset
|
|
2211
|
+
* @param {DatasetGetFormatEnum} format Format of the result
|
|
2212
|
+
* @param {DatasetRetrieveRequest} [datasetRetrieveRequest]
|
|
2213
|
+
* @param {*} [options] Override http request option.
|
|
2214
|
+
* @deprecated
|
|
2215
|
+
* @throws {RequiredError}
|
|
2216
|
+
* @memberof CaseApi
|
|
2217
|
+
*/
|
|
2218
|
+
datasetGet(caseId, dataset, format, datasetRetrieveRequest, options) {
|
|
2219
|
+
return (0, exports.CaseApiFp)(this.configuration).datasetGet(caseId, dataset, format, datasetRetrieveRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2220
|
+
}
|
|
2221
|
+
/**
|
|
2222
|
+
*
|
|
2223
|
+
* @summary Retrieve the contents of a dataset, rights are checked via widget rights
|
|
2224
|
+
* @param {string} caseId ID of case
|
|
2225
|
+
* @param {string} dataset ID of dataset
|
|
2226
|
+
* @param {string} widget ID of widget
|
|
2227
|
+
* @param {DatasetGetViaWidgetFormatEnum} format Format of the result
|
|
2228
|
+
* @param {DatasetRetrieveViaWidgetRequest} [datasetRetrieveViaWidgetRequest]
|
|
2229
|
+
* @param {*} [options] Override http request option.
|
|
2230
|
+
* @deprecated
|
|
2231
|
+
* @throws {RequiredError}
|
|
2232
|
+
* @memberof CaseApi
|
|
2233
|
+
*/
|
|
2234
|
+
datasetGetViaWidget(caseId, dataset, widget, format, datasetRetrieveViaWidgetRequest, options) {
|
|
2235
|
+
return (0, exports.CaseApiFp)(this.configuration).datasetGetViaWidget(caseId, dataset, widget, format, datasetRetrieveViaWidgetRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2236
|
+
}
|
|
2237
|
+
/**
|
|
2238
|
+
*
|
|
2239
|
+
* @summary Retrieve the contents of a dataset, rights are checked via dataset rights
|
|
2240
|
+
* @param {string} casePath Path or Id of case
|
|
2241
|
+
* @param {string} dataset ID of dataset
|
|
2242
|
+
* @param {DatasetRetrieveFormatEnum} format Format of the result
|
|
2243
|
+
* @param {DatasetRetrieveRequest} [datasetRetrieveRequest]
|
|
2244
|
+
* @param {*} [options] Override http request option.
|
|
2245
|
+
* @throws {RequiredError}
|
|
2246
|
+
* @memberof CaseApi
|
|
2247
|
+
*/
|
|
2248
|
+
datasetRetrieve(casePath, dataset, format, datasetRetrieveRequest, options) {
|
|
2249
|
+
return (0, exports.CaseApiFp)(this.configuration).datasetRetrieve(casePath, dataset, format, datasetRetrieveRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2250
|
+
}
|
|
2251
|
+
/**
|
|
2252
|
+
*
|
|
2253
|
+
* @summary Retrieve the contents of a dataset, rights are checked via widget rights
|
|
2254
|
+
* @param {string} casePath Path or Id of case
|
|
2255
|
+
* @param {string} dataset ID of dataset
|
|
2256
|
+
* @param {string} widget ID of widget
|
|
2257
|
+
* @param {DatasetRetrieveViaWidgetFormatEnum} format Format of the result
|
|
2258
|
+
* @param {DatasetRetrieveViaWidgetRequest} [datasetRetrieveViaWidgetRequest]
|
|
2259
|
+
* @param {*} [options] Override http request option.
|
|
2260
|
+
* @throws {RequiredError}
|
|
2261
|
+
* @memberof CaseApi
|
|
2262
|
+
*/
|
|
2263
|
+
datasetRetrieveViaWidget(casePath, dataset, widget, format, datasetRetrieveViaWidgetRequest, options) {
|
|
2264
|
+
return (0, exports.CaseApiFp)(this.configuration).datasetRetrieveViaWidget(casePath, dataset, widget, format, datasetRetrieveViaWidgetRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2265
|
+
}
|
|
2266
|
+
/**
|
|
2267
|
+
*
|
|
2268
|
+
* @summary Retrieve the contents of a form, rights are checked via form rights
|
|
2269
|
+
* @param {string} caseId ID of case
|
|
2270
|
+
* @param {string} form2 ID of form
|
|
2271
|
+
* @param {FormGetFormatEnum} format Format of the result
|
|
2272
|
+
* @param {any} [form] Set form
|
|
2273
|
+
* @param {*} [options] Override http request option.
|
|
2274
|
+
* @deprecated
|
|
2275
|
+
* @throws {RequiredError}
|
|
2276
|
+
* @memberof CaseApi
|
|
2277
|
+
*/
|
|
2278
|
+
formGet(caseId, form2, format, form, options) {
|
|
2279
|
+
return (0, exports.CaseApiFp)(this.configuration).formGet(caseId, form2, format, form, options).then((request) => request(this.axios, this.basePath));
|
|
2280
|
+
}
|
|
2281
|
+
/**
|
|
2282
|
+
*
|
|
2283
|
+
* @summary Retrieve the contents of a form, rights are checked via form rights
|
|
2284
|
+
* @param {string} casePath Path or Id of case
|
|
2285
|
+
* @param {string} form2 ID of form
|
|
2286
|
+
* @param {FormRetrieveFormatEnum} format Format of the result
|
|
2287
|
+
* @param {any} [form] Set form
|
|
2288
|
+
* @param {*} [options] Override http request option.
|
|
2289
|
+
* @throws {RequiredError}
|
|
2290
|
+
* @memberof CaseApi
|
|
2291
|
+
*/
|
|
2292
|
+
formRetrieve(casePath, form2, format, form, options) {
|
|
2293
|
+
return (0, exports.CaseApiFp)(this.configuration).formRetrieve(casePath, form2, format, form, options).then((request) => request(this.axios, this.basePath));
|
|
2294
|
+
}
|
|
2295
|
+
/**
|
|
2296
|
+
*
|
|
2297
|
+
* @summary Create a new optional task based on an activity ID
|
|
2298
|
+
* @param {string} casePath Path or Id of case
|
|
2299
|
+
* @param {string} activity ID of activity
|
|
2300
|
+
* @param {TaskCreateFormatEnum} format Format of the result
|
|
2301
|
+
* @param {TaskCreateRequest} [taskCreateRequest]
|
|
2302
|
+
* @param {*} [options] Override http request option.
|
|
2303
|
+
* @throws {RequiredError}
|
|
2304
|
+
* @memberof CaseApi
|
|
2305
|
+
*/
|
|
2306
|
+
taskCreate(casePath, activity, format, taskCreateRequest, options) {
|
|
2307
|
+
return (0, exports.CaseApiFp)(this.configuration).taskCreate(casePath, activity, format, taskCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2308
|
+
}
|
|
2309
|
+
/**
|
|
2310
|
+
*
|
|
2311
|
+
* @summary Retrieve an existing task based on the task ID
|
|
2312
|
+
* @param {string} casePath Path or Id of case
|
|
2313
|
+
* @param {number} task ID of task
|
|
2314
|
+
* @param {TaskInfoFormatEnum} format Format of the result
|
|
2315
|
+
* @param {*} [options] Override http request option.
|
|
2316
|
+
* @throws {RequiredError}
|
|
2317
|
+
* @memberof CaseApi
|
|
2318
|
+
*/
|
|
2319
|
+
taskInfo(casePath, task, format, options) {
|
|
2320
|
+
return (0, exports.CaseApiFp)(this.configuration).taskInfo(casePath, task, format, options).then((request) => request(this.axios, this.basePath));
|
|
2321
|
+
}
|
|
2322
|
+
/**
|
|
2323
|
+
*
|
|
2324
|
+
* @summary Submit an existing task based on the task ID and filled in fields
|
|
2325
|
+
* @param {string} casePath Path or Id of case
|
|
2326
|
+
* @param {number} task ID of task
|
|
2327
|
+
* @param {TaskSubmitRequest} [taskSubmitRequest]
|
|
2328
|
+
* @param {*} [options] Override http request option.
|
|
2329
|
+
* @throws {RequiredError}
|
|
2330
|
+
* @memberof CaseApi
|
|
2331
|
+
*/
|
|
2332
|
+
taskSubmit(casePath, task, taskSubmitRequest, options) {
|
|
2333
|
+
return (0, exports.CaseApiFp)(this.configuration).taskSubmit(casePath, task, taskSubmitRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2334
|
+
}
|
|
2335
|
+
}
|
|
2336
|
+
exports.CaseApi = CaseApi;
|
|
2337
|
+
/**
|
|
2338
|
+
* @export
|
|
2339
|
+
*/
|
|
2340
|
+
exports.CaseTaskCreateFormatEnum = {
|
|
2341
|
+
Simple: 'simple',
|
|
2342
|
+
Full: 'full'
|
|
2343
|
+
};
|
|
2344
|
+
/**
|
|
2345
|
+
* @export
|
|
2346
|
+
*/
|
|
2347
|
+
exports.CaseTaskGetFormatEnum = {
|
|
2348
|
+
Simple: 'simple',
|
|
2349
|
+
Full: 'full'
|
|
2350
|
+
};
|
|
2351
|
+
/**
|
|
2352
|
+
* @export
|
|
2353
|
+
*/
|
|
2354
|
+
exports.DatasetGetFormatEnum = {
|
|
2355
|
+
Simple: 'simple',
|
|
2356
|
+
Full: 'full'
|
|
2357
|
+
};
|
|
2358
|
+
/**
|
|
2359
|
+
* @export
|
|
2360
|
+
*/
|
|
2361
|
+
exports.DatasetGetViaWidgetFormatEnum = {
|
|
2362
|
+
Simple: 'simple',
|
|
2363
|
+
Full: 'full'
|
|
2364
|
+
};
|
|
2365
|
+
/**
|
|
2366
|
+
* @export
|
|
2367
|
+
*/
|
|
2368
|
+
exports.DatasetRetrieveFormatEnum = {
|
|
2369
|
+
Simple: 'simple',
|
|
2370
|
+
Full: 'full'
|
|
2371
|
+
};
|
|
2372
|
+
/**
|
|
2373
|
+
* @export
|
|
2374
|
+
*/
|
|
2375
|
+
exports.DatasetRetrieveViaWidgetFormatEnum = {
|
|
2376
|
+
Simple: 'simple',
|
|
2377
|
+
Full: 'full'
|
|
2378
|
+
};
|
|
2379
|
+
/**
|
|
2380
|
+
* @export
|
|
2381
|
+
*/
|
|
2382
|
+
exports.FormGetFormatEnum = {
|
|
2383
|
+
Simple: 'simple',
|
|
2384
|
+
Extended: 'extended',
|
|
2385
|
+
Full: 'full'
|
|
2386
|
+
};
|
|
2387
|
+
/**
|
|
2388
|
+
* @export
|
|
2389
|
+
*/
|
|
2390
|
+
exports.FormRetrieveFormatEnum = {
|
|
2391
|
+
Simple: 'simple',
|
|
2392
|
+
Extended: 'extended',
|
|
2393
|
+
Full: 'full'
|
|
2394
|
+
};
|
|
2395
|
+
/**
|
|
2396
|
+
* @export
|
|
2397
|
+
*/
|
|
2398
|
+
exports.TaskCreateFormatEnum = {
|
|
2399
|
+
Simple: 'simple',
|
|
2400
|
+
Full: 'full'
|
|
2401
|
+
};
|
|
2402
|
+
/**
|
|
2403
|
+
* @export
|
|
2404
|
+
*/
|
|
2405
|
+
exports.TaskInfoFormatEnum = {
|
|
2406
|
+
Simple: 'simple',
|
|
2407
|
+
Full: 'full'
|
|
2408
|
+
};
|
|
2409
|
+
/**
|
|
2410
|
+
* PlatformApi - axios parameter creator
|
|
2411
|
+
* @export
|
|
2412
|
+
*/
|
|
2413
|
+
const PlatformApiAxiosParamCreator = function (configuration) {
|
|
2414
|
+
return {
|
|
2415
|
+
/**
|
|
2416
|
+
*
|
|
2417
|
+
* @summary Get version, compile and reload information
|
|
2418
|
+
* @param {*} [options] Override http request option.
|
|
2419
|
+
* @throws {RequiredError}
|
|
2420
|
+
*/
|
|
2421
|
+
platformVersion: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
2422
|
+
const localVarPath = `/platform/version`;
|
|
2423
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2424
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2425
|
+
let baseOptions;
|
|
2426
|
+
if (configuration) {
|
|
2427
|
+
baseOptions = configuration.baseOptions;
|
|
2428
|
+
}
|
|
2429
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2430
|
+
const localVarHeaderParameter = {};
|
|
2431
|
+
const localVarQueryParameter = {};
|
|
2432
|
+
// authentication id-and-key required
|
|
2433
|
+
// oauth required
|
|
2434
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "id-and-key", [], configuration);
|
|
2435
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2436
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2437
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2438
|
+
return {
|
|
2439
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2440
|
+
options: localVarRequestOptions,
|
|
2441
|
+
};
|
|
2442
|
+
}),
|
|
2443
|
+
};
|
|
2444
|
+
};
|
|
2445
|
+
exports.PlatformApiAxiosParamCreator = PlatformApiAxiosParamCreator;
|
|
2446
|
+
/**
|
|
2447
|
+
* PlatformApi - functional programming interface
|
|
2448
|
+
* @export
|
|
2449
|
+
*/
|
|
2450
|
+
const PlatformApiFp = function (configuration) {
|
|
2451
|
+
const localVarAxiosParamCreator = (0, exports.PlatformApiAxiosParamCreator)(configuration);
|
|
2452
|
+
return {
|
|
2453
|
+
/**
|
|
2454
|
+
*
|
|
2455
|
+
* @summary Get version, compile and reload information
|
|
2456
|
+
* @param {*} [options] Override http request option.
|
|
2457
|
+
* @throws {RequiredError}
|
|
2458
|
+
*/
|
|
2459
|
+
platformVersion(options) {
|
|
2460
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2461
|
+
var _a, _b, _c;
|
|
2462
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.platformVersion(options);
|
|
2463
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2464
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlatformApi.platformVersion']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2465
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2466
|
+
});
|
|
2467
|
+
},
|
|
2468
|
+
};
|
|
2469
|
+
};
|
|
2470
|
+
exports.PlatformApiFp = PlatformApiFp;
|
|
2471
|
+
/**
|
|
2472
|
+
* PlatformApi - factory interface
|
|
2473
|
+
* @export
|
|
2474
|
+
*/
|
|
2475
|
+
const PlatformApiFactory = function (configuration, basePath, axios) {
|
|
2476
|
+
const localVarFp = (0, exports.PlatformApiFp)(configuration);
|
|
2477
|
+
return {
|
|
2478
|
+
/**
|
|
2479
|
+
*
|
|
2480
|
+
* @summary Get version, compile and reload information
|
|
2481
|
+
* @param {*} [options] Override http request option.
|
|
2482
|
+
* @throws {RequiredError}
|
|
2483
|
+
*/
|
|
2484
|
+
platformVersion(options) {
|
|
2485
|
+
return localVarFp.platformVersion(options).then((request) => request(axios, basePath));
|
|
2486
|
+
},
|
|
2487
|
+
};
|
|
2488
|
+
};
|
|
2489
|
+
exports.PlatformApiFactory = PlatformApiFactory;
|
|
2490
|
+
/**
|
|
2491
|
+
* PlatformApi - object-oriented interface
|
|
2492
|
+
* @export
|
|
2493
|
+
* @class PlatformApi
|
|
2494
|
+
* @extends {BaseAPI}
|
|
2495
|
+
*/
|
|
2496
|
+
class PlatformApi extends base_1.BaseAPI {
|
|
2497
|
+
/**
|
|
2498
|
+
*
|
|
2499
|
+
* @summary Get version, compile and reload information
|
|
2500
|
+
* @param {*} [options] Override http request option.
|
|
2501
|
+
* @throws {RequiredError}
|
|
2502
|
+
* @memberof PlatformApi
|
|
2503
|
+
*/
|
|
2504
|
+
platformVersion(options) {
|
|
2505
|
+
return (0, exports.PlatformApiFp)(this.configuration).platformVersion(options).then((request) => request(this.axios, this.basePath));
|
|
2506
|
+
}
|
|
2507
|
+
}
|
|
2508
|
+
exports.PlatformApi = PlatformApi;
|