@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,206 @@
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 UserTask
19
+ */
20
+ interface UserTask {
21
+ /**
22
+ * user task id
23
+ * @type {string}
24
+ * @memberof UserTask
25
+ */
26
+ id: string;
27
+ /**
28
+ * revision of the usertask record
29
+ * @type {number}
30
+ * @memberof UserTask
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 UserTask
37
+ */
38
+ initiator?: string;
39
+ /**
40
+ * The time the task was created
41
+ * @type {Date}
42
+ * @memberof UserTask
43
+ */
44
+ createdAt: Date;
45
+ /**
46
+ * The time the task was updated
47
+ * @type {Date}
48
+ * @memberof UserTask
49
+ */
50
+ updatedAt: Date;
51
+ /**
52
+ * The time the task was ended
53
+ * @type {Date}
54
+ * @memberof UserTask
55
+ */
56
+ endedAt?: Date;
57
+ /**
58
+ * The workflow module of this usertask
59
+ * @type {string}
60
+ * @memberof UserTask
61
+ */
62
+ workflowModuleId: string;
63
+ /**
64
+ *
65
+ * @type {string}
66
+ * @memberof UserTask
67
+ */
68
+ comment?: string;
69
+ /**
70
+ * BPMN process ID
71
+ * @type {string}
72
+ * @memberof UserTask
73
+ */
74
+ bpmnProcessId: string;
75
+ /**
76
+ * Version of the BPMN process
77
+ * @type {string}
78
+ * @memberof UserTask
79
+ */
80
+ bpmnProcessVersion?: string;
81
+ /**
82
+ * BPMN process title
83
+ * @type {{ [key: string]: string; }}
84
+ * @memberof UserTask
85
+ */
86
+ workflowTitle?: {
87
+ [key: string]: string;
88
+ };
89
+ /**
90
+ * The unique key of the workflow
91
+ * @type {string}
92
+ * @memberof UserTask
93
+ */
94
+ workflowId?: string;
95
+ /**
96
+ * The natural ID of the workflow (e.g. order-id)
97
+ * @type {string}
98
+ * @memberof UserTask
99
+ */
100
+ businessId?: string;
101
+ /**
102
+ * The rendered title of the user-task (may contain specific data)
103
+ * @type {{ [key: string]: string; }}
104
+ * @memberof UserTask
105
+ */
106
+ title: {
107
+ [key: string]: string;
108
+ };
109
+ /**
110
+ * The BPMN user task's ID
111
+ * @type {string}
112
+ * @memberof UserTask
113
+ */
114
+ bpmnTaskId?: string;
115
+ /**
116
+ * The task's formkey
117
+ * @type {string}
118
+ * @memberof UserTask
119
+ */
120
+ taskDefinition: string;
121
+ /**
122
+ * The generic title of the user-task (must not contain specific data)
123
+ * @type {{ [key: string]: string; }}
124
+ * @memberof UserTask
125
+ */
126
+ taskDefinitionTitle?: {
127
+ [key: string]: string;
128
+ };
129
+ /**
130
+ * 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)
131
+ * @type {string}
132
+ * @memberof UserTask
133
+ */
134
+ uiUri: string;
135
+ /**
136
+ *
137
+ * @type {UiUriType}
138
+ * @memberof UserTask
139
+ */
140
+ uiUriType: UiUriType;
141
+ /**
142
+ * An URI pointing to the workflow-module's own API (maybe used by user-task forms)
143
+ * @type {string}
144
+ * @memberof UserTask
145
+ */
146
+ workflowModuleUri: string;
147
+ /**
148
+ *
149
+ * @type {string}
150
+ * @memberof UserTask
151
+ */
152
+ assignee?: string;
153
+ /**
154
+ *
155
+ * @type {Array<string>}
156
+ * @memberof UserTask
157
+ */
158
+ candidateUsers?: Array<string>;
159
+ /**
160
+ *
161
+ * @type {Array<string>}
162
+ * @memberof UserTask
163
+ */
164
+ candidateGroups?: Array<string>;
165
+ /**
166
+ *
167
+ * @type {Date}
168
+ * @memberof UserTask
169
+ */
170
+ dueDate?: Date;
171
+ /**
172
+ *
173
+ * @type {Date}
174
+ * @memberof UserTask
175
+ */
176
+ followUpDate?: Date;
177
+ /**
178
+ * Properties for individual searches
179
+ * @type {{ [key: string]: any; }}
180
+ * @memberof UserTask
181
+ */
182
+ details?: {
183
+ [key: string]: any;
184
+ };
185
+ /**
186
+ * List of words for fulltext searching details
187
+ * @type {string}
188
+ * @memberof UserTask
189
+ */
190
+ detailsFulltextSearch?: string;
191
+ /**
192
+ *
193
+ * @type {Date}
194
+ * @memberof UserTask
195
+ */
196
+ read?: Date;
197
+ }
198
+ /**
199
+ * Check if a given object implements the UserTask interface.
200
+ */
201
+ declare function instanceOfUserTask(value: object): boolean;
202
+ declare function UserTaskFromJSON(json: any): UserTask;
203
+ declare function UserTaskFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserTask;
204
+ declare function UserTaskToJSON(value?: UserTask | null): any;
205
+
206
+ export { UserTask, UserTaskFromJSON, UserTaskFromJSONTyped, UserTaskToJSON, instanceOfUserTask };
@@ -0,0 +1,102 @@
1
+ import "../chunk-4TPCCB4K.js";
2
+ import { exists } from "../runtime.js";
3
+ import {
4
+ UiUriTypeFromJSON,
5
+ UiUriTypeToJSON
6
+ } from "./UiUriType.js";
7
+ function instanceOfUserTask(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 && "taskDefinition" in value;
16
+ isInstance = isInstance && "uiUri" in value;
17
+ isInstance = isInstance && "uiUriType" in value;
18
+ isInstance = isInstance && "workflowModuleUri" in value;
19
+ return isInstance;
20
+ }
21
+ function UserTaskFromJSON(json) {
22
+ return UserTaskFromJSONTyped(json, false);
23
+ }
24
+ function UserTaskFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json === void 0 || json === null) {
26
+ return json;
27
+ }
28
+ return {
29
+ "id": json["id"],
30
+ "version": !exists(json, "version") ? void 0 : json["version"],
31
+ "initiator": !exists(json, "initiator") ? void 0 : json["initiator"],
32
+ "createdAt": new Date(json["createdAt"]),
33
+ "updatedAt": new Date(json["updatedAt"]),
34
+ "endedAt": !exists(json, "endedAt") ? void 0 : new Date(json["endedAt"]),
35
+ "workflowModuleId": json["workflowModuleId"],
36
+ "comment": !exists(json, "comment") ? void 0 : json["comment"],
37
+ "bpmnProcessId": json["bpmnProcessId"],
38
+ "bpmnProcessVersion": !exists(json, "bpmnProcessVersion") ? void 0 : json["bpmnProcessVersion"],
39
+ "workflowTitle": !exists(json, "workflowTitle") ? void 0 : json["workflowTitle"],
40
+ "workflowId": !exists(json, "workflowId") ? void 0 : json["workflowId"],
41
+ "businessId": !exists(json, "businessId") ? void 0 : json["businessId"],
42
+ "title": json["title"],
43
+ "bpmnTaskId": !exists(json, "bpmnTaskId") ? void 0 : json["bpmnTaskId"],
44
+ "taskDefinition": json["taskDefinition"],
45
+ "taskDefinitionTitle": !exists(json, "taskDefinitionTitle") ? void 0 : json["taskDefinitionTitle"],
46
+ "uiUri": json["uiUri"],
47
+ "uiUriType": UiUriTypeFromJSON(json["uiUriType"]),
48
+ "workflowModuleUri": json["workflowModuleUri"],
49
+ "assignee": !exists(json, "assignee") ? void 0 : json["assignee"],
50
+ "candidateUsers": !exists(json, "candidateUsers") ? void 0 : json["candidateUsers"],
51
+ "candidateGroups": !exists(json, "candidateGroups") ? void 0 : json["candidateGroups"],
52
+ "dueDate": !exists(json, "dueDate") ? void 0 : new Date(json["dueDate"]),
53
+ "followUpDate": !exists(json, "followUpDate") ? void 0 : new Date(json["followUpDate"]),
54
+ "details": !exists(json, "details") ? void 0 : json["details"],
55
+ "detailsFulltextSearch": !exists(json, "detailsFulltextSearch") ? void 0 : json["detailsFulltextSearch"],
56
+ "read": !exists(json, "read") ? void 0 : new Date(json["read"])
57
+ };
58
+ }
59
+ function UserTaskToJSON(value) {
60
+ if (value === void 0) {
61
+ return void 0;
62
+ }
63
+ if (value === null) {
64
+ return null;
65
+ }
66
+ return {
67
+ "id": value.id,
68
+ "version": value.version,
69
+ "initiator": value.initiator,
70
+ "createdAt": value.createdAt.toISOString(),
71
+ "updatedAt": value.updatedAt.toISOString(),
72
+ "endedAt": value.endedAt === void 0 ? void 0 : value.endedAt.toISOString(),
73
+ "workflowModuleId": value.workflowModuleId,
74
+ "comment": value.comment,
75
+ "bpmnProcessId": value.bpmnProcessId,
76
+ "bpmnProcessVersion": value.bpmnProcessVersion,
77
+ "workflowTitle": value.workflowTitle,
78
+ "workflowId": value.workflowId,
79
+ "businessId": value.businessId,
80
+ "title": value.title,
81
+ "bpmnTaskId": value.bpmnTaskId,
82
+ "taskDefinition": value.taskDefinition,
83
+ "taskDefinitionTitle": value.taskDefinitionTitle,
84
+ "uiUri": value.uiUri,
85
+ "uiUriType": UiUriTypeToJSON(value.uiUriType),
86
+ "workflowModuleUri": value.workflowModuleUri,
87
+ "assignee": value.assignee,
88
+ "candidateUsers": value.candidateUsers,
89
+ "candidateGroups": value.candidateGroups,
90
+ "dueDate": value.dueDate === void 0 ? void 0 : value.dueDate.toISOString(),
91
+ "followUpDate": value.followUpDate === void 0 ? void 0 : value.followUpDate.toISOString(),
92
+ "details": value.details,
93
+ "detailsFulltextSearch": value.detailsFulltextSearch,
94
+ "read": value.read === void 0 ? void 0 : value.read.toISOString()
95
+ };
96
+ }
97
+ export {
98
+ UserTaskFromJSON,
99
+ UserTaskFromJSONTyped,
100
+ UserTaskToJSON,
101
+ instanceOfUserTask
102
+ };
@@ -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 UserTaskEvent
16
+ */
17
+ interface UserTaskEvent {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof UserTaskEvent
22
+ */
23
+ type: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof UserTaskEvent
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof UserTaskEvent
34
+ */
35
+ id: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the UserTaskEvent interface.
39
+ */
40
+ declare function instanceOfUserTaskEvent(value: object): boolean;
41
+ declare function UserTaskEventFromJSON(json: any): UserTaskEvent;
42
+ declare function UserTaskEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserTaskEvent;
43
+ declare function UserTaskEventToJSON(value?: UserTaskEvent | null): any;
44
+
45
+ export { UserTaskEvent, UserTaskEventFromJSON, UserTaskEventFromJSONTyped, UserTaskEventToJSON, instanceOfUserTaskEvent };
@@ -0,0 +1,40 @@
1
+ import "../chunk-4TPCCB4K.js";
2
+ function instanceOfUserTaskEvent(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 UserTaskEventFromJSON(json) {
10
+ return UserTaskEventFromJSONTyped(json, false);
11
+ }
12
+ function UserTaskEventFromJSONTyped(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 UserTaskEventToJSON(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
+ UserTaskEventFromJSON,
37
+ UserTaskEventFromJSONTyped,
38
+ UserTaskEventToJSON,
39
+ instanceOfUserTaskEvent
40
+ };
@@ -0,0 +1,33 @@
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 UserTaskIds
16
+ */
17
+ interface UserTaskIds {
18
+ /**
19
+ *
20
+ * @type {Array<string>}
21
+ * @memberof UserTaskIds
22
+ */
23
+ userTaskIds?: Array<string>;
24
+ }
25
+ /**
26
+ * Check if a given object implements the UserTaskIds interface.
27
+ */
28
+ declare function instanceOfUserTaskIds(value: object): boolean;
29
+ declare function UserTaskIdsFromJSON(json: any): UserTaskIds;
30
+ declare function UserTaskIdsFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserTaskIds;
31
+ declare function UserTaskIdsToJSON(value?: UserTaskIds | null): any;
32
+
33
+ export { UserTaskIds, UserTaskIdsFromJSON, UserTaskIdsFromJSONTyped, UserTaskIdsToJSON, instanceOfUserTaskIds };
@@ -0,0 +1,34 @@
1
+ import "../chunk-4TPCCB4K.js";
2
+ import { exists } from "../runtime.js";
3
+ function instanceOfUserTaskIds(value) {
4
+ let isInstance = true;
5
+ return isInstance;
6
+ }
7
+ function UserTaskIdsFromJSON(json) {
8
+ return UserTaskIdsFromJSONTyped(json, false);
9
+ }
10
+ function UserTaskIdsFromJSONTyped(json, ignoreDiscriminator) {
11
+ if (json === void 0 || json === null) {
12
+ return json;
13
+ }
14
+ return {
15
+ "userTaskIds": !exists(json, "userTaskIds") ? void 0 : json["userTaskIds"]
16
+ };
17
+ }
18
+ function UserTaskIdsToJSON(value) {
19
+ if (value === void 0) {
20
+ return void 0;
21
+ }
22
+ if (value === null) {
23
+ return null;
24
+ }
25
+ return {
26
+ "userTaskIds": value.userTaskIds
27
+ };
28
+ }
29
+ export {
30
+ UserTaskIdsFromJSON,
31
+ UserTaskIdsFromJSONTyped,
32
+ UserTaskIdsToJSON,
33
+ instanceOfUserTaskIds
34
+ };
@@ -0,0 +1,28 @@
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
+ */
16
+ declare const UserTaskRetrieveMode: {
17
+ readonly All: "All";
18
+ readonly OpenTasks: "OpenTasks";
19
+ readonly OpenTasksWithoutFollowup: "OpenTasksWithoutFollowup";
20
+ readonly OpenTasksWithFollowup: "OpenTasksWithFollowup";
21
+ readonly ClosedTasksOnly: "ClosedTasksOnly";
22
+ };
23
+ declare type UserTaskRetrieveMode = typeof UserTaskRetrieveMode[keyof typeof UserTaskRetrieveMode];
24
+ declare function UserTaskRetrieveModeFromJSON(json: any): UserTaskRetrieveMode;
25
+ declare function UserTaskRetrieveModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserTaskRetrieveMode;
26
+ declare function UserTaskRetrieveModeToJSON(value?: UserTaskRetrieveMode | null): any;
27
+
28
+ export { UserTaskRetrieveMode, UserTaskRetrieveModeFromJSON, UserTaskRetrieveModeFromJSONTyped, UserTaskRetrieveModeToJSON };
@@ -0,0 +1,23 @@
1
+ import "../chunk-4TPCCB4K.js";
2
+ const UserTaskRetrieveMode = {
3
+ All: "All",
4
+ OpenTasks: "OpenTasks",
5
+ OpenTasksWithoutFollowup: "OpenTasksWithoutFollowup",
6
+ OpenTasksWithFollowup: "OpenTasksWithFollowup",
7
+ ClosedTasksOnly: "ClosedTasksOnly"
8
+ };
9
+ function UserTaskRetrieveModeFromJSON(json) {
10
+ return UserTaskRetrieveModeFromJSONTyped(json, false);
11
+ }
12
+ function UserTaskRetrieveModeFromJSONTyped(json, ignoreDiscriminator) {
13
+ return json;
14
+ }
15
+ function UserTaskRetrieveModeToJSON(value) {
16
+ return value;
17
+ }
18
+ export {
19
+ UserTaskRetrieveMode,
20
+ UserTaskRetrieveModeFromJSON,
21
+ UserTaskRetrieveModeFromJSONTyped,
22
+ UserTaskRetrieveModeToJSON
23
+ };
@@ -0,0 +1,50 @@
1
+ import { Page } from './Page.js';
2
+ import { UserTask } from './UserTask.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 UserTasks
21
+ */
22
+ interface UserTasks {
23
+ /**
24
+ *
25
+ * @type {Date}
26
+ * @memberof UserTasks
27
+ */
28
+ serverTimestamp: Date;
29
+ /**
30
+ *
31
+ * @type {Page}
32
+ * @memberof UserTasks
33
+ */
34
+ page: Page;
35
+ /**
36
+ *
37
+ * @type {Array<UserTask>}
38
+ * @memberof UserTasks
39
+ */
40
+ userTasks: Array<UserTask>;
41
+ }
42
+ /**
43
+ * Check if a given object implements the UserTasks interface.
44
+ */
45
+ declare function instanceOfUserTasks(value: object): boolean;
46
+ declare function UserTasksFromJSON(json: any): UserTasks;
47
+ declare function UserTasksFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserTasks;
48
+ declare function UserTasksToJSON(value?: UserTasks | null): any;
49
+
50
+ export { UserTasks, UserTasksFromJSON, UserTasksFromJSONTyped, UserTasksToJSON, instanceOfUserTasks };
@@ -0,0 +1,48 @@
1
+ import "../chunk-4TPCCB4K.js";
2
+ import {
3
+ PageFromJSON,
4
+ PageToJSON
5
+ } from "./Page.js";
6
+ import {
7
+ UserTaskFromJSON,
8
+ UserTaskToJSON
9
+ } from "./UserTask.js";
10
+ function instanceOfUserTasks(value) {
11
+ let isInstance = true;
12
+ isInstance = isInstance && "serverTimestamp" in value;
13
+ isInstance = isInstance && "page" in value;
14
+ isInstance = isInstance && "userTasks" in value;
15
+ return isInstance;
16
+ }
17
+ function UserTasksFromJSON(json) {
18
+ return UserTasksFromJSONTyped(json, false);
19
+ }
20
+ function UserTasksFromJSONTyped(json, ignoreDiscriminator) {
21
+ if (json === void 0 || json === null) {
22
+ return json;
23
+ }
24
+ return {
25
+ "serverTimestamp": new Date(json["serverTimestamp"]),
26
+ "page": PageFromJSON(json["page"]),
27
+ "userTasks": json["userTasks"].map(UserTaskFromJSON)
28
+ };
29
+ }
30
+ function UserTasksToJSON(value) {
31
+ if (value === void 0) {
32
+ return void 0;
33
+ }
34
+ if (value === null) {
35
+ return null;
36
+ }
37
+ return {
38
+ "serverTimestamp": value.serverTimestamp.toISOString(),
39
+ "page": PageToJSON(value.page),
40
+ "userTasks": value.userTasks.map(UserTaskToJSON)
41
+ };
42
+ }
43
+ export {
44
+ UserTasksFromJSON,
45
+ UserTasksFromJSONTyped,
46
+ UserTasksToJSON,
47
+ instanceOfUserTasks
48
+ };
@@ -0,0 +1,66 @@
1
+ import { UserTaskRetrieveMode } from './UserTaskRetrieveMode.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 UserTasksRequest
19
+ */
20
+ interface UserTasksRequest {
21
+ /**
22
+ *
23
+ * @type {number}
24
+ * @memberof UserTasksRequest
25
+ */
26
+ pageNumber?: number;
27
+ /**
28
+ *
29
+ * @type {number}
30
+ * @memberof UserTasksRequest
31
+ */
32
+ pageSize?: number;
33
+ /**
34
+ *
35
+ * @type {string}
36
+ * @memberof UserTasksRequest
37
+ */
38
+ query?: string;
39
+ /**
40
+ *
41
+ * @type {string}
42
+ * @memberof UserTasksRequest
43
+ */
44
+ sort?: string;
45
+ /**
46
+ *
47
+ * @type {boolean}
48
+ * @memberof UserTasksRequest
49
+ */
50
+ sortAscending?: boolean;
51
+ /**
52
+ *
53
+ * @type {UserTaskRetrieveMode}
54
+ * @memberof UserTasksRequest
55
+ */
56
+ mode?: UserTaskRetrieveMode;
57
+ }
58
+ /**
59
+ * Check if a given object implements the UserTasksRequest interface.
60
+ */
61
+ declare function instanceOfUserTasksRequest(value: object): boolean;
62
+ declare function UserTasksRequestFromJSON(json: any): UserTasksRequest;
63
+ declare function UserTasksRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserTasksRequest;
64
+ declare function UserTasksRequestToJSON(value?: UserTasksRequest | null): any;
65
+
66
+ export { UserTasksRequest, UserTasksRequestFromJSON, UserTasksRequestFromJSONTyped, UserTasksRequestToJSON, instanceOfUserTasksRequest };