@vanillabp/bc-official-gui-client 0.1.0 → 0.1.3

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.
Files changed (63) hide show
  1. package/dist/index.d.ts +2125 -27
  2. package/dist/index.js +1740 -3
  3. package/dist/index.js.map +1 -0
  4. package/package.json +19 -12
  5. package/dist/apis/OfficialTasklistApi.d.ts +0 -338
  6. package/dist/apis/OfficialTasklistApi.js +0 -378
  7. package/dist/apis/OfficialWorkflowModulesApi.d.ts +0 -75
  8. package/dist/apis/OfficialWorkflowModulesApi.js +0 -66
  9. package/dist/apis/OfficialWorkflowlistApi.d.ts +0 -182
  10. package/dist/apis/OfficialWorkflowlistApi.js +0 -197
  11. package/dist/apis/index.d.ts +0 -25
  12. package/dist/apis/index.js +0 -3
  13. package/dist/chunk-4TPCCB4K.js +0 -45
  14. package/dist/models/Group.d.ts +0 -47
  15. package/dist/models/Group.js +0 -39
  16. package/dist/models/KwicRequest.d.ts +0 -36
  17. package/dist/models/KwicRequest.js +0 -38
  18. package/dist/models/KwicResult.d.ts +0 -39
  19. package/dist/models/KwicResult.js +0 -37
  20. package/dist/models/KwicResults.d.ts +0 -36
  21. package/dist/models/KwicResults.js +0 -38
  22. package/dist/models/Page.d.ts +0 -51
  23. package/dist/models/Page.js +0 -43
  24. package/dist/models/Person.d.ts +0 -65
  25. package/dist/models/Person.js +0 -45
  26. package/dist/models/SearchQuery.d.ts +0 -45
  27. package/dist/models/SearchQuery.js +0 -39
  28. package/dist/models/UiUriType.d.ts +0 -25
  29. package/dist/models/UiUriType.js +0 -20
  30. package/dist/models/UserSearchResult.d.ts +0 -36
  31. package/dist/models/UserSearchResult.js +0 -38
  32. package/dist/models/UserTask.d.ts +0 -208
  33. package/dist/models/UserTask.js +0 -110
  34. package/dist/models/UserTaskEvent.d.ts +0 -45
  35. package/dist/models/UserTaskEvent.js +0 -40
  36. package/dist/models/UserTaskIds.d.ts +0 -33
  37. package/dist/models/UserTaskIds.js +0 -34
  38. package/dist/models/UserTaskRetrieveMode.d.ts +0 -28
  39. package/dist/models/UserTaskRetrieveMode.js +0 -23
  40. package/dist/models/UserTasks.d.ts +0 -52
  41. package/dist/models/UserTasks.js +0 -48
  42. package/dist/models/UserTasksRequest.d.ts +0 -73
  43. package/dist/models/UserTasksRequest.js +0 -54
  44. package/dist/models/UserTasksUpdateRequest.d.ts +0 -66
  45. package/dist/models/UserTasksUpdateRequest.js +0 -50
  46. package/dist/models/Workflow.d.ts +0 -150
  47. package/dist/models/Workflow.js +0 -91
  48. package/dist/models/WorkflowEvent.d.ts +0 -45
  49. package/dist/models/WorkflowEvent.js +0 -40
  50. package/dist/models/WorkflowModule.d.ts +0 -45
  51. package/dist/models/WorkflowModule.js +0 -40
  52. package/dist/models/WorkflowModules.d.ts +0 -36
  53. package/dist/models/WorkflowModules.js +0 -38
  54. package/dist/models/Workflows.d.ts +0 -58
  55. package/dist/models/Workflows.js +0 -51
  56. package/dist/models/WorkflowsRequest.d.ts +0 -66
  57. package/dist/models/WorkflowsRequest.js +0 -48
  58. package/dist/models/WorkflowsUpdateRequest.d.ts +0 -60
  59. package/dist/models/WorkflowsUpdateRequest.js +0 -48
  60. package/dist/models/index.d.ts +0 -23
  61. package/dist/models/index.js +0 -23
  62. package/dist/runtime.d.ts +0 -184
  63. package/dist/runtime.js +0 -315
