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