@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,182 +0,0 @@
1
- import { InitOverrideFunction, ApiResponse, BaseAPI } from '../runtime.js';
2
- import { KwicRequest } from '../models/KwicRequest.js';
3
- import { KwicResults } from '../models/KwicResults.js';
4
- import { UserTask } from '../models/UserTask.js';
5
- import { UserTasksRequest } from '../models/UserTasksRequest.js';
6
- import { Workflow } from '../models/Workflow.js';
7
- import { Workflows } from '../models/Workflows.js';
8
- import { WorkflowsRequest } from '../models/WorkflowsRequest.js';
9
- import { WorkflowsUpdateRequest } from '../models/WorkflowsUpdateRequest.js';
10
- import '../models/SearchQuery.js';
11
- import '../models/KwicResult.js';
12
- import '../models/Group.js';
13
- import '../models/Person.js';
14
- import '../models/UiUriType.js';
15
- import '../models/UserTaskRetrieveMode.js';
16
- import '../models/Page.js';
17
-
18
- /**
19
- * gui
20
- * Official GUI API
21
- *
22
- * The version of the OpenAPI document: 1.0
23
- *
24
- *
25
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
26
- * https://openapi-generator.tech
27
- * Do not edit the class manually.
28
- */
29
-
30
- interface GetKwicResultsRequest {
31
- kwicRequest: KwicRequest;
32
- initialTimestamp?: Date;
33
- path?: string;
34
- query?: string;
35
- }
36
- interface GetUserTasksOfWorkflowRequest {
37
- workflowId: string;
38
- llatcup: boolean;
39
- userTasksRequest: UserTasksRequest;
40
- }
41
- interface GetWorkflowRequest {
42
- workflowId: string;
43
- }
44
- interface GetWorkflowsRequest {
45
- workflowsRequest: WorkflowsRequest;
46
- requestId?: string;
47
- initialTimestamp?: Date;
48
- }
49
- interface GetWorkflowsUpdateRequest {
50
- workflowsUpdateRequest: WorkflowsUpdateRequest;
51
- requestId?: string;
52
- initialTimestamp?: Date;
53
- }
54
- /**
55
- * OfficialWorkflowlistApi - interface
56
- *
57
- * @export
58
- * @interface OfficialWorkflowlistApiInterface
59
- */
60
- interface OfficialWorkflowlistApiInterface {
61
- /**
62
- *
63
- * @summary Kwic results over workflow items
64
- * @param {KwicRequest} kwicRequest
65
- * @param {Date} [initialTimestamp]
66
- * @param {string} [path]
67
- * @param {string} [query]
68
- * @param {*} [options] Override http request option.
69
- * @throws {RequiredError}
70
- * @memberof OfficialWorkflowlistApiInterface
71
- */
72
- getKwicResultsRaw(requestParameters: GetKwicResultsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<KwicResults>>;
73
- /**
74
- * Kwic results over workflow items
75
- */
76
- getKwicResults(requestParameters: GetKwicResultsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<KwicResults>;
77
- /**
78
- *
79
- * @summary Fetch usertasks for the workflow
80
- * @param {string} workflowId
81
- * @param {boolean} llatcup
82
- * @param {UserTasksRequest} userTasksRequest
83
- * @param {*} [options] Override http request option.
84
- * @throws {RequiredError}
85
- * @memberof OfficialWorkflowlistApiInterface
86
- */
87
- getUserTasksOfWorkflowRaw(requestParameters: GetUserTasksOfWorkflowRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Array<UserTask>>>;
88
- /**
89
- * Fetch usertasks for the workflow
90
- */
91
- getUserTasksOfWorkflow(requestParameters: GetUserTasksOfWorkflowRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Array<UserTask>>;
92
- /**
93
- *
94
- * @summary Fetch data of one single workflow
95
- * @param {string} workflowId
96
- * @param {*} [options] Override http request option.
97
- * @throws {RequiredError}
98
- * @memberof OfficialWorkflowlistApiInterface
99
- */
100
- getWorkflowRaw(requestParameters: GetWorkflowRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Workflow>>;
101
- /**
102
- * Fetch data of one single workflow
103
- */
104
- getWorkflow(requestParameters: GetWorkflowRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Workflow>;
105
- /**
106
- *
107
- * @summary Workflows to be shown in a list view
108
- * @param {WorkflowsRequest} workflowsRequest
109
- * @param {string} [requestId]
110
- * @param {Date} [initialTimestamp]
111
- * @param {*} [options] Override http request option.
112
- * @throws {RequiredError}
113
- * @memberof OfficialWorkflowlistApiInterface
114
- */
115
- getWorkflowsRaw(requestParameters: GetWorkflowsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Workflows>>;
116
- /**
117
- * Workflows to be shown in a list view
118
- */
119
- getWorkflows(requestParameters: GetWorkflowsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Workflows>;
120
- /**
121
- *
122
- * @summary Updated list of workflows
123
- * @param {WorkflowsUpdateRequest} workflowsUpdateRequest
124
- * @param {string} [requestId]
125
- * @param {Date} [initialTimestamp]
126
- * @param {*} [options] Override http request option.
127
- * @throws {RequiredError}
128
- * @memberof OfficialWorkflowlistApiInterface
129
- */
130
- getWorkflowsUpdateRaw(requestParameters: GetWorkflowsUpdateRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Workflows>>;
131
- /**
132
- * Updated list of workflows
133
- */
134
- getWorkflowsUpdate(requestParameters: GetWorkflowsUpdateRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Workflows>;
135
- }
136
- /**
137
- *
138
- */
139
- declare class OfficialWorkflowlistApi extends BaseAPI implements OfficialWorkflowlistApiInterface {
140
- /**
141
- * Kwic results over workflow items
142
- */
143
- getKwicResultsRaw(requestParameters: GetKwicResultsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<KwicResults>>;
144
- /**
145
- * Kwic results over workflow items
146
- */
147
- getKwicResults(requestParameters: GetKwicResultsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<KwicResults>;
148
- /**
149
- * Fetch usertasks for the workflow
150
- */
151
- getUserTasksOfWorkflowRaw(requestParameters: GetUserTasksOfWorkflowRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Array<UserTask>>>;
152
- /**
153
- * Fetch usertasks for the workflow
154
- */
155
- getUserTasksOfWorkflow(requestParameters: GetUserTasksOfWorkflowRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Array<UserTask>>;
156
- /**
157
- * Fetch data of one single workflow
158
- */
159
- getWorkflowRaw(requestParameters: GetWorkflowRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Workflow>>;
160
- /**
161
- * Fetch data of one single workflow
162
- */
163
- getWorkflow(requestParameters: GetWorkflowRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Workflow>;
164
- /**
165
- * Workflows to be shown in a list view
166
- */
167
- getWorkflowsRaw(requestParameters: GetWorkflowsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Workflows>>;
168
- /**
169
- * Workflows to be shown in a list view
170
- */
171
- getWorkflows(requestParameters: GetWorkflowsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Workflows>;
172
- /**
173
- * Updated list of workflows
174
- */
175
- getWorkflowsUpdateRaw(requestParameters: GetWorkflowsUpdateRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Workflows>>;
176
- /**
177
- * Updated list of workflows
178
- */
179
- getWorkflowsUpdate(requestParameters: GetWorkflowsUpdateRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Workflows>;
180
- }
181
-
182
- export { GetKwicResultsRequest, GetUserTasksOfWorkflowRequest, GetWorkflowRequest, GetWorkflowsRequest, GetWorkflowsUpdateRequest, OfficialWorkflowlistApi, OfficialWorkflowlistApiInterface };
@@ -1,197 +0,0 @@
1
- import {
2
- __async
3
- } from "../chunk-4TPCCB4K.js";
4
- import * as runtime from "../runtime.js";
5
- import {
6
- KwicRequestToJSON,
7
- KwicResultsFromJSON,
8
- UserTaskFromJSON,
9
- UserTasksRequestToJSON,
10
- WorkflowFromJSON,
11
- WorkflowsFromJSON,
12
- WorkflowsRequestToJSON,
13
- WorkflowsUpdateRequestToJSON
14
- } from "../models/index.js";
15
- class OfficialWorkflowlistApi extends runtime.BaseAPI {
16
- /**
17
- * Kwic results over workflow items
18
- */
19
- getKwicResultsRaw(requestParameters, initOverrides) {
20
- return __async(this, null, function* () {
21
- if (requestParameters.kwicRequest === null || requestParameters.kwicRequest === void 0) {
22
- throw new runtime.RequiredError("kwicRequest", "Required parameter requestParameters.kwicRequest was null or undefined when calling getKwicResults.");
23
- }
24
- const queryParameters = {};
25
- if (requestParameters.initialTimestamp !== void 0) {
26
- queryParameters["initialTimestamp"] = requestParameters.initialTimestamp.toISOString();
27
- }
28
- if (requestParameters.path !== void 0) {
29
- queryParameters["path"] = requestParameters.path;
30
- }
31
- if (requestParameters.query !== void 0) {
32
- queryParameters["query"] = requestParameters.query;
33
- }
34
- const headerParameters = {};
35
- headerParameters["Content-Type"] = "application/json";
36
- const response = yield this.request({
37
- path: `/workflow`,
38
- method: "OPTIONS",
39
- headers: headerParameters,
40
- query: queryParameters,
41
- body: KwicRequestToJSON(requestParameters.kwicRequest)
42
- }, initOverrides);
43
- return new runtime.JSONApiResponse(response, (jsonValue) => KwicResultsFromJSON(jsonValue));
44
- });
45
- }
46
- /**
47
- * Kwic results over workflow items
48
- */
49
- getKwicResults(requestParameters, initOverrides) {
50
- return __async(this, null, function* () {
51
- const response = yield this.getKwicResultsRaw(requestParameters, initOverrides);
52
- return yield response.value();
53
- });
54
- }
55
- /**
56
- * Fetch usertasks for the workflow
57
- */
58
- getUserTasksOfWorkflowRaw(requestParameters, initOverrides) {
59
- return __async(this, null, function* () {
60
- if (requestParameters.workflowId === null || requestParameters.workflowId === void 0) {
61
- throw new runtime.RequiredError("workflowId", "Required parameter requestParameters.workflowId was null or undefined when calling getUserTasksOfWorkflow.");
62
- }
63
- if (requestParameters.llatcup === null || requestParameters.llatcup === void 0) {
64
- throw new runtime.RequiredError("llatcup", "Required parameter requestParameters.llatcup was null or undefined when calling getUserTasksOfWorkflow.");
65
- }
66
- if (requestParameters.userTasksRequest === null || requestParameters.userTasksRequest === void 0) {
67
- throw new runtime.RequiredError("userTasksRequest", "Required parameter requestParameters.userTasksRequest was null or undefined when calling getUserTasksOfWorkflow.");
68
- }
69
- const queryParameters = {};
70
- if (requestParameters.llatcup !== void 0) {
71
- queryParameters["llatcup"] = requestParameters.llatcup;
72
- }
73
- const headerParameters = {};
74
- headerParameters["Content-Type"] = "application/json";
75
- const response = yield this.request({
76
- path: `/workflow/{workflowId}/usertasks`.replace(`{${"workflowId"}}`, encodeURIComponent(String(requestParameters.workflowId))),
77
- method: "POST",
78
- headers: headerParameters,
79
- query: queryParameters,
80
- body: UserTasksRequestToJSON(requestParameters.userTasksRequest)
81
- }, initOverrides);
82
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(UserTaskFromJSON));
83
- });
84
- }
85
- /**
86
- * Fetch usertasks for the workflow
87
- */
88
- getUserTasksOfWorkflow(requestParameters, initOverrides) {
89
- return __async(this, null, function* () {
90
- const response = yield this.getUserTasksOfWorkflowRaw(requestParameters, initOverrides);
91
- return yield response.value();
92
- });
93
- }
94
- /**
95
- * Fetch data of one single workflow
96
- */
97
- getWorkflowRaw(requestParameters, initOverrides) {
98
- return __async(this, null, function* () {
99
- if (requestParameters.workflowId === null || requestParameters.workflowId === void 0) {
100
- throw new runtime.RequiredError("workflowId", "Required parameter requestParameters.workflowId was null or undefined when calling getWorkflow.");
101
- }
102
- const queryParameters = {};
103
- const headerParameters = {};
104
- const response = yield this.request({
105
- path: `/workflow/{workflowId}`.replace(`{${"workflowId"}}`, encodeURIComponent(String(requestParameters.workflowId))),
106
- method: "GET",
107
- headers: headerParameters,
108
- query: queryParameters
109
- }, initOverrides);
110
- return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowFromJSON(jsonValue));
111
- });
112
- }
113
- /**
114
- * Fetch data of one single workflow
115
- */
116
- getWorkflow(requestParameters, initOverrides) {
117
- return __async(this, null, function* () {
118
- const response = yield this.getWorkflowRaw(requestParameters, initOverrides);
119
- return yield response.value();
120
- });
121
- }
122
- /**
123
- * Workflows to be shown in a list view
124
- */
125
- getWorkflowsRaw(requestParameters, initOverrides) {
126
- return __async(this, null, function* () {
127
- if (requestParameters.workflowsRequest === null || requestParameters.workflowsRequest === void 0) {
128
- throw new runtime.RequiredError("workflowsRequest", "Required parameter requestParameters.workflowsRequest was null or undefined when calling getWorkflows.");
129
- }
130
- const queryParameters = {};
131
- if (requestParameters.requestId !== void 0) {
132
- queryParameters["requestId"] = requestParameters.requestId;
133
- }
134
- if (requestParameters.initialTimestamp !== void 0) {
135
- queryParameters["initialTimestamp"] = requestParameters.initialTimestamp.toISOString();
136
- }
137
- const headerParameters = {};
138
- headerParameters["Content-Type"] = "application/json";
139
- const response = yield this.request({
140
- path: `/workflow`,
141
- method: "POST",
142
- headers: headerParameters,
143
- query: queryParameters,
144
- body: WorkflowsRequestToJSON(requestParameters.workflowsRequest)
145
- }, initOverrides);
146
- return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowsFromJSON(jsonValue));
147
- });
148
- }
149
- /**
150
- * Workflows to be shown in a list view
151
- */
152
- getWorkflows(requestParameters, initOverrides) {
153
- return __async(this, null, function* () {
154
- const response = yield this.getWorkflowsRaw(requestParameters, initOverrides);
155
- return yield response.value();
156
- });
157
- }
158
- /**
159
- * Updated list of workflows
160
- */
161
- getWorkflowsUpdateRaw(requestParameters, initOverrides) {
162
- return __async(this, null, function* () {
163
- if (requestParameters.workflowsUpdateRequest === null || requestParameters.workflowsUpdateRequest === void 0) {
164
- throw new runtime.RequiredError("workflowsUpdateRequest", "Required parameter requestParameters.workflowsUpdateRequest was null or undefined when calling getWorkflowsUpdate.");
165
- }
166
- const queryParameters = {};
167
- if (requestParameters.requestId !== void 0) {
168
- queryParameters["requestId"] = requestParameters.requestId;
169
- }
170
- if (requestParameters.initialTimestamp !== void 0) {
171
- queryParameters["initialTimestamp"] = requestParameters.initialTimestamp.toISOString();
172
- }
173
- const headerParameters = {};
174
- headerParameters["Content-Type"] = "application/json";
175
- const response = yield this.request({
176
- path: `/workflow`,
177
- method: "PUT",
178
- headers: headerParameters,
179
- query: queryParameters,
180
- body: WorkflowsUpdateRequestToJSON(requestParameters.workflowsUpdateRequest)
181
- }, initOverrides);
182
- return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowsFromJSON(jsonValue));
183
- });
184
- }
185
- /**
186
- * Updated list of workflows
187
- */
188
- getWorkflowsUpdate(requestParameters, initOverrides) {
189
- return __async(this, null, function* () {
190
- const response = yield this.getWorkflowsUpdateRaw(requestParameters, initOverrides);
191
- return yield response.value();
192
- });
193
- }
194
- }
195
- export {
196
- OfficialWorkflowlistApi
197
- };
@@ -1,25 +0,0 @@
1
- export { AssignTaskRequest, AssignTasksRequest, ClaimTaskRequest, ClaimTasksRequest, FindUsersRequest, GetUserTaskKwicResultsRequest, GetUserTaskRequest, GetUserTasksRequest, GetUserTasksUpdateRequest, MarkTaskAsReadRequest, MarkTasksAsReadRequest, OfficialTasklistApi, OfficialTasklistApiInterface } from './OfficialTasklistApi.js';
2
- export { GetWorkflowModuleRequest, OfficialWorkflowModulesApi, OfficialWorkflowModulesApiInterface } from './OfficialWorkflowModulesApi.js';
3
- export { GetKwicResultsRequest, GetUserTasksOfWorkflowRequest, GetWorkflowRequest, GetWorkflowsRequest, GetWorkflowsUpdateRequest, OfficialWorkflowlistApi, OfficialWorkflowlistApiInterface } from './OfficialWorkflowlistApi.js';
4
- import '../runtime.js';
5
- import '../models/KwicRequest.js';
6
- import '../models/SearchQuery.js';
7
- import '../models/KwicResults.js';
8
- import '../models/KwicResult.js';
9
- import '../models/UserSearchResult.js';
10
- import '../models/Person.js';
11
- import '../models/UserTask.js';
12
- import '../models/Group.js';
13
- import '../models/UiUriType.js';
14
- import '../models/UserTaskIds.js';
15
- import '../models/UserTasks.js';
16
- import '../models/Page.js';
17
- import '../models/UserTasksRequest.js';
18
- import '../models/UserTaskRetrieveMode.js';
19
- import '../models/UserTasksUpdateRequest.js';
20
- import '../models/WorkflowModule.js';
21
- import '../models/WorkflowModules.js';
22
- import '../models/Workflow.js';
23
- import '../models/Workflows.js';
24
- import '../models/WorkflowsRequest.js';
25
- import '../models/WorkflowsUpdateRequest.js';
@@ -1,3 +0,0 @@
1
- export * from "./OfficialTasklistApi.js";
2
- export * from "./OfficialWorkflowModulesApi.js";
3
- export * from "./OfficialWorkflowlistApi.js";
@@ -1,45 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __defProps = Object.defineProperties;
3
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
4
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
7
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
- var __spreadValues = (a, b) => {
9
- for (var prop in b || (b = {}))
10
- if (__hasOwnProp.call(b, prop))
11
- __defNormalProp(a, prop, b[prop]);
12
- if (__getOwnPropSymbols)
13
- for (var prop of __getOwnPropSymbols(b)) {
14
- if (__propIsEnum.call(b, prop))
15
- __defNormalProp(a, prop, b[prop]);
16
- }
17
- return a;
18
- };
19
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- var __async = (__this, __arguments, generator) => {
21
- return new Promise((resolve, reject) => {
22
- var fulfilled = (value) => {
23
- try {
24
- step(generator.next(value));
25
- } catch (e) {
26
- reject(e);
27
- }
28
- };
29
- var rejected = (value) => {
30
- try {
31
- step(generator.throw(value));
32
- } catch (e) {
33
- reject(e);
34
- }
35
- };
36
- var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
37
- step((generator = generator.apply(__this, __arguments)).next());
38
- });
39
- };
40
-
41
- export {
42
- __spreadValues,
43
- __spreadProps,
44
- __async
45
- };
@@ -1,47 +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 Group
16
- */
17
- interface Group {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof Group
22
- */
23
- id: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof Group
28
- */
29
- display?: string;
30
- /**
31
- *
32
- * @type {{ [key: string]: any; }}
33
- * @memberof Group
34
- */
35
- details?: {
36
- [key: string]: any;
37
- };
38
- }
39
- /**
40
- * Check if a given object implements the Group interface.
41
- */
42
- declare function instanceOfGroup(value: object): boolean;
43
- declare function GroupFromJSON(json: any): Group;
44
- declare function GroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): Group;
45
- declare function GroupToJSON(value?: Group | null): any;
46
-
47
- export { Group, GroupFromJSON, GroupFromJSONTyped, GroupToJSON, instanceOfGroup };
@@ -1,39 +0,0 @@
1
- import "../chunk-4TPCCB4K.js";
2
- import { exists } from "../runtime.js";
3
- function instanceOfGroup(value) {
4
- let isInstance = true;
5
- isInstance = isInstance && "id" in value;
6
- return isInstance;
7
- }
8
- function GroupFromJSON(json) {
9
- return GroupFromJSONTyped(json, false);
10
- }
11
- function GroupFromJSONTyped(json, ignoreDiscriminator) {
12
- if (json === void 0 || json === null) {
13
- return json;
14
- }
15
- return {
16
- "id": json["id"],
17
- "display": !exists(json, "display") ? void 0 : json["display"],
18
- "details": !exists(json, "details") ? void 0 : json["details"]
19
- };
20
- }
21
- function GroupToJSON(value) {
22
- if (value === void 0) {
23
- return void 0;
24
- }
25
- if (value === null) {
26
- return null;
27
- }
28
- return {
29
- "id": value.id,
30
- "display": value.display,
31
- "details": value.details
32
- };
33
- }
34
- export {
35
- GroupFromJSON,
36
- GroupFromJSONTyped,
37
- GroupToJSON,
38
- instanceOfGroup
39
- };
@@ -1,36 +0,0 @@
1
- import { SearchQuery } from './SearchQuery.js';
2
-
3
- /**
4
- * gui
5
- * Official GUI API
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- /**
16
- *
17
- * @export
18
- * @interface KwicRequest
19
- */
20
- interface KwicRequest {
21
- /**
22
- *
23
- * @type {Array<SearchQuery>}
24
- * @memberof KwicRequest
25
- */
26
- searchQueries?: Array<SearchQuery>;
27
- }
28
- /**
29
- * Check if a given object implements the KwicRequest interface.
30
- */
31
- declare function instanceOfKwicRequest(value: object): boolean;
32
- declare function KwicRequestFromJSON(json: any): KwicRequest;
33
- declare function KwicRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): KwicRequest;
34
- declare function KwicRequestToJSON(value?: KwicRequest | null): any;
35
-
36
- export { KwicRequest, KwicRequestFromJSON, KwicRequestFromJSONTyped, KwicRequestToJSON, instanceOfKwicRequest };
@@ -1,38 +0,0 @@
1
- import "../chunk-4TPCCB4K.js";
2
- import { exists } from "../runtime.js";
3
- import {
4
- SearchQueryFromJSON,
5
- SearchQueryToJSON
6
- } from "./SearchQuery.js";
7
- function instanceOfKwicRequest(value) {
8
- let isInstance = true;
9
- return isInstance;
10
- }
11
- function KwicRequestFromJSON(json) {
12
- return KwicRequestFromJSONTyped(json, false);
13
- }
14
- function KwicRequestFromJSONTyped(json, ignoreDiscriminator) {
15
- if (json === void 0 || json === null) {
16
- return json;
17
- }
18
- return {
19
- "searchQueries": !exists(json, "searchQueries") ? void 0 : json["searchQueries"].map(SearchQueryFromJSON)
20
- };
21
- }
22
- function KwicRequestToJSON(value) {
23
- if (value === void 0) {
24
- return void 0;
25
- }
26
- if (value === null) {
27
- return null;
28
- }
29
- return {
30
- "searchQueries": value.searchQueries === void 0 ? void 0 : value.searchQueries.map(SearchQueryToJSON)
31
- };
32
- }
33
- export {
34
- KwicRequestFromJSON,
35
- KwicRequestFromJSONTyped,
36
- KwicRequestToJSON,
37
- instanceOfKwicRequest
38
- };
@@ -1,39 +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 KwicResult
16
- */
17
- interface KwicResult {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof KwicResult
22
- */
23
- item: string;
24
- /**
25
- *
26
- * @type {number}
27
- * @memberof KwicResult
28
- */
29
- count: number;
30
- }
31
- /**
32
- * Check if a given object implements the KwicResult interface.
33
- */
34
- declare function instanceOfKwicResult(value: object): boolean;
35
- declare function KwicResultFromJSON(json: any): KwicResult;
36
- declare function KwicResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): KwicResult;
37
- declare function KwicResultToJSON(value?: KwicResult | null): any;
38
-
39
- export { KwicResult, KwicResultFromJSON, KwicResultFromJSONTyped, KwicResultToJSON, instanceOfKwicResult };