@vanillabp/bc-official-gui-client 0.0.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 (59) hide show
  1. package/README.md +1 -0
  2. package/dist/apis/OfficialTasklistApi.d.ts +307 -0
  3. package/dist/apis/OfficialTasklistApi.js +340 -0
  4. package/dist/apis/OfficialWorkflowlistApi.d.ts +180 -0
  5. package/dist/apis/OfficialWorkflowlistApi.js +197 -0
  6. package/dist/apis/index.d.ts +23 -0
  7. package/dist/apis/index.js +2 -0
  8. package/dist/chunk-4TPCCB4K.js +45 -0
  9. package/dist/index.d.ts +25 -0
  10. package/dist/index.js +3 -0
  11. package/dist/models/KwicRequest.d.ts +36 -0
  12. package/dist/models/KwicRequest.js +38 -0
  13. package/dist/models/KwicResult.d.ts +39 -0
  14. package/dist/models/KwicResult.js +37 -0
  15. package/dist/models/KwicResults.d.ts +36 -0
  16. package/dist/models/KwicResults.js +38 -0
  17. package/dist/models/Page.d.ts +51 -0
  18. package/dist/models/Page.js +43 -0
  19. package/dist/models/SearchQuery.d.ts +39 -0
  20. package/dist/models/SearchQuery.js +37 -0
  21. package/dist/models/Sex.d.ts +26 -0
  22. package/dist/models/Sex.js +21 -0
  23. package/dist/models/UiUriType.d.ts +25 -0
  24. package/dist/models/UiUriType.js +20 -0
  25. package/dist/models/User.d.ts +79 -0
  26. package/dist/models/User.js +56 -0
  27. package/dist/models/UserSearchResult.d.ts +38 -0
  28. package/dist/models/UserSearchResult.js +38 -0
  29. package/dist/models/UserStatus.d.ts +25 -0
  30. package/dist/models/UserStatus.js +20 -0
  31. package/dist/models/UserTask.d.ts +206 -0
  32. package/dist/models/UserTask.js +102 -0
  33. package/dist/models/UserTaskEvent.d.ts +45 -0
  34. package/dist/models/UserTaskEvent.js +40 -0
  35. package/dist/models/UserTaskIds.d.ts +33 -0
  36. package/dist/models/UserTaskIds.js +34 -0
  37. package/dist/models/UserTaskRetrieveMode.d.ts +28 -0
  38. package/dist/models/UserTaskRetrieveMode.js +23 -0
  39. package/dist/models/UserTasks.d.ts +50 -0
  40. package/dist/models/UserTasks.js +48 -0
  41. package/dist/models/UserTasksRequest.d.ts +66 -0
  42. package/dist/models/UserTasksRequest.js +48 -0
  43. package/dist/models/UserTasksUpdateRequest.d.ts +51 -0
  44. package/dist/models/UserTasksUpdateRequest.js +41 -0
  45. package/dist/models/Workflow.d.ts +148 -0
  46. package/dist/models/Workflow.js +83 -0
  47. package/dist/models/WorkflowEvent.d.ts +45 -0
  48. package/dist/models/WorkflowEvent.js +40 -0
  49. package/dist/models/Workflows.d.ts +56 -0
  50. package/dist/models/Workflows.js +51 -0
  51. package/dist/models/WorkflowsRequest.d.ts +60 -0
  52. package/dist/models/WorkflowsRequest.js +46 -0
  53. package/dist/models/WorkflowsUpdateRequest.d.ts +60 -0
  54. package/dist/models/WorkflowsUpdateRequest.js +48 -0
  55. package/dist/models/index.d.ts +22 -0
  56. package/dist/models/index.js +22 -0
  57. package/dist/runtime.d.ts +184 -0
  58. package/dist/runtime.js +315 -0
  59. package/package.json +32 -0
