@vanillabp/bc-official-gui-client 0.0.22 → 0.1.1

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 +2023 -27
  2. package/dist/index.js +1663 -3
  3. package/dist/index.js.map +1 -0
  4. package/package.json +17 -10
  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
package/dist/index.d.ts CHANGED
@@ -1,27 +1,2023 @@
1
- export { ApiResponse, BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, Configuration, ConfigurationParameters, Consume, DefaultConfig, ErrorContext, FetchAPI, FetchError, FetchParams, HTTPBody, HTTPHeaders, HTTPMethod, HTTPQuery, HTTPRequestInit, InitOverrideFunction, JSONApiResponse, Json, Middleware, ModelPropertyNaming, RequestContext, RequestOpts, RequiredError, ResponseContext, ResponseError, ResponseTransformer, TextApiResponse, VoidApiResponse, canConsumeForm, exists, mapValues, querystring } from './runtime.js';
2
- export { AssignTaskRequest, AssignTasksRequest, ClaimTaskRequest, ClaimTasksRequest, FindUsersRequest, GetUserTaskKwicResultsRequest, GetUserTaskRequest, GetUserTasksRequest, GetUserTasksUpdateRequest, MarkTaskAsReadRequest, MarkTasksAsReadRequest, OfficialTasklistApi, OfficialTasklistApiInterface } from './apis/OfficialTasklistApi.js';
3
- export { GetWorkflowModuleRequest, OfficialWorkflowModulesApi, OfficialWorkflowModulesApiInterface } from './apis/OfficialWorkflowModulesApi.js';
4
- export { GetKwicResultsRequest, GetUserTasksOfWorkflowRequest, GetWorkflowRequest, GetWorkflowsRequest, GetWorkflowsUpdateRequest, OfficialWorkflowlistApi, OfficialWorkflowlistApiInterface } from './apis/OfficialWorkflowlistApi.js';
5
- export { Group, GroupFromJSON, GroupFromJSONTyped, GroupToJSON, instanceOfGroup } from './models/Group.js';
6
- export { KwicRequest, KwicRequestFromJSON, KwicRequestFromJSONTyped, KwicRequestToJSON, instanceOfKwicRequest } from './models/KwicRequest.js';
7
- export { KwicResult, KwicResultFromJSON, KwicResultFromJSONTyped, KwicResultToJSON, instanceOfKwicResult } from './models/KwicResult.js';
8
- export { KwicResults, KwicResultsFromJSON, KwicResultsFromJSONTyped, KwicResultsToJSON, instanceOfKwicResults } from './models/KwicResults.js';
9
- export { Page, PageFromJSON, PageFromJSONTyped, PageToJSON, instanceOfPage } from './models/Page.js';
10
- export { Person, PersonFromJSON, PersonFromJSONTyped, PersonToJSON, instanceOfPerson } from './models/Person.js';
11
- export { SearchQuery, SearchQueryFromJSON, SearchQueryFromJSONTyped, SearchQueryToJSON, instanceOfSearchQuery } from './models/SearchQuery.js';
12
- export { UiUriType, UiUriTypeFromJSON, UiUriTypeFromJSONTyped, UiUriTypeToJSON } from './models/UiUriType.js';
13
- export { UserSearchResult, UserSearchResultFromJSON, UserSearchResultFromJSONTyped, UserSearchResultToJSON, instanceOfUserSearchResult } from './models/UserSearchResult.js';
14
- export { UserTask, UserTaskFromJSON, UserTaskFromJSONTyped, UserTaskToJSON, instanceOfUserTask } from './models/UserTask.js';
15
- export { UserTaskEvent, UserTaskEventFromJSON, UserTaskEventFromJSONTyped, UserTaskEventToJSON, instanceOfUserTaskEvent } from './models/UserTaskEvent.js';
16
- export { UserTaskIds, UserTaskIdsFromJSON, UserTaskIdsFromJSONTyped, UserTaskIdsToJSON, instanceOfUserTaskIds } from './models/UserTaskIds.js';
17
- export { UserTaskRetrieveMode, UserTaskRetrieveModeFromJSON, UserTaskRetrieveModeFromJSONTyped, UserTaskRetrieveModeToJSON } from './models/UserTaskRetrieveMode.js';
18
- export { UserTasks, UserTasksFromJSON, UserTasksFromJSONTyped, UserTasksToJSON, instanceOfUserTasks } from './models/UserTasks.js';
19
- export { UserTasksRequest, UserTasksRequestFromJSON, UserTasksRequestFromJSONTyped, UserTasksRequestToJSON, instanceOfUserTasksRequest } from './models/UserTasksRequest.js';
20
- export { UserTasksUpdateRequest, UserTasksUpdateRequestFromJSON, UserTasksUpdateRequestFromJSONTyped, UserTasksUpdateRequestToJSON, instanceOfUserTasksUpdateRequest } from './models/UserTasksUpdateRequest.js';
21
- export { Workflow, WorkflowFromJSON, WorkflowFromJSONTyped, WorkflowToJSON, instanceOfWorkflow } from './models/Workflow.js';
22
- export { WorkflowEvent, WorkflowEventFromJSON, WorkflowEventFromJSONTyped, WorkflowEventToJSON, instanceOfWorkflowEvent } from './models/WorkflowEvent.js';
23
- export { WorkflowModule, WorkflowModuleFromJSON, WorkflowModuleFromJSONTyped, WorkflowModuleToJSON, instanceOfWorkflowModule } from './models/WorkflowModule.js';
24
- export { WorkflowModules, WorkflowModulesFromJSON, WorkflowModulesFromJSONTyped, WorkflowModulesToJSON, instanceOfWorkflowModules } from './models/WorkflowModules.js';
25
- export { Workflows, WorkflowsFromJSON, WorkflowsFromJSONTyped, WorkflowsToJSON, instanceOfWorkflows } from './models/Workflows.js';
26
- export { WorkflowsRequest, WorkflowsRequestFromJSON, WorkflowsRequestFromJSONTyped, WorkflowsRequestToJSON, instanceOfWorkflowsRequest } from './models/WorkflowsRequest.js';
27
- export { WorkflowsUpdateRequest, WorkflowsUpdateRequestFromJSON, WorkflowsUpdateRequestFromJSONTyped, WorkflowsUpdateRequestToJSON, instanceOfWorkflowsUpdateRequest } from './models/WorkflowsUpdateRequest.js';
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
+ declare const BASE_PATH: string;
13
+ interface ConfigurationParameters {
14
+ basePath?: string;
15
+ fetchApi?: FetchAPI;
16
+ middleware?: Middleware[];
17
+ queryParamsStringify?: (params: HTTPQuery) => string;
18
+ username?: string;
19
+ password?: string;
20
+ apiKey?: string | ((name: string) => string);
21
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string | Promise<string>);
22
+ headers?: HTTPHeaders;
23
+ credentials?: RequestCredentials;
24
+ }
25
+ declare class Configuration {
26
+ private configuration;
27
+ constructor(configuration?: ConfigurationParameters);
28
+ set config(configuration: Configuration);
29
+ get basePath(): string;
30
+ get fetchApi(): FetchAPI | undefined;
31
+ get middleware(): Middleware[];
32
+ get queryParamsStringify(): (params: HTTPQuery) => string;
33
+ get username(): string | undefined;
34
+ get password(): string | undefined;
35
+ get apiKey(): ((name: string) => string) | undefined;
36
+ get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>) | undefined;
37
+ get headers(): HTTPHeaders | undefined;
38
+ get credentials(): RequestCredentials | undefined;
39
+ }
40
+ declare const DefaultConfig: Configuration;
41
+ /**
42
+ * This is the base class for all generated API classes.
43
+ */
44
+ declare class BaseAPI {
45
+ protected configuration: Configuration;
46
+ private static readonly jsonRegex;
47
+ private middleware;
48
+ constructor(configuration?: Configuration);
49
+ withMiddleware<T extends BaseAPI>(this: T, ...middlewares: Middleware[]): T;
50
+ withPreMiddleware<T extends BaseAPI>(this: T, ...preMiddlewares: Array<Middleware['pre']>): T;
51
+ withPostMiddleware<T extends BaseAPI>(this: T, ...postMiddlewares: Array<Middleware['post']>): T;
52
+ /**
53
+ * Check if the given MIME is a JSON MIME.
54
+ * JSON MIME examples:
55
+ * application/json
56
+ * application/json; charset=UTF8
57
+ * APPLICATION/JSON
58
+ * application/vnd.company+json
59
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
60
+ * @return True if the given MIME is JSON, false otherwise.
61
+ */
62
+ protected isJsonMime(mime: string | null | undefined): boolean;
63
+ protected request(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction): Promise<Response>;
64
+ private createFetchParams;
65
+ private fetchApi;
66
+ /**
67
+ * Create a shallow clone of `this` by constructing a new instance
68
+ * and then shallow cloning data members.
69
+ */
70
+ private clone;
71
+ }
72
+ declare class ResponseError extends Error {
73
+ response: Response;
74
+ name: "ResponseError";
75
+ constructor(response: Response, msg?: string);
76
+ }
77
+ declare class FetchError extends Error {
78
+ cause: Error;
79
+ name: "FetchError";
80
+ constructor(cause: Error, msg?: string);
81
+ }
82
+ declare class RequiredError extends Error {
83
+ field: string;
84
+ name: "RequiredError";
85
+ constructor(field: string, msg?: string);
86
+ }
87
+ declare const COLLECTION_FORMATS: {
88
+ csv: string;
89
+ ssv: string;
90
+ tsv: string;
91
+ pipes: string;
92
+ };
93
+ type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
94
+ type Json = any;
95
+ type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
96
+ type HTTPHeaders = {
97
+ [key: string]: string;
98
+ };
99
+ type HTTPQuery = {
100
+ [key: string]: string | number | null | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery;
101
+ };
102
+ type HTTPBody = Json | FormData | URLSearchParams;
103
+ type HTTPRequestInit = {
104
+ headers?: HTTPHeaders;
105
+ method: HTTPMethod;
106
+ credentials?: RequestCredentials;
107
+ body?: HTTPBody;
108
+ };
109
+ type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
110
+ type InitOverrideFunction = (requestContext: {
111
+ init: HTTPRequestInit;
112
+ context: RequestOpts;
113
+ }) => Promise<RequestInit>;
114
+ interface FetchParams {
115
+ url: string;
116
+ init: RequestInit;
117
+ }
118
+ interface RequestOpts {
119
+ path: string;
120
+ method: HTTPMethod;
121
+ headers: HTTPHeaders;
122
+ query?: HTTPQuery;
123
+ body?: HTTPBody;
124
+ }
125
+ declare function exists(json: any, key: string): boolean;
126
+ declare function querystring(params: HTTPQuery, prefix?: string): string;
127
+ declare function mapValues(data: any, fn: (item: any) => any): {};
128
+ declare function canConsumeForm(consumes: Consume[]): boolean;
129
+ interface Consume {
130
+ contentType: string;
131
+ }
132
+ interface RequestContext {
133
+ fetch: FetchAPI;
134
+ url: string;
135
+ init: RequestInit;
136
+ }
137
+ interface ResponseContext {
138
+ fetch: FetchAPI;
139
+ url: string;
140
+ init: RequestInit;
141
+ response: Response;
142
+ }
143
+ interface ErrorContext {
144
+ fetch: FetchAPI;
145
+ url: string;
146
+ init: RequestInit;
147
+ error: unknown;
148
+ response?: Response;
149
+ }
150
+ interface Middleware {
151
+ pre?(context: RequestContext): Promise<FetchParams | void>;
152
+ post?(context: ResponseContext): Promise<Response | void>;
153
+ onError?(context: ErrorContext): Promise<Response | void>;
154
+ }
155
+ interface ApiResponse<T> {
156
+ raw: Response;
157
+ value(): Promise<T>;
158
+ }
159
+ interface ResponseTransformer<T> {
160
+ (json: any): T;
161
+ }
162
+ declare class JSONApiResponse<T> {
163
+ raw: Response;
164
+ private transformer;
165
+ constructor(raw: Response, transformer?: ResponseTransformer<T>);
166
+ value(): Promise<T>;
167
+ }
168
+ declare class VoidApiResponse {
169
+ raw: Response;
170
+ constructor(raw: Response);
171
+ value(): Promise<void>;
172
+ }
173
+ declare class BlobApiResponse {
174
+ raw: Response;
175
+ constructor(raw: Response);
176
+ value(): Promise<Blob>;
177
+ }
178
+ declare class TextApiResponse {
179
+ raw: Response;
180
+ constructor(raw: Response);
181
+ value(): Promise<string>;
182
+ }
183
+
184
+ /**
185
+ * gui
186
+ * Official GUI API
187
+ *
188
+ * The version of the OpenAPI document: 1.0
189
+ *
190
+ *
191
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
192
+ * https://openapi-generator.tech
193
+ * Do not edit the class manually.
194
+ */
195
+ /**
196
+ *
197
+ * @export
198
+ * @interface Group
199
+ */
200
+ interface Group {
201
+ /**
202
+ *
203
+ * @type {string}
204
+ * @memberof Group
205
+ */
206
+ id: string;
207
+ /**
208
+ *
209
+ * @type {string}
210
+ * @memberof Group
211
+ */
212
+ display?: string;
213
+ /**
214
+ *
215
+ * @type {{ [key: string]: any; }}
216
+ * @memberof Group
217
+ */
218
+ details?: {
219
+ [key: string]: any;
220
+ };
221
+ }
222
+ /**
223
+ * Check if a given object implements the Group interface.
224
+ */
225
+ declare function instanceOfGroup(value: object): boolean;
226
+ declare function GroupFromJSON(json: any): Group;
227
+ declare function GroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): Group;
228
+ declare function GroupToJSON(value?: Group | null): any;
229
+
230
+ /**
231
+ * gui
232
+ * Official GUI API
233
+ *
234
+ * The version of the OpenAPI document: 1.0
235
+ *
236
+ *
237
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
238
+ * https://openapi-generator.tech
239
+ * Do not edit the class manually.
240
+ */
241
+ /**
242
+ *
243
+ * @export
244
+ * @interface SearchQuery
245
+ */
246
+ interface SearchQuery {
247
+ /**
248
+ *
249
+ * @type {string}
250
+ * @memberof SearchQuery
251
+ */
252
+ path?: string;
253
+ /**
254
+ *
255
+ * @type {string}
256
+ * @memberof SearchQuery
257
+ */
258
+ query: string;
259
+ /**
260
+ *
261
+ * @type {boolean}
262
+ * @memberof SearchQuery
263
+ */
264
+ caseInsensitive?: boolean;
265
+ }
266
+ /**
267
+ * Check if a given object implements the SearchQuery interface.
268
+ */
269
+ declare function instanceOfSearchQuery(value: object): boolean;
270
+ declare function SearchQueryFromJSON(json: any): SearchQuery;
271
+ declare function SearchQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchQuery;
272
+ declare function SearchQueryToJSON(value?: SearchQuery | null): any;
273
+
274
+ /**
275
+ * gui
276
+ * Official GUI API
277
+ *
278
+ * The version of the OpenAPI document: 1.0
279
+ *
280
+ *
281
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
282
+ * https://openapi-generator.tech
283
+ * Do not edit the class manually.
284
+ */
285
+
286
+ /**
287
+ *
288
+ * @export
289
+ * @interface KwicRequest
290
+ */
291
+ interface KwicRequest {
292
+ /**
293
+ *
294
+ * @type {Array<SearchQuery>}
295
+ * @memberof KwicRequest
296
+ */
297
+ searchQueries?: Array<SearchQuery>;
298
+ }
299
+ /**
300
+ * Check if a given object implements the KwicRequest interface.
301
+ */
302
+ declare function instanceOfKwicRequest(value: object): boolean;
303
+ declare function KwicRequestFromJSON(json: any): KwicRequest;
304
+ declare function KwicRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): KwicRequest;
305
+ declare function KwicRequestToJSON(value?: KwicRequest | null): any;
306
+
307
+ /**
308
+ * gui
309
+ * Official GUI API
310
+ *
311
+ * The version of the OpenAPI document: 1.0
312
+ *
313
+ *
314
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
315
+ * https://openapi-generator.tech
316
+ * Do not edit the class manually.
317
+ */
318
+ /**
319
+ *
320
+ * @export
321
+ * @interface KwicResult
322
+ */
323
+ interface KwicResult {
324
+ /**
325
+ *
326
+ * @type {string}
327
+ * @memberof KwicResult
328
+ */
329
+ item: string;
330
+ /**
331
+ *
332
+ * @type {number}
333
+ * @memberof KwicResult
334
+ */
335
+ count: number;
336
+ }
337
+ /**
338
+ * Check if a given object implements the KwicResult interface.
339
+ */
340
+ declare function instanceOfKwicResult(value: object): boolean;
341
+ declare function KwicResultFromJSON(json: any): KwicResult;
342
+ declare function KwicResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): KwicResult;
343
+ declare function KwicResultToJSON(value?: KwicResult | null): any;
344
+
345
+ /**
346
+ * gui
347
+ * Official GUI API
348
+ *
349
+ * The version of the OpenAPI document: 1.0
350
+ *
351
+ *
352
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
353
+ * https://openapi-generator.tech
354
+ * Do not edit the class manually.
355
+ */
356
+
357
+ /**
358
+ *
359
+ * @export
360
+ * @interface KwicResults
361
+ */
362
+ interface KwicResults {
363
+ /**
364
+ *
365
+ * @type {Array<KwicResult>}
366
+ * @memberof KwicResults
367
+ */
368
+ result: Array<KwicResult>;
369
+ }
370
+ /**
371
+ * Check if a given object implements the KwicResults interface.
372
+ */
373
+ declare function instanceOfKwicResults(value: object): boolean;
374
+ declare function KwicResultsFromJSON(json: any): KwicResults;
375
+ declare function KwicResultsFromJSONTyped(json: any, ignoreDiscriminator: boolean): KwicResults;
376
+ declare function KwicResultsToJSON(value?: KwicResults | null): any;
377
+
378
+ /**
379
+ * gui
380
+ * Official GUI API
381
+ *
382
+ * The version of the OpenAPI document: 1.0
383
+ *
384
+ *
385
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
386
+ * https://openapi-generator.tech
387
+ * Do not edit the class manually.
388
+ */
389
+ /**
390
+ *
391
+ * @export
392
+ * @interface Page
393
+ */
394
+ interface Page {
395
+ /**
396
+ *
397
+ * @type {number}
398
+ * @memberof Page
399
+ */
400
+ totalElements: number;
401
+ /**
402
+ *
403
+ * @type {number}
404
+ * @memberof Page
405
+ */
406
+ totalPages: number;
407
+ /**
408
+ *
409
+ * @type {number}
410
+ * @memberof Page
411
+ */
412
+ number: number;
413
+ /**
414
+ *
415
+ * @type {number}
416
+ * @memberof Page
417
+ */
418
+ size: number;
419
+ }
420
+ /**
421
+ * Check if a given object implements the Page interface.
422
+ */
423
+ declare function instanceOfPage(value: object): boolean;
424
+ declare function PageFromJSON(json: any): Page;
425
+ declare function PageFromJSONTyped(json: any, ignoreDiscriminator: boolean): Page;
426
+ declare function PageToJSON(value?: Page | null): any;
427
+
428
+ /**
429
+ * gui
430
+ * Official GUI API
431
+ *
432
+ * The version of the OpenAPI document: 1.0
433
+ *
434
+ *
435
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
436
+ * https://openapi-generator.tech
437
+ * Do not edit the class manually.
438
+ */
439
+ /**
440
+ *
441
+ * @export
442
+ * @interface Person
443
+ */
444
+ interface Person {
445
+ /**
446
+ *
447
+ * @type {string}
448
+ * @memberof Person
449
+ */
450
+ id: string;
451
+ /**
452
+ *
453
+ * @type {string}
454
+ * @memberof Person
455
+ */
456
+ display?: string;
457
+ /**
458
+ *
459
+ * @type {string}
460
+ * @memberof Person
461
+ */
462
+ displayShort?: string;
463
+ /**
464
+ *
465
+ * @type {string}
466
+ * @memberof Person
467
+ */
468
+ email?: string;
469
+ /**
470
+ *
471
+ * @type {number}
472
+ * @memberof Person
473
+ */
474
+ avatar?: number;
475
+ /**
476
+ *
477
+ * @type {{ [key: string]: any; }}
478
+ * @memberof Person
479
+ */
480
+ details?: {
481
+ [key: string]: any;
482
+ };
483
+ }
484
+ /**
485
+ * Check if a given object implements the Person interface.
486
+ */
487
+ declare function instanceOfPerson(value: object): boolean;
488
+ declare function PersonFromJSON(json: any): Person;
489
+ declare function PersonFromJSONTyped(json: any, ignoreDiscriminator: boolean): Person;
490
+ declare function PersonToJSON(value?: Person | null): any;
491
+
492
+ /**
493
+ * gui
494
+ * Official GUI API
495
+ *
496
+ * The version of the OpenAPI document: 1.0
497
+ *
498
+ *
499
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
500
+ * https://openapi-generator.tech
501
+ * Do not edit the class manually.
502
+ */
503
+ /**
504
+ *
505
+ * @export
506
+ */
507
+ declare const UiUriType: {
508
+ readonly External: "EXTERNAL";
509
+ readonly WebpackMfReact: "WEBPACK_MF_REACT";
510
+ };
511
+ type UiUriType = typeof UiUriType[keyof typeof UiUriType];
512
+ declare function UiUriTypeFromJSON(json: any): UiUriType;
513
+ declare function UiUriTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiUriType;
514
+ declare function UiUriTypeToJSON(value?: UiUriType | null): any;
515
+
516
+ /**
517
+ * gui
518
+ * Official GUI API
519
+ *
520
+ * The version of the OpenAPI document: 1.0
521
+ *
522
+ *
523
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
524
+ * https://openapi-generator.tech
525
+ * Do not edit the class manually.
526
+ */
527
+
528
+ /**
529
+ *
530
+ * @export
531
+ * @interface UserSearchResult
532
+ */
533
+ interface UserSearchResult {
534
+ /**
535
+ *
536
+ * @type {Array<Person>}
537
+ * @memberof UserSearchResult
538
+ */
539
+ users?: Array<Person>;
540
+ }
541
+ /**
542
+ * Check if a given object implements the UserSearchResult interface.
543
+ */
544
+ declare function instanceOfUserSearchResult(value: object): boolean;
545
+ declare function UserSearchResultFromJSON(json: any): UserSearchResult;
546
+ declare function UserSearchResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserSearchResult;
547
+ declare function UserSearchResultToJSON(value?: UserSearchResult | null): any;
548
+
549
+ /**
550
+ * gui
551
+ * Official GUI API
552
+ *
553
+ * The version of the OpenAPI document: 1.0
554
+ *
555
+ *
556
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
557
+ * https://openapi-generator.tech
558
+ * Do not edit the class manually.
559
+ */
560
+
561
+ /**
562
+ *
563
+ * @export
564
+ * @interface UserTask
565
+ */
566
+ interface UserTask {
567
+ /**
568
+ * user task id
569
+ * @type {string}
570
+ * @memberof UserTask
571
+ */
572
+ id: string;
573
+ /**
574
+ * revision of the usertask record
575
+ * @type {number}
576
+ * @memberof UserTask
577
+ */
578
+ version?: number;
579
+ /**
580
+ * The user who triggered the update. Null if the update is done by the system.
581
+ * @type {string}
582
+ * @memberof UserTask
583
+ */
584
+ initiator?: string;
585
+ /**
586
+ * The time the task was created
587
+ * @type {Date}
588
+ * @memberof UserTask
589
+ */
590
+ createdAt: Date;
591
+ /**
592
+ * The time the task was updated
593
+ * @type {Date}
594
+ * @memberof UserTask
595
+ */
596
+ updatedAt: Date;
597
+ /**
598
+ * The time the task was ended
599
+ * @type {Date}
600
+ * @memberof UserTask
601
+ */
602
+ endedAt?: Date;
603
+ /**
604
+ * The workflow module of this usertask
605
+ * @type {string}
606
+ * @memberof UserTask
607
+ */
608
+ workflowModuleId: string;
609
+ /**
610
+ *
611
+ * @type {string}
612
+ * @memberof UserTask
613
+ */
614
+ comment?: string;
615
+ /**
616
+ * BPMN process ID
617
+ * @type {string}
618
+ * @memberof UserTask
619
+ */
620
+ bpmnProcessId: string;
621
+ /**
622
+ * Version of the BPMN process
623
+ * @type {string}
624
+ * @memberof UserTask
625
+ */
626
+ bpmnProcessVersion?: string;
627
+ /**
628
+ * BPMN process title
629
+ * @type {{ [key: string]: string; }}
630
+ * @memberof UserTask
631
+ */
632
+ workflowTitle?: {
633
+ [key: string]: string;
634
+ };
635
+ /**
636
+ * The unique key of the workflow
637
+ * @type {string}
638
+ * @memberof UserTask
639
+ */
640
+ workflowId?: string;
641
+ /**
642
+ * The natural ID of the workflow (e.g. order-id)
643
+ * @type {string}
644
+ * @memberof UserTask
645
+ */
646
+ businessId?: string;
647
+ /**
648
+ * The rendered title of the user-task (may contain specific data)
649
+ * @type {{ [key: string]: string; }}
650
+ * @memberof UserTask
651
+ */
652
+ title: {
653
+ [key: string]: string;
654
+ };
655
+ /**
656
+ * The BPMN user task's ID
657
+ * @type {string}
658
+ * @memberof UserTask
659
+ */
660
+ bpmnTaskId?: string;
661
+ /**
662
+ * The task's formkey
663
+ * @type {string}
664
+ * @memberof UserTask
665
+ */
666
+ taskDefinition: string;
667
+ /**
668
+ * The generic title of the user-task (must not contain specific data)
669
+ * @type {{ [key: string]: string; }}
670
+ * @memberof UserTask
671
+ */
672
+ taskDefinitionTitle?: {
673
+ [key: string]: string;
674
+ };
675
+ /**
676
+ * 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)
677
+ * @type {string}
678
+ * @memberof UserTask
679
+ */
680
+ uiUri: string;
681
+ /**
682
+ *
683
+ * @type {UiUriType}
684
+ * @memberof UserTask
685
+ */
686
+ uiUriType: UiUriType;
687
+ /**
688
+ * An URI pointing to the workflow-module's own API (maybe used by user-task forms)
689
+ * @type {string}
690
+ * @memberof UserTask
691
+ */
692
+ workflowModuleUri: string;
693
+ /**
694
+ *
695
+ * @type {Person}
696
+ * @memberof UserTask
697
+ */
698
+ assignee?: Person;
699
+ /**
700
+ *
701
+ * @type {Array<Person>}
702
+ * @memberof UserTask
703
+ */
704
+ candidateUsers?: Array<Person>;
705
+ /**
706
+ *
707
+ * @type {Array<Group>}
708
+ * @memberof UserTask
709
+ */
710
+ candidateGroups?: Array<Group>;
711
+ /**
712
+ *
713
+ * @type {Date}
714
+ * @memberof UserTask
715
+ */
716
+ dueDate?: Date;
717
+ /**
718
+ *
719
+ * @type {Date}
720
+ * @memberof UserTask
721
+ */
722
+ followUpDate?: Date;
723
+ /**
724
+ * Properties for individual searches
725
+ * @type {{ [key: string]: any; }}
726
+ * @memberof UserTask
727
+ */
728
+ details?: {
729
+ [key: string]: any;
730
+ };
731
+ /**
732
+ * List of words for fulltext searching details
733
+ * @type {string}
734
+ * @memberof UserTask
735
+ */
736
+ detailsFulltextSearch?: string;
737
+ /**
738
+ *
739
+ * @type {Date}
740
+ * @memberof UserTask
741
+ */
742
+ read?: Date;
743
+ }
744
+ /**
745
+ * Check if a given object implements the UserTask interface.
746
+ */
747
+ declare function instanceOfUserTask(value: object): boolean;
748
+ declare function UserTaskFromJSON(json: any): UserTask;
749
+ declare function UserTaskFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserTask;
750
+ declare function UserTaskToJSON(value?: UserTask | null): any;
751
+
752
+ /**
753
+ * gui
754
+ * Official GUI API
755
+ *
756
+ * The version of the OpenAPI document: 1.0
757
+ *
758
+ *
759
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
760
+ * https://openapi-generator.tech
761
+ * Do not edit the class manually.
762
+ */
763
+ /**
764
+ *
765
+ * @export
766
+ * @interface UserTaskEvent
767
+ */
768
+ interface UserTaskEvent {
769
+ /**
770
+ *
771
+ * @type {string}
772
+ * @memberof UserTaskEvent
773
+ */
774
+ type: string;
775
+ /**
776
+ *
777
+ * @type {string}
778
+ * @memberof UserTaskEvent
779
+ */
780
+ name: string;
781
+ /**
782
+ *
783
+ * @type {string}
784
+ * @memberof UserTaskEvent
785
+ */
786
+ id: string;
787
+ }
788
+ /**
789
+ * Check if a given object implements the UserTaskEvent interface.
790
+ */
791
+ declare function instanceOfUserTaskEvent(value: object): boolean;
792
+ declare function UserTaskEventFromJSON(json: any): UserTaskEvent;
793
+ declare function UserTaskEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserTaskEvent;
794
+ declare function UserTaskEventToJSON(value?: UserTaskEvent | null): any;
795
+
796
+ /**
797
+ * gui
798
+ * Official GUI API
799
+ *
800
+ * The version of the OpenAPI document: 1.0
801
+ *
802
+ *
803
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
804
+ * https://openapi-generator.tech
805
+ * Do not edit the class manually.
806
+ */
807
+ /**
808
+ *
809
+ * @export
810
+ * @interface UserTaskIds
811
+ */
812
+ interface UserTaskIds {
813
+ /**
814
+ *
815
+ * @type {Array<string>}
816
+ * @memberof UserTaskIds
817
+ */
818
+ userTaskIds?: Array<string>;
819
+ }
820
+ /**
821
+ * Check if a given object implements the UserTaskIds interface.
822
+ */
823
+ declare function instanceOfUserTaskIds(value: object): boolean;
824
+ declare function UserTaskIdsFromJSON(json: any): UserTaskIds;
825
+ declare function UserTaskIdsFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserTaskIds;
826
+ declare function UserTaskIdsToJSON(value?: UserTaskIds | null): any;
827
+
828
+ /**
829
+ * gui
830
+ * Official GUI API
831
+ *
832
+ * The version of the OpenAPI document: 1.0
833
+ *
834
+ *
835
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
836
+ * https://openapi-generator.tech
837
+ * Do not edit the class manually.
838
+ */
839
+ /**
840
+ *
841
+ * @export
842
+ */
843
+ declare const UserTaskRetrieveMode: {
844
+ readonly All: "All";
845
+ readonly OpenTasks: "OpenTasks";
846
+ readonly OpenTasksWithoutFollowUp: "OpenTasksWithoutFollowUp";
847
+ readonly OpenTasksWithFollowUp: "OpenTasksWithFollowUp";
848
+ readonly ClosedTasksOnly: "ClosedTasksOnly";
849
+ };
850
+ type UserTaskRetrieveMode = typeof UserTaskRetrieveMode[keyof typeof UserTaskRetrieveMode];
851
+ declare function UserTaskRetrieveModeFromJSON(json: any): UserTaskRetrieveMode;
852
+ declare function UserTaskRetrieveModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserTaskRetrieveMode;
853
+ declare function UserTaskRetrieveModeToJSON(value?: UserTaskRetrieveMode | null): any;
854
+
855
+ /**
856
+ * gui
857
+ * Official GUI API
858
+ *
859
+ * The version of the OpenAPI document: 1.0
860
+ *
861
+ *
862
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
863
+ * https://openapi-generator.tech
864
+ * Do not edit the class manually.
865
+ */
866
+
867
+ /**
868
+ *
869
+ * @export
870
+ * @interface UserTasks
871
+ */
872
+ interface UserTasks {
873
+ /**
874
+ *
875
+ * @type {Date}
876
+ * @memberof UserTasks
877
+ */
878
+ serverTimestamp: Date;
879
+ /**
880
+ *
881
+ * @type {Page}
882
+ * @memberof UserTasks
883
+ */
884
+ page: Page;
885
+ /**
886
+ *
887
+ * @type {Array<UserTask>}
888
+ * @memberof UserTasks
889
+ */
890
+ userTasks: Array<UserTask>;
891
+ }
892
+ /**
893
+ * Check if a given object implements the UserTasks interface.
894
+ */
895
+ declare function instanceOfUserTasks(value: object): boolean;
896
+ declare function UserTasksFromJSON(json: any): UserTasks;
897
+ declare function UserTasksFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserTasks;
898
+ declare function UserTasksToJSON(value?: UserTasks | null): any;
899
+
900
+ /**
901
+ * gui
902
+ * Official GUI API
903
+ *
904
+ * The version of the OpenAPI document: 1.0
905
+ *
906
+ *
907
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
908
+ * https://openapi-generator.tech
909
+ * Do not edit the class manually.
910
+ */
911
+
912
+ /**
913
+ *
914
+ * @export
915
+ * @interface UserTasksRequest
916
+ */
917
+ interface UserTasksRequest {
918
+ /**
919
+ *
920
+ * @type {number}
921
+ * @memberof UserTasksRequest
922
+ */
923
+ pageNumber?: number;
924
+ /**
925
+ *
926
+ * @type {number}
927
+ * @memberof UserTasksRequest
928
+ */
929
+ pageSize?: number;
930
+ /**
931
+ *
932
+ * @type {string}
933
+ * @memberof UserTasksRequest
934
+ */
935
+ query?: string;
936
+ /**
937
+ *
938
+ * @type {Array<SearchQuery>}
939
+ * @memberof UserTasksRequest
940
+ */
941
+ searchQueries?: Array<SearchQuery>;
942
+ /**
943
+ *
944
+ * @type {string}
945
+ * @memberof UserTasksRequest
946
+ */
947
+ sort?: string;
948
+ /**
949
+ *
950
+ * @type {boolean}
951
+ * @memberof UserTasksRequest
952
+ */
953
+ sortAscending?: boolean;
954
+ /**
955
+ *
956
+ * @type {UserTaskRetrieveMode}
957
+ * @memberof UserTasksRequest
958
+ */
959
+ mode?: UserTaskRetrieveMode;
960
+ }
961
+ /**
962
+ * Check if a given object implements the UserTasksRequest interface.
963
+ */
964
+ declare function instanceOfUserTasksRequest(value: object): boolean;
965
+ declare function UserTasksRequestFromJSON(json: any): UserTasksRequest;
966
+ declare function UserTasksRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserTasksRequest;
967
+ declare function UserTasksRequestToJSON(value?: UserTasksRequest | null): any;
968
+
969
+ /**
970
+ * gui
971
+ * Official GUI API
972
+ *
973
+ * The version of the OpenAPI document: 1.0
974
+ *
975
+ *
976
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
977
+ * https://openapi-generator.tech
978
+ * Do not edit the class manually.
979
+ */
980
+
981
+ /**
982
+ *
983
+ * @export
984
+ * @interface UserTasksUpdateRequest
985
+ */
986
+ interface UserTasksUpdateRequest {
987
+ /**
988
+ *
989
+ * @type {number}
990
+ * @memberof UserTasksUpdateRequest
991
+ */
992
+ size: number;
993
+ /**
994
+ *
995
+ * @type {string}
996
+ * @memberof UserTasksUpdateRequest
997
+ */
998
+ query?: string;
999
+ /**
1000
+ *
1001
+ * @type {Array<SearchQuery>}
1002
+ * @memberof UserTasksUpdateRequest
1003
+ */
1004
+ searchQueries?: Array<SearchQuery>;
1005
+ /**
1006
+ *
1007
+ * @type {string}
1008
+ * @memberof UserTasksUpdateRequest
1009
+ */
1010
+ sort?: string;
1011
+ /**
1012
+ *
1013
+ * @type {boolean}
1014
+ * @memberof UserTasksUpdateRequest
1015
+ */
1016
+ sortAscending?: boolean;
1017
+ /**
1018
+ *
1019
+ * @type {Array<string>}
1020
+ * @memberof UserTasksUpdateRequest
1021
+ */
1022
+ knownUserTasksIds: Array<string>;
1023
+ }
1024
+ /**
1025
+ * Check if a given object implements the UserTasksUpdateRequest interface.
1026
+ */
1027
+ declare function instanceOfUserTasksUpdateRequest(value: object): boolean;
1028
+ declare function UserTasksUpdateRequestFromJSON(json: any): UserTasksUpdateRequest;
1029
+ declare function UserTasksUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserTasksUpdateRequest;
1030
+ declare function UserTasksUpdateRequestToJSON(value?: UserTasksUpdateRequest | null): any;
1031
+
1032
+ /**
1033
+ * gui
1034
+ * Official GUI API
1035
+ *
1036
+ * The version of the OpenAPI document: 1.0
1037
+ *
1038
+ *
1039
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1040
+ * https://openapi-generator.tech
1041
+ * Do not edit the class manually.
1042
+ */
1043
+
1044
+ /**
1045
+ *
1046
+ * @export
1047
+ * @interface Workflow
1048
+ */
1049
+ interface Workflow {
1050
+ /**
1051
+ * workflow id
1052
+ * @type {string}
1053
+ * @memberof Workflow
1054
+ */
1055
+ id: string;
1056
+ /**
1057
+ * revision of the usertask record
1058
+ * @type {number}
1059
+ * @memberof Workflow
1060
+ */
1061
+ version?: number;
1062
+ /**
1063
+ *
1064
+ * @type {Person}
1065
+ * @memberof Workflow
1066
+ */
1067
+ initiator?: Person;
1068
+ /**
1069
+ * The time the task was created
1070
+ * @type {Date}
1071
+ * @memberof Workflow
1072
+ */
1073
+ createdAt: Date;
1074
+ /**
1075
+ * The time the task was updated
1076
+ * @type {Date}
1077
+ * @memberof Workflow
1078
+ */
1079
+ updatedAt: Date;
1080
+ /**
1081
+ * The time the task was ended
1082
+ * @type {Date}
1083
+ * @memberof Workflow
1084
+ */
1085
+ endedAt?: Date;
1086
+ /**
1087
+ * The workflow module of this usertask
1088
+ * @type {string}
1089
+ * @memberof Workflow
1090
+ */
1091
+ workflowModuleId: string;
1092
+ /**
1093
+ *
1094
+ * @type {string}
1095
+ * @memberof Workflow
1096
+ */
1097
+ comment?: string;
1098
+ /**
1099
+ * BPMN process ID
1100
+ * @type {string}
1101
+ * @memberof Workflow
1102
+ */
1103
+ bpmnProcessId: string;
1104
+ /**
1105
+ * Version of the BPMN process and tag
1106
+ * @type {string}
1107
+ * @memberof Workflow
1108
+ */
1109
+ bpmnProcessVersion?: string;
1110
+ /**
1111
+ * The natural ID of the workflow (e.g. order-id)
1112
+ * @type {string}
1113
+ * @memberof Workflow
1114
+ */
1115
+ businessId?: string;
1116
+ /**
1117
+ * The rendered title of the user-task (may contain specific data)
1118
+ * @type {{ [key: string]: string; }}
1119
+ * @memberof Workflow
1120
+ */
1121
+ title: {
1122
+ [key: string]: string;
1123
+ };
1124
+ /**
1125
+ * 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)
1126
+ * @type {string}
1127
+ * @memberof Workflow
1128
+ */
1129
+ uiUri: string;
1130
+ /**
1131
+ *
1132
+ * @type {UiUriType}
1133
+ * @memberof Workflow
1134
+ */
1135
+ uiUriType: UiUriType;
1136
+ /**
1137
+ * An URI pointing to the workflow-modules's own API (maybe used by workflow pages)
1138
+ * @type {string}
1139
+ * @memberof Workflow
1140
+ */
1141
+ workflowModuleUri: string;
1142
+ /**
1143
+ *
1144
+ * @type {Array<Person>}
1145
+ * @memberof Workflow
1146
+ */
1147
+ accessibleToUsers?: Array<Person>;
1148
+ /**
1149
+ *
1150
+ * @type {Array<Group>}
1151
+ * @memberof Workflow
1152
+ */
1153
+ accessibleToGroups?: Array<Group>;
1154
+ /**
1155
+ * Properties for individual searches
1156
+ * @type {{ [key: string]: any; }}
1157
+ * @memberof Workflow
1158
+ */
1159
+ details?: {
1160
+ [key: string]: any;
1161
+ };
1162
+ /**
1163
+ * List of words for fulltext searching details
1164
+ * @type {string}
1165
+ * @memberof Workflow
1166
+ */
1167
+ detailsFulltextSearch?: string;
1168
+ }
1169
+ /**
1170
+ * Check if a given object implements the Workflow interface.
1171
+ */
1172
+ declare function instanceOfWorkflow(value: object): boolean;
1173
+ declare function WorkflowFromJSON(json: any): Workflow;
1174
+ declare function WorkflowFromJSONTyped(json: any, ignoreDiscriminator: boolean): Workflow;
1175
+ declare function WorkflowToJSON(value?: Workflow | null): any;
1176
+
1177
+ /**
1178
+ * gui
1179
+ * Official GUI API
1180
+ *
1181
+ * The version of the OpenAPI document: 1.0
1182
+ *
1183
+ *
1184
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1185
+ * https://openapi-generator.tech
1186
+ * Do not edit the class manually.
1187
+ */
1188
+ /**
1189
+ *
1190
+ * @export
1191
+ * @interface WorkflowEvent
1192
+ */
1193
+ interface WorkflowEvent {
1194
+ /**
1195
+ *
1196
+ * @type {string}
1197
+ * @memberof WorkflowEvent
1198
+ */
1199
+ type: string;
1200
+ /**
1201
+ *
1202
+ * @type {string}
1203
+ * @memberof WorkflowEvent
1204
+ */
1205
+ name: string;
1206
+ /**
1207
+ *
1208
+ * @type {string}
1209
+ * @memberof WorkflowEvent
1210
+ */
1211
+ id: string;
1212
+ }
1213
+ /**
1214
+ * Check if a given object implements the WorkflowEvent interface.
1215
+ */
1216
+ declare function instanceOfWorkflowEvent(value: object): boolean;
1217
+ declare function WorkflowEventFromJSON(json: any): WorkflowEvent;
1218
+ declare function WorkflowEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowEvent;
1219
+ declare function WorkflowEventToJSON(value?: WorkflowEvent | null): any;
1220
+
1221
+ /**
1222
+ * gui
1223
+ * Official GUI API
1224
+ *
1225
+ * The version of the OpenAPI document: 1.0
1226
+ *
1227
+ *
1228
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1229
+ * https://openapi-generator.tech
1230
+ * Do not edit the class manually.
1231
+ */
1232
+ /**
1233
+ *
1234
+ * @export
1235
+ * @interface WorkflowModule
1236
+ */
1237
+ interface WorkflowModule {
1238
+ /**
1239
+ *
1240
+ * @type {string}
1241
+ * @memberof WorkflowModule
1242
+ */
1243
+ id: string;
1244
+ /**
1245
+ *
1246
+ * @type {number}
1247
+ * @memberof WorkflowModule
1248
+ */
1249
+ version: number;
1250
+ /**
1251
+ *
1252
+ * @type {string}
1253
+ * @memberof WorkflowModule
1254
+ */
1255
+ uri: string;
1256
+ }
1257
+ /**
1258
+ * Check if a given object implements the WorkflowModule interface.
1259
+ */
1260
+ declare function instanceOfWorkflowModule(value: object): boolean;
1261
+ declare function WorkflowModuleFromJSON(json: any): WorkflowModule;
1262
+ declare function WorkflowModuleFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowModule;
1263
+ declare function WorkflowModuleToJSON(value?: WorkflowModule | null): any;
1264
+
1265
+ /**
1266
+ * gui
1267
+ * Official GUI API
1268
+ *
1269
+ * The version of the OpenAPI document: 1.0
1270
+ *
1271
+ *
1272
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1273
+ * https://openapi-generator.tech
1274
+ * Do not edit the class manually.
1275
+ */
1276
+
1277
+ /**
1278
+ *
1279
+ * @export
1280
+ * @interface WorkflowModules
1281
+ */
1282
+ interface WorkflowModules {
1283
+ /**
1284
+ *
1285
+ * @type {Array<WorkflowModule>}
1286
+ * @memberof WorkflowModules
1287
+ */
1288
+ modules: Array<WorkflowModule>;
1289
+ }
1290
+ /**
1291
+ * Check if a given object implements the WorkflowModules interface.
1292
+ */
1293
+ declare function instanceOfWorkflowModules(value: object): boolean;
1294
+ declare function WorkflowModulesFromJSON(json: any): WorkflowModules;
1295
+ declare function WorkflowModulesFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowModules;
1296
+ declare function WorkflowModulesToJSON(value?: WorkflowModules | null): any;
1297
+
1298
+ /**
1299
+ * gui
1300
+ * Official GUI API
1301
+ *
1302
+ * The version of the OpenAPI document: 1.0
1303
+ *
1304
+ *
1305
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1306
+ * https://openapi-generator.tech
1307
+ * Do not edit the class manually.
1308
+ */
1309
+
1310
+ /**
1311
+ *
1312
+ * @export
1313
+ * @interface Workflows
1314
+ */
1315
+ interface Workflows {
1316
+ /**
1317
+ *
1318
+ * @type {string}
1319
+ * @memberof Workflows
1320
+ */
1321
+ requestId?: string;
1322
+ /**
1323
+ *
1324
+ * @type {Date}
1325
+ * @memberof Workflows
1326
+ */
1327
+ serverTimestamp: Date;
1328
+ /**
1329
+ *
1330
+ * @type {Page}
1331
+ * @memberof Workflows
1332
+ */
1333
+ page: Page;
1334
+ /**
1335
+ *
1336
+ * @type {Array<Workflow>}
1337
+ * @memberof Workflows
1338
+ */
1339
+ workflows: Array<Workflow>;
1340
+ }
1341
+ /**
1342
+ * Check if a given object implements the Workflows interface.
1343
+ */
1344
+ declare function instanceOfWorkflows(value: object): boolean;
1345
+ declare function WorkflowsFromJSON(json: any): Workflows;
1346
+ declare function WorkflowsFromJSONTyped(json: any, ignoreDiscriminator: boolean): Workflows;
1347
+ declare function WorkflowsToJSON(value?: Workflows | null): any;
1348
+
1349
+ /**
1350
+ * gui
1351
+ * Official GUI API
1352
+ *
1353
+ * The version of the OpenAPI document: 1.0
1354
+ *
1355
+ *
1356
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1357
+ * https://openapi-generator.tech
1358
+ * Do not edit the class manually.
1359
+ */
1360
+
1361
+ /**
1362
+ *
1363
+ * @export
1364
+ * @interface WorkflowsRequest
1365
+ */
1366
+ interface WorkflowsRequest {
1367
+ /**
1368
+ *
1369
+ * @type {number}
1370
+ * @memberof WorkflowsRequest
1371
+ */
1372
+ pageNumber?: number;
1373
+ /**
1374
+ *
1375
+ * @type {number}
1376
+ * @memberof WorkflowsRequest
1377
+ */
1378
+ pageSize?: number;
1379
+ /**
1380
+ *
1381
+ * @type {Array<SearchQuery>}
1382
+ * @memberof WorkflowsRequest
1383
+ */
1384
+ searchQueries?: Array<SearchQuery>;
1385
+ /**
1386
+ * Filters the response to include only entries associated with the specified business IDs
1387
+ * @type {Array<string>}
1388
+ * @memberof WorkflowsRequest
1389
+ */
1390
+ businessIds?: Array<string>;
1391
+ /**
1392
+ *
1393
+ * @type {string}
1394
+ * @memberof WorkflowsRequest
1395
+ */
1396
+ sort?: string;
1397
+ /**
1398
+ *
1399
+ * @type {boolean}
1400
+ * @memberof WorkflowsRequest
1401
+ */
1402
+ sortAscending?: boolean;
1403
+ }
1404
+ /**
1405
+ * Check if a given object implements the WorkflowsRequest interface.
1406
+ */
1407
+ declare function instanceOfWorkflowsRequest(value: object): boolean;
1408
+ declare function WorkflowsRequestFromJSON(json: any): WorkflowsRequest;
1409
+ declare function WorkflowsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowsRequest;
1410
+ declare function WorkflowsRequestToJSON(value?: WorkflowsRequest | null): any;
1411
+
1412
+ /**
1413
+ * gui
1414
+ * Official GUI API
1415
+ *
1416
+ * The version of the OpenAPI document: 1.0
1417
+ *
1418
+ *
1419
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1420
+ * https://openapi-generator.tech
1421
+ * Do not edit the class manually.
1422
+ */
1423
+
1424
+ /**
1425
+ *
1426
+ * @export
1427
+ * @interface WorkflowsUpdateRequest
1428
+ */
1429
+ interface WorkflowsUpdateRequest {
1430
+ /**
1431
+ *
1432
+ * @type {number}
1433
+ * @memberof WorkflowsUpdateRequest
1434
+ */
1435
+ size: number;
1436
+ /**
1437
+ *
1438
+ * @type {Array<string>}
1439
+ * @memberof WorkflowsUpdateRequest
1440
+ */
1441
+ knownWorkflowsIds: Array<string>;
1442
+ /**
1443
+ *
1444
+ * @type {Array<SearchQuery>}
1445
+ * @memberof WorkflowsUpdateRequest
1446
+ */
1447
+ searchQueries?: Array<SearchQuery>;
1448
+ /**
1449
+ *
1450
+ * @type {string}
1451
+ * @memberof WorkflowsUpdateRequest
1452
+ */
1453
+ sort?: string;
1454
+ /**
1455
+ *
1456
+ * @type {boolean}
1457
+ * @memberof WorkflowsUpdateRequest
1458
+ */
1459
+ sortAscending?: boolean;
1460
+ }
1461
+ /**
1462
+ * Check if a given object implements the WorkflowsUpdateRequest interface.
1463
+ */
1464
+ declare function instanceOfWorkflowsUpdateRequest(value: object): boolean;
1465
+ declare function WorkflowsUpdateRequestFromJSON(json: any): WorkflowsUpdateRequest;
1466
+ declare function WorkflowsUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowsUpdateRequest;
1467
+ declare function WorkflowsUpdateRequestToJSON(value?: WorkflowsUpdateRequest | null): any;
1468
+
1469
+ /**
1470
+ * gui
1471
+ * Official GUI API
1472
+ *
1473
+ * The version of the OpenAPI document: 1.0
1474
+ *
1475
+ *
1476
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1477
+ * https://openapi-generator.tech
1478
+ * Do not edit the class manually.
1479
+ */
1480
+
1481
+ interface AssignTaskRequest {
1482
+ userTaskId: string;
1483
+ unassign?: boolean;
1484
+ userId?: string;
1485
+ }
1486
+ interface AssignTasksRequest {
1487
+ userTaskIds: UserTaskIds;
1488
+ unassign?: boolean;
1489
+ userId?: string;
1490
+ }
1491
+ interface ClaimTaskRequest {
1492
+ userTaskId: string;
1493
+ unclaim?: boolean;
1494
+ }
1495
+ interface ClaimTasksRequest {
1496
+ userTaskIds: UserTaskIds;
1497
+ unclaim?: boolean;
1498
+ }
1499
+ interface FindUsersRequest {
1500
+ query?: string;
1501
+ limit?: number;
1502
+ }
1503
+ interface GetUserTaskRequest {
1504
+ userTaskId: string;
1505
+ markAsRead?: boolean;
1506
+ }
1507
+ interface GetUserTaskKwicResultsRequest {
1508
+ kwicRequest: KwicRequest;
1509
+ initialTimestamp?: Date;
1510
+ path?: string;
1511
+ query?: string;
1512
+ }
1513
+ interface GetUserTasksRequest {
1514
+ userTasksRequest: UserTasksRequest;
1515
+ initialTimestamp?: Date;
1516
+ }
1517
+ interface GetUserTasksUpdateRequest {
1518
+ userTasksUpdateRequest: UserTasksUpdateRequest;
1519
+ initialTimestamp?: Date;
1520
+ }
1521
+ interface MarkTaskAsReadRequest {
1522
+ userTaskId: string;
1523
+ unread?: boolean;
1524
+ }
1525
+ interface MarkTasksAsReadRequest {
1526
+ userTaskIds: UserTaskIds;
1527
+ unread?: boolean;
1528
+ }
1529
+ /**
1530
+ * OfficialTasklistApi - interface
1531
+ *
1532
+ * @export
1533
+ * @interface OfficialTasklistApiInterface
1534
+ */
1535
+ interface OfficialTasklistApiInterface {
1536
+ /**
1537
+ *
1538
+ * @summary assign or unassign a task to a user
1539
+ * @param {string} userTaskId
1540
+ * @param {boolean} [unassign]
1541
+ * @param {string} [userId]
1542
+ * @param {*} [options] Override http request option.
1543
+ * @throws {RequiredError}
1544
+ * @memberof OfficialTasklistApiInterface
1545
+ */
1546
+ assignTaskRaw(requestParameters: AssignTaskRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<void>>;
1547
+ /**
1548
+ * assign or unassign a task to a user
1549
+ */
1550
+ assignTask(requestParameters: AssignTaskRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<void>;
1551
+ /**
1552
+ *
1553
+ * @summary assign or unassign tasks to a user
1554
+ * @param {UserTaskIds} userTaskIds
1555
+ * @param {boolean} [unassign]
1556
+ * @param {string} [userId]
1557
+ * @param {*} [options] Override http request option.
1558
+ * @throws {RequiredError}
1559
+ * @memberof OfficialTasklistApiInterface
1560
+ */
1561
+ assignTasksRaw(requestParameters: AssignTasksRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<void>>;
1562
+ /**
1563
+ * assign or unassign tasks to a user
1564
+ */
1565
+ assignTasks(requestParameters: AssignTasksRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<void>;
1566
+ /**
1567
+ *
1568
+ * @summary claim or unclaim a task to the current user
1569
+ * @param {string} userTaskId
1570
+ * @param {boolean} [unclaim]
1571
+ * @param {*} [options] Override http request option.
1572
+ * @throws {RequiredError}
1573
+ * @memberof OfficialTasklistApiInterface
1574
+ */
1575
+ claimTaskRaw(requestParameters: ClaimTaskRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<void>>;
1576
+ /**
1577
+ * claim or unclaim a task to the current user
1578
+ */
1579
+ claimTask(requestParameters: ClaimTaskRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<void>;
1580
+ /**
1581
+ *
1582
+ * @summary claim or unclaim tasks to the current user
1583
+ * @param {UserTaskIds} userTaskIds
1584
+ * @param {boolean} [unclaim]
1585
+ * @param {*} [options] Override http request option.
1586
+ * @throws {RequiredError}
1587
+ * @memberof OfficialTasklistApiInterface
1588
+ */
1589
+ claimTasksRaw(requestParameters: ClaimTasksRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<void>>;
1590
+ /**
1591
+ * claim or unclaim tasks to the current user
1592
+ */
1593
+ claimTasks(requestParameters: ClaimTasksRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<void>;
1594
+ /**
1595
+ *
1596
+ * @summary Find users
1597
+ * @param {string} [query]
1598
+ * @param {number} [limit]
1599
+ * @param {*} [options] Override http request option.
1600
+ * @throws {RequiredError}
1601
+ * @memberof OfficialTasklistApiInterface
1602
+ */
1603
+ findUsersRaw(requestParameters: FindUsersRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<UserSearchResult>>;
1604
+ /**
1605
+ * Find users
1606
+ */
1607
+ findUsers(requestParameters: FindUsersRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<UserSearchResult>;
1608
+ /**
1609
+ *
1610
+ * @summary Fetch data of one single User task
1611
+ * @param {string} userTaskId
1612
+ * @param {boolean} [markAsRead]
1613
+ * @param {*} [options] Override http request option.
1614
+ * @throws {RequiredError}
1615
+ * @memberof OfficialTasklistApiInterface
1616
+ */
1617
+ getUserTaskRaw(requestParameters: GetUserTaskRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<UserTask>>;
1618
+ /**
1619
+ * Fetch data of one single User task
1620
+ */
1621
+ getUserTask(requestParameters: GetUserTaskRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<UserTask>;
1622
+ /**
1623
+ *
1624
+ * @summary Kwic results over user tasks
1625
+ * @param {KwicRequest} kwicRequest
1626
+ * @param {Date} [initialTimestamp]
1627
+ * @param {string} [path]
1628
+ * @param {string} [query]
1629
+ * @param {*} [options] Override http request option.
1630
+ * @throws {RequiredError}
1631
+ * @memberof OfficialTasklistApiInterface
1632
+ */
1633
+ getUserTaskKwicResultsRaw(requestParameters: GetUserTaskKwicResultsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<KwicResults>>;
1634
+ /**
1635
+ * Kwic results over user tasks
1636
+ */
1637
+ getUserTaskKwicResults(requestParameters: GetUserTaskKwicResultsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<KwicResults>;
1638
+ /**
1639
+ *
1640
+ * @summary User tasks to be shown in a list view
1641
+ * @param {UserTasksRequest} userTasksRequest
1642
+ * @param {Date} [initialTimestamp]
1643
+ * @param {*} [options] Override http request option.
1644
+ * @throws {RequiredError}
1645
+ * @memberof OfficialTasklistApiInterface
1646
+ */
1647
+ getUserTasksRaw(requestParameters: GetUserTasksRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<UserTasks>>;
1648
+ /**
1649
+ * User tasks to be shown in a list view
1650
+ */
1651
+ getUserTasks(requestParameters: GetUserTasksRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<UserTasks>;
1652
+ /**
1653
+ *
1654
+ * @summary Updated list of usertasks
1655
+ * @param {UserTasksUpdateRequest} userTasksUpdateRequest
1656
+ * @param {Date} [initialTimestamp]
1657
+ * @param {*} [options] Override http request option.
1658
+ * @throws {RequiredError}
1659
+ * @memberof OfficialTasklistApiInterface
1660
+ */
1661
+ getUserTasksUpdateRaw(requestParameters: GetUserTasksUpdateRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<UserTasks>>;
1662
+ /**
1663
+ * Updated list of usertasks
1664
+ */
1665
+ getUserTasksUpdate(requestParameters: GetUserTasksUpdateRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<UserTasks>;
1666
+ /**
1667
+ *
1668
+ * @summary mark a task as read or unread
1669
+ * @param {string} userTaskId
1670
+ * @param {boolean} [unread]
1671
+ * @param {*} [options] Override http request option.
1672
+ * @throws {RequiredError}
1673
+ * @memberof OfficialTasklistApiInterface
1674
+ */
1675
+ markTaskAsReadRaw(requestParameters: MarkTaskAsReadRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<void>>;
1676
+ /**
1677
+ * mark a task as read or unread
1678
+ */
1679
+ markTaskAsRead(requestParameters: MarkTaskAsReadRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<void>;
1680
+ /**
1681
+ *
1682
+ * @summary mark tasks as read or unread
1683
+ * @param {UserTaskIds} userTaskIds
1684
+ * @param {boolean} [unread]
1685
+ * @param {*} [options] Override http request option.
1686
+ * @throws {RequiredError}
1687
+ * @memberof OfficialTasklistApiInterface
1688
+ */
1689
+ markTasksAsReadRaw(requestParameters: MarkTasksAsReadRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<void>>;
1690
+ /**
1691
+ * mark tasks as read or unread
1692
+ */
1693
+ markTasksAsRead(requestParameters: MarkTasksAsReadRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<void>;
1694
+ }
1695
+ /**
1696
+ *
1697
+ */
1698
+ declare class OfficialTasklistApi extends BaseAPI implements OfficialTasklistApiInterface {
1699
+ /**
1700
+ * assign or unassign a task to a user
1701
+ */
1702
+ assignTaskRaw(requestParameters: AssignTaskRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<void>>;
1703
+ /**
1704
+ * assign or unassign a task to a user
1705
+ */
1706
+ assignTask(requestParameters: AssignTaskRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<void>;
1707
+ /**
1708
+ * assign or unassign tasks to a user
1709
+ */
1710
+ assignTasksRaw(requestParameters: AssignTasksRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<void>>;
1711
+ /**
1712
+ * assign or unassign tasks to a user
1713
+ */
1714
+ assignTasks(requestParameters: AssignTasksRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<void>;
1715
+ /**
1716
+ * claim or unclaim a task to the current user
1717
+ */
1718
+ claimTaskRaw(requestParameters: ClaimTaskRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<void>>;
1719
+ /**
1720
+ * claim or unclaim a task to the current user
1721
+ */
1722
+ claimTask(requestParameters: ClaimTaskRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<void>;
1723
+ /**
1724
+ * claim or unclaim tasks to the current user
1725
+ */
1726
+ claimTasksRaw(requestParameters: ClaimTasksRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<void>>;
1727
+ /**
1728
+ * claim or unclaim tasks to the current user
1729
+ */
1730
+ claimTasks(requestParameters: ClaimTasksRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<void>;
1731
+ /**
1732
+ * Find users
1733
+ */
1734
+ findUsersRaw(requestParameters: FindUsersRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<UserSearchResult>>;
1735
+ /**
1736
+ * Find users
1737
+ */
1738
+ findUsers(requestParameters?: FindUsersRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<UserSearchResult>;
1739
+ /**
1740
+ * Fetch data of one single User task
1741
+ */
1742
+ getUserTaskRaw(requestParameters: GetUserTaskRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<UserTask>>;
1743
+ /**
1744
+ * Fetch data of one single User task
1745
+ */
1746
+ getUserTask(requestParameters: GetUserTaskRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<UserTask>;
1747
+ /**
1748
+ * Kwic results over user tasks
1749
+ */
1750
+ getUserTaskKwicResultsRaw(requestParameters: GetUserTaskKwicResultsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<KwicResults>>;
1751
+ /**
1752
+ * Kwic results over user tasks
1753
+ */
1754
+ getUserTaskKwicResults(requestParameters: GetUserTaskKwicResultsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<KwicResults>;
1755
+ /**
1756
+ * User tasks to be shown in a list view
1757
+ */
1758
+ getUserTasksRaw(requestParameters: GetUserTasksRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<UserTasks>>;
1759
+ /**
1760
+ * User tasks to be shown in a list view
1761
+ */
1762
+ getUserTasks(requestParameters: GetUserTasksRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<UserTasks>;
1763
+ /**
1764
+ * Updated list of usertasks
1765
+ */
1766
+ getUserTasksUpdateRaw(requestParameters: GetUserTasksUpdateRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<UserTasks>>;
1767
+ /**
1768
+ * Updated list of usertasks
1769
+ */
1770
+ getUserTasksUpdate(requestParameters: GetUserTasksUpdateRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<UserTasks>;
1771
+ /**
1772
+ * mark a task as read or unread
1773
+ */
1774
+ markTaskAsReadRaw(requestParameters: MarkTaskAsReadRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<void>>;
1775
+ /**
1776
+ * mark a task as read or unread
1777
+ */
1778
+ markTaskAsRead(requestParameters: MarkTaskAsReadRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<void>;
1779
+ /**
1780
+ * mark tasks as read or unread
1781
+ */
1782
+ markTasksAsReadRaw(requestParameters: MarkTasksAsReadRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<void>>;
1783
+ /**
1784
+ * mark tasks as read or unread
1785
+ */
1786
+ markTasksAsRead(requestParameters: MarkTasksAsReadRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<void>;
1787
+ }
1788
+
1789
+ /**
1790
+ * gui
1791
+ * Official GUI API
1792
+ *
1793
+ * The version of the OpenAPI document: 1.0
1794
+ *
1795
+ *
1796
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1797
+ * https://openapi-generator.tech
1798
+ * Do not edit the class manually.
1799
+ */
1800
+
1801
+ interface GetWorkflowModuleRequest {
1802
+ workflowModuleId: string;
1803
+ }
1804
+ /**
1805
+ * OfficialWorkflowModulesApi - interface
1806
+ *
1807
+ * @export
1808
+ * @interface OfficialWorkflowModulesApiInterface
1809
+ */
1810
+ interface OfficialWorkflowModulesApiInterface {
1811
+ /**
1812
+ *
1813
+ * @summary Fetch permitted workflow module
1814
+ * @param {string} workflowModuleId
1815
+ * @param {*} [options] Override http request option.
1816
+ * @throws {RequiredError}
1817
+ * @memberof OfficialWorkflowModulesApiInterface
1818
+ */
1819
+ getWorkflowModuleRaw(requestParameters: GetWorkflowModuleRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<WorkflowModule>>;
1820
+ /**
1821
+ * Fetch permitted workflow module
1822
+ */
1823
+ getWorkflowModule(requestParameters: GetWorkflowModuleRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<WorkflowModule>;
1824
+ /**
1825
+ *
1826
+ * @summary Fetch permitted workflow modules
1827
+ * @param {*} [options] Override http request option.
1828
+ * @throws {RequiredError}
1829
+ * @memberof OfficialWorkflowModulesApiInterface
1830
+ */
1831
+ getWorkflowModulesRaw(initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<WorkflowModules>>;
1832
+ /**
1833
+ * Fetch permitted workflow modules
1834
+ */
1835
+ getWorkflowModules(initOverrides?: RequestInit | InitOverrideFunction): Promise<WorkflowModules>;
1836
+ }
1837
+ /**
1838
+ *
1839
+ */
1840
+ declare class OfficialWorkflowModulesApi extends BaseAPI implements OfficialWorkflowModulesApiInterface {
1841
+ /**
1842
+ * Fetch permitted workflow module
1843
+ */
1844
+ getWorkflowModuleRaw(requestParameters: GetWorkflowModuleRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<WorkflowModule>>;
1845
+ /**
1846
+ * Fetch permitted workflow module
1847
+ */
1848
+ getWorkflowModule(requestParameters: GetWorkflowModuleRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<WorkflowModule>;
1849
+ /**
1850
+ * Fetch permitted workflow modules
1851
+ */
1852
+ getWorkflowModulesRaw(initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<WorkflowModules>>;
1853
+ /**
1854
+ * Fetch permitted workflow modules
1855
+ */
1856
+ getWorkflowModules(initOverrides?: RequestInit | InitOverrideFunction): Promise<WorkflowModules>;
1857
+ }
1858
+
1859
+ /**
1860
+ * gui
1861
+ * Official GUI API
1862
+ *
1863
+ * The version of the OpenAPI document: 1.0
1864
+ *
1865
+ *
1866
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1867
+ * https://openapi-generator.tech
1868
+ * Do not edit the class manually.
1869
+ */
1870
+
1871
+ interface GetKwicResultsRequest {
1872
+ kwicRequest: KwicRequest;
1873
+ initialTimestamp?: Date;
1874
+ path?: string;
1875
+ query?: string;
1876
+ }
1877
+ interface GetUserTasksOfWorkflowRequest {
1878
+ workflowId: string;
1879
+ llatcup: boolean;
1880
+ userTasksRequest: UserTasksRequest;
1881
+ }
1882
+ interface GetWorkflowRequest {
1883
+ workflowId: string;
1884
+ }
1885
+ interface GetWorkflowsRequest {
1886
+ workflowsRequest: WorkflowsRequest;
1887
+ requestId?: string;
1888
+ initialTimestamp?: Date;
1889
+ }
1890
+ interface GetWorkflowsUpdateRequest {
1891
+ workflowsUpdateRequest: WorkflowsUpdateRequest;
1892
+ requestId?: string;
1893
+ initialTimestamp?: Date;
1894
+ }
1895
+ /**
1896
+ * OfficialWorkflowlistApi - interface
1897
+ *
1898
+ * @export
1899
+ * @interface OfficialWorkflowlistApiInterface
1900
+ */
1901
+ interface OfficialWorkflowlistApiInterface {
1902
+ /**
1903
+ *
1904
+ * @summary Kwic results over workflow items
1905
+ * @param {KwicRequest} kwicRequest
1906
+ * @param {Date} [initialTimestamp]
1907
+ * @param {string} [path]
1908
+ * @param {string} [query]
1909
+ * @param {*} [options] Override http request option.
1910
+ * @throws {RequiredError}
1911
+ * @memberof OfficialWorkflowlistApiInterface
1912
+ */
1913
+ getKwicResultsRaw(requestParameters: GetKwicResultsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<KwicResults>>;
1914
+ /**
1915
+ * Kwic results over workflow items
1916
+ */
1917
+ getKwicResults(requestParameters: GetKwicResultsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<KwicResults>;
1918
+ /**
1919
+ *
1920
+ * @summary Fetch usertasks for the workflow
1921
+ * @param {string} workflowId
1922
+ * @param {boolean} llatcup
1923
+ * @param {UserTasksRequest} userTasksRequest
1924
+ * @param {*} [options] Override http request option.
1925
+ * @throws {RequiredError}
1926
+ * @memberof OfficialWorkflowlistApiInterface
1927
+ */
1928
+ getUserTasksOfWorkflowRaw(requestParameters: GetUserTasksOfWorkflowRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Array<UserTask>>>;
1929
+ /**
1930
+ * Fetch usertasks for the workflow
1931
+ */
1932
+ getUserTasksOfWorkflow(requestParameters: GetUserTasksOfWorkflowRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Array<UserTask>>;
1933
+ /**
1934
+ *
1935
+ * @summary Fetch data of one single workflow
1936
+ * @param {string} workflowId
1937
+ * @param {*} [options] Override http request option.
1938
+ * @throws {RequiredError}
1939
+ * @memberof OfficialWorkflowlistApiInterface
1940
+ */
1941
+ getWorkflowRaw(requestParameters: GetWorkflowRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Workflow>>;
1942
+ /**
1943
+ * Fetch data of one single workflow
1944
+ */
1945
+ getWorkflow(requestParameters: GetWorkflowRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Workflow>;
1946
+ /**
1947
+ *
1948
+ * @summary Workflows to be shown in a list view
1949
+ * @param {WorkflowsRequest} workflowsRequest
1950
+ * @param {string} [requestId]
1951
+ * @param {Date} [initialTimestamp]
1952
+ * @param {*} [options] Override http request option.
1953
+ * @throws {RequiredError}
1954
+ * @memberof OfficialWorkflowlistApiInterface
1955
+ */
1956
+ getWorkflowsRaw(requestParameters: GetWorkflowsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Workflows>>;
1957
+ /**
1958
+ * Workflows to be shown in a list view
1959
+ */
1960
+ getWorkflows(requestParameters: GetWorkflowsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Workflows>;
1961
+ /**
1962
+ *
1963
+ * @summary Updated list of workflows
1964
+ * @param {WorkflowsUpdateRequest} workflowsUpdateRequest
1965
+ * @param {string} [requestId]
1966
+ * @param {Date} [initialTimestamp]
1967
+ * @param {*} [options] Override http request option.
1968
+ * @throws {RequiredError}
1969
+ * @memberof OfficialWorkflowlistApiInterface
1970
+ */
1971
+ getWorkflowsUpdateRaw(requestParameters: GetWorkflowsUpdateRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Workflows>>;
1972
+ /**
1973
+ * Updated list of workflows
1974
+ */
1975
+ getWorkflowsUpdate(requestParameters: GetWorkflowsUpdateRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Workflows>;
1976
+ }
1977
+ /**
1978
+ *
1979
+ */
1980
+ declare class OfficialWorkflowlistApi extends BaseAPI implements OfficialWorkflowlistApiInterface {
1981
+ /**
1982
+ * Kwic results over workflow items
1983
+ */
1984
+ getKwicResultsRaw(requestParameters: GetKwicResultsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<KwicResults>>;
1985
+ /**
1986
+ * Kwic results over workflow items
1987
+ */
1988
+ getKwicResults(requestParameters: GetKwicResultsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<KwicResults>;
1989
+ /**
1990
+ * Fetch usertasks for the workflow
1991
+ */
1992
+ getUserTasksOfWorkflowRaw(requestParameters: GetUserTasksOfWorkflowRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Array<UserTask>>>;
1993
+ /**
1994
+ * Fetch usertasks for the workflow
1995
+ */
1996
+ getUserTasksOfWorkflow(requestParameters: GetUserTasksOfWorkflowRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Array<UserTask>>;
1997
+ /**
1998
+ * Fetch data of one single workflow
1999
+ */
2000
+ getWorkflowRaw(requestParameters: GetWorkflowRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Workflow>>;
2001
+ /**
2002
+ * Fetch data of one single workflow
2003
+ */
2004
+ getWorkflow(requestParameters: GetWorkflowRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Workflow>;
2005
+ /**
2006
+ * Workflows to be shown in a list view
2007
+ */
2008
+ getWorkflowsRaw(requestParameters: GetWorkflowsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Workflows>>;
2009
+ /**
2010
+ * Workflows to be shown in a list view
2011
+ */
2012
+ getWorkflows(requestParameters: GetWorkflowsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Workflows>;
2013
+ /**
2014
+ * Updated list of workflows
2015
+ */
2016
+ getWorkflowsUpdateRaw(requestParameters: GetWorkflowsUpdateRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Workflows>>;
2017
+ /**
2018
+ * Updated list of workflows
2019
+ */
2020
+ getWorkflowsUpdate(requestParameters: GetWorkflowsUpdateRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Workflows>;
2021
+ }
2022
+
2023
+ export { type ApiResponse, type AssignTaskRequest, type AssignTasksRequest, BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, type ClaimTaskRequest, type ClaimTasksRequest, Configuration, type ConfigurationParameters, type Consume, DefaultConfig, type ErrorContext, type FetchAPI, FetchError, type FetchParams, type FindUsersRequest, type GetKwicResultsRequest, type GetUserTaskKwicResultsRequest, type GetUserTaskRequest, type GetUserTasksOfWorkflowRequest, type GetUserTasksRequest, type GetUserTasksUpdateRequest, type GetWorkflowModuleRequest, type GetWorkflowRequest, type GetWorkflowsRequest, type GetWorkflowsUpdateRequest, type Group, GroupFromJSON, GroupFromJSONTyped, GroupToJSON, type HTTPBody, type HTTPHeaders, type HTTPMethod, type HTTPQuery, type HTTPRequestInit, type InitOverrideFunction, JSONApiResponse, type Json, type KwicRequest, KwicRequestFromJSON, KwicRequestFromJSONTyped, KwicRequestToJSON, type KwicResult, KwicResultFromJSON, KwicResultFromJSONTyped, KwicResultToJSON, type KwicResults, KwicResultsFromJSON, KwicResultsFromJSONTyped, KwicResultsToJSON, type MarkTaskAsReadRequest, type MarkTasksAsReadRequest, type Middleware, type ModelPropertyNaming, OfficialTasklistApi, type OfficialTasklistApiInterface, OfficialWorkflowModulesApi, type OfficialWorkflowModulesApiInterface, OfficialWorkflowlistApi, type OfficialWorkflowlistApiInterface, type Page, PageFromJSON, PageFromJSONTyped, PageToJSON, type Person, PersonFromJSON, PersonFromJSONTyped, PersonToJSON, type RequestContext, type RequestOpts, RequiredError, type ResponseContext, ResponseError, type ResponseTransformer, type SearchQuery, SearchQueryFromJSON, SearchQueryFromJSONTyped, SearchQueryToJSON, TextApiResponse, UiUriType, UiUriTypeFromJSON, UiUriTypeFromJSONTyped, UiUriTypeToJSON, type UserSearchResult, UserSearchResultFromJSON, UserSearchResultFromJSONTyped, UserSearchResultToJSON, type UserTask, type UserTaskEvent, UserTaskEventFromJSON, UserTaskEventFromJSONTyped, UserTaskEventToJSON, UserTaskFromJSON, UserTaskFromJSONTyped, type UserTaskIds, UserTaskIdsFromJSON, UserTaskIdsFromJSONTyped, UserTaskIdsToJSON, UserTaskRetrieveMode, UserTaskRetrieveModeFromJSON, UserTaskRetrieveModeFromJSONTyped, UserTaskRetrieveModeToJSON, UserTaskToJSON, type UserTasks, UserTasksFromJSON, UserTasksFromJSONTyped, type UserTasksRequest, UserTasksRequestFromJSON, UserTasksRequestFromJSONTyped, UserTasksRequestToJSON, UserTasksToJSON, type UserTasksUpdateRequest, UserTasksUpdateRequestFromJSON, UserTasksUpdateRequestFromJSONTyped, UserTasksUpdateRequestToJSON, VoidApiResponse, type Workflow, type WorkflowEvent, WorkflowEventFromJSON, WorkflowEventFromJSONTyped, WorkflowEventToJSON, WorkflowFromJSON, WorkflowFromJSONTyped, type WorkflowModule, WorkflowModuleFromJSON, WorkflowModuleFromJSONTyped, WorkflowModuleToJSON, type WorkflowModules, WorkflowModulesFromJSON, WorkflowModulesFromJSONTyped, WorkflowModulesToJSON, WorkflowToJSON, type Workflows, WorkflowsFromJSON, WorkflowsFromJSONTyped, type WorkflowsRequest, WorkflowsRequestFromJSON, WorkflowsRequestFromJSONTyped, WorkflowsRequestToJSON, WorkflowsToJSON, type WorkflowsUpdateRequest, WorkflowsUpdateRequestFromJSON, WorkflowsUpdateRequestFromJSONTyped, WorkflowsUpdateRequestToJSON, canConsumeForm, exists, instanceOfGroup, instanceOfKwicRequest, instanceOfKwicResult, instanceOfKwicResults, instanceOfPage, instanceOfPerson, instanceOfSearchQuery, instanceOfUserSearchResult, instanceOfUserTask, instanceOfUserTaskEvent, instanceOfUserTaskIds, instanceOfUserTasks, instanceOfUserTasksRequest, instanceOfUserTasksUpdateRequest, instanceOfWorkflow, instanceOfWorkflowEvent, instanceOfWorkflowModule, instanceOfWorkflowModules, instanceOfWorkflows, instanceOfWorkflowsRequest, instanceOfWorkflowsUpdateRequest, mapValues, querystring };