@knowledge-stack/ksapi 1.56.0 → 1.58.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/.openapi-generator/FILES +14 -2
- package/README.md +14 -6
- package/dist/apis/DocumentVersionsApi.d.ts +8 -5
- package/dist/apis/DocumentVersionsApi.js +5 -2
- package/dist/apis/ThreadMessagesApi.d.ts +6 -6
- package/dist/apis/ThreadMessagesApi.js +2 -2
- package/dist/apis/WorkflowsApi.d.ts +144 -59
- package/dist/apis/WorkflowsApi.js +131 -49
- package/dist/esm/apis/DocumentVersionsApi.d.ts +8 -5
- package/dist/esm/apis/DocumentVersionsApi.js +5 -2
- package/dist/esm/apis/ThreadMessagesApi.d.ts +6 -6
- package/dist/esm/apis/ThreadMessagesApi.js +2 -2
- package/dist/esm/apis/WorkflowsApi.d.ts +144 -59
- package/dist/esm/apis/WorkflowsApi.js +132 -50
- package/dist/esm/models/CreateThreadMessageRequest.d.ts +6 -0
- package/dist/esm/models/CreateThreadMessageRequest.js +2 -0
- package/dist/esm/models/DocumentVersionContentTypeFilter.d.ts +25 -0
- package/dist/esm/models/DocumentVersionContentTypeFilter.js +43 -0
- package/dist/esm/models/EnrichedThreadMessageContent.d.ts +13 -0
- package/dist/esm/models/EnrichedThreadMessageContent.js +5 -0
- package/dist/esm/models/NonFilesystemReferenceType.d.ts +27 -0
- package/dist/esm/models/NonFilesystemReferenceType.js +45 -0
- package/dist/esm/models/ReferenceType.d.ts +34 -0
- package/dist/esm/models/ReferenceType.js +52 -0
- package/dist/esm/models/ResolvedReferenceInput.d.ts +70 -0
- package/dist/esm/models/ResolvedReferenceInput.js +55 -0
- package/dist/esm/models/ResolvedReferenceOutput.d.ts +69 -0
- package/dist/esm/models/ResolvedReferenceOutput.js +54 -0
- package/dist/esm/models/StepInput.d.ts +6 -0
- package/dist/esm/models/StepInput.js +4 -0
- package/dist/esm/models/StepKind.d.ts +1 -0
- package/dist/esm/models/StepKind.js +1 -0
- package/dist/esm/models/StepOutput.d.ts +6 -0
- package/dist/esm/models/StepOutput.js +4 -0
- package/dist/esm/models/TemporalWorkflowStatusResponse.d.ts +83 -0
- package/dist/esm/models/TemporalWorkflowStatusResponse.js +66 -0
- package/dist/esm/models/ThreadMessageContent.d.ts +13 -0
- package/dist/esm/models/ThreadMessageContent.js +5 -0
- package/dist/esm/models/WorkflowActionResponse.d.ts +1 -1
- package/dist/esm/models/WorkflowCancelResponse.d.ts +53 -0
- package/dist/esm/models/WorkflowCancelResponse.js +48 -0
- package/dist/esm/models/index.d.ts +7 -1
- package/dist/esm/models/index.js +7 -1
- package/dist/models/CreateThreadMessageRequest.d.ts +6 -0
- package/dist/models/CreateThreadMessageRequest.js +2 -0
- package/dist/models/DocumentVersionContentTypeFilter.d.ts +25 -0
- package/dist/models/DocumentVersionContentTypeFilter.js +51 -0
- package/dist/models/EnrichedThreadMessageContent.d.ts +13 -0
- package/dist/models/EnrichedThreadMessageContent.js +5 -0
- package/dist/models/NonFilesystemReferenceType.d.ts +27 -0
- package/dist/models/NonFilesystemReferenceType.js +53 -0
- package/dist/models/ReferenceType.d.ts +34 -0
- package/dist/models/ReferenceType.js +60 -0
- package/dist/models/ResolvedReferenceInput.d.ts +70 -0
- package/dist/models/ResolvedReferenceInput.js +63 -0
- package/dist/models/ResolvedReferenceOutput.d.ts +69 -0
- package/dist/models/ResolvedReferenceOutput.js +62 -0
- package/dist/models/StepInput.d.ts +6 -0
- package/dist/models/StepInput.js +4 -0
- package/dist/models/StepKind.d.ts +1 -0
- package/dist/models/StepKind.js +1 -0
- package/dist/models/StepOutput.d.ts +6 -0
- package/dist/models/StepOutput.js +4 -0
- package/dist/models/TemporalWorkflowStatusResponse.d.ts +83 -0
- package/dist/models/TemporalWorkflowStatusResponse.js +74 -0
- package/dist/models/ThreadMessageContent.d.ts +13 -0
- package/dist/models/ThreadMessageContent.js +5 -0
- package/dist/models/WorkflowActionResponse.d.ts +1 -1
- package/dist/models/WorkflowCancelResponse.d.ts +53 -0
- package/dist/models/WorkflowCancelResponse.js +56 -0
- package/dist/models/index.d.ts +7 -1
- package/dist/models/index.js +7 -1
- package/docs/CreateThreadMessageRequest.md +2 -0
- package/docs/DocumentVersionContentTypeFilter.md +33 -0
- package/docs/DocumentVersionsApi.md +5 -2
- package/docs/EnrichedThreadMessageContent.md +4 -0
- package/docs/NonFilesystemReferenceType.md +33 -0
- package/docs/{WorkflowAction.md → ReferenceType.md} +4 -5
- package/docs/ResolvedReferenceInput.md +41 -0
- package/docs/ResolvedReferenceOutput.md +41 -0
- package/docs/StepInput.md +2 -0
- package/docs/StepOutput.md +2 -0
- package/docs/TemporalWorkflowStatusResponse.md +47 -0
- package/docs/ThreadMessageContent.md +4 -0
- package/docs/ThreadMessagesApi.md +3 -3
- package/docs/WorkflowActionResponse.md +1 -1
- package/docs/WorkflowCancelResponse.md +37 -0
- package/docs/WorkflowsApi.md +183 -36
- package/package.json +1 -1
- package/src/apis/DocumentVersionsApi.ts +14 -4
- package/src/apis/ThreadMessagesApi.ts +6 -6
- package/src/apis/WorkflowsApi.ts +249 -90
- package/src/models/CreateThreadMessageRequest.ts +8 -0
- package/src/models/DocumentVersionContentTypeFilter.ts +53 -0
- package/src/models/EnrichedThreadMessageContent.ts +23 -0
- package/src/models/NonFilesystemReferenceType.ts +55 -0
- package/src/models/ReferenceType.ts +62 -0
- package/src/models/ResolvedReferenceInput.ts +123 -0
- package/src/models/ResolvedReferenceOutput.ts +113 -0
- package/src/models/StepInput.ts +9 -0
- package/src/models/StepKind.ts +1 -0
- package/src/models/StepOutput.ts +9 -0
- package/src/models/TemporalWorkflowStatusResponse.ts +136 -0
- package/src/models/ThreadMessageContent.ts +23 -0
- package/src/models/WorkflowActionResponse.ts +1 -1
- package/src/models/WorkflowCancelResponse.ts +92 -0
- package/src/models/index.ts +7 -1
- package/dist/esm/models/WorkflowAction.d.ts +0 -25
- package/dist/esm/models/WorkflowAction.js +0 -43
- package/dist/models/WorkflowAction.d.ts +0 -25
- package/dist/models/WorkflowAction.js +0 -51
- package/src/models/WorkflowAction.ts +0 -53
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Knowledge Stack API
|
|
5
|
+
* Knowledge Stack backend API for authentication and knowledge management
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* Response for generic workflow cancellation.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface WorkflowCancelResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface WorkflowCancelResponse {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof WorkflowCancelResponse
|
|
26
|
+
*/
|
|
27
|
+
workflowId: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof WorkflowCancelResponse
|
|
32
|
+
*/
|
|
33
|
+
message: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the WorkflowCancelResponse interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfWorkflowCancelResponse(value: object): value is WorkflowCancelResponse {
|
|
40
|
+
if (!('workflowId' in value) || value['workflowId'] === undefined) return false;
|
|
41
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function WorkflowCancelResponseFromJSON(json: any): WorkflowCancelResponse {
|
|
46
|
+
return WorkflowCancelResponseFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function WorkflowCancelResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowCancelResponse {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'workflowId': json['workflow_id'],
|
|
56
|
+
'message': json['message'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function WorkflowCancelResponseToJSON(json: any): WorkflowCancelResponse {
|
|
61
|
+
return WorkflowCancelResponseToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function WorkflowCancelResponseToJSONTyped(value?: WorkflowCancelResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'workflow_id': value['workflowId'],
|
|
72
|
+
'message': value['message'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export const WorkflowCancelResponsePropertyValidationAttributesMap: {
|
|
77
|
+
[property: string]: {
|
|
78
|
+
maxLength?: number,
|
|
79
|
+
minLength?: number,
|
|
80
|
+
pattern?: string,
|
|
81
|
+
maximum?: number,
|
|
82
|
+
exclusiveMaximum?: boolean,
|
|
83
|
+
minimum?: number,
|
|
84
|
+
exclusiveMinimum?: boolean,
|
|
85
|
+
multipleOf?: number,
|
|
86
|
+
maxItems?: number,
|
|
87
|
+
minItems?: number,
|
|
88
|
+
uniqueItems?: boolean
|
|
89
|
+
}
|
|
90
|
+
} = {
|
|
91
|
+
}
|
|
92
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -35,6 +35,7 @@ export * from './DocumentResponse';
|
|
|
35
35
|
export * from './DocumentType';
|
|
36
36
|
export * from './DocumentVersionAction';
|
|
37
37
|
export * from './DocumentVersionActionResponse';
|
|
38
|
+
export * from './DocumentVersionContentTypeFilter';
|
|
38
39
|
export * from './DocumentVersionMetadata';
|
|
39
40
|
export * from './DocumentVersionMetadataUpdate';
|
|
40
41
|
export * from './DocumentVersionResponse';
|
|
@@ -62,6 +63,7 @@ export * from './LineageGraphResponse';
|
|
|
62
63
|
export * from './LineageNodeResponse';
|
|
63
64
|
export * from './LocationInner';
|
|
64
65
|
export * from './MessageRole';
|
|
66
|
+
export * from './NonFilesystemReferenceType';
|
|
65
67
|
export * from './OAuth2Config';
|
|
66
68
|
export * from './PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator';
|
|
67
69
|
export * from './PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator';
|
|
@@ -89,6 +91,9 @@ export * from './PipelineState';
|
|
|
89
91
|
export * from './PipelineStatus';
|
|
90
92
|
export * from './Polygon';
|
|
91
93
|
export * from './PolygonReference';
|
|
94
|
+
export * from './ReferenceType';
|
|
95
|
+
export * from './ResolvedReferenceInput';
|
|
96
|
+
export * from './ResolvedReferenceOutput';
|
|
92
97
|
export * from './RootResponse';
|
|
93
98
|
export * from './SSOInitiateResponse';
|
|
94
99
|
export * from './ScoredChunkResponse';
|
|
@@ -105,6 +110,7 @@ export * from './SubtreeChunkGroup';
|
|
|
105
110
|
export * from './SubtreeChunksResponse';
|
|
106
111
|
export * from './SupportedLanguage';
|
|
107
112
|
export * from './TagResponse';
|
|
113
|
+
export * from './TemporalWorkflowStatusResponse';
|
|
108
114
|
export * from './TenantBrandingResponse';
|
|
109
115
|
export * from './TenantResponse';
|
|
110
116
|
export * from './TenantSettingsResponse';
|
|
@@ -132,7 +138,7 @@ export * from './UserMessageResponse';
|
|
|
132
138
|
export * from './UserResponse';
|
|
133
139
|
export * from './ValidationError';
|
|
134
140
|
export * from './VersionChunkIdsResponse';
|
|
135
|
-
export * from './WorkflowAction';
|
|
136
141
|
export * from './WorkflowActionResponse';
|
|
142
|
+
export * from './WorkflowCancelResponse';
|
|
137
143
|
export * from './WorkflowDetailResponse';
|
|
138
144
|
export * from './WorkflowSummaryResponse';
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Knowledge Stack API
|
|
3
|
-
* Knowledge Stack backend API for authentication and knowledge management
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Supported workflow actions.
|
|
14
|
-
* @export
|
|
15
|
-
*/
|
|
16
|
-
export declare const WorkflowAction: {
|
|
17
|
-
readonly Rerun: "rerun";
|
|
18
|
-
readonly Cancel: "cancel";
|
|
19
|
-
};
|
|
20
|
-
export type WorkflowAction = typeof WorkflowAction[keyof typeof WorkflowAction];
|
|
21
|
-
export declare function instanceOfWorkflowAction(value: any): boolean;
|
|
22
|
-
export declare function WorkflowActionFromJSON(json: any): WorkflowAction;
|
|
23
|
-
export declare function WorkflowActionFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowAction;
|
|
24
|
-
export declare function WorkflowActionToJSON(value?: WorkflowAction | null): any;
|
|
25
|
-
export declare function WorkflowActionToJSONTyped(value: any, ignoreDiscriminator: boolean): WorkflowAction;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Knowledge Stack API
|
|
5
|
-
* Knowledge Stack backend API for authentication and knowledge management
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Supported workflow actions.
|
|
16
|
-
* @export
|
|
17
|
-
*/
|
|
18
|
-
export const WorkflowAction = {
|
|
19
|
-
Rerun: 'rerun',
|
|
20
|
-
Cancel: 'cancel'
|
|
21
|
-
};
|
|
22
|
-
export function instanceOfWorkflowAction(value) {
|
|
23
|
-
for (const key in WorkflowAction) {
|
|
24
|
-
if (Object.prototype.hasOwnProperty.call(WorkflowAction, key)) {
|
|
25
|
-
if (WorkflowAction[key] === value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
return false;
|
|
31
|
-
}
|
|
32
|
-
export function WorkflowActionFromJSON(json) {
|
|
33
|
-
return WorkflowActionFromJSONTyped(json, false);
|
|
34
|
-
}
|
|
35
|
-
export function WorkflowActionFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
export function WorkflowActionToJSON(value) {
|
|
39
|
-
return value;
|
|
40
|
-
}
|
|
41
|
-
export function WorkflowActionToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
-
return value;
|
|
43
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Knowledge Stack API
|
|
3
|
-
* Knowledge Stack backend API for authentication and knowledge management
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Supported workflow actions.
|
|
14
|
-
* @export
|
|
15
|
-
*/
|
|
16
|
-
export declare const WorkflowAction: {
|
|
17
|
-
readonly Rerun: "rerun";
|
|
18
|
-
readonly Cancel: "cancel";
|
|
19
|
-
};
|
|
20
|
-
export type WorkflowAction = typeof WorkflowAction[keyof typeof WorkflowAction];
|
|
21
|
-
export declare function instanceOfWorkflowAction(value: any): boolean;
|
|
22
|
-
export declare function WorkflowActionFromJSON(json: any): WorkflowAction;
|
|
23
|
-
export declare function WorkflowActionFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowAction;
|
|
24
|
-
export declare function WorkflowActionToJSON(value?: WorkflowAction | null): any;
|
|
25
|
-
export declare function WorkflowActionToJSONTyped(value: any, ignoreDiscriminator: boolean): WorkflowAction;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Knowledge Stack API
|
|
6
|
-
* Knowledge Stack backend API for authentication and knowledge management
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 0.1.0
|
|
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.WorkflowAction = void 0;
|
|
17
|
-
exports.instanceOfWorkflowAction = instanceOfWorkflowAction;
|
|
18
|
-
exports.WorkflowActionFromJSON = WorkflowActionFromJSON;
|
|
19
|
-
exports.WorkflowActionFromJSONTyped = WorkflowActionFromJSONTyped;
|
|
20
|
-
exports.WorkflowActionToJSON = WorkflowActionToJSON;
|
|
21
|
-
exports.WorkflowActionToJSONTyped = WorkflowActionToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* Supported workflow actions.
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.WorkflowAction = {
|
|
27
|
-
Rerun: 'rerun',
|
|
28
|
-
Cancel: 'cancel'
|
|
29
|
-
};
|
|
30
|
-
function instanceOfWorkflowAction(value) {
|
|
31
|
-
for (const key in exports.WorkflowAction) {
|
|
32
|
-
if (Object.prototype.hasOwnProperty.call(exports.WorkflowAction, key)) {
|
|
33
|
-
if (exports.WorkflowAction[key] === value) {
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
return false;
|
|
39
|
-
}
|
|
40
|
-
function WorkflowActionFromJSON(json) {
|
|
41
|
-
return WorkflowActionFromJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function WorkflowActionFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
function WorkflowActionToJSON(value) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
function WorkflowActionToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Knowledge Stack API
|
|
5
|
-
* Knowledge Stack backend API for authentication and knowledge management
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Supported workflow actions.
|
|
18
|
-
* @export
|
|
19
|
-
*/
|
|
20
|
-
export const WorkflowAction = {
|
|
21
|
-
Rerun: 'rerun',
|
|
22
|
-
Cancel: 'cancel'
|
|
23
|
-
} as const;
|
|
24
|
-
export type WorkflowAction = typeof WorkflowAction[keyof typeof WorkflowAction];
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export function instanceOfWorkflowAction(value: any): boolean {
|
|
28
|
-
for (const key in WorkflowAction) {
|
|
29
|
-
if (Object.prototype.hasOwnProperty.call(WorkflowAction, key)) {
|
|
30
|
-
if (WorkflowAction[key as keyof typeof WorkflowAction] === value) {
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
return false;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export function WorkflowActionFromJSON(json: any): WorkflowAction {
|
|
39
|
-
return WorkflowActionFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export function WorkflowActionFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowAction {
|
|
43
|
-
return json as WorkflowAction;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export function WorkflowActionToJSON(value?: WorkflowAction | null): any {
|
|
47
|
-
return value as any;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export function WorkflowActionToJSONTyped(value: any, ignoreDiscriminator: boolean): WorkflowAction {
|
|
51
|
-
return value as WorkflowAction;
|
|
52
|
-
}
|
|
53
|
-
|