@@ -1,54 +0,0 @@
1
- import "../chunk-4TPCCB4K.js";
2
- import { exists } from "../runtime.js";
3
- import {
4
- SearchQueryFromJSON,
5
- SearchQueryToJSON
6
- } from "./SearchQuery.js";
7
- import {
8
- UserTaskRetrieveModeFromJSON,
9
- UserTaskRetrieveModeToJSON
10
- } from "./UserTaskRetrieveMode.js";
11
- function instanceOfUserTasksRequest(value) {
12
- let isInstance = true;
13
- return isInstance;
14
- }
15
- function UserTasksRequestFromJSON(json) {
16
- return UserTasksRequestFromJSONTyped(json, false);
17
- }
18
- function UserTasksRequestFromJSONTyped(json, ignoreDiscriminator) {
19
- if (json === void 0 || json === null) {
20
- return json;
21
- }
22
- return {
23
- "pageNumber": !exists(json, "pageNumber") ? void 0 : json["pageNumber"],
24
- "pageSize": !exists(json, "pageSize") ? void 0 : json["pageSize"],
25
- "query": !exists(json, "query") ? void 0 : json["query"],
26
- "searchQueries": !exists(json, "searchQueries") ? void 0 : json["searchQueries"].map(SearchQueryFromJSON),
27
- "sort": !exists(json, "sort") ? void 0 : json["sort"],
28
- "sortAscending": !exists(json, "sortAscending") ? void 0 : json["sortAscending"],
29
- "mode": !exists(json, "mode") ? void 0 : UserTaskRetrieveModeFromJSON(json["mode"])
30
- };
31
- }
32
- function UserTasksRequestToJSON(value) {
33
- if (value === void 0) {
34
- return void 0;
35
- }
36
- if (value === null) {
37
- return null;
38
- }
39
- return {
40
- "pageNumber": value.pageNumber,
41
- "pageSize": value.pageSize,
42
- "query": value.query,
43
- "searchQueries": value.searchQueries === void 0 ? void 0 : value.searchQueries.map(SearchQueryToJSON),
44
- "sort": value.sort,
45
- "sortAscending": value.sortAscending,
46
- "mode": UserTaskRetrieveModeToJSON(value.mode)
47
- };
48
- }
49
- export {
50
- UserTasksRequestFromJSON,
51
- UserTasksRequestFromJSONTyped,
52
- UserTasksRequestToJSON,
53
- instanceOfUserTasksRequest
54
- };
@@ -1,66 +0,0 @@
1
- import { SearchQuery } from './SearchQuery.js';
2
-
3
- /**
4
- * gui
5
- * Official GUI API
6
- *
7
- * The version of the OpenAPI document: 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
- * @export
18
- * @interface UserTasksUpdateRequest
19
- */
20
- interface UserTasksUpdateRequest {
21
- /**
22
- *
23
- * @type {number}
24
- * @memberof UserTasksUpdateRequest
25
- */
26
- size: number;
27
- /**
28
- *
29
- * @type {string}
30
- * @memberof UserTasksUpdateRequest
31
- */
32
- query?: string;
33
- /**
34
- *
35
- * @type {Array<SearchQuery>}
36
- * @memberof UserTasksUpdateRequest
37
- */
38
- searchQueries?: Array<SearchQuery>;
39
- /**
40
- *
41
- * @type {string}
42
- * @memberof UserTasksUpdateRequest
43
- */
44
- sort?: string;
45
- /**
46
- *
47
- * @type {boolean}
48
- * @memberof UserTasksUpdateRequest
49
- */
50
- sortAscending?: boolean;
51
- /**
52
- *
53
- * @type {Array<string>}
54
- * @memberof UserTasksUpdateRequest
55
- */
56
- knownUserTasksIds: Array<string>;
57
- }
58
- /**
59
- * Check if a given object implements the UserTasksUpdateRequest interface.
60
- */
61
- declare function instanceOfUserTasksUpdateRequest(value: object): boolean;
62
- declare function UserTasksUpdateRequestFromJSON(json: any): UserTasksUpdateRequest;
63
- declare function UserTasksUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserTasksUpdateRequest;
64
- declare function UserTasksUpdateRequestToJSON(value?: UserTasksUpdateRequest | null): any;
65
-
66
- export { UserTasksUpdateRequest, UserTasksUpdateRequestFromJSON, UserTasksUpdateRequestFromJSONTyped, UserTasksUpdateRequestToJSON, instanceOfUserTasksUpdateRequest };
@@ -1,50 +0,0 @@
1
- import "../chunk-4TPCCB4K.js";
2
- import { exists } from "../runtime.js";
3
- import {
4
- SearchQueryFromJSON,
5
- SearchQueryToJSON
6
- } from "./SearchQuery.js";
7
- function instanceOfUserTasksUpdateRequest(value) {
8
- let isInstance = true;
9
- isInstance = isInstance && "size" in value;
10
- isInstance = isInstance && "knownUserTasksIds" in value;
11
- return isInstance;
12
- }
13
- function UserTasksUpdateRequestFromJSON(json) {
14
- return UserTasksUpdateRequestFromJSONTyped(json, false);
15
- }
16
- function UserTasksUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
17
- if (json === void 0 || json === null) {
18
- return json;
19
- }
20
- return {
21
- "size": json["size"],
22
- "query": !exists(json, "query") ? void 0 : json["query"],
23
- "searchQueries": !exists(json, "searchQueries") ? void 0 : json["searchQueries"].map(SearchQueryFromJSON),
24
- "sort": !exists(json, "sort") ? void 0 : json["sort"],
25
- "sortAscending": !exists(json, "sortAscending") ? void 0 : json["sortAscending"],
26
- "knownUserTasksIds": json["knownUserTasksIds"]
27
- };
28
- }
29
- function UserTasksUpdateRequestToJSON(value) {
30
- if (value === void 0) {
31
- return void 0;
32
- }
33
- if (value === null) {
34
- return null;
35
- }
36
- return {
37
- "size": value.size,
38
- "query": value.query,
39
- "searchQueries": value.searchQueries === void 0 ? void 0 : value.searchQueries.map(SearchQueryToJSON),
40
- "sort": value.sort,
41
- "sortAscending": value.sortAscending,
42
- "knownUserTasksIds": value.knownUserTasksIds
43
- };
44
- }
45
- export {
46
- UserTasksUpdateRequestFromJSON,
47
- UserTasksUpdateRequestFromJSONTyped,
48
- UserTasksUpdateRequestToJSON,
49
- instanceOfUserTasksUpdateRequest
50
- };
@@ -1,150 +0,0 @@
1
- import { Group } from './Group.js';
2
- import { Person } from './Person.js';
3
- import { UiUriType } from './UiUriType.js';
4
-
5
- /**
6
- * gui
7
- * Official GUI API
8
- *
9
- * The version of the OpenAPI document: 1.0
10
- *
11
- *
12
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13
- * https://openapi-generator.tech
14
- * Do not edit the class manually.
15
- */
16
-
17
- /**
18
- *
19
- * @export
20
- * @interface Workflow
21
- */
22
- interface Workflow {
23
- /**
24
- * workflow id
25
- * @type {string}
26
- * @memberof Workflow
27
- */
28
- id: string;
29
- /**
30
- * revision of the usertask record
31
- * @type {number}
32
- * @memberof Workflow
33
- */
34
- version?: number;
35
- /**
36
- *
37
- * @type {Person}
38
- * @memberof Workflow
39
- */
40
- initiator?: Person;
41
- /**
42
- * The time the task was created
43
- * @type {Date}
44
- * @memberof Workflow
45
- */
46
- createdAt: Date;
47
- /**
48
- * The time the task was updated
49
- * @type {Date}
50
- * @memberof Workflow
51
- */
52
- updatedAt: Date;
53
- /**
54
- * The time the task was ended
55
- * @type {Date}
56
- * @memberof Workflow
57
- */
58
- endedAt?: Date;
59
- /**
60
- * The workflow module of this usertask
61
- * @type {string}
62
- * @memberof Workflow
63
- */
64
- workflowModuleId: string;
65
- /**
66
- *
67
- * @type {string}
68
- * @memberof Workflow
69
- */
70
- comment?: string;
71
- /**
72
- * BPMN process ID
73
- * @type {string}
74
- * @memberof Workflow
75
- */
76
- bpmnProcessId: string;
77
- /**
78
- * Version of the BPMN process and tag
79
- * @type {string}
80
- * @memberof Workflow
81
- */
82
- bpmnProcessVersion?: string;
83
- /**
84
- * The natural ID of the workflow (e.g. order-id)
85
- * @type {string}
86
- * @memberof Workflow
87
- */
88
- businessId?: string;
89
- /**
90
- * The rendered title of the user-task (may contain specific data)
91
- * @type {{ [key: string]: string; }}
92
- * @memberof Workflow
93
- */
94
- title: {
95
- [key: string]: string;
96
- };
97
- /**
98
- * An URI as an entrypoint URI for UI components. Maybe a technical URL (e.g. for WEBPACK) or an URL targeting a human readable form (e.g. EXTERNAL)
99
- * @type {string}
100
- * @memberof Workflow
101
- */
102
- uiUri: string;
103
- /**
104
- *
105
- * @type {UiUriType}
106
- * @memberof Workflow
107
- */
108
- uiUriType: UiUriType;
109
- /**
110
- * An URI pointing to the workflow-modules's own API (maybe used by workflow pages)
111
- * @type {string}
112
- * @memberof Workflow
113
- */
114
- workflowModuleUri: string;
115
- /**
116
- *
117
- * @type {Array<Person>}
118
- * @memberof Workflow
119
- */
120
- accessibleToUsers?: Array<Person>;
121
- /**
122
- *
123
- * @type {Array<Group>}
124
- * @memberof Workflow
125
- */
126
- accessibleToGroups?: Array<Group>;
127
- /**
128
- * Properties for individual searches
129
- * @type {{ [key: string]: any; }}
130
- * @memberof Workflow
131
- */
132
- details?: {
133
- [key: string]: any;
134
- };
135
- /**
136
- * List of words for fulltext searching details
137
- * @type {string}
138
- * @memberof Workflow
139
- */
140
- detailsFulltextSearch?: string;
141
- }
142
- /**
143
- * Check if a given object implements the Workflow interface.
144
- */
145
- declare function instanceOfWorkflow(value: object): boolean;
146
- declare function WorkflowFromJSON(json: any): Workflow;
147
- declare function WorkflowFromJSONTyped(json: any, ignoreDiscriminator: boolean): Workflow;
148
- declare function WorkflowToJSON(value?: Workflow | null): any;
149
-
150
- export { Workflow, WorkflowFromJSON, WorkflowFromJSONTyped, WorkflowToJSON, instanceOfWorkflow };
@@ -1,91 +0,0 @@
1
- import "../chunk-4TPCCB4K.js";
2
- import { exists } from "../runtime.js";
3
- import {
4
- GroupFromJSON,
5
- GroupToJSON
6
- } from "./Group.js";
7
- import {
8
- PersonFromJSON,
9
- PersonToJSON
10
- } from "./Person.js";
11
- import {
12
- UiUriTypeFromJSON,
13
- UiUriTypeToJSON
14
- } from "./UiUriType.js";
15
- function instanceOfWorkflow(value) {
16
- let isInstance = true;
17
- isInstance = isInstance && "id" in value;
18
- isInstance = isInstance && "createdAt" in value;
19
- isInstance = isInstance && "updatedAt" in value;
20
- isInstance = isInstance && "workflowModuleId" in value;
21
- isInstance = isInstance && "bpmnProcessId" in value;
22
- isInstance = isInstance && "title" in value;
23
- isInstance = isInstance && "uiUri" in value;
24
- isInstance = isInstance && "uiUriType" in value;
25
- isInstance = isInstance && "workflowModuleUri" in value;
26
- return isInstance;
27
- }
28
- function WorkflowFromJSON(json) {
29
- return WorkflowFromJSONTyped(json, false);
30
- }
31
- function WorkflowFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json === void 0 || json === null) {
33
- return json;
34
- }
35
- return {
36
- "id": json["id"],
37
- "version": !exists(json, "version") ? void 0 : json["version"],
38
- "initiator": !exists(json, "initiator") ? void 0 : PersonFromJSON(json["initiator"]),
39
- "createdAt": new Date(json["createdAt"]),
40
- "updatedAt": new Date(json["updatedAt"]),
41
- "endedAt": !exists(json, "endedAt") ? void 0 : new Date(json["endedAt"]),
42
- "workflowModuleId": json["workflowModuleId"],
43
- "comment": !exists(json, "comment") ? void 0 : json["comment"],
44
- "bpmnProcessId": json["bpmnProcessId"],
45
- "bpmnProcessVersion": !exists(json, "bpmnProcessVersion") ? void 0 : json["bpmnProcessVersion"],
46
- "businessId": !exists(json, "businessId") ? void 0 : json["businessId"],
47
- "title": json["title"],
48
- "uiUri": json["uiUri"],
49
- "uiUriType": UiUriTypeFromJSON(json["uiUriType"]),
50
- "workflowModuleUri": json["workflowModuleUri"],
51
- "accessibleToUsers": !exists(json, "accessibleToUsers") ? void 0 : json["accessibleToUsers"].map(PersonFromJSON),
52
- "accessibleToGroups": !exists(json, "accessibleToGroups") ? void 0 : json["accessibleToGroups"].map(GroupFromJSON),
53
- "details": !exists(json, "details") ? void 0 : json["details"],
54
- "detailsFulltextSearch": !exists(json, "detailsFulltextSearch") ? void 0 : json["detailsFulltextSearch"]
55
- };
56
- }
57
- function WorkflowToJSON(value) {
58
- if (value === void 0) {
59
- return void 0;
60
- }
61
- if (value === null) {
62
- return null;
63
- }
64
- return {
65
- "id": value.id,
66
- "version": value.version,
67
- "initiator": PersonToJSON(value.initiator),
68
- "createdAt": value.createdAt.toISOString(),
69
- "updatedAt": value.updatedAt.toISOString(),
70
- "endedAt": value.endedAt === void 0 ? void 0 : value.endedAt.toISOString(),
71
- "workflowModuleId": value.workflowModuleId,
72
- "comment": value.comment,
73
- "bpmnProcessId": value.bpmnProcessId,
74
- "bpmnProcessVersion": value.bpmnProcessVersion,
75
- "businessId": value.businessId,
76
- "title": value.title,
77
- "uiUri": value.uiUri,
78
- "uiUriType": UiUriTypeToJSON(value.uiUriType),
79
- "workflowModuleUri": value.workflowModuleUri,
80
- "accessibleToUsers": value.accessibleToUsers === void 0 ? void 0 : value.accessibleToUsers.map(PersonToJSON),
81
- "accessibleToGroups": value.accessibleToGroups === void 0 ? void 0 : value.accessibleToGroups.map(GroupToJSON),
82
- "details": value.details,
83
- "detailsFulltextSearch": value.detailsFulltextSearch
84
- };
85
- }
86
- export {
87
- WorkflowFromJSON,
88
- WorkflowFromJSONTyped,
89
- WorkflowToJSON,
90
- instanceOfWorkflow
91
- };
@@ -1,45 +0,0 @@
1
- /**
2
- * gui
3
- * Official GUI API
4
- *
5
- * The version of the OpenAPI document: 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
- *
14
- * @export
15
- * @interface WorkflowEvent
16
- */
17
- interface WorkflowEvent {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof WorkflowEvent
22
- */
23
- type: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof WorkflowEvent
28
- */
29
- name: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof WorkflowEvent
34
- */
35
- id: string;
36
- }
37
- /**
38
- * Check if a given object implements the WorkflowEvent interface.
39
- */
40
- declare function instanceOfWorkflowEvent(value: object): boolean;
41
- declare function WorkflowEventFromJSON(json: any): WorkflowEvent;
42
- declare function WorkflowEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowEvent;
43
- declare function WorkflowEventToJSON(value?: WorkflowEvent | null): any;
44
-
45
- export { WorkflowEvent, WorkflowEventFromJSON, WorkflowEventFromJSONTyped, WorkflowEventToJSON, instanceOfWorkflowEvent };
@@ -1,40 +0,0 @@
1
- import "../chunk-4TPCCB4K.js";
2
- function instanceOfWorkflowEvent(value) {
3
- let isInstance = true;
4
- isInstance = isInstance && "type" in value;
5
- isInstance = isInstance && "name" in value;
6
- isInstance = isInstance && "id" in value;
7
- return isInstance;
8
- }
9
- function WorkflowEventFromJSON(json) {
10
- return WorkflowEventFromJSONTyped(json, false);
11
- }
12
- function WorkflowEventFromJSONTyped(json, ignoreDiscriminator) {
13
- if (json === void 0 || json === null) {
14
- return json;
15
- }
16
- return {
17
- "type": json["type"],
18
- "name": json["name"],
19
- "id": json["id"]
20
- };
21
- }
22
- function WorkflowEventToJSON(value) {
23
- if (value === void 0) {
24
- return void 0;
25
- }
26
- if (value === null) {
27
- return null;
28
- }
29
- return {
30
- "type": value.type,
31
- "name": value.name,
32
- "id": value.id
33
- };
34
- }
35
- export {
36
- WorkflowEventFromJSON,
37
- WorkflowEventFromJSONTyped,
38
- WorkflowEventToJSON,
39
- instanceOfWorkflowEvent
40
- };
@@ -1,45 +0,0 @@
1
- /**
2
- * gui
3
- * Official GUI API
4
- *
5
- * The version of the OpenAPI document: 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
- *
14
- * @export
15
- * @interface WorkflowModule
16
- */
17
- interface WorkflowModule {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof WorkflowModule
22
- */
23
- id: string;
24
- /**
25
- *
26
- * @type {number}
27
- * @memberof WorkflowModule
28
- */
29
- version: number;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof WorkflowModule
34
- */
35
- uri: string;
36
- }
37
- /**
38
- * Check if a given object implements the WorkflowModule interface.
39
- */
40
- declare function instanceOfWorkflowModule(value: object): boolean;
41
- declare function WorkflowModuleFromJSON(json: any): WorkflowModule;
42
- declare function WorkflowModuleFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowModule;
43
- declare function WorkflowModuleToJSON(value?: WorkflowModule | null): any;
44
-
45
- export { WorkflowModule, WorkflowModuleFromJSON, WorkflowModuleFromJSONTyped, WorkflowModuleToJSON, instanceOfWorkflowModule };
@@ -1,40 +0,0 @@
1
- import "../chunk-4TPCCB4K.js";
2
- function instanceOfWorkflowModule(value) {
3
- let isInstance = true;
4
- isInstance = isInstance && "id" in value;
5
- isInstance = isInstance && "version" in value;
6
- isInstance = isInstance && "uri" in value;
7
- return isInstance;
8
- }
9
- function WorkflowModuleFromJSON(json) {
10
- return WorkflowModuleFromJSONTyped(json, false);
11
- }
12
- function WorkflowModuleFromJSONTyped(json, ignoreDiscriminator) {
13
- if (json === void 0 || json === null) {
14
- return json;
15
- }
16
- return {
17
- "id": json["id"],
18
- "version": json["version"],
19
- "uri": json["uri"]
20
- };
21
- }
22
- function WorkflowModuleToJSON(value) {
23
- if (value === void 0) {
24
- return void 0;
25
- }
26
- if (value === null) {
27
- return null;
28
- }
29
- return {
30
- "id": value.id,
31
- "version": value.version,
32
- "uri": value.uri
33
- };
34
- }
35
- export {
36
- WorkflowModuleFromJSON,
37
- WorkflowModuleFromJSONTyped,
38
- WorkflowModuleToJSON,
39
- instanceOfWorkflowModule
40
- };
@@ -1,36 +0,0 @@
1
- import { WorkflowModule } from './WorkflowModule.js';
2
-
3
- /**
4
- * gui
5
- * Official GUI API
6
- *
7
- * The version of the OpenAPI document: 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
- * @export
18
- * @interface WorkflowModules
19
- */
20
- interface WorkflowModules {
21
- /**
22
- *
23
- * @type {Array<WorkflowModule>}
24
- * @memberof WorkflowModules
25
- */
26
- modules: Array<WorkflowModule>;
27
- }
28
- /**
29
- * Check if a given object implements the WorkflowModules interface.
30
- */
31
- declare function instanceOfWorkflowModules(value: object): boolean;
32
- declare function WorkflowModulesFromJSON(json: any): WorkflowModules;
33
- declare function WorkflowModulesFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowModules;
34
- declare function WorkflowModulesToJSON(value?: WorkflowModules | null): any;
35
-
36
- export { WorkflowModules, WorkflowModulesFromJSON, WorkflowModulesFromJSONTyped, WorkflowModulesToJSON, instanceOfWorkflowModules };
@@ -1,38 +0,0 @@
1
- import "../chunk-4TPCCB4K.js";
2
- import {
3
- WorkflowModuleFromJSON,
4
- WorkflowModuleToJSON
5
- } from "./WorkflowModule.js";
6
- function instanceOfWorkflowModules(value) {
7
- let isInstance = true;
8
- isInstance = isInstance && "modules" in value;
9
- return isInstance;
10
- }
11
- function WorkflowModulesFromJSON(json) {
12
- return WorkflowModulesFromJSONTyped(json, false);
13
- }
14
- function WorkflowModulesFromJSONTyped(json, ignoreDiscriminator) {
15
- if (json === void 0 || json === null) {
16
- return json;
17
- }
18
- return {
19
- "modules": json["modules"].map(WorkflowModuleFromJSON)
20
- };
21
- }
22
- function WorkflowModulesToJSON(value) {
23
- if (value === void 0) {
24
- return void 0;
25
- }
26
- if (value === null) {
27
- return null;
28
- }
29
- return {
30
- "modules": value.modules.map(WorkflowModuleToJSON)
31
- };
32
- }
33
- export {
34
- WorkflowModulesFromJSON,
35
- WorkflowModulesFromJSONTyped,
36
- WorkflowModulesToJSON,
37
- instanceOfWorkflowModules
38
- };