@@ -0,0 +1,48 @@
1
+ import "../chunk-4TPCCB4K.js";
2
+ import { exists } from "../runtime.js";
3
+ import {
4
+ UserTaskRetrieveModeFromJSON,
5
+ UserTaskRetrieveModeToJSON
6
+ } from "./UserTaskRetrieveMode.js";
7
+ function instanceOfUserTasksRequest(value) {
8
+ let isInstance = true;
9
+ return isInstance;
10
+ }
11
+ function UserTasksRequestFromJSON(json) {
12
+ return UserTasksRequestFromJSONTyped(json, false);
13
+ }
14
+ function UserTasksRequestFromJSONTyped(json, ignoreDiscriminator) {
15
+ if (json === void 0 || json === null) {
16
+ return json;
17
+ }
18
+ return {
19
+ "pageNumber": !exists(json, "pageNumber") ? void 0 : json["pageNumber"],
20
+ "pageSize": !exists(json, "pageSize") ? void 0 : json["pageSize"],
21
+ "query": !exists(json, "query") ? void 0 : json["query"],
22
+ "sort": !exists(json, "sort") ? void 0 : json["sort"],
23
+ "sortAscending": !exists(json, "sortAscending") ? void 0 : json["sortAscending"],
24
+ "mode": !exists(json, "mode") ? void 0 : UserTaskRetrieveModeFromJSON(json["mode"])
25
+ };
26
+ }
27
+ function UserTasksRequestToJSON(value) {
28
+ if (value === void 0) {
29
+ return void 0;
30
+ }
31
+ if (value === null) {
32
+ return null;
33
+ }
34
+ return {
35
+ "pageNumber": value.pageNumber,
36
+ "pageSize": value.pageSize,
37
+ "query": value.query,
38
+ "sort": value.sort,
39
+ "sortAscending": value.sortAscending,
40
+ "mode": UserTaskRetrieveModeToJSON(value.mode)
41
+ };
42
+ }
43
+ export {
44
+ UserTasksRequestFromJSON,
45
+ UserTasksRequestFromJSONTyped,
46
+ UserTasksRequestToJSON,
47
+ instanceOfUserTasksRequest
48
+ };
@@ -0,0 +1,51 @@
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 UserTasksUpdateRequest
16
+ */
17
+ interface UserTasksUpdateRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof UserTasksUpdateRequest
22
+ */
23
+ query?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof UserTasksUpdateRequest
28
+ */
29
+ sort?: string;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof UserTasksUpdateRequest
34
+ */
35
+ sortAscending?: boolean;
36
+ /**
37
+ *
38
+ * @type {Array<string>}
39
+ * @memberof UserTasksUpdateRequest
40
+ */
41
+ knownUserTasksIds: Array<string>;
42
+ }
43
+ /**
44
+ * Check if a given object implements the UserTasksUpdateRequest interface.
45
+ */
46
+ declare function instanceOfUserTasksUpdateRequest(value: object): boolean;
47
+ declare function UserTasksUpdateRequestFromJSON(json: any): UserTasksUpdateRequest;
48
+ declare function UserTasksUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserTasksUpdateRequest;
49
+ declare function UserTasksUpdateRequestToJSON(value?: UserTasksUpdateRequest | null): any;
50
+
51
+ export { UserTasksUpdateRequest, UserTasksUpdateRequestFromJSON, UserTasksUpdateRequestFromJSONTyped, UserTasksUpdateRequestToJSON, instanceOfUserTasksUpdateRequest };
@@ -0,0 +1,41 @@
1
+ import "../chunk-4TPCCB4K.js";
2
+ import { exists } from "../runtime.js";
3
+ function instanceOfUserTasksUpdateRequest(value) {
4
+ let isInstance = true;
5
+ isInstance = isInstance && "knownUserTasksIds" in value;
6
+ return isInstance;
7
+ }
8
+ function UserTasksUpdateRequestFromJSON(json) {
9
+ return UserTasksUpdateRequestFromJSONTyped(json, false);
10
+ }
11
+ function UserTasksUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
12
+ if (json === void 0 || json === null) {
13
+ return json;
14
+ }
15
+ return {
16
+ "query": !exists(json, "query") ? void 0 : json["query"],
17
+ "sort": !exists(json, "sort") ? void 0 : json["sort"],
18
+ "sortAscending": !exists(json, "sortAscending") ? void 0 : json["sortAscending"],
19
+ "knownUserTasksIds": json["knownUserTasksIds"]
20
+ };
21
+ }
22
+ function UserTasksUpdateRequestToJSON(value) {
23
+ if (value === void 0) {
24
+ return void 0;
25
+ }
26
+ if (value === null) {
27
+ return null;
28
+ }
29
+ return {
30
+ "query": value.query,
31
+ "sort": value.sort,
32
+ "sortAscending": value.sortAscending,
33
+ "knownUserTasksIds": value.knownUserTasksIds
34
+ };
35
+ }
36
+ export {
37
+ UserTasksUpdateRequestFromJSON,
38
+ UserTasksUpdateRequestFromJSONTyped,
39
+ UserTasksUpdateRequestToJSON,
40
+ instanceOfUserTasksUpdateRequest
41
+ };
@@ -0,0 +1,148 @@
1
+ import { UiUriType } from './UiUriType.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 Workflow
19
+ */
20
+ interface Workflow {
21
+ /**
22
+ * workflow id
23
+ * @type {string}
24
+ * @memberof Workflow
25
+ */
26
+ id: string;
27
+ /**
28
+ * revision of the usertask record
29
+ * @type {number}
30
+ * @memberof Workflow
31
+ */
32
+ version?: number;
33
+ /**
34
+ * The user who triggered the update. Null if the update is done by the system.
35
+ * @type {string}
36
+ * @memberof Workflow
37
+ */
38
+ initiator?: string;
39
+ /**
40
+ * The time the task was created
41
+ * @type {Date}
42
+ * @memberof Workflow
43
+ */
44
+ createdAt: Date;
45
+ /**
46
+ * The time the task was updated
47
+ * @type {Date}
48
+ * @memberof Workflow
49
+ */
50
+ updatedAt: Date;
51
+ /**
52
+ * The time the task was ended
53
+ * @type {Date}
54
+ * @memberof Workflow
55
+ */
56
+ endedAt?: Date;
57
+ /**
58
+ * The workflow module of this usertask
59
+ * @type {string}
60
+ * @memberof Workflow
61
+ */
62
+ workflowModuleId: string;
63
+ /**
64
+ *
65
+ * @type {string}
66
+ * @memberof Workflow
67
+ */
68
+ comment?: string;
69
+ /**
70
+ * BPMN process ID
71
+ * @type {string}
72
+ * @memberof Workflow
73
+ */
74
+ bpmnProcessId: string;
75
+ /**
76
+ * Version of the BPMN process and tag
77
+ * @type {string}
78
+ * @memberof Workflow
79
+ */
80
+ bpmnProcessVersion?: string;
81
+ /**
82
+ * The natural ID of the workflow (e.g. order-id)
83
+ * @type {string}
84
+ * @memberof Workflow
85
+ */
86
+ businessId?: string;
87
+ /**
88
+ * The rendered title of the user-task (may contain specific data)
89
+ * @type {{ [key: string]: string; }}
90
+ * @memberof Workflow
91
+ */
92
+ title: {
93
+ [key: string]: string;
94
+ };
95
+ /**
96
+ * 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)
97
+ * @type {string}
98
+ * @memberof Workflow
99
+ */
100
+ uiUri: string;
101
+ /**
102
+ *
103
+ * @type {UiUriType}
104
+ * @memberof Workflow
105
+ */
106
+ uiUriType: UiUriType;
107
+ /**
108
+ * An URI pointing to the workflow-modules's own API (maybe used by workflow pages)
109
+ * @type {string}
110
+ * @memberof Workflow
111
+ */
112
+ workflowModuleUri: string;
113
+ /**
114
+ *
115
+ * @type {Array<string>}
116
+ * @memberof Workflow
117
+ */
118
+ accessibleToUsers?: Array<string>;
119
+ /**
120
+ *
121
+ * @type {Array<string>}
122
+ * @memberof Workflow
123
+ */
124
+ accessibleToGroups?: Array<string>;
125
+ /**
126
+ * Properties for individual searches
127
+ * @type {{ [key: string]: any; }}
128
+ * @memberof Workflow
129
+ */
130
+ details?: {
131
+ [key: string]: any;
132
+ };
133
+ /**
134
+ * List of words for fulltext searching details
135
+ * @type {string}
136
+ * @memberof Workflow
137
+ */
138
+ detailsFulltextSearch?: string;
139
+ }
140
+ /**
141
+ * Check if a given object implements the Workflow interface.
142
+ */
143
+ declare function instanceOfWorkflow(value: object): boolean;
144
+ declare function WorkflowFromJSON(json: any): Workflow;
145
+ declare function WorkflowFromJSONTyped(json: any, ignoreDiscriminator: boolean): Workflow;
146
+ declare function WorkflowToJSON(value?: Workflow | null): any;
147
+
148
+ export { Workflow, WorkflowFromJSON, WorkflowFromJSONTyped, WorkflowToJSON, instanceOfWorkflow };
@@ -0,0 +1,83 @@
1
+ import "../chunk-4TPCCB4K.js";
2
+ import { exists } from "../runtime.js";
3
+ import {
4
+ UiUriTypeFromJSON,
5
+ UiUriTypeToJSON
6
+ } from "./UiUriType.js";
7
+ function instanceOfWorkflow(value) {
8
+ let isInstance = true;
9
+ isInstance = isInstance && "id" in value;
10
+ isInstance = isInstance && "createdAt" in value;
11
+ isInstance = isInstance && "updatedAt" in value;
12
+ isInstance = isInstance && "workflowModuleId" in value;
13
+ isInstance = isInstance && "bpmnProcessId" in value;
14
+ isInstance = isInstance && "title" in value;
15
+ isInstance = isInstance && "uiUri" in value;
16
+ isInstance = isInstance && "uiUriType" in value;
17
+ isInstance = isInstance && "workflowModuleUri" in value;
18
+ return isInstance;
19
+ }
20
+ function WorkflowFromJSON(json) {
21
+ return WorkflowFromJSONTyped(json, false);
22
+ }
23
+ function WorkflowFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json === void 0 || json === null) {
25
+ return json;
26
+ }
27
+ return {
28
+ "id": json["id"],
29
+ "version": !exists(json, "version") ? void 0 : json["version"],
30
+ "initiator": !exists(json, "initiator") ? void 0 : json["initiator"],
31
+ "createdAt": new Date(json["createdAt"]),
32
+ "updatedAt": new Date(json["updatedAt"]),
33
+ "endedAt": !exists(json, "endedAt") ? void 0 : new Date(json["endedAt"]),
34
+ "workflowModuleId": json["workflowModuleId"],
35
+ "comment": !exists(json, "comment") ? void 0 : json["comment"],
36
+ "bpmnProcessId": json["bpmnProcessId"],
37
+ "bpmnProcessVersion": !exists(json, "bpmnProcessVersion") ? void 0 : json["bpmnProcessVersion"],
38
+ "businessId": !exists(json, "businessId") ? void 0 : json["businessId"],
39
+ "title": json["title"],
40
+ "uiUri": json["uiUri"],
41
+ "uiUriType": UiUriTypeFromJSON(json["uiUriType"]),
42
+ "workflowModuleUri": json["workflowModuleUri"],
43
+ "accessibleToUsers": !exists(json, "accessibleToUsers") ? void 0 : json["accessibleToUsers"],
44
+ "accessibleToGroups": !exists(json, "accessibleToGroups") ? void 0 : json["accessibleToGroups"],
45
+ "details": !exists(json, "details") ? void 0 : json["details"],
46
+ "detailsFulltextSearch": !exists(json, "detailsFulltextSearch") ? void 0 : json["detailsFulltextSearch"]
47
+ };
48
+ }
49
+ function WorkflowToJSON(value) {
50
+ if (value === void 0) {
51
+ return void 0;
52
+ }
53
+ if (value === null) {
54
+ return null;
55
+ }
56
+ return {
57
+ "id": value.id,
58
+ "version": value.version,
59
+ "initiator": value.initiator,
60
+ "createdAt": value.createdAt.toISOString(),
61
+ "updatedAt": value.updatedAt.toISOString(),
62
+ "endedAt": value.endedAt === void 0 ? void 0 : value.endedAt.toISOString(),
63
+ "workflowModuleId": value.workflowModuleId,
64
+ "comment": value.comment,
65
+ "bpmnProcessId": value.bpmnProcessId,
66
+ "bpmnProcessVersion": value.bpmnProcessVersion,
67
+ "businessId": value.businessId,
68
+ "title": value.title,
69
+ "uiUri": value.uiUri,
70
+ "uiUriType": UiUriTypeToJSON(value.uiUriType),
71
+ "workflowModuleUri": value.workflowModuleUri,
72
+ "accessibleToUsers": value.accessibleToUsers,
73
+ "accessibleToGroups": value.accessibleToGroups,
74
+ "details": value.details,
75
+ "detailsFulltextSearch": value.detailsFulltextSearch
76
+ };
77
+ }
78
+ export {
79
+ WorkflowFromJSON,
80
+ WorkflowFromJSONTyped,
81
+ WorkflowToJSON,
82
+ instanceOfWorkflow
83
+ };
@@ -0,0 +1,45 @@
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 };
@@ -0,0 +1,40 @@
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
+ };
@@ -0,0 +1,56 @@
1
+ import { Page } from './Page.js';
2
+ import { Workflow } from './Workflow.js';
3
+ import './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 Workflows
21
+ */
22
+ interface Workflows {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof Workflows
27
+ */
28
+ requestId?: string;
29
+ /**
30
+ *
31
+ * @type {Date}
32
+ * @memberof Workflows
33
+ */
34
+ serverTimestamp: Date;
35
+ /**
36
+ *
37
+ * @type {Page}
38
+ * @memberof Workflows
39
+ */
40
+ page: Page;
41
+ /**
42
+ *
43
+ * @type {Array<Workflow>}
44
+ * @memberof Workflows
45
+ */
46
+ workflows: Array<Workflow>;
47
+ }
48
+ /**
49
+ * Check if a given object implements the Workflows interface.
50
+ */
51
+ declare function instanceOfWorkflows(value: object): boolean;
52
+ declare function WorkflowsFromJSON(json: any): Workflows;
53
+ declare function WorkflowsFromJSONTyped(json: any, ignoreDiscriminator: boolean): Workflows;
54
+ declare function WorkflowsToJSON(value?: Workflows | null): any;
55
+
56
+ export { Workflows, WorkflowsFromJSON, WorkflowsFromJSONTyped, WorkflowsToJSON, instanceOfWorkflows };
@@ -0,0 +1,51 @@
1
+ import "../chunk-4TPCCB4K.js";
2
+ import { exists } from "../runtime.js";
3
+ import {
4
+ PageFromJSON,
5
+ PageToJSON
6
+ } from "./Page.js";
7
+ import {
8
+ WorkflowFromJSON,
9
+ WorkflowToJSON
10
+ } from "./Workflow.js";
11
+ function instanceOfWorkflows(value) {
12
+ let isInstance = true;
13
+ isInstance = isInstance && "serverTimestamp" in value;
14
+ isInstance = isInstance && "page" in value;
15
+ isInstance = isInstance && "workflows" in value;
16
+ return isInstance;
17
+ }
18
+ function WorkflowsFromJSON(json) {
19
+ return WorkflowsFromJSONTyped(json, false);
20
+ }
21
+ function WorkflowsFromJSONTyped(json, ignoreDiscriminator) {
22
+ if (json === void 0 || json === null) {
23
+ return json;
24
+ }
25
+ return {
26
+ "requestId": !exists(json, "requestId") ? void 0 : json["requestId"],
27
+ "serverTimestamp": new Date(json["serverTimestamp"]),
28
+ "page": PageFromJSON(json["page"]),
29
+ "workflows": json["workflows"].map(WorkflowFromJSON)
30
+ };
31
+ }
32
+ function WorkflowsToJSON(value) {
33
+ if (value === void 0) {
34
+ return void 0;
35
+ }
36
+ if (value === null) {
37
+ return null;
38
+ }
39
+ return {
40
+ "requestId": value.requestId,
41
+ "serverTimestamp": value.serverTimestamp.toISOString(),
42
+ "page": PageToJSON(value.page),
43
+ "workflows": value.workflows.map(WorkflowToJSON)
44
+ };
45
+ }
46
+ export {
47
+ WorkflowsFromJSON,
48
+ WorkflowsFromJSONTyped,
49
+ WorkflowsToJSON,
50
+ instanceOfWorkflows
51
+ };
@@ -0,0 +1,60 @@
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 WorkflowsRequest
19
+ */
20
+ interface WorkflowsRequest {
21
+ /**
22
+ *
23
+ * @type {number}
24
+ * @memberof WorkflowsRequest
25
+ */
26
+ pageNumber?: number;
27
+ /**
28
+ *
29
+ * @type {number}
30
+ * @memberof WorkflowsRequest
31
+ */
32
+ pageSize?: number;
33
+ /**
34
+ *
35
+ * @type {Array<SearchQuery>}
36
+ * @memberof WorkflowsRequest
37
+ */
38
+ searchQueries?: Array<SearchQuery>;
39
+ /**
40
+ *
41
+ * @type {string}
42
+ * @memberof WorkflowsRequest
43
+ */
44
+ sort?: string;
45
+ /**
46
+ *
47
+ * @type {boolean}
48
+ * @memberof WorkflowsRequest
49
+ */
50
+ sortAscending?: boolean;
51
+ }
52
+ /**
53
+ * Check if a given object implements the WorkflowsRequest interface.
54
+ */
55
+ declare function instanceOfWorkflowsRequest(value: object): boolean;
56
+ declare function WorkflowsRequestFromJSON(json: any): WorkflowsRequest;
57
+ declare function WorkflowsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowsRequest;
58
+ declare function WorkflowsRequestToJSON(value?: WorkflowsRequest | null): any;
59
+
60
+ export { WorkflowsRequest, WorkflowsRequestFromJSON, WorkflowsRequestFromJSONTyped, WorkflowsRequestToJSON, instanceOfWorkflowsRequest };
@@ -0,0 +1,46 @@
1
+ import "../chunk-4TPCCB4K.js";
2
+ import { exists } from "../runtime.js";
3
+ import {
4
+ SearchQueryFromJSON,
5
+ SearchQueryToJSON
6
+ } from "./SearchQuery.js";
7
+ function instanceOfWorkflowsRequest(value) {
8
+ let isInstance = true;
9
+ return isInstance;
10
+ }
11
+ function WorkflowsRequestFromJSON(json) {
12
+ return WorkflowsRequestFromJSONTyped(json, false);
13
+ }
14
+ function WorkflowsRequestFromJSONTyped(json, ignoreDiscriminator) {
15
+ if (json === void 0 || json === null) {
16
+ return json;
17
+ }
18
+ return {
19
+ "pageNumber": !exists(json, "pageNumber") ? void 0 : json["pageNumber"],
20
+ "pageSize": !exists(json, "pageSize") ? void 0 : json["pageSize"],
21
+ "searchQueries": !exists(json, "searchQueries") ? void 0 : json["searchQueries"].map(SearchQueryFromJSON),
22
+ "sort": !exists(json, "sort") ? void 0 : json["sort"],
23
+ "sortAscending": !exists(json, "sortAscending") ? void 0 : json["sortAscending"]
24
+ };
25
+ }
26
+ function WorkflowsRequestToJSON(value) {
27
+ if (value === void 0) {
28
+ return void 0;
29
+ }
30
+ if (value === null) {
31
+ return null;
32
+ }
33
+ return {
34
+ "pageNumber": value.pageNumber,
35
+ "pageSize": value.pageSize,
36
+ "searchQueries": value.searchQueries === void 0 ? void 0 : value.searchQueries.map(SearchQueryToJSON),
37
+ "sort": value.sort,
38
+ "sortAscending": value.sortAscending
39
+ };
40
+ }
41
+ export {
42
+ WorkflowsRequestFromJSON,
43
+ WorkflowsRequestFromJSONTyped,
44
+ WorkflowsRequestToJSON,
45
+ instanceOfWorkflowsRequest
46
+ };